Workaround for rust 1.27.0 not compiling on macOS 10.10

xsv 0.13.0 depends on Rust and requires the latest version (1.27.0 as of now). I've found that on my machine Rust fails to compile, probably because I'm running 10.10 Yosemite because my mac is ancient
https://github.com/rust-lang/rust/issues/51838
Luckily there is a workaround for this.
In the general case where you want to install package X, package X depends on the latest version of package Y and for some reason (poverty, laziness) you can't use the latest version of package Y on your machine. Just do a /usr/local/Cellar/Y and sym link the last known good version to the latest version. This was inspired by https://stackoverflow.com/questions/19664535/how-can-i-prevent-homebrew-from-upgrading-vtk-dependency-for-pcl/19665408#19665408
In this specific case
cd /usr/local/Cellar/rust
ln -s 1.24.1 1.27.0
This tricks homebrew into thinking it already has 1.27.0 and thus won't download it, fail to compile and end up all fubar.

xsv 0.13.0 compiles on Rust 1.20.0 just fine. This is checked in CI. Could you please say why you believe xsv requires Rust 1.27?

If you use Homebrew it tries to update because rust depends on the latest version. I actually tried to pin rust to 1.24.1. Homebrew failed to install because 'Error: You must brew unpin rust as installing xsv requires the latest version of pinned dependencies'
E.g.
$ brew info rust
rust: stable 1.27.0, HEAD
Safe, concurrent, practical language
https://www.rust-lang.org/
Conflicts with:
cargo-completion (because both install shell completion for cargo)
/usr/local/Cellar/rust/1.22.1 (6,211 files, 339.9MB)
Built from source on 2017-12-18 at 20:45:13
/usr/local/Cellar/rust/1.24.1 (6,033 files, 404.6MB) *
Built from source on 2018-03-05 at 19:59:53

So I did

brew switch rust 1.24.1
brew pin rust
brew install xsv

Fails with

Error: You must brew unpin rust as installing xsv requires the latest version of pinned dependencies

Looking at this
https://github.com/Homebrew/homebrew-core/blob/master/Formula/xsv.rb
I see
depends_on "rust" => :build
I don't know enough about Homebrew to know if it is possible to say that "xsv requires Rust 1.20.0 or later" or if it has to be "xsv requires the latest version of Rust"
At the moment it seems like Homebrew thinks it needs the latest version.
Thanks for confirming it only needs 1.20.0 or later BTW, I can now stop worrying if the ln hack I did had messed things up in a subtle way.
Xsv is a great idea BTW - CSV may be primitive but because it's a lowest common denominator format lots of UK government data sources use it and they generate multi GB files. Xsv means you can process those in a reasonable amount of time.

All righty, thanks for the explanation. Looks like there's nothing to be done here on my end.
I'm not sure who's to blame for your Rust compilation issues though. My guess is that Homebrew probably isn't in the business of supporting every possible Rust version though.

Would it be possible to add support back in for Yosemite
E.g.
https://github.com/Homebrew/homebrew-core/blob/master/Formula/xsv.rb
  bottle do
    sha256 "9837a63d7a48c82a723294a24e66e64920c0b0ead2bc92c408e502d76cd482c7" => :high_sierra
    sha256 "c909a6c8c825a231d0148fd3776d764bf6c0a67663f2944e6b66ae492b206387" => :sierra
    sha256 "34848a92e9e392a942e31cb8af2c725e80742c27ecd6f0579a7242015b50259a" => :el_capitan
  end

So that means there are bottles (precompiled binaries?) for el_capitan ( 10.11 ), sierra (10.12) and high_sierra ( 10.13 ).
So on those ones you don't need to compile rust, you just get the precompiled version.
Another option would be to make it not require an upgrade to Rust if you have 1.20 or later.
Then again I'm guessing that I'm going to hit the same problem with 10.10 on a load of homebrew packages. Maybe I should just bite the bullet and upgrade to 10.11 at least.

No worries, I'm upgrading to 10.12 Sierra now.

Right, did the OS upgrade and now I can use the bottled version of Rust which obviously installs fine
$ brew upgrade rust
==> Upgrading 1 outdated package, with result:
rust 1.24.1 -> 1.27.0
==> Upgrading rust
==> Downloading https://homebrew.bintray.com/bottles/rust-1.27.0.sierra.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/9d/9d91681309cce40845d8c20d97ed2fa9ab0f4ecc7d015c33907abab7d5fa8643?__gda__=exp=1530124
######################################################################## 100.0%
==> Pouring rust-1.27.0.sierra.bottle.tar.gz
🍺  /usr/local/Cellar/rust/1.27.0: 42,749 files, 763.6MB

Glad you figured it out! :)

Well I figure I might as well document it so people can Google for it if they hit the same problem.


openjpeg: 2.4.0 -> 2.5.0

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@ofborg eval

commit 34dbaede64a094d59b04a8e76f366f4da4f396c openjpeg: 2.4.0 -> 2.5.0 broke poppler in staging:
$ nix build -f. -L poppler
...
poppler-glib> -- Configuring done
poppler-glib> CMake Error in CMakeLists.txt:
poppler-glib>   Imported target "openjp2" includes non-existent path
poppler-glib>     "/nix/store/r74nd1znbb1vd061zj8d6g9yz56hnjw9-openjpeg-2.5.0/include/openjpeg-2.5"
poppler-glib>   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
poppler-glib>   * The path was deleted, renamed, or moved to another location.
poppler-glib>   * An install or uninstall procedure did not complete successfully.
poppler-glib>   * The installation package was faulty and references files it does not
poppler-glib>   provide.

The CMake files of openjpeg2 are wrong.

I cherry-picked some patches from upstream and now it works again. Creating a PR.

#192644


Add broadcast test for cupy.vectorize

Jenkins, test this please

Jenkins CI test (for commit d5f5fa4a937aa534c32dee22c7adf4d4b949af61, target branch master) succeeded!


floats python tutorial

Populate variables/floats.py with a tutorial and challenge.

I would like to work on this

Can you assign this to me?

assigned now @raghuchandan1


⚠ Bofrost.lu has degraded performance

In 95d6c4b, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 998 ms

Resolved: Bofrost.lu performance has improved in 9e0bbcf after 4 hours, 13 minutes.


--require-up-to-date option

It would be useful to have a flag that tries to run a sync operation and fails if anything needs to be synced. This would be used in CI environments to ensure users have deployed any assets that have changed.

Funny enough, the currently unimplemented content-folder target already works for this. The error message you get when it fails isn't good, but the functionality is close.
I wonder...


Allow prefixing/postfixing of contract classes to avoid naming conflicts with domain types.

Per -> Egil

This is fixed - the problem was class conflict with namespace-part

This is fixed - the problem was class conflict with namespace-part


WIP: Introduce number column for area and iteration and allow searching it

See https://openshift.io/openshiftio/Openshift_io/plan/detail/618
TODO

[ ] Think about resetting the number in BeforeUpdate callback or removing prohibiting a manual update of that column entirely.
[ ] Think about having an index for areas and iterations that covers space_id and number.

[test]


Write to first coils: Modbus exception 2: illegal data address (register not supported by device)

Hello @benhar-dev ,
Write to first coils: Modbus exception 2: illegal data address (register not supported by device)
I have this error, what am I doing wrong?
async function WriteToFirstCoil(ipAddress) {
  const client = new ModbusRTU();
  await client.connectTCP(ipAddress, { port: MODBUS_PORT });
  await client.writeCoil(32768, true);
}

Hi @runtimevic, the readme has been updated 👍


Fix the type mismatch for CategoryProductField.touched.product

Description
type is actually object when it is defined as boolean
https://github.com/commercetools/commercetools-bundles-starter/issues/104
Hints
After changing to object in type definition, another warning message is thrown
index.js:1 Warning: Failed prop type: Invalid prop `touched.product` of type `boolean` supplied to `CategoryProductField`, expected `object`.

For this reason, this fix is to define CategoryProductField.touched.product can be either boolean or object type

Were you able to test the entire app, at least Dynamic app to see if any regression?


starboard: init at 0.4.0

Motivation for this change
Add the starboard k8s security toolkit to nixpkgs
I've categorized it in applications/networking/cluster as most k8s tools go there but I'm open to moving it if there are better suggestions.
Version is set but might check what the official release looks like. Might set the date to Unix epoch or N/A :shrug:
Starboard Version: {Version:v0.4.0 Commit:none Date:unknown}
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS (x86_64)
[ ] macOS
[X] other Linux distributions (aarch64 archlinux)

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/316


Swift 5.2 Crash while calling TSGenerateSymmetricKey, encrypt and decrypt methods.

Describe the bug
iOS Application crashes after update to themis 0.13.0 and using new methods TSGenerateSymmetricKey, encrypt and decrypt.
To Reproduce
Steps to reproduce the behavior:
1a. Use let masterKeyData: Data = TSGenerateSymmetricKey()
1b. Use let decryptedData = try cellSeal.decrypt(data)
1c. Use let encryptedData = try cellSeal.encrypt(data)
2. App crashes without any error message poiting out to called themis method.
Expected behavior
1.a returns generated key
1.b returns decryptedData
1.c returns encryptedData
Environment (please complete the following information):

OS: iOS 13.6
Hardware: iPhone 11 Pro
Themis version: 0.13.0
Installation way:

[x] via package manager - CocoaPods

Additional context
Xcode 11.6, Swift 5.2

Hm... That's weird. I just tried the following snippet with 0.13 and it works:
let key = TSGenerateSymmetricKey()!
let cellSeal = TSCellSeal(key: key)!
let inputData = "test message".data(using: .utf8)!
let encrypted = try! cellSeal.encrypt(Data())
let decrypted = try! cellSeal.decrypt(encrypted)
assert(decrypted == inputData)

Though, this might be some Swift 5.2 issue specifically. Unfortunately, I have only Swift 5 available at the moment 😞 @vixentael, your Xcode is newer, IIRC. Can you please check with Swift 5.2?
@hudzanton, just for context, is it something new for 0.13, or 0.12 breaks as well?
There is no TSGenerateSymmetricKey there, you will have to use the old API.

let key = "test key".data(using: .utf8)!
let cellSeal = TSCellSeal(key: key)!
let inputData = "test message".data(using: .utf8)!
let encrypted = try! cellSeal.wrap(inputData)
let decrypted = try! cellSeal.unwrapData(encrypted)

@ilammy It worked perfectly in 0.12.0 using wrap, unwrap and generating key on my side. I got this issue after updating to 0.13.0.

@ilammy sorry for trouble, I updated Xcode and now I don't have any crashes. I will close this issue.

@hudzanton noooooooooooooo, i've already created a small test project, tested on numerous devices and OS versions, and was going to send you a test project and ask for details :D
Couldn't reproduce the crash, thought.
I tried using Xcode 11.6 and Xcode-12-beta2.
Which Xcode you've updated to?

@vixentael sorry for trouble =( I was using Xcode 11.6 when I had a crash, then I downloaded Xcode 12-beta3 and installed Xcode tools for Xcode12-beta 3. After that, it doesn't crash on both Xcode 11.6 and Xcode 12-beta3.
Thank you for the effort and all work you put in this project! I was really waiting for a 0.13.0 release to get TSGenerateSymmetricKey().

@hudzanton thank you for details, and thank you for opening the issue! It was useful for us, as we revisited our Swift/ObjC code base one more time. We'll update test suits and examples to showcase new APIs more.

Thank you for the effort and all work you put in this project! I was really waiting for a 0.13.0 release to get TSGenerateSymmetricKey().

Thank you! Let your data stay secure 🧡


Deleted unused references in Ch2 and re-numbered the ones used

Removed two unused references in Chapter 2. This only applies to the Tensorflow Probability notebook, and not the Pymc2 and Pymc3 notebooks.

:+1: lgtm


doxygen error on plugin cpp.doxygen

Steps to reproduce
testfile name test.tmpl
/**
some text
**/

// vim:syntax=cpp.doxygen

create an error on open: vim test.tmpl
"test.tmpl" 7L, 47B
Error detected while processing modelines[7]..Syntax Autocommands for "*"..function <SNR>3_SynSet[25]..script /usr/share/vim/vim82/syntax/doxygen.vim[627]..modelines[7]..Syntax Autocommands for "*"..function <SNR>3_SynSet[25]..script /usr/share/vim/vim8
2/syntax/doxygen.vim:
line  502:
E12: Command not allowed from exrc/vimrc in current dir or tag search:     aug doxygengroup

Expected behaviour
no error on startup!
If I follow the instructions and open /usr/share/vim/vim82/syntax/doxygen.vim[627]  I get…
    " This is still a proposal, but won't do any harm.
    aug doxygengroup
    au!
    au Syntax UserColor_reset nested call s:Doxygen_Hilights_Base()
    au Syntax UserColor_{on,reset,enable} nested call s:Doxygen_Hilights()
    aug END

Funny are the words: but won't do any harm
→ well if I comment out this block it works without error.
Error: The problem is that any-time my opensuse linux update the software the BUG arrive again.
Version of Vim
VIM - Vi IMproved 8.2 (2019 Dec 12) Included patches: 1-5083 Compiled by 'http://www.opensuse.org/'
Environment

Linux linux02 5.18.4-1-default #1 SMP PREEMPT_DYNAMIC Wed Jun 15 06:00:33 UTC 2022 (ed6345d) x86_64 x86_64 x86_64 GNU/Linux
konsole
screen-256color

Logs and stack traces
No response

Yeah, that makes sense.  I think a lot has changed since I wrote that plugin! Including a lot of that sandboxing.Michael On 22 June 2022 8:00 pm, Bram Moolenaar @.***> wrote:

Steps to reproduce
testfile name test.tmpl
/**
some text
**/

// vim:syntax=cpp.doxygen

create an error on open: vim test.tmpl
"test.tmpl" 7L, 47B
Error detected while processing modelines[7]..Syntax Autocommands for "*"..function <SNR>3_SynSet[25]..script /usr/share/vim/vim82/syntax/doxygen.vim[627]..modelines[7]..Syntax Autocommands for "*"..function <SNR>3_SynSet[25]..script /usr/share/vim/vim8
2/syntax/doxygen.vim:
line  502:
E12: Command not allowed from exrc/vimrc in current dir or tag search:     aug doxygengroup

Expected behaviour
no error on startup!
If I follow the instructions and open /usr/share/vim/vim82/syntax/doxygen.vim[627]  I get…
     " This is still a proposal, but won't do any harm.
     aug doxygengroup
     au!
     au Syntax UserColor_reset nested call s:Doxygen_Hilights_Base()
     au Syntax UserColor_{on,reset,enable} nested call s:Doxygen_Hilights()
     aug END

Funny are the words: but won't do any harm
→ well if I comment out this block it works without error.
Error: The problem is that any-time my opensuse linux update the
software the BUG arrive again.

Strange that it took so long for someone to run into this.
The problem is that from a modeline you cannot execute auto commands, to
avoid any security leaks.
Best seems to add a try/catch around these lines:
try
      aug doxygengroup
        au!
        au Syntax UserColor_reset nested call s:Doxygen_Hilights_Base()
        au Syntax UserColor_{on,reset,enable} nested call s:Doxygen_Hilights()
      aug END
    catch /E12:/
    endtry
What do you think Michael?
--
Our job was to build a computer information system for the branch banks.  We
were the perfect people for the job: Dean had seen a computer once, and I had
heard Dean talk about it.
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Strange that it took so long for someone to run into this.

Well I use this quite often BUT run a old linux I updated recently. The old linux has no problem with this or there was no vim update for the old linux and the correction was good for a while.
AFTER upgrade the old linux I get updates again and the bug arrives again and start to annoy.


Make Intermediate 1D FFT Operations In-place, Even Though the Distributed Plan Is Out of Place

In case of an out-of-place distributed plan in PencilFFTs.jl, the entire intermediate 1D FFT plans are also executed in an out-of-place fashion as it can be seen in the following code:
https://github.com/matinraayai/PencilFFTs.jl/blob/2fd176d2e1babe301a12723b008564b24eac2e9c/src/plans.jl#L406-L446
https://github.com/matinraayai/PencilFFTs.jl/blob/2fd176d2e1babe301a12723b008564b24eac2e9c/src/operations.jl#L136-L152
https://github.com/matinraayai/PencilFFTs.jl/blob/2fd176d2e1babe301a12723b008564b24eac2e9c/src/operations.jl#L174-L201
More specifically, the following line uses the so-called obuf field of a PencilFFTPlan to perform the operation out-of-place:
https://github.com/matinraayai/PencilFFTs.jl/blob/2fd176d2e1babe301a12723b008564b24eac2e9c/src/operations.jl#L193-L194
What we need to do @sanatgp:

[ ] Investigate if HeFFTe has a notion of place in its FFT plans. If so, how is the out-of-place version implemented?
[ ] Make intermediate plans in-place
[ ] Remove usage of obuf field in PencilFFTPlan, which should result in reduction of memory allocated.

This is part of the bigger plan to reduce the amount of memory allocated in PencilFFTs.jl. The ultimate goal of this issue is to get rid of obuf, regardless of whether the in-place or out-of-place notion is supported in PencilFFTs.jl or HeFFTe.
What we need to
cc: @simone-silvestri

Preliminary inspection of the HeFFTe code shows that there's no explicit in-place notion in HeFFTe distributed plans.
Internally, when applying 1D FFTs, HeFFTe uses out-of-place versions when the output's scalar data type differs from input's scalar data type (e.g. float -> complex):
https://github.com/icl-utk-edu/heffte/blob/9eab7c0eb18e86acaccc2b5699b30e85a9e7bdda/include/heffte_backend_rocm.h#L349-L387
https://github.com/icl-utk-edu/heffte/blob/9eab7c0eb18e86acaccc2b5699b30e85a9e7bdda/include/heffte_backend_cuda.h#L658-L675
When the scalar type of the input and output matches, however, the plan is in-place:
https://github.com/icl-utk-edu/heffte/blob/9eab7c0eb18e86acaccc2b5699b30e85a9e7bdda/include/heffte_backend_rocm.h#L406-L441
https://github.com/icl-utk-edu/heffte/blob/9eab7c0eb18e86acaccc2b5699b30e85a9e7bdda/include/heffte_backend_cuda.h#L494-L500
I will look into this a bit more. In Julia however, because there are in-place versions of FFT functions enforced in the AbstractFFTs.jl interface, we're going to have to provide an out-of-place version regardless.

The transform list's in-place-ness is enforced here:
https://github.com/matinraayai/PencilFFTs.jl/blob/2fd176d2e1babe301a12723b008564b24eac2e9c/src/Transforms/Transforms.jl#L285-L291
We should be able to enforce it depending on the initial input.


Mediapipe webserver

Please make sure that this is a feature request.

MediaPipe Solution (you are using): facemesh, Iris
Programming language : C++
Are you willing to contribute it (Yes/No):

Is there anyway to put mediapipe behind web-server while utilising GPU? any pointers?
I am planning to use webRTC for video or grpc with image frame by frame request, any pointers?

Hi @razor123max,
Are you still looking for the resolution or the issue has been resolved from your end. Thank you!

Hi @razor123max,
Thanks for your confirmation. Could you please elaborate your query with more details and required support you are referring to. Thank you!

Mediapipe deployment on the web-server hosted on cloud? If possible, with GPU support
WebRTC / GRPC video stream as a source to Mediapipe, rather than local camera source

Hi @razor123max,
We believe this will be a challenging use case of MediaPipe config and will require some special expertise in configuring GPU drivers, such as NVIDIA drivers on server. We don't have a working "self-serve" solution for GPU on server. Thank you!

Hi @mcclanahoochie,
Could you please look into the above issue. Thank you!

Hi @mcclanahoochie,
Could you please share some plausible routes for manual implementation of web-server by the user? Thank you!

One example of a simple webserver that runs mediapipe is youtube8m. The yt8m example runs a binary mediapipe analysis graph on linux, and streams the results to the webpage. There are probably other examples on the internet to search for.
For gpu support, you need to ensure the server can run mediapipe GPU by following these instructions, and also edit whatever graph you run to use GPU calculators.
If you want to run a custom model inference on GPU inside the browser, that is currently not supported.
The mediapipe Javascript solutions API provided does use GPU for inference (but these are not customizable). If you can make use of the javascript solutions on web API, you will benefit form GPU inference.


Allow users set dhcp mtu by l3 network

Note: udhcpc which uesed in zstack BYO image and busybox don't
support this feature.
Ref: https://code.launchpad.net/~harmw/cirros/udhcpc-respect-mtu
https://launchpadlibrarian.net/180939577/udhcpc-respect-mtu.patch
This is the vyos driver.
For: zstackio/issues#3183

BUILD PASS. vyos repo 不需要跑UT 的。

Peer review by @live4thee


Connection Problems

Hi, I can't connect my bot to the server. It keeps saying 'disconnected from the server - retrying in 10 seconds' over and over again. Here's the link to my config file: config.js

First off, change your password for that account IMMEDIATELY.
Second, if you mean the main Showdown server, this setting should be as follows.
exports.server = 'sim.smogon.com';
Use "node getserver.js" (as config.js tells you) to grab the rest of the info or if this is for a different server.
And third, I would really consider exactly about why you want to run a bot.

I finally figured out that giving the bot a username but leaving the password blanks fixes the problem. This may be closed now.


gui: Strikethrough doesn't work

Observed in bruig 0.5. Strikethrough isnt displayed at all in bruig, and doesnt seem to get across the bridge to Matrix. Relevant to #177.
Matrix:

bruig:

My bad, just realised it should be double tilde instead of single.
So perhaps this is something which should be addressed in the BR/Matrix bridge and not in br itself?

Yah agree on that, maybe we can have the bot parse messages depending on the direction?
@dajohi any would that be a pain to do?  if going TO matrix s///g or going from matrix s///g.
I guess it could get complicated with the closing tags to deal with to


Added support for transactions expressed as dictionaries

Added support for transactions expressed as dictionaries, as provided by w3.eth.get_block('pending', full_transactions=True)
Example
AttributeDict({'blockHash': HexBytes('0xe26e77c7426bb4b370dede3e6de140e67c2411e90813c3017ff2761a0e9420b8'), 'blockNumber': 10713060, 'from': '0x81F87187235223c2eb194EA63B2B292332EF8f82', 'gas': 134238, 'gasPrice':<PHONE_NUMBER>0, 'hash': HexBytes('0xbbd78a51741b3c972e646ac09b36441ed0dd3a023bbfb62d0d6de9da6f6319a9'), 'input': '0x7ff36ab500000000000000000000000000000000000000000000000000000000001b4139000000000000000000000000000000000000000000000000000000000000008000000000000000000000000081f87187235223c2eb194ea63b2b292332ef8f820000000000000000000000000000000000000000000000000000000061979f0d0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000c778417e063141139fce010982780140aa0cd5ab000000000000000000000000dbc941fec34e8965ebc4a25452ae7519d6bdfc4e', 'nonce': 177917, 'r': HexBytes('0xa76ae800d6eaa9ba72589f0f94ac8cfeef182bb677f2f38768ba44bbf1bd45ca'), 's': HexBytes('0x535e932ef0d42fde8b40b2bee0672b07af03327b569d05a64fbef622cd74d811'), 'to': '0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D', 'transactionIndex': 0, 'type': '0x0', 'v': 42, 'value':<PHONE_NUMBER>61779})

Example params returned with this PR
({'txs': ['f90172368417d784008302aae194e592427a0aece92de3edee1f18e0157c05861564880429d069189e0000b90104414bf389000000000000000000000000c778417e063141139fce010982780140aa0cd5ab000000000000000000000000110a13fc3efe6a245b50102d2d79b3e76125ae830000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000077cb015f54242beb6bbfd7b126189b9aad0fad3e0000000000000000000000000000000000000000000000000000000060ff17dc0000000000000000000000000000000000000000000000000429d069189e0000000000000000000000000000000000000000000000000000000000001275039700000000000000000000000000000000000000000000000000000000000000002aa0c516d5ed896a650b0d51a5cc47944db12662564e6c7f7b4706c0ebc585e718eca06bae20cfb59870119266df42f5c7592efcbd26e5e337f0a30039ed52a1744784', '0xf901c669808308647094c36442b4a4522e871399cd717abdd847ab11fe8880b9016488316456000000000000000000000000110a13fc3efe6a245b50102d2d79b3e76125ae83000000000000000000000000c778417e063141139fce010982780140aa0cd5ab0000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000000000000000000000000000000000000000327a800000000000000000000000000000000000000000000000000000000000327e400000000000000000000000000000000000000000000000000000000127503970000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001275039700000000000000000000000000000000000000000000000000000000000000000000000000000000000000007b92f0b1b36b3a4fc906c258c40cfe28a5dc42bb000000000000000000000000000000000000000000000000000000006ce26b0d2aa03e30adc762c307fee1ea022cf8834e7871f47f114400c6fc782bc17c147921e3a05b94e934d903704116bca627f9addf542b9672811086e873cfef2827f3585b07'], 'blockNumber': '0xa3794e', 'minTimestamp': 0, 'maxTimestamp': 0, 'revertingTxHashes': []},)
It looks like there is a 0x missing. I'll work on it in the next few days.
Any feedback is highly appreciated.

Testing this after #29, this looks good at first glance <3

This ci test is failing:
+ black --version
black, version 20.8b1
+ black --check .
would reformat /github/workspace/flashbots/flashbots.py
Oh no! 💥 💔 💥
1 file would be reformatted, 5 files would be left unchanged.

Done


Solving environment: failed  ResolvePackageNotFound:

Hey, thanks for your work. I tried setting up the env using the commands provided but I'm getting the following error.
I'm running Windows 10 and using PyCharm. Any pointers would be greatly appreciated. Cheers

The version of installed Anaconda should be >= to 4.7.10. Hope this will help.

I fixed it by manually creating my own env. Thanks


implement parsing of v6 addresses and reject 0-length host and port values in URLs

should address issues #74 and #29

this git thing is hard. will you laugh at me if i say i miss cvs?

too messy, lemme clean up


allow span names to be customized with a reserved spanName attribute

Which problem is this PR solving?
This provides a simple mechanism by which developers can customize the span name used for various instrumentations. Issue #2882 describes why this is useful, but here is also a screenshot of what http-instrumentation tracing looks like in Stackdriver without this kind of facility.

It would be much easier to grok what was happening if those HTTP(S) GETs instead looked like Recv GET https://domain.com/profile/{username} and Sent POST https://domain.com/api/users/{userId}.
Yes, I could write my own instrumentation, but that's a lot of work that will not benefit from the project's efforts. I chose to put it in Tracer.ts, rather than in the http-instrumentation - which I where I feel the issue - because this seems like a generally useful facility, regardless of instrumentation type.
If this would be accepted in principle, I'll write tests to confirm the behaviour.
Fixes #2882
Short description of the changes
Adding an attribute of __spanName__ to a span will result in the span using that value as its name. The __spanName__ attribute will be deleted from the attributes.
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
I ran this locally and the span name was successfully changed.

[ ] Test A

Checklist:

[ ] Followed the style guidelines of this project
[ ] Unit tests have been added
[ ] Documentation has been updated

I also find it interesting but using a magical value to make it work feel wrong, i think using the hook concept (that we already use a lot across all instrumentations) like @seemk mentionned would be the best way forward to me


WIP CCAP-25

🔗 Jira ticket
CCAP-25
✍ Description
Overall

The subflow exists with all the screens to add a primary parents jobs and income to an application

[ ] activities-partner-add-job
[ ] activities-partner-employer-name
[ ] activities-partner-employer-address
[ ] activities-partner-self-employment
[ ] activities-partner-commute-time

[ ] The entire subflow and all screens within it are only shown to clients if the client indicates that one reason they need care is that the secondary parent is "Working" on the activities-parent-type screen <-- checked -->

[ ] The screens and interactions match the designs

[ ] All content is voiced by a screen reader

[ ] All interactive elements are accessible with keyboard navigation

activities-partner-employer-address

[ ] If a client enters an invalid phone number an error is returned
[ ] If a client enters an invalid zipcode an error is returned

Tracking

Any time a button is clicked, the button_click event should fire
Any time a page is loaded, the page_load event should fire
Any time a link is clicked, the link_click event should fire. This includes the "Go Back" link and the delete links that appear on the activity-partner-add-jobs-list screen

📷 Design reference
https://www.figma.com/design/1oRFY7p6tdGogBJk7Ugle8/IL-CCAP-Full-Flow-(WIP)?node-id=485-20111&t=5UY1x1IOD7YQHg7f-4
✅ Completion tasks

[ ] Added relevant tests
[ ] Meets acceptance criteria

Couple of issues:

There's no job schedule screens appearing for partner's job. I'm testing other scenarios here but this happens when I choose Primary Parent with Job + Primary Parent with Education + Partner with Job.

When I delete a job, then go back I get this:


[$500] 2 report previews show up in the workspace chat

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.30-0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @luacmartins
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1706025763769459
Action Performed:

Create an expense report when there is already an existing report
open the expense report in workspace chat

Expected Result:
Only one report preview shows up
Actual Result:
2 report preview shows up (reportIDs<PHONE_NUMBER>66723 and<PHONE_NUMBER>416207)
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01e74917e533c59f01
Upwork Job ID:<PHONE_NUMBER>708610560
Last Price Increase: 2024-02-16

Proposal
Please re-state the problem that we are trying to solve in this issue.
2 report previews show up in the workspace chat
What is the root cause of that problem?
We're getting last 3 images here.
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)
Result

@MahmudjonToraqulov thanks for the proposal, but I think it's not addressing the issue. The issue in the OP is that we have two report previews (one for $66.77 and another for $0.37) when both of them should have been combined since there's an existing report that hasn't been submitted yet.

Hey @luacmartins! I think I misunderstood it. Sorry, Let me re-create another proposal that address the issue. Thanks.

Any updates @MahmudjonToraqulov? Thanks!

1	Create an expense report when there is already an existing report

I am not sure about the above-mentioned OP step
How do we create an expense report when there is already an existing report?
I think clear steps to reproduce will help to take this further

@luacmartins, can you please follow up on the comment above? Would you mind sharing a recording for more context? Thanks!

@rojiphil that's a good question and I'm not sure what the steps to reproduce are. Maybe it was some network connection thing that led to 2 reports, but unfortunately we don't have clear steps yet.

Issue not reproducible during KI retests. (First week)

Still waiting for proposals.

No proposals yet.

I think this is not reproducible anymore.
Have u checked?
Cc: @isabelastisser @aimane-chnaif

I haven't been able to reproduce this. I think we can just close this.


I can't download videos

I'm probably making some stupid mistake because I'm very noob using CMD, whenever I try to put the URL of the video the following error appears in CMD: "first path segment in URL cannot contain colon"

It's hard to tell without seeing the command-line or URL :-)


categories and products get all view problem

"error": "Value cannot be null. (Parameter 'value')"

Fixed in 561bfc87cbf0612466d9959f2af8a212949a4a9b. Please try again with latest commit.

Closing as fixed.


pull docker images at ec2 start provided by the users on the system.env

some times the users needs to use docker images that are not already available on the EC2 base image.
Hence, if we add a command to the start_training.sh to attempt doing a docker pull xxxx where xxx is each of the images the user has references on the system.env, we will cover that gap. (we will need to only allow specific characters here like numbers, hiphen and letters from a-z)
This is required for old tracks compatibility for example.

if we follow this option we will need to decide if we are going to support the -gl docker images, as these require to perform additional validations on the system.env and run additional configuration commands on the EC2

I think this works now @MaikelGit?  I'v altered to some dev images to test them our for Lars ok?

I believe this issue to be resolved, so closing.  Base image builder pulls down latest image of each type, specifying relevant image in system.env pulls down at runtime?  Can be reopened if I'm wrong.


Granular Access Control

Describe the issue
Improvements to the Registry Authorization mechanics are necessary to enable more granular access control capabilities. This could include roles such as:

View all projects by Ministry
View all projects
Edit all projects
Approve Projects
View assigned projects
etc.

Additional context
An example that came up regarding this included 7-7000 having access to the Registry to gather contact details related to specific projects etc. Additionally, there are members of the community that oversee ministry wide project coverage which would be helpful to have a ReadOnly capability of all projects in their particular ministry.
Definition of done
When more granular access control is implemented in the Project Registry.

More granular access control will be implemented as part of the Registry Re-Write. Closing this ticket as duplicate.


refactor: :recycle: Split sign in

move sign in code to sign_in.py

Let me know what you think!

@mrooney, Just fyi, I intentionally created two branches that I merged together for this PR when doing the split of api.py (you'll be able to see this if you look at the graph of the commits on this branch). I did this to maintain line history for the new sign_in_mod.py file. If you want to maintain that line history, you'll need to merge this with a merge commit instead of the normal squash commit method. If you don't care for that or think that it's fine that git blame makes it look like I wrote sign_in_mod.py, then you can squash as normal. Up to you.

can we just call the file sign_in? sign_in_mod feels a little awkward, and we don't have cli_mod or cli_file or anything like that.

sign_in_mod.py and the sign_in function inside sign_in_mod.py cannot have the same names with the current import configuration. Because we import the sign_in function in __init__.py there is a name conflict with which module you are referencing if you want to do from mintapi import sign_in or any variation of that import statement. I would think that the function should take precedence in keeping the name since it is part of our public API and changing it would result in a breaking change. I'm down with if there is a better name for the file.

if we are going to import _create_web_driver_at_mint_com, it isn't really internal and we may as well just remove the beginning underscore.

I recognize that as a common way to divide between public and private attributes but I don't really understand that reasoning. Why does importing make it not internal? I agree that it is no longer internal to the file but I would still think that it would be considered internal as in "not part of our public API" i.e., we are not committing to the user of mintapi that it will behave the same way for the major version. As this refactor shows, the way that we divide code between files is rather arbitrary and is really just for developer convenience to make things easier to read; however, what we designate as public or private does affect the user of the application and is separate from where code is held in files.

@jaron-l got it! Can we just name the module "signin" (vs sign_in) then? For some reason the "sign_in_mod" is really bugging me and I don't want to have to name everything else "*_mod" to feel consistent.

Why does importing make it not internal?

I mean "internal to the file", so importing does make it inherently not internal any more :) However, if you want the underscore to mean it is internal to mintapi as a whole, that seems fine and I'm good with that as is.
If you don't mind just renaming sign_in_mod -> signin then otherwise it looks awesome and good to go!


Routing error for CSS & JS files for the landing page with trailing slashes

500 Errors can be returned if a trailing slash is within the file name due to redirect rules.
e.g. /stott.security.optimizely/static/main-abc123.js/

Not an issue.


"PowerToys Bug Report Tool" Clicking the bug report icon in the system tray causes a hangup that persists until the thread has finished executing

Microsoft PowerToys version
0.73.0
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
System tray interaction
Steps to reproduce
Clicking the bug report icon in the system tray causes a hangup that persists until the thread has finished executing the bug report tool's code before attempting to launch Power Toys.
On the system tray, select the Power Toys icon.
2. Choose the icon for reporting bugs.
3. Press the system tray button to exit.
4. Return to the system tray
5. Repeatedly click the Power Toys Icon.
At this point, you'll see that it has stopped responding. The rest of the code will suspend until the bug report tool is finished.
In addition to that trying to open the Power Toys using power toys run doesn't do anything until the thread has terminated.
✔ Expected Behavior
Normally opening the app while the thread that is responsible for the bug report runs in the background without suspending the rest of the code.
❌ Actual Behavior
Clicking the bug report icon in the system tray causes a hangup that persists until the thread has finished executing the bug report tool's code before attempting to launch Power Toys.
On the system tray, select the Power Toys icon.
2. Choose the icon for reporting bugs.
3. Press the system tray button to exit.
4. Return to the system tray
5. Repeatedly click the Power Toys Icon.
At this point, you'll see that it has stopped responding. The rest of the code will suspend until the bug report tool is finished.
In addition to that trying to open the Power Toys using Power Toys Run doesn't do anything until the thread has terminated.
These two videos one makes use of the context menu on the power toys icon, which is effective, while the other makes use of the ineffective Bug report button.
Note: I apologize for having to zip them, but GitHub keeps complaining about how large the files are.
Steps to reproduce.zip
Other Software
No response

/dup #15982


Entity Creation Error

Version: 1.3.6 and 1.3.5
Logger: homeassistant.components.water_heater
Source: custom_components/rinnai/device.py:134
Integration: Water Heater (documentation, issues)
First occurred: 3:34:49 PM (2 occurrences)
Last logged: 3:34:49 PM

Error adding entities for domain water_heater with platform rinnai
Error while setting up rinnai platform for water_heater
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 428, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 692, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 789, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 545, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in _async_write_ha_state
    attr.update(self.state_attributes or {})
  File "/usr/src/homeassistant/homeassistant/components/water_heater/__init__.py", line 247, in state_attributes
    is_away = self.is_away_mode_on
  File "/config/custom_components/rinnai/water_heater.py", line 97, in is_away_mode_on
    return self._device.vacation_mode_on
  File "/config/custom_components/rinnai/device.py", line 134, in vacation_mode_on
    return strtobool(str(self._device_information["data"]["getDevice"]["shadow"]["schedule_holiday"]))
  File "/usr/local/lib/python3.10/site-packages/setuptools/_distutils/util.py", line 359, in strtobool
    raise ValueError("invalid truth value {!r}".format(val))
ValueError: invalid truth value 'none'

Please use the beta 1.3.7. I have this scheduled for the next full release, but the beta will fix you up for now.


Reactivate Matomo for Frontend Analytics (Terraform, package.json, App.ts)

🗣 Description
Installed a newer version of the matomo react plugin.
It will put the code for matomo on the top of each page the user goes to and everything they interact with
Updated main frontend app.ts to provide the necessary code for Matomo to see the app
Reactivated the instance of what we needed to do.
💭 Motivation and context
Analytics are important for security of a website.
🧪 Testing
Manual testing for Matomo as they are a 3rd party.
Will need to add checks if we add end to end testing
npm test recieved the same results before and after changes
✅ Pre-approval checklist

[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All future TODOs are captured in issues, which are referenced
in code comments.
[x] All relevant type-of-change labels have been added.
[x] I have read the CONTRIBUTING document.
[x] These code changes follow cisagov code standards.
[ ] All relevant repo and/or project documentation has been updated
to reflect the changes in this PR.
[ ] Tests have been added and/or modified to cover the changes in this PR.
[ ] All new and existing tests pass.

✅ Pre-merge checklist

[ ] Revert dependencies to default branches.
[ ] Finalize version.

✅ Post-merge checklist

[ ] Create a release.

Matomo is running on my local machine.  I've been able to successfully step through the steps found in My Account > My Settings > Matomo.


React , HLS : Detaching player before changing source

Be sure to search for your issue before opening a new one.
Current Behavior
I am using React-Player to play hls videos , when I change the source from one video to another , I alway get some errors from hls,js , nothing fatal but still annoying , things like bufferAppendError and other.
I looked at the hls.js github here  and it seems that i need to

detach -> change src-> attach;

How can I do that ? please have some code samples  or describe with some steps because I am a beginner in the react/ web development world .
Expected Behavior

When changing the srouce of the media , the player should be detached and attached somehow in the player .
Steps to Reproduce

Have multiple sources for hls media for example

Change the source in the player , in my case  i bound the source with hooks

Open up the developer console on chrome (F12)

Environment

URL attempting to play:

	const sources = [
		"https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8",
		"https://mnmedias.api.telequebec.tv/m3u8/29880.m3u8",
		"http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/sl.m3u8"
	];

Browser: Chrome

Operating system:  MacOs

CodeSandbox  example: https://codesandbox.io/s/react-player-toggle-different-hls-soruces-jrj2q

Other Information
I have created a sandbox sample for that , and I suggest you guys use Sandbox to show samples which is better than jsfiddle imho .

So I found the solution  but watching a conference about hooks , as i am using hooks to change the source , i can use the same state for the key of the reacplayer element , so every time the source changes , the key would recreate a new instance of the player and would play that new source.
Me as a person coming from C# world would never guess that :)
I am have wrote the solution  for the same example  here

@ahmad-crossplatform, thank you for sharing this! It described my use case, the problem, and the solution perfectly. Thank you!


Rust stacktraces and panics with validate_assignment and custom fields

Environment:
In the edgy project we customize the fields and models heavily. We inherit from FieldInfo and provide our own information.
Bug:
When turning on validate_assignment suddenly rust stack traces appear for some tests. In particular when we modify the fields so they aren't required anymore for the copy.
How to reproduce:
Run the test suite of:
https://github.com/dymmond/edgy/tree/devkral/potential_pydantic_bugs
with hatch test
It seemingly happens when assigning an attribute.

I don't get a traceback but could extract this:
thread '' panicked at src/validators/model_fields.rs:422:85:

I could trace it back to the __dict__ overwrite. I think the correct behavior would be to fail gracefully instead of panicking.

Thanks for the report. I tried to run hatch test but there's some kind of connection error in all the tests. Are you able to share a minimal reproduction? It would be very helpful compared to me trying to pick apart the unique features of your codebase.

you run out of file descriptors. Strangely this happens, maybe the tests run too fast and the file descriptors are not returned fast enough. I could it traceback to the __dict__ overwrite. I will provide a new branch soon.

https://github.com/dymmond/edgy/tree/devkral/potential_pydantic_bugs/devkral/potential_pydantic_bugs2
The test command is hatch test tests/reflection/test_table_reflection_special_fields.py

the link is now correct.

you have to start the docker services with: docker compose up -d first.

We forgot to write it in the contributing section, sry

I just added somewhere a comment which is clearly not enough.

Ok, I managed to reproduce and have opened #1532 to fix the panic. Thanks.


initLicode.sh build script , Error: Cannot find module './../../erizoAPI/build/Release/addon'

This problem has troubled me for a few days, I don't know how to solve it.
I compile the code according to the guidelines of this URL：
https://licode.readthedocs.io/en/master/from_source/
(same as http://lynckia.com/licode/install.html )
After some efforts, many problems were solved．
Operating environment：
Ubuntu 16.04 64-bit
node -v: v12.12.0
npm -v: 6.13.2
gcc version 5.5.0
Except when executing ./scripts/installErizo.sh
Except for the following error, nothing else is reported：
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR<EMAIL_ADDRESS>preinstall:./lint.shnpm ERR! Exit status 1 npm ERR!  npm ERR! Failed at the<EMAIL_ADDRESS>preinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
But proceed to ./scripts/initLicode.sh
It will report the same error continuously:
Error: Cannot find module './../../erizoAPI/build/Release/addon'
`root@78eaa057247b:/home/howard/licode-all/licode-master# ./scripts/initLicode.sh
13691
13796
13861
Checking dir /home/howard/licode-all/licode-master/build/libdeps/nvm
Running nvm
Checking dir /home/howard/licode-all/licode-master/build/libdeps/nvm
Running nvm
Found '/home/howard/licode-all/licode-master/.nvmrc' with version <12.13.0>
Now using node v12.13.0 (npm v6.12.0)
Checking dir /home/howard/licode-all/licode-master/build/libdeps/nvm
Running nvm
Found '/home/howard/licode-all/licode-master/.nvmrc' with version <12.13.0>
2019-12-07 06:49:10.093  - INFO: CloudHandler - New erizocontroller ( 5deb4b66a60c103905de04e4 ) in:  <IP_ADDRESS>
2019-12-07 06:49:10.097  - INFO: ErizoController - message: succesfully added to cloudHandler
Now using node v12.13.0 (npm v6.12.0)
[licode] Done, run ./scripts/initBasicExample.sh
root@78eaa057247b:/home/howard/licode-all/licode-master# 2019-12-07 06:49:10.469  - INFO: ErizoAgent - message: launched new ErizoJS, erizoId: d1bd7731-1649-fbab-d657-8a4dabbb05ee
[erizo-d1bd7731-1649-fbab-d657-8a4dabbb05ee] internal/modules/cjs/loader.js:797
throw err;
^
Error: Cannot find module './../../erizoAPI/build/Release/addon'
Require stack:

/home/howard/licode-all/licode-master/erizo_controller/erizoJS/erizoJS.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15)
at Function.Module._load (internal/modules/cjs/loader.js:687:27)
at Module.require (internal/modules/cjs/loader.js:849:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/howard/licode-all/licode-master/erizo_controller/erizoJS/erizoJS.js:90:11)
at Module._compile (internal/modules/cjs/loader.js:956:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
at Module.load (internal/modules/cjs/loader.js:812:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/howard/licode-all/licode-master/erizo_controller/erizoJS/erizoJS.js'
]
}
2019-12-07 06:49:10.493  - INFO: ErizoAgent - message: closed, erizoId: d1bd7731-1649-fbab-d657-8a4dabbb05ee
2019-12-07 06:49:10.494  - INFO: ErizoAgent - message: launched new ErizoJS, erizoId: 997c222b-7367-451c-6a85-af91eafe9195
[erizo-997c222b-7367-451c-6a85-af91eafe9195] internal/modules/cjs/loader.js:797
throw err;
^
`

Failed to exec preinstall script

i've tried for a week but no results

Thanks for reporting this.
There is an issue with npm package dependencies. We added the package-lock files to version control in PR #1524 . You can try it directly in the branch, we will merge it soon

@lodoyun Thank you very much

I have downloaded the latest code to compile,
Although still not all went well , it turned out to compile.
@lodoyun  Thank you very much, your help is very important to me


Publish on crates.io?

Hi! Would be interested in using your crate, but I haven't found it on crates.io (the tracing-android on crates.io is a different one with fewer features). Would you be interested in publishing it on crates.io, please?

Yep, I actually tried to publish at some point but ran into the name conflict and didn't have any other name idea on the spot. I'd like to sort out #2 and update to tracing-subscriber 0.3 first if possible though. Also open to names 😄

Also open to names

Oh my :grinning: I would always go for a good pun, but nothing's obvious to me here. Will just let you with this grab bag of ideas: tracedroid, androtracing, this-is-the-tracing-droid-youre-looking-for, tracing-logcat, paranoid-android (see also: Radiohead), traceoid, logoid...

Ooooh paranoid-android is a really good one

There it is !


Suggestion for mod crafting

So basically I think you should be able to craft mod items in the legacy crafting menu, maybe there can be a setting in the settings to enable a tab in the crafting menu that lets you craft all mod items and sorted by mod.

Firstly, suggestions aren't intended to be done here, but in Legacy4J Discord server
Also, you can craft mod items in the Legacy Crafting Interface, just enable Display Vanilla Tabs in User interface section


Improve Makefile template for Linux LKMs

Enabled defining FNAME_C via command line.
Removed a redundant word in the comment for DYNAMIC_DEBUG_MODULE.
Set line length limit to 80 characters according to the Linux coding style guide. See: https://www.kernel.org/doc/html/v4.10/process/coding-style.html#breaking-long-lines-and-strings

Thanks @MhmRhm ! Btw, am working on a v2 of this Makefile template.. will push it when it's ready


How to reload photoPicker ViewController after take photo?

What I need is tapping camera cell in photopicker controller to take a photo, and display it in photopicker after tap done button in camera view.
I try to override function
imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : Any]), and call self.reloadCollectionView() method inside. But it doesn't work, new photos doesn't display. Any idea? Thanks.

in now, when it changed assets collections there is not reload fetched assets.
i'll figure out how to do it.  it's take a few day.

Thanks for your reply. I do appreciate for your help!

sorry i'm late. @ramboli1986

Thank you so much for your update!
On Sun, Sep 3, 2017 at 06:00 junhyi park<EMAIL_ADDRESS>wrote:

sorry i'm late. @ramboli1986 https://github.com/ramboli1986
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tilltue/TLPhotoPicker/issues/24#issuecomment-326803535,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXPzsRcm6b_gx3YQ8hR1NY26BpSTA2ogks5seqL0gaJpZM4OxSwQ
.

--
Best Regards,
Bo


Add version: Amazon.AWSCLI version 2.15.10

Pull request has been created with WinGet Automation 🪟📦🤖
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

(Automated response - build 570.)

Automatic Validation ended with:

(Automated response - build 572.)

Automatic Validation ended with:

(Automated response - build 573.)

Automatic Validation ended with:

2024-01-15T14:44:45.0146416Z ##[error] Manifest Error: DisplayVersion declared in the manifest has overlap with existing DisplayVersion range in the index. Existing DisplayVersion range in index:  [ [<IP_ADDRESS>, <IP_ADDRESS>]]

(Automated response - build 573.)


[Question] trouble with connecting android to local meteor app in a same WIFI network

Hi guys,
I can connect successfully to a deployed Meteor app (on a VPS) and ddp but when I try to connect to a localhost with this url const url = 'ws://localhost:3000/websocket'; or const url = 'ws://<IP_ADDRESS>:3000/websocket'; it's not connect and app in waiting in spinner (see below code) I also try my ifconfig output IP address like const url = 'ws://<IP_ADDRESS>:3000/websocket'; but it's still not working.
Can you guide me about this?
This is my landing page code that app waiting there.
LoginContainer for reactive parts:
import React, { Component } from 'react';
import Meteor, { createContainer } from 'react-native-meteor';
import LoginComponent from '../routes/login';

export default LoginContainer = createContainer(() => {
  return {
    status: Meteor.status(),
    loggingIn: Meteor.loggingIn(),
    user: Meteor.user(),
    userId: Meteor.userId()
  }
}, LoginComponent);

And this is my LoginComponent for login form:
import React, { Component, PropTypes } from 'react';
import { Container, Content, Button, Text, List, Icon,
    ListItem, InputGroup, Input, Item, Spinner } from 'native-base';
import Meteor from 'react-native-meteor';
import { Actions } from 'react-native-router-flux';

export default class LoginComponent extends Component {

    constructor(props) {
        super(props);
        this.state = {
            username: '',
            password: '',
            loginError: ''
        };

        this.handleClick = this.handleClick.bind(this);
        this.handleUsernameChange = this.handleUsernameChange.bind(this);
        this.handlePasswordChange = this.handlePasswordChange.bind(this);
    }

    handleClick() {
        // handle login here
    };

    handleUsernameChange(text) {
        this.setState({username: text});
    };

    handlePasswordChange(text) {
        this.setState({password: text});
    };

  render() {
      if (!this.props.status.connected) {
          return (
              <Container>
                  <Content>
                      <Spinner />
                  </Content>
              </Container>
          );
      }
      return (
          <Container>
              <Content>
                  // my login form here
              </Content>
          </Container>
      );

  }
}

LoginComponent.propTypes = {
    status: PropTypes.object,
    loggingIn: PropTypes.bool.isRequired,
    user: PropTypes.object,
    userId: PropTypes.string
};

/CC: @noris666

@cyclops24 you test on device or on emulator ? You also connected in that LAN where VPS ? I need described understanding of your environment.

@noris666 Thanks for your rapid answer man. 😉
I'm using an android device. I have a VPS with a dedicated IP (its accessible through internet network and my device also connected to internet) and can connect to it successfully, **But ** when I try connecting localhost it's not connect and waiting.
If it's not enough tell me which info needs.

@cyclops24 ok I understand all.
So i think if you want connect to localhost, first you need to connect your computer and phone to one LAN.
Then check your firewall on computer, port 3000 opened ?
Because i also have like you environment and all works.

Thanks @noris666,
My computer and phone now connected to one LAN.
But I didn't any specific config for my firewall. I'm using linux Mint (based on Ubuntu).
Is it needs for me?

@cyclops24 to example maybe you have filtered ports.
You can check by telnet that. To example command:
telnet  3000

@cyclops24 you probably have this behavior because because Meteor.status() is not a reactive data source (see #170 )

@simonbelanger thanks for your attention. But I think Meteor.status() is reactive because it's work as a reactive data source when I use with deployed app url.

@simonbelanger Meteor.status() also mentions here in ReadMe.md reactive-variables section:
https://github.com/inProgress-team/react-native-meteor#reactive-variables

@cyclops24 interesting... it'll need more investigation

@noris666 I didn't find any setting for firewall and port in my Mint.
Do you have any suggestion.
Can you tell me your device setting or steps?

I also have same issue when try running example app.

@cyclops24 which version of android you use ? adb reverse supports from Android 5+

@noris666 oh man I used android 4.x.
I'm test it with my other device with android 5.x and say result here.

@cyclops24 have you tried running $ adb reverse tcp:3000 tcp:3000? So adb will make localhost:3000 on your device connect to your machine :3000.

I managed to get my GenyMotion Android app emulator running on Windows 10 connecting to a local version of meteor by running ipconfig, and using the second IP address reserved for the virtual box. In my case it was:
ws://<IP_ADDRESS>:3000/websocket
But your exact IP address will be slightly different. I also managed to get it working on a real Android device, but needed to use the IP address of my laptop on the LAN. In neither case was I able to get it to connect using the wss protocol.

For others struggling to get access to the local Mongo database and meteor server on Windows 10, first run ipconfig to get the different ip addresses of your local machine, and then:
GenyMotion Android Emulator
Use the IP address of the VirtualBox host-only. I had to use the second one of the two addresses provided. My connection string was:
ws://<IP_ADDRESS>:3000/websocket
Real Android device
Use the IP address of your machine on the LAN - either the WiFi or ethernet adapter. My connection string was:
ws://<IP_ADDRESS>:3000/websocket
In neither case was I able to successfully use the wss protocol in my install.

It works for me: ifconfig find the innet IP of en0: e.g. 192.168. * . *
Using Android Emulator
set the server URL in react app like:
SERVER_URL: 'ws://192.168.*.*:3000/websocket',

You should use
Meteor.connect('ws://<IP_ADDRESS>:3000/websocket');
to connect to local server.


impl Schema for NamedType et. al

I attempted to implement Schema for the various types associated with schemas, like SdmTy and such.
However, this ends up causing an unbounded cycle: NamedType contains an SdmTy that can contain a NamedTy, etc. This can be seen in: https://github.com/jamesmunns/postcard/tree/james/schema-schema
I don't know if there is a way around this, at least with the currently recursive definition of how we do schemas.
For now, I think I'm just going to have a NewType([u8]) if I want to send schemas, and do the deserialization as a second step if I want to send schemas over postcard-rpc.

do the deserialization as a second step if I want to send schemas over postcard-rpc.

Is there a plan to make schemas implement Deserialize? I've been wanting the ability to send schemas around and deserialize bytes into a generic representation (analogous to serde_json::Value) based on a schema, but Schema only supporting 'static references seems like a blocker

Check out https://github.com/jamesmunns/postcard/tree/james/owned-schema
And https://github.com/jamesmunns/postcard-dyn/
I'm actively working on it now

Check out https://github.com/jamesmunns/postcard/tree/james/owned-schema
And https://github.com/jamesmunns/postcard-dyn/
I'm actively working on it now

Exciting, thanks for the pointers!

And if you want a preview of what I'm working on it for: https://onevariable.com/poststation/

Implemented in #170


Add note that SIP can be reenabled on High Sierra

Pursuant to @koekeishiya's comment.

Added a line describing this.

Thank you! :)


feat: add / remove phone number

It looks like most of the Registration is copy and pasted from the Login flow. I think this will cause a longer term maintainability problem and it would be beneficial to either adapt the Login flow to handle registration or extract the common logic/display between the two.

It looks like most of the Registration is copy and pasted from the Login flow. I think this will cause a longer term maintainability problem and it would be beneficial to either adapt the Login flow to handle registration or extract the common logic/display between the two.

I have followed Justin heuristics of "if you have something only twice do not refactor but instead copy and you can later see a pattern when you have a third use"
So yeah there is some duplication but I don't know if this needs a refactoring now.
The flow diverges in:

the network calls
use of captcha or not
error returned

the rest is fairly identical indeed
No strong opinion here but if you strongly feel I should refactor I can do another pass

Could be a topic for a code review, but I don't have a strong opinion at the moment either, so I will approve.

It's strange to me that Remove Email is it's own button while remove phone number has a cross mark.


Rephrase some monitoring doc

Remove requirement to run in pwd, as absolute path is always specified on the command line.
Change some phrasing of launching in remote access modes.

I don't think this conflicts with https://github.com/Parsl/parsl/pull/1007/files

@yadudoc please re-review - conflict resolution dismissed your approval