undefined method `configuration' for RenderAsync:Module (NoMethodError)

I was trying to change configuration to load query instead of Vanilla at application.rb using:
RenderAsync.configuration.jquery = true
But getting this error

Hey @jaswinder97, thanks for submitting the issue.
Did you maybe try other configuration approach?
RenderAsync.configure do |config|
  jquery = true # This will render jQuery code, and skip Vanilla JS code
end

@nikolalsvk Yes I tried it with both ways and also with different versions.

Are you still encountering this issue @jaswinder97? If yes, feel free to post a comment here with more details and I'll reopen the issue.


Type Error after update from next 13.0.3 to 13.0.5 with NextApiResponse

In the latest version of next (13.0.5) they removed the unstable_revalidate function from the NextApiResponse interface.
I became so now a compile error if I use the preview mode of next-drupal, because it has next in version 12 as dependency.
The following code create this error, I think that drupal.preview check this type with the dependency.
import { drupal } from 'lib/drupal';
import type { NextApiRequest, NextApiResponse } from 'next';

export default async function handler(
  request: NextApiRequest,
  response: NextApiResponse
) {
  return drupal.preview(request, response);
}

Argument of type 'import("node_modules/next/dist/shared/lib/utils").NextApiResponse<any>' is not assignable to parameter of type 'import("node_modules/next-drupal/node_modules/next/dist/shared/lib/utils").NextApiResponse<any>'.
  Property 'unstable_revalidate' is missing in type 'ServerResponse<IncomingMessage> & { send: Send<any>; json: Send<any>; status: (statusCode: number) => NextApiResponse<any>; redirect(url: string): NextApiResponse<...>; redirect(status: number, url: string): NextApiResponse<...>; setPreviewData: (data: string | object, options?: { ...; }) => NextApiResponse<...>; cl...' but required in type '{ send: Send<any>; json: Send<any>; status: (statusCode: number) => NextApiResponse<any>; redirect(url: string): NextApiResponse<any>; redirect(status: number, url: string): NextApiResponse<...>; setPreviewData: (data: string | object, options?: { ...; }) => NextApiResponse<...>; clearPreviewData: (options?: { ...; ...'.ts(2345)
utils.d.ts(225, 5): 'unstable_revalidate' is declared here.

I'm working on adding support for Next.js 13 this week. I'll update here when done. Thank you.

Hey @shadcn - that also involves moving this project to react 18, yeah? Excited to hear this is being worked on, I'm running into a few issues that Next 13 has solutions for.
Thanks in advance!

@taskrider2022 @martdavidson I've started working on it. See https://github.com/chapter-three/next-drupal/pull/387
Would you like to help me test it? See the How to test section in the PR.
Thank you

I would love to! I'll bring it into our project and see what happens.

@martdavidson Thanks for your helping testing this. I've merged the PR. This will be in the 1.6.0 release.


Why are there validations when GPP encoding?

Regarding the GPP encoding and decoding, why must the length of bitString be a multiple of 8 first? We recently encountered some GPP strings like DBABzw~1YYNBVQVAAAAAg that don't meet this padding logic but can still be decoded via the IAB GPP Encoder / Decoder.
Could you please share your thoughts on this?
Thanks in advance.
We want to understand why there are validations for fields like mspaServiceProviderMode https://github.com/chuff/iabgpp-java/blob/master/iabgpp-encoder/src/main/java/com/iab/gpp/encoder/segment/UsNatV1CoreSegment.java. We cannot find this validation in the IAB GPP documentation.

We'd appreciate your insights on this matter. Thanks in advance.

@iabmayank @Net-burst @chuff could you please help on this? Thanks in advance!

@chuff Regarding the first point here, is there a reason for the 8 bit length validation here? It doesn't seem to be consistent with the Official IAB GPP Decoder and GPP Specs. Could removal of this validation be in scope for being included in PR #66
    if(bitString.length() % 8 > 0) {       chars1 = new char[8 - (bitString.length() % 8)];

@Slukralle the code that you referenced isn't used for validation. It's actually used for padding prior to encoding.

Hi, @chuff
We recently encountered some GPP strings like DBABzw~1YNN~BVQqAAAAAg that don’t follow the expected padding logic. Are these GPP strings are valid?
Why doesn’t the decoder enforce an 8-bit length check during decoding? Could you provide some insights into this behavior? Thanks!

I don't believe that string would be considered valid.
The decoder not enforcing a padding check was just an implementation decision to be less restrictive since an unpadded string can still be decoded.


Not able to connect to local couchdb instance. Getting SSL protocol error.

I have configured couchdb as mentioned in the installation guide. But opennote is not able to connect it. Browser gives net::ERR_SSL_PROTOCOL_ERR message in the console. I am on Ubuntu 15.10 and is using couchdb v1.6.0 from the repository. The ssl cert verification is false.

Use a free valid cert
https://letsencrypt.org/

For using a valid certificate I need a domain right? Is there a way to not give domain cert?

I dont have a way of testing this case. If its just local use http.

Should I connect to port 5984 or 6984? I was connecting to 5984. I think that is the problem. Just came to know that the default ssl port for couchdb is 6984 (from your another comment).


recycling this deprecated name on npm?

I wanted to contact you via PVT on twitter but for some reason you don't follow me so here I am.
You flagged this as deprecated, mind passing this name to me so I can bump a new major and push a completely different library borrowing next name?
The TL;DR version of that library is next.frame(cb) or next.idle(cb) or next.clear(cb) to optimize, and centralize, requestAnimationFrame and requestIdleCallback operations in a smarter way, similar to process.nextTick in node, but compeltely browser-side centric.
Please let me know if that works for you, otherwise I'll try to find another name
( but unfortunately cool names are all taken on npm :-( )
Cheers

@WebReflection A while ago I've already passed this module to @rauchg.
@rauchg do you need this (I don't see anything published)? If not, then I think we should be happy to pass it to @WebReflection (assuming I'll maintain the rights to publish updates to v0.4 version).
Let us know

ping for @rauchg ... by any chance you can hand over the repo to me?
This is me on npm, thank you https://www.npmjs.com/~webreflection

@WebReflection I took that to email (it'll probably work better), therfore closing this issue


1.12.2 support

Is an update to 1.12.x planned?

Yes it is. Will be starting work on it this weekend. Not sure yet how long it will take. My understanding is the changes in Buildcraft will not pose any problem. But Forge made some big changes that I have to work though.

Is it a lot of work?
(No pressure, just wondering <3 )

Turned out to be a bit of trouble; I think because the structure of the MOD wasn't very good in 1.11. I've got some restructuring I'll push to the 1.11 branch which may help me with the migration.
I have had the mod compile in 1.12, but haven't got the recipes working yet. Documentation for Forge is atrocious, so Its a bit of trial and error.

Full support for 1.12 in 8d9f4310f63be4db18aac7eafdeba90634eb9bd3
Tagged as 2.1.0 Beta 1 on curse: http://bit.ly/2AYX95K


Re-enable dnx commands

This backs out https://github.com/omniSharp/omnisharp-vscode/pull/59 as
we don't want the upcoming release to depricate support for DNX.
This reverts commit a648634d9b7803e51292baccab577d9befac2c5d, reversing
changes made to 413d7ed1319886b652363c797429e75402afb2fa.

@DustinCampbell do you want to review this, or should I just commit?

I was going to submit another PR where I add a 'dotnet restore' but thinking about it more, I think it is easier if everything happens in one PR. So don't merge this yet.

Okay, this is ready to be reviewed. I would probably recommend reviewing this via the two commits so that the intent is clear.

Note: there is a merge conflict in package.json. I'll go ahead and fix this and merge.


dolt: 1.39.1 -> 1.39.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/dolthub/dolt/releases.
meta.description for dolt is: Relational database with version control and CLI a-la Git
meta.homepage for dolt is: https://github.com/dolthub/dolt
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.39.2 with grep in /nix/store/03346l6lwm9k15w2h49wvm97sfp9xm6y-dolt-1.39.2
found 1.39.2 in filename of file in /nix/store/03346l6lwm9k15w2h49wvm97sfp9xm6y-dolt-1.39.2

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

dolt

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/03346l6lwm9k15w2h49wvm97sfp9xm6y-dolt-1.39.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A dolt https://github.com/r-ryantm/nixpkgs/archive/b81bb23dc5b9df0cff1a90b47ff7e9a1987431de.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/b81bb23dc5b9df0cff1a90b47ff7e9a1987431de#dolt

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/03346l6lwm9k15w2h49wvm97sfp9xm6y-dolt-1.39.2
ls -la /nix/store/03346l6lwm9k15w2h49wvm97sfp9xm6y-dolt-1.39.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

dolt

Maintainer pings
cc @danbst for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/dolthub/dolt/releases.
meta.description for dolt is: Relational database with version control and CLI a-la Git
meta.homepage for dolt is: https://github.com/dolthub/dolt
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.39.4 with grep in /nix/store/qx890xcy7ls673flzjcpg7wnfvb93d1q-dolt-1.39.4
found 1.39.4 in filename of file in /nix/store/qx890xcy7ls673flzjcpg7wnfvb93d1q-dolt-1.39.4

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

dolt

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/qx890xcy7ls673flzjcpg7wnfvb93d1q-dolt-1.39.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A dolt https://github.com/r-ryantm/nixpkgs/archive/3e98e4df50d4b61d223cbe57d4894e59ee0b6aef.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/3e98e4df50d4b61d223cbe57d4894e59ee0b6aef#dolt

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/qx890xcy7ls673flzjcpg7wnfvb93d1q-dolt-1.39.4
ls -la /nix/store/qx890xcy7ls673flzjcpg7wnfvb93d1q-dolt-1.39.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

dolt

Maintainer pings
cc @danbst for testing.


Changing view breaks directive

I'm using the tabs directive inside a view.  When it's initially loaded the directive works just fine, however when I change the view it appears as though the tabs break.
For example:

I'm located at /#/
I click an element and change the path to /#/path/123.  The view changes and the tabs work just fine.
I click another element and the view reloads to /#/path/124 but the tabs are broken, the content for both tabs are displaying.

In the index.html example, I have a button that toggles visibility, exactly to catch issues like the one you describe.
Using that I cannot replicate the issue you are describing.
Could you create a small example, on something like JSFiddle, that demonstrates the issue?

It appears as though I was using this incorrectly.  I've since added the ng-if and the tabs work across either view.
However, this presents another minor issues where the indicator is not present on load and only appears after a tab has been clicked.
Any suggestions?

I don't think you need the ng-if for your use-case, since you just need to show it when the right view is being displayed.
So again, we'll need you to upload an example that demonstrates the issue somewhere, or we have no chance of fixing the issue.

For me the indicator seems to appear at random
https://whispering-brook-13648.herokuapp.com/#/


Add Uniquify

Replaces #114
Refactor LowerTypes a bit, very similar to old implementation.
Add some tests.
Add Uniquify Pass and several tests.
Some utility function changes to make things make more sense.

It looks like Travis fails fairly frequently because of "fork := true", but unfortunately this is required for tests to work because the compiler currently is not threadsafe...

Time to bite the bullet and make it threadsafe? I can help...
On Wednesday, April 13, 2016, Jack Koenig<EMAIL_ADDRESS>wrote:

It looks like Travis fails fairly frequently because of "fork := true",
but unfortunately this is required for tests to work because the compiler
currently is not threadsafe...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/ucb-bar/firrtl/pull/120#issuecomment-209707242

Yeah now that I'm done with this (finally), I'll take a look
On Apr 13, 2016 6:21 PM, "Andrew Waterman"<EMAIL_ADDRESS>wrote:

Time to bite the bullet and make it threadsafe? I can help...
On Wednesday, April 13, 2016, Jack Koenig<EMAIL_ADDRESS>wrote:

It looks like Travis fails fairly frequently because of "fork := true",
but unfortunately this is required for tests to work because the compiler
currently is not threadsafe...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/ucb-bar/firrtl/pull/120#issuecomment-209707242

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/ucb-bar/firrtl/pull/120#issuecomment-209713552

the code looks fine to me, but I don't have a great idea what's going on in LowerTypes, so it's hard to comment on that.

Have you thought about how this uniquifying pass would work if I wanted to safely inline a module?

I hadn't thought about it directly but it should extend quite nicely.

Choose a prefix for the module being inlined.
Map the supermodule to a type (see stmtToType)
Map the inlining module to a type
Create a field in the supermodule with it's name as the prefix above and type as the type of the inlining module
Create the same style of name mapping structure as used in the pass

The only issue I see is how to insert the stmts from the inlining module, expressions are easy since you can just wrap them in SubFields with the prefix. I think we could introduce some private "SubStmt" that the Uniquify pass could handle similarly and thus properly insert prefixes to the names of DefRegisters, DefWires, etc.


Failed to start the kernel

I installed iTorch today, but every time when I try to start it via "ipython notebook" the kernel crashes with the following error:
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/IPython/utils/traitlets.py", line 407, in get
value = obj._trait_values[self.name]
KeyError: 'session'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/IPython/utils/traitlets.py", line 1247, in validate
return bytes(value)
TypeError: string argument without an encoding
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/IPython/html/base/handlers.py", line 365, in wrapper
result = yield gen.maybe_future(method(self, *args, **kwargs))
File "/usr/lib/python3.4/site-packages/IPython/html/services/sessions/handlers.py", line 53, in post
model = sm.create_session(path=path, kernel_name=kernel_name)
File "/usr/lib/python3.4/site-packages/IPython/html/services/sessions/sessionmanager.py", line 66, in create_session
kernel_name=kernel_name)
File "/usr/lib/python3.4/site-packages/IPython/html/services/kernels/kernelmanager.py", line 84, in start_kernel
kernel_name=kernel_name, **kwargs)
File "/usr/lib/python3.4/site-packages/IPython/kernel/multikernelmanager.py", line 112, in start_kernel
km.start_kernel(**kwargs)
File "/usr/lib/python3.4/site-packages/IPython/kernel/manager.py", line 224, in start_kernel
self.write_connection_file()
File "/usr/lib/python3.4/site-packages/IPython/kernel/connect.py", line 488, in write_connection_file
transport=self.transport, ip=self.ip, key=self.session.key,
File "/usr/lib/python3.4/site-packages/IPython/utils/traitlets.py", line 412, in get
value = method()
File "/usr/lib/python3.4/site-packages/IPython/kernel/connect.py", line 438, in _session_default
return Session(parent=self)
File "/usr/lib/python3.4/site-packages/IPython/kernel/zmq/session.py", line 430, in init
super(Session, self).init(**kwargs)
File "/usr/lib/python3.4/site-packages/IPython/config/configurable.py", line 80, in init
self.config = config
File "/usr/lib/python3.4/site-packages/IPython/utils/traitlets.py", line 445, in set
obj._notify_trait(self.name, old_value, new_value)
File "/usr/lib/python3.4/site-packages/IPython/utils/traitlets.py", line 602, in _notify_trait
c(name, old_value, new_value)
File "/usr/lib/python3.4/site-packages/IPython/config/configurable.py", line 159, in _config_changed
self._load_config(new, traits=traits, section_names=section_names)
File "/usr/lib/python3.4/site-packages/IPython/config/configurable.py", line 143, in _load_config
setattr(self, name, deepcopy(config_value))
File "/usr/lib/python3.4/site-packages/IPython/utils/traitlets.py", line 430, in set
new_value = self._validate(obj, value)
File "/usr/lib/python3.4/site-packages/IPython/utils/traitlets.py", line 451, in _validate
return self.validate(obj, value)
File "/usr/lib/python3.4/site-packages/IPython/utils/traitlets.py", line 1249, in validate
self.error(obj, value)
File "/usr/lib/python3.4/site-packages/IPython/utils/traitlets.py", line 480, in error
raise TraitError(e)
IPython.utils.traitlets.TraitError: The 'key' trait of a Session instance must be a bytes object, but a value of '' <class 'str'> was specified.
But if I start it with:
"ipython notebook --profile torch" like it was before the fix from issue #33 it works without crashing.
Arch Linux x64
iPython version: 3.0.0
Python version 3.4.3

we provide the itorch script for this reason:
"itorch notebook" should work

It doesn't for me, because (at least my install of) iPython doesn't accept an empty Session key. But I have no idea why

Hi, i encounter this issue, too. i use command 'itorch notebook' to start, then new an iTorch notebook, but an kernel error display in the page.
Error Message:
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/site-packages/IPython/utils/traitlets.py", line 407, in __get__
    value = obj._trait_values[self.name]
KeyError: 'session'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/site-packages/IPython/utils/traitlets.py", line 1247, in validate
    return bytes(value)
TypeError: string argument without an encoding

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/site-packages/IPython/html/base/handlers.py", line 365, in wrapper
    result = yield gen.maybe_future(method(self, *args, **kwargs))
  File "/usr/local/lib/python3.4/site-packages/IPython/html/services/sessions/handlers.py", line 53, in post
    model = sm.create_session(path=path, kernel_name=kernel_name)
  File "/usr/local/lib/python3.4/site-packages/IPython/html/services/sessions/sessionmanager.py", line 66, in create_session
    kernel_name=kernel_name)
  File "/usr/local/lib/python3.4/site-packages/IPython/html/services/kernels/kernelmanager.py", line 84, in start_kernel
    kernel_name=kernel_name, **kwargs)
  File "/usr/local/lib/python3.4/site-packages/IPython/kernel/multikernelmanager.py", line 112, in start_kernel
    km.start_kernel(**kwargs)
  File "/usr/local/lib/python3.4/site-packages/IPython/kernel/manager.py", line 224, in start_kernel
    self.write_connection_file()
  File "/usr/local/lib/python3.4/site-packages/IPython/kernel/connect.py", line 488, in write_connection_file
    transport=self.transport, ip=self.ip, key=self.session.key,
  File "/usr/local/lib/python3.4/site-packages/IPython/utils/traitlets.py", line 412, in __get__
    value = method()
  File "/usr/local/lib/python3.4/site-packages/IPython/kernel/connect.py", line 438, in _session_default
    return Session(parent=self)
  File "/usr/local/lib/python3.4/site-packages/IPython/kernel/zmq/session.py", line 433, in __init__
    super(Session, self).__init__(**kwargs)
  File "/usr/local/lib/python3.4/site-packages/IPython/config/configurable.py", line 80, in __init__
    self.config = config
  File "/usr/local/lib/python3.4/site-packages/IPython/utils/traitlets.py", line 445, in __set__
    obj._notify_trait(self.name, old_value, new_value)
  File "/usr/local/lib/python3.4/site-packages/IPython/utils/traitlets.py", line 602, in _notify_trait
    c(name, old_value, new_value)
  File "/usr/local/lib/python3.4/site-packages/IPython/config/configurable.py", line 159, in _config_changed
    self._load_config(new, traits=traits, section_names=section_names)
  File "/usr/local/lib/python3.4/site-packages/IPython/config/configurable.py", line 143, in _load_config
    setattr(self, name, deepcopy(config_value))
  File "/usr/local/lib/python3.4/site-packages/IPython/utils/traitlets.py", line 430, in __set__
    new_value = self._validate(obj, value)
  File "/usr/local/lib/python3.4/site-packages/IPython/utils/traitlets.py", line 451, in _validate
    return self.validate(obj, value)
  File "/usr/local/lib/python3.4/site-packages/IPython/utils/traitlets.py", line 1249, in validate
    self.error(obj, value)
  File "/usr/local/lib/python3.4/site-packages/IPython/utils/traitlets.py", line 480, in error
    raise TraitError(e)
IPython.utils.traitlets.TraitError: The 'key' trait of a Session instance must be a bytes object, but a value of '' <class 'str'> was specified.

I use following instruction to install iTorch:

pip install 'ipython[all]'
luarocks install itorch

PS:torch had been installed in my mac.
My mac env:

OS X Yosmite 10.10.3
Python 3.4.3

how can i fix it? thanks~~~


Projects

Project title
(Write project title over here)
Project Description
(Describe the project over here)
Stack:
[ ] Html
[ ] CSS
[ ] JavaScript

Project title
Web Development Project
Project Description
The UI/UX designed should be made into a working website which should be simple and
beautiful. There needs to be a back end admin panel to upload images, texts in different
sections of our website.


Maya configurable unit validator

Feature
this is adding configurable options for Maya Units validator.

Most of the options should be set later in different place - by something like scene defaults settings.
🗒 There is also issue with fps decimal rounding that needs to be investigated between supported maya versions and ftrack.

I can imagine having your units ready from the get go is even better!

True but I believe this is task for another PR. This was meant to quickly allow to publish something with non-standard stuff. Setting some pre-configured default on new scene is another beast and should probably include more thoughts and features :)

Should we refactor the usage of context.data() too? It would then be context.data.get() It just feels off against most of the rest of the code base. There is some more ancient context.data() and instance.data() in OpenPype which seems to appear in about five plug-ins in total.
Especially because the implementation was once for a "temporary transition" in Pyblish according to the docstring and the overriding logic for the key "name" seems extra confusing if you don't know about it..

@antirotor I just tried setting to kilometer here in Maya 2022. It does set it.
from maya import cmds

cmds.currentUnit(linear="kilometer")
print(cmds.currentUnit(query=True))
# km

The preferences/settings in Maya does not show it, instead it shows "millimeter". I mean even at 0.01 I basically can't see the grid. The camera far clipping plane is 0.01 :')

Whenever you start to try navigating in the viewport you'll be flying warp speed however.
I must admit - I wonder if this is EVER useful and whether OpenPype should expose it.
I'm a bit worried about the can of worms we'll open if someone ever sets the OP setting to kilometer and the vague reports we might be getting - especially with Maya not showing it by default in the UI.

I actually worked few times in kilometers but it was no joy. I would still leave it there as it is just validator and I see no reason to limit validating it, but of course when we do the scene settings I vote for omitting those not that much used units.


HEIC/HEVC support

iOS 11 is now saving images in HEIC/HEVC instead of JPEG.
And because I use Google Photos and Google Photos supports them, I also see them backed up to Drive, etc. (Google Photos converts them to JPEG when browsing online)
This is a tracking bug to make sure Camlistore can thumbnail + JPEG-ify them in the web UI.
It'll probably need to use ffmpeg or something, since I'm not aware of any Go implementation, and it'll probably need to be opt-in for Reasons.

/cc @mpl

https://github.com/pushd/heif

@bradfitz the heiftojpeg from that repo works (as i tested on your image sample), but

it uses non-portable paths (hardcoded "/tmp/").
i don't think it can pipe its output, which we probably want, as we'll most likely take that output as input for our image thumbnailer (and I assume we don't want temporary files as intermediates).

Should we rewrite a simpler, portable, version of https://github.com/pushd/heif/blob/master/Srcs/heiftojpeg/heiftojpeg.cpp
that only does the heif reading/decoding?
and then we can do ourselves in Go the piping to ffmpeg? (which itself would pipe its output to our image  thumbnailer).

It looks like it might need a filename to seek around in. In our official Docker/etc images we can use tmpfs so we're not actually doing disk I/O.
It does seem like we could modify the program to write the JPEG to stdout instead, but if we're already doing tmpfs for the input, the gains are marginal. (slightly less memory usage for a bit, but not for long).
I'd say don't bother for now and use it as-is and use tmpfs.

Just so we're clear, then we don't care for now about Camlistore on Windows not being able to decode HEVC?
Well, I've just realized that even if we fixed the /tmp/ paths problems, Windows would probably miss dependencies anyway, like ffmpeg and imagemagick.
So yeah, ignoring Windows for now.

And we now have that EXIF change for HEIF support merged upstream and it's now in our vendor dir: https://camlistore-review.googlesource.com/c/camlistore/+/15106

https://camlistore-review.googlesource.com/c/camlistore/+/15186 heif decoding vendoring

ImageMagick is still slow and uses a lot of RAM.
We need to bump our ImageMagick git rev to a later version (I saw some fixes just the other day) and also probably use this:
http://www.imagemagick.org/Usage/resize/#read ("Resize During Image Read")
/cc @mpl

Good to see you started working on this 👍 Looks like you're using one of the existing C++ libraries right now but you're not happy with it?
Do you know if anyone is working on HEIF support for the Go standard library? Are there issues with patents like with video codecs?
We're still busy with a lot of other issues. Added a bookmark in our wiki. Hopefully we can help next year.


Line number should be %d, not %s

Fixed golint warning

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Defects/error array

Fix the issue where an empty error array is sent with every response.
errors property should not be present on the response if there are no errors per the graphQL specification.

Thanks!

I also updated the tests in master and bumped the version. I have a couple of things I want to look at before pushing a new nugget package though. I'll push this soon if I don't get a chance to look at the other things.


crash in EVP_CIPHER_CTX_flags

Under low memory a crash was observed with openssl-1.0.2j:
When do_ssl3_write calls EVP_CIPHER_CTX_mode
EVP_CIPHER_CTX_flags crashes because enc_write_ctx
is non-zero but the enc_write_ctx->cipher is zero, so
that should probably avoided.
The following patch fixes the crash, but I am not sure if it
is the right way to fix it, or if the ssl object should go into
an error state when enc_write_ctx is supposed to be non-zero
and properly initialized.
==14081==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x0000021d588b bp 0x7ff2aaa2fc70 sp 0x7ff2aaa2fc70 T19)
==14081==The signal is caused by a READ memory access.
==14081==Hint: address points to the zero page.
    #0 0x21d588a in EVP_CIPHER_CTX_flags crypto/evp/evp_lib.c:251
    #1 0x212f0b0 in do_ssl3_write ssl/s3_pkt.c:987
    #2 0x212f0b0 in ssl3_dispatch_alert ssl/s3_pkt.c:1737
    #3 0x211df6c in ssl3_shutdown ssl/s3_lib.c:4361

--- ssl/t1_enc.c.orig   2016-09-26 11:49:07.000000000 +0200
+++ ssl/t1_enc.c        2016-12-17 23:25:14.738877978 +0100
@@ -627,6 +627,11 @@ int tls1_change_cipher_state(SSL *s, int
  err:
     SSLerr(SSL_F_TLS1_CHANGE_CIPHER_STATE, ERR_R_MALLOC_FAILURE);
  err2:
+    if (s->enc_write_ctx &&
+        EVP_CIPHER_CTX_cipher(s->enc_write_ctx) == NULL) {
+        EVP_CIPHER_CTX_free(s->enc_write_ctx);
+        s->enc_write_ctx = NULL;
+    }
     return (0);
 }

--- ssl/s3_enc.c.orig   2016-12-17 20:32:18.338307472 +0100
+++ ssl/s3_enc.c        2016-12-18 00:11:53.468559587 +0100
@@ -375,10 +375,12 @@ int ssl3_change_cipher_state(SSL *s, int
             iv = &(exp_iv[0]);
         }
     }
+    EVP_MD_CTX_cleanup(&md);

     s->session->key_arg_length = 0;

-    EVP_CipherInit_ex(dd, c, NULL, key, iv, (which & SSL3_CC_WRITE));
+    if (!EVP_CipherInit_ex(dd, c, NULL, key, iv, (which & SSL3_CC_WRITE)))
+        goto err;

 #ifdef OPENSSL_SSL_TRACE_CRYPTO
     if (s->msg_callback) {
@@ -399,11 +401,15 @@ int ssl3_change_cipher_state(SSL *s, int

     OPENSSL_cleanse(&(exp_key[0]), sizeof(exp_key));
     OPENSSL_cleanse(&(exp_iv[0]), sizeof(exp_iv));
-    EVP_MD_CTX_cleanup(&md);
     return (1);
  err:
     SSLerr(SSL_F_SSL3_CHANGE_CIPHER_STATE, ERR_R_MALLOC_FAILURE);
  err2:
+    if (s->enc_write_ctx &&
+        EVP_CIPHER_CTX_cipher(s->enc_write_ctx) == NULL) {
+        EVP_CIPHER_CTX_free(s->enc_write_ctx);
+        s->enc_write_ctx = NULL;
+    }
     return (0);
 }

supposed, this error happens in SSL_read or SSL_write,
what would you think that SSL_get_error will be in that case?

It should return SSL_ERROR_SSL.

I think here the return code could be SSL_ERROR_SYSCALL as well.
if ((l = ERR_peek_error()) != 0) {
    if (ERR_GET_LIB(l) == ERR_LIB_SYS)
        return (SSL_ERROR_SYSCALL);
    else
        return (SSL_ERROR_SSL);
}

but that is probably a different issue.
I think that is because ERR_get_state
returns a static value, and this value
is not guaranteed to be zero.
if (ret == NULL) {
    ret = (ERR_STATE *)OPENSSL_malloc(sizeof(ERR_STATE));
    if (ret == NULL)
        return (&fallback);

If it wasn't clear, SSL_ERROR_SYSCALL should be treated the same as SSL_ERROR_SSL, and in neither case should you call SSL_shutdown().

Fixed thus on all active branches, Thanks.


The Configuration DB manages the lists of services installed on the edge devices

Description
This PR suggest the Configuration db stores the lists of services installed on the devices instead of ServiceInfo db.
If this PR is accepted, Edge Orchestration might use the ServiceInfo db to manage services installed on its own device.
It is related on the issue #129
Type of change

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Run the Edge Orchestration as container or native.
Test discoverymgr testcast

./build.sh test discoverymgr

Test Configuration:

Firmware version: Ubuntu 16.04, RPi2
Hardware: x86-64, ARM
Edge Orchestration Release: Baobab

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

@t25kim This is a good suggestion. Meanwhile, it would be better for us to embrace the backward compatibility of DB structure if we adopt it. Let us keep discussing this matter in the community. ^^ Thank you for the kind understanding.


spleeter installation on Windows 10 : ffmpeg module not found

ffmpeg module not found aftre sucessfull conda(3) installation
Step to reproduce

Installed using

`git clone https://github.com/Deezer/spleeter
conda env create -f spleeter/conda/spleeter-cpu.yaml
conda activate spleeter-cpu
'
3. Got ModuleNotFoundError: No module named 'ffmpeg' error
Output
(spleeter-gpu) E:\DATA\PROG\spleeter>python -m spleeter separate -i audio_example.mp3 -p spleeter:2stems -o output
Traceback (most recent call last):
  File "D:\Programme\Anaconda3\envs\spleeter-gpu\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "D:\Programme\Anaconda3\envs\spleeter-gpu\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "E:\DATA\PROG\spleeter\spleeter\__main__.py", line 51, in <module>
    entrypoint()
  File "E:\DATA\PROG\spleeter\spleeter\__main__.py", line 47, in entrypoint
    main(sys.argv)
  File "E:\DATA\PROG\spleeter\spleeter\__main__.py", line 41, in main
    entrypoint(arguments, params)
  File "E:\DATA\PROG\spleeter\spleeter\commands\separate.py", line 160, in entrypoint
    audio_adapter = get_audio_adapter(arguments.audio_adapter)
  File "E:\DATA\PROG\spleeter\spleeter\utils\audio\adapter.py", line 136, in get_audio_adapter
    return get_default_audio_adapter()
  File "E:\DATA\PROG\spleeter\spleeter\utils\audio\adapter.py", line 124, in get_default_audio_adapter
    from .ffmpeg import FFMPEGProcessAudioAdapter
  File "E:\DATA\PROG\spleeter\spleeter\utils\audio\ffmpeg.py", line 14, in <module>
    import ffmpeg
ModuleNotFoundError: No module named 'ffmpeg'

Environment
| ----------------- | ------------------------------- |
| OS                | Windows |
| Installation type | Conda          |
| RAM available     | 16GB                             |
| Hardware spec     | GTX1050/ CPU core i7 7700.             |
ffmpeg is actually installed in conda env 'spleeter-gpu'

The problem here is not the lack of ffmpeg but ffmpeg-python library which is supposed to be installed as well. Did you experience any error / warning during Conda installation ?

I ddidn't see any, but maybe I missed it.
How can I solve this ?

Maybe try to reinstall Spleeter environment from provided YAML file. Otherwise we now have a public package on conda-forge, we will soon replace environment based file documentation by installation package. Your can try it by using following command :
conda install -c conda-forge spleeter
``

Ok thanks , this seems to work , now I have another problem but this is caused by the fact I'm sitting behind a proxy and thus the download of the model archive.
I configured conda for using a proxy, but I don't know what spleeter does ...
Sorry it's off topic, but  maybe you have an idea ...

Ok thanks , this seems to work ,

Good to know :)

now I have another problem but this is caused by the fact I'm sitting behind a proxy and thus the download of the model archive failed.
I configured conda for using a proxy, but I don't know what spleeter does ...
Sorry it's off topic, but maybe you have an idea ...

We are using Python requests library for downloading model through HTTP. You should check related issues on web (it probably relies on system configured proxy or possibly environment variable).

Thanks again ! :-)


build tables for url

Work in progress. We're building the tables but not using the tables yet.
fix #146

The problem with segment prefixes and suffixes has been fixed.
To do list:

Improve coverage
Add documentation about the malleable prefixes and suffixes
Add a few relevant edge cases to the tests

Closing this PR as there is not enough user demand at this point.


Super experiment with filecheck

Changes

Check if there are any changes in docker context

Checklist

[x] Read the contribution guide and accept the code of conduct
[ ] Readme (updated or not needed)

Seems to not be possible in actions yet.


FAQ?

Hey there SH20RAJ,
Could you consider adding a short FAQ that explains a few things?
For instance, why do we have to use class sopplayer? Why do we have
to use data-setup = "{}"?
I would love to read up on this if possible.
Also I have tried soppplayer, it works, but I would like to shrink the
default thumbnail picture or so to 150px; it seems to display the real
width and height. How can we shrink it? Could this info be added,
either to main README or a FAQ?
At any rate thank you for reading.

Also how can we customize the default looks? I need a variant for dark background.

SopPlayer is made by customising videojs, Try customising the css file (only)


Device tree overlay for ov2640 camera module with Beaglebone AI

We want to use ov2640 camera module with Beaglebone AI for our project. We found that ov2640.ko.xz is available under in the Linux Buster version 10. kernel version 4.19.
We understand that we will have to make the dtbo file to make the kernel understand our pin connections. However, all literature online is related to $pins and $slots which is obsolete.
We want to write our device tree overlay and go the route where just editing the uEnv.txt is enough to make kernel pick the dtbo.
Can you please guide us with the proper steps as we are kind of lost here.

How you gonna connect dvp camera to BBAI?
It does not have camera inputs,  only lcd output according to schematics

Okay thank you.


Get the australian genomics data loader to handle orphaned family members

When some samples are promoted from singleton to trio - the original singleton does not have FAMxxxxx in its filename. This means that currently we don't put them into the same case grouping in Elsa Data.
However, for some datasets - all members of the family do have a consistent patient id in the form
Axxxxx
Axxxxx_mat
Axxxxx_pat
What we can do is after the initial scan for loading - we can detect situations where a family (of any family id) - has more than one patient in it with a consistent Axxxxx prefix. We can then reparent any loose patients into that family.
This should work to retrieve patients like
Axxxxxx
But might also be able to salvage entries like Axxxxx_sib that have also not correctly been named into a family
Some examples from the current cardiac load to prove the case:
FAM000524 has A1433005_pat and A1433005_mat - but there is a standalone A1433005 not in the family.
A1433014_sib exists by itself - but there is a FAM000422 it could belong to.

I think this will close out #74


Fallback to the built-in JPEG decoder when browser decoding fails, and attempt to handle JPEG images with DNL (Define Number of Lines) markers (issue 8614)

Please refer to the individual commit messages for detailed information.
Fixes #8614.

/botio test

/botio test

/botio test

/botio makeref

Since I'm not very familiar with the image processing code, I'd like another pair of eyes before merging it.
@yurydelendik Can you take a look?

Since I'm not very familiar with the image processing code, I'd like another pair of eyes before merging it.
@yurydelendik Can you take a look?

@yurydelendik Ping; do you have time to provide a final round of review here, so that this can land?

Thank you!


Typeahead result set to uppercase

Hi guyz,
How do I set uib-typeahed result to uppercase from HTML view only. I don't care of any result from controller, but on the view it should be in uppercase.
I'm not able to do the given search result to uppercase.
Here is attached plunker.

Please ask such questions in the appropriate place: https://stackoverflow.com/questions/tagged/ng-bootstrap

Closing this as this project is no longer being maintained, per the README and the ISSUE_TEMPLATE.


Cs aws migration code changes/rebase

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.4 out of 5 committers have signed the CLA.:white_check_mark: ajayKrishnankm:white_check_mark: shalini-peeka:white_check_mark: agnelpraveen:white_check_mark: aniruddha-k:x: araarumaraarum seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-29-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4075

Questions ?
Please refer to the Backport tool documentation


Hikes:  Video 11, How IP Address Works, Ends Abruptly

Video 11 ends very abruptly and with Briana turning her head to one side.  It doesn't have the "quick review" that the other videos have.  It seems like there might have been an editing error?
https://www.youtube.com/watch?v=zdNhDDSbMLE&list=PLWKjhJtqVAbmfoj2Th9fvxhHIeqFO7wOy&index=11

The updated version with a new ending is uploaded to both vimeo and youtube. Thank you SaintPeter!


html: TOC is invading space

https://css-tricks.com/sticky-table-of-contents-with-scrolling-active-states/


Fixed links and undo translation of keywords

Some links are fixed, removed extra space between [link name] (url)
Some words should not be translated, Find, Filter (from array module) and null type

Fixed typo on remove_even function

"Service worker" shouldn't be translated into spanish


AADSTS7000216 is not listed

We keep randomly seeing the following error when generating a token using AAD Web App. There is no documentation related to this.
AADSTS7000216: 'client_assertion', 'client_secret' or 'request' is required for the 'client_credentials' grant type
error_codes: 7000216

@SoujanyaMangipudi Thank you for your feedback. Could you please share which document you are referring to?

I am referring to below link.
https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-aadsts-error-codes

Hi @SoujanyaMangipudi - Are you using the client credentials flow? More guidance is here, https://docs.microsoft.com/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow, and a detailed app scenario walkthrough that uses this flow here: https://docs.microsoft.com/azure/active-directory/develop/scenario-daemon-overview.

Response provided. #please-close

@CelesteDG This issue is still valid. We have encountered the same error and which references this page:
https://login.microsoftonline.com/error?code=7000216
The same error is still not mentioned in the list of error codes:
https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-aadsts-error-codes

Hello @daleriechert - Thank you for the follow up. We are lifting and shifting our reference error codes content out of the topic and shifting them to https://login.microsoftonline.com/error and surfacing the descriptions there.
For this particular error code, once you go to https://login.microsoftonline.com/error, just enter 7000216 in the Error Code field and it should provide remediation info.


Send analytics event through the GOV.UK Analytics API

https://www.pivotaltracker.com/n/projects/1261204/stories/88175032
This change wraps the GA event in the newly introduced
analytics API. This will aid in the migration from GA Classic to Universal Analytics, while
remaining functionally equivalent during the migration.
/cc @fofr

@fofr I think this is ready to go now - are you happy with it as it is?


Documentation Indicator Ring

From Slack:

It would be great if Figma Tokens would show a different color for the indicator if the Token is used as a “Documentation Token”. Instead of blue, documentation could be purple.
Benefit: More clarity through color coding meta info and actual appliance

Let's use a purple color #8A38F5 for the outline when a Documentation token is applied.

if both tokens are there, only show blue border.

Added to Featurebase Roadmap : 🤓 Document and annotate design token enhancements

closing - migrated to FB

closing - added to featurebase

Closing as added to featurebase


Application error

Exception:
Null check operator used on a null value
#0      PrinterService._updatePrintStat (package:mobileraker/service/moonraker/printer_service.dart:712)
#1      PrinterService._parseObjectType (package:mobileraker/service/moonraker/printer_service.dart:416)
#2      PrinterService._temperatureStore. (package:mobileraker/service/moonraker/printer_service.dart:367)
#3      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:617)
#4      PrinterService._parseQueriedObjects (package:mobileraker/service/moonraker/printer_service.dart:486)
#5      PrinterService._printerObjectsQuery (package:mobileraker/service/moonraker/printer_service.dart:1021)

#6      PrinterService.refreshPrinter (package:mobileraker/service/moonraker/printer_service.dart:166)

Hey,
this is the GitHub repo of the python companion program. The app is located here https://github.com/Clon1998/mobileraker.
Anyhow, can you provide me with the version number of Mobileraker you are currently using?
Does the error happen permanently or just occasionally?

App version 2.0.0-67
This error happens permanently since 4 days.

Can you provide me the content of your browser if you go to http://<YOUR-PRINTER-IP>/printer/objects/query?print_stats.

{"result": {"status": {"print_stats": {"print_duration": 5769.2903197780015, "total_duration": 6055.732069565001, "filament_used": 4502.69614, "filename": "Queue/CE3_standsmooth.gcode", "state": "printing", "message": ""}}, "eventtime": 14268.93741815}}

Thanks.
I will push a hot fix as soon as possible.

Okay. Thank you.


"Permissions" always says "retry"

I need to test the api but I cant add any permissions

Hi @zhuxiaodics6 ,
Is there a specific uri you're using that is bringing this?

Hi @zhuxiaodics6 , Is there a specific uri you're using that is bringing this?
no，i just use the example URL in the left list.

@zhuxiaodics6,
I would like to try and reproduce this.
Which specific URL are you using?


Script to Load the Data into local and EC2 database

@cl0ckwork I am trying to connect the database with given connection string , username and password on MySQL Workbench but unable to connect, you can see below error. Let me know how can I connect the database so that I can load the data.

@iamdeepaka are you on the VPN when trying to connect?
Otherwise, you can check the EC2 instances to make sure the instance is running, it was running yesterday, but free tier isn't that reliable.

@cl0ckwork no I am trying to connect from my home. I can't have a VPN as college doesn't support VPN for linux system. Can you use the sql file I created to load the data. I will write queries for this data on my local system then we can run on EC2. Let me know.

@iamdeepaka I dont believe you can connect to GWU's AWS without the VPN. I was able to load the data last night.
if you want, you can try this walk through:
https://faq.oit.gatech.edu/content/how-do-i-install-cisco-anyconnect-client-linux
this is our vpn address: go.vpn.gwu.edu

closing since remote server has data.

Thanks for sharing the link, but as I mentioned earlier our College GWU doesn't support linux. I have mailed long time back to GW IT department and they confirmed I cannot use ubuntu to connect the VPN. So, I am not going to put time into it.
Also, I have created bash script which automatically install timescaledb into docker locally, create database and tables, load data into it. Now doing it on EC2 is just using basic networking concepts which I already know. If I wish to do that I have my own AWS account to play around.
Hope this helps.


RC-1002 re-enabled auto registration test in CI

re-enabling auto registration test in CI

Closing to start over.


Update build.yml to use .NET 5

Update to .NET 5
Purpose
Update the workflow to use .NET 5
Does this introduce a breaking change?

[ ] Yes
[X] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[X] Other... Please describe:
Version upgrade

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

...

Other Information

Closing since all .NET 5 upgrades are collapsed in PR14


Long pressing ion-tab-button doesn't navigate but set the button to active

Ionic version:

[x] 4.10.3
I'm submitting a ...

[x ] bug report
[ ] feature request

Current behavior:

Long pressing ion-tab-button set the button color to active but doesn't navigate once released. The tab before the long press is still opened and also have the active color, that means there are two tabs with active color..
Expected behavior:

The tab should either switch to the newly long pressed tab or the current one should still be active ignoring the long pressed tab and only one single active color should be present.
Steps to reproduce:

Create a tab view with four tab-buttons long press any tab button that is currently not active for about 5 secs then release.
Ionic info:

Ionic:
   ionic (Ionic CLI)             : 4.10.3 (C:\Users\*****\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework               : @ionic/angular 4.8.0
   @angular-devkit/build-angular : 0.801.3
   @angular-devkit/schematics    : 8.1.3
   @angular/cli                  : 8.1.3
   @ionic/angular-toolkit        : 2.0.0

System:

   NodeJS : v10.15.1 (C:\Program Files\nodejs\node.exe)
   npm    : 6.4.1
   OS     : Windows 10

Thanks for the issue. Is this still an issue with the latest version of Ionic Framework? If so, please provide a repo with the code required to reproduce this issue.


Sorting linked list using Merge Sort

This problem will sort the linked list using merge sort algorithm.
The language used will be C++
Kindly assign this issue to me.

Hello @ishasharma7 , thank you for creating an issue, it has now been assigned to you.
Important:
Before you start your work on this issue, make sure you go through the README.md and Contribution Guidelines.md
File structure:

In the Sorting directory, navigate to the sub-directory Merge Sort.
In the Algorithm.md, please add the problem statement.
Move to the C++ directory.
Create the file of your code in camel case.

Here's how the final structure should look like:

Sorting

Merge Sort

Algorithm.md
C++

SortLinkedList.cpp

Please follow the same naming conventions as mentioned.
Before you create a pull request, make some changes in your forked repository so that it matches with the current one and there are no conflicts (git pull).
Note that all PRs are being checked for plagiarism, please refrain from indulging in any crooked means, we trust you!
We thank you for your contribution and time and we hope that you enjoy contributing to open source.


when install with treesit-auto, error

error msg:
⛔ Warning (treesit): The installed language grammar for janet cannot be located
or has problems (symbol-error): dlsym(0x45205490, tree_sitter_janet): symbol not found

I built on macos
also see renzmann/treesit-auto#116

I don't know how treesit-auto works but is it possible the value for :lang is mistaken?
The grammar that's hosted at this repository is not named janet but rather janet_simple.

ok, i fix it in renzmann/treesit-auto#118

I'm going to close this issue then :)


Support SENZING_ENGINE_CONFIGURATION_JSON

See https://github.com/Senzing/community-roadmap/issues/70

Already done in #70

account for flags/command line arguments


Round function seems inconsistant or is it the float64 conversion process?

What version of Go are you using (go version)?
I'm using Go 1.9 on my laptop and reproduce the same behavior on Go 1.10 (playground)
What operating system and processor architecture are you using (go env)?
I'm running OSX High Sierra 10.13.3 on amd64 arch. I mostly run my go binaries in Docker container like that one
And I reproduce the behavior on go playground
What did you do?
I was trying to round the result of some simple calculus using a Rounding function. First, I copy the math.Round() from go 1.10 to Go 1.9 and then tried directly from the math.Round() with Go 1.10.
Look at it here (sorry I didn't have time to make it cleaner)
What did you expect to see?
I was expecting to have consistant results when rounding numbers.
What did you see instead?
I saw that by using the float64 conversion it could led to different result which are not consistant at all. Depending on the input number we can have two different results.
I had a really hard time to find from where this mistake was coming.
It looks like the floating conversion is doing weird things or maybe I'm not aware enough of its limitation.
If anyone has an explanation I would really like to understand the part I'm missing here.
I couldn't find any issue that looks like that one. Hope it's not a duplicate.

This looks like it's just a question about math.Round or about how floating point numbers work (not a Go-specific question). Unless there's a concrete, minimized bug report, our standard answer is to suggest you discuss this in one of the forums. (See https://golang.org/wiki/Questions)

The bug report is that calling a function with the same conversion logic return 2 different results which is inconsistant. Using math.Round(X.5) could return X or X+1, this is a dangerous behavior which could be damaging.
Sorry if I made it sounds like a question in my original post, it's just that I'm interested in understanding how it could happen.

Go constants are untyped. Computations on constant are done in arbitrary precision. In Go, these:
x := float64(319.9/4) * 100.00
y := float64(319.9 / 4 * 100.00)

are not the same. Please see:
https://play.golang.org/p/J36LvvmIvEe
This explains why Round gives different results.

Sorry I didn't spot that earlier.
In my real code I even have something different, need to divide a float64 by an int32.
And it's getting messy with conversion. The only (really dirty) trick I found so far is to convert to float32 to have the correct rounding (because of smaller precision) and cast back to float64 for my need: https://play.golang.org/p/A91MZ1AIxCV
Thanks for your time

No problem. If I'm understanding you last message correctly, you are saying that there is not bug in Go and that we can close this issue. Correct? If no, please comment back and I'll re-open this.


[Bug] Decimal value serialization missing

I observed strange serialization behavior when serializing an object with a Decimal property. Such numbers were serialized as {}.
Turns out this type is missing in the WriteAnyValue method:
https://github.com/microsoft/kiota-serialization-json-dotnet/blob/c17b152da9e26b5b91d208205a9dec7fbada742c/src/JsonSerializationWriter.cs#L378-L443
Decimal values will fall through to the rather generic WriteNonParsableObjectValue handler. So a Decimal number 2 will be serialized as {}.
There is even a method for serializing Decimals, it's just not called:
https://github.com/microsoft/kiota-serialization-json-dotnet/blob/c17b152da9e26b5b91d208205a9dec7fbada742c/src/JsonSerializationWriter.cs#L163-L167

Note: Why is there even a Decimal?? I cannot remember ever needing this type before. Turns out it is introduced by KiotaJsonSerializer.Deserialize; in my case when deserializing a previously serialized StandardWebPart type that has a dictionary buried in it, containing a number value.

Thanks for raising this @heinrich-ulbricht
Any chance you would be willing to submit a PR to add the missing case in the writer as you identified?

Willing yes, but I cannot say if and when. Pages API, Graph, and Kiota consume all my capacity right now ^^

No worries. Will take this on to resolve.


Create PREREQUISITE.md

We separated prerequisite section from README.md.
Then created this PREREQUSITE.md.
Co-Authored-By: hoho00<EMAIL_ADDRESS>Co-Authored-By: HACore<EMAIL_ADDRESS>Co-Authored-By: YoungSeokHong<EMAIL_ADDRESS>

I'm sorry for opening new PR same with #28. 😭
#28 is closed due to my mistake.
Anyway, I added co-authors successfully and adjusted size and resolution of images! 34ed5dfa29556d8f39c6f2181c7ab975d61cf75a

Thanks for you co-contribution :)
Super kind explanation about prerequisite.
I left a comments.

Thanks  for your comment!
I corrected syntax highlighting and capitalization.
Now i learned about markdown syntax highlighting, and realized i have used wrong syntax highlighting style.
Reference
Markdown syntax highlighting

Overall, I think it would be good if you only distinguish between uppercase and lowercase letters, and I wrote a review in the code line below for the rest.

@ycs1m1yk @HACore @hoho00 @dd-create
I think it would be good to read the whole lines once and review the parts written by others.
Please self-review one more time :)
and leave your comments here.

I have read the whole lines carefully and it seems that there are no further amendments to be made.
The flow is smooth and there are no typos!
Thank you for @ycs1m1yk's hard work.
ps.
I've learned a new way to apply the code highlighting function to each language! Thx for your review. https://github.com/euphony-io/euphony/pull/29#pullrequestreview-734792361

I have read the whole lines carefully and it seems that there are no typos and the flow is smooth!
Thank you for @ycs1m1yk's hard work.
But how about putting a link into each item in the table of contents?
Clicking on each heading in the table of contents will take you to the linked topic.
Below is an example that I thought of.
// ...

1. [Add euphony to your project](#import)
2. [Edit your AndroidManifest.xml to permit euphony to record audio.](#permission)

---

##
1. Add euphony to your project

// ...

I left detail comments.

Thanks for your TOC(Table Of Contents) idea and your line by line code comment! TOC will help improve readability.
But, there are two points:

Github supports Section link for all heading texts automatically. (basic-writing-and-formatting-syntax)

For example, when you hover over a section header, a link symbol appears to the left of the header.

You can then click the link symbol to link directly to the section title.
1.2 Import the aar/jar file directly
So we don't need to add an id to each link.

How about creating a TOC section top of the contents?
like below:

# Table of Contents
- [Prerequisite](#prerequisite)
  * [1. Add euphony to your project](#1-add-euphony-to-your-project)
    + [1.1 Using Maven repository](#11-using-maven-repository)
    + [1.2 Import the aar/jar file directly](#12-import-the-aarjar-file-directly)
    + [1.3 Import the Euphony module in your project](#13-import-the-euphony-module-in-your-project)
  * [2. Edit your AndroidManifest.xml](#2-edit-your-androidmanifestxml)
    + [Request permission to users](#request-permission-to-users)

also a preview is below:

Thanks for your TOC(Table Of Contents) idea and your line by line code comment! TOC will help improve readability.
But, there are two points:

Github supports Section link for all heading texts automatically. (basic-writing-and-formatting-syntax)

For example, when you hover over a section header, a link symbol appears to the left of the header.

You can then click the link symbol to link directly to the section title.
1.2 Import the aar/jar file directly
So we don't need to add an id to each link.

How about creating a TOC section top of the contents?
like below:

# Table of Contents
- [Prerequisite](#prerequisite)
  * [1. Add euphony to your project](#1-add-euphony-to-your-project)
    + [1.1 Using Maven repository](#11-using-maven-repository)
    + [1.2 Import the aar/jar file directly](#12-import-the-aarjar-file-directly)
    + [1.3 Import the Euphony module in your project](#13-import-the-euphony-module-in-your-project)
  * [2. Edit your AndroidManifest.xml](#2-edit-your-androidmanifestxml)
    + [Request permission to users](#request-permission-to-users)

also a preview is below:

Both are great idea, but I think second one is better. Because it is simple and would improve more readability.
And @HACore 's TOC idea was really good idea:)

Table of Contents section is interesting! 👍
Please remove .project file and .settings folder & files on this pull-request.
They're not related to PREREQUISITE.md.

I deleted them, i will commit carefully next time. 😭

Good! 👍
I marked where the indentation is awkward. It would be nice to just fix this.
Please check below preview picture :)

Thanks for correcting the indentation!
I'm not sure but... in first case, i think for loop indentation is awkward.
So i indented it one level deeper.
The code is below with some comment.
   //after requestPermission
    @Override
    public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {
        super.onRequestPermissionsResult(requestCode, permissions, grantResults);
        // an if state - (1)
        if(requestCode == 1000) {
            boolean check_result = true;
            // for loop nested to the if state - (1)
            // *** I indented this one level deeper.
            for (int result : grantResults) {
                if (result != PackageManager.PERMISSION_GRANTED) {
                    check_result = false;
                    break;
                }
            }
            // if-else state nested to the if state - (1)
            if(check_result == true) {

            } else {
                finish();
            }
        }

    }
}

Second case is okay!
int permission = ContextCompat.checkSelfPermission(MainActivity.this, Manifest.permission.RECORD_AUDIO);

if (permission == PackageManager.PERMISSION_DENIED) {
    if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
        requestPermissions(new String[]{
                Manifest.permission.RECORD_AUDIO}, 1000);
    }
}

@ycs1m1yk
I misunderstood the first code indent. 😄 Thanks for fixing my mistake.
Your both changes are good! Please commit them :)

@ycs1m1yk
I misunderstood the first code indent. 😄 Thanks for fixing my mistake.
Your both changes are good! Please commit them :)

You're welcome. 😄
I commited!


Calling Native Language MAFILDB API endpoint

Unauthorized part of the app
Call our server that will use the service account to call the MAFILDB API endpoint and get the data for the web.
Authorized part of the app
Call the MAFILDB API endpoint directly with the logged-in operator's OIDC access token.

Implemented fetch decision on the frontend.
But server doesn't call MAFILDB API yet - need to think about the service account auth. Server just uses dummy JSON with the same data as provided by the MAFILDB API /languages endpoint.

I will have access to GET /languages endpoint in the MAFILDB without the OIDC access token. So we don't need the service account and server-part solution. We always call this endpoint directly with or without an access token.


OObjectLazyList can not be looped using a Stream

OrientDB Version: 2.2.22
Java Version: 8
OObjectLazyList instances returned by the object API can not be streamed (initially).
The following IT reproduces the bug.
https://github.com/CompartAG/orientdb-tryouts/blob/master/2.2.x/src/test/java/com/compart/tec/orientdb/object/OObjectLazyListRegressionIT.java

hi @diegomtassis,
thank you to report this, we will check it soon.
Regards

hi @diegomtassis,
I cannot really fix this in 2.2.x, the issue is that OObjectLazyList extends ArrayList, that in java 8 has a specialized implementation of splitIterator, to fix this I should override the splitIterator implementation, but in 2.2.x we are compatible to jdk 1.6+ so I cannot refer to java.util.Spliterator that exists only from java 8.
I Can fix this in 3.x anyway.

hi,
Pushed the fix with the relative test case in develop branch.
Bye

thanks

hi @diegomtassis,
Do you need a fix for 2.2.x or can we close this issue ?
Regards

What we are doing is to remember not to use the stream interface with Lists returned from the object API.
If this can be fixed in 2.2.x it is easier for us, but in any case it is not blocking.

Workaround available, closing the issue because it's already fixed in 3.0.


Fixes and updates for documentation

The pull request includes the following updates:

Synchronize and fixes headlines in documentation
Fixes notes on version availability
Removes unused index.html file from docs directory

[X] Is this related to documentation?

Thanks, @froschdesign!


Giving the user command more data from the Metricity database for moderators.

Closes #1192
Moderators are now able to use the !user command to see more information on themselves and others.
Verification times, messages sent, and 10-minute activity block counts are viewable by moderators in mod channels. Regular users will not be able to see this new data.
This will be especially useful in channels such as #mod-alerts, where a moderator can identify a user's intentions by seeing the metrics of their activity across the server.
Inside mod channels:

Outside mod channels:

(regular users still are not able to use this command on others)

Coverage increased (+0.07%) to 56.57% when pulling 9f1bbe528311afaf5a56ebafdac7a629c9ce238e on moderation/user-from-metricity into 35f7ecda15e017afd184a94404d21c3f97cd0583 on master.


feat port: Algebra.FreeMonoid.Count

It necessary to use Bool instead of Prop to match the changes made in List.countp so I add to change some if to bif at  a couple of places.

Thanks :tada:
bors merge


chore(release): 2.35.0

See CHANGELOG

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 12496db2186bb179b3050be84f55a29c6c210afa
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Reduce unnecessary build on ci

There are too much build on CI. I think most of them are necessary. This PR remove unnecessary build on CI.

Some steps are depends_on: [build]

Some steps are depends_on: [build]

fixed.

make[1]: *** No rule to make target 'modules/public/bindata.go', needed by 'migrations.mysql.test'.  Stop.

Might need to run generate, thought I'm still hoping for https://github.com/go-gitea/gitea/pull/22887 to be ready so we can get rid of generate.

CI has been changed in other PRs, so I think this could be closed.


Suggestion: Arms Overlapping

I want to start with: This mod is fantastic! Thank you for making it for us!
The arms seem to be set inside the body slightly causing an odd pixel flipflop during the idle animation. Can the arms be moved out slightly to reduce that crossover?

I'm not sure if there's much I can do about this, as it's the standard vanilla player model.


Logo on white background

I have this white/transparent logo on the open collective page https://opencollective.com/jss. It looks ok there, but now on backyourstack its invisible)
Previously I used to have this logo on the opencollective site: "https://raw.githubusercontent.com/jsstyles/logo/master/logo.png" but then after redesign some time ago it looked broken, so I had to replace it with the white/transparent one.
My project is not that important, but I thought you might want to find a way to not break the logos between the sites.

@kof we're effectively using the assets from Open Collective and the problem is that they're intended for another context (position, size, background).
If this is a problem, what we can do is host a logo in the "Back Your Stack" repository, we've already done that for 4 projects, see: https://github.com/opencollective/backyourstack/tree/master/src/static/img/profile
Should we do that for JSS?

Thats one way, another one would  be to ask user to upload 2 types of logos. And another one to use designs which work with all logo types. (needs some alignment between projects)

In the Back Your Stack context, the problem is that the logo is gonna be rounded. @cuiki do you have something to propose?

@cuiki can you do the JSS one?

Yeah for sure. I'll get it to you in a bit.

Hi @kof, I'm not sure if this version faithfully represents your logo, since it already have a container within. The new design patterns on Open Collective use a squared profile pic for all of them. In your case the container will probably make that look weird. Is there an alternative for ir or should I leave it as the attached example?

@znarf, the assets for that are in the issue referenced in my first response.
— https://www.dropbox.com/s/j379natubmkaen9/profile-pic-jss.png?dl=0
— https://www.dropbox.com/s/ewej8bex4776kfv/bg-cover-jss.jpg?dl=0

Hi,
It looks a bit weird tbh, but if its the only way to make it look ok on open collective right now, I guess it would be a workaround)

On Jul 24, 2018, at 6:46 AM, Darío Muñoz<EMAIL_ADDRESS>wrote:
Hi @kof https://github.com/kof, I'm not sure if this version faithfully represents your logo, since it already have a container within. The new design patterns on Open Collective use a squared profile pic for all of them. In your case the container will probably make that look weird. Is there an alternative for ir or should I leave it as the attached example?
https://user-images.githubusercontent.com/981188/43117426-5dc58b42-8ed2-11e8-96c1-485fdf64a283.png
@znarf https://github.com/znarf, the assets for that are in the issue referenced in my first response.
— https://www.dropbox.com/s/j379natubmkaen9/profile-pic-jss.png?dl=0 https://www.dropbox.com/s/j379natubmkaen9/profile-pic-jss.png?dl=0
— https://www.dropbox.com/s/ewej8bex4776kfv/bg-cover-jss.jpg?dl=0 https://www.dropbox.com/s/ewej8bex4776kfv/bg-cover-jss.jpg?dl=0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/opencollective/backyourstack/issues/42#issuecomment-407279739, or mute the thread https://github.com/notifications/unsubscribe-auth/AADOWJwRJ4UxU4mKVS3TpxbStWBlZJW5ks5uJqaLgaJpZM4VFN7P.

Closing the issue.
We'll track our progress on the Open Collective logo specification strategy here: https://github.com/opencollective/opencollective/issues/1185
In the meantime, for anyone having logo issues on Back Your Stack, ping us or open a PR similar to this commit:
https://github.com/opencollective/backyourstack/commit/870d54ab6ec8f46afa0a24e35a16a13f9df35ca0


how to monitor APP go in background

We use GitHub Issues for bugs.
If you have a non-bug question, ask on Stack Overflow: http://stackoverflow.com/questions/tagged/react-native
If you have a feature request, p
ou have a feature request, post it on Product Pains: https://productpains.com/product/react-native/
--- Please use this template, and delete everything above this line before submitting your issue ---
Description
[FILL THIS OUT: Explain what you did, what you expected to happen, and what actually happens.]
Reproduction
[FILL THIS OUT: Try to reproduce your bug on rnplay.org and provide a link. If you can't reproduce the bug on rnplay.org, provide a sample project.]
Solution
[FILL THIS OUT: What needs to be done to address this issue? Ideally, provide a pull request with a fix.]
Additional Information

React Native version: [FILL THIS OUT: Does the bug reproduce on the latest RN release?]
Platform: [FILL THIS OUT: iOS, Android, or both?]
Operating System: [FILL THIS OUT: MacOS, Linux, or Windows?]

@xiaomuxi https://facebook.github.io/react-native/docs/appstate.html

@facebook-github-bot stack-overflow


Session is Undefined after Creating Rest Client using a Session created from Storage

I have a cloud function whose purpose is to get the shop's orders.
I create the shopify object:
require('@shopify/shopify-api/adapters/node');
var {shopifyApi, LATEST_API_VERSION, Session} = require('@shopify/shopify-api');

const shopify = shopifyApi({
	apiKey: 'XXXXXXX',
	apiSecretKey: 'XXXXXXXXXX',
	scopes: ['read_orders'],
	hostName: 'host-name.net'
});

Then I pull the session data from the database and create the rest client and make a call:
var sessionData = getSessionFromStorage();
const sessionCopy = new Session(sessionData);
const restClient = new shopify.clients.Rest({sessionCopy});

const getResponse = await restClient.get({
	path: 'orders',
});

But I get this error: TypeError: Cannot read properties of undefined (reading 'accessToken')
From this line: (/node_modules/@shopify/shopify-api/dist/cjs/lib/clients/admin/rest/client.js:27:50)
which is inside the rest client constructor, this if statement:
if (!config.isCustomStoreApp && !session.accessToken) {
       throw new error.MissingRequiredArgument('Missing access token when creating REST client');
}

So 'session' is undefined here. I cannot figure out why. sessionData is just an object with these properties:
accessToken
id
isOnline
scope
shop
state

After creating a new session with const sessionCopy = new Session(sessionData); the sessionCopy object contains the above plus:
expires: undefined
onlineAccessInfo: undefined

Hey @nickheady,
thanks for reporting this issue. Could it be that this line
const restClient = new shopify.clients.Rest({sessionCopy});

should instead be
const restClient = new shopify.clients.Rest({session: sessionCopy});


Add region option to Dataflow pipeline options.

R: @charlesccychen
cc: @dhalperi

Thanks, LGTM.

Coverage decreased (-0.02%) to 70.126% when pulling fd1190f196b0c3e3747e1482ca8e2b28a484310d on aaltay:region into 6d627534b498a418c191ad43c135d3e115c4b5a2 on apache:master.


Using StringLookup as 1st layer in a Sequential model raises UnimplementedError since TF 2.8.0

System information.

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04 (Google Colab)
TensorFlow installed from (source or binary): binary (preinstalled on Google Colab)
TensorFlow version (use command below): v2.8.0-0-g3f878cff5b6 2.8.0
Python version: 3.7.12
Bazel version (if compiling from source): N/A
GPU model and memory: N/A
Exact command to reproduce:

import tensorflow as tf

cat = ["Paris", "Singapore", "Auckland"]
str_lookup_layer = tf.keras.layers.StringLookup()
str_lookup_layer.adapt(cat)
lookup_and_embed = tf.keras.Sequential([
    str_lookup_layer,
    tf.keras.layers.Embedding(input_dim=str_lookup_layer.vocabulary_size(),
                              output_dim=2)
])
lookup_and_embed(tf.constant([["Paris"], ["Singapore"], ["Auckland"]]))  # ERROR!

This code is available in this gist.
Describe the problem.
Since TF 2.8.0, using a tf.keras.layers.StringLookup layer as the first layer in a Sequential model raises an exception when calling the model: UnimplementedError: Exception encountered when calling layer "sequential" (type Sequential). Cast string to int64 is not supported [Op:Cast]. The problem did not exist in TF 2.7.1.
Full stacktrace:

---------------------------------------------------------------------------
UnimplementedError                        Traceback (most recent call last)
[<ipython-input-2-ee4b4b94a15e>](https://localhost:8080/#) in <module>()
      7                               output_dim=2)
      8 ])
----> 9 lookup_and_embed(tf.constant([["Paris"], ["Singapore"], ["Auckland"]]))

1 frames
[/usr/local/lib/python3.7/dist-packages/keras/utils/traceback_utils.py](https://localhost:8080/#) in error_handler(*args, **kwargs)
     65     except Exception as e:  # pylint: disable=broad-except
     66       filtered_tb = _process_traceback_frames(e.__traceback__)
---> 67       raise e.with_traceback(filtered_tb) from None
     68     finally:
     69       del filtered_tb

[/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/ops.py](https://localhost:8080/#) in raise_from_not_ok_status(e, name)
   7184 def raise_from_not_ok_status(e, name):
   7185   e.message += (" name: " + name if name is not None else "")
-> 7186   raise core._status_to_exception(e) from None  # pylint: disable=protected-access
   7187
   7188

UnimplementedError: Exception encountered when calling layer "sequential" (type Sequential).

Cast string to int64 is not supported [Op:Cast]

Call arguments received:
  • inputs=tf.Tensor(shape=(3, 1), dtype=string)
  • training=None
  • mask=None

Describe the expected behavior.
In TF 2.7.1, the code works and gives an output similar to this one:
<tf.Tensor: shape=(3, 2), dtype=float32, numpy=
array([[-0.02887753, -0.01268407],
       [ 0.04601531, -0.02668235],
       [ 0.03409723, -0.03205377]], dtype=float32)>

One workaround is to add an InputLayer as the first layer:
import tensorflow as tf

cat = ["Paris", "Singapore", "Auckland"]
str_lookup_layer = tf.keras.layers.StringLookup()
str_lookup_layer.adapt(cat)
lookup_and_embed = tf.keras.Sequential([
    tf.keras.layers.InputLayer(input_shape=[], dtype=tf.string),
    str_lookup_layer,
    tf.keras.layers.Embedding(input_dim=str_lookup_layer.vocabulary_size(),
                              output_dim=2)
])
lookup_and_embed(tf.constant([["Paris"], ["Singapore"], ["Auckland"]]))  # works! :)

@sachinprasadhs,
I was able to reproduce the issue on Colab using TF v2.8 and TF-nightly(2.9.0-dev20220303). Please find the gist here for reference.Thanks!

Same here.
# tf2.5 -> work
lookup = tf.keras.layers.experimental.preprocessing.StringLookup()
lookup.adapt(my_vocab)
embedding = tf.keras.Sequential([
    lookup,
    tf.keras.layers.Embedding(
        lookup.vocabulary_size(),
        dim
    )
])

# tf2.8 -> not work
lookup = tf.keras.layers.StringLookup()
lookup.adapt(my_vocab)
embedding = tf.keras.Sequential([
    lookup,
    tf.keras.layers.Embedding(
        lookup.vocabulary_size(),
        dim
    )
])

# tf2.8 -> work
embedding = tf.keras.Sequential([
    tf.keras.layers.StringLookup(
        vocabulary=my_vocab
    ),
    tf.keras.layers.Embedding(
        len(my_vocab) + 1,
        dim
    )
])

I found a slow down in model prediction speed in tf2.8 compared to tf2.5.
I suspect that this error may be related to the slow down.

Me TOO!
my code work in TF 2.7 but when update to 2.8 StringLookup fail in Sequential model while working well in Subclass implementation of same netwoek

Thanks for filing! This is an issue with Sequential models, where they will essentially assume that any layer can be traced with a an input matching the layer's dtype. This is an issue hitting quite a few preprocessing layers (though due to some refactoring it looks like StringLookup is newly affected in 2.8). We definitely need a fix here.
For now, the fix suggested above, use a keras.Input(..., dtype='string') as the first layer in your sequential is a good workaround. Functional models will also not be affected, as they always have a clear dtype.
Re performance, I don't think that would be related? The only change I re StringLookup performance would be stricter error checking with num_oov_tokens=0, which could lead to slower performance in that case.
Anyway, the end goal here should be to fix tracing inside the Sequential model so it does not make invalid assumptions about input types.


Documentation lacks required route53 iam rights

I found it hard to determinate minimal set of route53 rights which controller requires.
It would be nice to have theme somewhere in the example iam policy or as separate one.

The controller doesn't manage route53, the external-dns controller is the recommended method to manage DNS.

Why then the controller performs create/update/delete route53 requests (I'm on alb-ingress-controller-helm-0.0.10)?


CLIENT LIST cmd

resolves #1134

@JyotinderSingh this is inital version of changes, have a look and let me know if any code structure changes are required.
I have created a slice of clients which contains all the clients connected to the resp server.
Ideally this slice should reside in iothread package itself. And evalClient fn (eval package) should import it, but this would not work since current dependency chart looks like this and importing iothread package in eval package creates circular dependency.
flowchart TD
    A[server] --> B("iothread
    IOThread interface
    BaseIOThread struct
    ")
    B --> C(ops)
    C -->D(comm)
    C --> E(cmd)
    C -->F("eval
    EvalResponse")

    B --> Z(shard)
    Z --> C
    Z --> F

My solution - I have pulled out IOThread interface out in a new global package(we can think of a better name) and kept the slice of clients in eval package.
This solution works but I think this is not the ideal way to do it. I'd like your suggestions here.


[FLINK-7227][Table API & SQL]Fix the the TableSource predicate push…

… down issue for OR and AND expression with more than 2 predicates
What is the purpose of the change
Currently, we can't push more than 2 predicates for OR expression in TableSource. In this PR, we want to solve this issue.
Brief change log

Made changes in RexNodeToExpressionConverter

For predicate push down, first we are converting expression to conjunctive normal form then passing to RexNodeToExpressionConverter. So issue was only generated for OR expression, but we handle this issue for non-conjunctive normal form to solve for AND expression.
Verifying this change

Add tests to verify that RexNodeToExpressionConverter is handling conjunctive and non-conjunctive normal forms successfully.

RexProgramExtractorTest#testExtractORForPredicatePushDown
RexProgramExtractorTest#testExtractNonCnfANDForPredicatePushDown
RexProgramExtractorTest#testExtractCnfANDForPredicatePushDown

To verify predicate push down for OR and AND expression following test is added

AddTableSourceTest#testBatchFilterableFullyPushedDownORANDExpressions

this test depends on TestFilterableTableSource#applyPredicate function, so we made changes in applyPredicate function to verify this test.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving):no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

Hi @uybhatti, thanks for opening a PR. Please read and fill out the template in the description of the pull request. Thank you.

thanks for the PR. I'll adjust some tests and will merge it


About Your Paper named Deep Learning With Convolutional Neural Networks for EEG Decoding and Visualization

I see your paper had support Supporting Information , I can't find that support file,which contains "Section 2.7". Could you send it to me in your free time?  My Email-adress is<EMAIL_ADDRESS>Thank you very much .

you can find it on https://onlinelibrary.wiley.com/doi/full/10.1002/hbm.23730 if you scroll to the bottom. Direct link https://onlinelibrary.wiley.com/action/downloadSupplement?doi=10.1002%2Fhbm.23730&file=hbm23730-sup-0001-suppinfo.pdf


Auto Currency Generation Issues

I'm having an issue with currency generation, when users use the .plant  command others can pick - just like it should be, however when the bot plants currency through auto generation (.gc) people cant pick it.  I've set the CurrencyGenerationPassword to False thinking it might be an issue with that, however the problem persists.   Hopefully you can help.

Duplicate. #2439


Update automerge-example to v1beta1

Further to https://github.com/rhd-gitops-example/services/issues/55, add support for Tekton v1beta1 APIs to  automerge-example, splitting the sample into v1alpha1 and v1beta1 directories, and removing all PipelineResources from the v1beta1 version. Hopefully the changes made in https://github.com/rhd-gitops-example/services/pull/97 will be largely applicable to this second sample.

PR is in so let's close this


Non-simple variable usage inside subshell breaks parsing

Inserting this code into a bash script will cause all lines below it to lose syntax highlighting:
var_2=$(rev <<< ${var_1} | cut -d '/' -f 1 | rev)

@tbg10101 This is already fixed for the next update, same fix as for #505 , I think.
I'll post a new update shortly, as this is a serious issue which might break IntelliJ.


--secret option seemed doesn't work when combined with --new

In this page :

If you don't have a Blob Storage, you can run az webapp connection create storage-blob --new --secret to provision a new one and directly get connected to your app service.

When executing this in my cloud shell, the creation failed because I don't have the permission of RoleAssignment in the subscription.
bryce@Azure:~$ az webapp connection create storage-blob --new --secret
The resource group which contains the webapp (--resource-group/-g): brycechen-test
Name of the webapp (--name/-n): bcstartertest
Apply interactive input arguments: --resource-group brycechen-test --name bcstartertest
Connection name is not specified, use generated one: --connection storageblob_eqydx
Client type is not specified, use detected one: --client-type dotnet
Start creating a new storage-blob
Created, the resource id is: /subscriptions/9e347dc4-e2fb-4892-b7c0-ca6f58eeed6d/resourceGroups/brycechen-test/providers/Microsoft.Storage/storageAccounts/accountrwgou/blobServices/default
The auth info used to create connection is: {'auth_type': 'systemAssignedIdentity'}
Start creating the connection
(UnauthorizedResourceAccess) You do not have permission 'Microsoft.Storage/storageAccounts/providers/roleAssignments/write' to perform ...

But I think the expected authentication was using an access key and password rather than a system identity. As illustrated in the cli help az webapp connection create storage-blob -h
AuthType Arguments
    --secret                     : The secret auth info.
        Usage: --secret.
    --service-principal          : The service principal auth info.
        Usage: --service-principal client-id=XX secret=XX

        client-id      : Required. Client id of the service principal.
        object-id      : Optional. Object id of the service principal (Enterprise Application).
        secret         : Required. Secret of the service principal.
    --system-identity            : The system assigned identity auth info.
        Usage: --system-identity.
    --user-identity              : The user assigned identity auth info.
        Usage: --user-identity client-id=XX subs-id=XX

        client-id      : Required. Client id of the user assigned identity.
        subs-id        : Required. Subscription id of the user assigned identity.

So I tried to create in Portal manually a storage account, and then connect to it using
az webapp connection create storage-blob --secret

and this worked as expected.
So it seems when using --new to creat a new blob storage at the same time specifying --secret doesn't work so it falls back to the default option system-identity which ranks the first in Portal slection. Things can be wrong with the CLI option parsing or backend task scheduling mechanism. Thanks!

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

ID: 7d676dd4-0a4f-4ace-cc03-db83e9a03fef
Version Independent ID: b52f0810-1da8-8824-5764-5cc349bca18e
Content: Quickstart - Create a service connection in App Service with the Azure CLI
Content Source: articles/service-connector/quickstart-cli-app-service-connection.md
Service: service-connector
GitHub Login: @shizn
Microsoft Alias: xshi

@shizn Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

This issue has been fixed in the CLI. Please upgrade to the latest version and try it again. Thanks!

#please-close


Invalid Links fixed

Notes for Reviewers
There are some invalid links in this page - https://docs.meshery.io/project/contributing/contributing-cypress
With this PR the correct link have been added
Signed commits

[x] Yes, I signed my commits.

🚀 Preview for commit d26e79308e629c3cd3505856539ca578077a9f29 at: https://656a2c5e745efd2a0f73b6d9--meshery-docs-preview.netlify.app


chore(deps): bump start-server-and-test

Codecov Report

Merging #1486 (55c35fa) into main (3c78d0e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1486   +/-   ##
=======================================
  Coverage   85.97%   85.97%
=======================================
  Files          83       83
  Lines        9236     9236
  Branches      506      506
=======================================
  Hits         7941     7941
  Misses       1295     1295

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


How to set the display hierarchy for the same node with multiple Renderable ？

Each node can only have one renderable attached. However, you can create a parent node and add multiple children to it that each have their own renderable attached.


Is this library abandoned?

No it's not. I use this library, and I plan to improve this in the near future.

Most probably the API will change a bit though. Also, I would love to hear suggestions. And PRs are welcome :)


Only parse info and entitlements when generators are enabled

This is a small change that make sure info plists and entitlement files are only parsed if the generators for those types are actually enabled. This is a workaround for an issue where URLs to entitlement files cannot be resolved at the moment.
Merging this PR would give users of the library the option to disable the entitlements generator if they don't need it and that way remove the warning  "[R.swift] File could not be parsed as InfoPlist from URL:  {entitlements url}"

Great, thanks!


fix npe that can occur with WinRM when no subnet IP

do a better job of returning public IP but above all don't NPE

note:

32285720a098eef1769c202cadd12390d4ef1a7c fixed this for SshML but missed this
https://github.com/apache/brooklyn-server/pull/536 backported a fix including WinRM to 0.9 but missed master

so this just fills those gaps


你好，  我得lunc从TerraClassc跨链到BSC，但是没收到

TX hash 305738C4F7E8093C49325E3D57E9EFE78DD8C5DB51EAAB579EC5FA4A01CB99D7
我的Terralassc地址terra1e5lv3rzlha67m0nru9r5zykfcd2nynyx7eatjq

去https://www.portalbridge.com/#/redeem，但是提示这个：
The daily notional value limit for transfers on Solana has been exceeded. As a result, the VAA for this transfer is pending. If you have any questions, please open a support ticket on


Variuos small changes

DotNet.ReproducibleBuilds is official Microsoft NuGet inside dotnet org: https://github.com/dotnet/reproducible-builds
This is required in order to make the assemblies deterministic. You can read more about this, but right now you are missing some CI specific properties:

You can check metadata here: https://nuget.info/packages/MyCSharp.HttpUserAgentParser/3.0.1
global.json is not needed because it prohibits the use of new versions of the sdk (and, as a result, the latest code analyzers). this will also not work for CICD as the dotnet 8.0.100 sdk will not allow you to run the net7 target framework tests.
Nuget.config contains default values and can be removed, the default behavior is exactly the same as described
Microsoft.AspNetCore.Http and Microsoft.AspNetCore.Http.Abstractions are deprecated and their use is not recommended. You can check it here - https://www.nuget.org/packages/Microsoft.AspNetCore.Http

The replacement for it is to use <FrameworkReference Include="Microsoft.AspNetCore.App" />. But this doesn't make sense in the main library, so HttpContextExtensions.cs has been moved to the AspNet library.
net7 has been removed from testing because net7 has a short lifecycle and it expires after 50 days, and many developers no longer have the net7 sdk installed. However, with only the net8 sdk installed it is impossible to run net7 tests

Thank you for your PR but...

you deleted recommende files for CICD - why?
You only added DotNet.ReproducibleBuilds which is not required / wanted in this repo
The other changes dont make sense.

Thank you. But I have do close this.

@BenjaminAbt Sorry, I missed the explanation block:

DotNet.ReproducibleBuilds is official Microsoft NuGet inside dotnet org: https://github.com/dotnet/reproducible-builds
This is required in order to make the assemblies deterministic. You can read more about this, but right now you are missing some CI specific properties:

You can check metadata here: https://nuget.info/packages/MyCSharp.HttpUserAgentParser/3.0.1
global.json is not needed because it prohibits the use of new versions of the sdk (and, as a result, the latest code analyzers). this will also not work for CICD as the dotnet 8.0.100 sdk will not allow you to build the net7 target framework.
Nuget.config contains default values and can be removed, the default behavior is exactly the same as described
Microsoft.AspNetCore.Http and Microsoft.AspNetCore.Http.Abstractions are deprecated and their use is deprecated. You can check it here - https://www.nuget.org/packages/Microsoft.AspNetCore.Http

The replacement for it is to use . But this doesn't make sense in the main library, so HttpContextExtensions.cs has been moved to the AspNet library.
net7 has been removed from testing because net7 has a short lifecycle and it expires after 50 days, and many developers no longer have the net7 sdk installed. However, with the net8 sdk installed it is impossible to run net7 tests

You are active in the open source scene, so you should know that direct PR without discussion is usually not a good idea :-)
You don't need an extra NuGet package for deterministic builds. There has been an MSBuild parameter for years, and now also a dotnet pack parameter.
We already have this with other NuGet enhancements on our agenda.


Allow rotation of multiple elements at once

Now that we have rotation support the next nice addition will be allowing us to select multiple elements all at once and be able to rotate them together as a group.

Will need a rewrite of multiselection in general.

I wonder if this is any easier now that you all have implemented 1648

Sadly, no. The grouping mechanism is just an abstraction, but underneath we're still working with regular elements (and even if not, we'd still need to apply those transformations individually upon ungroup).

It would require a lot of coding and I don't feel like implementing it at the moment, but this is something possible with our current data structure.

(Animation created with excalidraw-claymate.)

I took another approach for simpler implementation. see #1960


Increase segmentation areas?

I want to automatically generate masks (regions that should be ignored by another model) for my images. Segment-anything works wonderfully, but the masks are too tight-fitting. Is it possible to expand a given mask in all directions by some n pixels, and then clip the expended pixels that fall outside of the original image?

You can achieve something like this using 'morphological filtering', specifically 'dilation', which is available using opencv.
The code would be something like:
import cv2
import numpy as np

# ... Set up SAM model

# Call SAM to get masks
masks, _, _ = predictor.predict(...)

# Grab example mask in uint8 format (assuming we used multimask)
# (if you're only generating 1 mask, you don't need to index with [0])
mask_uint8 = np.uint8(masks[0]) * 255

# Expand (dilate) the mask
ksize = (15,15)
kernel = cv2.getStructuringElement(cv2.MORPH_ELLIPSE, ksize)
expanded_mask_uint8 = cv2.morphologyEx(mask_uint8, cv2.MORPH_DILATE, kernel)

# If you want the mask back in True/False format
expanded_mask_bool = expanded_mask_uint8 > 0

@heyoeyo Thank you very much! I had actually tried using:
mask = np.random.choice([False, True], size=(640, 512))
mask_uint8 = mask.astype(np.uint8) * 255
kernel = cv2.getStructuringElement(cv2.MORPH_ELLIPSE, (11, 11))
dilated_mask = cv2.dilate(mask_uint8, kernel)

But for some reason it was dilating the entire mask (causing an issue with the edges of the image). It must be something to do with cv2.dilate(mask_uint8, kernel).
Anyway, your approach worked, so thank you again!


Support for fade-in and fade-out duration

Right now fade-in and fade-out duration is fixed. it will be nice to be able to configure it as well.

You can already do this with CSToastStyle's fadeDuration property.