Unable to Install qiime2R

Hello - I'm trying to install qiime2R in RStudio (v2023.09.0+463) using the code provided:
If (!requireNamespace("devtools", quietly = TRUE)){install.packages("devtools")}
devtools::install_github("jbisanz/qiime2R")

This command gave the following output at the end:
ERROR: dependency ‘Hmisc’ is not available for package ‘qiime2R’
* removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/qiime2R’
Warning messages:
1: In i.p(...) :
  installation of package ‘stringi’ had non-zero exit status
2: In i.p(...) :
  installation of package ‘RcppArmadillo’ had non-zero exit status
3: In i.p(...) : installation of package ‘vegan’ had non-zero exit status
4: In i.p(...) : installation of package ‘igraph’ had non-zero exit status
5: In i.p(...) : installation of package ‘ape’ had non-zero exit status
6: In i.p(...) : installation of package ‘Hmisc’ had non-zero exit status
7: In i.p(...) : installation of package ‘ade4’ had non-zero exit status
8: In i.p(...) :
  installation of package ‘/var/folders/pg/08g3vsq5451gz2slxjl12gh40000gn/T//RtmpQoAkkX/fileb6aa4c62c755/qiime2R_0.99.6.tar.gz’ had non-zero exit status

So, when I try to add qiime2R into my library, I get the following error.
> library(qiime2R)
Error in library(qiime2R) : there is no package called ‘qiime2R’

It sounds like the problem is in the installation of all the dependencies. Can you send your sessionInfo()?

It sounds like the problem is in the installation of all the dependencies. Can you send your sessionInfo()?

R version 4.0.4 (2021-02-15)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS 13.4

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.11       urlchecker_1.0.1  compiler_4.0.4    later_1.3.1       remotes_<IP_ADDRESS>
 [6] prettyunits_1.1.1 profvis_0.3.8     tools_4.0.4       digest_0.6.33     pkgbuild_1.4.2
[11] pkgload_<IP_ADDRESS>   evaluate_0.21     memoise_2.0.1     lifecycle_1.0.3   rlang_1.1.1
[16] shiny_<IP_ADDRESS>     cli_3.6.1         rstudioapi_0.15.0 curl_5.0.2        yaml_2.3.7
[21] xfun_0.40         fastmap_1.1.1     stringr_1.5.0     knitr_1.44        desc_1.4.2
[26] fs_1.6.3          htmlwidgets_1.6.2 vctrs_0.6.3       devtools_2.4.5    rprojroot_2.0.3
[31] glue_1.6.2        R6_2.5.1          processx_3.8.2    rmarkdown_2.25    sessioninfo_1.2.2
[36] callr_3.7.3       purrr_1.0.2       magrittr_2.0.3    usethis_2.2.2     promises_1.2.1
[41] ps_1.7.5          ellipsis_0.3.2    htmltools_0.5.6   mime_0.12         xtable_1.8-4
[46] httpuv_1.6.11     stringi_1.7.5     miniUI_<IP_ADDRESS>    cachem_1.0.8      crayon_1.5.2

Was able to circle back to this and figured it out. I can't remember which dependency was giving me issues within the qiime2R install this time (it may have been the same one listed above), but I just individually installed the one package that was giving me the problem. You'd actually recommended this to someone else who was having a similar issue in a QIIME forum - thank you!


Marking files as sideEffects-free does not work when run with HardSource

Expected Behavior
Compilation of modules marked as sideEffects-free is the same when run with HardSource, and it's not.
The data of each module inside of normalModuleFactory should contain the descriptionFileData property, which is used to mark the module as sideEffect-free:
https://github.com/webpack/webpack/blob/e3678aa3767aaeb26ebcf5e3028412bbebdb4f9f/lib/optimize/SideEffectsFlagPlugin.js#L28
Actual Behavior
When run with HardSource, property descriptionFileData is undefined, this means the logic of SideEffectsFlagPlugin is never executed and the modules are not marked as sideEffects-free.
Is an error being thrown?
No. It's broken silently.
Steps to Reproduce

Import a module marked as sideEffects-free
Run the same compilation with and without HardSource -- the output will differ

Operating System, Node, and NPM dependency versions
HardSource 0.9.0
Webpack 4.12.0
macOS 10.13.4 (17E202)
Node 10.5.0

I've identified the missing feature. The parent object containing descriptionFileData isn't being carried through the enhanced-resolve cache. So this data isn't being populated in the NormalModuleFactory and passed to SideEffectsFlagPlugin.

Thanks @niieani for opening this issue. I knew previously that hard-source supported side effects false through the webpack config but had overlooked side effects false in the package.json. Now both should be covered.


Bug 1958285: Simplify deployment status check to reduce flapping.

The deployment status logic (originally based on kubectl's rollout
status) can impact its ClusterServiceVersion's status (e.g. by sending
it to Failed/ComponentUnhealthy or triggering reinstallation). If
these ClusterServiceVersion status updates are generated when no
changes have been made to the Deployment spec and when the Deployment
itself has condition Available: True, then the usefulness of
ClusterServiceVersion statuses as a signal is reduced.
This patch changes the deployment status logic so that it is
considered "done" when a) there are no replicas from earlier
generations, and b) the Deployment has condition Available: true.

/retest

/retest

/retest

/lgtm

/retest


enable to rename variable

#1084 #1023
enable to rename variables/parameters

@LBJ-the-GOAT Thanks again for this one. Very cool :)

@LBJ-the-GOAT Thanks again for this one. Very cool :)


Avoid use of leading slash for urljoins

This PR removes all leading slashes from uses of urljoin, thus allowing users to specify a root_path without it being ignored in the process of joining
Closes #142

Thanks @moradology !


[BUG]getBoosterBestIteration method does not work

SynapseML version
com.microsoft.azure:synapseml_2.12:0.9.4
System information

**Language version ( python 3.8.10, scala 2.11.12):
**Spark Version (e.g. 3.1.2):

Describe the problem
For trained models imported by LightGBMClassificationModel().loadNativeModelFromFile, the output of the getBoosterBestIteration method is the default value of -1, not the number of best iterations in the model
Code to reproduce issue
lgb =LightGBMClassificationModel().loadNativeModelFromFile('file:///home/lgb.pkl')
print(lgb.getBoosterBestIteration())
Other info / logs
No response
What component(s) does this bug affect?

[ ] area/cognitive: Cognitive project
[ ] area/core: Core project
[ ] area/deep-learning: DeepLearning project
[X] area/lightgbm: Lightgbm project
[ ] area/opencv: Opencv project
[ ] area/vw: VW project
[ ] area/website: Website
[ ] area/build: Project build system
[ ] area/notebooks: Samples under notebooks folder
[ ] area/docker: Docker usage
[ ] area/models: models related issue

What language(s) does this bug affect?

[X] language/scala: Scala source code
[X] language/python: Pyspark APIs
[ ] language/r: R APIs
[ ] language/csharp: .NET APIs
[ ] language/new: Proposals for new client languages

What integration(s) does this bug affect?

[ ] integrations/synapse: Azure Synapse integrations
[X] integrations/azureml: Azure ML integrations
[ ] integrations/databricks: Databricks integrations

I believe this is an older bug from a few versions ago (if you are really using 0.9.4). Please use the latest version 0.10.1.


No module found ovirtsdk.xml

So, I'm try to run server but I've got this error
[root@openuds server]# python manage.py taskManager --start
Traceback (most recent call last):
  File "manage.py", line 9, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 327, in execute
    django.setup()
  File "/usr/lib/python2.7/site-packages/django/__init__.py", line 18, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/lib/python2.7/site-packages/django/apps/registry.py", line 115, in populate
    app_config.ready()
  File "/var/server/uds/__init__.py", line 72, in ready
    from . import services  # to make sure that the packages are initialized at this point
  File "/var/server/uds/services/__init__.py", line 73, in <module>
    __init__()
  File "/var/server/uds/services/__init__.py", line 63, in __init__
    __import__('uds.services.' + name, globals(), locals(), [])
  File "/var/server/uds/services/OVirt/__init__.py", line 31, in <module>
    from .OVirtProvider import Provider
  File "/var/server/uds/services/OVirt/OVirtProvider.py", line 44, in <module>
    from . import client
  File "/var/server/uds/services/OVirt/client/__init__.py", line 33, in <module>
    from . import oVirtClient3;
  File "/var/server/uds/services/OVirt/client/oVirtClient3.py", line 7, in <module>
    from ovirtsdk.xml import params
ImportError: No module named ovirtsdk.xml

But Ovirt Engine SDK is installed a latest version.
[root@openuds server]# python -m pip list
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Package                          Version
-------------------------------- ----------
backports.ssl-match-hostname     <IP_ADDRESS>
bcrypt                           3.1.7
bitarray                         1.2.1
blivet                           <IP_ADDRESS>
Brlapi                           0.6.0
cffi                             1.14.0
chardet                          2.2.1
chrome-gnome-shell               0.0.0
configobj                        4.7.2
coverage                         3.6b3
cryptography                     2.8
cupshelpers                      1.0
decorator                        3.4.0
defusedxml                       0.5.0
di                               0.3
Django                           1.9.9
django-appconf                   1.0.3
django-compressor                2.4
dnspython                        1.16.0
enum34                           1.1.10
ethtool                          0.8
firstboot                        19.5
fros                             1.0
futures                          3.1.1
iniparse                         0.4
initial-setup                    <IP_ADDRESS>
ipaddress                        1.0.16
IPy                              0.75
javapackages                     1.0.0
kitchen                          1.1.1
langtable                        0.0.31
lxml                             3.2.1
MySQL-python                     1.2.5
ntplib                           0.3.2
ovirt-engine-sdk-python          4.4.2
paramiko                         2.7.1
perf                             0.1
Pillow                           6.2.2
pip                              20.0.2
policycoreutils-default-encoding 0.1
pyasn1                           0.4.8
pyasn1-modules                   0.2.8
pycparser                        2.20
pycrypto                         2.6.1
pycups                           1.9.63
pycurl                           7.19.0
pygobject                        3.22.0
pygpgme                          0.3
pyinotify                        0.9.4
pykickstart                      <IP_ADDRESS>
pyliblzma                        0.5.3
PyNaCl                           1.3.0
pyOpenSSL                        19.1.0
pyparted                         3.9
pysmbc                           1.0.13
python-augeas                    0.5.0
python-dateutil                  2.8.1
python-ldap                      3.2.0
python-linux-procfs              0.4.9
python-meh                       0.25.3
python-memcached                 1.59
python-nss                       0.16.0
pytz                             2016.10
pyudev                           0.15
pyxattr                          0.5.1
PyYAML                           3.10
rcssmin                          1.0.6
reportlab                        3.5.42
requests                         2.6.0
rjsmin                           1.1.0
schedutils                       0.4
seobject                         0.1
sepolicy                         1.1
setroubleshoot                   1.1
setuptools                       0.9.8
six                              1.9.0
slip                             0.4.0
slip.dbus                        0.4.0
subprocess32                     3.2.6
urlgrabber                       3.10
urllib3                          1.10.2
XenAPI                           2.14
xml-marshaller                   1.0.2
yum-langpacks                    0.4.2
yum-metadata-parser              1.1.4

UDS 2.2 supports ovirt 3.x and 4.x, the problem is that the old "ovirt" 3.x package is not available using pip (i don't know where you can get it). Anyway, when issuing a problem, please, notify what version are you refering to. Also remember that Master is not functional...


3.x example, live tests uses rules, not keys

Added the 3.x live tests example code.

Thank you! Would you mind squashing these into a single commit?


Affiliate Subs

Hey swifty :)
I know you are kinda busy lately and the Affiliate Sub thing is new but is there a way you can get detection and stuff for that in to your libary? :)
Regards

I could be wrong but I don't think there's an API route to discover this kind of information. There maybe information in the messages received in chat but that's fairly unlikely. I'll check both this weekend. Also, keep an eye on twitch developer forums, there's a good chance someone will ask about it if they haven't already.

Do you think twitch is labeling them as partnes too so I could use the new sub event?

I'm not sure. Will need to listen to some messages in an affiliates channel with subs talking to know for sure.


ContextMenu does not work

@contextmenu event does not work.

@mirkofisic I am just struggling with this issue too right now. Did you had any success finding a solution?

I haven't solved, but try @contextmenu.native.prevent="yourhandler"

Are you using the component in combination with this one https://github.com/rawilk/vue-context? I just tried and I did not have any issues. See screenshot. What kind of problem are you having?


Remove dependency on JDK 17 HexFormat

Add ByteArray, ByteUtils, and HexFormat classes to do it.

It's a bit unfortunate that this PR duplicates a couple of classes from base.internal. But I guess since it's internal, secp can't use it?

I think the duplication is ok, for now. But I envision the following strategy:

Port secp-api and secp-bouncy the rest of the way back to JDK 8
In the bitcoinj release that is refactored to use secp-api, have base depend on secp-api and remove the duplication then.

There are definitely a few things in here that need cleanup, but I'm going to merge and we can fix them later.


How do i upload images?

I'm working on a project and i think it would be nice to use your library but I can't seem to figure out how to upload files. Please I need to know how to upload images via the backendservice

angular2-sails is just a wrapper for socket.io. please check out socket.io docs


Add LICENSE file to feedstock

As an MIT-licensed package, two licenses were referenced in meta.yaml.
This PR adds the second LICENSE file required by the MIT license.

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you but ran into some issues, please ping conda-forge/core for further assistance.

Re-rendered locally with no changes made by conda smithy.

This not required. Conda-build is already getting it from the cram tarball.

Thanks for the feedback @dbast, will close this PR


Remove *.rollbar.com from blacklist

Rollbar.com is a legit developer tool.
This PRs removes all *.rollbar.com mentions from blacklist.
Fixes #1281.
Re-created from: #1282.

Didn't you read readme? You need to request removal from the host list sources!

Didn't you read readme? You need to request removal from the host list sources!

This change was added directly into the hosts file, here: https://github.com/StevenBlack/hosts/pull/623

Sorry😬

Thanks Thaynã @izn.
Merging.  This closes #1281


when passing url parameters, the virtual route doesn't work

something like localhost:3000/foo.html?test=test seems to break this plugin.  quick look at the code, shows that it looks for .endsWith(".html") etc, which naturally doesn't work with parameters....

i've fixed this issue , could you try again later?

yes, it works, that was quick !

😋


Nvim doesn't work or I'm stupid

I took out the nvim config so that i can use it to replace mine (doesn't work cause I'm bad at setting it up) but there is no leader key mapped to the config anywhere and even when i map a leader key it doesn't work. Am i doing something wrong?

right now thing around nvim is kinda broken in my .dotfiles.
you can refer https://nvchad.com/docs/quickstart/install for a quick setup


Migrate influxdb docs

Migrating the InfluxDB help docs, reference: #788
Adds index page for InfluxDB and changes both toc and devportal's index page.

Noticed the headers are not sentence case, so this definitely needs another review - hence the draft PR.

@FloorD this won't get a review while the build is failing. Please let me know if you need a hand with anything here, I'll assign this to you - go ahead and unassign when it's ready for review and someone will pick it up!

Currently, the build is failing. Let me know if we can support you somehow.

Rebased to pick up newer changes to main.

This pull request hasn't seen activity for some time, closing. Please re-open when you have time to work on this!


Crashes on long path lengths on Windows

cargo just got a report of a crash on Windows with long paths (rust-lang/cargo#11710)

Problem
cargo clean, cargo tree, cargo build, etc. generates panic
thread 'main' panicked at 'range end index 270 out of range for slice of length 260', C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\is-terminal-0.4.0\src\lib.rs:169:14 stack backtrace: 0: 0x7ff6d75f5db2 - git_midx_writer_dump 1: 0x7ff6d761b89b - git_midx_writer_dump 2: 0x7ff6d75ecb4a - git_midx_writer_dump 3: 0x7ff6d75f5afb - git_midx_writer_dump 4: 0x7ff6d75f8ef9 - git_midx_writer_dump 5: 0x7ff6d75f8b7b - git_midx_writer_dump 6: 0x7ff6d75f9791 - git_midx_writer_dump 7: 0x7ff6d75f951e - git_midx_writer_dump 8: 0x7ff6d75f6aaf - git_midx_writer_dump 9: 0x7ff6d75f91d0 - git_midx_writer_dump 10: 0x7ff6d76ae435 - git_midx_writer_dump 11: 0x7ff6d761e267 - git_midx_writer_dump 12: 0x7ff6d76ae959 - git_midx_writer_dump 13: 0x7ff6d74a4659 - git_midx_writer_dump 14: 0x7ff6d6cc7087 - git_libgit2_prerelease 15: 0x7ff6d6cc15ba - git_libgit2_prerelease 16: 0x7ff6d6cc1499 - git_libgit2_prerelease 17: 0x7ff6d6c3f8c7 - git_libgit2_prerelease 18: 0x7ff6d6cb77be - git_libgit2_prerelease 19: 0x7ff6d6c34e16 - git_libgit2_prerelease 20: 0x7ff6d6c44c2c - git_libgit2_prerelease 21: 0x7ff6d75e4f0e - git_midx_writer_dump 22: 0x7ff6d6cba51c - git_libgit2_prerelease 23: 0x7ff6d7624ee0 - git_midx_writer_dump 24: 0x7ffb5eb184d4 - BaseThreadInitThunk 25: 0x7ffb60ca1791 - RtlUserThreadStart
Steps
1. setup rust build in remote session, Jenkins, for example, using really long file names

2. use next script to be called by CI

rustup default 1.67.0
rustup update 1.67.0
cargo clean

3. panic

Possible Solution(s)
Switch to version 1.66.0
Notes
Normal Windows command line Session works fine.
Problem lies in is_terminal:0.4.0, which failed if real terminal is not available. The problem is related to the badly supported long file names: 260 is a MAX_PATH, and we have really long paths. thread 'main' panicked at 'range end index 270 out of range for slice of length 260' code```
 let mut name_info = FILE_NAME_INFO {
    FileNameLength: 0,
    FileName: [0; MAX_PATH as usize], //// <- ERROR FileNameLength is 260
};
// Safety: function has no invariants. an invalid handle id will cause
//         GetFileInformationByHandleEx to return an error
let handle = GetStdHandle(fd);
// Safety: handle is valid, and buffer length is fixed
let res = GetFileInformationByHandleEx(
    handle,
    FileNameInfo,
    &mut name_info as *mut _ as *mut c_void,
    std::mem::size_of::<FILE_NAME_INFO>() as u32,
);
if res == 0 {
    return false;
}
let s = &name_info.FileName[..name_info.FileNameLength as usize]; // <- FAULT FileNameLength is 270

### Version

```text
cargo 1.67.1 (8ecd4f20a 2023-01-10)
release: 1.67.1
commit-hash: 8ecd4f20a9efb626975ac18a016d480dc7183d9b
commit-date: 2023-01-10
host: x86_64-pc-windows-msvc
libgit2: 1.5.0 (sys:0.16.0 vendored)
libcurl: 7.86.0-DEV (sys:0.4.59+curl-7.86.0 vendored ssl:Schannel)
os: Windows 10.0.14393 (Windows Server 2016 Standard) [64-bit]

That seems weird. The code in question checks for failure, and not having enough space in the buffer should be a failure: https://github.com/sunfishcode/is-terminal/blob/bee73f29bb4472194dda4c96a481a455a2b6433b/src/lib.rs#L158-L166
Maybe it's a result of a server that's using customized drivers (or other third party kernel tweaks) or maybe there's a bug in that version of Windows Server. Either way I guess it'll have to verify the FileNameLength too.

I've now prepared #19 with a check that the filename length is in bounds before we use it.

Hi @sunfishcode, is there any plan to have a point release in a few days? We're going to cut a beta backport on Cargo side. No worries if there is not. Thank you for the quick fix!

I've now released is-terminal 0.4.4 with this fix.


Must hold lock to call LedgerConsensusImp::getJson.

Calling LedgerConsensusImp::getJson without holding the lock that protects things like mPeerPositions can cause crashes.

Current coverage is 49.38%

Merging #1416 into develop will not affect coverage as of 9ea4a53

@@            develop   #1416   diff @@
=======================================
  Files           964     964
  Stmts         67065   67067     +2
  Branches          0       0
  Methods           0       0
=======================================
+ Hit           33122   33123     +1
  Partial           0       0
- Missed        33943   33944     +1

Review entire Coverage Diff as of 9ea4a53

Powered by Codecov. Updated on successful CI builds.

:+1: and on the fast-track.

Merged as a8cdd4f66df34bf32b37b331668254563e5a365e.


could not find or load main class start

it won't start
i have removed -Xincgc and when i did that this came up:
"Error: Could not find or load main class Start
Caused by: java.lang.ClassNotFoundException: Start"

This is not a bug, please check the FAQ section in the wiki

#74


Codacy problems

https://app.codacy.com/manual/kyberorg/yals/issues?bid=14515816&step=0

[x] Fix errors

[x] Introduce badges to readme

Done


Doesnt work

Ive put the C_HIT_USER_PROJECTILE in \tera-proxy\node_modules\tera-data\protocol and the other data there: tera-proxy\bin\node_modules\Memeslash-master and it doesnt work, maybe we need the actual opcode for C_HIT_USER_PROJECTILE? Im playing on Tera EU Manhan, always errors with C_HIT_USER_PROJECTILE and S_DESPAWN_NPC

looks like this program is dead ( if you read in several forums) , they're still people selling this module but  looks like it doesn't work anymore. try to play in the right way


SystemStackError is silenced

In this code:
require 'interception'
Interception.listen do |a, b|
  puts a, b
end

def foo
  foo
end

foo

puts 'done'

It silences the error and totally eats any debug messages:
$ ruby /tmp/a.rb
$ echo $?
1

We expected to get something similar to what you get without your gem:
$ cat /tmp/a.rb
def foo
  foo
end

foo

puts 'done'
$ ruby /tmp/a.rb
/tmp/a.rb:2:in `foo': stack level too deep (SystemStackError)
        from /tmp/a.rb:2:in `foo'
        from /tmp/a.rb:2:in `foo'
        from /tmp/a.rb:2:in `foo'
        from /tmp/a.rb:2:in `foo'
        from /tmp/a.rb:2:in `foo'
        from /tmp/a.rb:2:in `foo'
        from /tmp/a.rb:2:in `foo'
        from /tmp/a.rb:2:in `foo'
         ... 10067 levels...
        from /tmp/a.rb:2:in `foo'
        from /tmp/a.rb:2:in `foo'
        from /tmp/a.rb:2:in `foo'
        from /tmp/a.rb:5:in `<main>'

At a guess, during a SystemStackError we have extremely few stack frames to work with (since the stack is yet to be unwound), and something (my guess is https://github.com/ConradIrwin/interception/blob/master/lib/interception.rb#L104-L106) in interception is causing us to blow the stack again, re-entering our raise TracePoint.
Since that call occurs in a self.rescueing = true block, all further exceptions are nop'd.
Thoughts?

Stack errors are almost always fatal; they can happen inside teardown code, leaving resources dangling. Intercepting stack errors almost never works like you expect.

It looks like the root cause is TracePoint, which Interception relies on; I'm able to reproduce with TracePoint alone:
TracePoint.new(:raise){}.enable
def foo; foo; end
foo

This bug has been filed with Ruby for a year, but so far no response: https://bugs.ruby-lang.org/issues/11667.
Welp.


Change publish config file in ServiceProvider

Fixes  myckhel/laravel-chat-system #9

would have to close this since issue already fixed.
https://github.com/myckhel/laravel-chat-system/issues/10 is another nice task

i have updated the referenced task comment https://github.com/myckhel/laravel-chat-system/issues/10#issue-926135822
maybe it would sound clearer @hmreumann


SDR Project Presentation - CETAF ISTC/DWG

Meeting agenda: https://cetafdigitization.biowikifarm.net/cdig/ISTC_DWG_Meeting_Spring_2021
15 minute presentation on summary of work done so far

Livermore, Laurence (2021): Specimen Data Refinery: Project Overview and Update. figshare. Presentation. https://doi.org/10.6084/m9.figshare.14472570.v1


Implement docker-machine rpromt

This adds a RPROMPT section much like the one of virtualenv.
It is disabled by default.

LGTM. Gonna test this out later today. Thanks you @zetaron.

Done. Thank you!

Thanks for the quick merge :+1:


Response Time in page event

Steps to reproduce
Tell us about your environment:

Puppeteer version: 1.0.0
Platform / OS version: OS X
URLs (if applicable):
Node.js version: v8.9.1

Looking at the API, there is no way to retrieve information about how long it took for a network request. The only way I saw to retrieve this information is by using tracing
What do you think about adding some extra attributes/methods on the Request and Response to retrieve this information?

Closing in favor of #1795

The #1795 has been closed long time ago but without been merged.
Also I think it's better to use response field timing which provide detailed informations instead of the event's timestamp


HUBOT_SLACK_CHANNELS doesn't work

Hi, I can't find a way to tell hubot to join other channels than #general.
heroku config:set HUBOT_SLACK_CHANNELS=#general,#rails
does nothing.
Thanks.

One weird thing that's not intuitive at all is that Hubot will stay in the Slack channel (and even show up with a green dot) when he's been kicked from it (because you can't kick people from #general). He will respond to direct commands mentioning his name but not fire hear responses.
This is problematic because we have several teams grouped under one Slack account and one team's automatic responses to certain keyword may greatly annoy another's, so we don't want all Hubots in #general.


SyntaxError: Unexpected token ...

on windows 7 machine, I get this error when I run gulp build serve
SyntaxError: Unexpected token ...
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:414:25)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Liftoff.handleArguments (C:\Users\swirts\AppData\Roaming\npm\node_modules\gulp\bin\gulp.js:116:3)
at Liftoff. (C:\Users\swirts\AppData\Roaming\npm\node_modules\gulp\node_modules\liftoff\index.js:192:16)
at module.exports (C:\Users\swirts\AppData\Roaming\npm\node_modules\gulp\node_modules\flagged-respawn\index.js:17:3)
looks like the gulpfile has ES6 spreads in it?
any guidance would be greatly appreciated.

Yup you can either use .concat() or install Node v5.x.

I loaded node v5.0.0, didn't seem to work. are you saying to use concat()
in gulpfile.js?
swirts@JC1WDETG97 ~/Projects/markdown
$ node -v
v5.0.0
swirts@JC1WDETG97 ~/Projects/markdown
$ npm -v
3.5.3
swirts@JC1WDETG97 ~/Projects/markdown
$ gulp build serve
[15:30:11] Using gulpfile H:\Projects\markdown\gulpfile.js
C:\Users\swirts\AppData\Roaming\npm\node_modules\gulp\bin\gulp.js:129
gulpInst.start.apply(gulpInst, toRun);
^
TypeError: Cannot read property 'apply' of undefined
at
C:\Users\swirts\AppData\Roaming\npm\node_modules\gulp\bin\gulp.js:129:19
at doNTCallback0 (node.js:428:9)
at process._tickDomainCallback (node.js:398:13)
On Fri, Jan 22, 2016 at 3:19 PM, Pabs<EMAIL_ADDRESS>wrote:

Yup you can either use .concat() or install Node v5.x.
—
Reply to this email directly or view it on GitHub
https://github.com/ghpabs/angular2-seed-project/issues/53#issuecomment-174035611
.

Hi,
I think maybe this is just a different issue, the ... problem is gone now.
thanks
On Fri, Jan 22, 2016 at 3:19 PM, Pabs<EMAIL_ADDRESS>wrote:

Yup you can either use .concat() or install Node v5.x.
—
Reply to this email directly or view it on GitHub
https://github.com/ghpabs/angular2-seed-project/issues/53#issuecomment-174035611
.

Cool, try installing Gulp again as you got new NPM/Node versions now.

I'm happy to reopen if you're still having problems.


Extension new window is no longer centered

There has been a regression such that when a user authenticates/signs transactions (anything that opens a new window), the window popout is no longer centered on the browser window that opened it.

From @psq:

In multi screen setup (3, on Mac OS), the extension window opens on the left of the "main" screen (the one with the menu bar on the Displays OS preferences), really not the most convenient behavior, often you don't even see it appear because of the distance.
At least, it should open on the same screen as the browser window that the user is using, and at best, possibly remember the last position is was moved to.

Also, related: https://github.com/blockstack/stacks-wallet-web/issues/473


Save performance metrics

It would be good to have saved performance metrics that we can use to understand the changes. As mentioned in #36 these metrics can be saved in Session or in Context.
Some of the data we can save is:

Time spent executing nodes
Memory consumption before and after node execution
Cache hit/miss
Child nodes to pinpoint slower paths

The proposal is adding a Performance interface to base session or context that can be used to save this data. It's done as an interface so we can have several implementations, some can get more info than others or disable collecting data in case it's too expensive.
type Performance interface {
	// Called once per query to reset the counters
	Reset()

	// Marks the start of one node execution, returns an id as there can be several
	// nodes running at the same time
	Start(nodeName, arguments string) (id int)

	// Marks the start of one node execution
	End(id int)

	// This can be used to save other values like cache hit and miss rates
	ExtraData(id int, name string, value int)

	// Gets the collected data in some structured format like json
	GetData() string
}

Then all the nodes have to be instrumented to save this data:
func (ib *IsBinary) Eval(
	ctx *sql.Context,
	row sql.Row,
) (interface{}, error) {
	// Start collecting data
	perID := ctx.Performance.Start("IsBinary", ib.String())
	defer ctx.Performance.End(perID)

	v, err := ib.Child.Eval(ctx, row)

	[...]

	blob, err := sql.Blob.Convert(v)
	if err != nil {
		return nil, err
	}

	// Add extra information that may be useful
	ctx.Performance.ExtraData(perID, "blob size", blob.Size())

	return isBinary(blob.([]byte)), nil
}

Extra tooling should be created to read and analyze this data. It would also be interesting to automate running tests with old and new code (for example master and PR) and comparing the data to find regressions.
Thoughts? @ajnavarro, @erizocosmico, @mcarmonaa

I like the idea and it fits on the gitbase backlog. Just a couple of changes:

The name of the interface should be something like Metrics
The first implementation of that interface should be using open metrics format, on that case using https://github.com/jaegertracing/jaeger

Instead of jaeger, we could use opencensus (https://github.com/census-instrumentation/opencensus-go), which has exporters for jaeger and many more, if we want to avoid vendor lock-in

@smola , what do you think about use opencensus instead of jaeger? for me is ok.

Note that jaeger provides OpenTracing API, and if you limit yourself to that, it's not vendor-locking. On the other hand, OpenCensus has its own standard and implementations only for Golang and Java (so far). Which might be good for us. It also provides wider APIs (e.g. metrics).
Whether we go with OpenTracing or OpenCensus, we can choose Jaeger/Zipkin/Other as server.

Which one did we ended up choosing?

Jaeger because is compatible with OpenTracin API


Can this library be used with Apollo Client 2.5?

My apologies, I tried to search for this answer but could not find it. Does anything need to be done for react-apollo-hooks to work with Apollo Client 2.5?
Do I need both react-apollo and react-apollo-hooks in this scenario?

I am using it with 2.5 successfully (and with the new local state management), I have both react-apollo and react-apollo-hooks installed.

Yes, it can. Please fill an issue if you have any problems with it.


Emulator not handling screen DPI after Windows April 18 Update

The text is now tiny and unreadable

Please try zooming with ctrl++ to zoom out and ctrl+- to zoom in

On this topic we're subject to the behavior of the Electron app framework. You might try perusing their issues page for a solution or workaround.

@EricDahlvang yes the zooming thing is what I've had to do but obviously it's not an ideal experience. @eanders-MS whilst I appreciate it's tricky it's still a problem with the bot-framework that the bot-framework team might want to take up with Electron.

I'm on version 10.0.17763 Build 17763 of Windows and the Emulator seems to respect whatever DPI setting your display is set to.
For example, on my 4k monitor, if I set the scale of the display to the default of 100% instead of the recommended 150%, the emulator and all other applications become smaller. This behavior seems correct to me, and I don't think that the emulator should be expected to remain a static size whenever the scale of the display is changed.


extra arrow appears when column is sorted in descending order

@pmoaddel - the only CSS fixtable-ember adds to sorted columns is a span w/ class caret.  This looks like a problem w/ your specific implementation.  Hit me up dog, we can take a look if this is still a problem.


V4 assorted bugs

Pull Request Key Information
Reason for change
Fixed assorted bugs encountered while running a more complex simulation
What was changed

Improved code performance in program_outputs
Type casted values for datetime.timedelta
Added name validation

Intended Purpose
Fix assorted bugs and improve code performance
Testing Completed
Manually ran simulation with valid and invalid names.
All unit tests pass
result.txt

All the comments regarding typecast - the values can sometimes be int32/int64. Timedelta is only valid with int and will error out if it's using int32/64, and that is why the typecasts have been added in.


set imagePullPolicy to Always on OLM catalogs

OLM catalog pods rely on imagePullPolicy: Always for their update mechanism to work.  Currently that mechanism is a per-catalog cronjob deployed in the HCP namespace that restarts each catalog every hour with oc rollout restart.
https://github.com/openshift/hypershift/blob/main/control-plane-operator/controllers/hostedcontrolplane/olm/assets/catalog-certified-rollout.cronjob.yaml

@derekwaynecarr mentioned this in Slack, but the original problem and the reason we went with IfNotPresent is:

The history on this was a telco customer for OCP was unable to reboot a cluster cause we had an image pull always and OCP was not connected when it was reboot away from factory.

Was this a standard disconnected cluster where we expected the customer to mirror the catalog and use an ICSP to redirect requests to the mirror? Did the away-from-factory cluster have any connection to an image registry?
I'm trying to figure out if we need one of:

The customer to mirror the catalog and use a ICSPs.
To pre-load all images on all nodes they could conceivable be scheduled on and make sure to always use IfNotPresent
Something else?

@sjenning I think a better solution is to leave it as IfNotPresent and rely on imagestreams to track the repos and trigger a redeployment if a new image is available.

I think I saw a comment that there are cases where the HyperShift control plane can only use upstream APIs because it sometimes needs to run in an upstream-only cluster (e.g. ROKS)

@csrwng confirmed that ROKS doesn't deploy OLM so we are free to use OCP resources.  Closing in favor of future imagestream based solution
/close


Add extends support when parsing tsconfig.json file

I discovered that if there is "extends" in tsconfig.json, like:
{
  "extends": "../../tsconfig.json"
}

then plugin does not resolve source config. It can be fixed with ts.parseJsonConfigFileContent.

@lyohaplotinka nice, thanks!


Throw exception in boot when unable to listen on interface

Hotfix for the 0.4 line: this should kill processes where the bind has failed.

/cc @danielegallingani

LGTM :shipit:


ci: Fix typo in release workflow

Fixes #309

Codecov Report

Merging #310 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #310   +/-   ##
=======================================
  Coverage   99.92%   99.92%
=======================================
  Files          21       21
  Lines        1264     1264
  Branches      197      197
=======================================
  Hits         1263     1263
  Partials        1        1

Flag
Coverage Δ

#unittests
99.92% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


feat(Table): update to v1 API

@layershifter https://github.com/TechnologyAdvice/stardust/issues/269#issuecomment-243243123

It looks that Table can be stateless component, except one case, sortable.

I think about making Table.Sortable that has state and allow it pass shorthands or only components Table.Row, Table.Header, etc. But, it is ugly. Any better ideas there?

I like striving to use stateless functional components, however, we also need to handle the selected row state. I think we just use AutoControlledComponent right out of the gate for the table.

Current coverage is 96.69% (diff: 100%)

Merging #451 into master will not change coverage

@@             master       #451   diff @@
==========================================
  Files            90         90
  Lines          1300       1300
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1257       1257
  Misses           43         43
  Partials          0          0

Powered by Codecov. Last update 258480f...f2355b5

I like striving to use stateless functional components, however, we also need to handle the selected row state.  I think we just use AutoControlledComponent right out of the gate for the table.

Has there been any work done on this yet? Or was this just opened to capture that conversation from the referenced issue's comments?

It was opened to capture the conversation.  I believe @layershifter was planning on tackling this, not sure what his work load is.  Unless Alexander is planning to start work on it soon, I say it is fair game for anyone.

I'm planing to start on it today/tomorrow.

       Git Repository

         node_modules

      Initial commit
      10 hours ago

Git Repository

        <Icon name="folder" /> node_modules

Initial commit

10 hours ago

@levithomason What you think about this, comrade? Is this right way?

Looks correct to me.  Suggest going with Table.Header since thead is short for table header and that would be more consistent with other components such as CardHeader, ModalHeader, etc.

As I thought about this, I had hoped we could use only the TableColumn abstraction to create the various table variations.  Are there examples where you believe we'll need full sub component markup?

Also, we took inspiration from https://github.com/facebook/fixed-data-table.  I'd check that out if you haven't already.

Are there examples where you believe we'll need full sub component markup?

First SUI example:

...

Definition example with checkboxes;
Structured example seems, too;

I suppose in either case it does make sense to start with full sub components and then build out the abstraction using those.

Added first docs.

Seeing the docs, how about mapping the sub components like so.  I've run this by our team as well:

I also think we should work out the shorthand API before proceeding further.  This way we don't box ourselves in.

Some ideas off the top of my head for shorthand. Not really sure which I like best, but figured I'd just get some thoughts from you guys:
const columns = [
  {
    headerCell: 'Name'
    cell: (props) => `${props.firstName} ${props.lastName}`
    sortable: true
  },
  {
    headerCell: 'Occupation'
    cell: 'string'
  }
]

const rows = [
  { active: true, firstName: 'Bob', lastName: 'Smith' },
  { firstName: 'John', lastName: 'Doe' }
]

const headerCells = [
  { content: 'name', sortable: true },
  'occupation'
]

const bodyCells = [
  (props) => `${props.firstName} ${props.lastName}`,
  'n/a'
]

const header = {
  className: 'my-thead',
  cells: [
    { content: 'name', sortable: true },
    'occupation'
  ]
}

const body = {
  className: 'my-tbody',
  cells: [
    (props) => `${props.firstName} ${props.lastName}`,
    'n/a'
  ]
}

I kinda like the column approach, although how do we handle colspan? Maybe that's a case where you'd have to build your own table? Or maybe we'd allow passing an array of values for head or body to indicate there are two cells. E.g.
const columns = [
  {
    headerCell: {
      content: 'Name',
      colspan: 2
    }
    bodyCell: [
      (props) => `${props.firstName}`,
      (props) => `${props.lastName}`,
    ],
    sortable: true
  },
  {
    headerCell: 'Occupation'
    bodyCell: 'some-string'
  }
]

Docs finished, tests added. We need review there :dancers:

Note, there are no shorthands and sortable variation.

Just updated to the latest master, reviewing...

Seems, fixed all remarks.

BTW, @levithomason seems I missed something in #545, can you take a look?

Looking, will also update to the latest factories fix in #550.  If all is well, will merge.

Looks good, merging.  We can fix/update on follow up PRs.  Thanks for the massive amount of work here.

🎉

Released in<EMAIL_ADDRESS>

It looks like this doesn't support passing the data prop anymore. Is the new intended use to map your data to table cells directly in the component now?
data.map((value)=> {
  return
value

});

If that's the case, are you planning to bring back support for the data prop?

@hankthewhale and others looking, I've just updated the doc site usage of TableColumn to map over data manually.  You can see what a comparison of what that looks like here: https://github.com/TechnologyAdvice/stardust/commit/99f0a2ab77c7b03f223ead48528a29c4bbf6b7d4

Thanks @levithomason for the update. Checking it out now.


add flag to disable startup setlocal indent

Could this be combined with https://github.com/Vimjas/vim-python-pep8-indent/pull/79 ?

Related: https://github.com/Vimjas/vim-python-pep8-indent/pull/70
Maybe we should just remove all 3 of them?
It is not the job of an indent plugin to do this, but rather of a ftplugin.


plot scripts only plot to screen

Current plot_cross_section.py only plots to an xwindow. Update the scripts to (a) write plot to file, and (b) write the plotted data to file, rarther thatn, or in addition to, the the plot image.

This is a useful future capability but we will not fix this for the current release.


Manifest.permission.WRITE_EXTERNAL_STORAGE   granted = false

use this lib ,Manifest.permission.WRITE_EXTERNAL_STORAGE   granted = false.
how to fix.
THX.

Have the same issue, is there any solution to this problem?

In order to fix this issue, change permissions in the AndroidManifest file to the following
    <uses-permission tools:remove="android:maxSdkVersion" android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission tools:remove="android:maxSdkVersion" android:name="android.permission.READ_EXTERNAL_STORAGE" />

@dmitry-zaitsev you should not use
android:maxSdkVersion="18" this will cause issues in applications using SDK > 18.

Huge problem there
Problem already there #2 , and I agree, android:maxSdkVersion should be removed.
Integrators should not have to use manifest merger capabilities to correct this behavior.


Disable failing Windows test: SILOptimizer/stack_promotion.sil

Example failure:
https://ci-external.swift.org/job/swift-PR-windows/956/console


[WIP] Optimize fma dot

The core Triton is a small number of people, and we receive many PRs (thank
you!).  To help us review your code more quickly, if you are a new
contributor (less than 3 PRs merged) we ask that you complete the following
tasks and include the filled-out checklist in your PR description.
This PR is a part of PR series. Final goal is to improve efficiency of small dot operations and bypass as much shared memory accesses as possible.
Rough list of PRs:

[ ] Basic FMA dot fixes, dot 3d support and relaxing small dimensions for dot #4516
[x] Blocked->dotOp shared memory bypassing #4538
[ ] Accelerate AMD Matmul + emit dot operations #4594
[ ] Layout optimization, so operand B is loaded in proper mfma layout and do not need to go through LDS (this PR) #4581
[ ] Vectorization optimization of dot operands/results (in case llvm can not do this internally)
[ ] Reduction operation hoisting out of the K loop (reduction operation is a byproduct of layout optimization step) #4559

Please, do not run tests, this PR depends on few other, so I consider it is WIP

Closing this PR for now.
Will reopen it if base PRs (for example #4516 ) are merged decision on compiler optimization is made.


Allow init function in gRPC services by the compiler plugin

Description:
$title

Should we allow all the functions including init or only allow the init function? @daneshk @shafreenAnfar @dilanSachi WDYT?

Should we allow all the functions including init or only allow the init function? @daneshk @shafreenAnfar @dilanSachi WDYT?

AFAIU, services can have any type of functions ? @rdhananjaya any thoughts ?

Yes, normal functions are allowed in services. Then, I think it is better to allow all the normal functions and remote methods. We can disallow only the resource methods since those are not usable in the gRPC context.

If we disallow regular member functions, we are forcing the programmers to write large methods. I don't think that's a good thing to do.


DNS resolution stops working after a while

The device you're using:
Lenovo ThinkPad T14 Gen2 with Windows 11 Pro 22H2
How is Control D configured on this device?
Using only ctrld 1.1.0 as a service with <IP_ADDRESS> set as DNS on all interfaces.
PS C:\Users\Domy> sc.exe qc ctrld
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: ctrld
        TYPE               : 10  WIN32_OWN_PROCESS
        START_TYPE         : 2   AUTO_START
        ERROR_CONTROL      : 0   IGNORE
        BINARY_PATH_NAME   : C:\Windows\system32\ctrld.exe run --config=C:\Users\Domy\.ctrld\config.toml --homedir=C:\Users\Domy
        LOAD_ORDER_GROUP   :
        TAG                : 0
        DISPLAY_NAME       : Control-D Helper Service
        DEPENDENCIES       :
        SERVICE_START_NAME : .\Domy

PS C:\Users\Domy> type C:\Users\Domy\.ctrld\config.toml
[listener]

  [listener.0]
    ip = "<IP_ADDRESS>"
    port = 53
    restricted = false

[network]

  [network.0]
    cidrs = ["<IP_ADDRESS>/0"]
    name = "All networks"

[service]
  log_level = "info"
  log_path = ""

[upstream]

  [upstream.0]
    bootstrap_ip = "<IP_ADDRESS>"
    endpoint = "https://dns.controld.com/xxxxxxxxxx"
    name = "Control D - Domy-NB"
    timeout = 5000
    type = "doh"

  [upstream.1]
    bootstrap_ip = "<IP_ADDRESS>"
    endpoint = "xxxxxxxxxx.dns.controld.com"
    name = "Control D - Domy-NB"
    timeout = 3000
    type = "doq"

Provide an Activity log of the issue if applicable:
Nothing there as I have no access, see the screenshot below.
Any and all additional details/screenshots:

PS C:\Users\Domy> type C:\Windows\System32\drivers\etc\hosts
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      <IP_ADDRESS>     rhino.acme.com          # source server
#       <IP_ADDRESS>     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#       <IP_ADDRESS>       localhost
#       ::1             localhost

<IP_ADDRESS>      freedns.controld.com
<IP_ADDRESS>      dns.controld.com
<IP_ADDRESS>      premium.dns.controld.com
<IP_ADDRESS>      xxxxxxxxxx.dns.controld.com

Link to example content that doesn't work if applicable:
PS C:\Users\Domy> ping google.com
Ping request could not find host google.com. Please check the name and try again.

And all other apps have no internet access as well.
If you need more info, please let me know. Thanks!

Control panel screenshot you provided looks rather odd, and suggests you may have multiple accounts. Without seeing the actual resolvers, and looking at your account, there is nothing to do here. You need to contact support at<EMAIL_ADDRESS>

No multiple accounts, using just that one.
I put hosts file entries as per suggestion in some KB article, but I will remove them now.

Please contact support, this is an account specific issue as your screenshot shouldn't look like that. It suggests you have no devices, or profiles, which means nothing would ever work.


Filter dependencies for plugins

Primary persona(s)

[x] Research Biologist
[x] Imaging Scientist
[x] Bioimage Analyst

Job Stories

When I browse for plugins I want to know only the dependencies specifically required for installation so that I know the minimum requirements / conflicts with my current environment.

Acceptance Criteria

[If I do A, B should happen.]

If I browse napari plugins, only required dependencies should be shown:

(Nothing with "extra" should be shown, OR it should be separated into an accordian view?)
(source: aicsimageio napari-hub page)

@JacksonMaxfield check out https://staging.napari-hub.org/plugins/napari-aicsimageio for a preview of your changes. Looks like things are working as expected 😄

Woohoo! Thanks @codemonkey800 and @liaprins-czi for the quick review and merge. Any idea when this build will go to prod?


[Bug] [docker] scaleph-api v2.0.3 image runs failure

Already searched before asking?

[X] I had searched in the issues and found no similar issues.

Scaleph Version or Branch
2.0.3
What happened
scaleph-api v2.0.3 image runs failure
Error Exception
classNotFoundException: com.fasterxml.jackson.databind.cfg.DatatypeFeature

Screenshots
No response
Are you willing to submit PR?

[x] Yes, I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

new added gravitino client dependency use jackson 2.14.x version


chore: Update Thanos Objstore

Signed-off-by: Kemal Akkoyun<EMAIL_ADDRESS>

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Support Swift 4.2

Similar to this PR: https://github.com/Raizlabs/Anchorage/pull/60, except NSAttributedStringKey has been renamed in 4.2 to NSAttributedString.Key.

Closed in #344


Training time and how to start?

Hi, I'm interested in using your code but have a few questions. I saw you trained the model on 15 hours of audio from each speaker, how long did it take to train? Also your ReadMe has some commands for preparing the audio part of the dataset, how should we prepare the matching transcriptions of the audio? It would be really nice if there was some sort of "Quick Start" guide that shows exactly what commands to run and in what order, kind of like what is done here. Thank you so much!

This is a vocoder so there is no need to prepare transcriptions. More information can be found in their paper.


draft of post week 1 email

Is the prerequisite sentence actually true?
Feel free to edit!

Working on it ...


[#49] PREP now supports the "return" keyword and REPF continuations (master)

i've scanned, didn't see anything to update.

excellent - let's # it

Added #


use better json library

https://github.com/nlohmann/json - more compatiable with c++

@naveenvhegde if you don't mind me asking, what's the problem with the current JSON library? What are the benefits of the one that you are suggesting?

jansson code
json_t *bidask  = json_object_get(root.get(), isBid ? "bids" : "asks");

double p = 0.0;
double v;

for (int i = 0, n = json_array_size(bidask); i < n; ++i)
{
    p = atof(json_string_value(json_object_get(json_array_get(bidask, i), "price")));
    v = atof(json_string_value(json_object_get(json_array_get(bidask, i), "amount")));
}

nlohmann::json
auto bidasks = isBid ? json.at("bids") : json.at("asks");
for (const auto& bidask : bidasks)
{
    double p = bidask.at("price");
    double v = bidask.at("amount");
}

Provides C++ way of iterating json arrays.
Implicit conversions

I did small bechmarking test for both the lib to parse very large json for 1000 times. jansson is a real winner though.
nlohmann::json - elapsed time: 55.9666s
jansson  - elapsed time: 26.6827s


[Bug]: CDN assets do not load in the shopify theme dev on Safari due to CORS issues

This issue was fixed by https://github.com/Shopify/shopify-cli/pull/1952, however it was reverted https://github.com/Shopify/shopify-cli/pull/1985 because the development server was throttling asset requests.
Expected behavior
When users open the product page, they should see something like this in the browser console:

Actual behavior
However, when users open the product page, they see something like this in the browser console:

Stack trace
No response
Reproduction steps

Run shopify theme init to create a new theme
Import product data from products.csv in your store
Run shopify theme serve
Interact with the Classic Varsity Top and observe the browser consol

Operating System
Mac OS
CLI version (run shopify version if you're not sure)
2.11.2
Shell
zsh
Ruby version (run ruby -v if you're not sure)
2.7.5
What language and version are you using in your application?
Ruby 2.7.5

still relevant


Version 3?

Hey @leehambley, I was just wondering how we were looking for a version 3.0 release.  I thought there used to be a version 3 branch but I no longer see it.  Do you need any help?

@jfelchner I'd love some help, but the plans I had in mind are a little too infant, as v3, for me means a rewrite. Here's some of the ideas I had in mind:
Proper execution of your task independently on multiple hosts.
role :web, %w{<IP_ADDRESS> <IP_ADDRESS>}
task :something, [:web] do |role, host|
    log "Running #{roles} #{host}: something task"
end

Which would output:
Running web / <IP_ADDRESS>
Running web / <IP_ADDRESS>

(currently not possible due to the way cap handles forking)
And, moreover something like this:
role :web, %w{<IP_ADDRESS> <IP_ADDRESS>}
task :something, [:web] do |role, host|
  in current_working_directory
    if Capistrano::Remote::File.exists? ( 'tmp/unicorn.pid' )
      run "service unicorn start", as: 'root'
    else
      run 'service unicorn restart' as: 'root'
    end
  end
end

(I would assume that the tasks would be namespaced something like Capistrano::Remote::, so one can simply use File, and refer to a remote file, example above for clarity.)
The important thing to note now is that this is possible, but only with shell script, and the task block can't switch per-host, so conditional logic doesn't work for us.
To avoid reimplementing the whole standard library as ::Remote, I would imagine that just the stuff in the ::File class would be more than enough to do almost everything useful.
Something to set the environmental variables for the channel
A single SSH connection can contain multiple channels, one of these channels is designated for pushing configuration for the others (read: env vars), we could use this to do something like:
set :default_environment, { path: '/usr/local/bin', rbenv_version: '1.9.3-p125' }
task :something, [:web] do |role, host|
    puts capture('echo $PATH')
end

The important thing would be to notice with that, that we already have a similar feature in 2.x, but the generated command would look like: PATH=/usr/local/bin RBENV_VERSION=1.9.3-p125 echo $PATH, which is ugly. Using a back-channel, it would be cleaner.
Some API for changing directory/env variables:*
task :something, [:web] do |role, host|
  in current_working_dir
    as :root do
       run "kill -USR2 $(cat tmp/unicorn.pid)"
    end
  end
end

I see two major bonuses from this, one is that it's very expressive, and the other is that when it fails the error message could easily read: "The attempt to run kill -USR2 $(cat tmp/unicorn.pid) as root failed. (Exit status 1)", I imagine there's a bunch of these that could be done.
** Prompt responders **
This comes up time and time again, I'd love to be albe to do something like this:
prompt_for_sudo__password = -> do
  # Something here that responds to
  # the request, asking the user, reading
  # a file, or similar
end
task :restart, [:web] do |role, host|
  respond_to /Password/, with: prompt_for_sudo_password
    run "service unicorn restart", as: :root
  end
end

Streaming IO logging/output.
I haven't properly thought this through yet, but MiniTest does this beautifully, they allow an output formatter to register for hooks when a suite, or test starts or finishes. This TestResult object is then passed to a handler, with a load of information about the test, the response status, etc, etc, etc.
This mechanism allows them to have progress output from dots, verbose output, no output, Growl output, etc, etc, etc. I imagine a world where there's capistrano/pride
** Better encapsulation for being embeddable **
There's a class, undocuemented mostly called Capistrano::CLI, which can be used to run Capistrano from within another program without shelling out, I'd like to build on this. (Then we could, for example allow rake deploy, and avoid filling people's PATH with junk), as well as better facilitating
** Better callbacks, and hooks **
This speaks to the Streaming IO above, but it would be perfectly possible to have the campfire/irc/email/growl/etc/etc hooks implemented as loggers, which pass everything through that they are not interested in, but record/log the things they are interested in.
** No more top-level DSL **
Until now in this (rather long) reply, I've been sticking with the existing DSL, but I'd like to throw that away and just use classes, and methods. A significant portion of the Capistrano codebase is dedicated to our DSL, which is Rake-ish, but confusingly incompatible. for example opening a task in Rake to redefine it actually augments the existing implementation in Capistrano that redefines it.
Thor springs to mind, first for this, but there's a couple of outstanding issues with the current release that preclude me betting on it just yet.
My hope would be to do something like this:
module Capistrano
  module Remote

    class DeploySuite
      attr_reader :configuration
      def initialize(configuration)
        configuration = configuration
      end
      def deploy
        check
        start
        update
        finish
        test
      end

      private

        def check
          on web_servers do |role, host|
             Dir.create releases_directory unless File.exists? releases_directory
          end
        end

    end

    module Servers

      class Unicorn

        def finish
          super
          start_or_restart_unicorn
        end

        private

        def start_or_restart_unicorn
          # Notice method `on` maps almost to `task`
          on web_servers, in: :sequence, wait: 5.seconds do |role, host|
            File.exists?('tmp/unicorn.pid') ? restart_unicorn : start_unicorn
          end
        end

      end

    end

  end
end

class MyDeploy < Capistrano::Remote::DeploySuite

  include Capistrano::Remote::Servers::Unicorn

end

MyDeploy.new(config).deploy

There's a lot to take in there, but that's what I had in mind, and it would be a very convenient and comfortable DSL, and would make the way things work much cleaner, then capistrano would be reduced to a set of very helpful tasks for performing remote operations on groups of machines, plus a logging/streaming API that makes it perfectly suited to actually distribute a bunch of defaults that really make sense.
You'll notice the use of on, that's something I'd be quite excited about, because on _______, in: :sequence, wait: 5.seconds would make a whole range of probles go away, one can imagine a few run-modes that could be useful here.
This alternative API also speaks to me because conditionally one would be able to include a DryRun mixin, which would nullify the other tasks (perhaps by changing the namespace, so that dry-run implementations are actually found.
Take dry-run, and testing seriously
I mentioned it briefly in the previous section, but I'd really like to encourage
that people start and test their deployments, and by switching to a pure ruby API, and making things much easier to undersatnd for the average rubyist, we should be able to get to a really, really nice position where you can stub/mock/test-for expectations on your tasks.
The dry-run feature is about as good as it gets right now, but it has it's flaws, it doesn't know what to do with capture, it wouldn't be able to support the conditional statements, and it's a bit of a ghetto.
As for testing, when they would be simple Ruby methods, using Ruby inheritance, etc - they would be much easier to test, and much more robust.
** tl;dr **
I have some really, really grand plans, and I'd like to start soon, but honestly I simply don't know where to start. I've patched libssh, to make it easier to write a better underlying SSH driver, when the time comes for that, if it comes to it, I believe that our TaskDefinition object in the current code base is almost good enough, and otherwise, I think most things have to be thrown away. (But, it is a major rewrite-right!)
My only pre-conditions are:

Build for the best, target 1.9, and don't spare any effort to support 1.* (I extend that to using the new syntaxes, etc)

Build with the best, MRI, with Minitest, and Bundler, and co - these tools are what people really expect to see, know how to use, and they're awesome.

Integrate with Rails. I'm not a huge rails advocate, but a Railtie so you can do rails g install capistrano would be really, really nice

Simplest thing that could possibly work. I've spiked a test implementation using DaemonController of something that boots a chrooted sshd in order to test against a real (chrooted) environment, this would allow for some really, really accurate integration tests, and would be a real asset to the project.

@leehambley I'd love to get involved with this, I've got a lot of ideas that in a similar vein to what you've outlined above.  I'll try to assemble them into something coherent and post back here


Fully configurable Pusher/Echo (laravel-websockets support)

Required for https://github.com/laravel-enso/Enso/pull/190
Closes https://github.com/laravel-enso/Notifications/issues/5

Testing out configurations as setting wsHost & httpHost to null actually uses null as host instead of defaults apparently (avoiding regression) will update asap

Conditionally including the host & port configs (see spec for syntax used)
tested & working with defaults (pusher.com) while still allowing alternative servers/hosts

It took me some time to understand exactly the flow that you are proposing in here & laravel-enso/enso#190 but I guess I finally did.
Will add some small changes soon.

I will have to revert this because everything is broken in dev / prod
https://pusher.com/docs/clusters

Interesting, I'll check on Monday what might be causing your issues with it (and ideally PR a fix that takes it into account).
At first glance it might be that pusher's app cluster isn't auto-generated because of the presence of the host field (it didn't ignore undefined), might be worth trying to build the URL php-side as host, to see if it fixes the issue.
Although this sounds as it's being caused by an underlying upstream issue.

Wait a few days until I will have the core  UI migrated to npm and commit then on the new repo.

Debugged the issue (still using pusher locally, except while implementing this 😅 ), as I figured the issue is that empty or undefined keys are not ignored.
Along with the fact that their own documented scheme parameter seems defunct (at least for BE)
Did find a reasonably clean fix:
'options' => array_filter([
                'host' => env('PUSHER_APP_HOST'),
                'port' => env('PUSHER_APP_PORT'),
                'cluster' => env('PUSHER_APP_CLUSTER'),
            ]),

(wrapping the options array for the pusher config (config/broadcasting.php) in an array_filter to remove empty keys & removing the scheme operator as the default value seems good enough)


feat: QR scanner should handle dynamic QR codes

It would be needed to work with offline e-cash notes after the support of https://github.com/MutinyWallet/mutiny-node/issues/1024
@futurepaul @benthecarman @benalleng  I will try to give it a try after https://github.com/MutinyWallet/mutiny-node/issues/1024, but do you have any thoughts on this already ?

We use this library https://www.npmjs.com/package/qr-scanner not sure if it has support for animated QRs. Would rather not have to move to a different library for this

Maybe we figure out NFC support and only do OOB notes through that

We use this library https://www.npmjs.com/package/qr-scanner not sure if it has support for animated QRs. Would rather not have to move to a different library for this

Cool, I'll take a look at this library

Maybe we figure out NFC support and only do OOB notes through that

Yes, that's a good approach as well

Here's how we could do NFC
https://capawesome.io/blog/announcing-the-capacitor-nfc-plugin/

Here's how we could do NFC
https://capawesome.io/blog/announcing-the-capacitor-nfc-plugin/

Oh, wow!

We use this library https://www.npmjs.com/package/qr-scanner not sure if it has support for animated QRs. Would rather not have to move to a different library for this

btw I was taking a better look at it and it's seems it's not supported https://github.com/nimiq/qr-scanner/issues/65

Here's how we could do NFC
https://capawesome.io/blog/announcing-the-capacitor-nfc-plugin/

but even before the NFC support, we would need to have support for issuing oob notes / offilne ecash

related resource: https://developer.blockchaincommons.com/animated-qrs/

extracted from cashu PR https://github.com/cashubtc/nuts/pull/31


Port existing ROCM ukernels from HIP to C.

It's purely device code, so it doesn't need HIP's defining feature of generating both host and device code. It can be just C code that happens to be compiled to the AMDGPU target.
The flags are taken from the users/benvanik/amdgpu branch, build_tools/cmake/iree_amdgpu_library.cmake.
No effort made so far to avoid including C standard library headers, unlike CPU ukernels where we avoid that. The situation seems different here, so I'm hoping that there might be no issue with C library headers here. The only toolchain is Clang, the only target is AMDGPU, and for this particular target, since it's a GPU target, maybe there's just no risk of it including system headers as that wouldn't even make sense (that would be host code being included in device code). So, none of the reasons why CPU ukernels avoided standard C library headers might apply.

Got an answer to the "to avoid the C lib or not" question right from CI:https://github.com/iree-org/iree/actions/runs/11900829477/job/33162515597?pr=19194#step:9:15741 .
Looks like we are going to keep avoiding the C library after all.

Thanks for this super awesome work Benoit! Overall this looks great, I think we're just having some discussions now, but once the tests pass I am good with landing this and then we can re-iterate on future PRs.


feat: Extraction of thumbprint value through the certificate

#minor
Description
This PR allows the creation of an object of the CertificateServiceClientCredentialsFactory class using only the values:

App Id
x5c
Certificate key

In addition to being able to get the thumbprint value through the certificate when creating the credentials.
Specific Changes

Added the possibility of two possible parameters (thumbprint of x5c) for the constructor of the CertificateServiceClientCredentialsFactory class.
Added the method getThumbprint to obtain the thumbprint value of the certificate when the x5c value is provided.

Testing
The following image shows the bot running with SNI authentication.

This is the configuration required to use the SNI authentication.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

7 of 10 (70.0%)  changed or added relevant lines in 1 file are covered.
82 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-0.4%) to 84.278%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/botframework-connector/src/auth/certificateServiceClientCredentialsFactory.ts
7
10
70.0%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

libraries/botframework-streaming/src/utilities/createNodeServer.ts
1
78.57%

libraries/botframework-streaming/src/namedPipe/namedPipeServer.ts
12
50.68%

libraries/botframework-streaming/src/namedPipe/namedPipeClient.ts
17
34.09%

libraries/botframework-streaming/src/namedPipe/namedPipeTransport.ts
51
3.92%

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
20268

Relevant Lines:
22777

💛  - Coveralls


feat: Mobile modals

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix

Needs Design check

@exezbcz please review

Context

[x] Closes #8081

[x] Closes #8133

[ ] Requires deployment <snek/rubick/worker>

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[x] My fix has changed UI

Copilot Summary

🤖[deprecated] Generated by Copilot at 1a86a77
Refactor modal component for better responsiveness and layout. Add width: unset rule for mobile devices in MintConfirmModal.vue.

🤖[deprecated] Generated by Copilot at 1a86a77

Modal adapts
To fit small screens gracefully
Autumn leaves falling

see #8133

Thank you. Will check it.

thanks! we can continue to

#8133
#8132

thanks! we can continue to

Mobile modals #8133

I have also made this one. Could you please check again? @exezbcz

wrong breakpoint

from breakpoint 425px width (modals are currently 400px)

wrong breakpoint

from breakpoint 425px width (modals are currently 400px)

✅ Fixed

Potential earnings:
https://github.com/kodadot/nft-gallery/assets/36627808/ef6a1a2b-4fca-4949-bf65-109266c23c40

KSM jumping out:
Potential earnings:

✅ Fixed

KSM jumping out:

this one still happening

Potential earnings:
potential.earning.mp4

Potential earnings:

sorry for the trouble, but i do think previously solution that added a second line was better, unless there is another solution
because now if you type a high currency number there it just overflows

@prury or only 2 decimals

Potential earnings:

sorry for the trouble, but i do think previously solution that added a second line was better, unless there is another solution because now if you type a high currency number there it just overflows

I agree and I have reverted it to the previous one. I guess there is not much we can do unless we have a redesign for different kinds of models in mobile case by case. This issue would mainly change the position of all the modals in mobile.

@Jarsen136 checking again and i found some other stuff:

in some modals the title is fixed and in some others is not
kodadot fee alignment

@Jarsen136 checking again and i found some other stuff:

in some modals the title is fixed and in some others is not

Yes, they have different styles.  Should we unify all the header in modals on mobile?  @exezbcz

kodadot fee alignment

✅ fixed

Should we unify all the header in modals on mobile

yup, fixed to the top

Should we unify all the header in modals on mobile

yup, fixed to the top

✅ Done

@Jarsen136
found two minor ones and i think we are good to go:

@prury or only 2 decimals
iirc there was issue to change it across the app

@Jarsen136
found two minor ones and i think we are good to go:

As Exez mentioned, these are related to the number of decimals, which should be solved across the app.

@Jarsen136 I think for example this wont be solved with reducing the decimals

Imo we have to truncate the collection text even more to fit that

the issue for the decimals is coming, still not sure how to handle it tho.
since this is coming

#7881

I would like to show the real number in the modal and as much as 3 decimals would be needed anyway

@Jarsen136 I think for example this wont be solved with reducing the decimals  Imo we have to truncate the collection text even more to fit that

Will check it

Imo we have to truncate the collection text even more to fit that
Will check it

How about now?

Thanks!
pay 50 usd

😍 Perfect, I’ve sent the payout
💵 $50 @ 5.14 USD/DOT ~ 9.728 $DOT
🧗 16SjUbGKSdjCdWTy3NNT3JxbRVGGqD4mwkHpc6BD9U2Rp29Z
🔗 0x6281023e626fee1044d7e1bcf21eae146b5271c395a7b105af0ed6271e2da618
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Is there a validation set for EqBen?

And why is the zip file so big? Is there a way to reduce its size, eg., downsampling the images? Otherwise it is very costly to conduct experiments on our small server..

Also, is it possible to release the dataset in Winoground format (e.g, each batch is an image_0, image_1, caption_0, caption_1)?

Hi Zhiqiu,
Thanks a lot for your interest in our work. Indeed, our full data annotation is not publicly available. You can use the annotation file and the example code to get the results and upload to the codalab server.
Thanks for letting us know about the huge cost of your server with the current data scale. We are actively working to release a public sub-dataset with label sampling from the full test set (maybe around 20%) in a few days to make it more efficient for visualization and validation.

Thanks for the update! Could you explain what 'private_info' means in your annotation file? Is that the ground truth label?
I think you should be able to convert the images to JPEG format and save a lot of memory without losing performance? 100GB is quite expensive for most academic labs.

Yes, it means the ground truth label.
We have just uploaded the EqBen subset (25K image-text pair) for ease of validation and visualization. Please check it out.
If you have any other questions, feel free to re-open this issue.


I added AOPS Intermediate Counting and Probability book and  Endagorion Youtube Chanel . Please Have a look

Looks good! Thanks :)

Thanks for merging my pull request :D


[SPARK-40822][SQL] Stable derived column aliases

What changes were proposed in this pull request?
In the PR, I propose to change auto-generation of column aliases (the case when an user doesn't assign any alias explicitly). Before the changes, Spark SQL generates such alias from Expression but this PR proposes to take the parse tree (output of lexer), and generate an alias using the term tokens from the tree.
New helper function ParserUtils.toExprAlias takes a ParseTree from Antlr4, and converts it to a String using the following simple rule:

Concatenate all terminal nodes of the lexer tree without any gaps.
Upper case keywords and numeric literals.

For example, the sequence of tokens "1", "in", "(", "1.0d" ")" is converted to the alias "1IN(1.0D)".
By default, the feature is off, and the SQL config spark.sql.stableDerivedColumnAlias.enabled allows to enable it.
Closes #39332
Why are the changes needed?
To improve user experience with Spark SQL. It is always best practice to name the result of any expressions in a queries select list,  if one plans to reference them later. This yields the most readable results and stability. However, sometimes queries are generated or we’re just lazy and trust in the auto generated names. The problem is that the auto-generated names are produced by pretty printing the expression tree which is, while “generally” readable, not meant to be stable across long durations of time. For example:
spark-sql> DESC SELECT substring('hello', 5);
substring(hello, 5,<PHONE_NUMBER>)	string

the auto-generated column alias substring(hello, 5,<PHONE_NUMBER>) contains not-obvious elements.
Does this PR introduce any user-facing change?
Yes.
How was this patch tested?
By running new test:
$ build/sbt "test:testOnly *.ResolveAliasesSuite"

@srielau Could you take a look at the PR one more time, please.

@cloud-fan @srielau Could you take a look at the PR, please.

I have lost track of the externally described rules. Do you have an updated summary?
Especially since we recently discussed about what to do with whitespace
Also, do we plan to leave this OFF by default? If we don't make this default it will never get adoption because most folk just won't care.

Do you have an updated summary?

Yes, it is very easy to check - just look at the last commit.

Especially since we recently discussed about what to do with whitespace

? @srielau Please, look at the PR changes first of all.

Also, do we plan to leave this OFF by default?

Yes, Serge could you look at the PR's description and changes before asking the questions.

Do you have an updated summary?

Yes, it is very easy to check - just look at the last commit.

Especially since we recently discussed about what to do with whitespace

? @srielau Please, look at the PR changes first of all.

Also, do we plan to leave this OFF by default?

Yes, Serge could you look at the PR's description and changes before asking the questions.
You sum up the root cause for a lot of our QA troubles right there....
Please assure that the description of the PR is accurate and up to date (or have a pointer to a google-doc that does the same).
We cannot reciew code against itself. We have to review it against a common understanding on what it is meant to do.

Merging to master. Thank you, @srielau and @cloud-fan for review.


Draft PR

What does this pull request do?
Required.
What is the intent behind these changes?
Required.

Group review comments

Closing the PR while keeping the branch as it's not in a reviewable state yet


Consider exporting modules from dist folder

Currently the npm install only exposes a single Umd export. To make it easier to load modularly it would be nice to copy the source folders to dist  (easiest solution, most bundlers work with it), or transpile to es6 and export that from dist folder.
I'm using tone in a react app created through 'create react app', this hides the webpack configuration and everything generally works out of box. In order to load tone modularly I either have to eject (not optimal) or maintain a fork of react-scripts-ts where I alter the webpack configuration. This is doable but not ideal, the only reason this is needed is because of the webpack path rewrite to the source folder.
An often used structure for the dist folder in npm is :

Tone.min.js (umd, main in package json)
es (dir)

index.js
core (dir)

Transport.js

source (dir)

Source.js

import Transport from 'tone/es/core/Transport'
import { Transport } from 'tone/es'
This does not run the risk of breaking current builds but allows for deep imports without path rewrites since it's picked up by default module resolution. As said the most straightforward solution would be to include the amd source files in the dist folder on npm, disadvantage is no treeshaking, unsure of default bundler support, webpack does work out of the box with amd.

Tone.min.js (umd, main in package json)
core (dir)

Transport.js

source (dir)

Source.js

import Transport from 'tone/core/Transport'

@tambien This looks good to me, my only issue currently is the required webpack path rewrite. I've run into a tiny 'issue', but it's no real problem. Currently unless you import Bus as import 'tone/core/Bus' somewhere in the codebase for Bus's doesn't work since it has no export to use directly but is not included in core/Tone itself.

yes that's true since some modules only install themselves after they've been imported. i'm looking into other ways to structure the library, maybe the solution is to bundle all of the 'core' modules, 'instruments', etc.
not sure why it requires any modification to the webpack paths? with tone@next installed, i think both should work without any custom config

I just upgraded to the tone@next version, as far as I can see the structure is unchanged, main in package.json is still pointing to build/Tone.js, and there are no sub directories under build, also no esnext:main in the package.json.

@Idicious did you try import Transport from 'tone/Tone/core/Transport'? that's currently the only way to deep require a module and shouldn't require any custom build

It works :-) I Upgraded to create-react app v2 as well, works perfectly. I'm working on new typescript typings for tone that works with deep imports as well.

great will close for now. i'll link any updates on different ways to import/bundle the code to this issue going forward.


graphite error

hi
after build image and run by this way :
`mkdir kamon-grafana-service
cd kamon-grafana-service
mkdir -p data/whisper
mkdir -p data/elasticsearch
mkdir -p data/grafana
mkdir -p log/graphite
mkdir -p log/elasticsearch
chmod -R 777 *
docker run
--detach
--publish=80:80
--publish=81:81
--publish=8125:8125/udp
--publish=8126:8126
--name kamon-grafana-dashboard
--volume=$(pwd)/data/whisper:/opt/graphite/storage/whisper
--volume=$(pwd)/data/elasticsearch:/var/lib/elasticsearch
--volume=$(pwd)/data/grafana:/opt/grafana/data
--volume=$(pwd)/log/graphite:/opt/graphite/storage/log
--volume=$(pwd)/log/elasticsearch:/var/log/elasticsearch
kamon/grafana_graphite`
This message is displayed by graphite :

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 103, in get_response
resolver_match = resolver.resolve(request.path_info)
File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 321, in resolve
sub_match = pattern.resolve(new_path)
File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 223, in resolve
return ResolverMatch(self.callback, args, kwargs, self.name)
File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 230, in callback
self._callback = get_callable(self._callback_str)
File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line 29, in wrapper
result = func(*args)
File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 97, in get_callable
mod = import_module(mod_name)
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module
import(name)
File "/opt/graphite/webapp/graphite/browser/views.py", line 22, in
from graphite.util import getProfile, getProfileByUsername, defaultUser, json
File "/opt/graphite/webapp/graphite/util.py", line 36, in
from graphite.logger import log
File "/opt/graphite/webapp/graphite/logger.py", line 84, in
log = GraphiteLogger() # import-shared logger instance
File "/opt/graphite/webapp/graphite/logger.py", line 40, in init
self.infoHandler = Rotater(self.infoLogFile,when="midnight",backupCount=1)
File "/usr/lib/python2.7/logging/handlers.py", line 171, in init
BaseRotatingHandler.init(self, filename, 'a', encoding, delay)
File "/usr/lib/python2.7/logging/handlers.py", line 64, in init
logging.FileHandler.init(self, filename, mode, encoding, delay)
File "/usr/lib/python2.7/logging/init.py", line 903, in init
StreamHandler.init(self, self._open())
File "/usr/lib/python2.7/logging/init.py", line 928, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 2] No such file or directory: '/opt/graphite/storage/log/webapp/info.log'

now after create webapp dir,this problem is solved!
With this situation Is it correct Image and configuretion?
tnx

See #63 :)

#63 is merged. This issue is from February. Cleanup, anyone?


I want to know how it work

I have to start a app that communicate with vehicles using ELM327 adapters. I know nothing about it. I don't know how to start.
Do you have any turtorial about OBD programing?
Your library is very good, but i don't know what it means.
Like pidForMode1, pid or pidForFreezeFrameDTC.
If i want to program OBD by myself, i need to lean more about it.

Hi JRJian,
I am not involved in this project, but do know a thing or two about OBD.
The Wiki about OBD is a great starting place: https://en.wikipedia.org/wiki/On-board_diagnostics.
About your questions. There are several services that an OBD-system has to offer, also called modes, the two fun ones are 1 and 2. The first is reading current data and the second mode is data that was 'freezed' when a MIL (Malfunction indication light, an icon on your dashboard) turned on.
Hope this helps!

@NielsOkker Amazing! Thank you very much. It's very helpful. Now, i know what mode 1 and mode 2 mean. I'll read some OBD informations on wikipedia website. Than you again!


Can`t start app

After click on the app window says "The "NearDrop" file cannot be opened because Apple will not be able to check it for loyal software. This software needs to be updated. Contact the developer for detailed information."
MacBookPro m1, ventura 13.5.2

See readme


Support base64 encoded traces

Bokeh 0.12.4 automatically encodes NumPy arrays to base64. The resulting decoded arrays in JavaScript are 1D. However, for the traces we need to be able to operate with it as if it was a 2D array. Here we make some adjustments to handle the shape and striding manually so as to display the traces from this more dense format.
We also design this strategy so that it will continue to yield a functioning strategy on older versions of Bokeh (e.g. pre-0.12.4). This way if there is no support for base64 encoded traces, the plots can still be generated and work fine. Simply if Bokeh 0.12.4 is present, we benefit from all the optimizations it has to offer.

Have tested this locally with Bokeh versions 0.12.3 and 0.12.4 to verify that it will run in both cases. Of course, the optimizations only apply for Bokeh 0.12.4. Though our flattening of the array does provide some degree of optimization over current master when using Bokeh 0.12.3.


Documentation

Is there any documentation that explain how it works and what to implement?

Unfortunately, no official documentation.
This is a Three.js-like 3d engine to Flutter, you could read documentations from Three.js to find out how it works


updated frameworks list

Updating the "Add component" side panel to make it consistent with the upstream docs that list the correct supported frameworks.
@Hyperkid123 Feel free to merge straightaway, thanks.

@Hyperkid123 This PR is good to merge, I got a lgtm from Jocelyn in Slack. Thanks.

/ok-to-test


Phantomjs is detected as a BOT!

Is there any way to hide phantomjs from being detectable as a bot?
I try to:

change the user agent
change the window size
enable JS
enable load image

But no luck at all. am testing with this site: https://fingerprintjs.com/demo

You should ask FingerprintJS for the reason.

Thank you for your report!
This issue tracker primarily serves as the tool to report and track bugs, defects, and development tasks.
For a general question, code review request, build problem, or other related discussion, please post it to Stack Overflow (with phantomjs tag)


Add doc example for how to test events

I think adding a section about events testing can be useful.

Hi @TarekkMA can you verify my additions and then I'll merge this please. Thanks again for your contribution!

Sorry about the delay forgot to check back on this PR


How can I provide missing translation files for SAPUI5 libraries?

I have a SAPUI5 app that tries to load some translation files based on user language but those languages are missing in the original library of SAP.
For example it tries to load a translation with fa locale as following:
https://webidetestingXXXXXXX.dispatcher.hana.ondemand.com/webapp/resources/sap/m/messagebundle_fa.properties

As it can be seen it tries to read the translation from sap.m namespace!
Now the question is, as I have access to English translation file of this recourse, how can I activate a call back mechanism that when a translation file is missing, it takes a look on my i18n folder and then if it couldn't find the file there, then load the default translation!?
For example I can download the English file and provide a translation for Persian language under webapp\i18n\sap\m\messagebundle_fa.properties and when it's failed to find the file in original place then read it from my local folder!
Please note the actual address of my webapp\i18n folder inside the WebIDE is something similar to https://webidetestingXXXX.dispatcher.hana.ondemand.com/~1595255696000~/webapp/i18n/. That ~1595255696000~ refers to the current instance of run app. And as you see it is missing for the files that failed to load!

@codeworrior I even tried the following solution from your suggestion in stackoverflow, and it does not work!
<script id="sap-ui-bootstrap"
			src="resources/sap-ui-core.js"
			data-sap-ui-theme="sap_fiori_3"
			data-sap-ui-resourceroots='{"de.cimt.Cimply0Launchpad": "./"}'
			data-sap-ui-compatVersion="edge"
			data-sap-ui-oninit="module:sap/ui/core/ComponentSupport"
			data-sap-ui-async="true"
			data-sap-ui-xx-bindingSyntax="complex"
			data-sap-ui-frameOptions="trusted"
			data-sap-ui-xx-supportedLanguages="en,de,fa">
		</script>
		<script>
			sap.ui.loader.config({
				map: {
			        "*": {
			            "sap/m/messagebundle_fa.properties": "de/cimt/Cimply0Launchpad/i18n/sap/m/messagebundle_fa.properties"
			        }
			    },
			    paths: {
			        "de/cimt/Cimply0Launchpad" : "./"
			    }
			});
		</script>
	</head>

Based on what discussed already with @codeworrior in stackoverflow for versions before 1.78, we can use one of these solutions:
<script id="sap-ui-bootstrap"
			src="resources/sap-ui-core.js"
			data-sap-ui-theme="sap_fiori_3"
			data-sap-ui-resourceroots='{"de.cimt.Cimply0Launchpad": "./"}'
			data-sap-ui-compatVersion="edge"
			data-sap-ui-oninit="module:sap/ui/core/ComponentSupport"
			data-sap-ui-async="true"
			data-sap-ui-xx-bindingSyntax="complex"
			data-sap-ui-frameOptions="trusted"
			data-sap-ui-xx-supportedLanguages="en,de,fa">
		</script>
		<script>
               if(sap.ui.getCore().getConfiguration().getLanguage() === 'fa'){
			sap.ui.loader.config({
				map: {
			        "*": {
			            "sap/m/messagebundle": "de/cimt/Cimply0Launchpad/i18n/sap/m/messagebundle"
			        }
			    },
			    paths: {
			        "de/cimt/Cimply0Launchpad" : "./"
			    }
			});
               }
		</script>

or
<script id="sap-ui-bootstrap"
			src="resources/sap-ui-core.js"
			data-sap-ui-theme="sap_fiori_3"
			data-sap-ui-resourceroots='{"de.cimt.Cimply0Launchpad": "./"}'
			data-sap-ui-compatVersion="edge"
			data-sap-ui-oninit="module:sap/ui/core/ComponentSupport"
			data-sap-ui-async="true"
			data-sap-ui-xx-bindingSyntax="complex"
			data-sap-ui-frameOptions="trusted"
			data-sap-ui-xx-supportedLanguages="en,de,fa">
		</script>
		<script>
		var fnLoadFileAsync = function (url, params, fnSuccess, fnError) {
			jQuery.ajax({
				type: "GET",
				contentType: "text/html;charset=UTF-8",
				data: params,
				url: url,
				cache: false,
				async: false,
				success: function (data, textStatus, jqXHR) {
					if (typeof fnSuccess === "function") {
						fnSuccess(data, textStatus, jqXHR);
					}
				},
				error: function (err, textStatus, jqXHR) {
					if (typeof fnError === "function") {
						fnError(err, textStatus, jqXHR);
					}
				}
			});
		};
		(function () {
			fnLoadFileAsync("./i18n/sap/m/messagebundle_fa.properties", null, function (data, textStatus, jqXHR) {
				console.log(data);
				sap.ui.require.preload({
					"sap/m/messagebundle_fa.properties": data
				});
			});
		})();
		</script>


If set Images per Prompt > 8 it causes RuntimeError: upsample_nearest_nhwc only supports output tensors with less than INT_MAX elements

kolors/lib/python3.8/site-packages/torch/nn/functional.py", line 3922, in interpolate
return torch._C._nn.upsample_nearest2d(input, output_size, scale_factors)
RuntimeError: upsample_nearest_nhwc only supports output tensors with less than INT_MAX elements

You may fix it with pipe.enable_vae_slicing()