[iOS] Non-editable, Multiline TextInput chops text on Re-Render

Is this a bug report?
Yes.
Environment

react-native -v: react-native-cli: 2.0.1 react-native: 0.46.4
node -v: v7.7.2
npm -v: 4.1.2

Then, specify:

Target Platform: iOS

Development Operating System: macOS Sierra v10.12.5

Steps to Reproduce

(Write your steps here:)

Create TextInput with long, multiline text value, set editable to false
Create Text with same value as above
Toggle between the two components using state change

Expected Behavior
Long text appears as scrollable and fully created inside disabled TextInput, as it would in an editable TextInput or plain Text.
Actual Behavior
Text is cut short, like this :

Reproducible Demo
https://snack.expo.io/BkX2enyUZ

I think the issue here might be more with your styling (padding/height etc.) than a bug to do with TextInput/Editable.
I've remove the styling from your snack and just left it with a flex: 1 and it seems to render fine:
https://snack.expo.io/By8gpCk8b


Breaking changes on ecto 3.4.5

Precheck

Do not use the issues tracker for help or support requests (try Elixir Forum, Stack Overflow, IRC or mailing lists, etc).
For proposing a new feature, please start a discussion on elixir-ecto.
For bugs, do a quick search and make sure the bug has not yet been reported.
Finally, be nice and have fun!

Environment
Development Environment

Elixir version (elixir -v): 1.9.4
Database and version (PostgreSQL 9.4, MongoDB 3.2, etc.): PosgreSQL 10.13
Ecto version (mix deps): 3.4.5
Database adapter and version (mix deps): Postgrex 0.15.0, ecto_sql 3.4.4
Operating system: Ubuntu 18.04 lts

Production Envrionment

Elixir version (elixir -v): 1.9.4
Database and version (PostgreSQL 9.4, MongoDB 3.2, etc.): PosgreSQL 11.8
Ecto version (mix deps): 3.4.5
Database adapter and version (mix deps): Postgrex 0.15.0, ecto_sql 3.4.4
Operating system: Centos7

Current behavior
The process of running the app

mix deps.get
mix deps.update --all
iex -S mix phx.server

The response i get is
$ mix desp.update --all
==> ecto
Compiling 55 files (.ex)

== Compilation error in file lib/ecto/changeset.ex ==
** (Ecto.Query.CompileError) true is not a valid query expression, :select expects a query expression or a list of fields

    expanding macro: Ecto.Query.select/2
    lib/ecto/changeset.ex:1848: Ecto.Changeset.unsafe_validate_unique/4
    expanding macro: Ecto.Query.limit/2
    lib/ecto/changeset.ex:1849: Ecto.Changeset.unsafe_validate_unique/4
    (elixir) expanding macro: Kernel.|>/2
    lib/ecto/changeset.ex:1849: Ecto.Changeset.unsafe_validate_unique/4
    (elixir) expanding macro: Kernel.if/2
    lib/ecto/changeset.ex:1841: Ecto.Changeset.unsafe_validate_unique/4
could not compile dependency :ecto, "mix compile" failed. You can recompile this dependency with "mix deps.compile ecto", update it with "mix deps.update ecto" or clean it with "mix deps.clean ecto"

Include code samples, errors and stacktraces if appropriate.
Expected behavior
I understand ecto got an update to 3.4.5, i hoped this is a minor update so there should be no breaking changes.
I have also tested on Centos7 and results are the same.
Probably this expected and am missing something, would highly appreciate correction.
Temporary fix
Lock ecto to 3.4.4 with  {:ecto, ">= 3.4.4 and < 3.4.5"}

Can you please provide a failing query? I tried select: true locally and it works just fine.

Unfortunately i can't recreate this with ecto 3.4.5, I created a new mix project, added ecto 3.4.5, but i can not go past the compiling ecto error, this is the current elixir version am running
Erlang/OTP 22 [erts-10.4] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]

Elixir 1.10.2 (compiled with Erlang/OTP 22)

Could you run rm -rf deps _build and try again?
Also, since you have this failure when compiling Ecto, this should also be a way to surface the problem:
git clone git@github.com:elixir-ecto/ecto && cd ecto && mix deps.get && mix compile

This is really weird, I cannot reproduce this error either and I tried on Elixir 1.10.2 too.

Oh, you already tried a new project.

git clone git@github.com:elixir-ecto/ecto && cd ecto && mix deps.get && mix compile

..got same results.

what's your OTP version? Could you paste the output of mix hex.info?

what's your OTP version? Could you paste the output of mix hex.info?

15:10 $ mix hex.info
Hex:    0.20.4
Elixir: 1.9.4
OTP:    22.0

Built with: Elixir 1.9.4 and OTP 20.3

I can also confirm that Ecto is broken after the upgrade:
$ elixir --version
Erlang/OTP 22 [erts-10.4] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [hipe]
Elixir 1.9.0 (compiled with Erlang/OTP 22)

Errors:
$ mix test
...
==> ecto
Compiling 55 files (.ex)
== Compilation error in file lib/ecto/changeset.ex ==
** (Ecto.Query.CompileError) true is not a valid query expression, :select expects a query expression or a list of fields
    expanding macro: Ecto.Query.select/2
    lib/ecto/changeset.ex:1848: Ecto.Changeset.unsafe_validate_unique/4
    expanding macro: Ecto.Query.limit/2
    lib/ecto/changeset.ex:1849: Ecto.Changeset.unsafe_validate_unique/4
    (elixir) expanding macro: Kernel.|>/2
    lib/ecto/changeset.ex:1849: Ecto.Changeset.unsafe_validate_unique/4
    (elixir) expanding macro: Kernel.if/2
    lib/ecto/changeset.ex:1841: Ecto.Changeset.unsafe_validate_unique/4
could not compile dependency :ecto, "mix compile" failed. You can recompile this dependency with "mix deps.compile ecto", update it with "mix deps.update ecto" or clean it with "mix deps.clean ecto"

Thanks you both for reporting and confirming this. This is bug in OTP 22.0 and 22.0.1 around guards handling and it since has been fixed in OTP 22.0.2. It is strongly recommended that you upgrade to at least 22.0.2 as your application might be silently broken.
I was able to verify it like this:
% docker run -it hexpm/elixir:1.9.4-erlang-22.0.1-ubuntu-bionic-20200219 elixir -e 'defmodule M do def f(atom) when is_atom(atom) and not is_boolean(atom) and atom != nil, do: :bug; def f(_other), do: :ok end; IO.inspect M.f(true)'
:bug

% docker run -it hexpm/elixir:1.9.4-erlang-22.0.2-ubuntu-bionic-20200219 elixir -e 'defmodule M do def f(atom) when is_atom(atom) and not is_boolean(atom) and atom != nil, do: :bug; def f(_other), do: :ok end; IO.inspect M.f(true)'
:ok

Awsome stuff, thanks guys!

Just created a brand new project  with
 mix phx.new tzipper --live --database mysql
went to directory tzipper, did a
mix ecto.create
and got this:

D:\repos\tzipper [master ≡ +9 ~1 -0 !]> mix ecto.create
==> ecto
Compiling 55 files (.ex)

== Compilation error in file lib/ecto/changeset.ex ==
** (Ecto.Query.CompileError) true is not a valid query expression, :select expects a query expression or a list of fields

    expanding macro: Ecto.Query.select/2
    lib/ecto/changeset.ex:1848: Ecto.Changeset.unsafe_validate_unique/4
    expanding macro: Ecto.Query.limit/2
    lib/ecto/changeset.ex:1849: Ecto.Changeset.unsafe_validate_unique/4
    (elixir 1.10.2) expanding macro: Kernel.|>/2
    lib/ecto/changeset.ex:1849: Ecto.Changeset.unsafe_validate_unique/4
    (elixir 1.10.2) expanding macro: Kernel.if/2
    lib/ecto/changeset.ex:1841: Ecto.Changeset.unsafe_validate_unique/4
could not compile dependency :ecto, "mix compile" failed. You can recompile this dependency with "mix deps.compile ecto", update it with "mix deps.update ecto" or clean it with "mix deps.clean ecto"

I encountered this in my Travis CI pipeline today. Bumping up the otp_release to 23.0 fixed it:
language: elixir
elixir: '1.10.3'
otp_release: '23.0'

Note that OTP 23 is not currently listed in https://hexdocs.pm/elixir/v1.10/ /compatibility-and-deprecations.html - I don’t know if this means it’s not recommended or if it just means Elixir doesn’t make use of any new features.

v1.10.3 supports it, we just haven't published a new version of the page yet. :)

v1.10.3 supports it, we just haven't published a new version of the page yet. :)


nuget package depends on Avro.FSharp.Annotations, which doesn't exist

In the new version 1.0 the lib depends on two additional packages, one of them is
Avro.FSharp.Annotations
But this one isn't in nuget, therefore it is not possible for me to install that version.
https://www.nuget.org/packages/Avro.FSharp/#dependencies-body-tab

fixed. see version 1.0.1

Thank you!


I cannot connect my wallet to the AstroDao platform. The option isn't coming up.

Please fix this.

can you please provide more information? browser, screenshot  of the behaviour?


ModelCompiler is not properly setting the default model_name

This is happening when using a ModelCompiler directly. Everything works as intended from the command line.  Given a directory structure of:
src/
  Modules/
    Hello.lua
  SayHello.lua

And this build script:
from elixir.compiler import ModelCompiler

compiler = ModelCompiler("src/", "model.rbxmx")
compiler.compile()

This gives us a model whose root directory is a blank string:

This was to do with the trailing slash. os.path.basename was considering everything after src/ to be the basename, but that's not what we were looking for. os.path.normpath is now in use so that the path will be normalized to src, which will be picked up as the basename.


py2q in c

The following conversion in master
q).p.py2q .p.pyeval"np.int64(1)"
1

is broken in  jfakx-py2q-in-c
q).p.py2q .p.pyeval"np.int64(1)"
foreign

new pull request with fix #30


The Canonical home should probably not be a fork

It prevents us from being able to search them.

@ovesh Any thoughts here? We had discussed transferring the repo rather than forking at one point, but I believe the Indeed team had some concerns.

I'm ok with transfering it. We're talking about this procedure, right?
Note that indeedeng's repo is also forked (from tim-group/java-statsd-client), so I don't think it would solve the search problem.

I'm ok with transfering it. We're talking about this procedure, right?
Note that indeedeng's repo is also forked (from tim-group/java-statsd-client), so I don't think it would solve the search problem.

@masci @remh any preferences? Disassociating the fork seems easiest at this point?

The repo is not a fork anymore, thanks everyone for your feedback.


Installation on Enthought Canopy

I can't seem to get this package installed via pip install nflgame.  I am fairly new to python so this could be an easy fix. I've tried some other ways that I've found on google but it just doesn't work. Anyone have a solution??

Looks like you can't connect to https://pypi.python.org/pypi --- Does that link work in your browser? What about https://pypi.python.org/simple/nflgame/ ?

Both of those links worked in my browser.

It could be the security login required for my network that is blocking the package from installing. Guess I shouldn't try to do it at work. I will try it at home and see if I get the same issue.

Firewall?  I'd check to see if Python is allowed to make connections.
On Thu, Aug 4, 2016 at 10:50 AM, Lucas Newkirk<EMAIL_ADDRESS>wrote:

Both of those links worked in my browser.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BurntSushi/nflgame/issues/217#issuecomment-237576954,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEMcd9VzmIMIhgvTiDGuAEZP9pvw2U3Hks5qcfwugaJpZM4Jcxca
.

--
This message is intended only for the person to whom it is addressed. It
may contain confidential and privileged information. Should you receive
this message in error, kindly delete it from your computer and notify the
sender of the error in transmission. Thank you.
-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA2bGhJ8CoDYcp7wtYPfWi
mmkAhj/kzFnth8zWXBdKw8GheRABJxzfUIqwX9qHemN1PMmEnaT8lCRcF0sf1Gl9
XX307xR9mCsik3aLfGX06sEiWf29IpLPvUFdy8EXI0M67tD3pBEBHA9Ymo2uKgTH
/K3i6xkOWvO0SE6HZZhLANnlREn6eJPqTliGkKqQPWPY32u9C1cmU4bsO0GGFc2E
srKA45U2G/SdU3oPXvacRNBbH3uRxqerlBPYJsyaWyJyvT4wMchiilT7dGuJFEUz
Z3D1gAEv9BdwrWiFf3LojDpzIHj940L33Ahmj78zSSB4XJQQHmCxbU2v9BYDhkUm
6eycUZaSSn5LWj3QRi+bNnCgbBIo0s2kfuTr6Pa6iuIrV6/IvbOqqivkDHGsUlmx
4aCkgb67wZTe7J0vdfLJKcEvWNYW8c+WIEYai7rvTV7iI/QQ50Yr9otP+njsQ3aQ
4a5BIxtHOlscoj02zhnM2CMn3f40O8lfiO/iPLk9XPs1R9dxHTFvbNV9ys0Hx6jR
v/1lSNykMVD15cwqcUp6df4WPVO6TYM5CuOPIgWDmCQrWAnJnvUC1SNfnzg+B22C
tL41y/ZzR1jLQ++H0wqvuRvlNs20+wQsWjiGt1/suc6LC/SsGF0mMd6XFifhfT7g
N12zW15zrop7vhauS707qa0CAwEAAQ==
-----END PUBLIC KEY-----

Seems likely. This definitely isn't a problem with nflgame though.


Fire RESIZE_EVENT in addition to GRAPHIC_EVENT on graphic prop update

When a graphic is update via property, the new node was previously not
receiving the correct size when updated. An illustrating scenario is this:

Create two SVGPath instances which we will flip between based on a
"when" binding. The first image shown works correctly, but when
changing to the second image its size is not updated. For example,
in the case where -since the last time it was shown- the window has
been resized.

You are absolutely right...thank's for the heads up :)


perf(remix-architect): improve performance of isBinaryType

close #4760
I noticed that the isBinaryType function of the remix-architect adapter has a complexity of O(N*includesComplexity)
This change could improve complexity to O(1)  but could generate braking change for malformed "Content-Type" headers.

Hi @MichaelDeBoey,
Thank you for your comment.
I don't know what benchmark tools you usually use but I did the test: https://jsben.ch/lCwux
The difference is between 30% and 40%.
Indeed, this change will not have a huge impact on a query but I think it is normal to avoid an iteration for each answer. Especially since remix is mainly intended to return text/html.
This adapter is also intended to be used on the AWS infrastructure which charges by runtime.

a similar change should probably be brought upstream to arc itself https://github.com/architect/functions/blob/main/src/http/helpers/binary-types.js

oh oh oh! one more thing @gyx1000 can you make the same change to the netlify file as well? https://github.com/remix-run/remix/blob/dev/packages/remix-netlify/binaryTypes.ts

@mcansh Yeah perfect.
Sorry I didn't watch the other adapters

As revealed by @ryanblock in https://github.com/architect/functions/pull/539, using Array.includes is faster than Set.has. Indeed, binaryTypes does not have many entries.


[sleeplog] Having sleeplog enabled hinders execution of kill event handlers

Affected hardware version
Bangle 2
Your firmware version
2v12
The bug
For reproduction install sleeplog and enable it. Then run the following code from IDE:
E.on('kill',()=>print("killed"));

Cause a reload, "killed" will not be printed.
Then deinstall sleeplog and run the code again.
A reload prints "killed"

I'm just working on a new version with a power saving mode and therefore removed the unnecessary global. prefixes, but this bug is the same on my version.
I tracked down the bug to the following code line inside the global.sleeplog.stop() function:
E.removeListener('kill', sleeplog.stop);

Changing the event listener to be called through an arrow function prevents this issue:
E.removeListener('kill', () => sleeplog.stop());

I will change this in my upcoming version. Just doing a last overnight test before releasing tomorrow.

This fixes the issue but I'm still trying to find the cause.
I assumed the problem occurs when the system is executing E.removeListener('kill', global.sleeplog.stop);. The value of global.sleeplog.stop might be set to undefined  already.
But testing this assumption by printing its value via the following code, seems to prove me wrong?
>E.on('kill',()=>print("global.sleeplog.stop:", global.sleeplog.stop));
=undefined
>load()
=undefined
global.sleeplog.stop: function () {
  ...
}
>

It seems to me that E.removeListener('kill', () => sleeplog.stop()); won't do anything, because the function you're removing has just been created. I just tried some tests along the lines of:
x = () => print("Hello")
y = () => print("World")
E.on('kill',x)
E.on('kill',y)
E.removeListener('kill',x)

But it all still works for me...
Please can you print the value returned by E["#onkill"] and see what's in it? That is the list of currently set handlers for the kill event

So you're saying that the onkill handler does actually seem to be called? Or is it that the onKill handler stops executing when you call E.removeListener('kill', sleeplog.stop); from within it?

It's possible that some error occurs during execution which stops it running. I guess in that case, because the event is being executed just before the Bangle rips everything down, the error may not be reported?

... sorry for all the comments. So that's the issue I think:
E.on('kill', ()=>{throw new Error("Testing")})

Doesn't show anything at all. I'll add something to Espruino so it checks for errors and reports them,

I just installed the 2v12.32 firmware and reproduced the circumstances first mentioned by halemmerich.
On a reload where now an error should occur nothing is shown on the console.
Detailed setup:

Replaced both E.on('kill', () => sleeplog.stop()); and E.removeListener('kill', () => sleeplog.stop());
with E.on('kill', sleeplog.stop); and E.removeListener('kill', sleeplog.stop); to make the issue occur again.
Forced the watch to reload with load(); twice. (First time to activate the new boot code, second to check if a error is thrown.) No error is written to the console.
Recheck if the issue still is present by adding a test kill listener as mentioned: E.on('kill',()=>print("killed")); and reloading afterwards. Still no error occurs and "killed" is not printed.

I'm not deep enough in the topic to understand what exactly is happening, but it seems that the execution of E.removeListener('kill', sleeplog.stop); inside its function deletes all other kill event listeners, whereas executing E.removeListener('kill', () => sleeplog.stop()); does not cause any trouble.

Ok, thanks. It seems that rearranging the list of events while executing it ends up messing up execution. Just tested and can reproduce with:
function test() {
  print("A");
  E.removeListener("foo",test);
  print("B");
}
E.on('foo', test);
E.on('foo', () => print(c));
E.emit("foo");

To fix this properly on existing firmwares, please could you do something like:
function stopHandler() {
  // your original code here
}

sleeplog.stop = function() {
  E.removeListener('kill', stopHandler);
  stopHandler();
}

E.on('kill', stopHandler);

So now you call sleeplog.stop from your code as you did before, but when the 'kill' event occurs you don't try and remove the handler while it's running.

I already used the following approach that seems to work quiet well to fix the issue (see pull request #1448):
function test() {
  print("A");
  E.removeListener("foo", () => test());
  print("B");
}
E.on('foo', () => test());
E.on('foo', () => print("C"));
E.emit("foo");

Returns: A, B and C
Do you think this needs to be changed?

While fiddling around with the code I experienced the following behavior:
function test() {
  print("A");
  E.removeListener("foo", test);
  print("B");
}
E.on('foo', test);
E.on('foo', () => print("C"));
E.emit("foo");

Returns: A and B
Continue with:
E.emit("foo");

Returns: C
The second emit seems to work as expected: The test function is removed and the reminding listener is called.

Yes, it needs changing - as I'd mentioned above E.on('kill', () => sleeplog.stop()); / E.removeListener('kill', () => sleeplog.stop()); doesn't work - it won't remove the listener at all.


Add the possibility to provide a custom dictionary of observations?

The metrics package is already very handy in integrating custom metrics directly from the driver. It would be great if we could also include a custom obs dictionary to complete the list of variables.
For example, I've had requests to compute metrics on LAI, and biogeochemistry fields (chlorophyll and things like that).
It's easily done by adding a couple of lines to the driver:

Any thoughts?

It's likely this relates to #87 and updating the observation dictionary (and database) with timeseries..

@jservonnat let's talk about this, if you look at the example parameter file I show how to fill the custom_metrics with many custom metrics.
In the above example (to be placed in parameter file for example)
the function "my_custom" receives "var",obs,mod
and then send them back to my_min and my_max
If it easily conceivable that "my_custom" looks at the value of "var" and THEN decides which functions to call. I will push a PR with the updated example to reflect this.
def mymax(slab,nm):
  return {"custom_%s_max" % nm:float(slab.max())}

def mymin(slab,nm):
  return {"custom_%s_min" % nm:float(slab.min())}

def my_custom(var,dm,do):
  out = {}
  for f in [mymax,mymin]:
    out.update(f(dm,"model"))
    out.update(f(dm,"ref"))
  out["some_custom"]=1.5
  return out
compute_custom_metrics = my_custom

@jservonnat I like the idea, it's fairly easy to implement to as it is.


Change Default Country

Is it possible to Change the default country code to UAE, even if the code is not determined, when set as picker.defaultCountryCode = "AE", it's not changing.

Updated as requested. Use picker.forceDefaultCountryCode flag.


Handling assets preloading

How is asset preloading handled in this version?
In Generator Phaser+ v2 there was in src/assets.js file with an array of files in - and then a states/PreLoader.js to load it all in. I don't see anything in the new structure that gets generated?
I noticed in your snake game repo you've added an extra constants directory and stuck an assets.js in there. Is that the new intended way but it's missing from the auto-generated files at the moment?

The Snake game example is a pretty old experiment and looks nothing like the current sample project anymore. It now contains some unrelated stuff. I'll probably start something else and label it a demo later (granted I have free time for that, anyway.)
From now on, game assets should be declared in the splash screen scene using regular Loader calls.
As stated a few issue reports back, the sample project used to include an assets.js module the same way older versions did. After fighting some of the new “Phaser-isms”, however, I decided to downgrade the code. There was not much documentation on the new asset pack format at that time and given I couldn't provide a proper one for use with generator-phaser-plus just yet, I decided it would be best to remove it. Learning the Phaser 3 API is enough cognitive overload already, especially for newcomers. Better rely on something people are more familiar with, and given that many people will learn to code their first games from tutorials these days, that would be better to keep it that way.


add dependabot and gitlab-ci

Hello!
Thanks for your app.
I made some minor edits.
I hope they are useful.
Thanks.

FYI


Clean up after PR #10943

Don't leak the SSL_CTX pair in sslapitest by creating a new one on top
of them, and fix a typo in a comment.
[extended tests]

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

Marking urgent since this seems to be blocking the 1.1.1e release.
cc @mattcaswell

Repo is now frozen, but I will push this when the CIs finish.

Thanks!  Sorry for making the mess in the first place.

I would like to suggest the following (entire) commit message:
test/sslapitest.c: Don't leak the SSL_CTX pair

Create a new one on top of them, and fix a typo in a comment.

[extended tests]

Referring to a PR in the commit message is kinda iffy in my opinion.

I'm happy to see the commit message change, but would propose instead
sslapitest: don't leak the SSL_CTX pair

We have no need for a new set of SSL_CTXs in test_ccs_change_cipher(), so just
keep using the original ones.  Also, fix a typo in a comment.

[extended tests]

I'm fine with Matt making that change while merging (and not re-running the CI).
Looking at what has run of the CI so far, travis seems to be thinking that the boring and krb5 tests are failing (IIRC, well-known), and also that (SSLv3?) client auth is breaking.  I don't remember offhand whether the latter is known (and am in a meeting at the moment so looking is hard)

I'm fine with your proposed commit message, @kaduk

Pushed. Thanks.


Collaboration Service - Handle concurrent edits and conflicts in the collaboration space.

To explore OT
some possible libraries: CodeMirror

Closed with https://github.com/CS3219-AY2324S1/ay2324s1-course-assessment-g11/pull/57


PSR-7 support

Thanks for great feature-rich HTTP client implementation!
Do you have any plans for PSR-7 support? Standard request/response interfaces and so on.

No.
In particular the Streams API of PSR-7 is not compatible with the Promise based API.
It should be easy though, to write a blocking wrapper implementing PSR-7 around Artax. I do not plan to write one, but users are welcome to write their own.

Further Explanation
PSR-7's StreamInterface doesn't work well in an async context without fully buffering all bodies, defeating the entire purpose of using streams. Major problems are __toString(), getContents(), etc.
ReactPHP tried to implement PSR-7 in their HTTP server, but it's not fully compliant. Most stream methods just throw a BadMethodCallException.
In our opinion it doesn't make sense to migrate to such a broken implementation if it can't be fully compatible without breaking basic async principles or the contract.
We have our own interfaces for streams that work well with async that are used across many of our packages.
Additionally, PSR-7 has several weaknesses such as defining streams and URIs inside an HTTP abstraction specification.


Implement Rollback Updates Operation

Since all write operations (incl. updates) performed as appends initially, it is easy to allow rollback written data (before data is compacted). This is useful in case bad data was written e.g. due to application error as gives user to rollback changes.
This operation should allow at least to rollback data written after particular timestamp (and non-compacted yet).

Just a thought: use this rollback functionality to handle partial MapReduce task failures which output data to HBase. Such operations which perform updating data in HBase usually corrupt data in case they are being repeated after task failed in the middle.
Ideally this should be transparent to client code which submits and implements MapReduce job (in case of using HBaseHUT).

Committed initial simplest (scan-based, filter-on-client) implementation.
Ideally server-side fast-forwarding filter should be used to find what records should be deleted. Or even separate index should be created for faster roll backs (depends on how often rollback operation will be performed and how much is usually going to be rolled back).
Also: looks like using CoProcessors may help to avoid server-client trips.
Next (small) step towards better performance/usability: implement MapReduce-based rollback operation.

Committed MapReduce-based rollback implementation.


Simple sequence parameter validation

num, negative, non-zero, boolean
min and max focus
timing parameters: number of pulses and number of pulse trains whole number. pulse duration not higher than PRI etc., igt maximum number of pulses within a pulse train.


Can't set minimum scaling to 0 for EKS node groups

When creating an EKS hosted cluster with nodegroups that have a min_size set to 0, we see the following error:
eks-config-operator-5dc8f6b488-xlbt6 eks-operator time="2021-07-14T12:25:58Z" level=error msg="error syncing 'cattle-global-data/c-4v22d': handler eks-controller: InvalidParameter: 1 validation error(s) found.\n- minimum field value of 1, CreateNodegroupInput.ScalingConfig.MinSize.\n, requeuing"
It looks like the rancher EKS operator is using an older version of the SDK. You can see in the newer version that the constraint has been removed: https://docs.aws.amazon.com/sdk-for-go/api/service/eks/#NodegroupScalingConfig
Note that there is an existing PR (https://github.com/rancher/eks-operator/pull/51/) that updates to SDK 1.40. At this time up to 1.44 is out, so we should attempt to update to the latest and see if there are any regressions.
SURE-3466

@Josh-Diamond Please include these in your validations:

From rancher UI, you should be able to deploy an EKS with 0 nodes in node group. Cluster should come up successfully.
Edit ^^ this cluster and scale up the node group and the Cluster should come up successfully.
Deploy an EKS cluster with nodes. Edit cluster and scale down the nodes in node group to 0 and save changes. Verify the cluster comes up successfully
From EKS console, create an EKS with 0 nodes in node group. Verify user is able to import this cluster into Rancher successfully
Using TF, verify user are able to deploy an EKS with 0 nodes in node group. Cluster should come up successfully.
On 2.6.7, deploy an EKS cluster. Upgrade to 2.6head, edit cluster, and scale down the nodes in the EKS cluster to 0. Edit should be successful and cluster should come up Active.

@Josh-Diamond From the AWS NodegroupScalingConfig docs, desiredSize and minSize for a nodegroup can be 0 but maxSize cannot (min of 1). Keep this in mind for test steps 1 and 5. If you set the maxSize=0 EKS will refuse to create the nodegroup.

Possible bug found
If an eks cluster is provisioned with a node group with 0 nodes, the cluster gets stuck in Waiting for API to be available in the rancher ui and never becomes active.

The above ^ behavior is expected, because if there are no nodes in a node group rancher has nowhere to run the cluster agent. What is expected is that if a node group with 0 nodes is scaled back to have 1+ nodes, the cluster successfully reconnects in rancher. Testing

Additional test - Sergey

Initial test is to have 2 node groups with 1 node in each - confirm how those nodes are shown in the UI (are they both in “No node pool” bucket)?
Scale down one of node groups to 0 and confirm that the cluster is still connected OK and there is nothing obviously wrong with how it shows up in Rancher.
Scale it back to 1 and confirm everything is back to how it was at step #1.

Results
Step 1 - shows "Not in a Pool"

Step 2 - 0/1 nodes stay connected in rancher. 0/0 disconnects. Rancher needs at least 1 node in 1 node pool to stay connected

Step 3 - PASS

Re-opening for QA validation

Awaiting PR merge from 2056 to begin QA validation

W.I.P. - 8/31/22
With Docker on a single-node instance:
Reproduced on rancher v2.6.8:

Verified on rancher v2.6-3e5fb4a537731df7ed96cc9ddae6a3902a57c8b1-head:

Fresh install of rancher v2.6-head
As admin, create a standard user
As standard user, provision a downstream EKS cluster w/ desired_size=0, max_size=1, min_size=0, from rancher UI
Logout as standard user, log in as admin
As admin, verify eks operator version
Verified - rancher/eks-operator:v1.1.5-rc1
Logout Admin. login as standard user
Verified - EKS cluster provisioned w/ desired_size=0, max_size=1, min_size=0, remains in waiting state
Edit Config and scale up node group
Verified - cluster comes up active
As standard user, provision a downstream EKS cluster w/ desired_size=2, max_size=2, min_size=0, from rancher UI
Verified - Cluster successfully provisions
Edit Config and scale node groups to 0; - [ desired_size=0, max_size=1, min_size=0 ]
Verified - Cluster goes into Unavailable state; cluster agent is not connected
Edit Config and scale node groups back up
Verified - Cluster comes up active with nodes
From EKS Console, create a cluster with no node groups and import it into rancher
Veri-FAILED - Cluster in error state; Failed to communicate with cluster: Unauthorized
Terraform Test Case - In Progress

Added a UI enhancement issue to warn users of new behavior.

This was merged prior to 2.7 branching in the rancher/rancher repo.


[stable/nginx-ingress] Add PodSecurityPolicy support

Signed-off-by: Bart Verwilst<EMAIL_ADDRESS>What this PR does / why we need it: Adds initial PodSecurityPolicy support

/ok-to-test

/lgtm

/assign @lachie83

/lgtm


Add TauSigma base class for tau sigma interconversion

To define both functions only once in the library, close #112.

I think the functions should be inside the continuous module, instead of being part of the base class. Mostly because not all continuous distributions need those methods.

Codecov Report

Merging #113 (b843666) into main (498fee8) will decrease coverage by 0.20%.
The diff coverage is 84.61%.

@@            Coverage Diff             @@
##             main     #113      +/-   ##
==========================================
- Coverage   77.38%   77.17%   -0.21%
==========================================
  Files          16       16
  Lines        1835     1827       -8
==========================================
- Hits         1420     1410      -10
- Misses        415      417       +2

Impacted Files
Coverage Δ

preliz/distributions/continuous.py
97.89% <84.61%> (-0.27%)
:arrow_down:

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


feat(phone-input): new phone input component

Hello everyone,
I noticed many users struggling with phone input validation in forms (#903).
Inspired by this, I'm simplifying the process by adding a user-friendly phone input feature. 🚀
Features

This component offers a blend of customization and out-of-the-box styling.
It utilizes the react-phone-number-input package.
Ensure proper validation for any country.

const FormSchema = z.object({
  phone: z
    .string()
    .refine(isValidPhoneNumber, { message: "Invalid phone number" }),
})

Here is a complete video of the different use cases:
https://github.com/shadcn-ui/ui/assets/19254700/cab379de-0947-4c6a-a618-4248206a26c6

@omeralpi thanks for this component!
I wonder if the best idea is to use the react-phone-number-input library which uses under the hood the libphonenumber-js library or a better way would be to use directly the latter with direct shadcn/ui components.

@omeralpi I will be building this same component with the libphonenumber-js core without react-phone-input-number to simplify it

@omeralpi I will be building this same component with the libphonenumber-js core without react-phone-input-number to simplify it

I can say that it's not as simple as that. Because; We'll need to import packages like InputFormat, etc.
Additionally, both libphonenumber-js and react-phone-input-number packages are created by the same person.
libphonenumber-js and react-phone-number-input

Hello guys, is the development of this component still active?


housekeeping: migrate to VSTS

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
housekeeping
What is the current behavior? (You can also link to an open issue here)
We use Cake+GitReleaseManager+GitVersion with AppVeyor to do CI/CD
What is the new behavior (if this is a feature change)?
All CD responsibilities have been 🔥 from Cake. We now use GitNerdVersion. We use VSTS for build and CI/CD.

Is it possible to make Cake skip build target if they are not installed in the environment? Downloading 25 Gb or build tools to be able to work with the solution may be not the easy way for the newcomers. Also, tests are using only net461 target, I guess due to WPF stuff, so this is not necessary to run the test suite.

@ElijahReva can you please open a proposal over at http://github.com/reactiveui/rfcs - that's an aspect that needs to get better. It will need a lot of engineering effort tho. It's something I would like to see us do in time.

@onovotny I'm happy to merge this when you are. Use gitcommits as release notes for now.

@ghuntley I could do this but I have not enough expertise in the cross-plat area. For example, my idea is just to use netstandard2.0 for core library and move all plat-specific stuff to separate projects\nugets. In such case, when VS started, it will disable projects that have no appropriate targets installed and make the first-time contributions much easier. Is it possible? That's what expects? Should I RFC this?
Have no idea how it could be done using Cake other than creating conditional targets per *.csproj file.


Private stream docs

I ended up separating the stream and organization roles.
That made it simpler to convey the fact that organization admins can only change the privacy of private streams if they are subscribers to that stream, and some of the permissions associated with guests. I also think that it makes it easier to scan, because people who have 'org admin' roles might think that they have a strictly higher permissions level than everyone else, when that's not true. In addition to the fact that we have one "and" permission (changing privacy), it adds a decent amount of cognative overhead to take an 'or' of two columns (stream owner and org admin).  That argument might be a little bit of premature optimization, but I wanted to see what you thought.

@rishig

Thanks @Lyla-Fischer! This must have been a fair amount of research, but I'm pretty happy with the current content. Dropped the first commit, since it's sort of independent, and I'm not sure yet how I feel about it (both users and org admins need to know about stream admin).
Made some edits and pushed the second commit to #9553, to get Tim's opinion as well. I removed Guests, since it isn't merged yet / I think in the end they'll be able to do nothing (i.e. we won't give them access to the streams subscription modal at all).
Closing this thread; we can continue the discussion at #9553.


Connector crashes when no /system/namespaces endpoint available

Expected Behaviour
/system/namespaces is implemented.
Current Behaviour
/system/namespaces is not implemented (returns 404 page not found).
Possible Solution

Call https://github.com/openfaas/faas-netes/blob/master/handlers/namespaces.go#L16-L29; or
Copy & paste the code.

Steps to Reproduce (for bugs)

Deploy the OpenFaaS operator.
Call /system/namespaces.

Context
This prevents the latest release of https://github.com/openfaas-incubator/connector-sdk from working at all, as it cannot list namespaces:
https://github.com/openfaas-incubator/connector-sdk/blob/master/types/function_list_builder.go#L33-L36
This causes applications consuming the SDK to crash:
https://github.com/openfaas-incubator/connector-sdk/blob/master/types/controller.go#L156-L159
Your Environment

Docker version docker version (e.g. Docker 17.0.05 ): N/A

What version and distriubtion of Kubernetes are you using? kubectl version

Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.6", GitCommit:"96fac5cd13a5dc064f7d9f4f23030a6aeface6cc", GitTreeState:"clean", BuildDate:"2019-08-19T11:13:49Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.6-eks-5047ed", GitCommit:"5047edce664593832e9b889e447ac75ab104f527", GitTreeState:"clean", BuildDate:"2019-08-21T22:32:40Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}

Operating System and version (e.g. Linux, Windows, MacOS):

MacOS 10.14.6

Link to your project or a code example to reproduce issue:

N/A

What network driver are you using and what CIDR? i.e. Weave net / Flannel

https://github.com/aws/amazon-vpc-cni-k8s

/close: Fixed in https://github.com/openfaas-incubator/connector-sdk/releases/tag/0.5.3

This issue has been raised to track the feature for the operator https://github.com/openfaas-incubator/openfaas-operator/issues/92

See also: https://github.com/openfaas/faas-netes/issues/511


Fix python_2_unicode_compatible import error (closes #26)

Thank you @skorokithakis

No problem! Can you cut a release?

Would be a tag from the repo work for you? Having a hard time uploading it to PyPI.

Hmm, I'm not sure, depends on how much poetry likes that, but if a tag works, so will a commit. What's the trouble with PyPI?

Not sure why Travis fails with 400 bad request. Should probably move to actions
https://travis-ci.org/github/izdi/django-slack-oauth/builds/709545762

Looks like your description couldn't render, at least that's what the error says.


BUILD-169: change filesystem storage approach to mirror k8s/k8s secret/configmap volumes

/assign @coreydaley-redhat
manual testing looks good  ... some of which is reflected in the README update,
though I went through the set of scenarios at https://github.com/openshift/csi-driver-projected-resource#current-status-with-respect-to-the-enhancement-propsal

updates pushed @coreydaley-redhat PTAL thanks

/lgtm


WorkbookFactory.Create does not initialise XSSFWorkbook correctly.

The following code does not read from the file correctly.
IWorkbook test;
			using (var inputStream = File.OpenRead(@"\BudgetTest\resources\TestWorkbook.xlsx")) {
				test = WorkbookFactory.Create(inputStream);
				Console.WriteLine(test.NumberOfSheets);
			}

The output of the number of sheets is 0 however the actual workbook has multiple sheets.
I have a reference to the most current committed version of this repo in my project.

Upon attempting to debug this issue from the NPOI source code it seems that when ParseRelationshipsPart() is called on the PackagePart corresponding to "/xl/_rels/workbook.xml.rels", the incorrect InputStream is returned by relPart.GetInputStream() leading to DocumentHelper.ReadDocument() to create an XPathDocument and XPathNavigator with the contents of /_rels/.rels.
I came to this conclusion by the the information in the Rider debugger, the XPathNavigator.InnerXML contains a string with the file data of /_rels/.rels which is incorrect, it should contain the information from /xl/_rels/workbook.xml.rels.

It appears there was an issue with the file format I had saved on my computer. Re-saving the file fixed these issues.


Revert "fix wrong attribute ordering in the runtime"

This reverts commit 0494db062aa9ebc102ac066b9eeb0c878fc6bb12 as it was a workaround for a Clang bug that is now fixed (see https://reviews.llvm.org/D137979).

@swift-ci please test


use 'make -f Makefile install' install skywalking-python occurred error?

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[ *] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
it's  Environmental error  ？

Bug

Which version of SkyWalking, OS and JRE?
skywalking-python (#21) pyhton3.7

Which company or project?

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.

Error prompt：python3 -m grpc_tools.protoc --version || python3 -m pip install grpcio-tools
python3 -m grpc_tools.protoc -I protocol --python_out=. --grpc_python_out=. protocol//*.proto
Could not make proto path relative: protocol//*.proto: No such file or directory
make: ***[gen] Error 1

Requirement or improvement

Please describe about your requirements or improvement suggestions.

Why did this error occur? The old version was installed successfully without any errors. Did me delete critical files when deleting older versions?

@yue-chao it's my fault to miss one step in the docs, but please clone the submodule first before running make install

To be clear, run git submodule update --init before make install

Thank you. It's done

thank you,this problem is solved
At 2020-06-23 14:53:48, "kezhenxu94"<EMAIL_ADDRESS>wrote:
To be clear, run git submodule update --init before make install
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


API Calls not Returning JSON Datatype - Ping / Internal Services not Loading

Environment
Docker
Version
0.13.2
Describe the problem
The pinging of services has stopped working along with the ability to retrieve information from the local network / internet. The container can ping the local DNS server as well as google. So I am unsure what could be causing this issue.
I will note I am currently not connecting to the web app from the local network. I do not know if that should make an impact. I will check again once I am at home, however I do not believe it will since using a VPN to connect to the local network makes no difference.
I can look in more specific places if you could point me in that direction.
Based on what I have looked at it appears that the API isn't returning JSON data to the browser. I do not know what could have caused this but I am willing to look more into my environment to find out of need be.
Logs
There are no logs I can see that provide info about this issue. Again point me in a direction and I can send info back.
Context

This is what the ping shows on all applications.

This just shows a constant loading animation.

This is the browsers errors, maybe it'll help track down the issue at hand.

More browser screenshot.
Please tick the boxes

[X] I confirm that I attached the proper logs
[X] I've read the docs
[X] I've checked for duplicate issues
[X] I've tried to debug myself

This looks like your homarr is down and your browser is running on a cached page. Try restarting your app.

It is none of those. The app is up and correctly tunneled through cloudflare tunnels.

More Update... I believe the cause of issue was my PiHole. It possibly crashed and was in a locked up state. The API calls that Homarr was making to my PiHole were probably hanging causing Homarr to sit there and wait for a response it was not going to get.
The only why I notices this was because I removed the PiHole integration and everything started to work correctly again.

Strange that your PiHole can pull homarr to a halt like that. This in itself can be a separate issue. Glad you got it working though.
I'll try to replicate it somehow but I don't really know how I'd do that.

My issue is solved however, there still is the underlying issue in Homarr where it was making requests to my PiHole which would never respond. If there isn't a timeout on those requests (or any integration request) there probably should be to prevent this type of issue from occurring in the future.

Strange that your PiHole can pull homarr to a halt like that. This in itself can be a separate issue. Glad you got it working though. I'll try to replicate it somehow but I don't really know how I'd do that.

I can take a look at creating a replication of it using a self made API similar to what pihole does. Maybe I can replicate it. Ill reach back out once I've done so.

Thanks a lot. That would be of great help

I am reading through this issue. Thanks a lot for testing out things and figuring it out ! Very detailed issues are a pleasure to work with.
on a personal note I also remember pihole being extremely slow. Make sure that your server is not using your pihole’s dns or it might try to resolve the links you put at the same time and cloudflare’s anti ddos times you out or something.

Ok, I finally found the time to write all this up for ya. Here is the config as well as the python web server I made up that mimics what Homarr was doing when my pihole apparently locked up.
If any of this is confusing or not working lmk and I can make a video or work with y'all more 1-1 to recreate it in your environment(s). Or I can make a repo with just this stuff in it if you can't get it to work for some reason.
Web Server - aka pretend pihole thats locked up and does not send responses.
Here is the python web server script I wrote up to recreate the issue. This script needs both FastAPI and Uvicorn installed.
This here will install those reqs assuming you've got python installed.
pip3 install fastapi uvicorn

main.py
from fastapi import FastAPI
import time

app = FastAPI()

@app.get("/admin/api.php")
async def read_root():
    for i in range(300):
        time.sleep(1)
        print(f"No Response Sent for {i} seconds.")
    return None

Run python webserver. Run in same dir as main.py file or it'll be mad. Also file must be named main.py or uvicorn will be mad.
uvicorn main:app --reload --host <IP_ADDRESS>

Things I noticed

Issue only is apparent when the pihole integration is ENABLED. If disabled Homarr works as expected.
My portainer install of homarr did not give any ping timeout errors in its log, but the docker install on my laptop does in fact give ping timeout errors.

Instructions to Recreate
Once you've got pihole integration pointed at web server, refresh the page and watch. The pings on any applications in Homarr should always show as loading until the web server sends its response. (Set at 300 seconds of wait). You should see a counter start on the web server showing how long its been since it gave a response of any kind.
Homarr Config File
You will need to change the PiHole IP address to point to the correct instance of the web server.
default.json
{
  "schemaVersion": 1,
  "configProperties": {
    "name": "default"
  },
  "categories": [],
  "wrappers": [
    {
      "id": "default",
      "position": 0
    }
  ],
  "apps": [
    {
      "id": "92c2143c-17ff-4525-9095-78a196b629f9",
      "name": "pihole",
      "url": "http://ip_address:8000",
      "appearance": {
        "iconUrl": "/imgs/logo/logo.png",
        "appNameStatus": "normal",
        "positionAppName": "column",
        "lineClampAppName": 1
      },
      "network": {
        "enabledStatusChecker": true,
        "statusCodes": [
          "200",
          "301",
          "302",
          "304",
          "307",
          "308"
        ]
      },
      "behaviour": {
        "isOpeningNewTab": true,
        "externalUrl": "http://localhost:8080"
      },
      "area": {
        "type": "wrapper",
        "properties": {
          "id": "default"
        }
      },
      "shape": {
        "lg": {
          "location": {
            "x": 4,
            "y": 0
          },
          "size": {
            "width": 2,
            "height": 2
          }
        },
        "md": {
          "location": {
            "x": 1,
            "y": 1
          },
          "size": {
            "width": 1,
            "height": 1
          }
        },
        "sm": {
          "location": {
            "x": 0,
            "y": 1
          },
          "size": {
            "width": 1,
            "height": 1
          }
        }
      },
      "integration": {
        "type": "pihole",
        "properties": [
          {
            "field": "apiKey",
            "type": "private",
            "value": "asdf"
          }
        ]
      }
    },
    {
      "id": "11344711-03c6-442d-a4e3-26ba0f2e8395",
      "name": "homarr",
      "url": "https://homarr.dev",
      "appearance": {
        "iconUrl": "/imgs/logo/logo.png",
        "appNameStatus": "normal",
        "positionAppName": "column",
        "lineClampAppName": 1
      },
      "network": {
        "enabledStatusChecker": true,
        "statusCodes": [
          "200",
          "301",
          "302",
          "304",
          "307",
          "308"
        ]
      },
      "behaviour": {
        "isOpeningNewTab": true,
        "externalUrl": "https://homarr.dev"
      },
      "area": {
        "type": "wrapper",
        "properties": {
          "id": "default"
        }
      },
      "shape": {
        "lg": {
          "location": {
            "x": 0,
            "y": 2
          },
          "size": {
            "width": 1,
            "height": 1
          }
        },
        "md": {
          "location": {
            "x": 0,
            "y": 1
          },
          "size": {
            "width": 1,
            "height": 1
          }
        },
        "sm": {
          "location": {
            "x": 1,
            "y": 1
          },
          "size": {
            "width": 1,
            "height": 1
          }
        }
      },
      "integration": {
        "type": null,
        "properties": []
      }
    }
  ],
  "widgets": [
    {
      "id": "00196eae-0711-45b6-abc2-b4d69d164fe8",
      "type": "dns-hole-summary",
      "properties": {
        "usePiHoleColors": true,
        "layout": "grid"
      },
      "area": {
        "type": "wrapper",
        "properties": {
          "id": "default"
        }
      },
      "shape": {
        "sm": {
          "location": {
            "x": 0,
            "y": 0
          },
          "size": {
            "width": 2,
            "height": 1
          }
        },
        "md": {
          "location": {
            "x": 0,
            "y": 0
          },
          "size": {
            "width": 2,
            "height": 1
          }
        },
        "lg": {
          "location": {
            "x": 0,
            "y": 0
          },
          "size": {
            "width": 4,
            "height": 2
          }
        }
      }
    }
  ],
  "settings": {
    "common": {
      "searchEngine": {
        "type": "google",
        "properties": {}
      }
    },
    "customization": {
      "layout": {
        "enabledLeftSidebar": false,
        "enabledRightSidebar": false,
        "enabledDocker": false,
        "enabledPing": true,
        "enabledSearchbar": true
      },
      "pageTitle": "Homarr ⭐",
      "logoImageUrl": "/imgs/logo/logo.png",
      "faviconUrl": "/imgs/favicon/favicon-squared.png",
      "backgroundImageUrl": "",
      "customCss": "",
      "colors": {
        "primary": "red",
        "secondary": "yellow",
        "shade": 7
      },
      "appOpacity": 100,
      "gridstack": {
        "columnCountSmall": 3,
        "columnCountMedium": 6,
        "columnCountLarge": 10
      }
    }
  }
}

I created a repo as well with a compose file that will spin up both the web server and the latest version of Homarr. It also includes the default.json file as well to make things simple.
https://github.com/oliv10/Homarr-Test

Can you try and tell us if this issue still happens as of the latest image ? v0.14.0 ?

Closing due to inactivity.


Add Travis build status

This PR has been passed the trybot, I'm going to merge it so that it can trigger the first build for master.


Fix: Text inside buttons and chips shouldn't be user selectable

Currently, text inside buttons and chips are selectable. this PR will fix that.
Bug Example: https://codepen.io/kickerbnu/pen/Rwogbpe
See: https://material.io/components/buttons

I will merge your PR soon. Thanks @tomatopickle to contribute with us!


Output filepath (#161)

This is an example of the output changed by this PR:
❯ pre-commit run --all-files
Check for merge conflicts................................................Passed
Trim Trailing Whitespace.................................................Passed
Fix End of Files.........................................................Passed
Check Yaml...............................................................Passed
Check for added large files..............................................Passed
Terraform fmt............................................................Passed
Terraform validate.......................................................Passed
Terraform docs...........................................................Passed
Terraform validate with tfsec............................................Passed
Checkov..................................................................Passed
Terraform validate with tflint...........................................Failed
- hook id: terraform_tflint
- exit code: 3

Running tflint in cluster/default
Running tflint in environments/cloud/dev
Running tflint in environments/cloud/varac
1 issue(s) found:

Warning: Module should include an empty outputs.tf file (terraform_standard_module_structure)

  on outputs.tf line 1:
   (source code not available)

Reference: https://github.com/terraform-linters/tflint/blob/v0.21.0/docs/rules/terraform_standard_module_structure.md

Running tflint in cluster/default
Running tflint in modules/infrastructure/cce
Running tflint in modules/infrastructure/ssh
Running tflint in modules/infrastructure/vpc
Running tflint in cluster/default
Running tflint in environments/cloud/varac
1 issue(s) found:

Warning: Module should include an empty outputs.tf file (terraform_standard_module_structure)

  on outputs.tf line 1:
   (source code not available)

Reference: https://github.com/terraform-linters/tflint/blob/v0.21.0/docs/rules/terraform_standard_module_structure.md

Running tflint in environments/cloud/dev
Running tflint in modules/infrastructure/ssh
Running tflint in modules/infrastructure/vpc

In the above output you see that tflint runs multiple times in the same directory, is this expected ?

In the above output you see that tflint runs multiple times in the same directory, is this expected ?

@varac Hi, really like this feature.
Maybe if you included tree or repo you tried it on would help.

Maybe if you included tree or repo you tried it on would help.

It's a private repo so I don't like to disclose it publicly. I think you are referring to the fact that that tflint runs multiple times in the same directory ? I'll better open a dedicated issue for this. This PR is just for printing the path tflint is working on.

Maybe if you included tree or repo you tried it on would help.

It's a private repo so I don't like to disclose it publicly. I think you are referring to the fact that that tflint runs multiple times in the same directory ? I'll better open a dedicated issue for this. This PR is just for printing the path tflint is working on.

In that case I think that makes sense.
Also creating some dummy repository to prove it would be helpful imo

@antonbabenko ping, what do you think about this PR ?

@antonbabenko ping, what do you think about this PR ?

@Vlaaaaaaad I noticed you liked my PR, and since @antonbabenko takes preference on issues/PRs from sponsors it may help if you participate in the discussion to give @antonbabenko incentive to look at this 1 line change

In the above output you see that tflint runs multiple times in the same directory, is this expected ?

if multiple files in a single directory are changed (or pre-commit run --all-files is run), it's possible that files from one directory will end up split across pre-commit processes.  that will cause this hook to run multiple times in a single directory
pre-commit provides the require_serial option which helps but is also slower


Improve system detection for openSUSE style distributions

openSUSE distributions can have rpm, dnf and dpkg installed at the same time, but the system is always maintained via rpm. so explicitly detect it as such. Also don't trust lsb-release too much, /etc/os-release is the preferred method so pick that one first.

Merged, thanks!


Fix documentation links

Fix the documentation links preventing the pull request to the Mia Platform public documentation to be merged.

LGTM


java.lang.IllegalStateException: Already building!

According to your testing, does the issue occur with ONLY Immersive Portals mod installed?
Yes
Forge Version
43.2.0
ImmersivePortals Version
2.3.1-mc1.19.2
Latest Log
https://gist.github.com/W0lfgangster/40d743583e704adf4d7147ae8cfe8261
Crash Report (if applicable)
https://gist.github.com/W0lfgangster/6b97875c903d1d737403d59cd66ef451
Steps to Reproduce
I know this isn't particularly helpful but the game will inevitably crash after jumping through a nether portal a few times.
What You Expected
The game to not crash
What Happened Instead
The game crashed
Additional Details
No response
Please Read and Confirm The Following

[X] I have confirmed this bug can be replicated without the use of Optifine.
[X] I have confirmed the details provided in this report are concise as possible and does not contained vague information (ie. Versions are properly recorded, answers to questions are clear).
[X] I have confirmed this does not happen on the fabric version (If it does please report to here instead).
[X] I have confirmed I'm not using a hybrid server (Magma, Cauldron) or a different (non official) Forge Server release.
[X] I have confirmed this issue is unique and has not been reported already.

On further review Create needs to also be turned on for the crash to occur

#32


Request: Dual Boot

Describe the bug
Script forces to erase all partition layout on disk, even if there's sufficient unused space on partition table, in a scenario where existing Windows would like to be kept intact for dual boot
To Reproduce
Steps to reproduce the behavior:

On your Windows PC, shrink the Windows Data partition and make available a large free space in partition table
Download Arch Iso and boot with it.
Use the easy-arch script, at least step, it will ask you to confirm deleting all your partitions

Expected behavior
Present dialog that new partitions will be created for boot and encrypted root, use default size for boot ie 2gb and allocate rest of free space to root.

yes it can be endless. My recommendation would be to start with simplest case which shall cover 95% of the setups, ie single disk,  Windows installed by default in factory, user pre-shrinked Windows and created empty space. So, you have EFI partition already to host ReFind or Grub, then create a 1GB boot partition (if required for easy encryption), and then create another partition for the rest of the system.

Could try to come up with something indeed. I also usually don't like to have linux and windows share the same EFI partition cause it happened to me multiple times that Windows deleted GRUB files and I ended up with a non functioning instance. Of course, if you just have one disk this is all you can do, unfortunately...


x axis and y-axis label are truncated

Hello Team,
x axis and y-axis label are truncated in the charticulator visual. Even though we change the data format, truncated values are not changing.
Kindly help

@Pavithranmckinsey clearefy, please.
I don't see what is wrong

X axis label are truncated and has weird charecter 3e+2, 4e+2, 5e+2

X axis label are truncated and has weird charecter 3e+2, 4e+2, 5e+2

Any update ?

Have you set the number format?

Yes set the format but it is not working, how to change the decimal values in the visual ?


add an interface to check if a variable is initialized

Currently, if we create an Adam optimizer and minimize some loss, Adam will create some new variables that need to be initialized. Howerver, this is only a part of variables and we donot want to use tf.global_variables_initializer().
If there is an interface to check if a variable is initialized, then we can filter global variables and initialize only what needs to be initialized!
the interface should look like Variable.is_initialized() -> bool

Oh, I donot know that there is a function named tf.is_variable_initialized(var)->bool
sorry to bother!
closed.

Currently, I am using following code:
for x in tf.global_variables():
    if not sess.run(tf.is_variable_initialized(x)):
        sess.run(x.initializer)

but I found it extremely slow!
Can you consider maintain a flag to indicate whether a variable is initialized?

@alextp what do you think is the best way to do this?

tf.is_variable_initialized returns a tensor. If you want to initialize all uninitialized variables in a single session.run call you can build a graph which loops over the variables and assigns them to initialized_value (which is their current value or the value of their initializer). So something like sess.run([x.assign(x.initialized_value()) for x in tf.global_variables()]) should do the trick.

@alextp  but is it efficient? I mean, this has the same amout of work as sess.run(tf.global_variables_initializer())
e.g, if I have a large matrix which is already initialized, this is going to be time-consuming.

You can look at the implementation of initialized_value to see how to write
tf.cond predicated on whether a variable is initialized.
I am suspicious of your initialization logic though as it's not safe on
distributed. Much better to keep track of the variables you want to
reinitialize.
On Feb 6, 2018 18:08, "youkaichao"<EMAIL_ADDRESS>wrote:

@alextp https://github.com/alextp but is it efficient? I mean, this has
the same amout of work as sess.run(tf.global_variables_initializer())
e.g, if I have a large matrix which is already initialized, this is going
to be time-consuming.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/16718#issuecomment-363631556,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAATxQHyb8O7s6BXXAn_spICew4rmGlNks5tSQW1gaJpZM4R4AIl
.


ensure we are passing through valid function pointers

libdeflate doesn't have the same fallback handling such that if someone resets the pointers, allocations later will crash

Uggh, that's a bit gross. Not your fix, but the pattern in general. My app, SuperEXR does this

set libdeflate to use SuperEXR malloc/free
unzip something hooray
call openexr
unzip something, kaboom!

even better

set libdeflate to use SuperEXR malloc/free
threaded unzip something, oh this is taking a while
whatever, call openexr
kaboom!

wonder if we need to strip libdeflate down to almost nothing and completely tuck it under the covers

If we force the export macros in libdeflate to static, and tag a small number of functions that libdeflate forget as static as well, we can completely hide libdeflate, and then we can be safe from someone set a memory handler on their copy of libdeflate.
since your change doesn't save and restore the pointers, only sets them, that would make our completely hidden libdeflate threadsafe.
also, I realize package managers love to be able to slap in their own version of everything, but the libdeflate license does not have a copyleft requirement that they be able to do so. Therefore I would say that we "canonically" don't support swapping in user libdeflate libraries.
Furthermore, we make security promises with OpenEXR, such as addressing CVEs. If we allow package managers to swap in libdeflate willy nilly we would violate our security promises.
So my proposal is that

we hard-smash the libdeflate API macros to static, and
completely seal the library within OpenEXR for thread safety, and
it is absolutely not an option to substitute user libdelfate for security reasons

https://github.com/ebiggers/libdeflate/pull/312

I've gone the route of suggesting an alternate path upstream. libdeflate seems active enough that we may not want to vendor it in. Although if we do, I would debate making it such that malloc / free are not required for those structures in the first place (or integrated with the scratch buffer system in the core pipeline code.


Feich/update to do patterns in dispatch lu

Update ToDo patterns in dispatch.lu
Description
Last time, I updated the luis model in skill project and forgot to update the patterns in VA manually. This PR is to update ToDo patterns in dispatch.lu
Related Issue
#51
If you have updated responses or .lu files:

[x] All languages have been updated
[x] You have tested deployment with your new models

It looks like you only have two of the patterns for todo in the dispatch.lu file now... Seems like that would cause the other patterns to not be routed to the ToDo skill by the dispatcher?

Actually not that. When I run the script in VA, it will pull all the patterns from todo.lu into dispatch.luis but missed the pattern.any entities. Here I only keep two patterns in dispatch.lu to let the script generate pattern.any entities in dispatch.luis. You can try the script in VA, you will find that the patterns of pointofinterest are all duplicated in the dispatch.luis.
获取 Outlook for iOShttps://aka.ms/o0ukef

收件人: lauren-mills<EMAIL_ADDRESS>发送时间: 星期四, 十一月 29, 2018 12:49 上午
收件人: Microsoft/AI
抄送: Fei Chen; Author
主题: Re: [Microsoft/AI] Feich/update to do patterns in dispatch lu (#364)
It looks like you only have two of the patterns for todo in the dispatch.lu file now... Seems like that would cause the other patterns to not be routed to the ToDo skill by the dispatcher?
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2FAI%2Fpull%2F364%23issuecomment-442518848&data=02|01|feich%40microsoft.com|288d3725e26143a9497208d6555169a6|72f988bf86f141af91ab2d7cd011db47|1|0|636790205485697116&sdata=m8yEujfbZpkrC4DBc1Np0yrkb2cloZCMEExKEeE1QAo%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FApCeOzGKe3rLPJFAnQMBCMq70xj96EE7ks5uzr6CgaJpZM4Y3Y9r&data=02|01|feich%40microsoft.com|288d3725e26143a9497208d6555169a6|72f988bf86f141af91ab2d7cd011db47|1|0|636790205485707117&sdata=iFqC8OHk5pOy9r2IzUniFzbVmM3zRWRciV1%2FTS9zCcI%3D&reserved=0.

@lauren-mills I can give more detailed explanations about the issues in current update_all_deployment_scripts.bat.

The script will pull all the pattern utterances from sub-skill lu files such as todo.lu into dispatch.luis. But the entities in the patterns are not pulled into dispatch.luis. You can remove all the patterns in the dispatch.lu to generate the dispatch.luis. You will find all the patterns from sub-skills are there but entities are not, so the luis portal will not accept this model.
If we copy all the pattern utterances from sub-skill lu files to the dispatch.lu, run the script and then the generated dispatch.luis will have the pattern.any entities based on the copied pattern utterances in dispatch.lu. But all the pattern utterances will have two instances in the dispatch.luis file, one is pulled from sub-skill and another one comes from the copied utterances in the dispatch.lu. This will cause the duplicated patterns in luis model file so the luis portal will not accept it either.
My solution here is to move two patterns with the pattern.any entities from sub-skill lu file to the dispatch.lu so that the generated dispatch.luis will have not only the patterns from sub-skills but also the needed entities with no duplicated patterns.

Please let me know if you have any questions.

That explains it. The way I wrote it before was assuming the public package version 1.0.36 since that is what customer’s are likely to have, and that version does not pull in the patterns from the child file into dispatch. We should stick with whatever the public packages support until the new features migrate to the npm feed so that people using the repo don’t get confused.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Fei Chen<EMAIL_ADDRESS>Sent: Wednesday, November 28, 2018 9:28 PM
To: Microsoft/AI
Cc: Lauren Mills; Mention
Subject: Re: [Microsoft/AI] Feich/update to do patterns in dispatch lu (#364)
1.0.36-84
From: lauren-mills<EMAIL_ADDRESS>Sent: Thursday, November 29, 2018 11:25 AM
To: Microsoft/AI<EMAIL_ADDRESS>Cc: Fei Chen<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Microsoft/AI] Feich/update to do patterns in dispatch lu (#364)
Which version of the ludown tool do you have installed?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Fei Chen<EMAIL_ADDRESS>Sent: Wednesday, November 28, 2018 8:58 PM
To: Microsoft/AI
Cc: Lauren Mills; Mention
Subject: Re: [Microsoft/AI] Feich/update to do patterns in dispatch lu (#364)
@lauren-millshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flauren-mills&data=02|01|Lauren.Mills%40microsoft.com|41dc2878995c4cb5d6ab08d655a680cc|72f988bf86f141af91ab2d7cd011db47|1|0|636790570954411058&sdata=9jatuqOGM%2F7nVU8Yf8QTQzYxr%2BAqJqVZLNq3jF2yXew%3D&reserved=0 I can give more detailed explanations about the issues in current update_all_deployment_scripts.bat.

The script will pull all the pattern utterances from sub-skill lu files such as todo.lu into dispatch.luis. But the entities in the patterns are not pulled into dispatch.luis. You can remove all the patterns in the dispatch.lu to generate the dispatch.luis. You will find all the patterns from sub-skills are there but entities are not, so the luis portal will not accept this model.
If we copy all the pattern utterances from sub-skill lu files to the dispatch.lu, run the script and then the generated dispatch.luis will have the pattern.any entities based on the copied pattern utterances in dispatch.lu. But all the pattern utterances will have two instances in the dispatch.luis file, one is pulled from sub-skill and another one comes from the copied utterances in the dispatch.lu. This will cause the duplicated patterns in luis model file so the luis portal will not accept it either.
My solution here is to move two patterns with the pattern.any entities from sub-skill lu file to the dispatch.lu so that the generated dispatch.luis will have not only the patterns from sub-skills but also the needed entities with no duplicated patterns.

Please let me know if you have any questions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2FAI%2Fpull%2F364%23issuecomment-442688251&data=02|01|Lauren.Mills%40microsoft.com|41dc2878995c4cb5d6ab08d655a680cc|72f988bf86f141af91ab2d7cd011db47|1|0|636790570954411058&sdata=rF7mtv5xwSccQ4xirSgNp9PRxN3JuGvJ00d7LHpNWok%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAarj_mGQMcEr1QGQpt3Lf5bKx7_Ef3Dpks5uz01FgaJpZM4Y3Y9r&data=02|01|Lauren.Mills%40microsoft.com|41dc2878995c4cb5d6ab08d655a680cc|72f988bf86f141af91ab2d7cd011db47|1|0|636790570954421068&sdata=zqGc2YrxOH4mPILD1E9Njg%2BMlOs1%2F1RRXd%2FbRYSWErc%3D&reserved=0.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2FAI%2Fpull%2F364%23issuecomment-442692941&data=02|01|feich%40microsoft.com|c7adaf3bb5504826046508d655aa4649|72f988bf86f141af91ab2d7cd011db47|1|0|636790587144494400&sdata=x%2BN1udewjyV1U8Ntlwentt55MW0l00oQ0IX9SNSOe18%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FApCeO5ThRAWueS3mj-Y-1s_CPcZpv7Taks5uz1OYgaJpZM4Y3Y9r&data=02|01|feich%40microsoft.com|c7adaf3bb5504826046508d655aa4649|72f988bf86f141af91ab2d7cd011db47|1|0|636790587144494400&sdata=4NByfNtCwFRQ%2FKjuTILnTCfZYDZHb76iZ6N80CDyDkI%3D&reserved=0.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2FAI%2Fpull%2F364%23issuecomment-442693432&data=02|01|Lauren.Mills%40microsoft.com|c25a051314c14a93e0d408d655aab296|72f988bf86f141af91ab2d7cd011db47|1|0|636790588966515812&sdata=iupZ5kzuHCOqBkSyCNeB7Iv%2FCqxldaKkZaXkRjErF8Y%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAarj_omkoJZIkx3bnKzrt7plWPVbGhSmks5uz1ROgaJpZM4Y3Y9r&data=02|01|Lauren.Mills%40microsoft.com|c25a051314c14a93e0d408d655aab296|72f988bf86f141af91ab2d7cd011db47|1|0|636790588966515812&sdata=ejKvYywZfeydzrd7H298tmCeDgBdVzOM%2Bh965ZiluhQ%3D&reserved=0.

All right, I will try version 1.0.36 and test the script again.
From: lauren-mills<EMAIL_ADDRESS>Sent: Thursday, November 29, 2018 11:32 AM
To: Microsoft/AI<EMAIL_ADDRESS>Cc: Fei Chen<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Microsoft/AI] Feich/update to do patterns in dispatch lu (#364)
That explains it. The way I wrote it before was assuming the public package version 1.0.36 since that is what customer’s are likely to have, and that version does not pull in the patterns from the child file into dispatch. We should stick with whatever the public packages support until the new features migrate to the npm feed so that people using the repo don’t get confused.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Fei Chen <notifications<EMAIL_ADDRESS>Sent: Wednesday, November 28, 2018 9:28 PM
To: Microsoft/AI
Cc: Lauren Mills; Mention
Subject: Re: [Microsoft/AI] Feich/update to do patterns in dispatch lu (#364)
1.0.36-84
From: lauren-mills <notifications<EMAIL_ADDRESS>Sent: Thursday, November 29, 2018 11:25 AM
To: Microsoft/AI <AI<EMAIL_ADDRESS>Cc: Fei Chen <feich<EMAIL_ADDRESS>Author <author<EMAIL_ADDRESS>Subject: Re: [Microsoft/AI] Feich/update to do patterns in dispatch lu (#364)
Which version of the ludown tool do you have installed?
Get Outlook for iOShttps://aka.ms/o0ukef

From: Fei Chen <notifications<EMAIL_ADDRESS>Sent: Wednesday, November 28, 2018 8:58 PM
To: Microsoft/AI
Cc: Lauren Mills; Mention
Subject: Re: [Microsoft/AI] Feich/update to do patterns in dispatch lu (#364)
@lauren-millshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flauren-mills&data=02|01|Lauren.Mills%40microsoft.com|41dc2878995c4cb5d6ab08d655a680cc|72f988bf86f141af91ab2d7cd011db47|1|0|636790570954411058&sdata=9jatuqOGM%2F7nVU8Yf8QTQzYxr%2BAqJqVZLNq3jF2yXew%3D&reserved=0 I can give more detailed explanations about the issues in current update_all_deployment_scripts.bat.

The script will pull all the pattern utterances from sub-skill lu files such as todo.lu into dispatch.luis. But the entities in the patterns are not pulled into dispatch.luis. You can remove all the patterns in the dispatch.lu to generate the dispatch.luis. You will find all the patterns from sub-skills are there but entities are not, so the luis portal will not accept this model.
If we copy all the pattern utterances from sub-skill lu files to the dispatch.lu, run the script and then the generated dispatch.luis will have the pattern.any entities based on the copied pattern utterances in dispatch.lu. But all the pattern utterances will have two instances in the dispatch.luis file, one is pulled from sub-skill and another one comes from the copied utterances in the dispatch.lu. This will cause the duplicated patterns in luis model file so the luis portal will not accept it either.
My solution here is to move two patterns with the pattern.any entities from sub-skill lu file to the dispatch.lu so that the generated dispatch.luis will have not only the patterns from sub-skills but also the needed entities with no duplicated patterns.

Please let me know if you have any questions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2FAI%2Fpull%2F364%23issuecomment-442688251&data=02|01|Lauren.Mills%40microsoft.com|41dc2878995c4cb5d6ab08d655a680cc|72f988bf86f141af91ab2d7cd011db47|1|0|636790570954411058&sdata=rF7mtv5xwSccQ4xirSgNp9PRxN3JuGvJ00d7LHpNWok%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAarj_mGQMcEr1QGQpt3Lf5bKx7_Ef3Dpks5uz01FgaJpZM4Y3Y9r&data=02|01|Lauren.Mills%40microsoft.com|41dc2878995c4cb5d6ab08d655a680cc|72f988bf86f141af91ab2d7cd011db47|1|0|636790570954421068&sdata=zqGc2YrxOH4mPILD1E9Njg%2BMlOs1%2F1RRXd%2FbRYSWErc%3D&reserved=0.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2FAI%2Fpull%2F364%23issuecomment-442692941&data=02|01|feich%40microsoft.com|c7adaf3bb5504826046508d655aa4649|72f988bf86f141af91ab2d7cd011db47|1|0|636790587144494400&sdata=x%2BN1udewjyV1U8Ntlwentt55MW0l00oQ0IX9SNSOe18%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FApCeO5ThRAWueS3mj-Y-1s_CPcZpv7Taks5uz1OYgaJpZM4Y3Y9r&data=02|01|feich%40microsoft.com|c7adaf3bb5504826046508d655aa4649|72f988bf86f141af91ab2d7cd011db47|1|0|636790587144494400&sdata=4NByfNtCwFRQ%2FKjuTILnTCfZYDZHb76iZ6N80CDyDkI%3D&reserved=0.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2FAI%2Fpull%2F364%23issuecomment-442693432&data=02|01|Lauren.Mills%40microsoft.com|c25a051314c14a93e0d408d655aab296|72f988bf86f141af91ab2d7cd011db47|1|0|636790588966515812&sdata=iupZ5kzuHCOqBkSyCNeB7Iv%2FCqxldaKkZaXkRjErF8Y%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAarj_omkoJZIkx3bnKzrt7plWPVbGhSmks5uz1ROgaJpZM4Y3Y9r&data=02|01|Lauren.Mills%40microsoft.com|c25a051314c14a93e0d408d655aab296|72f988bf86f141af91ab2d7cd011db47|1|0|636790588966515812&sdata=ejKvYywZfeydzrd7H298tmCeDgBdVzOM%2Bh965ZiluhQ%3D&reserved=0.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2FAI%2Fpull%2F364%23issuecomment-442694032&data=02|01|feich%40microsoft.com|00701bf33e6542c9614808d655ab3f75|72f988bf86f141af91ab2d7cd011db47|1|0|636790591329651241&sdata=qDEWACMZW%2BKid2IZ5TKGdjxyX1O9wNQSLZw5XjHaJMk%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FApCeO4SE0vXMQng9z-YjzNRk-ial3AiYks5uz1U6gaJpZM4Y3Y9r&data=02|01|feich%40microsoft.com|00701bf33e6542c9614808d655ab3f75|72f988bf86f141af91ab2d7cd011db47|1|0|636790591329661254&sdata=%2Bxb3i2qJP1%2BvNwEzz0m2dDVb%2BF%2BNij%2BhYwBG63Byfkk%3D&reserved=0.

@lauren-mills updated the ludown to 1.0.36 version and the ludown works now. I added all the patterns in todo.lu to the dispatch.lu. Please review again.


[Bug]: Node.exe zombies on server using IIS

Playwright version
1.16
Operating system
Windows
What browsers are you seeing the problem on?
Chromium
Other information
No response
What happened? / Describe the bug
I am using playwright in a backend application (.net 5) whereby we're converting from url to pdf upon http requests (scoped). All seems to be working fine, it is just that a new node.exe is left on the server every time playwright is used. Thus the number of node.exe processes keep increasing, and they are only cleared up if the application pool of the web server is restarted.
Code snippet to reproduce your bug
No response
Relevant log output
No response

Did you see #1749 ?

Did you see #1749 ?

Thanks @kababoom , I tried adding dispose(); as you said in #1749   and it seems it worked :)

This should get fixed in 1.17.3 which we release soon!
Fixed in https://github.com/microsoft/playwright-dotnet/pull/1864


4-recipe Public and private recipes lists

Add users recipes list
Add public recipes list

Hello Giancarlo!


App Events page

Create an events page that uses the TRPC procedure for themed events and displays each.
Anteatery and Brandywine events should be separated and users should be able switch between them.
Each event should be clickable and take the user to another page with more information about the event.

Closed by #418


OnSnapEnd() and OnMoveEnd()

Hi, could you please explain what is the difference between these two functions? In the documentation, it says that OnMoveEnd() is called when the "snap" animation is completed. I am a  little confused about what "'snap' animation" specifically means here. Thank you so much!

When a piece is dropped on a square, it will quickly animate to the center of the square. This animation is the "snap" being referenced here. ie: the piece "snaps" to the center of the square. This event will only fire after a user has dropped a dragged piece (see the dropDraggedPieceOnSquare function).
onMoveEnd fires at the completion of all animations when the board position changes. This usually happens programmatically by calling board.position(newPosition) (or a variant of that method - there are several alias that cause the board position to change).
Note that onMoveEnd and onChange happen at different times: the board's internal position is considered to be changed instantly, and onMoveEnd will fire later after piece animations finish.

Thank you so much for such detailed explanation.  What are the difference between these two?

Sorry for bothering, could you please explain the difference between OnSnapEnd() and OnDrop() if you saw this message? I think that was my original confusion. I would really appreciate your help!

onDrop() fires as soon as the mouse button is released when dragging a piece - see Example 4004. Note that it does not matter where the piece was dropped (on a square, off the board) - this event always fires as soon as the mouse button is released.
onSnapEnd() fires after the quick animation where a piece centers itself onto a square. Thus, onSnapEnd() always happens after an onDrop() event, and only when a piece has been dropped onto a square (not off of the board).

Another way of thinking about this: after an onDrop() event, there might still be animation occurring on the board as a piece snaps to the center of a square. onSnapEnd() happens after all of the animation stops (when a piece has been dropped onto a square).

Thank you so much!


what are the movie names of MAD training set?

Hi, I did not find the movie names for the MAD training set in the annotation files, the paper or the supplement file, there are only movie IDs in the annotation files. Could you release the original movie names of the MAD training set? I found some studies like Guidance processed the raw videos.

Dear @fake-warrior8 thank you for reaching out.
You can use this file which maps the dataset's IDs to the imdb identifier. If you need any movie information you can directly scrape it the related imdb page composing the url as https://www.imdb.com/title/IMDB_ID/.
Feel free to reach out if you have any doubt.

Dear @fake-warrior8 thank you for reaching out. You can use this file which maps the dataset's IDs to the imdb identifier. If you need any movie information you can directly scrape it the related imdb page composing the url as https://www.imdb.com/title/IMDB_ID/.
Feel free to reach out if you have any doubt.

Thank you for your reply.

Dear @fake-warrior8 thank you for reaching out. You can use this file which maps the dataset's IDs to the imdb identifier. If you need any movie information you can directly scrape it the related imdb page composing the url as https://www.imdb.com/title/IMDB_ID/.
Feel free to reach out if you have any doubt.

Can you share with me the raw movie videos or can you provide a way for me to download these movie videos, so that I can train some models using the raw videos. I promise these videos are for academic research use only.

Dear @fake-warrior8, unfortunately, that is not possible. I hope you will understand that these videos are protected by copyright, which is legally binding. If you were to need the videos, you would have to purchase the movies through your institution.
Thank you for understanding.

Dear @fake-warrior8, unfortunately, that is not possible. I hope you will understand that these videos are protected by copyright, which is legally binding. If you were to need the videos, you would have to purchase the movies through your institution.
Thank you for understanding.

Thank you for your reply. could you please share the downloading script, I will download these movies after purchase these videos.

Dear @fake-warrior8 I am not sure I understand your request.

Dear @fake-warrior8 I am not sure I understand your request.

I mean that how to purchase and download these videos in batch, instead of purchasing and downloading these movies one by one from the imdb website.

Dear @fake-warrior8, there seems to be some confusion. We did not purchase the movies on IMDB. We only crawled metadata information from there. We used this for drawing some statistics reported in the paper. There is no script for batch-purchase of such data. I hope this clarifies. Feel free to reach out for any other inquiry.

So where did you download the raw video? Did you download these movies in batch?

Dear @fake-warrior8, movies were not "downloaded".
Additionally, the process was not done in one go but split into several phases for the proof of concept before reaching the current dataset size.
No one source allows obtaining the videos in "batch".
However, if you do find any that is particularly convenient, I invite you to share it with me.
I will relay the message to other interested parties.

We only crawled metadata information from there. We used this for drawing some statistics reported in the paper.

Dear @Soldelli, Thanks for your interesting work. By the way, can you share how you crawled the metadata information if you do not have the raw movies? Specifically, how do you extract the video CLIP features without having movies or their frames?

Dear @bofang98, we are in possession of the raw movies from which we extracted frames and used the official CLIP implementation (link) to compute the features we released. We additionally crawled metadata from IMDB simply for statistic purposes. We do not release nor maintain such crawling script.


[FLINK-19572][FLINK-19573] Port Two and MultiInputTransformation to Translator framework

What is the purpose of the change
Currently, the StreamGraphGenerator is responsible for:

traversing the graph of Transformations
translating them to their runtime implementations

With the addition of the TransformationTranslator framework in FLINK-19485, we can now pull the translation logic out of the StreamGraphGenerator and put it into dedicated translators, one for each type of transformation.
This PR does so for the TwoInputTransformation and the MultiInputTransformation.
Brief change log
The changes are in the StreamGraphGenerator and the two new TransformationTranslator `s.
Verifying this change
This change is mainly a code refactoring so it is expected to be covered by existing unit and e2e tests.
Does this pull request potentially affect one of the following parts:

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

Documentation

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

Thanks for the review @dawidwys ! I integrated your comments and I will merge as soon as Azure gives green.


fix: fully consume index when transforming

As it is currently validated, there is a chance indexes are not fully consumed when transforming, as the validation is assuming the whole stream is consumed, when it is not.
final var inputStream = transformFinisher.nextElement();
segmentIndexBuilder.add(indexType, singleChunk(transformFinisher.chunkIndex()).range().size());
return inputStream;

By introducing an output stream to hold the processed content, and passing the buffer to the storage layer we guarantee that the validation is correctly validating that there is only a single chunk processed.

Do I understand correctly that the problem is that the index may be longer than nextElement()? Or something else?

Yes, that was my understanding; however I may have rushed a bit here and actually it's working correctly (though not obvious):

Chunk size is about source, not target content. This means that even if the transformation changes the size (e.g. encryption) if the chunk size is equal to the original size, that's enough to get a single chunk as a result.
The chunk index is fully built by next element if there are no more elements, validating the conditions to fully read the original content.

I got confused by the mixture of a outdated past memories. I will create a quick PR to document these less obvious conditions so the future me doesn't get confused again 😅

Added doc comments as part of https://github.com/Aiven-Open/tiered-storage-for-apache-kafka/pull/535


Rename ubuntu to xenial

The Makefile is incorrect now, I think.
If you don't find it useful, feel free to just get rid of it though.

I've removed the Makefile. There's a linuxbrew/ubuntu image as well. Should we get rid of it? People should probably use linuxbrew/linuxbrew instead.

If you feel Ubuntu should be the "default" for Linuxbrew, than yeah, making linuxbrew/linuxbrew the supported Ubuntu Docker image sounds good to me.
There should be some documentation in this repo about it though.

Both images are built on xenial, so seem redundant, and linuxbrew/linuxbrew is more current. Good idea. I'll update the README.

Done.


feature request: jest.requireActual

when we patch the original require it becomes very hard to type tests.
i think we should move everything that is jest specific to jest object and have consistent type information for it

Ok for me. What do you think @cpojer?

Yap, that's gonna be a gigantic codemod incoming for FB, so I suggest adding jest.requireActual, codemodding, and deprecating the other one.
One problem you'll have with this is that Jest's static analysis doesn't look at jest.requireActual, so you have to update jest-haste-map to include that into the dependency tracking.

good point! i'll add a codemod


Mounting file inside a mounted directory leaves an empty file on the host

Output of docker version:
Docker version 1.11.2, build b9f10c9

Output of docker info:
Containers: 34
 Running: 0
 Paused: 0
 Stopped: 34
Images: 438
Server Version: 1.11.2
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 612
 Dirperm1 Supported: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: null host bridge
Kernel Version: 3.13.0-45-generic
Operating System: Ubuntu 14.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 11.62 GiB
Name: -redacted-
ID: -redacted-
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support

Additional environment details (AWS, VirtualBox, physical, etc.):
Physical box.
Steps to reproduce the issue:
/tmp/testenv$ mkdir parent parent/child outside
/tmp/testenv$ date > outside/testfile && cat outside/testfile
Fri Jul  1 12:45:40 CEST 2016
/tmp/testenv$ docker run --rm -v $(pwd)/parent:/inside -v $(pwd)/outside/testfile:/inside/child/testfile ubuntu cat /inside/child/testfile
Fri Jul  1 12:45:40 CEST 2016
/tmp/testenv$ cat parent/child/testfile
/tmp/testenv$ ls -alh parent/child/testfile
-rwxr-xr-x 1 root root 0 Jul  1 12:45 parent/child/testfile

Describe the results you received:
In [host] /tmp/testenv/parent/child there is now an empty file with the same name as the mounted file.
Describe the results you expected:
[host] /tmp/testenv/parent/child should still be an empty directory.

This is because the file must exist "inside" the container to be able to mount (same with dirs). Since you've mounted a host dir first, the file gets created on the host dir rather than inside the container FS.
I don't think this is something we'll fix.

Since you've mounted a host dir first

Are you saying, the order is important here?
First test looks like it is, which is promising:
/tmp/testenv$ rm parent/child/testfile
rm: remove write-protected regular empty file ‘parent/child/testfile’? yes
/tmp/testenv$ docker run --rm -v $(pwd)/outside/testfile:/inside/child/testfile -v $(pwd)/outside/testfile:/inside/child/testfile ubuntu cat /inside/child/testfile
Fri Jul  1 12:45:40 CEST 2016
/tmp/testenv$ cat parent/child/testfile
cat: parent/child/testfile: No such file or directory

However, now the contents of parent are shadowed away:
/tmp/testenv$ echo "I survived the mount" > parent/survivor
/tmp/testenv$ docker run --rm -v $(pwd)/outside/testfile:/inside/child/testfile -v $(pwd)/outside/testfile:/inside/child/testfile ubuntu cat /inside/survivor
cat: /inside/survivor: No such file or directory

This is sad -- my use case is reorganizing a source project for a tool inside the container, that expects a strict project structure (different from ours). I was hoping to achieve this via mounts like in my example.

@konradkonrad You could create the structure locally first before mounting.


Abstract repository should implement an interface

As far as I can tell, the main point of repositories is unit testability.  (Otherwise, we'd just use the methods that phalcon provides for Models).
In order to mock out the repos, we could use an interface instead of just and abstract class.

Hi @pabl0rg ,
testing repositories is always a controversial topic. People use this kind of packages to enhance the base framework querying / ORM methods, just using base Phalcon methods in all repositories would be a pain (and it requires more testing efforts).
Moreover often repositories are kept quite simple, by concentrating the businell login in Domain or Application Services. In this case it's indeed importart to mock the repos For this reason, I added an Interface with the current developed repo methods as you suggested.
Bye.


Little graphic bug *

Good Morning,
thanks for the fantastic work done with the last update, I'm very happy that you have implemented the things I reported previously.
I found a little graphical bug when the panel is minimized the * of account balance is still on chart

Thank you for reporting!

I have found another little graphic bug, if i change order type with hotkey and the panel is minimized the + and - button remain on the graph.

Thanks! Will work on it for the next version.


AttributeError

Hey Guys,
after installing yfinance and doing a first try with the provided examples I get this response:
'AttributeError: partially initialized module 'yfinance' has no attribute 'Ticker' (most likely due to a circular import)'
Has anyone an idea what the error could be, since yfinance is listed as installed....
Thanks alot!

@Platinkurd I have encountered with the similar error module 'yfinance' has no attribute 'Ticker'
It seems I have named the python script with the same name as the module. Have you named your script as yfinance.py ?

Yes, indeed that's the problem. Thanks a lot!


Add print Richard

??
Envoyé à partir de Outlook pour Androidhttps://aka.ms/AAb9ysg

From: One-888 @.>
Sent: Monday, February 27, 2023 11:02:43 PM
To: microsoft/vscode-remote-try-python @.>
Cc: Subscribed @.***>
Subject: Re: [microsoft/vscode-remote-try-python] Add print Richard (PR #63)
Closed #63https://github.com/microsoft/vscode-remote-try-python/pull/63.
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode-remote-try-python/pull/63#event-8620772006, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5N3X4CWAGUBYIT3US3IITLWZUQAHANCNFSM6AAAAAATYC5XQY.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Doc irregular obcs

What changes does this PR introduce?
I have added a new subsection in section <IP_ADDRESS>. Now the manual includes an explanation to include
irregular open boundaries in the model.

@dramauh please check if you agree with my modifications of your section. Otherwise it looks good to me.
@jrscott can you please check, if I have followed conventions properly?

yes, on my todo list for today

@mjlosch, a few lines of the simple examples have been removed by mistake (see code page. 261|254)

LGTM

Will take a quick look today at the new addition.

LGTM +1

LGTM