Feature to mirror only a specific app and ignore other apps and overlay.

Sir i have searched whole internet but could not find any screen recorder or mirroring app which can only mirror a specific app which i mention
for e.g- i want to mirror only "com.chrome.browser" without any overlay and background apps getting caught in mirroring
just like obs where what we want only shows rest is ignored.

Is this possible or can you help me find any screen recorder which does this thing.

Duplicate of #1887.


docs: clarify application onboarding

Clarify ambiguity around application onboarding, and
remove references to code that does more than onboarding
namespaces, and observability references that are not
related to app onboarding.

Do we want to make sure the demos are still linked from somewhere?

The existing refs I removed are not related to the demo documented on the website, but rather code in the osm repo present in the demo/ folder.


gcc: error trying to exec 'cc1plus': execvp: 没有那个文件或目录 error: command 'gcc' failed with exit status 1

Please detail your questions here : )
when I run the command of 'python setup.py build_ext -i' , prompt an error.
How to solve this error? Can anyone help me answer? Thank you very much!
Questions posted to this repository will be closed.

I have searched for similar issues, and some people say that the gcc and g++ versions are incompatible? I don't know how to solve this error.

Please detail your questions here : )
when I run the command of 'python setup.py build_ext -i' , prompt an error.
How to solve this error? Can anyone help me answer? Thank you very much!
Questions posted to this repository will be closed.

Have you solved it now? I am stuck here too.

python3 setup.py build_ext -i
running build_ext
skipping 'mesh_core_cython.cpp' Cython extension (up-to-date)


Delete docs/metrics/create-user-flows.md

🚀 Deployed on https://654165ad1705170322316634--cozy-fox-0defec.netlify.app


test(prover): improve test coverage

Motivation
Improve the test coverage for the prover package.
Description

Move re-useable code to test-util package.
Add tests to prover package
Update the test code for other packages

Closes  #5647
Run all tests.

@nflaig For this PR splitting into multiple is similar to reviewing PR by commit. I would rather suggest to not do that instead you can just checkout the branch and review it.
Since this PR is not touching any source and neither do changed any existing test, so pretty safe to review that way.

looks like reusing expectKeys broke e2e tests

It looks like running a custom devnet with proxy is behaving differently than the mainnet. Making this PR to draft temporarily to fix it.

:tada: This PR is included in v1.10.0 :tada:


Export to TensorRT

A few questions about exporting FastFlowNet to TensorRT for inference on the Xavier TX2.

Which version of TensorRT was used to test FastFlowNet on the Xavier TX2?
Which toolkit or opensource project did you use to export FastFlowNet from pytorch to TensorRT? Did you use torch2trt?

I use TensorRT 6.0 to test FastFlowNet on the Jeston TX2.
I write CUDA kernel and TensorRT plugin of Center Dense Dilated Correlation layer and Warping layer, then I use CMake to compile them into dynamic link library (libplugin.so). Next, I implement FastFlowNet with TensorRT without using torch2trt, and load the Center Dense Dilated Correlation layer and Warping layer from above compiled dynamic link library, and add them to the network as custom plugin layers. Finally, I load the PyTorch pretrained parameters to the TensorRT model.

I use TensorRT 6.0 to test FastFlowNet on the Jeston TX2. I write CUDA kernel and TensorRT plugin of Center Dense Dilated Correlation layer and Warping layer, then I use CMake to compile them into dynamic link library (libplugin.so). Next, I implement FastFlowNet with TensorRT without using torch2trt, and load the Center Dense Dilated Correlation layer and Warping layer from above compiled dynamic link library, and add them to the network as custom plugin layers. Finally, I load the PyTorch pretrained parameters to the TensorRT model.

感谢您的开源工作！我是一个深度学习的新手，我想请教一下，在您的模型中使用了cuda编程，那么是不是没法将这个模型直接转化成onnx模型了呢？我的gpu不是3060Ti，想要部署这个模型的tensorrt，是不是只能按照您的方法自己重写tensorrt模型？不同cuda型号需要对tensorrt模型有很大改动吗？


Failures with dartanalyzer version 2.9.0-11.0.dev

Looks like this version doesn't fully support required yet?
$ ../dart-sdk/bin/dartanalyzer .
Analyzing calclix-master...
  error • Type check failed: 'required this.words' isn't of type 'int'. • bin/main.dart:45:5 • invalid_parameter_declaration
  error • Undefined class 'required'. • bin/main.dart:45:5 • undefined_class
  error • Undefined class 'required'. • bin/main.dart:46:5 • undefined_class
  error • Type check failed: 'required this.longWords' isn't of type 'int'. • bin/main.dart:46:5 • invalid_parameter_declaration
  error • Type check failed: 'required this.periods' isn't of type 'int'. • bin/main.dart:47:5 • invalid_parameter_declaration
  error • Undefined class 'required'. • bin/main.dart:47:5 • undefined_class
6 errors found.

$ ../dart-sdk/bin/dart bin/main.dart
bin/main.dart:45:5: Error: Type 'required' not found.
    required this.words,
    ^^^^^^^^
bin/main.dart:46:5: Error: Type 'required' not found.
    required this.longWords,
    ^^^^^^^^
bin/main.dart:47:5: Error: Type 'required' not found.
    required this.periods,
    ^^^^^^^^
bin/main.dart:45:5: Error: 'required' isn't a type.
    required this.words,
    ^^^^^^^^
bin/main.dart:46:5: Error: 'required' isn't a type.
    required this.longWords,
    ^^^^^^^^
bin/main.dart:47:5: Error: 'required' isn't a type.
    required this.periods,
    ^^^^^^^^

Version:
$ ../dart-sdk/bin/dartanalyzer --version
dartanalyzer version 2.9.0-11.0.dev
$ ../dart-sdk/bin/dart --version
Dart VM version: 2.9.0-11.0.dev (dev) (Tue May 26 12:14:57 2020 +0200) on "macos_x64"

Or maybe I should run it with the flag, but dartanalyzer --enable-experiment=nnbd . is not a recognized flag:
$ ../dart-sdk/bin/dartanalyzer --enable-experiment=nnbd .
ERROR: Flag "nnbd" not recognized.

Ok, never mind, after looking into analysis_options.yaml, I realized the new flag is non-nullable. With this, everything works. Yay!

Try dartanalyzer --enable-experiment=non-nullable .
You can also just open in vscode (code .) as the launch config has that flag set.
I was planning on documenting this in the readme.


chore: bdd-sbhg-import-1583824597 to 0.0.1

chore: Promote bdd-sbhg-import-1583824597 to version 0.0.1

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

Needs approval from an approver in each of these files:

OWNERS

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


Onderzoek doen :required in forms

We hebben :required in forms toegevoegd.
Bron: https://developer.mozilla.org/en-US/docs/Web/CSS/:required
Commit: https://github.com/kimnikitaschijf/look-and-feel-styleguide/commit/c571f763a67acc92b88412ab282bafa93efa782b


Does lookup.Remove remove all values are just a single value

Does the remove method remove a single value or all values? If we use the following example for an event:
func (data SomeEvent) ProvideLookup(p lookup.Provider) {
	p.Remove(SomeEventLookup)
}

Does this remove the value for this event from the lookup or all values for the given lookup key.
If it remove all values, is there a way to remove a single key from the lookup?

It will remove the lookup value only for the specific aggregate of this event. This depends on the aggregate data of the event:
type SomeEvent struct {}

func (data SomeEvent) ProvideLookup(p lookup.Provider) {
	p.Remove(SomeEventLookup)
}

func example(id uuid.UUID) {
  // The lookup is for the specific aggregate with name "foo" and the provided id.
  evt := event.New("foobar", SomeEvent{}, event.Aggregate("foo", id))

  // The lookup is for the aggregate with name "" and uuid.Nil (global/singleton lookup)
  evt := event.New("foobar", SomeEvent{})

  // The lookup is for the aggregate with name "foo" and uuid.Nil (lookup is for _all_ "foo" aggregates)
  evt := event.New("foobar", SomeEvent{}, event.Aggregate("foo", uuid.Nil))
}

Thank you. This makes sense. Is there a way to test this? I noticed that if I attempt to use a WaitGroup, like in the example below, it becomes flaky.
const LookUpKey = "lookup"
type SomeProvideEvent struct {
    Key string
}

func (data SomeProvideEvent) ProvideLookup(p lookup.Provider) {
	p.Provide(LookUpKey, data.Key)
}

type SomeRemoveEvent struct {}

func (data SomeRemoveEvent) ProvideLookup(p lookup.Provider) {
	p.Remove(LookUpKey)
}

func example() {
    evts := []event.Event{
        event.New("foobarprovide", SomeProvideEvent{}, event.Aggregate("foo", id)),
        event.New("foobarremove", SomeRemoveEvent{}, event.Aggregate("foo", id)),
    }

    b := eventbus.New()
    s := eventstore.New()

    lk := lookup.New(s, b, []string{"foobarprovide", "foobarremove"})
    _, _ = lk.Run(context.Background())

    b.Publish(context.Background(), evts...)
    var wg sync.WaitGroup
    wg.Add(1)
    go func() {
	defer wg.Done()
	<-time.After(5 * time.Second)
    }()
    wg.Wait()

    _, ok := lk.Lookup(context.Background(), "someaggregate", LookUpKey, id)

   fmt.Println("found?", ok) // <- this is non-deterministic. Sometimes it's true. Other times its false
}

This issue was actually caused by the event bus implementation. Your code should work now with v0.4.5.

Makes sense. Thank you for the clarification.


Support logging statements for sourcemaps

Do you want to request a feature or report a bug?
Feature

What is the current behavior?
Building a large codebase, sourcemaps do not provide any console logging to show that the build is in fact proceeding forward.
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
Add console logging to show the progress of the build during chunk generation
If this is a feature request, what is motivation or use case for changing the behavior?
The end user can confirm that the build is actually proceeding and that it is not just hanging.
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.

Are you planning to work on this or do you need help? @nikhilgaba

You could take a go at it. I wont be able to have a look at it until early next week. @EugeneHlushko

Okay, will take it on Sat, @sokra any comments on this?

We currently don't have a way for logging in webpack. There is a kind of progress support in the next plugin system, but it doesn't support logging or more inner plugin logging.
We should consider adding logging support to the plugin system.
This can be handled through the intercept API:
compiler.hooks.something.tap("MyPlugin", () => {
  for(...) {
    if(compiler.hooks.something.log !== undefined) {
      compiler.hooks.something.log(step, message);
    }
  }
});

compiler.hooks.something.intercept({
  log: (tap, step, message) => {
    console.log(tap.name, step, message);
  }
});

This can be integrated into the ProgressPlugin.


supported features for singlestore-spark-connector_2.11....

Hi,
Are new features available for connector version 'singlestore-spark-connector_2.11:3.1.2-spark-2.4.7' (Spark 2.x) ?
I tried to pass something like this:
enableParallelRead  = automaticLite
but got wrong value message...
also I have SingleStoreDB version 7.5+
Thanks,
Aleks

Hi,
New features are described in the release highlights.
More details can be found in the CHANGELOG.
enableParallelRead is available starting from 3.2 version of the driver.


Fix discrepancies in parser scripts, bad newlines in cmdrc

There were discrepancies between the jq and python versions of the injected parser script for the container info. In particular, the jq version was behaving badly and injecting newlines into the parsed result. Further, the generated cmdrc was splitting some messages with newlines, causing erroneous commands.
I posted an old/new comparison with output here (note the issue with test 3 especially):
https://github.com/echuber2/x11docker-parser-test
Fixes https://github.com/mviereck/x11docker/issues/485
Fixes https://github.com/mviereck/x11docker/issues/493
Fixes https://github.com/mviereck/x11docker/issues/504
(I hope others can test and confirm the fixed issues. There may have been additional issues related to this. Test at your own risk. I can't guarantee this won't remove files unexpectedly based on the parsed results.)
The issues with parsing here make me nervous for safety of using the scripts, especially in relation to the cleanup command that removes files and directories. I hope I haven't made things any worse with these changes.
Since the container runtimes have a built-in parser (using --format, see the Docker docs for example), maybe it would be better to remove these parsers entirely and just let the runtime fetch what you need. Or, make one of either jq or python a hard requirement, to at least ensure consistency or simplify testing. I suppose that jq is smaller than python to keep as a system requirement, but the python version might be easier to debug and maintain.

Note that in the old version, Pythonbin was being set to jq by preference, which is kind of confusing. The new Jqbin variable tries to make that explicit.

Thank you very much!
I admit that I did not do a deep check of your code, just have read it and it looked well.


Migrate from Go 1.x to 2.x

We need to migrate our Go runtime from 1.x to 2.x as 1.x is deprecating https://aws.amazon.com/blogs/compute/migrating-aws-lambda-functions-from-the-go1-x-runtime-to-the-custom-runtime-on-amazon-linux-2/

The ETA is 2nd October

Will try understanding what all changes are made in the infra of AWS [24th Sep]
Will try making the changes for underlying infra [by 27th Sep]
Test out the changes [by 1st Oct]


fix: load highlight.min.js via https

Because it fails to load on https sites with mixed active content warnings.

That fixed my issue! Thanks for you help with this @huangyz0918 & @luhc228 :+1:


Updated gh workflow to use latest actions

Fixed deprecations of the gh workflows by updating to the latest versions of the used actions.

Thanks @thirsch , merged! :+1:


Bluetooth: controller: llcp: documentatoin

Is your enhancement proposal related to a problem? Please describe.
The design documentation for the refactored LLCP is not easy to find
Describe the solution you'd like
Collect the design documentation and add it to the Zephyr documentation page
Describe alternatives you've considered
Additional context

Not planned in the near future.


brew update : Bad file descriptor (Errno::EBADF)

[x] Ran brew update and retried your prior step?
[x] Ran brew doctor, fixed as many issues as possible and retried your prior step?
[x] If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?

Bug reports:
brew update fails.
steps taken
[1] ls -la $(brew --prefix)
drwxrwxr-x  19 ram   admin   646 May 16 00:12 .
drwxr-xr-x@ 13 root  wheel   442 May 15 17:17 ..
drwxr-xr-x  14 ram   admin   476 May 18 22:57 .git
drwxr-xr-x   5 ram   admin   170 May 15 17:18 .github
-rw-r--r--   1 ram   admin  1016 May 15 17:18 .gitignore
-rw-r--r--   1 ram   admin   861 May 15 17:18 .travis.yml
-rw-r--r--   1 ram   admin   291 May 15 17:18 .yardopts
-rw-r--r--   1 ram   admin  3161 May 15 17:18 CODEOFCONDUCT.md
drwxr-xr-x  11 ram   admin   374 May 16 00:39 Cellar
-rw-r--r--   1 ram   admin  1241 May 15 17:18 LICENSE.txt
drwxr-xr-x  11 ram   admin   374 May 15 17:32 Library
-rw-r--r--   1 ram   admin  3918 May 15 17:18 README.md
drwxr-xr-x  94 ram   admin  3196 May 18 22:50 bin
drwxr-xr-x   5 ram   admin   170 May 16 00:36 etc
drwxr-xr-x   4 ram   admin   136 May 16 00:31 include
drwxr-xr-x  12 ram   admin   408 May 16 00:31 lib
drwxr-xr-x  11 ram   admin   374 May 16 00:39 opt
drwxr-xr-x  16 ram   admin   544 May 17 20:27 share
drwxr-xr-x   5 ram   admin   170 May 16 00:36 var

[2] brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Your Homebrew is outdated.
You haven't updated for at least 24 hours. This is a long time in brewland!
To update Homebrew, run `brew update`.

[3] brew update
-e:1:in `initialize': Bad file descriptor (Errno::EBADF)
	from -e:1:in `new'
	from -e:1:in `<main>'
Error: Another active Homebrew process is already in progress.
Please wait for it to finish or terminate it to continue.

Try to cd /usr/local; git reset --hard origin/master; brew update.
CC @xu-cheng for what looks like a locking bug.

Can you show the output of ls -al /tmp/

I just restarted the terminal. brew  updated correctly. You may close this
please.
Regards, Ram
On May 18, 2016 11:20 PM, "Xu Cheng"<EMAIL_ADDRESS>wrote:

Can you show the output of ls -al /tmp/
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/Homebrew/brew/issues/253#issuecomment-220105683

@ramonrails Were you using tmux or screen or anything? The output of ls -al /tmp/ would still be useful if you can provide it so we can avoid others hitting this issue. Thanks!

@mikemcquaid I just did. the relevant part only, though. thank you.

@ramonrails Thanks!

This came again Today. Here are the complete output and steps.
brew doctor is clean
ruby-2.3.1 ~/work/projects/code/sso (develop)*$ brew doctor
Your system is ready to brew.

brew update complained about another process (I only had single terminal console open.
ruby-2.3.1 ~/work/projects/code/sso (develop)*$ brew update
-e:1:in `initialize': Bad file descriptor (Errno::EBADF)
	from -e:1:in `new'
	from -e:1:in `<main>'
Error: Another active Homebrew process is already in progress.
Please wait for it to finish or terminate it to continue.

I looked at the /tmp folder as suggested above
ruby-2.3.1 ~/work/projects/code/sso (develop)*$ ll /tmp/
total 8
drwxrwxrwt  12 root  wheel   408B May 19 13:03 ./
drwxr-xr-x@  6 root  wheel   204B May 15 14:58 ../
-rw-rw-rw-   1 ram   wheel     0B May 19 12:53 .keystone_install_lock
drwx------   3 ram   wheel   102B May 19 12:53 KSOutOfProcessFetcher.501.ppfIhqX0vjaTSb8AJYobDV7Cu68=/
drwx------   3 ram   wheel   102B May 19 12:53 com.apple.launchd.LVqVic1quK/
drwx------   3 ram   wheel   102B May 19 12:53 com.apple.launchd.UhC06p2CBa/
-rw-r--r--@  1 ram   wheel     0B May 19 12:53 ct.shutdown
-rw-r--r--   1 ram   wheel     0B May 19 13:03 homebrew-usr-local-update.lock
srwx------   1 ram   wheel     0B May 19 12:53 mongodb-27017.sock
srwxrwxrwx   1 ram   wheel     0B May 19 12:53 mysql.sock
-rw-------   1 ram   wheel     4B May 19 12:53 mysql.sock.lock
srwxr-xr-x   1 ram   wheel     0B May 19 12:57 textmate-501.sock

found home-brew-.... lock file, removed it.
ruby-2.3.1 ~/work/projects/code/sso (develop)*$ rm /tmp/homebrew-usr-local-update.lock
ruby-2.3.1 ~/work/projects/code/sso (develop)*$ ll /tmp/
total 8
drwxrwxrwt  11 root  wheel   374B May 19 13:04 ./
drwxr-xr-x@  6 root  wheel   204B May 15 14:58 ../
-rw-rw-rw-   1 ram   wheel     0B May 19 12:53 .keystone_install_lock
drwx------   3 ram   wheel   102B May 19 12:53 KSOutOfProcessFetcher.501.ppfIhqX0vjaTSb8AJYobDV7Cu68=/
drwx------   3 ram   wheel   102B May 19 12:53 com.apple.launchd.LVqVic1quK/
drwx------   3 ram   wheel   102B May 19 12:53 com.apple.launchd.UhC06p2CBa/
-rw-r--r--@  1 ram   wheel     0B May 19 12:53 ct.shutdown
srwx------   1 ram   wheel     0B May 19 12:53 mongodb-27017.sock
srwxrwxrwx   1 ram   wheel     0B May 19 12:53 mysql.sock
-rw-------   1 ram   wheel     4B May 19 12:53 mysql.sock.lock
srwxr-xr-x   1 ram   wheel     0B May 19 12:57 textmate-501.sock

brew update failed anyways. the lock file was also re-created somehow during the brew update command
ruby-2.3.1 ~/work/projects/code/sso (develop)*$ brew update
-e:1:in `initialize': Bad file descriptor (Errno::EBADF)
	from -e:1:in `new'
	from -e:1:in `<main>'
Error: Another active Homebrew process is already in progress.
Please wait for it to finish or terminate it to continue.
ruby-2.3.1 ~/work/projects/code/sso (develop)*$ ll /tmp/
total 8
drwxrwxrwt  11 root  wheel   374B May 19 13:05 ./
drwxr-xr-x@  6 root  wheel   204B May 15 14:58 ../
-rw-rw-rw-   1 ram   wheel     0B May 19 12:53 .keystone_install_lock
drwx------   3 ram   wheel   102B May 19 12:53 KSOutOfProcessFetcher.501.ppfIhqX0vjaTSb8AJYobDV7Cu68=/
drwx------   3 ram   wheel   102B May 19 12:53 com.apple.launchd.LVqVic1quK/
drwx------   3 ram   wheel   102B May 19 12:53 com.apple.launchd.UhC06p2CBa/
-rw-r--r--@  1 ram   wheel     0B May 19 12:53 ct.shutdown
-rw-r--r--   1 ram   wheel     0B May 19 13:04 homebrew-usr-local-update.lock
srwx------   1 ram   wheel     0B May 19 12:53 mongodb-27017.sock
srwxrwxrwx   1 ram   wheel     0B May 19 12:53 mysql.sock
-rw-------   1 ram   wheel     4B May 19 12:53 mysql.sock.lock

PS: I was not sure whether to create a new issue or re-open this one. So, I just posted here on the closed issue @mikemcquaid @xu-cheng thank you for looking into this. Meanwhile, I will just reinstall home-brew fresh again to see if this goes away.

May I ask the output of which ruby? Are you using rbenv or RVM?

rbenv 1.0.0

What's the output of rbenv which ruby and rbenv version?

ruby-2.3.1 ~ $ rbenv which ruby
/Users/ram/.rbenv/versions/2.3.1/bin/ruby

ruby-2.3.1 ~ $ rbenv version
2.3.1 (set by /Users/ram/.rbenv/version)

I have the exact same problem, running brew update gives
Errno::EBADF: Bad file descriptor - Bad file descriptor
  initialize at org/jruby/RubyIO.java:923
  initialize at org/jruby/RubyFile.java:362
         new at org/jruby/RubyIO.java:853
      (root) at -e:1
Error: Another active Homebrew process is already in progress.

I'm using rvm, outputs of aforeasked
which ruby
/Users/ahtikatiska/.rvm/rubies/jruby-1.7.23/bin/ruby

rvm which ruby
/Users/ahtikatiska/.rvm/rubies/jruby-1.7.23/bin/ruby

rvm version
rvm 1.27.0 (latest) by Wayne E. Seguin<EMAIL_ADDRESS>Michal Papis<EMAIL_ADDRESS>[https://rvm.io/]

@ramonrails @KatsCyl
In order to help me debug this, could you show the output for following commands run in Bash?
brew config
brew doctor
ls -al /dev/fd/
exec 200>/tmp/test.lock
ls -al /dev/fd/
ruby -e 'File.new(200)'

Also have you set Bash in restricted mode or other non-standard mode?

brew config
HOMEBREW_VERSION: 0.9.9
ORIGIN: https://github.com/Homebrew/brew
HEAD: 2f20a42292e7d8d8f9ae9286632155a46e599700
Last commit: 8 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 0a6ddaa2dce2a03675f9296d7fafc98278a73cbc
Core tap last commit: 7 days ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: 8-core 64-bit haswell
Clang: 7.3 build 703
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /Users/ahtikatiska/.rvm/rubies/jruby-1.7.23/bin/ruby => /Users/ahtikatiska/.rvm/rubies/jruby-1.7.23/bin/jruby
Java: 1.8.0_92, 1.8.0_91
System Ruby: 2.0.0-p648
OS X: 10.11.5-x86_64
Xcode: N/A
CLT: <IP_ADDRESS>.1.1461711523
X11: N/A

brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Your Homebrew is outdated.
You haven't updated for at least 24 hours. This is a long time in brewland!
To update Homebrew, run `brew update`.

ls -al /dev/fd/
total 0
crw--w----   1 ahtikatiska  tty     16,   0 May 23 15:31 0
crw--w----   1 ahtikatiska  tty     16,   0 May 23 15:31 1
crw--w----   1 ahtikatiska  tty     16,   0 May 23 15:31 2
drw-r--r--  36 ahtikatiska  staff      1224 May 23 13:48 3
dr--r--r--   1 root         wheel         0 May 23 14:39 4

exec 200>/tmp/test.lock

ls -al /dev/fd/
total 0
crw--w----   1 ahtikatiska  tty     16,   0 May 23 15:32 0
crw--w----   1 ahtikatiska  tty     16,   0 May 23 15:32 1
crw--w----   1 ahtikatiska  tty     16,   0 May 23 15:32 2
-rw-r--r--   1 ahtikatiska  wheel         0 May 23 15:32 200
drw-r--r--  36 ahtikatiska  staff      1224 May 23 13:48 3
dr--r--r--   1 root         wheel         0 May 23 14:39 4

ruby -e 'File.new(200)'
Errno::EBADF: Bad file descriptor - Bad file descriptor
  initialize at org/jruby/RubyIO.java:923
  initialize at org/jruby/RubyFile.java:362
         new at org/jruby/RubyIO.java:853
      (root) at -e:1

ruby-2.3.1 ~/tmp $ brew config
HOMEBREW_VERSION: 0.9.9
ORIGIN: https://github.com/Homebrew/brew
HEAD: d345483de164e062727f95d3fbd575433d735548
Last commit: 16 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 6442c12aea41de740333aff8249cc3c09fb1dd9e
Core tap last commit: 10 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: 8-core 64-bit ivybridge
Clang: 7.3 build 703
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /Users/ram/.rbenv/shims/ruby => /Users/ram/.rbenv/versions/2.3.1/bin/ruby
Java: N/A
System Ruby: 2.0.0-p648
OS X: 10.11.4-x86_64
Xcode: 7.3.1
CLT: <IP_ADDRESS>.1.1461711523
X11: N/A

ruby-2.3.1 ~/tmp $ brew doctor
Your system is ready to brew.
ruby-2.3.1 ~/tmp $ ls -al /dev/fd/
total 0
crw--w----  1 ram   tty     16,   2 May 23 18:17 0
crw--w----  1 ram   tty     16,   2 May 23 18:17 1
crw--w----  1 ram   tty     16,   2 May 23 18:17 2
drw-r--r--  5 ram   staff       170 May 22 23:41 3
dr--r--r--  1 root  wheel         0 May 23 11:52 4

ruby-2.3.1 ~/tmp $ exec 200>/tmp/test.lock

ruby-2.3.1 ~/tmp $ ls -al /dev/fd/
total 0
crw--w----  1 ram   tty     16,   2 May 23 18:18 0
crw--w----  1 ram   tty     16,   2 May 23 18:18 1
crw--w----  1 ram   tty     16,   2 May 23 18:18 2
-rw-r--r--  1 ram   wheel         0 May 23 18:18 200
drw-r--r--  5 ram   staff       170 May 22 23:41 3
dr--r--r--  1 root  wheel         0 May 23 11:52 4

ruby-2.3.1 ~/tmp $ ruby -e 'File.new(200)'
ruby-2.3.1 ~/tmp $

@ramonrails It seems that error has been gone for you.
@KatsCyl Can you try:
exec 200>/tmp/test.lock
/usr/bin/ruby -e 'File.new(200)'

That completed without errors

As I explained above, I just needed to move on with my work, so reinstalled everything. Thank you for your time & attention to this issue.

@MikeMcQuaid It seems that this bug comes from third party ruby interpreter. Shall we hardcore the path to /usr/bin/ruby, i.e. system ruby?

@xu-cheng Seems like a good idea for now on OS X and then it can use the vendored Ruby when that exists.

@MikeMcQuaid Since I have no Mac access in this week, would you mind to open the PR?
As for vendor Ruby, I think we can keep to use system Ruby because this one line command is Ruby 1.x compatible. And we will use this lock when installing vendor Ruby.

@xu-cheng done in https://github.com/Homebrew/brew/pull/271

I just had this problem arise for me. Is there a "cliff notes" version to resolving it?

I had the same issue, my problem was that i run a sudo command that probably affected some permissions, so to fix Homebrew i first run the following command to fix the permissions:
sudo chown -R "$USER":admin /usr/local
After that I did a cleanup:
brew cleanup
And I was successfully able to update Homebrew and install packages.
Hope this helps!

@rochastuff helped me!

Thanks rochastuff: that worked for me too.

I hit this issue as well, thanks @rochastuff your workaround fixed this.


node auto instrumentation does not export span when the server is listening on HTTP 2 protocol

What version of OpenTelemetry are you using?
"@opentelemetry/api": "^1.0.3",
"@opentelemetry/auto-instrumentations-node": "^0.27.0",
"@opentelemetry/sdk-node": "^0.27.0",
"@opentelemetry/sdk-trace-base": "^1.0.1",
What version of Node are you using?
14.16.1
What did you do?

I created a trace.js file with auto instrumentation and console exporter. When the server is listening to HTTP/HTTPS 1.1, I can see the trace in console.log but when I switch to the http2 server protocol I cant see the traces.
What did you expect to see?
Even with http 2, i should be able to see the trace.
What did you see instead?
Nothing
Additional context

https://github.com/SunilManthenaG01/open-tel-http-2-issue
I create a sample repo for reproducing the issue. where i have one file implemented with http 1.1 and another one with http 2.

Does anyone have any input on this issue?

I'll go ahead ang move this issue to the core repo seems the instrumentation will most likely go there


Update coursier-jvm_2.13, ... to 2.1.15

About this PR
📦 Updates

io.get-coursier:coursier-jvm_2.13
io.get-coursier:coursier-launcher_2.13
io.get-coursier:coursier-proxy-setup
io.get-coursier:coursier_2.13

from 2.1.14 to 2.1.15
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.get-coursier" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.get-coursier" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #3265.


Update dataset.md

Thoughts on the dataset template?
We should add that the user is expected to commit in the pull request:

predicates to the file datasets/${dataset_name}/predicates.yaml
the filled out pull request template in the file datasets/${dataset_name}/README.md

Summary by CodeRabbit

New Features

Introduced a new markdown template for datasets, enhancing documentation with structured sections for dataset name, description, supported tasks, resources, access details, and compliance checklist.
Added a checklist section to ensure compliance with the MEDS-DEV API.
Expanded sections to include aggregate statistics, cohort descriptions, and detailed access requirements.

I like this, but chat with @prockenschaub and @rvandewater -- they've added similar dataset templating information in #27, @Oufattole

@Oufattole do you prefer to take over our changes as you see fit?

@prockenschaub @rvandewater I tried to merge the two versions for the dataset template (sorry this turned out to be concurrent!) and included suggestions from @Simonlee711 and coderabbit. Let me know if you have any thoughts!
@Jeanselme maybe we should also think about and request more information on any fairness-related considerations for the dataset (e.g. which groups are possible, request their definitions, etc.)
Also cc: @Oufattole @mmcdermott

Looks good @kamilest


CAMEL-13934 camel-minio - Component to store/load files from blob store

This is a draft pull request

Looks good @Nayananga,
You could start to:

Implement basic CRUD operations with unit\integration tests
Improve docs

Hey @Nayananga I assume this PR is still WIP?

@zregvart @oscerd @DenisIstomin I would like to request to merge this PR as the first version of the component. Please let me know if there are necessary changes to do before that.

Hey @Nayananga I assume this PR is still WIP?

Hi @omarsmak, sorry I just saw this, I guess this is ready to review

Yeah lets get it merged and polish on it a bit.


enhancement: replace storage.Import cnotroller with kubectl proxy possible http temp server

Tasks description
need to create a http server which can be used by kubectl proxy
Issues
Completed Issue(s)

#334

Solution
Sub-Tasks

[ ] milestones or sub-task which needs to be coverted

Note to reviewers

[ ] Ran Tests locally
[ ] Checked Contribution's guidelines

Need to find out the context name for the extraction of certificate from the kubeconfig
Possible solution
when writing the kubeconfig to the stateDocument typed var we also add another field so as to get the data
make sure we dd the ksctl agent after the state transfer to the cluster is already done

Found a bug

aws ha kubeadm e2e

Most Probable error


timezone aware columns

At the moment, I don't see any way to have performant, timezone aware columns. This seems rather surprising, as generally when you have a column with timestamps, they will all likely be of the same timezone. Right now, as far as I can see you have two options:

Columns that are basically just numpy datetime64[ns] types. These seem to be timezone unaware.If you make such a column timezone aware (by e.g., dataframe.time_column.dt.tz_localize('UTC')) it becomes a column of dtype object.
A DatetimeIndex, which keeps track of timezone information at seemingly the column level (which is laudable). However, this only seems to really work used as an index. If I assign it to a column, it again gets converted to a dtype object, and things get slow.

Am I missing something? Is there a really good reason why a DatetimeIndex can't just be used, as is, in a column, without the dtype=object conversion?

Your analysis is generally correct. The problem is, as you pointed out, that numpy does not have support for time zones, and the data in columns are stored as numpy arrays.
The DatetimeIndex provides some work-arounds to handle time zones at the level of the full index, and these workaround are not (yet) available for columns ('blocks'). But, as far as I understand, it would be possible to do something similar for the DatetimeBlock, but @jreback can shed more light on this.
I think it is a rather big enhancement, but if your are interested in working on this, certainly welcome! Or, for improving timezone support in numpy itself, they are certainly also looking for help.

Thank your @jorisvandenbossche, very helpful. Handling it at the DatetimeBlock level seems a bit messier, e.g. different columns could have different timezone or precision information. I was thinking of a solution more like Categorical. As far as I can see Categorical seems to have all the right basic infrastructure in place to duplicate to create a DatetimeColumn, but naturally this is a very superficial viewpoint.
Sure, I am interested in at least looking at what would be required. The timezone support on the numpy side I actually view as adequate, in the sense that I think the datetime64[ns] is perfectly adequate as a low-level data type, and has the enormous advantage of being just exactly a 64 bit integer and nothing else. This, I think, should be handled on the pandas side.

dupe of #8260
@quicknir you are welcome to give this a go, its actually not that tricky, just inherit from DatetimeBlock. And the NonConsolidatingBlock mixin (so these blocks are not combined with one another). This is by far the cleanest soln.

Sure, I am interested in at least looking at what would be required. The timezone support on the numpy side I actually view as adequate, in the sense that I think the datetime64[ns] is perfectly adequate as a low-level data type, and has the enormous advantage of being just exactly a 64 bit integer and nothing else. This, I think, should be handled on the pandas side.

support on numpy is non-existant, though there are some proposals. just look thru the pandas codebase and you will appreciate the enormity of what @wesm did with timezones.


bug: Does mini.icons affect the icon display of outline?

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
v0.10.0
Operating system/version
windows10
Describe the bug
It's not 100% possible, and I'm not sure under what conditions it will be possible.

Steps To Reproduce
Trigger conditions cannot be determined at this time
Expected Behavior
Normal display icon
Repro
No response

On Linux and kitty terminal this does not happen to me. The icons show correctly.

This is probably related to your nerd font config. How do you use them? I can try to help if I can, as I use Linux.


aniyomi extension yomovies

Source name
yomovies
Source language
hindi
Source link
https://yomovies.my
Other details
when we open the extension in aniyomi app it shows all the movies and other series but when we try to open it or play the video it doesn't open and show some kind of extension issue and if we try to open it in webview  then it shows webpage not found but before it shows webpage not found it shows us a different website for some seconds prmovies  (https://prmovies.my) . And after some research i found that there is some kind of code issue in extension .  the website of yomovies is working on browser if open it without extension .
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have updated all installed extensions.
[x] I have opened WebView and checked that the source website is down.
[X] I will fill out all of the requested information in this form.

Due to a DMCA takedown, we won't add any more extensions.


Silenced a warning about non-initialized values.

Compiling was failing on a few non-initialized values. Also, Atom strips excess whitespace automatically, so the whitespace commits are due to that.

LGTM, thanks for the fix. I'll take care of the other bug in the vicinity when I merge.

Merged!


No parameterless constructor found exception occurs

Problem
[ServiceContract]
public interface ITestRpc
{
    [OperationContract]
    public Task<TestReturn> TestAsync();
}

[DataContract]
[ProtoContract(SkipConstructor = true)]
public record TestReturn(
    [property: DataMember(Order = 1)] bool IsSuccess);

whenever I don't put [ProtoContract(SkipConstructor = true)] on my return dto, it gives me this exception.
Grpc.Core.RpcException: Status(StatusCode="Internal", Detail="Error starting gRPC call. ProtoException: No parameterless constructor found

Questions

Is this an intended exception?
Why is there a need for parameterless constructor?
Is putting the attribute like above the best way to tackle this issue?

I cannot reproduce ProtoException:

use the code from Examples/ProtobufMarshaller
switch to <TargetFramework>net8.0</TargetFramework> in the Contract project (because of record)
extend existing IPersonService

    [OperationContract]
    Task<TestReturn> Ping(TestReturn data);

It works.


Update dependencies in pnpm catalog

This pull request includes updates to various dependencies in the pnpm-workspace.yaml file, ensuring that the project uses the latest versions of these packages.
Dependency updates:

Updated versions for @astrojs/check, @astrojs/tailwind, @astrojs/node, and astro in the catalog: section. (pnpm-workspace.yaml pnpm-workspace.yamlL5-R11)
Updated versions for powerglitch, tailwindcss, and tailwind-merge in the catalogs: section under landing. (pnpm-workspace.yaml pnpm-workspace.yamlL26-R28)
Updated versions for astro-embed, hast-util-select, rehype, and typedoc in the catalogs: section. (pnpm-workspace.yaml pnpm-workspace.yamlL37-R45)
Updated versions for @inox-tools/runtime-logger, @iconify-json/heroicons, and @noble/hashes in the catalogs: section under studiocms-shared. (pnpm-workspace.yaml pnpm-workspace.yamlL56-R63)
Updated versions for micromatch in the catalogs: section. (pnpm-workspace.yaml pnpm-workspace.yamlL77-R77)
Updated versions for @cloudinary/url-gen and @unpic/astro in the catalogs: section under studiocms-imagehandler. (pnpm-workspace.yaml pnpm-workspace.yamlL93-R94)

Thank you for submitting your Pull Request, the following links will become available for preview shortly:

StudioCMS Landing Page

StudioCMS Documentation

StudioCMS Demo (node-playground) (Also deployed with package changes)

StudioCMS Ui Demo (ui-playground)


Audio Output on iOS Safari not working

Describe the bug
The Text to Speech Output is not working on iOS Safari, but the same code works on Chrome, MacOS Safari and Edge.
To Reproduce
I used the following simplified code to output the same text as in the demo-page (https://azure.microsoft.com/en-us/products/cognitive-services/text-to-speech/#features):
document.getElementById("test").addEventListener("click", function () {
        let sdkApiKey = "xxxxx"; //anonymized
        let sdkRegion = "westeurope";
        let speechConfig1 = SpeechSDK.SpeechConfig.fromSubscription(sdkApiKey, sdkRegion);
        speechConfig1.SpeechSynthesisOutputFormat = SpeechSDK.SpeechSynthesisOutputFormat.Audio24Khz96KBitRateMonoMp3;
        let azurePlayer1 = new SpeechSDK.SpeakerAudioDestination();

        let audioConfig1 = SpeechSDK.AudioConfig.fromSpeakerOutput(azurePlayer1);

        let azureSynth = new SpeechSDK.SpeechSynthesizer(speechConfig1, audioConfig1);
        azureSynth.speakSsmlAsync(
            '<speak xmlns="http://www.w3.org/2001/10/synthesis" xmlns:mstts="http://www.w3.org/2001/mstts" xmlns:emo="http://www.w3.org/2009/10/emotionml" version="1.0" xml:lang="en-US"><voice name="en-US-JennyNeural"><prosody rate="0%" pitch="0%">You can replace this text with any text you wish. You can either write in this text box or paste your own text here.\n' +
            '\n' +
            'Try different languages and voices. Change the speed and the pitch of the voice. You can even tweak the SSML (Speech Synthesis Markup Language) to control how the different sections of the text sound. Click on SSML above to give it a try!\n' +
            '\n' +
            'Enjoy using Text to Speech!</prosody></voice></speak>',
            function (result) {
                window.console.log("success", result);
            },
            function (err) {
                window.console.log("Error", err);
            });
    });

The element with the id "test" ist just a simple button
Expected behavior
I expect it to audio output the text on all browsers the same, or at least to be any output on iOS
Version of the Cognitive Services Speech SDK
To my knowledge the most recent one and specifally the same as on the Azure demo page: https://azure.microsoft.com/scripts/Acom/Components/cognitiveServicesDemos/speechJsSdk/microsoft.cognitiveservices.speech.sdk.bundle.js?v=cba17aff7d5806570da8eaf3c40c38a87d8a00cb3fa198a24735fb5814390a7f
Platform, Operating System, and Programming Language

OS: Windows 11 and MacOS 12.5 and iOS 15.2
Programming language: Javascript in Browser
Browser: Works on Chrome, Edge (mobile and Desktop) and Safari (only Desktop)

Additional context

On iOS Safari I get the message "Format MP3 could not be played by MSE, streaming playback is not enabled."
The example on the Azure example page for text-to-speech works just fine. This also outputs the "Format MP3 could not be played by MSE" console log

Thanks for your help and let me know if you have any ideas what can be changed on the code to make it work. It is specifally confusing, because the Azure demo website works just fine.

@TobiasG95 Thanks for using Speech SDK, and writing this issue up. I was actually not able to get audio output on any iOS browser using your code sample. Using this code sample, however, I can get audio output on iOS browsers.
I will test again today and see if the difference is using speakTextAsync() vs speakSsmlAsync(), but I think the idiosyncratic iOS restrictions on autoplaying media (see this SO answer) could be the cause of this issue.
Tagging @yulin-li, in case he can add insight here.

@TobiasG95 I was able to get audio output by modifying the speakSsmlAsync call like this:
        azureSynth.speakSsmlAsync(
            '<speak xmlns="http://www.w3.org/2001/10/synthesis" xmlns:mstts="http://www.w3.org/2001/mstts" xmlns:emo="http://www.w3.org/2009/10/emotionml" version="1.0" xml:lang="en-US"><voice name="en-US-JennyNeural"><prosody rate="0%" pitch="0%">You can replace this text with any text you wish. You can either write in this text box or paste your own text here.\n' +
            '\n' +
            'Try different languages and voices. Change the speed and the pitch of the voice. You can even tweak the SSML (Speech Synthesis Markup Language) to control how the different sections of the text sound. Click on SSML above to give it a try!\n' +
            '\n' +
            'Enjoy using Text to Speech!</prosody></voice></speak>',
            function (result) {
                window.console.log("success", result);
                azureSynth.close();
                azureSynth = undefined;
            },
            function (err) {
                window.console.log("Error", err);
                azureSynth.close();
                azureSynth = undefined;
            });

Let me know if that works for you.

@glharper Thanks for your quick response.
I just tried your proposed fix and it worked! It seems that not calling azureSynth.close(); was my mistake, correct? Weird that it is working on Android and Desktop, but not on mobile iOS.
When not using a button and click() event, I still have some problems on iOS but that is almost certainly because on the restrictions on autoplaying media that you mentioned.
Thank you again for your help. Azure Text to Speech is a great addition to our app.


Port etcd-operator to Rancher

Port CoreOS etcd-operator to Rancher orchestration platform. This will enable fully autonomous etcd clusters that self-heal, even in disaster situations such as majority member failure.

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


FAQ

Hey @bollian, I have a few questions I think would come under an FAQ.

Why did you create a grammar for OpenSCAD?
Is this grammar complete against the grammar specification? I've had a quick look and it seems good.

I'm personally looking to use this library to create an LSP/formatter for vscode using Topiary because the current openscad plugins I use have really poor formatting. I assume it's possible with these tools together.
Thank you for putting the grammar together.

The original intent behind this parser was to create a language server and to support editor syntax highlighting in tree-sitter-enabled code editors. The first of those has pretty much already happened in the form of https://github.com/Leathong/openscad-LSP, and the second of those has happened to some extent, but not yet to the extent I'm happy with. In the future, I would like to put together the PRs to add this parser to the editors I know about, especially neovim since it's what I use. Stretch goal would be an incremental renderer integrated into a language server, but that's just a pipe dream :).
I actually wasn't aware of that grammar specification you've linked, so thanks for that! And yes, even the names of things in that seem to mostly align with how I've described things in this grammar. While I know there are bugs in this parser (see issue #13), I'm pretty sure we're talking about 1% of cases. It's absolutely the goal to be able to parse 100% of syntactically valid OpenSCAD code in the wild. PRs are welcome and encouraged!
As for your goal of an LSP/formatter, I would really recommend taking a look at that language server I linked earlier. It's certainly a young project, but they've created their own VSCode plugin and I use it with neovim, so it'll be the project that inevitably gets the most attention.

Those goals sound great!
@bollian Is renaming the expressions in this grammar to the specification something that should be done?
I've been using the LSP but not happy with the formatting so I think I'll still pursue a formatter.


[WIP] try to make top/left of window dispatch events on updates

tentative fix for #6132 , but doesn't seem to work

What's the status of this?

@matham  did some changes tested with window_sdl2 on osx and It works as expected.


Deserialize keys of terms agg buckets

Codecov Report

Merging #42 (03b5e70) into master (84ce962) will decrease coverage by 13.18%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           master      #42       +/-   ##
===========================================
- Coverage   76.58%   63.39%   -13.19%
===========================================
  Files          49       49
  Lines        4347     4352        +5
  Branches      553      553
===========================================
- Hits         3329     2759      -570
- Misses        791     1403      +612
+ Partials      227      190       -37

Impacted Files
Coverage Δ

...mmonMain/kotlin/dev/evo/elasticmagic/aggs/Terms.kt
90.33% <100.00%> (+0.23%)
:arrow_up:

.../evo/elasticmagic/compile/UpdateMappingCompiler.kt
0.00% <0.00%> (-96.67%)
:arrow_down:

...otlin/dev/evo/elasticmagic/compile/BulkCompiler.kt
0.00% <0.00%> (-92.43%)
:arrow_down:

...otlin/dev/evo/elasticmagic/ElasticsearchCluster.kt
0.87% <0.00%> (-89.48%)
:arrow_down:

...c/commonMain/kotlin/dev/evo/elasticmagic/Result.kt
9.72% <0.00%> (-88.89%)
:arrow_down:

...ev/evo/elasticmagic/compile/CreateIndexCompiler.kt
0.00% <0.00%> (-81.40%)
:arrow_down:

...onMain/kotlin/dev/evo/elasticmagic/query/Nested.kt
0.00% <0.00%> (-76.48%)
:arrow_down:

...lin/dev/evo/elasticmagic/compile/ActionCompiler.kt
0.00% <0.00%> (-58.34%)
:arrow_down:

...onMain/kotlin/dev/evo/elasticmagic/bulk/Actions.kt
0.00% <0.00%> (-47.83%)
:arrow_down:

...ev/evo/elasticmagic/compile/SearchQueryCompiler.kt
56.77% <0.00%> (-36.13%)
:arrow_down:

... and 17 more

Continue to review full report at Codecov.

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


Setting mining address

I see that sia wallet creates new address for mining endlessly.
I would like to set fixed mining address at wallet launch.
This is mandatory thing to accomplish if I try to run two mining server.
Can you please implement it?

Any idea??

you can use any of prev. addresses, it work always.
There is no option to set address. It generates automatically.

Version 1.3.1 is going to reuse the same address until you explicitly request a new one.  I'm going to recommend they close this issue since I think it's already implemented, just waiting for the release.
Recommendation to devs: close.


Running on Raspbian Lite Legacy (Buster)

Hello,
I'm trying to leverage this base image on my raspberry pi 4 which is currently running the 32bit version of raspbian (armhf), which from my understanding is equivalent to armv7. When launching the container, it seems to execute until it tries to start xvnc, at which point the container crashes with error code 132, which from what I can find, is an incompatible architecture error. Has anyone had any success running this on a raspberry pi? This seems to execute just fine on amd64. Unfortunately I do not have any arm64 devices to test on at the moment.

Do you have the result with other images (Ubuntu, Alpine, ...) ?

Sparing you the wall of text, both alpine-3.15-v4.1.2 and ubuntu-20.04-v4.1.2 have the same result. loads until it attempts to start xvnc, then failed. running echo $? states the exit code is 132.
also double checked my architecture:
dpkg --print-architecture
armhf
I ran them again with CONTAINER_DEBUG set to 1, and it looks like we only get 1 additional line of relevant output.
[supervisor  ] all services loaded.
[supervisor  ] starting services...
[supervisor  ] starting service 'xvnc'...
[supervisor  ] started service 'xvnc'.

What is the output of uname -a ?
Also, can you try to login to the container:
docker run --rm -ti jlesage/baseimage-gui:debian-10-v4 bash

And then manually run xvnc:
/opt/base/bin/Xvnc

uname -a returns:
Linux 3dprint 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux
This is the pi I use to run my 3d printer, and I believe I used mainsailos, which is built upon raspbian lite 32bit. (https://docs.mainsail.xyz/setup/mainsail-os)
running the container in interactive mode with bash, and launching Xvnc appears to work as expected. Perhaps this is just a problem with the custom os provided by mainsail. If all else fails, I'll just rebuild this using a standard raspbian image and running mainsail myself without whatever customizations they included.

It's very strange that Xvnc is running fine when launched manually.  So maybe it's the process supervisor that is crashing...
Is Docker itself up-to-date ?  And the OS ?

Debian 10, but all packages are up to date.
Docker version 20.10.21, build baeda1f

As a bit of additional research, I was able to replicate the problem with a fresh install of mainsailos via the raspberry pi imager utility, and a fresh install of raspbian lite (legacy). mainsail is build upon raspbian lite legacy, which is the debian 10 build.
The Debian 11 version of raspbian lite did work fine, as you also found. I am going to try upgrading from debian 10 to 11 and see if that resolves the problem.
In every case, I am using the officially supported docker repo, with the install instructions documented: https://docs.docker.com/engine/install/debian/

Thanks for the details.  I will have to try to replicate with Rasbian (Debian 10).  The difference might be the kernel...
Do you still have a device with Debian 10 installed ? If yes, I would be curious to know if issue is also seen with:
docker run --rm jlesage/baseimage:debian-10-v3

I do, I also found my spare raspberry pi 3b, so I can do additional testing on that as needed. Didn't want to risk that upgrade :)
Here is the output from the run of baseimage:debian-10-v3. Same result, but on 'app' instead of 'xvnc'

I was able to reproduce and found the cause of the issue:  getting time via clock_gettime(CLOCK_MONOTONIC) was failing with Operation not permitted.  This seems to be a common problem with Raspberry Pi when this function is invoked in a Docker container with an "old" version of libseccomp2.

A fix is on its way.

Can you confirm the latest image works for you ?

Can confirm, it appears to be working now. Thanks!


Set LastActiveAtEpochNumber on validator entry in connect block

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

feature/proof-of-stake

PR #969

PR #970

PR #971   👈

This stack of pull requests is managed by Graphite.


Not published on npm

Hi there, I was interested in using v2 and v3 but they are not published on npm. Will they be published?

Thank you. I did not realize that there was a different NPM package name! 😊

From: Emily Taylor<EMAIL_ADDRESS>Sent: Tuesday, October 9, 2018 4:23 PM
To: emilol/angular-crumbs
Cc: Antoine Pham; Author
Subject: Re: [emilol/angular-crumbs] Not published on npm (#16)
Hi - are you looking at angular2-crumbs or angular-crumbs? The latter is the package for Angular 4 and up.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Femilol%2Fangular-crumbs%2Fissues%2F16%23issuecomment-428386079&data=02|01||42b50903deb240b349db08d62e3e2c7a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636747241891228089&sdata=NqeUZQ9gcn0Rr3tmom8z8ehrXPjvILAkPA54lW9fhVk%3D&reserved=0, or mute the threadhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHDm5KWfmYc7MjJL9iXA9bSt0hx8M8Dkks5ujS_cgaJpZM4XT_G7&data=02|01||42b50903deb240b349db08d62e3e2c7a|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636747241891228089&sdata=V%2FYmxmI8jFuKT8onDhs%2BultiVd4dfTppZHKxW6C7S8o%3D&reserved=0.

No worries, and thanks for asking! I've added a warning to the older package to help people out in the future.


Updated UI style, new icon, other tweaks

Hi,
First up, thanks for making this app!
Changes I've made in this fork:

Updated icon to use the Google Assistant logo (below)
Update the UI style to match Google's Assistant (below)

Cards now use a title and subtext format
Accessibility and Allo required cards show icons
The card mentioning setting the assist app now goes straight to the settings screen to set the default Assist app when tapped

About menu item (currently goes to Github when tapped, can be changed)
Other tidying: Gradle and other dependencies have been updated, testing modules have been removed for now, README slightly changed

– Seb

Thank you for this! Looks awesome. I ll merge it soon and try to compile a 1.1 release.

@sebj , Gonna update your fork if thats ok with you
https://github.com/arunkumar9t2/allistant/issues/4 : More info

@CDAGaming Sounds good to me (thanks), although creates a bit of confusion with pull requests here. @arunkumar9t2 could merge soon (I hope!)

@sebj, Hopefully and there is one last thing I'd like to add which is an Android keystone to make release apk's instead of debug apk. Main reason is that the realease apk's are supposed to be more optimized during compiling in android studio. However to do so, I'd need info to put into it from the OP

@sebj, there's only been one known issue with the app as of now where it takes a few seconds for Allistant to go into the Google assistant conversation. The release optimizations might speed up the times, possibly

@CDAGaming Generally, Android keystores should not be included in public repositories as it's a pretty big security risk (1, 2, etc), although there's nothing stopping you from building and seeing if the release build is any faster for you locally. I'm unsure how much of a speed boost you're likely to see, but worth a try.

@sebj I have finally merged the changes - took really long enough, sorry. I plan to add some new features targeting 25 and then release version 1.1.

Awesome! Thanks for merging! 🙂
On Tue, Jan 24, 2017 at 11:50 PM +0000, "Arunkumar"<EMAIL_ADDRESS>wrote:
@sebj I have finally merged the changes - took really long enough, sorry. I plan to add some new features targeting 25 and then release version 1.1.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@arunkumar9t2 My Pull Request was with @sebj Features here, and Updating all dependencies up to their latest versions(As of January 2016)as they were very outdated on this pull request & Support for Android Nougat. I may have to re-update the dependencies but you should be able to merge mine soon


ObjectDB: Problem with dirty state / saving of Object hierarchies

OrientDB v1.7.3
Considering the following 3-level object hierarchy and (shortened) algorithm:

Class A with a property of List<B> stored as LINKEDLIST
Class B with a property of List<C> stored as LINKEDLIST
Class C

 1  A a = db.query( ..."SELECT FROM A WHERE key='a1' ... );
 2  BigDecimal sum = BigDecimal.ZERO;
 3  for ( B b: a.getList() ) {
 4      for ( C c: b.getList() ) {
 5          c.setValue( ... some value ... );
 6          sum = sum.add( c.getAmount() );
 7      }
 8  }
 9  a.setTotal(sum);
10  db.save(a);

As of OrientDB v1.7-rc2 the change to the lowest level elements in line 5 would cause the affected C to become dirty as well as its parent B and A. Therefore the save() operation at the end would store the whole object tree into the database.
In contrast, as of OrientDB v1.7.3 the dirty state does not get propagated from C to its parent B anymore. Therefore the save() operation at the end would only store the A which became dirty in line 9. This causes a loss of all changes applied to the Cs.
Note that the saveOnlyDirty flag of the database connection is set to false in both cases/versions.
Question:
Is this change in behaviour intended and do we need to adapt our program to be able to migrate to OrientDB 1.7.3, e.g. by setting the Bs manually to 'dirty'?
Or is this a bug/regression that will be fixed eventually?

this is a really old bug, but the dirty management has been changed i 2.2.x so this bug is not valid anymore.
Now all the graph of references is saved when on of it's element is saved.


Page becomes unreachable after a period of time

I've been working on an app which uses the default service-worker but after sometime if the page is left open it will stop working showing a "Page unreachable" error until you do a hard refresh, close the tab and open a new one or until you clear the service worker cache. I've got Okta authentication implemented on my app, and when this happens I get the following error:
"Access to fetch at 'MyOktaAuthURL' (redirected from 'MySiteURL/index.html?WB_REVISION=xxxx') from origin 'MysiteUrl' has been blocked by CORS policy"
And the following error comes from the service-worker script: "Uncaught (in promise) TypeError: Failed to fetch"
Had anyone had a problem like this before?
Thanks!

I don't know if it is related, but the CRA 4 does not provide any more service worker, you need to add it manually or use the CRA template. You can do this like here:
https://github.com/facebook/create-react-app/issues/10032

@a-tonchev I'm not sure which CRA version was used to create this project, but the service worker do generates and I can see it on my app, and on the console I can see errors coming from it.


Package does not work with Arrays on 1.11

Equality functions do not work for arrays on 1.11 due to the new Memory implementation of Array.
Here is a MWE:
julia> x = [1, 2, 3]
3-element Vector{Int64}:
 1
 2
 3

julia> y = [1, 2, 3]
3-element Vector{Int64}:
 1
 2
 3

julia> struct_isapprox(x, y)
false

(which returned true on 1.10)

thanks for pointing this out.
what would you suggest how to deal with it?
sounds to me like the change in behaviour is okay and the implementation of struct_isapprox should rather stay as simple as it is now


Change color blue to white Deno

@castrogarciajs I think making a PR to change the color of an icon would warrant some reasoning?

Hello Miguel, how are you? What a pity for you, friend, but I think that the white color in the deno icon goes more to the design of the company logo, it was just a proposal on the air but in the end you have the last word, Thank you.


MIssing /rules/{ruleId}/content endpoint in openapi.json

endpoints.go has that endpoint in https://github.com/RedHatInsights/insights-results-smart-proxy/blob/master/server/endpoints.go#L36 but openapi.json missing it.

As part of the developing of a new endpoint I need to update the openapi.json, so probably I will add this endpoint to the spec too

Already updated in https://github.com/RedHatInsights/insights-results-smart-proxy/pull/153

https://github.com/RedHatInsights/insights-results-smart-proxy/blob/a6b594536686c0109d1b4b7468686fee0c42d3d5/openapi.json#L870


Assert service and plan catalog names are CLI-friendly

Motivation
Service Manager does not validate the broker catalog (as per OSB-spec) when a broker is registered. Currently only general checks are performed.
This results in broker registration failures in the respective platforms that already validate.
The names must be "CLI-friendly" as described in the OSB spec https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#body
Approach
Match service and plan names with regex for CLI-friendly names as part of the validation and return error if not matched.

Coverage decreased (-0.03%) to 89.305% when pulling 8a4fce410aad45a81b57d921c8cdc4b5bce7d210 on catalog-cli-friendly-names into 0870f60a8918cee20b10ec80efb128876b6f8fba on master.

We must clarify if this approach is desired and if it is desired for broker names as well.

This is no longer needed since Service Catalog addressed this issue.


Introduce invariants in the fungible module

Original
This checks is valid but we should think about going further: this is an invariant that should never occur, if it occur it mean something wrong is with the blockchain like ability to mint the ZRC20 in the module

In the future we should look into adding an invariant: https://docs.cosmos.network/v0.46/building-modules/invariants.html

erc20Balance >= minted ZRC20 Cosmos coin

Originally posted by @lumtis in https://github.com/zeta-chain/node/pull/2860#discussion_r1755873170
Context
With the introduction of the bank precompile now an arbitrary EOA has the ability to mint cosmos coins by depositting ZRC20 into the bank precompile. There are multiple checks that prevent infinite minting/deposits/withdraw, and in order to extend the security mechanism this is a good use case to introduce invariants.
Goal
Introduce invariants in the fungible module to prevent from attacks and issues related to minting and burning cosmos coins.
An obvious check would be ZRC20 balance >= cosmos coins minted, as if there are more cosmos coin minted than the entire ZRC20 supply there's a problem that would require to stop minting tokens and revert the problem.

Consider initially adding a notification through an event or a simple logline before adding the invariant.
Invariant, when broken, might lead to a chain halt. We can easily more the logic into an invarient check after a few iterations


Nfdiv 3628 update solicitor apply for fo

Change description
Enter a description.
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/NFDIV-
Pull request checklist
Before raising

[ ] tests have been updated / new tests has been added (if needed)
[ ] README and other documentation has been updated / added (if needed)

Before merging

[ ] this ticket been reviewed by QA
[ ] the user story been signed off by the PO

Note: Bug fixes, dependency updates and technical tasks do not directly impact the user experience and can be merged without QA and PO review.

closing as the work is duplicated here: https://github.com/hmcts/nfdiv-case-api/pull/3195


ReferenceError: Strict mode forbids implicit creation of global property 'api'

This error is raised within some browsers (Safari, phantomJS tested) when trying to include FileApi.js, and in this case the error is because the following line (281) of file src/FileApi.js:
281    api = {
282       version: '2.0.7',
284       cors: false,
.....

Also see some doc about this error regarding Strict mode: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode

As commented in #1191 the issue was present only in previous version (9.1), and after a set of tests with the latest version, it is not reproducible, and everything works as usual.
So I close the Issue.
Thanks!


Changing the check to allow rules with the same name to use different…

… protocols
Some rules need to be added in tcp and udp, this change makes the check for existing rules more specific in that regard

Just ran into this exact issue with Node.js where I wanted to allow both TCP and UDP inbound.

@SplinterHead  If you want to rebase this to the current codebase it would be nice to get this one in.

I'm going to close this out since we never heard back from the author. If you're still interesting in this change please open a new PR that's been rebased.


Please push a new release to gradle/maven

The latest version published is the 1.0.0 from November, 2022.

The project is released directly to maven central. And basically there are no fixes or new added features from latest release. So i will close this bug.
Thanks a lot for your interest in the project.
Andrea.

Yes at least we can release a new minor version since some modification on internal architecture were made.

A new release 1.0.1 is available.


How to skip 1 sheet from worksheet while using reader.asdataset?

How to skip 1 sheet from worksheet while using reader.asdataset?
Example
I have 1 excel file like below
Sheet1
Sheet2
Sheet3
Sheet4
Sheet5
Sheet6
Sheet7
Sheet8
i want to take this excel in dataset but want to skip sheet1 and sheet7 then what to do?

Have you looked at ExcelDataSetConfiguration.FilterSheet?
https://github.com/ExcelDataReader/ExcelDataReader?tab=readme-ov-file#asdataset-configuration-options


Update links and books in Data Structures and Algorithms

Grokking Algorithm book (An illustrated guide for programmers and other curious people)
freecodecamp blog link which explains common Data Structures with Videos.

Thank you @mehul-m-prajapati for sharing resources. We look forward for your more contributions!

Sure, sir. I just noticed about this repo from Slack messages of GDG Ahmedabad.
I will contribute to it.


Added "oh god why" face

It's been coming up a lot recently.
Example: http://i.imgur.com/rlXRJ.png

Added in git 8cfc6854480de8826378e3da1b83d373e2eafe90.


V2

Breaking Changes

Remove Phoenix socket functionality, it is moved to guardian_phoenix package

Seems like pulling out phoenix is reasonable, but I still think there is some value in the helper functions in socket. Would it somehow make sense to keep these to avoid having people using the sockets, implement this them self? I am not sure how this would be achieved though :confused:

@Hanspagh I'm not familiar with using sockets outside of Phoenix, when/why would you need that?

Codecov Report

Merging #564 into master will decrease coverage by 0.53%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #564      +/-   ##
==========================================
- Coverage   85.51%   84.97%   -0.54%
==========================================
  Files          18       17       -1
  Lines         421      406      -15
==========================================
- Hits          360      345      -15
  Misses         61       61

Impacted Files
Coverage Δ

lib/guardian/token/jwt/verify.ex
87.5% <0%> (-12.5%)
:arrow_down:

Continue to review full report at Codecov.

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

@doomspork I was still thinking sockets within phoenix, but my thought was that everybody would need the helper functions when working with the phoenix sockets, so it would be nice to have them somewhere, maybe in a guide or a utility library.

@Hanspagh all of the Phoenix functionality is moving into guardian_phoenix, so folks will still have access to them. We'll update the guides to reflect the new package.

@doomspork I completely missed that, my apologies. The above can just be ignored 😊

No worries @Hanspagh! Glad we're on the same page 😁


Added Keys and rooms for entry

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Added Keys and rooms for entry
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#6182

@HarshCasper Sir please review the pr and let me know if any changes are required.


Add some debug logging

Use logrus for logging.
I'm just using warns and debugs here since I'm not sure what the
plan is for error handling, so rather than mix in error messages
with the existing error handling, I'll let that be a thing to figure
out later.
There are a few extra minor fixes and tweaks in this PR now,
see commit messages for explanations.

Code coverage report is informational only, tests and acceptance tests are passing, so maybe that's good enough for a fast merge. :sweat_smile:


[WIP] Split daemonset & manager SA

At the moment the same SA is used both by the operator and the DS.
The purpose of this PR is to split them and make sure each has the necessary permissions.

as a first step I'm attempting just to split up the SA while each still have all the permissions (both SA are still connected to the same role).

PP not maintained


[WIP] chore(hierarchical-dependency-injection): Subscriber -> Observer

WIP - Do not merge until the question below has been answered
Current heroes.service.ts code in the form of
new Observable<Hero[]>((subscriber: Subscriber<Hero[]>) => {...}); // (1)

That conforms to the type of the parameter for Observable constructor.
But it appears that Subscriber isn't supposed to be used in "public API"
and that the conventional thing to do (which works also) is to write.
new Observable<Hero[]>((observer: Observer<Hero[]>) => {...}); // (2)

I have asked those who know which is the preferred style ... (1) or (2) ... and if (2 ... as this PR would do), why is the arg to the ctor (and to the create method) typed as Subscriber?

The question was answered (Paul Taylor) and the observer is preferred.


Loading a layer that uses weights from another layer

Hi,
I want to implement a layer that uses the weights from another layer.
I was trying to implement the tied embeddings from Press and Wolf, but this issue also applies to other models (e.g. tied autoencoders).
In my case, I want a seq2seq model using the same word embeddings in the input and output. The Embedding input layer has the dimensionsV(input) and H (output). I want my output layer to be the same, but transposed (from H to V). Something like this (red connections denote shared weights):

I implemented it via a shared layers. My input is a shared Embedding layer. And I defined a TiedEmbeddingsTransposed layer, which transposes the embedding matrix from a given layer (and applies an activation function):
class TiedEmbeddingsTransposed(Layer):
    """Layer for tying embeddings in an output layer.
    A regular embedding layer has the shape: V x H (V: size of the vocabulary. H: size of the projected space).
    In this layer, we'll go: H x V.
    With the same weights than the regular embedding.
    In addition, it may have an activation.
    # References
        - [ Using the Output Embedding to Improve Language Models](https://arxiv.org/abs/1608.05859)
    """

    def __init__(self, tied_to=None,
                 activation=None,
                 **kwargs):
        super(TiedEmbeddingsTransposed, self).__init__(**kwargs)
        self.tied_to = tied_to
        self.activation = activations.get(activation)

    def build(self, input_shape):
        self.transposed_weights = K.transpose(self.tied_to.weights[0])
        self.built = True

    def compute_mask(self, inputs, mask=None):
        return mask

    def compute_output_shape(self, input_shape):
        return input_shape[0], K.int_shape(self.tied_to.weights[0])[0]

    def call(self, inputs, mask=None):
        output = K.dot(inputs, self.transposed_weights)
        if self.activation is not None:
            output = self.activation(output)
        return output

    def get_config(self):
        config = {'activation': activations.serialize(self.activation)
                  }
        base_config = super(TiedEmbeddingsTransposed, self).get_config()
        return dict(list(base_config.items()) + list(config.items()))

The usage of this layer is something like this:
# Declare the shared embedding layer
shared_embedding_layer = Embedding(V, H)
# Obtain word embeddings
word_embedding = shared_embedding_layer(input)
# Do stuff with your model
# Compute output (e.g. a vocabulary-size probability vector) with the shared layer:
output = TimeDistributed(TiedEmbeddingsTransposed(tied_to=shared_embedding_layer, activation='softmax')(intermediate_rep)

I have tested this and it trains properly. But, as I try to load a trained model, it gets an error, related to the way Keras loads the models: it doesn't load the weights from the tied_to layer. I tried different ways for accessing the tied_to layer weights and saving it, but no one seems to work, I've found several questions regarding this, related to autoencoders (1, 2, 3), but it seems no one has managed to solve this issue. Maybe this shared-layer approach is not the way to go. I'd be glad to hear some ideas/criticisms from the Keras' community for addressing this issue :)
Thanks and cheers!

Hi,
this is the same error I faced. Unfortunately, I haven't found a solution to this yet :(

Hi, I've found a similar issue that may help you.
#5060
The problem I had with your custom layer was that the tied_to layer wasn't being passed on to the saved model. I think that is the reason why AttributeError was thrown after load_model().
I've reimplemented the code for my own purpose but it also has some problem. For instance, when I try to save the model, pickle error occurs. I think it must be related to the issue with get_config() passing other_layer by deepcopy.
As a workaround, I didn't save the model but just ran the inference right after training. For some strange reason, the performance didn't really improve for simple lanuage modeling code. Nonetheless, I hope you find this helpful. Thanks.
from keras import backend as K
from keras.layers import Layer, Dense
import keras.activations as activations
from keras.engine.base_layer import InputSpec

class DenseTranspose(Dense):
    def __init__(self, other_layer=None, activation=None, **kwargs):
        super().__init__(other_layer.input_dim, **kwargs)
        self.other_layer = other_layer
        self.activation = activations.get(activation)

    def build(self, input_shape):
        assert len(input_shape) >= 2
        input_dim = input_shape[-1]
        self.input_dim = input_dim
        self.input_spec = [InputSpec(dtype=K.floatx(), ndim='2+')]

        self.kernel = K.transpose(self.other_layer.get_weights()[0])

        if self.use_bias:
            self.bias = self.add_weight((self.units,),
                                     initializer=self.bias_initializer,
                                     name='bias',
                                     regularizer=self.bias_regularizer,
                                     constraint=self.bias_constraint)
        else:
            self.bias = None

        self.built = True

    def get_config(self):
        config = {'activation': activations.serialize(self.activation),
                  'other_layer': self.other_layer
                 }
        base_config = super(DenseTranspose, self).get_config()
        return dict(list(base_config.items()) + list(config.items()))

any update on this? how to load a model which has dense_tied layer, like the things we do in autoencoder to share the weight between encoder and decoder?

This still seems to be an issue. Did anyone get this to work? I don't get an exception when I try this but after loading the model the accuracy is super low


feat(Table): add removeableSort prop to table to allow removing of all sorting

fixes #300

Can we not just do this behaviour by default unless it's the attribute specified in the sort prop?

Do you mean always have the ability to unsort a column? Im not sure what the attribute in the sort prop would be?

Also, there is a lot of formatting diff in your PR, could you revert them?

Ah ye i was getting errors if i didn't format it such as this

And i think the build showed the same errors? Do you use VSCode with format on save or?

The sort attribute allows to define a default sort. Yes we could always say for non-default columns that the third click unselects it I guess.

Sorry but there were way too many changes in your PR to be reviewable. Closing in favor of https://github.com/nuxtlabs/ui/commit/1ff11ac1a3eff537a4ee854a049668f312f1d415


Missing distro ascii: GalliumOS

GalliumOS is a Ubuntu based distro targetting chromebooks/chromeos devices
See https://github.com/GalliumOS, https://galliumos.org/
I have tested neofetch on my GalliumOS device, it is recognised as a Linux Distro, and the contents report "GalliumOS" as parsed from /etc/lsb-release.
All that is needed is some ascii art, unfortunately I really suck at ASCII art, I did give it a go but I am sure someone else could do a better job. The logo can be found on the project site or at https://github.com/GalliumOS/galliumos-distro.

How do these look?
Which one do you prefer?

Looks great, I think I prefer the second one (looks more rounded in the middle), Great job @dylanaraps

When I'm back on my main pc I'll push this to master.

Done.


Clean Up Babel Presets

Remove the es2015 preset and use the env preset (or just the react one). In any event, the es2015 preset is deprecated, so drop that ish.

This has been resolved, along with minor formatting issues here: https://github.com/yuschick/TickTock/commit/f8043abafc56de11fd8ae0610885fce660f1a4e8


DOC: Add autosummary templates and update docstrings for code

Change Summary
This adds the ability to autosummarize the code modules we are using for easier API documentation. We also follow numpydoc conventions, so we now install that to get nicer formatting of the API docs.
New Dependencies
numpydoc
New Files

autosummary.rst

This adds all the autuosummarized modules to toctrees so that they can be referenced elsewhere. Otherwise we get warnings in the doc builds.

Updated Files
Updated docstrings for several of the modules to follow numpydoc conventions and render better.
Testing
I've added SPHINXOPTS="-W --keep-going -n" to our documentation build so that we will get warnings/failures when documentation warnings crop up and we can flag them right away.

Merging to get CI working again.


[BUG] Ktorm no longer supports Postgresql DO NOTHING

Hello @vincentlauvlwj
I remember we implemented this feature in this PR.
In the feature of this commit, it was possible to do something like:
      database.bulkInsert(Employees) {
          item {
              set(it.id, 1)
              set(it.name, "vince")
              set(it.job, "engineer")
              set(it.salary, 1000)
              set(it.hireDate, LocalDate.now())
              set(it.departmentId, 1)
          }
          item {
              set(it.id, 5)
              set(it.name, "vince")
              set(it.job, "engineer")
              set(it.salary, 1000)
              set(it.hireDate, LocalDate.now())
              set(it.departmentId, 1)
          }

          onDuplicateKey(Employees.id) {
              // I am leaving this intentionally empty, so Postgresql will ignore this error and proceed inserting the others
             // INSERT INTO ... ON CONFLICT (employee_id) DO NOTHING
          }
      }

This behavior was tested in ktorm-support-postgresql/src/test/kotlin/org/ktorm/support/postgresql/PostgreSqlTest.kt function testBulkInsertWithUpdate. And implemented here.
This is the visitor function as you have it now:
   protected open fun visitInsertOrUpdate(expr: InsertOrUpdateExpression): InsertOrUpdateExpression {
        writeKeyword("insert into ")
        visitTable(expr.table)
        writeInsertColumnNames(expr.assignments.map { it.column })
        writeKeyword("values ")
        writeInsertValues(expr.assignments)

        if (expr.updateAssignments.isNotEmpty()) {
            writeKeyword("on conflict ")
            writeInsertColumnNames(expr.conflictColumns)
            writeKeyword("do update set ")
            visitColumnAssignments(expr.updateAssignments)
        }

        return expr
    }

This is how it should be in order to support the DO NOTHING feature that Postgresql provides, as we did in that PR:
    protected open fun visitInsertOrUpdate(expr: InsertOrUpdateExpression): InsertOrUpdateExpression {
        writeKeyword("insert into ")
        visitTable(expr.table)
        writeInsertColumnNames(expr.assignments.map { it.column })
        writeKeyword("values ")
        writeInsertValues(expr.assignments)

        if (expr.conflictColumns.isNotEmpty()) {
            writeKeyword("on conflict ")
            writeInsertColumnNames(expr.conflictColumns)

            if (expr.updateAssignments.isNotEmpty()) {
                writeKeyword("do update set ")
                visitColumnAssignments(expr.updateAssignments)
            } else {
                writeKeyword("do nothing ")
            }
        }

        return expr
    }

Also, not forgetting now about the returning feature as well, so the final function for 3.4.0 would actually be:
    protected open fun visitInsertOrUpdate(expr: InsertOrUpdateExpression): InsertOrUpdateExpression {
        writeKeyword("insert into ")
        visitTable(expr.table)
        writeInsertColumnNames(expr.assignments.map { it.column })
        writeKeyword("values ")
        writeInsertValues(expr.assignments)

        if (expr.conflictColumns.isNotEmpty()) {
            writeKeyword("on conflict ")
            writeInsertColumnNames(expr.conflictColumns)

            if (expr.updateAssignments.isNotEmpty()) {
                writeKeyword("do update set ")
                visitColumnAssignments(expr.updateAssignments)
            } else {
                writeKeyword("do nothing ")
            }
        }

        if (expr.returningColumns.isNotEmpty()) {
            writeKeyword(" returning ")
            expr.returningColumns.forEachIndexed { i, column ->
                if (i > 0) write(", ")
                checkColumnName(column.name)
                write(column.name.quoted)
            }
        }

        return expr
    }

Please can you fix this here and on the other Postgresql dialect functions where the DO NOTHING feature got removed?
I think it is only the visitBulkInsert function that needs this fix as well. Also the test that tested this feature (linked above) should be recovered as well.
PS. It doesn't seem like it, but this is an important feature which I see no reason to forbid Ktorm users from using it. As it is now, the user is always forced to unnecessarily update one column in order to get conflict errors ignored. This is not ideal in terms of performance.

I'm sorry for making this change without letting you know.
This is because of a bug that I found in your PR. If I called the onConflictKey function without specifying the conflict columns, then the on conflict clause would be missed in the generated SQL. For example:
database.bulkInsert(Employees) {
    item {
        set(it.id, 1)
        set(it.name, "vince")
        set(it.job, "engineer")
        set(it.salary, 1000)
        set(it.hireDate, LocalDate.now())
        set(it.departmentId, 1)
    }
    onDuplicateKey {
        set(it.salary, it.salary + 900)
    }
}

The generated SQL would be the following, without on conflict clause:
insert into t_employee (id, name, job, salary, hire_date, department_id) values ( ?, ?, ?, ?, ?, ? )

To fix this bug, I had to use the primary keys as the conflict targets if they weren't specified:
conflictTarget = builder.conflictColumns.ifEmpty { table.primaryKeys }.map { it.asExpression() }

But after I did this, I found another problem that on conflict do nothing would be always generated even if we didn't call onDuplicateKey. For code like this:
database.bulkInsert(Employees) {
    item {
        set(it.id, 1)
        set(it.name, "vince")
        set(it.job, "engineer")
        set(it.salary, 1000)
        set(it.hireDate, LocalDate.now())
        set(it.departmentId, 1)
    }
}

The generated SQL would be:
insert into t_employee (id, name, job, salary, hire_date, department_id)
values ( ?, ?, ?, ?, ?, ? ) on conflict (id) do nothing

This was because we were using confictTarget to decide whether to generate the on conflict clause, but conflictTarget are always present as I use the primary keys by default. What a dilemma.
Yes, you are right, this is an important feature, but if it can't be implemented perfectly, I would rather remove it temporarily. When we have a better solution, we can add it back.

@vincentlauvlwj that's a nice catch.
I actually solved this recently in a local copy of Ktorm I was testing with, I did the following way:
If you never call onDuplicateKey, no ON CONFLICT will be generated, ever.
If you call onDuplicateKey without specifying the columns, it will use the primary keys just like you said.
If you call onDuplicateKey with columns, it will use those.
If you call onDuplicateKey without any assignments it will generate the DO NOTHING.
What do you think of this one?

If you call onDuplicateKey without any assignments it will generate the DO NOTHING.

Would it be better to explicitly call a function like doNothing(), for example:
database.bulkInsert(Employees) {
    item {
        set(it.id, 1)
        set(it.name, "vince")
        set(it.job, "engineer")
        set(it.salary, 1000)
        set(it.hireDate, LocalDate.now())
        set(it.departmentId, 1)
    }
    onDuplicateKey {
        doNothing()
    }
}

Supported in 3.4.0


Add delete food functionality

🚩New Implementations
Hi there! @Luffytaro22 👋
Here I detail a summary of the new features that have been implemented in this branch:

[x] Create the HTML code of the Delete button - Foods table
[x] Define the join table's name in the food's model association
[x] Create the destroy action in the FoodsController with the logic to remove a selected food from the database
[x] Add the CSS styles for the Delete buttons

⭐To the code reviewer 👨💻
Please, I kindly ask you to review the entire code and verify that all requirements have been met correctly.
if there is any issue 🦯 in this PR, please do list 📃 them in a descriptive 💡 manner and give your best suggestions 🎁 if needed.

@Luffytaro22 Thank you so much for reviewing my code!


Included instructions to unmount a share.

While there are instructions on mounting a share, I realized that there are no instructions on unmounting a share hence I added that.

@gmantri,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@RenaShahMSFT Please review these proposed contributions. Thanks.

#sign-off


luci-app-ocserv: list users with no group

This was marked as "(none)" which was not caught by the regex.
Signed-off-by: Nikos Mavrogiannopoulos<EMAIL_ADDRESS>

This is also applicable to the for-15.05 branch.


Two builds created for a single image

I created a riff function that in turn creates an image resource. This image resource ended up having two builds created for it:
$ kubectl get images.build.pivotal.io
NAME                    LATESTIMAGE                                                                                READY
square-function-42dl7   index.docker.io/trisberg/square@sha256:cff3dc342ba638814c3c75ae350e7d2ee580791fdbe6d65eafd1f8526a0abc0e   True
$ kubectl get builds.build.pivotal.io
NAME                                  IMAGE                                                                                SUCCEEDED
square-function-42dl7-build-1-c8dr6   index.docker.io/trisberg/square@sha256:cff3dc342ba638814c3c75ae350e7d2ee580791fdbe6d65eafd1f8526a0abc0e   True
square-function-42dl7-build-1-mm7hf   index.docker.io/trisberg/square@sha256:cff3dc342ba638814c3c75ae350e7d2ee580791fdbe6d65eafd1f8526a0abc0e   True
$ kubectl get pods
NAME                                            READY   STATUS        RESTARTS   AGE
square-function-42dl7-build-1-c8dr6-build-pod   0/1     Completed     0          13m
square-function-42dl7-build-1-mm7hf-build-pod   0/1     Completed     0          13m

I've attached the kpack controller log. I'll add comments if I see this happening again.
kpack.log
The kpack version is v0.0.5

This looks like it is a known race condition which we had non observed in the wild, yet.

Happened again today, any progress on this?
default           inventory-api-application-dqvdb-build-1-ns7mp-build-pod   0/1     Init:4/7   0          2m42s
default           inventory-api-application-dqvdb-build-1-zrmqq-build-pod   0/1     Init:4/7   0          2m42s

Hey @trisberg
We haven't had the bandwidth to get around to this just yet. Will bring it tomorrow and get this prioritized.
Thanks for being patient.

https://github.com/pivotal/kpack/pull/847 should resolve this issue.


Add "back" button that will go back to previous menu screen

References #368
At any point in the process of starting agame, the user should be able to click a "back" button to return to the previous selection screen if they want to change settings.

This won't necessarily have an explicit commit associated as I am working on this in conjunction with my other stories, but I am attempting to design the game design widget in a single file and change which canvas overlay is displayed. It seems to work pretty well so far. Anyways, as a result everything is self-contained and I will be able to add back buttons to each canvas that will return to the previously displayed canvas.

I spent half an hour trying to design a modular system where the currently open canvas panel is stored as a variable and whenever a new panel is opened the old current panel is pushed into an array as a reference so that the back button can be dynamic and go back to the last selected widgets. While ultimately this would be a better system, in blueprints it became a convoluted mess and for the scale of this project it is simpler, cleaner, and has less chance of bugs to just manually assign each back button.

This task was finished in conjunction with #378


Fix typo and spurious prompts

Pull Request Description
Fix a typo in Contributing.md and remove spurious $ prompts that break copy/paste
Important Notes
N/A
Checklist
Doc fixes only.

@JPMoresmau, @JaroslavTulach can we resolve this conversation and close this PR?

Converted to draft due to lack of progress.

Converted to draft due to lack of progress.

At least two of us are in favor of (some or $) prefix. @JPMoresmau, do you want to modify this PR to let the documentation use $ (or >) more consistently?

Er, the reason I made the change to remove the prompt character is because it messes up the copy and paste, so this PR has no reason to be if a majority don't want it.


Why do we keep getting an error about "too many open files"?

Every couple of weeks, Flickypedia starts failing with warnings about "too many open files". I'm not sure what's causing it!
Restarting the web worker seems to fix it, but it would be good to understand what the actual cause is and squash it.

I had an initial attempt at fixing it here, but it's unclear if that solved the issue: https://github.com/Flickr-Foundation/flickypedia/pull/384

It fell over again yesterday! It's getting faster.
Note to self: next time it happens, before jumping to restart, the command you want is lsof -p <PID>.

It happened again! But this time I was able to capture lsof output and see that we seem to be opening lots of connections to the queue file, hmm:
lsof.log

I'm going to tentatively close this as done – I think I fixed it in https://github.com/Flickr-Foundation/flickypedia/commit/09364db0b8748b164430894e08e5b39c4311626a and we haven't seen issues since. If we do see issues again, I can open a new ticket.


Enable 2D kernel for morpho math operations and various improvements

This PR brings some improvements to the dilate/erode methods in sct_maths:

ported some of the functions of sct_maths into a new dedicated python module called math
enabled 2D kernel for morpho math operations
redefinition of selem variable in erosion/dilation kernel.
added unit tests for morpho math operations

Fixes #2615

@kousu while doing the refactoring i noticed a limitation. dilate() is currently accepting a numpy array. It implies that when called by other functions, we need to do something like this:
im_in = Image(filein)
im_out = im_in.copy()
im_out.data = dilate(im.data)
im_out.save(fileout)

by having dilate() accept images instead, we could instead do something like this:
im_out = dilate(im_in).save(fileout)

So, I see two options:

have dilate() accept Image objects instead of numpy arrays?
have dilate() accept both Image objects and numpy arrays, and we deal with the input type inside the function (with appropriate object to return)


Sort/Order By?

I'm just trying to use Ferma now (together with OrientDB), and I'm trying to find a way to sort through a result. I think there's a way using the .traverse() method, but the documentation doesn't seem to have almost any examples or information for such a thing.
How can I do that?

Yes you would use .traverse() as follows
framedGraph.traverse(
    (GraphTraversalSource g) -> g.V().order().by("name")
).toList(YourVertex.class);

Note that you do not have to add GraphTraversalSource in a lambda expression, but I added this for clarity. This is a Tinkerpop class and to see the abilities like sorting you should check out the the Tinkerpop documentation: http://tinkerpop.apache.org/docs/3.3.2/reference/
The traverse function is a way to access the graph traversal build in, into Tinkerpop and gives the ability to frame the vertexes and edges to your own classes

@killje Thanks for your help on this. Reach out to me anytime if you'd like to get more involved into the project. Either way, appreciate you responding on this one.


update the input styles

change the style of datepicker icon ,to make it cover the input container ;so that user can not enter the date by keyboard

Do you want to disallow editing for the users?
what about readonly modes or|and allowEditByKeybord like properties?


Error "The handle is already open"

C:\doom\dmon>dmon znato.wad map01 -u
Traceback (most recent call last):
  File "C:\doom\dmon\\dmon.py", line 657, in <module>
    main()
  File "C:\doom\dmon\\dmon.py", line 651, in main
    process_wad(options)
  File "C:\doom\dmon\\dmon.py", line 404, in process_wad
    wad_data = extract_statistics(options)
  File "C:\doom\dmon\\dmon.py", line 161, in extract_statistics
    from omg import omg
  File "C:\doom\dmon\omg\__init__.py", line 30, in <module>
    from omg.wadio import *
  File "C:\doom\dmon\omg\wadio.py", line 81
    raise IOError, "The handle is already open"

Issue is resolved with upgrade of Omgifol


Fixed all the footer links

Fixed the broken footer links on all the pages, the custom footer was rendered on all the pages but the links were not working, replaced it with the long code for footer and changed the links to make it functional.

Please consider it under gssoc'23


Suppress "AutoCompaction" Logs?

Is it possible to suppress the Running AutoCompaction... log line so running something like docker-compose logs -f minecraft doesn't require 12 miles of scrolling to see anything other than Running AutoCompaction... message? :D

I don’t know if a way directly, but it’s definitely annoying. I would suggest opening an issue here
https://bugs.mojang.com/projects/BDS/issues/BDS-5638?filter=allopenissues

I've submitted https://bugs.mojang.com/browse/BDS-5644

Looks like they closed it as "invalid" and redirected to a "put a suggestion into Reddit or a web form" to forever be ignored. That's highly unfortunate. 🙃

Well that's a bummer they marked it invalid. Feel free to post the reddit link here and I'll upvote it.

I never got around to posting anything, but it looks like this might be resolved now anyway? 🙃

Its most definitely not resolved and so.. damn.. annoying.