Add AnimatableTableViewController with designable UIRefreshControl

and other features same as  AnimatableViewController
RefreshControlDesignable allow to custom the internal UIRefreshControl
UIRefreshControl must not be set in subview but using refreshControl attribute of UITableViewController
I think apple must do some job to make it accessible through Interface Builder, but until that this feature allow to custom the basic attribute of UIRefreshControl

I can go further to allow text edition
by adding something like that in protocol RefreshControlDesignable
var refreshControlTitle: String? { get set }
var refreshControlTitleFont: UIFont? { get set }
var refreshControlTitleColor: UIFont? { get set }

and there in configure function do the job to create an attributed string

if let title = refreshControlTitle {
  var attributes: [String : Any] = [:]
  if let font = refreshControlTitleFont {
    attributes[NSFontAttributeName] = font
  }
  if let color = refreshControlTitleColor {
    attributes[NSForegroundColorAttributeName] = color
  }
  refreshControl?.attributedTitle = NSAttributedString(string: title, attributes: attributes)
} else {
  refreshControl?.attributedTitle = nil
}

          1 Error

:no_entry_sign:
Any changes to library code need a summary in the Changelog.

          1 Warning

:warning:
Consider adding supporting documentation to this change. Documentation can be found in the docs directory.

  Generated by :no_entry_sign: Danger

One more point: should we add an entry in the demo app ?

CHANGELOG :white_check_mark:
Documentation/APIs.md :white_check_mark:
Merge conflict  :white_check_mark:
:construction: when trying to add into DemoApp.storyboard I have some weird issue
The colors are set, but there is logs

Failed to set (refreshControlTintColor) user defined inspected property on (IBAnimatable.AnimatableTableViewController): Could not load NIB in bundle: 'NSBundle </Users/phimage/Library/Developer/CoreSimulator/Devices/F34E4500-71DB-4F92-8BD1-FB0A0A5BFCA1/data/Containers/Bundle/Application/21B17425-4BA0-4FB8-B3DD-5216B5FF4E7E/IBAnimatableApp.app> (loaded)' with name 'DWs-Hm-hGO-view-ho8-uA-Rom'

I try with AnimatableTableViewController and with a new class in IBAnimatableApp named TimeLineTableViewController with code to simulate refresh
It's work yesterday on a new storyboard... (will try an another day with updated xcode)

@phimage can you try to restart Xcode or delete derived data. It is very wired. It this issue still happens. You may change the name refreshControlTintColor to refreshControlTintColorWhatever to troubleshoot it. I don't have straight answer on this, I am thinking that maybe a Xcode bug 😢 It will be great to have a demo VC with this feature. Well done 💪

Thanks for the update! It's perfect 💯
Could you also rebased on master once you estimate that PR is ready to go?

@phimage Could you please merge it when you think it is ready? For the Xcode error, @tbaranes had the same/similar issue on his machine because he had two version of Xcode (8.2 and 8.3). After he removed 8.2, everything works fine again.
Thanks again, well done 👍

          1 Warning

:warning:
Big PR

  Generated by :no_entry_sign: Danger

sorry some too much weird merge conflict I will start another one...


[Addition]:

Hotspot b58 Addresses
1123KtqmyLmCtgRNJ9da1rhfWVoxg3NfDaVeGD3dHeVywYNNrzbt
112hmd7S1naJshzn9AX8MTL7gkpmfDakJ2FGpA8dHbYcwd45tJS5
112qAuMWEcXZN2X9MD7C7dvNLkspVZwC5f3SBA5NnxcRnbRdxMPK
112Z5dCdNvSdwaKmGxvexobWFyVWYvxXKfMMYQe48qFZWL8bzHnk
11FJSPRoKtsVtXFGQ7QG8QTUhq4HLpaH1EM7EDdhZUxfJxtgJpw
112dUKvbEENrtnbafptDi17iynbBo1hKH3MjffPNSTxaMwucrFQg
11uPnq2PHk9DDd3D7KHWYyQJEiBpZVyuBMEo4jkS5qUMQor91x6
Discord Handle
myconid19
Reason(s)
all gamers, please review all their witnesses, they only witnessing to each other and all are pisces miners. no other brand of miner that witnessing them.

i did check their ip addresses using heliumgeek and all of them are in singapore and they spoofed here in riverside county USA

Unfortunately, if you want a cluster to be considered for the deny list you'll have to do as much digging as you can yourself and then add the results here. There's no team that will pick it up and do more investigation, your raised issue will just be considered and rejected or accepted, so it needs as much good evidence as possible, presented in a way that can be quickly reviewed.
For example, if they've got an odd IP, list it here along with its hosting location, etc.
The key thing with these pisces clusters in dense areas is showing they don't witness the true local network.
A good tool to use for this is https://github.com/ADDIX-io/helium-clustertool but currently not working for me
Crowdspot also has a similar function, but I find it doesn't work quite as well. In this case it suggests this cluster HAS witnessed other clusters in the past, which when the cluster tool is working again would make clear they are gaming as the clusters will likely be geographically seperate.
A basic way to check is to use the witness tab on hotspotty
https://app.hotspotty.net/hotspots/1123KtqmyLmCtgRNJ9da1rhfWVoxg3NfDaVeGD3dHeVywYNNrzbt/witnesses/bidirectional
which shows the direct witnesses i.e. that this cluster only ever witness this cluster. It's not as good as a tool that shows witnesses of witnesses, but it's a start.
It looks like the area has a big problem with Pisces clusters:

Some of these have been previously reported (but not yet deny listed)
https://github.com/helium/denylist/issues/4472
But it would be good to get them all listed and also add the IP info to those on 4472

thanks for your input, i am just trying to help the network if they do not deny list those spoofers/gamers i respect their decision but it will just drive down the interest of the legit hotspot owner to help the location to get a transmission signal to iot devices. in just few clicks they can tell if the hotspot is legit or not, easily just by looking their ip address location no need for a more technical work. example: ip adress in china and earning rewards from hotspot in USA😂 in just one hotspot in a sketchy cluster should all be deny list in an instant.

14b66kHc7Vo8eZHfZW8MiW6FWBouX9pxFBf6bKr56qzWmDMeuDH

check out that wallet's hotspot and check all the witnesses.


Reconsider support for Python 3.9

Dask has recently dropped support for Python 3.9. "scores" aims to function correctly without dask, and currently functions fine with Python 3.9 and older versions of dask. However if Python 3.9 is not going to be supported by underpinning libraries, it may not be possible to continue to support Python 3.9 as a result. We will try to provide support for as long as possible but it may become impractical.

Numpy 2.1 has also dropped support for Python 3.9. Numpy is a core library for scores. It's not immediately clear what the incompatibilities are and whether we can work around them. Initial testing indicates that numpy 2.1 is causing test failures in scores when dask functions are being used. It's not clear if we can be mutually compatible with both older and newer versions of numpy at the same time.

xarray follow the numpy guidelines for Python support https://numpy.org/neps/nep-0029-deprecation_policy.html . I think we should do the same if possible.

If I'm reading that correctly, that would imply that support for Python 3.9 should extend until October 2024. I'm comfortable with the current accommodations in the code to allow backwards support for 3.9, so I don't think we need to remove support until practicality demands. Following xarray and numpy seems sensible. It seems likely the users of scores will be more impacted by the choices on numpy and xarray than the choices of scores in any case. I will close this issue for now, but I will make some notes in the maintainers guide linking to this deprecation policy and outlining the general position of following the numpy guidelines.

Scrolling towards the bottom of that document, Python 3.9 support would have been dropped from April this year (as you note in your comment). The actual code in scores to support Python 3.9 is not problematic yet but may become so. I guess the question is whether we remove it from testing now or carry on testing and supporting it for as long as it's not too much effort. I'm inclined to carry on a little longer, but with the peace of mind we can move onward should it become onerous.

I'm going to close this issue for now and continue supporting Python 3.9 while it's practical. I will however put a note in the maintainer's guide at some point linking to that guideline as a good pragmatic way to make a decision.


Add how to install and use section to README

I am getting the common mypy error for my project.
error: Skipping analyzing "scipy.spatial.transform": module is installed, but missing library stubs or py.typed marker  [import]
note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 3 source files)

I see that the scipy.spatial.transform library stubs are provided with this project. But I don't know how to install them.
I tried installing with pip in my 3.8.13 virtual environment
pip install git+https://github.com/microsoft/python-type-stubs.git

but I get this error
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu113
Collecting git+https://github.com/microsoft/python-type-stubs.git
  Cloning https://github.com/microsoft/python-type-stubs.git to /tmp/pip-req-build-8p0xrczh
  Running command git clone --filter=blob:none --quiet https://github.com/microsoft/python-type-stubs.git /tmp/pip-req-build-8p0xrczh
  Resolved https://github.com/microsoft/python-type-stubs.git to commit f3c68e1cf40ef6687e6d961489ced0da6516c77a
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [14 lines of output]
      error: Multiple top-level packages discovered in a flat-layout: ['cv2', 'vispy', 'pygame', 'sklearn', 'skimage', 'lightgbm', 'networkx', 'pendulum', 'tenacity', 'openpyxl', 'matplotlib', 'sqlalchemy'].

      To avoid accidental inclusion of unwanted files or directories,
      setuptools will not proceed with this build.

      If you are trying to create a single distribution with multiple packages
      on purpose, you should not rely on automatic discovery.
      Instead, consider the following options:

      1. set up custom discovery (`find` directive with `include` or `exclude`)
      2. use a `src-layout`
      3. explicitly set `py_modules` or `packages` with a list of names

      To find more information, look for "package discovery" on setuptools docs.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

What is the recommended way to install python-type-stubs and are there any pointers for using it?
It would be great if this information could be added to the README.

@rowoflo, which type checker are you using?

I am using mypy.

I don't think the project is meant to be installed. But if you want to install it, you can add your own setup.py to it.
If you only want the scipy stubs, it would be something like:
"""Package setup"""
from setuptools import setup

with open("README.md", "r") as fh:
    long_description = fh.read()

setup(
    name="python-type-stubs",
    version="0.1.0",
    url="https://github.com/microsoft/python-type-stubs",
    author="microsoft",
    description="A set of type stubs for popular Python packages.",
    license="MIT License",
    long_description=long_description,
    long_description_content_type="text/markdown",
    package_data={
        "scipy-stubs": ["*.pyi", "**/*.pyi", "**/**/*.pyi", "**/**/**/*.pyi"],
    },
    packages=[
        "scipy-stubs",
    ],
    python_requires=">=3.8",
    zip_safe=False,
)

If you fork the repository, add this setup.py and then install it with pip install git+https://github.com... then it should work.

These stubs are shipped with Pylance and we use this repo as a way to collaborate with users on them.
@tmke8 is right that these stubs aren't pip installable at the moment, though we have toyed with the idea, especially as a way for Pyright users to more easily consume them. If any Pyright users happen upon this issue, see the recently added instructions here.

Anyone coming here looking for instructions to use these stubs with mypy:

Clone this repo - I did it to ~/.config/mypy/python-type-stubs:

mkdir -p ~/.config/mypy/python-type-stubs && git clone https://github.com/microsoft/python-type-stubs.git ~/.config/mypy/python-type-stubs

Just export an environment variable in .bashrc, or anywhere else as per to preference:

export MYPYPATH=~/.config/mypy/python-type-stubs/

To confirm that things should work run ls $MYPYPATH and you should see the different project folders:
cv2         networkx  pygame         skimage     sympy-stubs  transformers-stubs  CODE_OF_CONDUCT.md  pyproject.toml          SECURITY.md
lightgbm    openpyxl  scipy-stubs    sklearn     tenacity     utils               CONTRIBUTING.md     pyrighttestconfig.json
matplotlib  pendulum  seaborn-stubs  sqlalchemy  tests        vispy               LICENSE             README.md

Please how does this setup change in the case of a virtual environment ?
I am using VScode with this config for mypy.
"python.linting.mypyPath": ".venv/bin/mypy"
I don't know how I can change this value without breaking everything.


Optical flow always equals zero?

Hi Juan,
Thanks for sharing your code. I'm trying to incorporate your optical flow calculations in my project and have followed your webcam demo to calculate flow using OpenCV. I'm acquiring camera image frames from a pre-recorded video for my processing and always get a flow vector of zero magnitude.  Do you have any advice? I get the feeling that only a single optical flow is being calculated for the initial frame and state propagation isn't taking place. Thanks for your help!

Hi,
Thanks for using my code :)
Could you share the code of the inner loop where you acquire the camera frames and compute the optical flow. From the continuous print of FlowFilter::compute(): fisrt load my guess is that you are instantiating the PyramidalFlowFilter object inside the capture loop, thus resetting the algorithm every time a new frame arrives.
Inside the inner loop, you should just need to call (see example)
// transfer image to flow filter and compute
filter.loadImage(hostImageGray);
filter.compute();

to transfer images to the algorithm and compute the optical flow.

Hi Juan,
Thank you for your comment, I made the requisite edits as per your example. I was indeed instantiating the PyramidalFlowFilter inside the loop and have fixed this.  However, I am now getting another issue, this time related to cuda. I am using Cuda-8.0.  I started commenting out lines to see what caused the issue, and filter.compute(); seems to be causing:
ERROR: invalid resource handle at //optical-flow-filter/src/optical-flow-filter/src/gpu/pipeline.cu : 64
and my code then fails to compile.
None of my other code is currently relying on a gpu and the structure of the code is as per your example:
`    // Optical flow
cv::Mat fcolor(height, width, CV_8UC4);
cv::Mat image_prev_gray(height,width, CV_8UC1);
flowfilter::image_t hostImageGray;
flowfilter::image_t hostFlowColor;

wrapCVMat(image_prev_gray, hostImageGray);
wrapCVMat(fcolor, hostFlowColor);

//#################################
// Filter parameters
//#################################
float maxflow = 40.0f;
std::vector<float> gamma = {500.0f, 50.0f, 5.0f};
std::vector<int> smoothIterations = {2, 8, 20};

//#################################
// Filter creation with
// 3 pyramid levels

flowfilter::gpu::PyramidalFlowFilter filter(height, width, 3);
filter.setMaxFlow(maxflow);
filter.setGamma(gamma);
filter.setSmoothIterations(smoothIterations);

//#################################
// To access optical flow
// on the host
//#################################
cv::Mat flowHost(height, width, CV_32FC2);
flowfilter::image_t flowHostWrapper;
wrapCVMat(flowHost, flowHostWrapper);

flowfilter::gpu::FlowToColor flowColor(filter.getFlow(), maxflow);`

Then in the loop:
acquire image from camera and convert to grayscale (image_prev_gray), filter.load(hostImageGray), filter.compute(), similarly with fcolor, and then display the grayscale image and color.
Thank you for your help.

That's strange. Does the flowWebCam demo give the same error? just to rule out if it is a problem of CUDA 8.

Yes, flowWebCam also produces strange errors. It displays an image for one frame and then immediately shuts down.

I just tested the flowWebCam demo and it crashes using CUDA 8 on Ubuntu 14.04. I will have a look what the problem is.

Could you build and run the flowProfiler project with the following parameters?
./flowProfiler 480 640 2 4 1000

In my computer it runs fine.

I found the problem on my machine. It turns out OpenCV waitKey(delay) always returns 255 in line 132. Thus, the for loop only iterates once, not showing any result and the program stops.
Commenting that line and replacing it by
cout << "waitKey: " << waitKey(10) << endl;

solves the problem. You will need to kill the program from the terminal. Sometimes the program will not start again because the webcam is reported to being used. Unplugging it and plugging it again fixes that.
Could you verify if this solves the problem?

Hello Juan,
Running flowProfiler with your specified input arguments from the terminal produced a list of numbers in the range approx (0.7 - 1.0) which ended after about 100 numbers had been produced. This took less than a second. I'm not sure if this is the correct behaviour. I commented out line 132 in flowWebcam as per you instructions and it works just fine! Thank you so much for your helpful comments. Have you considered benchmarking your optical flow on KITTI or Middlebury?


[msal-node] Update Device code flow to send a Response to the user

Please follow the issue template below.
Library

[x]<EMAIL_ADDRESS>
Source

[x] Internal (MSAL.js team)
[ ] Customer request

Description

Update DeviceCodeFlow with Response processing
payload names for access tokens are reported to be different, check this with AzureSDK

Priority
high
Acceptance Criteria

Unit tests
Sample works with Response

#1947 fixes this!


LONGEST INCREASING SUBSEQUENCE

Find the length of the longest subsequence in a given array A of integers such that all elements of the subsequence are sorted in strictly ascending order.
Input Format
The first line contains a single integer n.
Next line contains n space separated numbers denoting the elements of the array.
Constraints
0 < n< 105
0 < Ai < 105
Output Format
Print a single line containing a single integer denoting the length of the longest increasing subsequence.
Sample Input
6
50 3 10 7 40 80
Sample Output
4
Explanation
The longest subsequence in test case is - 3,7,40,80

I would like to solve it can you assign it to me

ASSIGNING IT TO U


[AL-1816] Make fetching multiple images smarter

🚀 🚀 Pull Request
Checklist:

[ ]  My code follows the style guidelines of this project and the Contributing document
[ ]  I have commented my code, particularly in hard-to-understand areas
[ ]  I have kept the coverage-rate up
[ ]  I have performed a self-review of my own code and resolved any problems
[ ]  I have checked to ensure there aren't any other open Pull Requests for the same change
[ ]  I have described and made corresponding changes to the relevant documentation
[ ]  New and existing unit tests pass locally with my changes

Changes

This PR makes fetching multiple images faster by splitting fetching to two basic cases. First when the number of images is less than 10, then our .numpy method fetches images one by one since for that case it is faster than fetching all images at once, and when number of tensors is greater than 10 it fetches all images at once.


[Question] Can I pass Promise between JS and Rust by wasm-bindgen?

Hi.
I have a question.
I want to call a wasm(Rust) function, that uses a JS async function, from JS.
The wasm function should return a Promise because the function uses an async function.
So there seems be two challenges.

The wasm(Rust) function must return something that can be converted to JS promise.
The JS async function must return  something that can be converted to something like Futures.

Is it possible by wasm-bindgen?
And if possible, I can use a syntax like futures-await in that case?
(Since I have relatively large amount of synchrous codes, I will be happy if I can use the syntax.)
Thanks!

Thanks for the report! Right now there's not a way with wasm-bindgen to deal with closures/promises/etc, unfortunately. You can work with a promise as an opaque object, but work still needs to be done to integrate with closures and such. In that sense we're still a relatively far way out from having integration with something like Future

Thank you for your explanations!
I understand and am looking forward to your project!


tf.io.gfile.glob does not list all files in a Google Cloud Storage bucket

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): ?
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: /
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.0.0
Python version: 3
Bazel version (if compiling from source): /
GCC/Compiler version (if compiling from source): /
CUDA/cuDNN version: /
GPU model and memory: /

Describe the current behavior
When listing file with tf.io.gfile.glob not all images are returned. It seems it is not resolving the folders recursively.
When using the same path with gsutils  we get the correct image count.
Describe the expected behavior
When using the same gs:// path with gsutils we get the correct amount of images.
Code to reproduce the issue
In order to reproduce the behavior I prepared a Google Bucket with the following structure. The bucket is public accessible, please feel free to use it to reproduce the behavior on your end: gs://tensorflow-issue-reproduction

In summary we have 4 jpg images nested in different folder levels.
TensorFlow 2 code to reproduce
files = tf.io.gfile.glob('gs://tensorflow-issue-reproduction/**/*.jpg')
print('file count: ', len(files))
# found files 1

gsutil command which works properly
gsutil du gs://tensorflow-issue-reproduction/**/*.jpg | wc -l
# found files 4

Other info / logs
/
Best regards
Sascha

Hi @ymodak
any ideas?
Best regards
Sascha

Will take a while until I can get to this, but it's something to be handled as part of https://github.com/tensorflow/community/pull/101

Hi @mihaimaruseac
what does this mean "as part of tensorflow/community#101"?
What are the next steps that are required to solve this issue?
Who is in charge?

It means we are refactoring all of the infrastructure around filesystem support. Currently POSIX is moved to the new world, Windows follows then GCS and the others. I am coordinating this process

This issue still persists. Am I missing something? Is recursive globbing support dropped or something like that? Thanks.

Unfortunately we didn't yet get to this issue. Apologies for the delay

@mihaimaruseac thank you very much for the response. no worries.

See also, #39565

I just noticed you are using ** but TF's globbing patterns don't include that case
Including ** would complicate an already complicated implementation but I think we can take in PRs to add support for **

@SaschaHeyer Could you please refer to the above comment and let us know if you still face this issue ?Thanks!

Was there any relevant changes in tf.io.gfile to change the behavior?

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.

Removing the stale label since this has a clear reproduction and there has been no work to actually fix it.


sdkman to be working on windows

I use git bash on windows and just modified sdkman-use script to work correctly.
I just changed one script but I see sdkman could be modified to easily work on windows if the current folder was to be dropped and swapped for current file that would hold current version.
$echo '2.2.2' > current
and then all the other scripts would just read the current file to set environment variables
I also added jdk as supported candidate by copying own jdk versions under .sdkman/candidates/jdk
Now I just run:
$sdk use jdk 1.7
Since we are already detecting existing jdk we could copy the ones we find and ask user for a path to any additional jdks they want to be managed.
Also instead copying entire jdk we could use a file with path, that is more portable.
$echo 'path to jdk home' > candidates/jdk/1.8.0_77

It would be handy to see this in code, perhaps you could raise a small PR so I could see exactly what it was that you had in mind?
Regarding JDKs, a full blown implementation of this is on it's way.

No further response so closing this issue.

OK let me prepare something

Again nothing for a month so closing permanently.


eschalot: init at 2018-01-19

Motivation for this change
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] 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 nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Success on aarch64-linux (full log)
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/7qvq6vlimvv7r0mcdm73c1zcmr1h0mn7-eschalot-2018-01-19
shrinking /nix/store/7qvq6vlimvv7r0mcdm73c1zcmr1h0mn7-eschalot-2018-01-19/bin/worgen
shrinking /nix/store/7qvq6vlimvv7r0mcdm73c1zcmr1h0mn7-eschalot-2018-01-19/bin/eschalot
strip is /nix/store/xmpjypwjmp2qi1chs5kr0hacnh161ls4-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/7qvq6vlimvv7r0mcdm73c1zcmr1h0mn7-eschalot-2018-01-19/bin
patching script interpreter paths in /nix/store/7qvq6vlimvv7r0mcdm73c1zcmr1h0mn7-eschalot-2018-01-19
checking for references to /build in /nix/store/7qvq6vlimvv7r0mcdm73c1zcmr1h0mn7-eschalot-2018-01-19...
/nix/store/7qvq6vlimvv7r0mcdm73c1zcmr1h0mn7-eschalot-2018-01-19

Success on x86_64-linux (full log)
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/gz6cpnqra0ifvzwb4ndb2w1lps96pxl5-eschalot-2018-01-19
shrinking /nix/store/gz6cpnqra0ifvzwb4ndb2w1lps96pxl5-eschalot-2018-01-19/bin/worgen
shrinking /nix/store/gz6cpnqra0ifvzwb4ndb2w1lps96pxl5-eschalot-2018-01-19/bin/eschalot
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/gz6cpnqra0ifvzwb4ndb2w1lps96pxl5-eschalot-2018-01-19/bin
patching script interpreter paths in /nix/store/gz6cpnqra0ifvzwb4ndb2w1lps96pxl5-eschalot-2018-01-19
checking for references to /tmp/nix-build-eschalot-2018-01-19.drv-0 in /nix/store/gz6cpnqra0ifvzwb4ndb2w1lps96pxl5-eschalot-2018-01-19...
/nix/store/gz6cpnqra0ifvzwb4ndb2w1lps96pxl5-eschalot-2018-01-19

Success on aarch64-linux (full log)
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/3pv7vmx2z3slrlihhyvyyv8rcxv0w02v-eschalot-2018-01-19
shrinking /nix/store/3pv7vmx2z3slrlihhyvyyv8rcxv0w02v-eschalot-2018-01-19/bin/worgen
shrinking /nix/store/3pv7vmx2z3slrlihhyvyyv8rcxv0w02v-eschalot-2018-01-19/bin/eschalot
strip is /nix/store/xmpjypwjmp2qi1chs5kr0hacnh161ls4-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/3pv7vmx2z3slrlihhyvyyv8rcxv0w02v-eschalot-2018-01-19/bin
patching script interpreter paths in /nix/store/3pv7vmx2z3slrlihhyvyyv8rcxv0w02v-eschalot-2018-01-19
checking for references to /build in /nix/store/3pv7vmx2z3slrlihhyvyyv8rcxv0w02v-eschalot-2018-01-19...
/nix/store/3pv7vmx2z3slrlihhyvyyv8rcxv0w02v-eschalot-2018-01-19

Success on x86_64-linux (full log)
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/jl3g1wllay4xybj6wz76dhfgq1141wdy-eschalot-2018-01-19
shrinking /nix/store/jl3g1wllay4xybj6wz76dhfgq1141wdy-eschalot-2018-01-19/bin/worgen
shrinking /nix/store/jl3g1wllay4xybj6wz76dhfgq1141wdy-eschalot-2018-01-19/bin/eschalot
strip is /nix/store/5qj61lcvzlap87rf6blvf8p577d482bv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/jl3g1wllay4xybj6wz76dhfgq1141wdy-eschalot-2018-01-19/bin
patching script interpreter paths in /nix/store/jl3g1wllay4xybj6wz76dhfgq1141wdy-eschalot-2018-01-19
checking for references to /tmp/nix-build-eschalot-2018-01-19.drv-0 in /nix/store/jl3g1wllay4xybj6wz76dhfgq1141wdy-eschalot-2018-01-19...
/nix/store/jl3g1wllay4xybj6wz76dhfgq1141wdy-eschalot-2018-01-19


#7244: Revert tensor data format in op CSV

Passing profiler reg: https://github.com/tenstorrent-metal/tt-metal/actions/runs/8619301821
Failing with known resent reg: https://github.com/tenstorrent-metal/tt-metal/actions/runs/8619301821


WIP: Custom container

[ ]  Add test
[ ] Change to customForm (Form responsibility create custom container)?

Do you think this need deeper look? I don't think function addCustomContainer($form, $name) is necessary - better option would be add customForm and implement this function there.
This can be temporary solution.

Change to customForm (Form responsibility create custom container)?
But how? the only solution that comes to mind: create interface IFormContainerProvider, form implements the interface and multiplier checks if form implement interface...

I just have a "strange" feeling about function (addCustomContainer()). Thats all. Origin idea was something like this.
protected function applyDefaultValues(Container $container) {
		$form = new CustomForm('_foo_multiplier');
		$factoryContainer = $form->addContainer('foo'); //return customContainer

Btw atm it's works well with custom Form and container.
$form = new customForm;
$form->addMultiplier('m', function($container, $form)
{
  $form->addWhisperer();
});

Should I prepare test for this solution?

how about
trait TFormComponents {
    public function addContainer(...) {
    // returns CustomContainer
    }

    public function addMultiplier(...) {
    // returns CustomMultiplier
    }

}

class CustomMultiplier extends Multiplier {
    use TFormComponents;
}

class CustomForm extends Form {
    use TFormComponents;
}

class CustomContainer extends Container {
    use TFormComponents;
}

Good idea. So I guess I will this implement outside multiplier. Should I close this?

Thank you for your time :)


Refine instructional copy for prompts

Today, the instructional copy for single-select prompts appears like this:

I'd like to make the following changes described in purple:

Please note, too, that we should have y/n or numbering for all prompts.

@pacocastrotech could you take a look at the screenshots at the top? the new design Meredith is proposing should let users know there are more entries available


Implement Saving Workflow

Implement saving workflow as described here: https://gist.github.com/darinacosta/a0017692373f56065fd9976400a3640b

We'll need to figure out how to handle saving a new map, which has no or user id: https://github.com/MapStory/story-tools-composer/blob/master/app/style/styleService.js#L41


Log configuration is unnecessary,so delete it

Log configuration is unnecessary,so delete it

Pull Request Test Coverage Report for Build 21

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.07%) to 22.352%

Totals

Change from base Build 20:
-0.07%

Covered Lines:
439

Relevant Lines:
1964

💛  - Coveralls


Error performing request: dial tcp: i/o timeout

We've faced an issue when running smoke/acceptance tests on CF 231 version:
Here is an chunk of logs (domain and password was blinked):
Running smoke tests...
/var/vcap/data/packages/golang1.4/714698bc352d2a1dbe321376f0676037568147bb.1-f27d8d9c7173982dabcc80d3f1b8c5244f4d4b89/bin/go
[1457081026] CF-Logging-Smoke-Tests - 2/2 specs
[2016-03-04 08:43:49.80 (UTC)]> cf api api.cf.DOMAIN_NAME --skip-ssl-validation
Setting api endpoint to api.cf.DOMAIN_NAME...
OK

API endpoint:   https://api.cf.DOMAIN_NAME (API version: 2.51.0)
Not logged in. Use 'cf login' to log in.

[2016-03-04 08:43:50.00 (UTC)]> cf auth admin PASS
API endpoint: https://api.cf.DOMAIN_NAME
Authenticating...
OK
Use 'cf target' to view or set your target org and space

[2016-03-04 08:43:55.46 (UTC)]> cf create-quota cf-smoke-test_QUOTA -m 10G -r 10 -s 2
Creating quota cf-smoke-test_QUOTA as admin...
OK

[2016-03-04 08:43:55.58 (UTC)]> cf create-org cf-smoke-test
Creating org cf-smoke-test as admin...
OK

Assigning role OrgManager to user admin in org cf-smoke-test ...
OK

TIP: Use 'cf target -o cf-smoke-test' to target new org

[2016-03-04 08:44:10.94 (UTC)]> cf set-quota cf-smoke-test cf-smoke-test_QUOTA
Setting quota cf-smoke-test_QUOTA to org cf-smoke-test as admin...
OK

[2016-03-04 08:44:11.13 (UTC)]> cf target -o cf-smoke-test

API endpoint:   https://api.cf.DOMAIN_NAME (API version: 2.51.0)
User:           admin
Org:            cf-smoke-test
Space:          No space targeted, use 'cf target -s SPACE'

[2016-03-04 08:44:16.29 (UTC)]> cf create-space -o cf-smoke-test cf-smoke-test
Creating space cf-smoke-test in org cf-smoke-test as admin...
FAILED
Error finding org cf-smoke-test
Error performing request: Get https://api.cf.DOMAIN_NAME/v2/organizations?q=name%!A(MISSING)cf-smoke-test&inline-relations-depth=1: dial tcp: i/o timeout

[2016-03-04 08:44:31.40 (UTC)]> cf delete-space cf-smoke-test -f
FAILED
Space cf-smoke-test not found

------------------------------
• Failure in Spec Setup (BeforeEach) [46.720 seconds]
[BeforeEach] Loggregator: cf logs linux can see app messages in the logs
/var/vcap/packages/smoke-tests/src/github.com/cloudfoundry/cf-smoke-tests/smoke/logging/loggregator_test.go:40

  Expected
      <int>: 1
  to match exit code:
      <int>: 0

We're running CF on vSphere. Also this problem appears when we're trying running this CF version locally via bosh-lite and also when running smoke/acceptance tests.
Any help and thoughts will be greatly appreciated!
Best Regards,
Oleksii.

Same here, issue is happening randomly and not clear on what have caused it.
It can fail on accessing CF Api endpoint on one request and run success on next. Can u guys, please advise where can I check for any deep investigation? thanks

The same issue for new 231 version (webdav blobstore or nfs). Clean instructions for debug (not only CF_TRACE=true) will be nice.

We have recently started to observe this too on bosh-lite running on AWS - the CLI is hard-coded to time out after 5 seconds, so it is possible that it is taking more than 5 seconds for some requests to reach the API.
However, that code hasn't changed in 18 months (and it isn't confined to a single infrastructure so we can't assume it's a problem only at the IAAS), so we are investigating whether some other component has started to slow down.
We will update this issue with our findings.
Thanks,
Rob && @dsabeti

@vital-st1x @ndemeshchenko @olzorenko our issue was a misconfigured DNS record in /etc/resolv.conf so we suggest you check your nameservers point to valid DNS servers, and that those servers have the required DNS entries for the hostnames.
Also potentially related is that the CLI recently switched from golang 1.5 to 1.6 - see https://github.com/cloudfoundry/cli/issues/763.
Let us know if fixing your DNS and nameservers solves the issues you are having.
Thanks,
Rob && @APShirley

Hello robdimsdale!
Thank you for your reply!
I'll check your suggestion about DNS configuration and get back to you shortly.
Btw, here are my bosh and cf versions:
BOSH 1.3202.0
cf version 6.15.0+fa1bfe2-2016-01-13
Best Regards,
Oleksii.

Hello @robdimsdale!
Sorry, but I can't find a place where I can configure Cloud Foundry's DNS service.
Do I need to do this configuration on my global DNS (which serves my domain) or there are a separate job in bosh or component in cloud foundry deployment?
Simply put - where I need to check/modify /etc/resolv.conf for correct nameservers?
Thanks in advance!
Best Regards,
Oleksii.

@olzorenko each VM has its own /etc/resolv.conf which is written by bosh when the VM is created. The IAAS can also add entries, e.g. AWS DHCP options. If a job is co-located with the consul_agent job, the /etc/resolv.conf may be modified after the VM is created.
In case you're not familiar; if you run an errand with --keep-alive then bosh will keep the VM around after the errand has exited, giving you the opportunity to look around the VM afterwards.
Once you get onto the VM, could you please show us the contents of /etc/resolv.conf?
For example, on a local bosh-lite, what we see is:
bosh_wxakgf1cm@b6dc01c5-eb42-4231-8870-1043b5ababed:~$ cat /etc/resolv.conf
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>

As you can see, the first nameserver that is used will be <IP_ADDRESS>. On a bosh-lite VM this will ultimately use host machine's config, but this will vary across IAASs. If using this config takes too long to resolve a domain name, the CF CLI will timeout. As a temporary workaround, you could reorder the entries in /etc/resolv.conf and re-rerun the errand; a nameserver that responds with the DNS entry faster than 5 seconds will not cause the CLI to fail (or at least, it will fail for a different reason).
The underlying issue is probably that one of your nameserver entries points to either:

an IP that isn't actually a DNS server
an IP that takes too long to get a round-trip response to the DNS query.

We found ourselves in the former situation due to a misconfigured IAAS.
Rob & @nimakaviani

@robdimsdale Here I am Rob, I'm Giovanni, the user that posted the issue about "dial: tcp i/o timeout" error on lists.cloudfoundry.org. I have many news about my problems.
I'm working on a BOSH-Lite deployment of Cloud Foundry with a group of research engineers in Italy, specifically my team is a research engineer group of an italian university. The thing is that the university has blocked all DNS traffic outside of a specif DNS, that is the DNS used for the entire universty (its IP is <IP_ADDRESS>). So, every DNS query done by the VMs to <IP_ADDRESS> has no response, infact i sniffed the traffic with Wireshark and <IP_ADDRESS>:53 doesn't respond. Moreover, almost in all of 13 VMs deploy by bosh there the same nameserver entries you posted:
nameserver <IP_ADDRESS> nameserver <IP_ADDRESS> nameserver <IP_ADDRESS>
or
nameserver <IP_ADDRESS> nameserver <IP_ADDRESS>
I'm saying thath because even if I change or delete the entry with the public DNS IP <IP_ADDRESS>, the issue remains. Also, sniffing the traffic after the change, there are DNS queries to <IP_ADDRESS> yet. That's really a strange thing.
However, i think that the problem is about the hard-coded implementation of gorouter.go. Infatct, last day, using my cell phone hotspot to push a simple app to the cloud, I had the same "dial: tcp i/o timeout" error that I already had with the wired network. Today, indeed, the problem disappeared (always using the hotspot connecction).
This behaviour made me think that the only reason for having this issue is the hard-coded timeout. What do you think about changing the gorouter.go file, to fix the error? Is there possibile that compiling a modded version of cli, the issue could be solved?

@jona23,
Can you do a dig on api.bosh-lite.com from any vm in your deployment and post the output here.
<IP_ADDRESS> is the bosh-director gateway that should eventually resolve to your university dns server. If you have a dns server that takes too long to respond, or is incorrect the timeout issue will manifest itself.
Our hypothesis in this situation is that, if you have removed the public dns <IP_ADDRESS> and you still face the timeout problem, it could be that your university dns is taking too long to respond. However, the fact that you still see traffic to <IP_ADDRESS> after removing the ip from /etc/resolv.conf makes us think that either the dns settings from the vagrant box are different than those of the host machine which might still have a bad nameserver entry, or that there is some misconfiguration with your bosh-director. Can you check the /etc/resolv.conf of the director, and the host machine for entries that can't be reached from inside the university network? If <IP_ADDRESS> appears first, it is possible that deleting or moving the entry down will fix the issue.
We have reached out to the bosh team to investigate the possibility of bad dns settings being an issue between the vagrant box and the host machine. We will update you on that. In the meantime, the results of dig api.bosh-lite.com would probably be helpful in figuring out what is going on with the routing.
Alternatively, if you are willing to modify the behavior of your gorouter.go and compile a modified version of the cf-cli this might fix the problem you are seeing. The cf-cli team are aware of the issue, and there is a story in their backlog to make the timeout configurable but it hasn't been prioritized yet.

About the resolv.conf files of the bosh-director and host, here what's inside them:

bosh-director

nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>

about my host, i have to say that i'm using the network-manger service, so maybe resolv.conffile is ignored by it. However, university DNS ip server is properly set to <IP_ADDRESS> in the network-manager configuration, and the resolv.conf file only contains

nameserver <IP_ADDRESS>

Thinking about the configuration of /etc/resolv.conf in the bosh-director, maybe that is the problem about the DNS traffic to the <IP_ADDRESS> public ip address, even if i remove the <IP_ADDRESS> entry in all the VMs deployed. So, i'll try to force the vagrant box using the my host resolver through
VBoxManage modifyvm "VM name" --natdnshostresolver1 on

or changing the Vagrantfile of bosh-lite.
Moreover, digging in the web i saw that many users have this particular issue. Is there any way to ask to cf-cli mantaining team to fix the gateway.go file by changing the timeout time? I think that severel problems will be solved.

Hi @gnapoli2,
Please do try removing the <IP_ADDRESS> nameserver from the bosh-director. Also, as a temporary workaround, as already suggested in this issue thread, you can try setting the global environment variable GODEBUG=netdns=cgo to see if that helps (it is a temporary workaround suggested by the cf-cli team). Also when running cf push please set CF_TRACE=true to help us get a trace for debugging the issue.
We are going to open a new issue with the cf-cli team to highlight the problem. We will include the output of your CF_TRACE in the issue we intend to create. We also need more information on your setup to open the issue:

Command (e.g. cf push)
CLI Version (6.15, 6.16)
Error (Dial tcp: i/o timeout, or any error you receive)
Stack Trace
CC API Version
CF Trace
Platform Details (e.g. what version of Ubuntu?, 64-bit?)
Shell (sh, bash, zsh...)

We (@robdimsdale) created an un-prioritized story to work on it in their tracker. Which we can point to, to highlight that this is a problem for many users.
Thanks for all your input,
Al & @nimakaviani

Sorry, i didn't see the message. Tomorrow (here in Italy Italy 19:00 pm) i'll post all the informazioni you asked me.
However i did another try: i changed the gateway of my connection to one that i'm using alone and seems that the issue  disappeared. So my answer is;

do you think that the gateway was the problem?(it's used for all the località network in my laboratory so responding to many requests it brought me this issue)
or do you think that a sort of DNS località cache has been saved and then the requests are done?

Thank you for your support.

Hi @APShirley , here's the informations:

Command: cf push, cf apps, cf domains, cf orgs, and other cf query (in poor words every http request made with cf-cli;

CLI version: cf version 6.16.1+924508c-2016-02-26;

Error: Error performing GET ... dial tcp: i/o timeout or Error performing POST ... dial tcp: i/o timeout;

CC Api Version: v2.52.0;

CF Trace: about the CF_Trace=true, is useless to post the result because the error comes with different kind of request as i said (GET/POST);

Platform Details: Ubuntu 64 bit 14.04 LTS;

Shell: bash

Hi @gnapoli2,
I have created a new issue with the cf api team.
As for your questions around what we think this is

"do you think that the gateway was the problem?"

Quite possibly, it could be the gateway took too long to respond (I doubt this though), we feel it is more likely that the gateway is in some way misconfigured (or configured in conflict with other dns settings) and is trying to reach <IP_ADDRESS> which as we know, is blocked by your university sys admins.

"or do you think that a sort of DNS local cache has been saved and then the requests are done?"

I don't know of any mechanism for DNS caching that would cause this but I'm not very familiar with the way linux kernels handle dns resolution, as far as I know /etc/resolv.conf should be the source of truth here. So as long as nowhere in the gateways used is an address trying to be resolved through the <IP_ADDRESS> dns server there shouldn't be an issue. Using traceroute might hold the answer here since you saw the address in the routing before.
We will update you as we know more about this issue, feel free to also check the issues on the cli team's github page, as there may be updates there. We will continue to investigate from our end. If you find any more information that might be relevant let us know. In the meantime I would suggest you look at the faulty gateway's configs, load averages, open connections etc... and possibly continue using the other gateway.
Grazie,
Al

@gnapoli2 @olzorenko we are going to close this issue now, and suggest you take a look at the issue we created on the CF CLI repo: https://github.com/cloudfoundry/cli/issues/802.
Thanks,
Rob & @APShirley


Angular lvy/aot support

I have updated my project to angular 16 and now I can't build because angular removed ngcc
https://angular.io/guide/update-to-version-16#angular-compatibility-compiler-ngcc-has-been-removed
Is this still maintained ? should I find something else or do a fork ?

Same issues, haven't found any solutions for this.


[Project question] libc.so.6: version `GLIBC_2.32' not found

I was hoping that someone here could point me in the right direction about this issue. I am building an application, using gotk3, on Manjaro using go 1.14, and it works perfectly on Manjaro.
However, when I move the executable to a Linux Mint machine, it outputs:
./softtube: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./softtube)
This did not use to be an issue, the application worked fine on Linux Mint before, so I can only assume that is because Manjaro have moved to a newer GTK version. Because of this problem I have understood that go:s executables are not always completely independent (if you are using certain packages, like net and maybe others). And I believe that the net package is using GLIB, and on my Mint-machine I have version 2.27 of GLIB (at least that is what I understand from looking around in Synaptic Package Manager).
I see four solutions to this (listed in the order of what I would prefer):

Make sure that the executable is not dependent on any libraries. I believe this involves disabling CGO? Can a GoTK3 application even be compiled that way, to be completely independent of which GTK version is installled on the target machine?
Make sure that the compiler compiles against a specific (older) version of GLIB (2.27). How do I do this? Will this version then work on my Manjaro machine? I am guessing not, but compiling two version should be easy enough.
Setup a Linux Mint developing virtual machine, then compile the application twice. On Manjaro for 2.32-version and on Linux Mint for 2.27-version.
Upgrade the GLIB version on my Linux Mint-machine to a newer version (2.32). I don't like this "solution" because that means that I would have to keep updating the Mint-machine, every time my main machine updates, which might happen a lot since Manjaro is a rolling release distribution.

I understand that this question is more of a support question, that only just touches GoTK3, but you have been awesome and very helpful here before, so I am asking the question here. I also understand that my knowledge of GTK/GLIB is very limited so there is a chance that I make no sense at all, I am not even sure if GTK and GLIB are related :-) Let me know if it doesn't belong here, and I will close the issue.

Hi,
Glibc is GNU C Library, the implementation of Standard C library. Used in cgo every time a linux native functionality is required.
In your case, step 3 look like good idea, on the other way, you can try step 2 : https://stackoverflow.com/questions/55450061/go-build-with-another-glibc
Haven't tested it, it's the first topic that relate this i have found using google.
I don't think this Glibc version issue is a Gotk3 issue

Thanks for your input, I think I will go with step 3 then. It seems easier, for a newbie go programmer as myself, than the solution for step 2 that you linked to.

I just created a VM, an installed LM + Go and compiled, and those executables worked fine! Thanks for your help...

Perfect.
I thought of another solution to this kind of problem (lib versions).
For go development I have been using 'LiteIde' (built in 'C') for a long time and saw its folder tree which uses a 'lib/' directory, inside I can find all the extra libraries (compiled version '.so') used that work with the deployed version. I wonder if there is not the possibility of doing the same thing with a program in Go.


(maint) Update prismatic schema to 1.0.3

This has a bugfix we need in s/constrained.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-enterprise.delivery.puppetlabs.net/job/enterprise_puppetdb_init-multijob_githubpr-master/192/
Test PASSed.


fix: interface break for 2021-12-01 api

Codecov Report

Merging #15 (d77ace1) into main (7b622b6) will decrease coverage by 0.76%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
- Coverage   71.58%   70.81%   -0.77%
==========================================
  Files           5        5
  Lines         278      281       +3
==========================================
  Hits          199      199
- Misses         79       82       +3

Impacted Files
Coverage Δ

cache.go
62.96% <25.00%> (-1.80%)
:arrow_down:

clients.go
80.00% <100.00%> (ø)

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


use disaggregated model mlkit face detection

Why not use the disaggregated model to reduce the weight of the app?
instead of using
dependencies {
     implementation 'com.google.mlkit:face-detection:16.1.5'
}

Should use
  dependencies {
       // Use this dependency to use dynamically downloaded model in Google Play Service
       implementation 'com.google.android.gms:play-services-mlkit-face-detection:17.0.1'
     }

@edwinmacalopu: using the dependency from Google Play Service  would require your app to have an internet connection to  download the model. But at the same time, if they are downloading your app from the AppStore we could assume they have internet. But nothing guarantee that they will open the app immediately to download the model... that is why we went with the dependency that already includes the model... but we are open to changes and we could explore that option more.


Array out of range in DWX_ZeroMQ_Server_v2.0.1_RC8.mq4

I have been modified DWX_ZeroMQ_Server_v2.0.1_RC8.mq4 to be able to perform my strategy. My workflow as per below.

The EA keep track on market. when something interesting occor it will execute python script.
Python script connect to the same ports as setup in EA. then request the opened orders detail.
Python script perform some task. then request the opened orders detail again to modify orders.
After the order was modified the python script is terminated.
The EA keep tracking the market again.

The problem is the EA may get request from somewhere ( default ports was used ). I don't know how. So these break the code as per attatched picture below.

I am sure that this request didn't come from python script because EA status inform that it didn't execute the python script.
My question is :

How this occur? and how to handle?
When the EA get error as attatched picture, is it keep working or terminated?

Hi @Saruntaey ,
Sounds like you either have more than one instance of a client application running on your system, connecting to the same EA, or some other process also attempting to connect to the same ports sending instructions.
Please provide both the modified Python and MQL source code files as attachments, it isn't possible to assist with this query based on images unfortunately.
Thanks!

@integracore2  Thank you for your responds. Pleases find my code as per attatched files. The upload only included MT4 connect module. How can I check if other process connect to the same ports as assigned. Is there are any method to find the free ports to use for communication between MQL and Python? If not how to handle this?
python.zip
DWX_ZeroMQ_Server_v2.0.1_RC8_Modified_V5.zip
My code set up is per below.

I have 2 MT4 accounts runing on seprate terminal.
Attatch DWX_ZeroMQ_Server_v2.0.1_RC8_Modified_V5.mq4 to each MT4 therminal. The only different set up is ports number.

Thank you.

@Saruntaey at your screenshot you highlited two lines.
The lower line is empty, and the upper tells you that array is out of range.
At line 314 EA checks the first element of the array, and it seems that at your side it is empty. It means that your Python script sent an empty array.
In order to check that ParsZmqMessage function - which parses the message to compArray array - has 2 prints in it: first prints the whole message, another one prints array.
void ParseZmqMessage(string& message, string& retArray[]) {

   //Print("Parsing: " + message);

   string sep = ";";
   ushort u_sep = StringGetCharacter(sep,0);

   int splits = StringSplit(message, u_sep, retArray);

   /*
   for(int i = 0; i < splits; i++) {
      Print(IntegerToString(i) + ") " + retArray[i]);
   }
   */
}

You may uncomment and check both of them.
I fixed my issues the same way.

I'm having the same problem, I don't know why this could happened. So weird.

Does anyone found a solution to this problem?

I faced a similar problem. This halts expert advisor until mt4 is manually restarted.
This issue is reproducible when a null message is received on ZeroMQ Socket.
Adding this check just before line 311 should fix this:
   if (ArraySize(compArray) == 0) {
      return;
   }

Its not exactly clear to me which program is sending such message as i don't see anything related to null sending within Python code, my guess would be this could be due to a botnet scan on the default open port 32768. Also, noticed that default Hostname is binded to *, As there is no authentication, setting HOSTNAME = <IP_ADDRESS> in parameters should be more secure (by not being open to internet) imo to avoid similar issue.

I faced a similar problem. This halts expert advisor until mt4 is manually restarted.
This issue is reproducible when a null message is received on ZeroMQ Socket.
Adding this check just before line 311 should fix this:
   if (ArraySize(compArray) == 0) {
      return;
   }

Its not exactly clear to me which program is sending such message as i don't see anything related to null sending within Python code, my guess would be this could be due to a botnet scan on the default open port 32768. Also, noticed that default Hostname is binded to *, As there is no authentication, setting HOSTNAME = <IP_ADDRESS> in parameters should be more secure (by not being open to internet) imo to avoid similar issue.

@vsp4 Thanks, I will try.

@vsp4 Thanks, I will try.


Glyph artifacts when using glyph cache

When I render glyphs like in the gpu_cache example, I get artifacts like this:

It looks like it's caused by glyphs being tightly packed in the texture and OpenGL trying to interpolate because of self.cache_tex.sampled().magnify_filter(glium::uniforms::MagnifySamplerFilter::Nearest).
But the problem persists when I change that to Linear.
Maybe it could be solved by leaving 1 pixel space between glyphs horizontally and vertically?
Or maybe there is a better solution by choosing a different way for OpenGL to access the texture data?

From the screenshot it looks like you might be upscaling the text or rendering the textures at fractional pixel offsets? It seems that the text itself is overly blurry which would be caused by doing either of those things. The GPU cache is designed for rendering at a one-to-one scale. If this is done, with 'nearest' filtering and no fractional pixel offsets for the rendered texture on the screen it should be impossible to get this texture bleeding (bar driver bugs - but drivers are pretty good these days). Doing this allows the cache texture to be packed as tightly as it is.
If the above guarantees are relaxed then you are giving up the accuracy of the text rendering and the interpolation will decrease legibility. Also, adding a pixel border would not be enough in many circumstances - you would need to pick some arbitrary border width that removes the bleeding for the scales you're rendering at. If you want to render text more dynamically then GPU vector rendering would be more appropriate.

I also encountered this problem when scaling beyond powers of 2 and transforming the text (rotation). One thing that helps mitigate the problem is setting the default value the texture is initialized to to zero:
let cache_tex = glium::texture::Texture2d::with_format(
     &*display,
     glium::texture::RawImage2d {
     data: Cow::Owned(vec![128u8; cache_width as usize * cache_height as usize]),
     width: cache_width,
     height: cache_height,
     format: glium::texture::ClientFormat::U8
 },

Changing 128u8 to 0u8 reduced the problem but not completely (since other neighbouring glyphs can interfere).

Maybe it could be solved by leaving 1 pixel space between glyphs horizontally and vertically?

I've tried to implement this myself and I seem to have something that works (I think 1pixel padding should be enough for rendering up-scaled font textures, right @dylanede?). I've raised a PR for this if you still want to give this a try but it may be error prone.


Add IntelliSense in settings.json and tasks.json to all variables

Currently the IntelliSense do not suggest the pre-defined VScode variables. Example:
tasks.json

settings.json

A variable suggesting here will help a lot!
Thanks

Agree it would be nice to have this.
@aeschli could you be so kind to give me some pointers on how to contribute these custom completions?

Dup of https://github.com/Microsoft/vscode/issues/8370


Enquiries about the results of the solar dataset presented in Figure 9 of the paper

Hi author, can you please provide me with the training code or script, I found that I can't reproduce the results of this experiment

Hi, I don't know if your problem has been solved, but see new Tutorial please.


Support time, timeEnd, group, groupEnd etc. on console decorator in REPL

Hi, relating to #105, can you also support console.time and console.timeEnd?

Probably not gonna do this now unless you want to start a PR


Bump to version 0.1.1

Is that all that's needed?

Missing some, the best is to do a CTRL+F for 0.1.0, and update all instances in all package.jsons

Also missing: the ones in the dependencies field in package.json.
After that, can you run a yarn install in the root folder? Then we're done.

Not sure about the lerna..

Not sure about the lerna..

The lerna one should be kept 0.1.0

Thanks, the ctrl-f gave me so many things that I couldn't have a clear overview..


ReferenceError: err is not defined

When running exceljs under JXcore package, I've encountered an error:
[...]/node_modules/exceljs/lib/utils/utils.js:38
                    deferred.reject(err);
                                    ^
ReferenceError: err is not defined
    at [...]/node_modules/exceljs/lib/utils/utils.js:38:37

It looks like there is a typo in that line and should be deferred.reject(error) instead of deferred.reject(err).

Yes - my bad. Should be fixed now in v0.2.5


Unintuitive behavior when length < len(end) in do_truncate

In:
def do_truncate(s, length=255, killwords=False, end='...'):
    """Return a truncated copy of the string. The length is specified
    with the first parameter which defaults to ``255``. If the second
    parameter is ``true`` the filter will cut the text at length. Otherwise
    it will discard the last word. If the text was in fact
    truncated it will append an ellipsis sign (``"..."``). If you want a
    different ellipsis sign than ``"..."`` you can specify it using the
    third parameter.
    .. sourcecode:: jinja
        {{ "foo bar baz"|truncate(9) }}
            -> "foo ..."
        {{ "foo bar baz"|truncate(9, True) }}
            -> "foo ba..."
    """
    if len(s) <= length:
        return s
    elif killwords:
        return s[:length - len(end)] + end

    result = s[:length - len(end)].rsplit(' ', 1)[0]
    if len(result) < length:
        result += ' '
    return result + end

Here's the unintuitive behavior which fails the principle of least surprise:
In [10]: do_truncate('a' * 20, length=2, killwords=True)
Out[10]: 'aaaaaaaaaaaaaaaaaaa...'

This is because length - len(end) == -1, which means the that whole string is taken. This behavior changed in 3c75c961b4fbdf8a6bede3aa5ef80efdbcb9c80a I think. With 2.7.3 it would do: do_truncate('b' * 20, 2, True) == 'bb...'.
When length == len(end):
In [11]: do_truncate('a' * 20, length=3, killwords=True)
Out[11]: '...'

There are two possibilities:

Raise an exception when length < len(end).
Force length to be at least equal to len(end) (my preferred solution)

Thoughts?

Unfortunately, the implemented fix broke the ability to do truncation at the end of the line (when you specify a negative length), see #1052 .


Cannot get refresh token

I would like to obtain a refresh token so that when my access token expires I can use the passport-oauth-refresh module to obtain a new one, however, refreshToken keeps returning undefined.
I have tried adding the accessType and approvalPrompt parameters like so to no succes:
	app.route('/auth/windowslive').get(passport.authenticate('windowslive', {
		scope: [
			'wl.signin',
			'wl.basic',
			'wl.emails',
			'wl.contacts_emails'
		],
		accessType: 'offline',
		approvalPrompt: 'force'
	}));

Answered in the FAQ: https://github.com/jaredhanson/passport-windowslive#how-do-i-obtain-a-refresh-token


[desktop] FrostWire 6.10.0 tasks

[x] #998
[x] #954
[x] #932
[ ] #883
[ ] #845

OS Xubuntu 22.04, gnome-flashback session, nvidia driver 390, compiz-reloaded
from version 6.10 onwards the lower part of the window is shaking nervously.
This does not happen with versions 6.9.10 and below
I was  lucky to find this older version on sourceforge


Cant add headers to abort 404

Laravel Version
9.42.2
PHP Version
8.1.2
Database Driver & Version
No response
Description
Cant add $headers to abort(404, "message", $headers) because in Illuminate\Foundation\Application there's an exception made to route a 404 to NotFoundHttpException but they forgot to add the headers.
public function abort($code, $message = '', array $headers = [])
{
    if ($code == 404) {
        throw new NotFoundHttpException($message);
    }

    throw new HttpException($code, $message, null, $headers);
}

This looks like an oversight, already spotted here.
Could this be fixed! Thanks!
Steps To Reproduce
abort(404, "message", $headers) wont produce a response with the added headers.

Hey there,
Unfortunately we don't support this version anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? If so, please open up a new issue and we'll help you out.
Thanks!


Make the python directory more clean

Changes Made Describe
I have made some changes in python directory to make it more clean and professional.

Moved Python Flask template to appropriate directory
Changed Python with Postgres directory name to be in other directories style
Added README for Python directory with link to subdirectories

Checklist

[x] I have tested the changes locally.
[x] I have added necessary documentation (if appropriate).
[x] I have updated the README (if appropriate).
[x] I have merged the latest changes from the main branch.

@babakDoraniArab @jigsaw373
Hi, I added some changes in Python directory, it's more clean and structured now. Look at This link to see the difference.

Thanks for PR @erfansaberi ❤


➕ [RESOURCE] -

Idea Contribution

[X] I have read all the resource request issues.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Where do you want to add the resource? Specify the category and section.
i want to ADD Build an NFT Marketplace project using Blockchain in project section of web 3
Provide the URLs of the resources you are adding
https://youtu.be/y6JfVdcJh1k?si=Vp8KimEBzUUu4RPD
In this Projrct Build your own NFT marketplace from Scratch using: Metamask, Hardhat, IPFS (Pinata)and Alchemy!
Any alternative approaches/features
No response
Additional Context
No response
Code of Conduct

[X] I follow the CONTRIBUTING GUIDELINE of this project.

https://github.com/jfmartinz/ResourceHub/pull/1335 plz review this


Batch Generator Defaults

Summary

Adds defaults to the Batch Generator

[ ] Code passes all tests

[ ] Unit tests provided for these changes

[ ] Documentation and docstrings added for these changes

Changes

Default parameters to the batch generator.

What happens when there’s a dataset that’s missing one or more of these components?

Closing for now. Have to think about this.


auto select stylemanager causes some problems

Hi;
I was trying to save the last selected panel for some reason.
I used panel view change:active event to save the currently active panel, then component:selected to activate the last saved panel,
but because preset-webpage already have component:selected event which always switch to style manager, this will always reset the current view to style manager, I hope I explained the case well, I think we need to make this optional by adding new property like (autoShowStyleManager).
I hope I explained it well, I can create the PR, I am waiting for your opinion first.
https://github.com/artf/grapesjs-preset-webpage/blob/3e5a9e12998c9a32b6f1199953084163678e6c17/src/panels/index.js#L109
Thank you!

I guess you can simply disable that logic (showStylesOnChange: false) and implement your own if necessary, I don't think we need a new option here


chore(tumbly): code refactoring

removed unused imports
flake8 setup.cfg added
added .gitignore file
updated travis.yml file

@BryceFury please review :)
Addresses #1

Great contributions, thankyou very much!


Theme change is not working every time

Hi @marcelo-ochoa 👋
I was trying out the latest version and noticed that, with Docker Desktop in dark mode, the extension starts in light mode from time to time. Not sure it is related fully on #3. I mean, it would maybe prevent the issue to happen. But I was thinking that maybe it has to do with the fact that the extension starts in light mode, then switches dark mode. The first process being not fully started, the second one does not stop it. Which could cause issues.

@benja-M-1
I am just checking again the log of sqlcl container and now I see only with message once I  switching from ligth/dark mode:
`
$ docker logs -f mochoa_sqlcl-docker-extension-desktop-extension-service
2022/08/29 15:33:09 started ttyd with theme: {"background":"#F4F4F6","foreground":"#27343B","cursor":"#17191E","selection":"#6BC3F3"}
2022/08/29 15:33:34 started ttyd with theme: {"background":"#202C33","foreground":"#FFFFFF","cursor":"#C4D0DA","selection":"#6BC3F3"}
2022/08/29 15:33:57 started ttyd with theme: {"background":"#F4F4F6","foreground":"#27343B","cursor":"#17191E","selection":"#6BC3F3"}
`
so I can't reproduce issue #3 :(
Which is the log  on your machine?
Marcelo.
PD: Note that to avoid unnecessary restarts there is a logic now to avoid that.

fixed on 22.2.1


Update Wiki to match new criteria

https://github.com/propertybase/react-lds/wiki
Still contains old getPrefix() functions.

[ ] Update stateless example
[ ] Update stateful example
[ ] Improve test setup


Opaque failure on macos

The supplied command in run_example.sh fails with an assertion error due to the subprocess call failing:
Traceback (most recent call last):
  File "/Users/watkina6/Programs/KnotFold/example/../KnotFold.py", line 98, in <module>
    main()
  File "/Users/watkina6/mambaforge/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/Users/watkina6/mambaforge/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/Users/watkina6/mambaforge/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/watkina6/mambaforge/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/Users/watkina6/Programs/KnotFold/example/../KnotFold.py", line 94, in main
    pairs = predict(fasta, cuda)
  File "/Users/watkina6/Programs/KnotFold/example/../KnotFold.py", line 67, in predict
    assert p.returncode == 0
AssertionError

This is not due to anything explicit in KnotFold_mincostflow.cc as far as I can tell (i.e., nothing explicitly returns a nonzero error code), so my guess is there's an architecture issue with the presupplied binary. My assumption is that the install instructions should direct users to compile from source instead of hoping the versioned binary will work on their platform.

The supplied command in run_example.sh fails with an assertion error due to the subprocess call failing:
Traceback (most recent call last):
  File "/Users/watkina6/Programs/KnotFold/example/../KnotFold.py", line 98, in <module>
    main()
  File "/Users/watkina6/mambaforge/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/Users/watkina6/mambaforge/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/Users/watkina6/mambaforge/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/watkina6/mambaforge/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/Users/watkina6/Programs/KnotFold/example/../KnotFold.py", line 94, in main
    pairs = predict(fasta, cuda)
  File "/Users/watkina6/Programs/KnotFold/example/../KnotFold.py", line 67, in predict
    assert p.returncode == 0
AssertionError

This is not due to anything explicit in KnotFold_mincostflow.cc as far as I can tell (i.e., nothing explicitly returns a nonzero error code), so my guess is there's an architecture issue with the presupplied binary. My assumption is that the install instructions should direct users to compile from source instead of hoping the versioned binary will work on their platform.

I encountered the same problem as yours. I added one line print(p.stdout.decode() after line 66 in KnotFold.py and got the messege as follows:
CompletedProcess(args='./KnotFold_mincostflow /tmp/tmp1zd661jb/prior.mat /tmp/tmp1zd661jb/reference.mat', returncode=1, stdout=b'', stderr=b"./KnotFold_mincostflow: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by ./KnotFold_mincostflow)\n")

It indicates your assumption is right. The compiled binary executable KnotFold_mincostflow doesn't work on other devices different from the authors'.

Hello,
It seems like the issue you're encountering is due to "KnotFold_mincostflow" not running successfully. Please ensure that you have a C++ runtime environment installed and try running "KnotFold_mincostflow" or recompile "KnotFold_mincostflow.cc" using the following command:
g++ KnotFold_mincostflow.cc -o KnotFold_mincostflow -std=c++0x -O2

This command will compile the program using the GNU C++ compiler (g++) with the specified options (-std=c++0x for C++11 compatibility and -O2 for optimization level 2).
Please let me know if you encounter any further issues.
Best regards,

I think that's almost certainly going to be sufficient. My point is rather:

the install instructions should direct users to compile from source instead of hoping the versioned binary will work on their platform.

The pattern to be avoided here is versioning the binary at all, IMO.


How to change FPS in video output.

Is it possible to add the ability to tune the output fps of the recorded video?
I did look at the code for a parameter to change this but I wasn't able find it. Is there anything I can change to achieve this?
Thank you.

I see it depends on the SCNView preferredFramesPerSecond property. So I changed this property and the video output also changed FPS. Awesome.


fix: set WebEventContext on calls to toWebRequest to prevent h3 body utils calls from blocking

I assume this is related to the problem faced in Solid-Start where one would encounter errors with toWebRequest or H3 utility functions blocking forever.
Reasons this should be restored.

Request object initialization accesses the body prop and triggers the getter.
Changes behavior of toWebRequest not returning event.web.request anymore if present.

https://github.com/unjs/h3/blob/ae91fc8658315dca75da22b665eda4175eef7ea8/src/utils/request.ts#L181
Ways to solve the multiple call to toWebRequest

Call once, cache and don't call again (What Solid-Start is doing now)
Call and set WebRequestContext on the H3Event (Solid-Start does this on top of 1)

Setting the WebRequestContext has the following effects:

toWebRequest will return the value on event.web if present instead of creating a new Request object
Most body related utlity functions will use event.web instead of event.node.req

The lack of documentation is unfortunate. For example readBody caches and parses the body. So it is safe to be called multiple times.
References:

https://github.com/solidjs/solid-start/issues/1165

But this did fix things in solid start. Are they fixed independent of this ? If it's a good idea to set WebRewhestContext on h3event then we should do that internally. This has caused a lot of issues.

Ryan did what I described in 1 and 2 a while ago. You just recently published this change no? I would have to look for the exact commits.
https://github.com/solidjs/solid-start/blob/a670ffa3c498af6d16f44a4156edaca9d1fbc155/packages/start/server/middleware.ts#L43
https://github.com/solidjs/solid-start/blob/a670ffa3c498af6d16f44a4156edaca9d1fbc155/packages/start/server/middleware.ts#L21

If it's a good idea to set WebRewhestContext on h3event then we should do that internally

Yes, vinxi could provide a toWebRequest that sets the web context and that would make it safe to call multiple times. In my opinion vinxi shouldn't touch any h3 utilities unless absolutely necessary. In this case the issue is simply solved downstream by not calling toWebRequest more than once per request.

Also solution 1 doesn't fully solve the blocking problem I belive. If someone decides to call i.e. readBody after a call to toWebRequest without setting the web context the h3 utilities would try to read event.node.req and block. It would only works for Solid-Start if no one ever calls readBody(apiEvent) and only does apiEvent.request.

Ryan did what I described in 1 and 2 a while ago. You just recently published this change no? I would have to look for the exact commits.
<EMAIL_ADDRESS><EMAIL_ADDRESS>
If it's a good idea to set WebRewhestContext on h3event then we should do that internally

Yes, vinxi could provide a toWebRequest that sets the web context and that would make it safe to call multiple times. In my opinion vinxi shouldn't touch any h3 utilities unless absolutely necessary. In this case the issue is simply solved downstream.

how I think about it is that vinxi shouldn't hav any server runtim issues. Don't want it solvd downstream in solid-start, if it's going to be a problem all vinxi users face.
I am also okay wrapping h3 utils where it makes sens and actually try to push the fixes upstream.

In this case my suggestion would be to provide your own toWebRequest and set event.web. Unfortunately this stuff is not documented so I am basing verything on what I saw in H3's implementation.
Adding a test around this should be possible. A middleware and server function should show the problem and if it is fixed or not.

@nksaraf I can still reproduce the blocking. I will add a test here and we can go from there.

Were we able to fix the last bugs related to the blocking? is there a test for that?

It addresses the blocking that was caused for the same reason it was in start. Adding the fix to toWebRequest internally. At least a single call to toWebRequest shouldn't make body utils like readBody instantly unusable.
I added a test here.
The order of things to cause the block is this.

Call toWebRequest (without asigning event.web) - Start did this in middleware wrapper
Call  h3s readBody` - Happens in server fn handler

The result is the block.

Okay so then its ready to merge if that test passed I'm assuming?? Just confirm this

The h3 body ultils not throwing is a bit strange.

You're suggesting h3 should have popped an error for this, and it just blocks and stays stuck. Maybe this will need to upstreamed at some point. Ill look into that.


Create item vault displaying different storage amounts depending on whether it's empty

1.20.1 Forge
See screenshots for showcase of the issue / confusion:

The mod has an "Inventory Deduplicator" to prevent counting the same item multiple times with multiblock containers (Create Vault).
It only works when there are items in the inventory.


Unable to connect to NUX MP-2

I've installed Mightier Amp on a Moto G 5G Plus. I can see my NUX MP-2 when I click the Scan button, but when I try to connect to it I always get a "Connection Failed" error. The stock MightyAmp app connects to it without any problems.
Any ideas??

Sorry for answering so late. If you still have that problem, can you check if there are any errors in the app log? You can do it by going to the settings tab and tapping 7 times on the app version. Then you can scroll further and you'll find some new options including a debug console. Now try to connect your amp and then open the debug console. You can post the log here and that will help me find what the problem is.

How old is the version of Mightier Amp that you use? This log is from a version that does not support MP-2 firmware 2.x. I added that support more than 2 years ago.

Ah OK I was running 0.8.2. I've just done a fresh install from the Play
Store and it has resolved the issue.
Many thanks!
On Mon, 20 Nov 2023 at 12:10, tuntorius @.***> wrote:

How old is the version of Mightier Amp that you use? This log is from a
version that does not support MP-2 firmware 2.x. I added that support more
than 2 years ago.
—
Reply to this email directly, view it on GitHub
https://github.com/tuntorius/mightier_amp/issues/75#issuecomment-1818948608,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGSHDUHH2G4QSJ3RDBWMRS3YFNCENAVCNFSM6AAAAAA5OQBUCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJYHE2DQNRQHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hello,
I have a similar issue, but with a Mighty Plug Pro and with version of Mightier Amp 1.0.12 on a Motorola Edge 20 Lite. Interesting the App installed through Google Store doesn't request me authorization for GPS position. I'm attaching the log of the failed connection. Thanks in advance for the support.
mightier_amp_log.txt


bug: background-color and position: sticky don't mix well with modal class

What version of daisyUI are you using?
3.0.3
Describe your issue
The button div at the bottom has sticky bg-base-100 and I've added a duration-1000 to the modal for clarity. Adding background-transparent resolves the color changing issues but unfortunately removes the background dim. Also works well when sticky is removed
https://github.com/saadeghi/daisyui/assets/42046760/b2dbfafb-7e71-4f13-aa76-c5a3205502a4
What browsers are you seeing the problem on?
Chrome, Safari
Reproduction URL (optional)
No response

Is this the new <dialog> element?
https://daisyui.com/components/modal/#dialog-modal


I can add this tracker then.

Can you paste your settings with tripple backticks, it will save you newlines.
I can add this tracker then.

Thank you!

Perfect, thanks.

I have added this provider, but it's torrent files are not parsed properly, will have to wait for a solution.

Provided added to Burst 0.0.31, but their torrent files are not parsed by torrent library. Hope it will be fixed. Issue is created.


Black Picture

I'm trying to run the demo app with a local kurento room server.

Web client shows that iOS is joined and the picture is black too.
No errors at all.
Do you have any idea what can it be?

Hi arashr,
it seems that you don't send your stream and, at the same time, you don't receive other participant's remote streams.
Did you run the app on device right?
Have you verified that the the - (void)roomManager:(NBMRoomManager *)broker didAddStream:(RTCMediaStream *)remoteStream ofPeer:(NBMPeer *)remotePeer method is called?

I'm running the demo app on an iPhone 5, with 9.2 iOS.
The method is not called. I'm trying to trace the code to find the reason. So far? Nothing.

Hi, I have encountered with the same issue. @maross in my case I see that didAddStream is called in both right and wrong (black screen) session. I've noticed, that audio works while black screen, but there is no video for 40-50 seconds and then video appears. I'm trying to compare right and wrong session (right on left, wrong on right), check my screenshot, do you see any suspicious in that place? Screenshot


Intercom preventing some users from signing in or signing up

Version info

intercom-rails version: 0.3.5
Rails version: 5.2.3

Expected behavior
Intercom remote scripts should load quickly and successfully and not interfere with sign in/sign up forms.
Actual behavior
Some users on our site are unable to sign in or sign up using Chrome due to some issue with loading intercom JS remote scripts. We've had several cases of this. It's happened with Chrome 76.0.3809.100, but it could be other versions as well. Unfortunately I can't reproduce myself. To make sure it was Intercom, we've had users who were experiencing this issue temporarily block everything but Intercom using an Ad Blocker. Once they did this, they were able to sign in/sign up successfully.
The users are seeing Waiting for js.intercomcdn.com... or Waiting for api-iam.intercom.io... in the bottom left of their browser. It seems to be stuck waiting for these scripts for some reason.

When the click the form submit button, nothing happens and the message saying that it is loading Intercom remains.
Steps to reproduce
As mentioned, I can't reproduce myself but we have had many reports of this issue starting about 2 weeks ago.

Looks like this was resolved at some point as we haven't had any recent reports.

experiencing this :/, our website is stalling


General changes

Updating of ContactUs, UserGuide, DeveloperGuide, and build.gradle to reflect InsuRen instead of AddressBook 4.

Coverage remained the same at 88.139% when pulling 508cdc0dabf7c80324bcababd216f9114e2e5dda on denzelchung:general-changes into dabd56ce01f7b625ca3deeb42fc85148ef156a90 on CS2103-AY1819S1-W13-1:master.


[Decode] Enable HEVC CSC via sfc pipeline

HEVC SFC CSC is supported
Issue: MDP-65483
Test: -

@shawnli2 Could you please take a look?


Structure and use of branches gets reviewed, documented and improved

As a developer I want to improve our use of branches for get up to date in the future or adding more stages (example production) to the application
DoR:

[ ] The software works in the existent environment

Acceptance Criteria:

[ ] AC1: The target structure is plotted in a diagram
[ ] AC2: The target structure diagram is discussed in the team and accepted by the team
[ ] AC3: The target structure is implemented in the marketplace application
[ ] AC4: The new struckture and handling is documented

DoD:

[ ] The improved structure is in use
[ ] The handling is documented
[ ] The team got the knowhow how to handle it and can use it

Als erstes Schritt werden information von @Filipe-Inacio geholt


Add redux actiontyper

Hi.  Thanks for the PR, but I don't think it's something we specifically want to highlight at this time.  However, I'll add it to my Redux addons catalog next time I update it.


Wiki techstorm (26th/27th October/The Netherlands) task ideas

Summary:
Hi team, there will be an event at the end of this month https://www.mediawiki.org/wiki/Wiki_Techstorm . I will be there to have a workshop for our app and there will be hackathon too. Do you propose any task to work on during hackathon?

Do you have a rough idea of what skill level the participants will be at? Glancing at the program, it looks more like a short introductory event, where you would be teaching people how to contribute? In that case maybe fixing beginner-friendly bugs or small enhancements would be more appropriate than a large project.

I agree about short time constraints. In that case, can we decide to scope of workshop? Should I require to have android studio and sdk before workshop?

By the way "but we will also work with what we have called ‘practical projects’. These are projects in which participants and trainers/mentors can collaborate during the two day hackathon." they mentioned from two days practical project part. During workshop I can introduce our app development and then for 2 days, I still need your task ideas.

Fixing a compilation warning might be an achievable task in two hours: #171
Adding this intent is also achievable quickly by someone with Android experience: #537
For two days how about #1898 ? It is a "step-friendly" task, in that it is possible to implement a basic version of it in one day, a better version of it in two days, or even a wonderful version if you have 15 super-geniuses for two full days. Also, the benefit is easy to understand.


[MSG] Fix for silly bug in ArtworkPreview #trivial

A cautionary tale.
This is a fix for artworks without dates - this.props.artwork.date was an empty string in this case instead of a null, resulting in this bug:

Fails

:no_entry_sign:

Please assign someone to merge this PR, and optionally include people who should review.

  Generated by :no_entry_sign: dangerJS

Yup, this has happened before :/
LGTM, seeing as @mzikherman is on vacay, I’ll take this.

This could do with a CHANGELOG entry, though.

👍


Export fields seem to be not working

Describe the bug
When referencing a workspace that uses the package.json exports property, and I run yarn build (tsc), the imports cannot be resolved:
Cannot find module 'modulewithexportfields' or its corresponding type declarations.
When running tsc in the project, everything works as expected
To Reproduce
Steps to reproduce the behavior:

Create a yarn workspaces project
Create 2 packages where 1 exports via the package json exports property and the other imports that export and has it as dependency
run yarn build in the root

Expected behavior
Everything should work the same way as you run the build command in the packages folder.

Actually, it seems to be the build order, is there a way to explicitly set it?

Actually, it seems to be the build order, is there a way to explicitly set it?

Build order gets determined by dependencies or devDependencies in package.json. If you have any issues with the build order based on these dependencies, I think it will help to provide a repo for testing.

Yep that sounds like an issue with the build order.
There's an example in this repo you can reference. To define the build order declare your workspace dependencies as if they're an npm module, but instead of a version you can use  "workspace:*".
https://github.com/ojkelly/yarn.build/blob/main/packages/examples/phrases/lorem-ipsum/package.json#L12


median mutation burden per COSMIC signature

Dear Marcus or anyone else from Alexandrov Lab,
I'd like to plot a mutation burden per COSMIC signature bubbleChart (like the one from Fig 3 - Alexandrov et al., 2020 - Nature).
I wonder if relying on values from the "Assignment_Solution/Activities/Assignment_Solution_Activities.txt" output file and dividing then by 2,800 (for the "per Mb" scale, since my samples are WGS), then doing median across samples with the signature, would be the right approach?
I went through the methods from that paper, but couldn't find what exact numeric input was provided for that chart.
Thanks very much in advance for your attention,
Best,
Elton

Thanks for your question, @eltonjrv! As mentioned on the COSMIC Mutational Signatures website, "the number of mutations per megabase was calculated by assuming that an average whole-exome has 30 Mb with sufficient coverage, whereas an average whole-genome has 2,800 Mb with sufficient coverage". This information is available on any signature-based website, under the "tissue distribution" section (e.g., https://cancer.sanger.ac.uk/signatures/sbs/sbs1/).
In addition, in order to replicate the figure you mentioned, it might be helpful for you to check the original code used to generate it at https://github.com/steverozen/Misc-PCAWG7-code.
I hope this helps, and please let us know if you have any further questions.
Marcos

Thanks for your prompt reply, Marcos.
Yes indeed, I had already got the 2,800 Mb info from the COSMIC individual signatures websites. Thanks for reinforcing.
My main doubt was whether we can rely on the numerical values from the "Assignment_Solution/Activities/Assignment_Solution_Activities.txt" to be divided by 2,800, and then do median across samples with the signature.
I'll take a look later today on the steverozen codes for that figure, as you pointed.
Many thanks again.
Elton

Sure, you can take the results from the file you mentioned, as this corresponds to the activity matrix, indicating the total number of mutations assigned to each of the signatures in every sample. Regarding the median, if I'm not mistaken, in Fig. 3 from Alexandrov et al. 2020, only the mutations per megabase of the samples containing the mutation were plotted, so you may need to remove the zeros before calculating the median. However, I encourage you to check the original code I shared earlier to accurately replicate it.
I hope this helps, and feel free to reach out over email if needed (mdiazgay@health.ucsd.edu).
Marcos

Thanks for confirming, Marcos. That was really helpful!
Yeah, I'm pretty sure we need to remove all zeros to do the median (keeping only samples presenting the mutation, as Alexandrov 2020 says).
I'm getting a similar "median mutation burden" range in my heatmap (individually for SBS, DBS, and ID) as the ones from Alexandrov 2020 Fig 3, respectively, which indicates I might be doing the right calculations. : )
Best,
Elton