open() renders "TypeError: setcontents() got an unexpected keyword argument 'errors'" exception

Using the open() method, I kept getting three variations of the same exception:

    Traceback (most recent call last):
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 808, in __bootstrap_inner
        self.run()
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 761, in run
        self.__target(*self.__args, **self.__kwargs)
      File "/Users/dustin/development/python/mapreduce/mr/queue/message_handler.py", line 78, in wrapped_handler
        handler(message_parameters)
      File "/Users/dustin/development/python/mapreduce/mr/job_engine.py", line 440, in handle_map
        path_type = next(handler_result_gen)
      File "(lambda handler 'map_test_random_yield_grouped')", line 26, in a31aa26a8cccd50831f1e18a3d833cae30f7692b6
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py", line 17, in __enter__
        return self.gen.next()
      File "/Users/dustin/development/python/mapreduce/mr/fs/general.py", line 166, in open
        f = self.__fs.open(filepath, *args, **kwargs)
      File "/Library/Python/2.7/site-packages/fs/remote.py", line 561, in open
        f = super(CacheFSMixin, self).open(path, mode=mode, buffering=buffering, encoding=encoding, errors=errors, newline=newline, line_buffering=line_buffering, **kwargs)
      File "/Library/Python/2.7/site-packages/fs/contrib/tahoelafs/__init__.py", line 86, in wrapper
        return func(self, *args, **kwds)
      File "/Library/Python/2.7/site-packages/fs/contrib/tahoelafs/__init__.py", line 160, in open
        self.setcontents(path, b(''))
      File "/Library/Python/2.7/site-packages/fs/remote.py", line 677, in setcontents
        res = supsc(path, data, encoding=None, errors=None, chunk_size=chunk_size)
      File "/Library/Python/2.7/site-packages/fs/contrib/tahoelafs/__init__.py", line 86, in wrapper
        return func(self, *args, **kwds)
    TypeError: setcontents() got an unexpected keyword argument 'errors'

I got exceptions for the "errors", "encoding", and "encodings" arguments being
unexpected.

This is the base definition:

    def setcontents(self, path, file, chunk_size=64*1024):

This is the Tahoe definition:

    def setcontents(self, path, file, chunk_size=64*1024):

This is a temporary version of the Tahoe definition that makes everything work
(though this arguments aren't being handled):

    def setcontents(self, path, file, chunk_size=64*1024, errors=None, encoding=None, encodings=None):

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 17 Sep 2014 at 8:37

Hi Guys. did it move anywhere for the last 4 years?


test-branch/execute-job/fork-branch/60b22f95-0882-4f34-8887-c38c5a23d0d7

PR for testing 8479f1dcf5ca55d68302e6e5eff0756d81afaf5d

padding /canonical/self-hosted-runners/run-workflows 8479f1dcf5ca55d68302e6e5eff0756d81afaf5d padding


when I post a something with python2.7.14, I get "Invalid TransactionBuilder Format" Error

I can post content smoothly with python3.6, but when I change to post it with python2.7.14, I get a Error that is "Invalid TransactionBuilder Format".
I will simplify the problem into the following code:
from stee import Steem
s = Steem(...)
s.post(title='test', body='test', author='myname', tags=('steemtest',), permlink='ywqamoc1')
here is Error content:
Traceback (most recent call last):
  File "", line 1, in
  File "/usr/local/lib/python2.7/site-packages/steem/commit.py", line 353, in post
    return self.finalizeOp(ops, author, "posting")
  File "/usr/local/lib/python2.7/site-packages/steem/commit.py", line 132, in finalizeOp
    tx.sign()
  File "/usr/local/lib/python2.7/site-packages/steem/transactionbuilder.py", line 118, in sign
    raise ValueError("Invalid TransactionBuilder Format")
ValueError: Invalid TransactionBuilder Format

How to solve this problem ?

The error raised masks the actual issue, which is unicode vs str handling in 2.7.
The actual error is descriptor 'title' requires a 'str' object but received a 'unicode'.
This appears to be a Python 2 bug only.

This should be resolved with #203 .


Fix absolute paths

Using absolute paths to the JSON packages was broken - this has been fixed using path.resolve().
buttercup was also upgraded to the latest stable version.

Thanks for this change @perry-mitchell!
@himynameisdave I'll merge this but will need you to publish to npm.

Well done, thanks guys! @perry-mitchell @Jameskmonger

Happy to help! Have been using it for all of my projects. 👍


ie not supported

ie11 not supported！
The project won't come up .
script1003， Missing semicolon ！

Same for me more or less:
SCRIPT1003: Expected ':'
Is IE 11 supported for Vue-PDF ?

see https://github.com/mozilla/pdf.js/releases/tag/v2.4.456

should be fixed in v4.0.11 (see https://github.com/FranckFreiburger/vue-pdf/commit/4bf65a45ac1020a4c58bafe074f91ce66397480f)


host tools DCE

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please test


Authorization failed: invalid_grant - Invalid JWT Signature.

Issue Description
I am trying to upload a bundle to Google Play Store and getting following error:
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/signet-0.11.0/lib/signet/oauth_2/client.rb:1017:in `fetch_access_token': [!] Authorization failed.  Server message: (Signet::AuthorizationError)
{
  "error": "invalid_grant",
  "error_description": "Invalid JWT Signature."
}

.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/signet-0.11.0/lib/signet/oauth_2/client.rb:1036:in `fetch_access_token!'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/googleauth-0.6.7/lib/googleauth/signet.rb:69:in `fetch_access_token!'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/supply/lib/supply/client.rb:52:in `initialize'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/supply/lib/supply/client.rb:18:in `new'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/supply/lib/supply/client.rb:18:in `make_from_config'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/supply/lib/supply/uploader.rb:293:in `client'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/supply/lib/supply/uploader.rb:6:in `perform_upload'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane/lib/fastlane/actions/upload_to_play_store.rb:33:in `run'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane/lib/fastlane/runner.rb:256:in `block (2 levels) in execute_action'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane/lib/fastlane/runner.rb:235:in `block in execute_action'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane/lib/fastlane/runner.rb:227:in `chdir'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane/lib/fastlane/runner.rb:227:in `execute_action'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
from Fastfile:42:in `block (2 levels) in parsing_binding'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane/lib/fastlane/lane.rb:33:in `call'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane/lib/fastlane/lane.rb:33:in `call'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane/lib/fastlane/lane_manager.rb:56:in `cruise_lane'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane/lib/fastlane/commands_generator.rb:349:in `run'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in `take_off'
.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.134.0/bin/fastlane:23:in `<top (required)>'
.fastlane/bin/bundle/bin/fastlane:22:in `load'
.fastlane/bin/bundle/bin/fastlane:22:in `<main>'

I have tried to restart my computer but it didn't work.
Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.15.1

Ruby
2.2.4

Bundler?
false

Git
git version 2.21.0 (Apple Git-122.2)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.15.1 (19B88)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
11.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`

default_platform(:android)

platform :android do
  desc "Runs all the tests"
  lane :test do
    gradle(task: "test")
  end

  desc "Submit a new Beta Build to Crashlytics Beta"
  lane :crashlyticsbeta do
    gradle(task: "clean assembleRelease")
    crashlytics
  end

  desc 'Deploy a new internal version to the Google Play Store'
  lane :internal do
    android_set_version_code(
      #version_code: 17, # optional, if not specified, Version Code will be incremented
      gradle_file: "app/build.gradle" # optional
    )
    gradle(task: "bundleReleaseJsAndAssets")
    gradle(task: "copyReleaseBundledJs")
    gradle(task: "bundleRelease")
    supply(track: 'internal', skip_upload_apk: true)
  end

  desc 'Deploy a new beta version to the Google Play Store'
  lane :beta do
    android_set_version_code(
      #version_code: 17, # optional, if not specified, Version Code will be incremented
      gradle_file: "app/build.gradle" # optional
    )
    gradle(task: "bundleRelease")
    supply(track: 'beta', skip_upload_apk: true)
    #supply(track: 'beta', track_promote_to: 'rollout', skip_upload_apk: true)
  end

  desc "Deploy a new version to the Google Play"
  lane :deploy do
    gradle(task: "clean assembleRelease")
    upload_to_play_store
  end
end

`./fastlane/Appfile`
json_key_file("fastlane/***.json")
#package_name("***")
package_name("com.***")

fastlane gems

Gem
Version
Update-Status

fastlane
2.134.0
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-versioning_android
0.1.0
✅ Up-To-Date

Loaded gems

Gem
Version

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
2.3.5

claide
1.0.3

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.12.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.2.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.7.0

tty-cursor
0.7.0

tty-spinner
0.9.1

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.6

excon
0.55.0

faraday
0.17.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.13.1

fastimage
2.1.0

gh_inspector
1.1.3

json
1.8.1

mini_magick
4.9.5

multi_xml
0.6.0

rubyzip
1.3.0

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.0

bundler
1.14.6

naturally
2.2.0

simctl
1.6.5

jwt
2.1.0

uber
0.0.15

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

multi_json
1.12.1

signet
0.11.0

memoist
0.16.0

os
0.9.6

googleauth
0.6.7

httpclient
2.8.3

google-api-client
0.23.9

google-cloud-env
1.2.0

google-cloud-core
1.3.0

digest-crc
0.4.1

google-cloud-storage
1.16.0

emoji_regex
1.0.1

libxml-ruby
3.0.0

psych
2.0.8

fastlane-plugin-versioning_android
0.1.0

generated on: 2019-11-06

What code is causing this problem? What action are you executing via what lane?

I have the same issue with 2.134, 2.140 by exec fastlane supply init  --json_key KEY_PATH
Traceback (most recent call last):
	37: from SOMEPATH.rvm/gems/ruby-2.6.3/bin/fastlane:23:in `<main>'
	36: from SOMEPATH.rvm/gems/ruby-2.6.3/bin/fastlane:23:in `load'
	35: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/bin/fastlane:23:in `<top (required)>'
	34: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in `take_off'
	33: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
	32: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/fastlane/lib/fastlane/commands_generator.rb:349:in `run'
	31: from SOMEPATH.rvm/gems/ruby-2.6.3/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
	30: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
	29: from SOMEPATH.rvm/gems/ruby-2.6.3/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
	28: from SOMEPATH.rvm/gems/ruby-2.6.3/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
	27: from SOMEPATH.rvm/gems/ruby-2.6.3/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
	26: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'
	25: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
	24: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/fastlane/lib/fastlane/lane_manager.rb:56:in `cruise_lane'
	23: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
	22: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
	21: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
	20: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/fastlane/lib/fastlane/lane.rb:33:in `call'
	19: from Fastfile:57:in `block (2 levels) in parsing_binding'
	18: from Fastfile:60:in `do_upload_googleplay'
	17: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
	16: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
	15: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/fastlane/lib/fastlane/runner.rb:227:in `execute_action'
	14: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/fastlane/lib/fastlane/runner.rb:227:in `chdir'
	13: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/fastlane/lib/fastlane/runner.rb:253:in `block in execute_action'
	12: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
	11: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/fastlane/lib/fastlane/runner.rb:261:in `block (2 levels) in execute_action'
	10: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/fastlane/lib/fastlane/actions/upload_to_play_store.rb:33:in `run'
	 9: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/supply/lib/supply/uploader.rb:7:in `perform_upload'
	 8: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/supply/lib/supply/uploader.rb:419:in `client'
	 7: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/supply/lib/supply/client.rb:18:in `make_from_config'
	 6: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/supply/lib/supply/client.rb:18:in `new'
	 5: from SOMEPATH.rvm/rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/gems/fastlane-2.140.0/supply/lib/supply/client.rb:52:in `initialize'
	 4: from SOMEPATH.rvm/gems/ruby-2.6.3/gems/googleauth-0.10.0/lib/googleauth/signet.rb:79:in `fetch_access_token!'
	 3: from SOMEPATH.rvm/gems/ruby-2.6.3/gems/googleauth-0.10.0/lib/googleauth/signet.rb:107:in `retry_with_error'
	 2: from SOMEPATH.rvm/gems/ruby-2.6.3/gems/googleauth-0.10.0/lib/googleauth/signet.rb:80:in `block in fetch_access_token!'
	 1: from SOMEPATH.rvm/gems/ruby-2.6.3/gems/signet-0.12.0/lib/signet/oauth_2/client.rb:1028:in `fetch_access_token!'
SOMEPATH.rvm/gems/ruby-2.6.3/gems/signet-0.12.0/lib/signet/oauth_2/client.rb:1013:in `fetch_access_token': [!] Authorization failed.  Server message: (Signet::AuthorizationError)
{
  "error": "invalid_grant",
  "error_description": "Invalid JWT Signature."
}


Export API not available

Description of the bug
The export API is not available in the environments.
Seems like there is no swagger meaning it is hidden for API management.
Possible caused by API type
Steps To Reproduce
Call API.
Gets 404
Additional Information
Fix it

tested ok


Cannot load local meteor package

import {clientErrorLog} from 'meteor/gsabran:utils'; (where gsabran:utils is a local meteor package that I've under my ./packages folder, and that is listed in ./meteor/packages) throw an error on the client: Uncaught Error: Cannot find module 'meteor/gsabran:utils' and the app crashes. It works fine without meteor-react-hotloader

I can't reproduce this.  What versions of Meteor and ecmascript-hot are you using?
I tested with Meteor <IP_ADDRESS> and<EMAIL_ADDRESS>(which is an experimental release, but contains all the latest code).

I've upgraded. I still have a similar issue:
Error: Can't find npm module 'meteor/react-meteor-data'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?
Here's the trace:
  /Users/me/.meteor/packages/meteor-tool/.1.3.2_2.rc1dz9++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:267
                    throw(ex);
                          ^
 Error: Can't find npm module 'meteor/react-meteor-data'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?
     at Object.Npm.require (/PathToRepo/.meteor/local/build/programs/server/boot.js:195:17)
     at options.fallback (packages/modules-runtime/modules-runtime.js:21:1)
     at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:81:1)
     at meteorInstall.server.emails.notificationsEmail.jsx (server/emails/notificationsEmail.jsx:4:1)
     at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:141:1)
     at require (packages/modules-runtime/.npm/package/node_modules/install/install.js:75:1)
     at /PathToRepo/.meteor/local/build/programs/server/app/app.js:4501:1
     at /PathToRepo/.meteor/local/build/programs/server/boot.js:283:10
     at Array.forEach (native)
     at Function._.each._.forEach (/Users/me/.meteor/packages/meteor-tool/.1.3.2_2.rc1dz9++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/    node_modules/underscore/underscore.js:79:11)

server/emails/notificationsEmail.jsx starts with
import juice from 'juice';
import {ReactMeteorData} from 'meteor/react-meteor-data';

Let me know if more detail on the stack trace would help, since line numbers are pretty meaningless

Thanks!  Any chance you can put the entire project on github for me to take a look at?
Perhaps you can also start a fresh project and see if the same error occurs, so we can see if there's something specific to your project or machine?  Seems to be working for others on OSX so don't think that's the issue.

Well turns out react-meteor-data was missing from my .meteor/packages... I don't know how it got kicked out and was not failing before. Conclusion is that upgrading to the latest meteor and ecmascript-hot fix the issue. Thanks for the attention!

Great stuff!  Thanks for reporting back.  These kind of strange things happen to me from time to time and I've learnt not to question them ;)


Keyboard remapper

I would like a utility (preferably visual) to let me remap all the keyboard keys and be able to setup up multiple key layers with specific trigger keys for each layer. The remap should of course also work within an RDP session.
For example I have a keyboard with hardware remapping (with severe limitations). On it I have capslock as a layer-trigger for my custom layer where I have the keys H, J, K, L, :, mapped to { [ ( ) ] } which is awesome when programming, not having to leave the home row.

Thank you for the suggestion. While this could be related to a Keyboard Shortcut Manager, it could be a distinct PowerToy.

also being able to set up a seperate keyboard that you can program with certain keystrokes. I bought a piece of hardware that lets me do this but a want to be able to set up more without the $30 price tag. (Ex. F does Shift+Tab and g does Ctrl+z)

We'll support multi-profile for v1 with keyboard shortcut manager

Closing since the Keyboard Remapper has been released.


Firefox have issue with responsive width

Meidaelement don't update the player width and height when resize the viewport in firefox.
The styesheet is set up already.
video {
    max-width: 100%;
}

It works perfect with chrome. but not in firefox.

Has this not been fixed yet? This is a serious bug since Mediaelement is used in the Wordpress core and therefore does not set the width of videos properly on Firefox, without any way to actually fix it for casual users who don't know CSS or JS.
Right now in Wordpress I drag a video in and upload it normally without any video related plugins. Once placed into a blog post, it gets "Width: 100%" in Chrome, but in Firefox it gets "Width: 1280px".
Any updates?

This problem still exists in Firefox 38 / mejs 2.17.0.
Firefox always returns the calculated value of max-width in px, so the check for "100% mode" fails (mep-player.js#L813).
I see 2 possible solutions:

a different check that correctly gets the value as a % in Firefox
an extra init option to skip the check and force 100% mode

An extra option would be a more foolproof method as it wouldn't matter if browser implementations changed in the future.


feat: Support for TFSec

Add an integration for TFSec: https://github.com/liamg/tfsec

Thanks @antonbabenko!

You are welcome!
v1.30.0 has been just released.


Add location

Russia Moscow proxy location
ru-mow-exit-001.relays.mullvad.net
<IP_ADDRESS>:1080

I wasn't aware Mullvad had Russian servers? The extension itself doesn't bundle specific servers, since the list is fetched from the API.


Testing missing

There is no testing for this role. This issue is to track the addition of it, at least for a default scenario. I will send PR soon.

Closed by #6


Fix atlas view drawing roots having zoom applied twice

Fixes #65941
base_tiles_drawing_root and alternative_tiles_drawing_root had an incorrect size, because the zoom was applied twice on them:

They were FULL_RECT children of the *_tiles_root_control, which includes zoom inside its custom minimum size.
Their scale was being set to the zoom value (this was needed so the tiles can appear smaller or bigger).

I fixed this by keeping the zoom within the scale, but removing the FULL_RECT anchor, and setting their size manually to the unzoomed *_tiles_control_size.

Thanks!


Vulnerability roundup 64: flatpak-1.0.5: 1 advisory

search, files

[ ] CVE-2019-8308 (nixos-18.09)

Scanned versions: nixos-18.09: 40e716b92a7. May contain false positives.

fixed in #59229


Portal site creation failed when OS is not english

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

Module Version

3.3.2

Affected Resource(s)

ArcGIS_Portal

Expected Behavior
Portal site creation failed when the OS language is not english.
The check in ArcGIS_Portal.psm1 (if($SiteCreatedCheckResponse.messages -icontains "The portal site has not been initialized. Please create a new site and try again.") seems not good

I had this issue with v4.0.1.
if($SiteCreatedCheckResponse.messages -icontains "The portal site has not been initialized. Please create a new site and try again.")
There are hardcoded error english message, that is different for non-English environments and will therefore fail! @nshampur

This issue is still present in the current version v4.02

Seems to be an issue in v4.1.0 as well.

Hi @cameronkroeker
One of our customers ran into the same problem with v4.1.0, ArcGIS Enterprise 11.1 on Microsoft Windows Server 2022 Datacenter with Language Pack, German (Switzerland).
Is there any Roadmap on when this problem will be resolved or if it will be resolved?
If it won't be resolved in the near future, I would propose to add these to the requirements for using ArcGIS PowerShell DSC for the Installation/Configuration of ArcGIS Enterprise.

Hi @cameronkroeker !
This is the last problem we need to solve if we are to use this module for our installations and industrialize our processes in France.

ESRI says it is not an issue but a limitation. However, we believe it is an issue and should be fixed by ESRI.
This workaround fixes the problem:
The following line of the Powershell module "ArcGIS_Portal.psm1" must be changed to the appropriate error message of the OS system language (in our case German).
if($SiteCreatedCheckResponse.messages -icontains "The portal site has not been initialized. Please create a new site and try again."){
to
if($SiteCreatedCheckResponse.messages -icontains "Die Portal-Site wurde nicht initialisiert. Erstellen Sie eine neue Site, und versuchen Sie es erneut."){

Hi guys,
I recently ran into this problem with v4.3.0 and ArcGIS Enterprise 11.3 on a German OS. As setting up the machines again with an english OS was not a possibility for my customer, we installed the english language pack on all the involved machines, changed the display language for all users to english and set the System Locale to english as well. This solved the problem and the famous expected sentence was given back in english. So we did not have to change it hardcoded to German or set up the whole infrastructure with an english OS. This just for your information.
Cheers

If this is a known limitation with no plans for a fix (which I think would really important, too).
It should be stated in bold letters at the beginning of the Wiki and on the repository readme page and be checked on the first DSC run, giving a clear warning when the OS language is not English. This is a limitation you need to know prior and not when you are running into it. Especially since it is not obviously a language related problem.


Class ReCaptcha

Issue description
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ReCaptcha has a deprecated constructor in  recaptchalib.php on line 42
Environment
Linux/Apache
Web applications.
Reproducing the issue
PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; ReCaptcha has a deprecated constructor in recaptchalib.php on line 42
What we should change in this example?

Versions including recaptchalib.php were deprecated five years ago, you should update your dependencies. There is an short upgrade guide here: https://github.com/google/recaptcha/tree/1.1.0#from-100


Fix prop and req checks when they get a list instead of dict

Issue #, if available:
#14
Description of changes:

Fix properties and required checks when they get a list instead of an object or dict

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Misspelling of "malformed" in error message:
template is maflormed:
Otherwise behavior is expected.


Create room without connecting

LK-311
TODO:
Perhaps this is a good timing to organize ConnectOptions / RoomOptions 🙂

Perhaps this is a good timing to organize ConnectOptions / RoomOptions 🙂

Agreed! that'll be a good change.


Remove dtbo_block_device which is defined in AOSP since QPR2

Ref Repo : https://android.googlesource.com/platform/system/sepolicy/+/refs/tags/android-14.0.0_r30/public/device.te#99
Ref Commit : https://android.googlesource.com/platform/system/sepolicy/+/5d0ef8448f165bdfe59b01d822798a3276c6ca09
Error : device/sony/sepolicy/vendor/device.te:30:ERROR 'Duplicate declaration of type' at token ';'
on line 90868:
type dtbo_block_device, dev_type;
This change was originally added in https://github.com/sonyxperiadev/device-sony-sepolicy/pull/610 but got lost when recent changes were pushed.

@MarijnS95  Just to be sure that you want me to remove https://github.com/sonyxperiadev/device-sony-sepolicy/blob/master/vendor/init.te#L11 and also remove the blk_file from line "}:{ blk_file lnk_file } relabelto;" i.e. change it to "}:lnk_file relabelto;"? Anything else needed?

@mlehtima hmm, boot_block_device only has lnk_file upstream. If we label a blk_file with this file context we should definitely keep blk_file in there. vbmeta_block_device isn't defined by AOSP at all, so we should equally check if this file context is used on a block device or a link file, and update the line accordingly.
When grepping for boot_block_device/boot_block_device/vbmeta_block_device, our device repositories are only setting this file context on symlinks, so it should be good to only keep relabelto for blk_file.
TLDR: please test if AOSP restorecon -R in init still works, but I think this should be the end result:
allow init vbmeta_block_device:lnk_file relabelto;

I didn't find that boot_block_device mentioned with relabelto in system/sepolicy, where did you find it? Should we still keep that together with vbmeta_block_device?

https://cs.android.com/search?q=boot_block_device&sq= @mlehtima correct, I read a bit too quickly and didn't see that it was device-specific policy, good cathc. Let's keep it in the list, so:
allow init { boot_block_device vbmeta_block_device }:lnk_file relabelto;

@MarijnS95 I updated the changes now and also partially rewrote the commit message


Empty job fix

Description
Rough pass on handling empty job document errors. An empty job document will only contain the clientToken and timestamp fields which currently causes an issue.
Related issue - https://github.com/aws/ota-for-aws-iot-embedded-sdk/issues/482
Code change will not pass unit tests. Currently 35 failed unit tests in the ota.c unit test file. I'm putting this out for suggestions before investing the time in UT.
Checklist:

[ ] I have tested my changes. No regression in existing tests.
[x] My code is formatted using Uncrustify.
[x] I have read and applied the rules stated in CONTRIBUTING.md.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Overall, looks good to me


Can't transform colored shapes

Color not being pickleable makes deepcopy, and therefore shape methods that return copies, fail if the color property is set
Reprodution:
from build123d import Color, Solid

box = Solid.make_box(1, 1, 1)

box2 = box.translate((1, 1, 1))  # ok

box.color = Color("red")
box2 = box.translate((1, 1, 1))  # TypeError: cannot pickle 'OCP.Quantity.Quantity_ColorRGBA' object

Fixed. Thanks for pointing this out.


Fix habitat-lab colabs broken by Habitat-Sim changes

🐛 Bug
A recent Habitat-Sim change broke various interactive tests in Habitat-Lab. We are in the process of fixing it on our side. I have submitted a PR to ensure that our tests catch this bug in the future.

Command
Steps to reproduce the behavior:

Try running all tests.

Expected behavior
All tests should pass and we should catch this error sooner. Also our Colab notebooks should work as well. All the URLs in the relevant Google Colabs will also need to be updated.

Additional context

Okay now we only have some issues with the pip dependencies which are minor and easy for the end user to fix. Going to need to implement some manual reloading or something.


Create 123

123

Collaborator: Review for this pull request was created. Link to review

Collaborator cannot find remote user mapping for pull request creator, review created by system administrator


Graphic representation of load calculation

This describes the charts/graphics (in order or priority) that could be used to describe the result of the time-resolved load calculation on a testing ground network.
Indicators
If a network component (transformer or cable) get's 'overloaded', it should become red. This provides a quick way of determining which parts of the network are insufficiently dimensioned.
Additionally (nice to have) we could show how many times (% of time steps) the component was overloaded
Charts
Time-series
The most straightforward chart would be a time-series plot of the load on on or more components of the network similar to those used by Google Finance. Especially, the option to customise both the time-resolution and the time-window is very useful because of the possibly large number of datapoints.
A nice to have (very) would be an option to add/remove curves for the various components of the network. This would allow the user to plot various curves at once making it easier to compare them.
Histogram
A lower priority graph could be a histogram: (binned) load in the vertical axis and frequency (occurrences) on the horizontal axis. If the capacity of the component would be plotted as a horizontal line, it becomes clear how often (over the whole time period of the calculation), the maximum capacity of the component was surpassed.

@antw I'll try to make a mock-up of the latter if you want and if I can squeeze it in this week

Closing as this has mostly been completed.


Can I get a model trained on tusimple lane dataset?

Because the link that you posted is not correct  so I can't get accessed to the dataset.
So.. could you please re-upload tusimple lane dataset?

@Seanbbbb The dataset was not available now:)

and... Could I use quote your reports on my paper working?

and... Could I use quote your reports on my paper working?

@Seanbbbb My reports?


Fix typo in README.md

[Current coverage][cc-pull] is 100%

Merging [#24][cc-pull] into [master][cc-base-branch] will not change coverage

@@           master   #24   diff @@
===================================
  Files           1     1
  Lines          20    20
  Methods        14     4    -10
  Messages        0     0
  Branches        0     0
===================================
  Hits           20    20
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last updated by [0633b3b...04c3562][cc-compare]
[cc-base-branch]: https://codecov.io/gh/futurize/futurize/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/futurize/futurize/compare/0633b3b64b349ffb998d613ce3459150606040dd...04c3562b4480be18f9f6a18bd34cc22c33c5ee6f
[cc-pull]: https://codecov.io/gh/futurize/futurize/pull/24?src=pr

Thanks!

Welcome!


apm-server owners

Signed-off-by: Atsushi Kawamura<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] DCO signed
[ ] Chart Version bumped
[ ] Variables are documented in the README.md
[ ] title of the PR contains starts with chart name e.g. [stable/chart]

@at-k has been maintaining this chart together with me, but I missed adding him to OWNERS. This PR does it, as requested in #13867 :)

@at-k Seems like we need to bump version in Chart.yaml to pass the CI 🤔

/ok-to-test

/lgtm


Added features component in landing page

Related Issue

Information about the related issue

Missing features section in landing page
Closes: #612
Describe the changes you've made

Added a features section in the landing page. Created a features component in the components folder
Type of change
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[x ] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update.
[ ] This change requires a documentation update

How Has This Been Tested?

Checklist

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented on my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] Any dependent changes have been merged and published in downstream modules.

Code of Conduct

[x] I agree to follow this project's Code of Conduct

Hey, @MeetCodes10 as far as I can see this issue is not assigned to you. For that reason, I have to close this pr. Be patient and wait for us to assign the raised issue to you. Thank you.


pull request for e2e test at 11/16/2016 12:15:07

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


No new Mac builds since ~18 August 2019?

Thanks for your work on these nightly builds.
Based on the following status information (URLs via #16) it appears there have been no new Mac builds since approximately 18 August 2019:

https://dev.azure.com/Calinou/godot-builds-ci

https://dev.azure.com/Calinou/godot-builds-ci/_pipeline/analytics/stageawareoutcome?definitionId=2&contextType=build

https://dev.azure.com/Calinou/godot-builds-ci/_build/results?buildId=628

https://dev.azure.com/Calinou/godot-builds-ci/_build?definitionId=2&_a=summary

The current .dmg contains a version labeled 3.2.dev.calinou.de4aabe89 (https://github.com/godotengine/godot/commit/de4aabe89b7b68677f145f21c956183bbc92f686) but the current Windows build (via GitLab CI) seems to be based on https://github.com/godotengine/godot/commit/c59da91aad4c73c68e5e2884674f5fb3c3340751 (from looking at the binary in a hex editor :) ).
Additional context
I encountered this issue while troubleshooting https://github.com/godotengine/godot/issues/27222 and encountering a crash on launch when opened directly from the .dmg (which based on the context lldb shows seems like it's related to the commit that was reverted by https://github.com/godotengine/godot/commit/0743a07447e613ce0c15f0f55d9284e754c19628#diff-395c1089ded171b1757742cab9e7297d).

Azure Pipelines' scheduled pipelines have a tendency not to start reliably, which is usually fixed by me visiting the page manually. I've just done that, so a new build should be up in a few hours from now :slightly_smiling_face:

Thanks, appreciate it, I can confirm I appear to have successfully downloaded 3.2.alpha.calinou.4ee8ecd3e which was built ~yesterday.
I wonder if it would be worth adding a check to the Gitlab CI script to check if the Azure build is working and/or trigger the build process? :D

@follower It seems Azure Pipelines recently got a new pipeline schedule interface, but the old schedules weren't ported over, so I had to recreate it. It seems to work reliably now.


Revised planned improvements.

Coverage remained the same at 100.0% when pulling 1f234ec0a9564a9b38ca07b54f0e26a4de1ca719 on todo into 3e7276094b736deae472bcc04a076a545e368664 on master.


Should We Use PostgreSQL, MySQL or Supabase?

👋 Greetings CoSSA
We need to build a Database for CoSSA for future purposes
Options:

MySQL
PostgreSQL
Supabase
What are Your Thoughts?

MySQL

The question seems rather generic. What kind of application ideas do we have for the database.

I think that the stack we use will determine the kind of database, whether relational or non-relational.
Are we set on a stack yet.?

I think that the stack we use will determine the kind of database, whether relational or non-relational. Are we set on a stack yet.?

Yes, indeed we are assessing the options here. We can use the data for endless Possibilities.

Short Answer: PostgreSQL
Long Answer:
Hey Y'all I would go with Building all of them (for the experience) then Benchmark their performance. Choose the winner based on Latency, Scalability and Price of hosting.  Which PostgreSQL does very well!
Considerations: We're taught MySQL and Microsoft SQL Server. So choosing any DB that students would easily maintain it would be nice. I understand MYSQL fans for this case but again choosing something they're not taught in class would be the best for their learning.
Supabase has a good free tier and has PostgreSQL so would be a great choice too.


DRILL-6523: Fix NPE for describe of partial schema

Details in DRILL-6523.

@vdiravka please review.


[BUG] Drag regions in the TitleBar control calculated Incorrectly

For clarity, I added a minimum width and color for each TitleBar element:

Тhis is what it looks like:

Problem 1
PART_RootGrid has Padding.Right causing the window button area to move to the right:

Fix
Set Padding="4,0,0,0" for PART_RootGrid:
https://github.com/WinUICommunity/WinUICommunity/blob/b959f0342c129db75d0370ac42c7f9ccf5c1bf5e/dev/Components/Controls/Labs/TitleBar/TitleBar.xaml#L21C33-L21C33
Problem 2
Due to PART_RootGrid.Padding.Left regions are calculated incorrectly:
https://github.com/WinUICommunity/WinUICommunity/assets/136100876/148de3cd-9a70-49b5-a87a-a6f4ca2331e2
Fix
Fix SetDragRegionForCustomTitleBar method.
Plus (+) is draggable area, minus (-) is non-draggable area.
+[rootGrid.padding.left][leftPadding]
-[buttonsHolder]
+[icon][title][leftDrag]
-[content]
+[rightDrag]
-[footer]
+[rightPadding][rootGrid.padding.right]

I after applying fix, it will look like this:
https://github.com/WinUICommunity/WinUICommunity/assets/136100876/4637e586-82a4-4266-9553-ee1566b238b3
private void SetDragRegionForCustomTitleBar()
{
    if (AutoConfigureCustomTitleBar && Window != null && PART_RightPaddingColumn != null && PART_LeftPaddingColumn != null)
    {
        double scaleAdjustment = GetScaleAdjustment();

        PART_RightPaddingColumn.Width = new GridLength(Window.AppWindow.TitleBar.RightInset / scaleAdjustment);
        PART_LeftPaddingColumn.Width = new GridLength(Window.AppWindow.TitleBar.LeftInset / scaleAdjustment);

        var height = (int)(this.ActualHeight * scaleAdjustment);
        Windows.Graphics.RectInt32 rect1 = new(0, 0, 0, height);
        Windows.Graphics.RectInt32 rect2 = new(0, 0, 0, height);
        Windows.Graphics.RectInt32 rect3 = new(0, 0, 0, height);
        Windows.Graphics.RectInt32 rect4 = new(0, 0, 0, height);

        rect1.X = 0;
        rect1.Width = (int)((PART_RootGrid.Padding.Left
                            + PART_LeftPaddingColumn.ActualWidth)
                            * scaleAdjustment);

        rect2.X = rect1.X + rect1.Width + (int)((PART_ButtonsHolderColumn.ActualWidth) * scaleAdjustment);
        rect2.Width = (int)((PART_IconColumn.ActualWidth
                            + PART_TitleColumn.ActualWidth
                            + PART_LeftDragColumn.ActualWidth)
                            * scaleAdjustment);

        rect3.X = rect2.X + rect2.Width + (int)(PART_ContentColumn.ActualWidth * scaleAdjustment);
        rect3.Width = (int)(PART_RightDragColumn.ActualWidth * scaleAdjustment);

        rect4.X = rect3.X + rect3.Width + (int)((PART_FooterColumn.ActualWidth
                                                + PART_RightPaddingColumn.ActualWidth
                                                + PART_RootGrid.Padding.Right)
                                                * scaleAdjustment);
        rect4.Width = (int)(PART_RightPaddingColumn.ActualWidth * scaleAdjustment);

        Windows.Graphics.RectInt32[] dragRects = new[] { rect1, rect2, rect3, rect4 };
        Window.AppWindow.TitleBar.SetDragRectangles(dragRects);
    }
}

Patch
Author: Dmitry Zhukovsky<EMAIL_ADDRESS>2023-11-04 17:51:03
Committer: Dmitry Zhukovsky<EMAIL_ADDRESS>2023-11-04 17:51:03
Parent: b959f0342c129db75d0370ac42c7f9ccf5c1bf5e (Fix #8 Tnx to @dzhukovsky)
Branch: main
Follows: v5.3.1
Precedes:

    Fix drag regions calculation in the TitleBar control.

----------- dev/Components/Controls/Labs/TitleBar/TitleBar.WASDK.cs -----------
index 3d16fe6..b9b628a 100644
@@ -17,6 +17,7 @@ namespace WinUICommunity;
 [TemplatePart(Name = nameof(PART_FooterColumn), Type = typeof(ColumnDefinition))]
 [TemplatePart(Name = nameof(PART_RightDragColumn), Type = typeof(ColumnDefinition))]
 [TemplatePart(Name = nameof(PART_TitleHolder), Type = typeof(StackPanel))]
+[TemplatePart(Name = nameof(PART_RootGrid), Type = typeof(Grid))]

 public partial class TitleBar : Control
 {
@@ -28,6 +29,7 @@ public partial class TitleBar : Control
     ColumnDefinition? PART_FooterColumn;
     ColumnDefinition? PART_RightDragColumn;
     StackPanel? PART_TitleHolder;
+    Grid? PART_RootGrid;

     private void SetWASDKTitleBar()
     {
@@ -41,7 +43,7 @@ public partial class TitleBar : Control
             Window.AppWindow.TitleBar.ExtendsContentIntoTitleBar = true;

             ConfigPresenter();
-
+
             this.Window.Activated -= Window_Activated;
             this.Window.Activated += Window_Activated;

@@ -63,6 +65,7 @@ public partial class TitleBar : Control
             PART_RightDragColumn = GetTemplateChild(nameof(PART_RightDragColumn)) as ColumnDefinition;
             PART_FooterColumn = GetTemplateChild(nameof(PART_FooterColumn)) as ColumnDefinition;
             PART_TitleHolder = GetTemplateChild(nameof(PART_TitleHolder)) as StackPanel;
+            PART_RootGrid = GetTemplateChild(nameof(PART_RootGrid)) as Grid;

             // Get caption button occlusion information.
             int CaptionButtonOcclusionWidthRight = Window.AppWindow.TitleBar.RightInset;
@@ -137,35 +140,33 @@ public partial class TitleBar : Control
             PART_RightPaddingColumn.Width = new GridLength(Window.AppWindow.TitleBar.RightInset / scaleAdjustment);
             PART_LeftPaddingColumn.Width = new GridLength(Window.AppWindow.TitleBar.LeftInset / scaleAdjustment);

-            List<Windows.Graphics.RectInt32> dragRectsList = new();
-
-            Windows.Graphics.RectInt32 dragRectL;
-            dragRectL.X = (int)((PART_LeftPaddingColumn.ActualWidth
-                            + PART_ButtonsHolderColumn!.ActualWidth)
-                            * scaleAdjustment);
-            dragRectL.Y = 0;
-            dragRectL.Height = (int)(this.ActualHeight * scaleAdjustment);
-            dragRectL.Width = (int)((PART_IconColumn!.ActualWidth
-                                + PART_TitleColumn!.ActualWidth
-                                + PART_LeftDragColumn!.ActualWidth)
+            var height = (int)(this.ActualHeight * scaleAdjustment);
+            Windows.Graphics.RectInt32 rect1 = new(0, 0, 0, height);
+            Windows.Graphics.RectInt32 rect2 = new(0, 0, 0, height);
+            Windows.Graphics.RectInt32 rect3 = new(0, 0, 0, height);
+            Windows.Graphics.RectInt32 rect4 = new(0, 0, 0, height);
+
+            rect1.X = 0;
+            rect1.Width = (int)((PART_RootGrid.Padding.Left
+                                + PART_LeftPaddingColumn.ActualWidth)
                                 * scaleAdjustment);
-            dragRectsList.Add(dragRectL);
-
-            Windows.Graphics.RectInt32 dragRectR;
-            dragRectR.X = (int)((PART_LeftPaddingColumn.ActualWidth
-                                + PART_IconColumn.ActualWidth
-                                + PART_ButtonsHolderColumn!.ActualWidth
-                                + PART_TitleHolder!.ActualWidth
-                                + PART_LeftDragColumn.ActualWidth
-                                + PART_ContentColumn!.ActualWidth)
+
+            rect2.X = rect1.X + rect1.Width + (int)((PART_ButtonsHolderColumn.ActualWidth) * scaleAdjustment);
+            rect2.Width = (int)((PART_IconColumn.ActualWidth
+                                + PART_TitleColumn.ActualWidth
+                                + PART_LeftDragColumn.ActualWidth)
                                 * scaleAdjustment);
-            dragRectR.Y = 0;
-            dragRectR.Height = (int)(this.ActualHeight * scaleAdjustment);
-            dragRectR.Width = (int)(PART_RightDragColumn!.ActualWidth * scaleAdjustment);
-            dragRectsList.Add(dragRectR);

-            Windows.Graphics.RectInt32[] dragRects = dragRectsList.ToArray();
+            rect3.X = rect2.X + rect2.Width + (int)(PART_ContentColumn.ActualWidth * scaleAdjustment);
+            rect3.Width = (int)(PART_RightDragColumn.ActualWidth * scaleAdjustment);
+
+            rect4.X = rect3.X + rect3.Width + (int)((PART_FooterColumn.ActualWidth
+                                                    + PART_RightPaddingColumn.ActualWidth
+                                                    + PART_RootGrid.Padding.Right)
+                                                    * scaleAdjustment);
+            rect4.Width = (int)(PART_RightPaddingColumn.ActualWidth * scaleAdjustment);

+            Windows.Graphics.RectInt32[] dragRects = new[] { rect1, rect2, rect3, rect4 };
             Window.AppWindow.TitleBar.SetDragRectangles(dragRects);
         }
     }

------------- dev/Components/Controls/Labs/TitleBar/TitleBar.xaml -------------
index 61e01c5..983dad2 100644
@@ -18,7 +18,7 @@
                 <ControlTemplate TargetType="local:TitleBar">
                     <Grid x:Name="PART_RootGrid"
                           Height="{TemplateBinding MinHeight}"
-                          Padding="4,0,4,0"
+                          Padding="4,0,0,0"
                           VerticalAlignment="Stretch"
                           Background="{TemplateBinding Background}">
                         <Grid.ColumnDefinitions>

---------------------- dev/Components/Themes/Generic.xaml ----------------------
index 877fb1e..ae49b15 100644
@@ -2090,7 +2090,7 @@ Themes\Styles\TextBlock.xaml
     <win:Setter Property="Template">
       <win:Setter.Value>
         <win:ControlTemplate TargetType="local:TitleBar">
-          <win:Grid x:Name="PART_RootGrid" Height="{TemplateBinding MinHeight}" Padding="4,0,4,0" VerticalAlignment="Stretch" Background="{TemplateBinding Background}">
+          <win:Grid x:Name="PART_RootGrid" Height="{TemplateBinding MinHeight}" Padding="4,0,0,0" VerticalAlignment="Stretch" Background="{TemplateBinding Background}">
             <win:Grid.ColumnDefinitions>
               <win:ColumnDefinition x:Name="PART_LeftPaddingColumn" Width="0" />
               <win:ColumnDefinition x:Name="PART_ButtonsHolderColumn" Width="Auto" />

Tnx Again,
I have applied your changes to the code.
also I must mention that the codes used to customize the title bar in WASDK v1.4 are obsolete and new API have been provided. And in the future, we are going to use new API, but until then, we are using the old api.
Also, if you're interested, here's another bug😅. If you use windows Snap Layout, drag region will not work!
and It would be great if you could send your changes via pull request
(gif is a little heavy, wait for it)

Tnx Again, I have applied your changes to the code. also I must mention that the codes used to customize the title bar in WASDK v1.4 are obsolete and new API have been provided. And in the future, we are going to use new API, but until then, we are using the old api. Also, if you're interested, here's another bug😅. If you use windows Snap Layout, drag region will not work!
and It would be great if you could send your changes via pull request
(gif is a little heavy, wait for it)

I can't reproduce this bug, is this problem reproduced in other applications such as Settings?

@dzhukovsky  add a Content or Footer
<wuc:TitleBar.Content>
    <AutoSuggestBox PlaceholderText="Search"
                    QueryIcon="Find" />
</wuc:TitleBar.Content>

I still can't reproduce it(
can you download this app and check it for yourself? and if the bug is not reproduced, can you send me a link to your sample app so I can look?
https://drive.google.com/file/d/1mNQk4t3IRvxmRJVIkeyAPyX3Msst8joH/view?usp=drive_link

@dzhukovsky  Thanks for the example, but it didn't work either.
I checked a little and it seems that the reason is the scale!
I'm using a scale of 125% and that's why it doesn't work. Changing the scale to 100% solves the issue.
In any case, this issue should be solved and work the same on different scales.
Can you confirm that you also have issues with changing scale to 125%?

@ghost1372
yes, the problem is definitely in the scale, the black lines that are responsible for the dragging regions were not drawn correctly

I tried to fix it but so far nothing has worked for me.
The problem is probably related to the calculation of the ActualWidth property.
I converted the TitleBar into a UserControl and the problem went away, but the visual effects disappeared(

@dzhukovsky Thank you for your effort, I take a look whenever I have a chance

@ghost1372
Could you please publish 3bc38a5 to NuGet?

@ghost1372 Could you please publish 3bc38a5 to NuGet?

i will upload it today

@dzhukovsky i fixed issue😅
can you test and confirm it?
Changes-On-4ff466.patch

@ghost1372
cool, it works) looks great)

I found a new, more simple and reliable way to calculate draggable rects, I'll share the changes later.
Also, probably need to think about optimization and remove unnecessary event handlers (like TitleBar_SizeChanged because we have Window_SizeChanged) so that draggable rects are not calculated several times

I found a new, more simple and reliable way to calculate draggable rects, I'll share the changes later. Also, probably need to think about optimization and remove unnecessary event handlers (like TitleBar_SizeChanged because we have Window_SizeChanged) so that draggable rects are not calculated several times

Great!


Cannot work server-side!

Hi,
with this code:
var express = require('express');
var router = express.Router();
var reactCookie = require('react-cookie');

router.get('/', function(req, res) {
    reactCookie.plugToRequest(req, res);

    someFuncWithCallback( function() {
        var cookie = reactCookie.load("somecookie");
    });
});

If two people request this route at the same time and the callback gets called first for the 1st user, the cookie will be the cookie of the second user.
Because you store the rawCookies globally in your script, instead of using a different rawCookies for each request, the first request will call plugToRequest() that will write rawCookies, and the second request will overwrite it... and by the time node.js has reached cookie.load(), it will return the second cookie to the first user, or viceversa...

I've just got the same problem

This is because it is not the way this plugin is intended to work. You must call plugToRequest just before renderToString. Because this operation is sync, you will not have any problem
This plugin is not a Node.js plugin but a React.js plugin. You should not use this plugin for strictly server-side code.

But i need cookies in my async actions for fetching data from server. I will try to fix this by using node-continuation-local-storage

no, you probably have to use continuation-local-storage outside of react-cookie. It passes context only in nested functions

@prog666 Did you find a solution to this?

 In my async action I use cookies before I do something async. If for example I need cookie value after I get response from db then I save cookie in some variable before request, so I do not need to fetch it from react-cookie.
There are also a little bit simpler and maybe in your case more reliable approach. If you need some cookie value in your async actions - you can store it redux state, so it will be globally available and not dependent on react-cookie.
This library also has other problems. It designed to be used with exppress and express-coockie middleware. In other case you will have problems with saving cookies.

@prog666 @olmer88 Thanks for the suggestions. I think I will just store the value in redux state

@maxgalbu @prog666 @EdwardNelson @olmer88 @staylor react-cookie 2 now supports async server-rendering a lot better

great news!

I think it would be very responsible of the maintainer to put in the readme that react-cookie (< 2) should not be used server side. It is very concerning that such a huge security like this is not listed in big letters in the readme.


Browser job completion mechanism is incorrect.

There are two ways which leads to the job completion:

All job's test runs are finished.
Job's task was aborted

In the first scenario browser requests status an we query job in the front of the queue for the next test run. If job doesn't contain pending test runs any more it returns null and raises done event. done event handler in the BrowserConnection removes job from the queue. But since BrowserConnection.getStatus() already queried queue browser goes to the idle state. It will query status anyway, however it leads to the unecessary delay.
The second scenario has more complicated problems. Task calls abort() for each of it's jobs. abort() just cleans pending test runs queue. So, from the browsers perspective we will have the same issue as described for the first case. The other issue for this approach is that we still relay on done event for the abortion scenario which is really fragile. done event on all jobs will trigger done event for the task. Which is wrong. Currently we rely on the fact that adopting code will call task.removeAllListeners() immediately after task.abort() which is definetly uncool.
The proposal is:

Do not rely on the done event of the job in the BrowserConnection. Use the following algorithm instead:

If jobQueue is empty then switch browser to the idle state and abort these steps.
Try query job in the front of the queue. If it returns null then shift the queue and repeat this step. Else pass returned test run to the browser.

task.abort() should immediately remove all task's jobs from the appropriate browser connections.

Thinking of this more I think we have all control flow messed up currently.
I propose following changes:

BrowserJob should be considered done not then it's nextTestRunUrl getter is triggered and testRunQueue is empty. Instead we should have pendingTestRunCount variable which is initially equals to the testRunQueue.length and gets decremented once BrowserJob raises test-run-done event. Once it's equal to 0 we'll emit done event for the job.
We should turn nextTestRunUrl in both BrowserJob and BrowserConnection into the function and name it popNextTestRunUrl. This will be definetly more correct in terms of semantics.
BrowserJob should provide hasQueuedTestRuns property. BrowserConnection should check this property once it popped next test run url from the job, and if it's false then shift it's jobQueue.
BrowserJob.abort() should set BrowserJob.aborted flag to true. This flag will disable all events for the job. So, both job and related task will remain silent.
Meanwhile Task.abort() should call abort() for all it's jobs and immediately remove jobs from the corresponding BrowserConnection's. For this purpose we will use pendingBrowserJobsMap object which is a instance of Map. The key of the map is the job and the value is browser connection. Usage of the Map gives us two benefits: we will be able to easily remove completed jobs without boilerplate code which is required for such operation for arrays and we will instantly have browser connection related to job which is helpful for the abort().

\cc @kirovboris @AlexanderMoskovkin @churkin I would like to know your opinion. Is this somehow clear and makes sense for you?

I think it's definitely more clearly and has more semantics.

The last variant looks nice.


No handling of Apollo "unsubscribe" events

There is no solution provided for disconnecting from a channel when Apollo calls "unsubscribe". In VueApollo, for example, unsubscribe will be invoked when the component which contains the subscription is destroyed. As a result the channels stay open until the client closes the browser window.
I have spent some time today trying to generate a proposed solution for this but I have failed so far. Any ideas?
Lighthouse has recently updated its proposed Apollo client solution to account for unsubscribe...
https://lighthouse-php.com/4.18/subscriptions/client-implementations.html
However as I have been unable to adopt this design approach to the case of using Echo and your Redis broadcaster. In my testing the unsubscription action fires every time as soon as one event is received on the channel.

Quick update, I did hit on a working solution, it's a hybrid between the Lighthouse example and your implementation, I'll just share it here for your reference. I am not proficient in TypeScript I'm afraid.
import { ApolloLink, Observable } from "apollo-link";

class SubscriptionsLink extends ApolloLink {
  constructor(options) {
    super();

    this.client = options.client;
  }

  request(operation, forward) {
    const subscribeObservable = new Observable((_observer) => {
      //
    });

    // Capture the super method
    const prevSubscribe = subscribeObservable.subscribe.bind(
      subscribeObservable
    );

    // Override subscribe to return an `unsubscribe` object, see
    // https://github.com/apollographql/subscriptions-transport-ws/blob/master/src/client.ts#L182-L212
    subscribeObservable.subscribe = (observerOrNext, onError, onComplete) => {
      prevSubscribe(observerOrNext, onError, onComplete);

      const observer = getObserver(observerOrNext, onError, onComplete);

      let subscriptionChannel;

      forward(operation).subscribe({
        next: (data) => {
          // If the operation has the subscription channel, it's a subscription
          subscriptionChannel = this.getChannelFromResponse(data, operation);

          // No subscription found in the response, pipe data through
          if (!subscriptionChannel) {
            observer.next(data);
            observer.complete();

            return;
          }

          this.subscribeToChannel(subscriptionChannel, observer);
        },
      });

      // Return an object that will unsubscribe if the query was a subscription
      return {
        closed: false,
        unsubscribe: () => {
          if (subscriptionChannel) {
            this.unsubscribeFromChannel(subscriptionChannel);
          }
        },
      };
    };

    return subscribeObservable;
  }

  subscribeToChannel(subscriptionChannel, observer) {
    const channel = this.client.join(subscriptionChannel);

    channel.listen(".lighthouse.subscription", ({data}) => {
      if (data) {
        observer.next({data});
      }
    });
  }

  unsubscribeFromChannel(subscriptionChannel) {
    this.client.leave(subscriptionChannel);
  }

  getChannelFromResponse(response, operation) {
    return response?.extensions?.lighthouse_subscriptions?.channels?.[operation.operationName] ?? null;
  }
}

// Turn `subscribe` arguments into an observer-like thing, see getObserver
// https://github.com/apollographql/subscriptions-transport-ws/blob/master/src/client.ts#L329-L343
function getObserver(observerOrNext, onError, onComplete) {
  if (typeof observerOrNext === "function") {
    // Duck-type an observer
    return {
      next: (v) => observerOrNext(v),
      error: (e) => onError && onError(e),
      complete: () => onComplete && onComplete(),
    };
  } else {
    // Make an object that calls to the given object, with safety checks
    return {
      next: (v) => observerOrNext.next && observerOrNext.next(v),
      error: (e) => observerOrNext.error && observerOrNext.error(e),
      complete: () => observerOrNext.complete && observerOrNext.complete(),
    };
  }
}

export default SubscriptionsLink;

@SirLamer I think is similar to my example: https://github.com/nuwave/lighthouse/issues/1596#issuecomment-733529457

@SirLamer I think is similar to my example: https://github.com/nuwave/lighthouse/issues/1596#issuecomment-733529457

Hi @SirLamer I added the unsubscribe feature.
If you want, you can use the develop branch right now, but I will release a new version later today.
Thanks for the report.


feat(create-anywidget): Add "readme" to pyproject.toml template

This pr is adding readme = "README.md"
This way e.g.

will become

Thanks! Just changed the name of the PR because I want to avoid using the name "cookiecutter" for our CLI. It doesn't use cookiecutter and helps destinguish our CLI fro the existing cookiecutters from Jupyter.

Don't want this to go stale. In the future, please follow the steps outlined above for making a contribution for create-anywidget.

hi @manzt,
thanks for updating the snapshot and for merging the pr!


[Python APIView] inherited overloads do not show up on APIView

With DPG, if a client method's input is an object and generates a body param, overloads are generated in the Mixins class for that particular method. The client type can inherit from the Mixins class, however, on APIView the overloads do not show up on the client unless we redefine the client with the overloads in the _patch.py file. Is it possible to adjust APIView to find these overloads without needing to do the extra patch?
Example with redefining the ConversationAnalysisClient: https://github.com/kristapratico/azure-sdk-for-python/blob/2e99cf01403d6f0a20e107f11dd896ed73afc08b/sdk/cognitivelanguage/azure-ai-language-conversations/azure/ai/language/conversations/_patch.py#L17
APIView: https://apiview.dev/Assemblies/Review/1d9daf7a5ab248a2b2b0498a96da4b95?revisionId=202deb6da8644e9ab41f9b94dccfcaf9&doc=False
Example w/o redefining client (just defined in OperationsMixin here): https://github.com/kristapratico/azure-sdk-for-python/blob/9471ffa66b85ac477be80f6f10879152be03b5b4/sdk/cognitivelanguage/azure-ai-language-conversations/azure/ai/language/conversations/_operations/_operations.py#L62
APIView: https://apiview.dev/Assemblies/Review/1d9daf7a5ab248a2b2b0498a96da4b95?revisionId=52270ed1544740c99dcfc7e18973bee2&doc=False

The fact that we get overloads at all in APIView is the result of some hacky workaround, so we might be able to go further down the rabbit hole and extract this info.


[BUG] Jumbo furnace doesnt keep fuel canister in the fuel slots

Just Dire Things version
1.4.1
Minecraft Version
1.21
(Neo)Forge Version
21.1.58
Modpack & Version
No response
Do you have optifine or Rubidium installed?
Yes
Describe the issue
Jumbo furnace mod doesnt keep fuel canister in the fuel slots
Steps to reproduce

open the jumbo furnace
put fuel canister in fuel slot
smelt something in the furnace
watch as fuel canister moves to output in jumbo furnace

Expected behaviour
to stay put in fuel slot
Screenshots
javaw_AcLIGQDhVE.webm
Log files
none sadly as this isnt a crash
Additional information
it seems to work only once, then instantly puts it in the fuel slot, like in the video.

i cross posted this in jumbo furnace #26

This is almost certainately something that needs to be fixed on their side :). Sorry!  Feel free to reopen if they say otherwise

o7, i am sorta new to how github and this stuff works, but loving the mod so far!


Code no longer compiles with current node.js

Apparently, there have been some breaking node.js changes since this code was last updated, and it is no longer to compile it in the current version (21.x):
videojs-hlsjs-plugin/node_modules/loader-runner/lib/LoaderRunner.js:133
		if(isError) throw e;
		            ^
Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:68:19)
    at Object.createHash (node:crypto:138:10)
    at module.exports (/Users/dg/HLS/videojs-hlsjs-plugin/node_modules/webpack/lib/util/createHash.js:90:53)
...
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

check this out
https://stackoverflow.com/questions/73144960/error-error0308010cdigital-envelope-routinesunsupported-at-new-hash-nodei


Fix Python bindings for TensorMemory

Makes the Python API compatible with the Python C++ bindings for TensorMemory, InferenceMemory & ResponseMemory classes.
Replaces the tensors attribute for memory classes with explicit get_tensors and set_tensors methods.
Make get_input, set_input, get_output & set_output methods actual methods on the base
Associated interface proxy classes now inherit from each other limiting redundant python conversion code.
Expose MultiTensorMessage class to Python allowing Python inheritance hierarchy to match that of C++, and consolidating some duplicated code.

The reason for removing the attribute is that on the C++ side returning a Python representation of a tensor is rather costly and is always returned as a copy. We want to avoid the obvious bugs that can occur with anyone doing:
m = tensor_memory.TensorMemory(10)
m.tensors['c'] = cp.zeros(count)

Which would have worked when C++ execution is disabled, and the old API is implying that it should work. Instead the API is changed to:
m = tensor_memory.TensorMemory(10)
tensors = m.get_tensors()

tensors['c'] = cp.zeros(count)

m.set_tensors(tensors)

fixes #604

/merge


[WIP] - make muti-line input scrollable and resizeable

Multi-line Input is not scrollable when content overflows.

Make Input Scrollable when content overflows in the y direction
Make Input Resizeable

Confirmation required from design


JSONPath parser is not parsing ?(@) conditions correctly

Hi.
Here is an interesting bug... I'm trying to create a reddit agent which lists the last 25 submits, but only those who are voted above 0. For this, I'm using this simple JSON from reddit: https://www.reddit.com/r/golang/new.json?sort=new
I can't use XML because reddit's XML api doesn't have ups in it.  But that's how things are.
I'm trying to use this as an agent definition:
{
  "expected_update_period_in_days": 2,
  "url": "https://www.reddit.com/r/golang/new.json?sort=new",
  "type": "json",
  "mode": "on_change",
  "extract": {
    "title": {
      "path"<EMAIL_ADDRESS>> 0)].title"
    }
  }
}

Which, according to JSONPath definition, should work. However, it doesn't return anything. But get this... Neither do many of the online parsers, except for this one<EMAIL_ADDRESS>< 10)] Which turns out to be a correct way of implementing JSONPath. It's implementation is located here: https://github.com/jayway/JsonPath
So... can we switch out the parser, or at least fix it so it interprets conditions correctly?
Thanks!
Note: Eval is enabled. I'm not getting anything back, not, getting an evaluation error.

Hey @Skarlso.  We use this implementation.  It looks like 0.5.8 is out, you could try updating the Gemfile to 0.5.8 and running bundle and seeing if it works.  Also, does @['ups'] work any better?

Hi @cantino. I shall try. :)
You mean ?(@['ups'] > 0) ?

Nope, the gem update didn't help. :/

So, here's an interesting thing. This works "path": "$.data.children[*].data.ups[?(@ > 0)]".
However.. Now, how do I get title from this object? :) Since ups[?(@ > 0)].title won't work, because title is part of data. Note, ..title won't work either.

Oh, that explains it -> https://github.com/joshbuddy/jsonpath/issues/38 :/

It works! :) Implementation here -> https://github.com/Skarlso/jsonpath
I'm not saying you should use this one.... heh. I'll try to get ownership of the gem if that's possible and update it. The code is quiet... Huh... To be honest. We'll see.

Nice, glad you found a fix!  Let's see if joshbuddy responds.  If not, we can switch to your fork.

Niceee. Thanks! :)

Hey @cantino. I don't think he will answer. He's been away for a very long time now and clearly abandoned that gem 2-3 years ago. :/
So.... I took the liberty and created my own cut. I fixed a BUNCH of stuff in the code, refactored a lot in there, fixed a couple of warnings, and fixed the ?(@) issue. The code is like... FAR from done, but I intend to either re-write it complete, or fix it where I can.
Here is the published Gem -> https://rubygems.org/gems/jsonpathv2.
If you'd prefer a different name for it all together, shoot. But I... sort of wanted to keep it as a tribute. He did write the thing. :)

@Skarlso That sounds great! I think it would be a good idea to keep the old JsonPath class name, that would allow us to only switch the new gem without having to change any code. Do you see any downsides in keeping the old namespace?

Uh! That is a good catch. No, there shouldn't be any problem with it. I'll change that in a moment.
In the meantime, my travis build is failing for ruby 1.9.3. I read about it, and it seems as though it's a rubygem, gem problem. :/ I'm trying to use gem update --system 2.3.0 as suggested in an issue, but it still doesn't work. It can't install a native gem, gem install json, for ruby 1.9.3.

Okay, I fixed the namespace and republished with 0.0.2. 👍

You only seem to have require 'jsonpath' in one place until utils.rb. So, you should be okay re-writing that to require 'jsonpathv2'. And that's all you have to do. :)

Ps.: I've run all the specs in huginn after I modified to use jsonpathv2, and everything's green. 👍 :)

Nice! I think you could get around the require problem (both for Huginn and everyone who wants o switch to your version) by adding a jsonpath.rb file which only requires jsonpathv2. Not sure why we have the require 'jsonpath' in utils.rb, it should work without it due to the auto require of bundler.
We do not care about ruby 1.9.3 support, Huginn only supports ruby 2.1+ as everything else is EOL.
Switching to your version would be great as long as it does not have any breaking changes. Do you mind opening a pull request?

Not at atll! I don't mind. That is excellent news! ( That you don't support that old version. :) ). I'll make the change which you suggested, than create a PR. Thanks! I'll close this ticket with that PR.

Done! Thanks! :)


fix download slowlog api, add range preview and timezone reminder

Fix slowquery log download api.
Add reminder for UTC-0
Add time range preview for slow log to download.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Kaijie Chen seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

/merge

/approve


Possible bug: wrong values for certain symbols

Hi,
I was looking online for fast python implementations of the 3j symbols. My use of the 3j symbols comes from computations in spherical harmonics space, and as such, I'm computing the symbols for fixed m values (that depend on the spin of the spherical harmonics), and broad j values. Both m and j are integers in my cases.
As a test, I computed both in mathematica (quite slow compared to your given benchmark values) and with your package an array of w3j(j1 = 100, j2 = 300, J, m1 =2, m2 =-2, M =0) for integers J that cover all the angular momenta possible that is from 200 to 400.
I found that values of the symbols in your code can become very inaccurate, for example mathematica finds that
w3j_mathematica (J = 285) ~ 0.00198
while your code gives
w3j_wigners (J = 285) ~ 4374151.129938193
Would this be a bug that you would consider investigating ? I don't think I am using the code wrong since I find correct values for lots of other symbols.
Cheers,
Alexandre

Hey! Thanks for opening an issue. In my line of work, I only need 3j symbols for j<20, and I only tested this package for values <100, so it is very likely that there could be an issue for larger j as you see here. I'll give it a look when I find time (I'm currently away for a couple of weeks)!

This should be fixed in the latest 0.3.0 release!


Tiled integration

A tutorial on implementing the integration of Tiled and Bluesky.

Two more considerations for TempTiledServer. My goals are:

slick / succinct in the tutorial
but not too "weird" / different from normal (client) usage
avoid teaching bad / insecure habits

To that end, some thoughts to consider:

Should the dir_path default to a temporary directory? More succinct, and unique by default. Notebooks can set a deterministic path when desired.
Should the API key be random hex by default? I would like to avoid teaching users to hard code api_key in notebooks. (Technically it's best to set it in the env vars. In practice I think users will be logging it interactively to servers that have proper auth, not single-user API key.) Maybe this is a good balance of convenience and not teaching bad habits?

server = TempTiledServer()
from_uri(server.url)  # server.url is 'http://localhost:8000?api_key=<random hex>'

Just an idea. I do think it's nice to pass a string to from_uri rather than this special variable...but I like that this avoids teaching two bad habits: setting api_key to something trivial (insecure) and passing it explicitly in code.

Two more considerations for TempTiledServer.

Great ideas! thank you, Dan. Refernced in https://github.com/bluesky/tiled/issues/826.

I see use cases for setting a deterministic non-temporary directory: create data in one notebook, analyze it in another. Maybe we should go back from TempTiledServer to plain TiledServer. It's "temp" by default, but not in general.
We can potentially use the rich repr in Jupyer to communicate something about how this is a special approach and what the CLI equivalent is.


Detect loop in a linked list in cpp #122

🛠 Issue (Number)
Issue no #122
👨💻 Changes proposed
Detect loop in a linked list in cpp
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

I have done the changes. pls check once

Yes, I can implement this algorithm in python and java .

And also include the screen shot of binary search

I have done the changes. pls check once

@Vyshnavi21504 Kindly resolve the merge conflict

@Vyshnavi21504 Kindly resolve the Merge Conflict within one week or else this PR will be marked Stale and will be closed

I have done the changes . please check


Fix records related test cases

Purpose
$Subject. This PR also fixes a small issue in  validateDefaultable method of SemanticAnalyzer. Further, record related test cases are re-enabled with this PR.

Closing the PR. Will resend to df_endpoint_change branch.


Shaminda Abeysekara, Software developer-Mechanic Checker App

Developed code for controller to transfer data of selected product to SearchViewDetails page
Task number #45

Developed code for controller to transfer data of selected product to SearchViewDetails page


Tag new version

The recent commits that remove the demo app styling from the component styling aren't in the latest tag (1.0.6). A quick update to the bower version and a  git tag v1.0.7 && git push --tags would be much appreciated! :beers:

Done! https://github.com/Baremetrics/calendar/releases/tag/v1.0.7


Use Map for key-value pairs

https://github.com/jgm/pandoc-types/blob/dd50a6eaeaf63773bbf04d6ef34b86d6f92b7825/Text/Pandoc/Definition.hs#L196
I'm not sure what your policy is on breaking changes, but when/if you next plan to do a breaking release, I think we should consider changing this to type Attr = (Text, [Text], M.Map Text Text).

The reason it's a list is to preserve the order in a deterministic way (e.g. in round trips).

Ah, didn't think of that. I'm not sure how you feel about a dependency, but ordered-containers has Data.Map.Ordered to handle that. (If you're not a fan of that idea, then feel free to close this.)

I guess I'm not convinced that it's worth introducing a new dependency  and changing the API just for this.  (It would be a hassle changing it everywhere.). Generally attribute lists are not too long, so there shouldn't be much performance difference.

Fair enough.


[TestBot][Linux] Deploy TestBot on Azure using Azure Pipelines

We created a deployment script for deploying the TestBot on an Azure Linux Host using Azure Pipelines. This should be configured after #1946 is merged. We will be refactoring this PR once this one is merged to match its configurations.
Set-Up
We will be using the Windows Nightly build as a starting point for our build.

Make a clone of the Windows      Nightly build Pipeline.

Create new Application Credentials(AppId and AppPassword) and replace the pipeline variables.

Create a deployment user on Azure and add the credentials as      build variables.

Disable Zip publish project on the *dotnet Publish task.

Modify the Azure CLI task "Create resources" and place the following code:
call az group create --name "$(BotGroup)" --location "westus"

call az appservice plan create --name "$(BotName)" --resource-group "$(BotGroup)" --sku B1 --is-linux

call az webapp create --resource-group "$(BotGroup)" --plan "$(BotName)" --name "$(BotName)" --runtime "DOTNETCORE|2.2" --deployment-local-git

call az webapp config appsettings set --resource-group $(BotGroup) --name $(BotName) --settings MicrosoftAppId="$(AppId)"

call az webapp config appsettings set --resource-group $(BotGroup) --name $(BotName) --settings MicrosoftAppPassword="$(AppSecret)"

call az webapp config appsettings set --resource-group $(BotGroup) --name $(BotName) --settings CHOSENBOT=$(CHOSENBOT)

call az bot create -n $(BotName) -g $(BotGroup) -k registration -e https://$(BotName).azurewebsites.net/api/messages --appid "$(AppId)" --password "$(AppSecret)"

call az bot directline create -n "$(BotName)" -g "$(BotGroup)" > "$(System.DefaultWorkingDirectory)\DirectLineCreate.json"

Create a command line task with the following code for the git deployment
Move $(System.DefaultWorkingDirectory)\tests\Microsoft.Bot.Builder.TestBot\DeploymentScripts\Linux\* $(System.DefaultWorkingDirectory)\tests\Microsoft.Bot.Builder.TestBot

git config --global user.name "BotBuilderDotNetPipeline"

git config --global user.email<EMAIL_ADDRESS>
git init

git add .

git commit -m "asd"

git remote add azure https://$(AzureDeploymentUser):$(AzureDeploymentUser)@$(BotName).scm.azurewebsites.net:443/$(BotName).git

git push azure master

Pull Request Test Coverage Report for Build 61374

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 69.221%

Totals

Change from base Build 61282:
0.0%

Covered Lines:
4210

Relevant Lines:
6082

💛  - Coveralls

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

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

Completed: Run-DotNet-Functional-Tests-Linux https://fuselabs.visualstudio.com/SDK_v4/_release?definitionId=46&_a=releases


'export type' being transpiled

When I write a typescript file like this:
export type testType = string | boolean;

export class testClass {
  public testMethod() {
    console.log("test");
  }
}

And run it using babel's typescript-preset, it transpiles to this:
export class testClass {
  testMethod() {
    console.log("test");
  }

}

As the type is something only important to Typescript, it shouldn't be transpiled. But, when I go through typescript-preset and then through transform-modules-ui5, this is the result:
sap.ui.define([], function () {
  class testClass {
    testMethod() {
      console.log("test");
    }

  }

  var __exports = {
    __esModule: true
  };
  __exports.testType = testType;
  __exports.testClass = testClass;
  return __exports;
});

The type ends up being transpiled: __exports.testType = testType;, even though it's not on Typescript's transpiling. Maybe there's a need to test the exports of a file before outputting them to JS, as testType ends up having no reference in the file and we get a runtime error.
I have an example on this repo: https://github.com/lucasheim/transform-ui5-playground

I believe this issue is, by and large, caused by improper sequencing of the plugin's visitors (similar in spirit to the root cause of #23).
The module wrapper visits ExportNamedDeclaration nodes first and replaces them with their declaration part.
Then, much, much later, it builds the sap.ui.define wrapper based on the export declarations it has removed previously, even if another plugin has removed the remaining declaration in the meantime.
Testing whether the to-be-exported identifier still exists within the file's scope might be possible, but it's IMO a bandaid for a deeper design problem. The ExportNamedDeclaration handler and its siblings should be moved to a nested traverse call in the Program exit handler.


Cleanup every 4hrs

Rolling back to original value as we aren't seeing any issues with vm deployment.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: mkumatag
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [mkumatag]

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

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: mkumatag
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [mkumatag]

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

/assign
/cc @Rajalakshmi-Girish

/assign
/cc @Rajalakshmi-Girish

/lgtm

/lgtm

@mkumatag: Updated the job-config configmap in namespace prow at cluster default using the following files:

key cleanup-k8s-periodics.yaml using file config/jobs/periodic/housekeeping/cleanup-k8s-periodics.yaml

In response to this:

Rolling back to original value as we aren't seeing any issues with vm deployment.

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.

@mkumatag: Updated the job-config configmap in namespace prow at cluster default using the following files:

key cleanup-k8s-periodics.yaml using file config/jobs/periodic/housekeeping/cleanup-k8s-periodics.yaml

In response to this:

Rolling back to original value as we aren't seeing any issues with vm deployment.

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.


expect in bgSync tests

R: @philipwalton
Fixes #705
Adding expect and removing chai.assert in tests of background sync queue.

Thanks for doing this! I made comments inline, but my other primary comment is we should probably hold off on merging this until #690 is merged, which makes some general test consistency changes that these changes should also follow.
It might be worth checking out the background sync changes in that PR to see what's coming.

@philipwalton I have merged master with this and resolved conflicts..

👍


HIP support

This fundable has not been submitted yet.

[x] This fundable has not been submitted yet.

Motivation
Hello,
Is there any plan to support Kokkos build with HIP for all of the AMD users any soon ?
I am not really a recipe builder by the way, just a casual user. I heard that building recipes based on GPU is something else, but I don't know more about it.
Sorry if the question seems out of context.
Keep up with the good work !
Expected result
A new version of the recipe including a working version of Kokkos supporting HIP
Work items

Dispose of a machine with AMD/Intel GPU I guess...
Update the dependencies accordingly
Adapt the recipe and the cmake tags
Create a new conda package for Kokkos-HIP

References

https://kokkos.org/kokkos-core-wiki/ProgrammingGuide/Compiling.html

Skills / personnel
No response
Estimated costs and/or resources needed (optional)
No response

AFAIK, the ROCm toolchain is unmaintained on our channel, so that's why we don't build for ROCm. In other words, we don't have the appropriate build tools / infrastructure to target HIP.

I confirm after some trials that conda-forge ROCm toolchain is not mature enough to be considered usable as it is. Hopefully, it gets better soon.
I can close the issue then, thank you for the explanation.


Usage with watchify

I'm trying to use require-globify to pull in a folder of individual modules.  This works great with existing files, but when I add a new one to the module folder either watchify or require-globify isn't picking it up, so the bundle isn't updated.
Does this plugin support that type of configuration?  I did notice that if I go back to the file with the require glob and save it then new files are pulled in.  Any ideas?

Because require-globify itself doesn't watch any files or provide hints to other utilities which files/directories to watch, a tool like watchify can only watch the actual files that are being built into the bundle. The behaviour you're describing verifies this: when you edit the file with the glob-requirement, watchify detects the change in that file and rebuilds it, at which point require-globify gets another change at finding files (including new ones) that match the glob pattern.
I might be able to have watchify watch for changes on the globbed directories if I can detect that you're building using watchify and then hook into it. (IF this is at all possible, which I'd have to research.)
For now, you're probably gonna have to keep triggering a rebuild by editing the file with the glob.

Thanks for the quick response, and I appreciate the useful transform!  I thought that might be the case, so I sorted out a workaround for anyone who might have a similar usage.
If you're using gulp you can watch the files and trigger a resave of any files that have glob requires by using the watch/chokidar events along with gulp-savefile.  It will resave the file(s) whenever a file is added or deleted.
var gulp = require('gulp');
var savefile = require('gulp-savefile');

function resave(src) {
  return gulp.src(src)
    .pipe(savefile());
};

var watcher = gulp.watch('src/js');

watcher.on('add', function() {
  resave('src/js/index.js');
});

watcher.on('unlink', function() {
  resave('src/js/index.js');
});

A bit late, but by using a watcher you can do something like this (based on the gulp recipe):
const gulp = require('gulp');
const gutil = require('gulp-util');
const watchify = require('watchify');
const browserify = require('browserify');
const source = require('vinyl-source-stream');

const b = watchify(browserify({
	entries: ['./src/js/index.js'],
	// Other config settings
}));

const bundle = () => b.bundle()
	.pipe(source('bundle.js'))
	.pipe(gulp.dest('./dist'));

b.on('update', bundle);
b.on('log', gutil.log);

// Watch and run bundler again when JS files are added or deleted
const watcher = gulp.watch('./src/js/subfolder/**/*.js');

watcher.on('add', bundle);
watcher.on('unlink', bundle);


cant connect with a second user

got the proxy working locally and is working great with already my user account
but I am trying to add a second account that is a bot and wont register with the proxy....
pantalaimon: User @phrack:example.org doesn't have a matching pan client.

ok so I RTFM better and it needs to first log in, so I am using curl I get the token and pass it to the bot..
 ./run_bot.sh
INFO[0000] Go-NEB ({BindAddress::4050 DatabaseType:sqlite3 DatabaseURL:go-neb.db?_busy_timeout=5000 BaseURL:https://localhost LogDir: ConfigFile:config.yaml})
INFO[0000] Inserted 1 clients
INFO[0000] Inserted 0 realms
INFO[0000] Inserted 0 sessions
INFO[0000] Created new client                            auto_join_rooms=true since= sync=true user_id="@phrack:example.org"
INFO[0000] Inserted 6 services
INFO[0000] Starting polling loop                         service_id=rss_service service_type=rssbot timestamp=1586470020640344983
INFO[0000] OnPoll                                        service_id=rss_service service_type=rssbot timestamp=1586470020640344983
INFO[0000] Querying feed                                 feed_url="https://www.exploit-db.com/rss.xml"
INFO[0000] Sending new items                             feed_items=50 feed_url="https://www.exploit-db.com/rss.xml" new_items=0 service_id=rss_service service_type=rssbot

but I do !echo test and no response.
@arthurlutz

ok seems to be working fine when the bot writes for example RSS but if I sent commands !echo it wont.. so e2ee is only working one way.

Red is just a random color that has been chosen.
It probably won't reply because there are unverified devices, you'll need to either verify/ignore them using panctl, or completely disable verification in the settings.

I assume this has been solved by setting the appropriate config option.

I assume this has been solved by setting the appropriate config option.

Please i am facing this error and i don't know how to login so pantalaimon can recognize me


Case Study: Compare face detection models (accuracy)

What?
This is the PR for the case study for comparing face detection models. It uses a dataset with 2845 images to measure how many faces was each model able to detect.
This should be briefly mentioned in the thesis and added as an appendix in the thesis (the jupitherhub file)
I have copied over the function, so if we change them, we need to update it within the jupiterhub file as well.
Note that it takes about 16 minutes to process all the images and generate the graph

Do not merge! Not ready yet.


Add groq multi agent example

📥 Pull Request
📘 Description
Add example of using Groq Python SDK and fix the issue with the current notebook
🎯 Goal
Multi agent example using Groq

can you pls run
pip install black 'black[jupyter]'
black .

this will help you pass the Black code formatter check :)

thanks, I have updated the PR after running black


doc seem a small mistake

Wiki->Optimization adapter to reduce code->Getting started->(ImageView) helper.getView(R.id.iv)  , replace helper  by viewHolder,maybe better.

Thank you

https://github.com/CymChad/BaseRecyclerViewAdapterHelper/wiki/Optimization-adapter-to-reduce-code


obs: let patch set in order before apply them

obs ci for linuxcontainer will fail when apply patch set which have
dependency within. so patch set should be made in order before feed
to apply.
Fixes: #1015
Signed-off-by: Jianyong Wu<EMAIL_ADDRESS>@grahamwhaley @jodh-intel

Thanks @jongwu.
/test

/AzurePipelines run

hi @devimc @jodh-intel any comments?

@jongwu thanks


Web preview link on social platform

All functions in your package work fine
But just ask for this feature Web preview link on social platform
Because maybe bot only read meta tag already set on header index.html
In our logic, meta tags set by package will be later (for create flutter)
Maybe that is problem.
Example Web preview link on social platform:

Note: same issue with this
https://github.com/Eng-Mouaz-M-AlShahmeh/meta_seo/issues/4

Thanks for the issue,
For the web functionality , browsers read the HTML/XML/XTHML tags if exists and no matter the way you do that, but it is just the tag exist or not, for MetaSEO package just add all meta tags you need into header in HTML and the browser or social platform read this, so you need to be live "not local host". If there are any problem just send screenshots illustrations..

Yes i think our package can make more, my issue in case preview link on social, that mean BOT will only read meta info even flutter service not start yet.
Thank you

Welcome,

I update the documentation of the package.