Reproducibility example fails on Mac OS X 10.11

The [reproducibility example] from our example repo for the paper fails on Mac OS X 10.11 when trying to use jinja2. Funny enough, it works on my 10.10 machine. Here is the error message:
runfile('/Users/bryan/Downloads/tellurium-examples-master/reproducibilityExample.py', wdir='/Users/bryan/Downloads/tellurium-examples-master')
/private/var/folders/rj/lv87kg257jg86tlgt324168w0000gn/T/tmpIrnQPo_sedml/_te_BorisEJB/experiment1.xml
Traceback (most recent call last):

  File "<ipython-input-7-6a0c26d91ef5>", line 1, in <module>
    runfile('/Users/bryan/Downloads/tellurium-examples-master/reproducibilityExample.py', wdir='/Users/bryan/Downloads/tellurium-examples-master')

  File "/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources/lib/python2.7/spyderlib/widgets/externalshell/sitecustomize.py", line 730, in runfile
    execfile(filename, namespace)

  File "/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources/lib/python2.7/spyderlib/widgets/externalshell/sitecustomize.py", line 89, in execfile
    builtins.execfile(filename, *where)

  File "/Users/bryan/Downloads/tellurium-examples-master/reproducibilityExample.py", line 180, in <module>
    exp.execute(PhrasedMLstr)

  File "/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources/lib/python2.7/tellurium/sedml/tephrasedml.py", line 110, in execute
    execStr = self._toPython(selPhrasedml, workingDir=workingDir)

  File "/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources/lib/python2.7/tellurium/sedml/tephrasedml.py", line 150, in _toPython
    pycode = tesedml.sedmlToPython(expArchive)

  File "/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources/lib/python2.7/tellurium/sedml/tesedml.py", line 132, in sedmlToPython
    return factory.toPython()

  File "/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources/lib/python2.7/tellurium/sedml/tesedml.py", line 346, in toPython
    env = Environment(loader=FileSystemLoader(self.TEMPLATE_DIR),

  File "/Library/Python/2.7/site-packages/jinja2/loaders.py", line 161, in __init__
    if isinstance(searchpath, string_types):

TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and types

The error is obviously that it is looking in the wrong directory (/Library/Python/2.7/site-packages) for site packages. Trying to figure out why.

get_python_lib() result is normal:
In [15]: from distutils.sysconfig import get_python_lib

In [16]: get_python_lib()
Out[16]: '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources/lib/python2.7/site-packages'

More tests:
In [22]: for e in os.environ:
    ...:     print('{}, {}'.format(e,os.environ[e]))
    ...:
SPYDER_PARENT_DIR, /Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources/lib/python2.7
UMR_NAMELIST, guidata,guiqwt
QT_API, pyqt
SPYDER_SHELL_ID,<PHONE_NUMBER>
PYTHONDONTWRITEBYTECODE, 1
PYTHONHOME, /Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources
LOGNAME, bryan
USER, bryan
HOME, /Users/bryan
PATH, /Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
ARGVZERO, /Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/MacOS/Spyder-Py2
MATPLOTLIB_ION, True
TERM, xterm-color
Apple_PubSub_Socket_Render, /private/tmp/com.apple.launchd.NyKKpH4gwe/Render
ETS_TOOLKIT, qt4
SHLVL, 1
SPYDER_I_PORT, 20128
XPC_FLAGS, 0x0
MATPLOTLIB_BACKEND, Qt4Agg
TMPDIR, /var/folders/rj/lv87kg257jg86tlgt324168w0000gn/T/
EXECUTABLEPATH, /Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/MacOS/Spyder-Py2
UMR_ENABLED, True
IPYTHONDIR, /Users/bryan/.ipython
_PY2APP_LAUNCHED_, 1
SPYDER_AR_STATE, True
SSH_AUTH_SOCK, /private/tmp/com.apple.launchd.2R7N5zcNLy/Listeners
UMR_VERBOSE, True
PYTHONPATH, /Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources
SPYDER_N_PORT, 20129
XPC_SERVICE_NAME, 0
MATPLOTLIBDATA, /Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources/mpl-data
SHELL, /bin/bash
GIT_PAGER, cat
SPYDER_INTERPRETER, /Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/MacOS/python
_, /usr/bin/printenv
COLORIZE_SYS_STDERR, True
PYQT_API, 2
SPYDER_AR_TIMEOUT, 2000
RESOURCEPATH, /Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources
CLICOLOR, 1
__CF_USER_TEXT_ENCODING, 0x1F5:0x0:0x0
PWD, /
IGNORE_SIP_SETAPI_ERRORS, False
IPYTHON_KERNEL, True
PAGER, cat
COMMAND_MODE, unix2003

Here we go:
In [26]: sys.path
Out[26]:
['',
 '/Library/Python/2.7/site-packages',
 '/usr/local/lib/python2.7/site-packages',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources/lib/python27.zip',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources/lib/python2.7',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources/lib/python2.7/plat-darwin',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources/lib/python2.7/plat-mac',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources/lib/python2.7/plat-mac/lib-scriptpackages',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources/lib/python2.7/lib-tk',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources/lib/python2.7/lib-old',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources/lib/python2.7/lib-dynload',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources/lib/python2.7/site-packages.zip',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX 1/Spyder-Py2.app/Contents/Resources/lib/python2.7/site-packages',
 '/usr/local/lib/python2.7/site-packages/IPython/extensions',
 '/Users/bryan/.ipython']

That path is in the list on my OS X 10.10 machine, despite the fact that the directory exists.
In [9]: sys.path
Out[9]:
['',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX/Spyder-Py2.app/Contents/Resources',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX/Spyder-Py2.app/Contents/Resources/lib/python27.zip',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX/Spyder-Py2.app/Contents/Resources/lib/python2.7',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX/Spyder-Py2.app/Contents/Resources/lib/python2.7/plat-darwin',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX/Spyder-Py2.app/Contents/Resources/lib/python2.7/plat-mac',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX/Spyder-Py2.app/Contents/Resources/lib/python2.7/plat-mac/lib-scriptpackages',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX/Spyder-Py2.app/Contents/Resources/lib/python2.7/lib-tk',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX/Spyder-Py2.app/Contents/Resources/lib/python2.7/lib-old',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX/Spyder-Py2.app/Contents/Resources/lib/python2.7/lib-dynload',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX/Spyder-Py2.app/Contents/Resources/lib/python2.7/site-packages.zip',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX/Spyder-Py2.app/Contents/Resources/lib/python2.7/site-packages',
 '/Volumes/Tellurium-1.3.5-Spyder-2.3.8-OSX/Spyder-Py2.app/Contents/Resources/lib/python2.7/IPython/extensions',
 '/Users/phantom/.ipython']

From Bash:
$ ls /Library/Python/2.7/site-packages
README				libantimony.pth			vboxapi-1.0-py2.7.egg-info
antimony			vboxapi				wxredirect.pth

I can force this example to run with
>>> sys.path.remove('/Library/Python/2.7/site-packages')
>>> sys.path.remove('/usr/local/lib/python2.7/site-packages')

Not sure why those directories are there to begin with.

From the Python documentation on sys.path, it appears that the only way to fix this would be to remove all paths from sys.path that do not point to the Tellurium dmg volume.

This problem is Spyder-specific, so I will close it once I can confirm that we can move over to pip (at which point this becomes an upstream bug that we can either try to fix or not, but it will not affect our ability to ship releases)

But will it affect potential reviewers?
Herbert
On Fri, Oct 28, 2016 at 9:40 AM, Kyle Medley<EMAIL_ADDRESS>wrote:

This problem is Spyder-specific, so I will close it once I can confirm
that we can move over to pip (at which point this becomes an upstream bug
that we can either try to fix or not, but it will not affect our ability to
ship releases)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sys-bio/tellurium/issues/139#issuecomment-256968797,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABAZDmd4DNuYMd4Eh4j5Ti0AfZ0oTV1dks5q4iWVgaJpZM4KWbvo
.

We'll be using Spyder 3 by the time we submit the manuscript again. I don't know if the problem will still occur with Spyder 3, so I will test it and report here. If it still occurs, I can work with the Spyder people to find out of it is expected behavior or not. If it is a bug, then I will work with them to fix it. (This is essentially what I was thinking when I made my comment above, albeit with a little hesitation because I don't know how much we're going to hype Tellurium on Spyder vs Tellurium on Jupyter in the next manuscript.)

I tried Spyder3 on Bryans Mac and it does not have this issue.
Installed via .dmg:
>>> sys.path
['',
 '/Volumes/Spyder/Spyder.app/Contents/Resources/lib/python3.5/spyder/utils/site',
 '/Volumes/Spyder/Spyder.app/Contents/Resources',
 '/Volumes/Spyder/Spyder.app/Contents/Resources/lib/python35.zip',
 '/Volumes/Spyder/Spyder.app/Contents/Resources/lib/python3.5',
 '/Volumes/Spyder/Spyder.app/Contents/Resources/lib/python3.5/plat-darwin',
 '/Volumes/Spyder/Spyder.app/Contents/Resources/lib/python3.5/lib-dynload',
 '/Volumes/Spyder/Spyder.app/Contents/Resources/lib/python3.5/site-packages.zip',
 '/Volumes/Spyder/Spyder.app/Contents/Resources/lib/python3.5/site-packages',
 '/Volumes/Spyder/Spyder.app/Contents/Resources/lib/python3.5/IPython/extensions',
 '/Users/bryan/.ipython']

Installed via conda:
>>> sys.path
['',
 '/Users/bryan/anaconda2/anaconda/lib/python2.7/site-packages/spyder/utils/site',
 '/Users/bryan/anaconda2/anaconda/lib/python27.zip',
 '/Users/bryan/anaconda2/anaconda/lib/python2.7',
 '/Users/bryan/anaconda2/anaconda/lib/python2.7/plat-darwin',
 '/Users/bryan/anaconda2/anaconda/lib/python2.7/plat-mac',
 '/Users/bryan/anaconda2/anaconda/lib/python2.7/plat-mac/lib-scriptpackages',
 '/Users/bryan/anaconda2/anaconda/lib/python2.7/lib-tk',
 '/Users/bryan/anaconda2/anaconda/lib/python2.7/lib-old',
 '/Users/bryan/anaconda2/anaconda/lib/python2.7/lib-dynload',
 '/Users/bryan/anaconda2/anaconda/lib/python2.7/site-packages/Sphinx-1.4.1-py2.7.egg',
 '/Users/bryan/anaconda2/anaconda/lib/python2.7/site-packages/setuptools-23.0.0-py2.7.egg',
 '/Users/bryan/anaconda2/anaconda/lib/python2.7/site-packages',
 '/Users/bryan/anaconda2/anaconda/lib/python2.7/site-packages/aeosa',
 '/Users/bryan/anaconda2/anaconda/lib/python2.7/site-packages/IPython/extensions',
 '/Users/bryan/.ipython']

Apparently this is not a problem on Spyder 3, so closing.


Unit to add: Jy

In this sentence, there's a mention of µJy:

If the nucleus is on the order of 1km in radius, it would contribute a few tenths of a µJy to the fluxes observed during the 2014 Jan. visit when the comet was least active and the nucleus likely contributed the largest fraction of the light.

The Jansky is a Non-SI unit of Spectral flux density. Should we add it to the units.json with a new type SPECTRAL_FLUX_DENSITY ?

Yes, in units.json and in the UnitType class


[Semantic API] Add testcases related to query expressions

Purpose

Add testcases related to query expressions.

Related to  #30437
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Can you rebase this with the master as well?


Add deterministic VI methods

DADVI (paper) pre-samples the Gaussian noise in the init and then is fully deterministic in update which makes for more stable training. More samples are needed so might need gradient accumulation support #52
Last-layer deterministic VI (paper) provides a handy deterministic objective with linear last layers for regression and classification. Might be worth adding if we can generalise to exponential familiy losses and/or linearise the model.

I am adding SNGP that is also a deterministic/ single-forward pass UQ method. not sure if it will work well on pre-trained models though, i.e., not necessarily regularized with spectral normalization.

My understanding is that SNGP #68 training as in the paper is deterministic because they use a Laplace approximation. I imagine though you could do it with VI and even the deterministic VI methods above!

Adding this which is definitely relevant

DVI (paper) deterministic VI although it seems to require quite intricate knowledge of the model


Couchdb documentation for json index definition is unclear on support for indexing array fields

The documentation here http://docs.couchdb.org/en/2.1.1/api/database/find.html#db-index says

Index object format for JSON type indexes
The index object is a JSON array of field names following the sort syntax. Nested fields are also allowed, e.g. “person.name”.

It doesn't explicitly state that indexing array fields is allowed. It doesnt' provide an example of how to do it if it is.
To clarify, given:
  "_id": "theid",
  "results": [
    { "type": "sometype" }
  ]
}

I know i can query that with the $elemMatch selector but can it be indexed too? I've read a few examples suggesting that a notation like "results[].type" or "results.[].type" can be used but in my own tests I always get a warning stating that no matching index could be found.

You specifically mean indexing a subfield of an object in an array, correct? Not just the elements of the array itself?

Yes, indexing a field on an element (at an unknown index) of an array.


Where do you get config.js values for web app front end?

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Windows 10

Versions

Mention any other details that might be useful
Where do you get the values for:
KEY_AUTH_TOKEN: "AUTH_KEY",
KEY_USER_TYPE: "USER_TYPE",
KEY_USER_NAME: "USER_NAME",
KEY_DISPLAY_NAME: "DISPLAY_NAME",
KEY_SPOOL_ID: "SPOOL_ID",
KEY_SPOOL_TOKEN: "SPOOL_TOKEN",
There is no where in the documentation that mentions these tokens and keys?

Thanks! We'll be in touch soon.

@epeaire these values are set by the auth service and need not be set manually, once the user is logged in these values are set by the service.
KEY_AUTH_TOKEN: "AUTH_KEY",
KEY_USER_TYPE: "USER_TYPE",
KEY_USER_NAME: "USER_NAME",
KEY_DISPLAY_NAME: "DISPLAY_NAME",
KEY_SPOOL_ID: "SPOOL_ID",
KEY_SPOOL_TOKEN: "SPOOL_TOKEN",

The ACS endpoint and the backend API endpoint are the only values which need to be setup manually
endpoint: "<API_ENDPOINT>",
acsEndpoint: "<ACS_ENDPOINT>",


permission denied when writing to file system

First of all, thanks for the great work.
We are on PCF 1.10 on vsphere and have enabled the nfs service broker flag in the elastic runtime. Also we have deployed the nfstestserver from this project in a separate bosh deployment.
The following commands result in a permission denied:
$ cf create-service nfs Existing myVolume -c '{"share":"<ip>/export/vol1"}'
$ cf bind-service pora myVolume -c '{"uid":"0","gid":"0"}'
$ cf restage pora
$ curl -k https://pora.apps.<domain>/write
Writing
open /var/vcap/data/<UUID>/poratest-<random-string>:
permission denied

Any ideas?

Ok. After following the instructions on the PCF docs here https://docs.pivotal.io/pivotalcf/1-10/devguide/services/using-vol-services.html#create it works.
There it says to use uid and gid 1000 when binding the service instead of 0, as specified on this site.
cf bind-service pora myVolume -c '{"uid":"1000","gid":"1000","mount":"/var/volume1"}'

Might be worth to update the docs here?

Yes, thanks for this.  I had a nagging suspicion that UID 0 was probably bad to have in the readme, as the root uid is almost never a good thing to use.
We'll update the readme shortly.

README updated just now...


How to Answer call and play audio via this code

Hi , i am wondering how to answer call when it says ringing and play audio and then wait for dtmf ? Thanks

This is what I am returning at newCall event :
<?xml version="1.0" encoding="UTF-8"?>
<Response>
    <Play>
        <Url>https://www.pacdv.com/sounds/voices/aaaah.wav</Url>
    </Play>
</Response>


object detection recipe and MS tests

Tests corresponding to #273 and susequent fixes

/cc @MichaelClifford

@MichaelClifford PTANL


how to show service count and endpoint count in ui

Please answer these questions before submitting your issue.

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

Question

What do you want to know?
how to show service count and endpoint count in ui like this，can't find setting in doc

Bug

Which version of SkyWalking, OS, and JRE?
8.1

Which company or project?

What happened?
If possible, provide a way to reproduce the error. e.g. demo application, component version.

Requirement or improvement

Please describe your requirements or improvement suggestions.

We removed that. Not available anymroe.

v7, all things changed since v8.


TTS not working

Hi,
When I test it in developer tools I don't get an error but the notification doesn't play on my echo flex. It is recognized by home assistant but cant get the thing to speak.
Can anyone please help. ?

https://github.com/custom-components/alexa_media_player/wiki/Configuration%3A-Notification-Component


Circle ci setup

Merging proposal of @tr-sangale 's ci/cd setup with the an added commit containing the removal of extra "env" command (https://github.com/odk-x/sync-endpoint/commit/d0518afb82bfd9f61ac33bd3a6453cf975d05304)

Work was moved to update-jdk11


Fix generating of modules list for Windows lineends

if the sourcecode is checked out under windows the linenedings are windows style.
This patch collects and replaces the modules list even then.

Thanks, don't have Windows to test here. What I'm wondering:

If this is indeed a bug (your reasoning is logical), then why hasn't it been reported before? With over 9k pulls this image sure must have run on a number of Windows boxes.
Did you already confirm that it still runs fine on Unix/Mac?

I don't have a Mac/Linux here, so didn't test it there. I will convert the files to UNX line ends and have a look.
As to why this hasn't been reported:

People don't report bugs
the Bug is not a breaker but just a missing feature which isn't documented AFAICS.

I don't have a Mac/Linux here

No worries, I'll test on a Mac.

...just a missing feature which isn't documented AFAICS

True, just wanted reach feature-parity with my cloud builder (isn't documented there either)

But definitely is a cool feature, here and there.
I will also add int/float to the description.
Would it make sense to store this Information outside the img file also?
Like either have a longish filename or add a readme aside the image containing the complete info as shown on bootup?
Have a separate PR for that?

Would it make sense to store this Information outside the img file also?

I personally see very little value in that. It has never been requested in the last three years either. That being said if you later put up a separate PR with code that would create a <img-filename>.txt I would definitely consider it. Long file names, no.


Changes to the Croppie constructor using npm and Webpack

Expected Behavior
In previous versions it was possible to create a new Croppie instance using:
import Croppie from 'croppie';
var croppie = new Croppie(ref, opts);

Actual Behavior
Following the latest update this is no longer possible, you need to use the following syntax for it to work:
import Croppie from 'croppie';
var croppie = new Croppie.Croppie(ref, opts);

Is this an intended change in how the library is supposed to be used with npm, or is there something wrong?
Steps to Reproduce the Problem

install the npm package
import Croppie and try to create a new instance

Specifications

Browser: The problem is not browser specific
Version: Croppie 2.6.1

Thanks for the nice submission.  Nice to see that the new issue template is finally getting some use.
No this wasn't an intended change.  I would say this PR is responsible for this change.
https://github.com/Foliotek/Croppie/pull/452
@sarunint If you and @oystehei could figure out a nice compromise for this case, I'll gladly change the file and create a new version asap.
Do any of these definitions resolve your guys' problems? https://github.com/umdjs/umd
Unfortunately, in my projects with Croppie, I haven't gotten the chance to upgrade to webpack/requirejs/commonjs etc.  So I don't have a good setup to test with.

I have the same problem (2.6.1) :
When I use
this.croppie = new Croppie.Croppie(this.croppieElement.nativeElement, { ... });
I get

core.js:1427 ERROR TypeError: Cannot read property 'Croppie' of undefined

and when I use
this.croppie = new Croppie(this.croppieElement.nativeElement, { ... });
I get

ERROR TypeError: croppie_1.default is not a constructor

Second approach worked up until I updated to 2.6.1.

OK, I'll need to look into how to import Croppie in different build systems.
I'll take a look tomorrow.

Any news??

Update:
I've been spending today trying to convert Croppie to more modern Javascript. (I mean ES2015.)
I'm expecting it to be done tomorrow.

Update 2:
The quick fix is going to be in #479. After this, I shall try to convert them to ES2015.


Update Task bucket_id

I want to move a task to another project and another bucket based on the bucket it was moved to on the update trigger.
So I created a switch for the 3 bucket_ids in my inbox-project but I cannot update project/bucket_id is there a workaround for this or do I have to wait for it getting implemented?

Which Vikunja version are you using?

It sounds like a bug, but I did't try it out. Since the views will change in the next release, the behaviour here needs adjustments as well. I'll keep that in mind while fixing it.

I explained it very bad sorry. I think it's not a bug but not implemented yet. I want to move a task to another bucket in another project. I just don't find an action in n8n-nodes-vikunja allowing me to do so. Even the action "Update Task" just lets me update for example the title or due date... but not the bucket.

This was implemented in https://github.com/go-vikunja/n8n-vikunja-nodes/commit/683cc599fd6d28cb4f3eb4b6260925813c80a913. I'll release a new version of this package shortly, but it will contain breaking changes for the next Vikunja release - that means you'll need to run an unstable build until the stable version is released to use it with this node.

Thank you very much, I'll give it a try.


absent eccrine glands - placement

absent eccrine glands MP:0000577 is currently a child of abnormal eccrine sweat gland morphology MP:0000675.
Make absent eccrine glands MP:0000577 a child of decreased eccrine gland number MP:0013458

Done.


Add D3D12 shaders for testgpu_spinning_cube

The spinning cube test currently fails on D3D12 since we we're missing a D3D12 backend block in load_shader, along with the corresponding actual SM 5.1 DXBC shaders.

Partially blocked by #200


TASK: Add ContainerDynamicReturnTypeExtension

Resolves: #63

I don't have issues regarding licenses per se (the code is simple enough), but I don't understand the desire to provide the same functionality within this package, also see https://github.com/sascha-egerer/phpstan-typo3/issues/63#issuecomment-1283359695
Are there issues with the implementation in bnf/phpstan-psr-container?
Would it be an option to depend on that package instead? The package is used for non TYPO3 projects as well, so it makes sense to keep the ContainerInterface logic in a separate package – and in case you have improvements, we can merge them there, which helps all users.

Would it be an option to depend on that package instead? The package is used for non TYPO3 projects as well, so it makes sense to keep the ContainerInterface logic in a separate package – and in case you have improvements, we can merge them there, which helps all users.

That's also what I was thinking about. I think the problem is that users still have to include it into their phpstan config.
Maybe we can add it to composer suggests and add a phpstan rule that checks if it is loaded if it is required?

@sascha-egerer It it is totally fine to add the service class in our extension.neon, even if the other extension.neon from bnf/phpstan-psr-container is already included i.e. via phpstan/extension-installer or manually. I have tried it locally.

Perfect, thanks for testing. Then I would suggest to add it as dependency and include it in our settings file


[Question]: how to Integrate SmartPDFLoader with SimpleDirectoryReader?

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
How can i Integrate SmartPDFLoader with SimpleDirectoryReader?

Dosu is correct!

@dosu How to Integrate SmartPDFLoader with GoogleDriveReader?

@dosu It seems i can pass file_extractor to GoogleDriveReader, can't i integrate the 2 by instantiating a SmartPDFLoader and pass it as file_extractor to  GoogleDriveReader?

@dosu the previous answer does not work, any other suggestions?


bump up memory limits of manager

Signed-off-by: Ankit Kurmi<EMAIL_ADDRESS>Description
Bump up memory version for ADO manager.

/ok-to-test

/lgtm

/approve

/approve


I have a question about db.run function

I do not quite understand about “Note that it is not possible to run the statement again because it is automatically finalized after running for the first time. Any subsequent attempts to run the statement again will fail”

In other words, if you need to run the same SQL code over and over in a loop or something, db.run is not the way to do it. Instead, prepare a statement (db.prepare...) and then run it over and over using statement.run. When done with the loop or whatever, finalize with statement.finalize.
Statement.run is the same as db.run except: "The callback behavior is identical to the Database#run method with the difference that the statement will not be finalized after it is run. This means you can run it multiple times."


[WIP] Use ipam and weave as standalone without docker plugins

This PR makes networking use the weave attachmodel instead of Docker network and IPAM plugins as the Docker networking stuff proved to be highly unstable and unusable.
Very much WIP still, mainly a starting skeleton to see if and how the ipam integration could work. I've tried to make all ipam related handling within the weave adapter so it's "confined" only in one place.
Still lots of things on the todo list for this:

[x] Make the ipam understand the non-docker managed ips/networks in the cleanup
[ ] Make ipam startup parameters something else than hardcoded in agent
[ ] NetworkMigrator should reserve addresses of existing containers
[x] update and fix Tests
[ ] code cleanup
[x] ipam client error and response handling
[x] master to understand the old style ip's, again

@jakolehm @SpComb  Take a look on the general idea. Don't focus on code details yet. :)

Ipam cleanup requires https://github.com/kontena/kontena-docker-ipam-plugin/pull/60

To test with the ipam cleanup build local version of the ipam plugin and override the ipam image in .env, for example:
IPAM_IMAGE=ipam
IPAM_VERSION=latest

docker-api update changes the new Docker::Events(...) arguments, and needs changes to the Kontena::Workers::EventWorker spec:
wrong number of arguments (given 4, expected 0..1)
/home/kontena/kontena/kontena/agent/vendor/bundle/ruby/2.3.0/gems/docker-api-1.32.1/lib/docker/event.rb:52:in `initialize'
/home/kontena/kontena/kontena/agent/spec/lib/kontena/workers/event_worker_spec.rb:31:in `new'
/home/kontena/kontena/kontena/agent/spec/lib/kontena/workers/event_worker_spec.rb:31:in `block (5 levels) in <top (required)>'
/home/kontena/kontena/kontena/agent/spec/lib/kontena/workers/event_worker_spec.rb:29:in `times'
/home/kontena/kontena/kontena/agent/spec/lib/kontena/workers/event_worker_spec.rb:29:in `block (4 levels) in <top (required)>'
/home/kontena/kontena/kontena/agent/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.1.3/lib/rspec/mocks/message_expectation.rb:625:in `block in call'
/home/kontena/kontena/kontena/agent/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.1.3/lib/rspec/mocks/message_expectation.rb:624:in `map'
/home/kontena/kontena/kontena/agent/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.1.3/lib/rspec/mocks/message_expectation.rb:624:in `call'
/home/kontena/kontena/kontena/agent/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.1.3/lib/rspec/mocks/message_expectation.rb:527:in `invoke_incrementing_actual_calls_by'
/home/kontena/kontena/kontena/agent/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.1.3/lib/rspec/mocks/message_expectation.rb:238:in `invoke'
/home/kontena/kontena/kontena/agent/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.1.3/lib/rspec/mocks/proxy.rb:167:in `message_received'
/home/kontena/kontena/kontena/agent/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.1.3/lib/rspec/mocks/proxy.rb:313:in `message_received'
/home/kontena/kontena/kontena/agent/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.1.3/lib/rspec/mocks/method_double.rb:73:in `proxy_method_invoked'
/home/kontena/kontena/kontena/agent/vendor/bundle/ruby/2.3.0/gems/rspec-mocks-3.1.3/lib/rspec/mocks/method_double.rb:60:in `block (2 levels) in define_proxy_method'
/home/kontena/kontena/kontena/agent/lib/kontena/workers/event_worker.rb:42:in `block in stream_events'
/home/kontena/kontena/kontena/agent/vendor/bundle/ruby/2.3.0/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `public_send'
/home/kontena/kontena/kontena/agent/vendor/bundle/ruby/2.3.0/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `dispatch'
/home/kontena/kontena/kontena/agent/vendor/bundle/ruby/2.3.0/gems/celluloid-0.17.3/lib/celluloid/call/sync.rb:16:in `dispatch'
/home/kontena/kontena/kontena/agent/vendor/bundle/ruby/2.3.0/gems/celluloid-0.17.3/lib/celluloid/future.rb:18:in `block in new'
/home/kontena/kontena/kontena/agent/vendor/bundle/ruby/2.3.0/gems/celluloid-essentials-0.20.5/lib/celluloid/internals/thread_handle.rb:14:in `block in initialize'
/home/kontena/kontena/kontena/agent/vendor/bundle/ruby/2.3.0/gems/celluloid-0.17.3/lib/celluloid/actor/system.rb:78:in `block in get_thread'
/home/kontena/kontena/kontena/agent/vendor/bundle/ruby/2.3.0/gems/celluloid-0.17.3/lib/celluloid/group/spawner.rb

kontena-agent | /app/lib/kontena/agent.rb:148:in `supervise_workers': uninitialized constant Kontena::Workers::NetworkCreateWorker (NameError)
kontena-agent | 	from /app/lib/kontena/agent.rb:18:in `initialize'
kontena-agent | 	from /app/bin/kontena-agent:32:in `new'
kontena-agent | 	from /app/bin/kontena-agent:32:in `<main>'

There's a race on Kontena::Rpc::ServicePodsApi#create early during bootup before the IPAM is running:
 ^Kkontena-agent | D, [2016-11-10T14:41:56.334593 #1] DEBUG -- RpcServer: rpc request: Kontena::Rpc::ServicePodsApi#create [{"service_name"=>"redis", "service_revision"=>1, "updated_at"=>"2016-10-27 09:24:19 UTC", "instance_number"=>1, "image_name"=>"redis:latest", "image_credentials"=>nil, "deploy_rev"=>"2016-11-10 14:41:56 UTC", "stateful"=>false, "user"=>nil, "cmd"=>nil, "entrypoint"=>nil, "memory"=>nil, "memory_swap"=>nil, "cpu_shares"=>nil, "privileged"=>false, "cap_add"=>[], "cap_drop"=>[], "devices"=>[], "ports"=>[], "volumes"=>[], "volumes_from"=>[], "net"=>"bridge", "log_driver"=>nil, "log_opts"=>{}, "pid"=>nil, "env"=>["KONTENA_SERVICE_ID=5811b7fdde3578398e000013", "KONTENA_SERVICE_NAME=redis", "KONTENA_GRID_NAME=development", "KONTENA_NODE_NAME=core-01", "KONTENA_SERVICE_INSTANCE_NUMBER=1"], "secrets"=>[], "labels"=>{"io.kontena.container.id"=>"58248734de35783e9e00003c", "io.kontena.service.id"=>"5811b7fdde3578398e000013", "io.kontena.service.name"=>"redis", "io.kontena.grid.name"=>"development"}, "hooks"=>[], "networks"=>[{"name"=>"kontena", "subnet"=>"<IP_ADDRESS>/16", "multicast"=>true, "internal"=>false}]}]
kontena-agent | I, [2016-11-10T14:41:56.335626 #1]  INFO -- Kontena::ServicePods::Creator: creating service: redis-1
kontena-agent | I, [2016-11-10T14:41:56.335627 #1]  INFO -- Kontena::Workers::ImagePullWorker: pulling image: redis:latest
kontena-agent | I, [2016-11-10T14:42:11.245794 #1]  INFO -- Kontena::Workers::ImagePullWorker: pulled image: redis:latest
kontena-agent | I, [2016-11-10T14:42:11.265785 #1]  INFO -- Kontena::ServicePods::Creator: removing previous version of service: redis-1
kontena-agent | D, [2016-11-10T14:42:11.278072 #1] DEBUG -- ServicePods::Creator: {"name"=>"redis-1", "Image"=>"redis:latest", "HostName"=>"redis-1.kontena.local", "Env"=>["KONTENA_SERVICE_ID=5811b7fdde3578398e000013", "KONTENA_SERVICE_NAME=redis", "KONTENA_GRID_NAME=development", "KONTENA_NODE_NAME=core-01", "KONTENA_SERVICE_INSTANCE_NUMBER=1"], "ExposedPorts"=>{}, "Volumes"=>{}, "Labels"=>{"io.kontena.container.id"=>"58248734de35783e9e00003c", "io.kontena.service.id"=>"5811b7fdde3578398e000013", "io.kontena.service.name"=>"redis", "io.kontena.grid.name"=>"development", "io.kontena.container.type"=>"container", "io.kontena.container.name"=>"redis-1", "io.kontena.container.pod"=>"redis-1", "io.kontena.container.deploy_rev"=>"2016-11-10 14:41:56 UTC", "io.kontena.container.service_revision"=>"1", "io.kontena.service.instance_number"=>"1"}, "HostConfig"=>{"RestartPolicy"=>{"Name"=>"unless-stopped"}, "PortBindings"=>{}, "NetworkMode"=>"bridge"}}
kontena-agent | E, [2016-11-10T14:42:11.661908 #1] ERROR -- Kontena::ServicePods::Creator: NoMethodError: undefined method `reserve_address' for nil:NilClass
kontena-agent | E, [2016-11-10T14:42:11.661954 #1] ERROR -- Kontena::ServicePods::Creator: /app/lib/kontena/network_adapters/weave.rb:136:in `modify_network_opts'
kontena-agent | /usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `public_send'
kontena-agent | /usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `dispatch'
kontena-agent | /usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/call/sync.rb:16:in `dispatch'
kontena-agent | /usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/cell.rb:50:in `block in dispatch'
kontena-agent | /usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/cell.rb:76:in `block in task'
kontena-agent | /usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/actor.rb:339:in `block in task'
kontena-agent | /usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/task.rb:44:in `block in initialize'
kontena-agent | /usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/task/fibered.rb:14:in `block in create'
kontena-agent | (celluloid):0:in `remote procedure call'
kontena-agent | /usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/call/sync.rb:45:in `value'
kontena-agent | /usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/proxy/sync.rb:22:in `method_missing'
kontena-agent | /app/lib/kontena/service_pods/creator.rb:44:in `perform'
kontena-agent | /app/lib/kontena/service_pods/creator.rb:68:in `block in perform_async'
kontena-agent | /usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `public_send'
kontena-agent | /usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `dispatch'
kontena-agent | /usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/call/sync.rb:16:in `dispatch'
kontena-agent | /usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/future.rb:18:in `block in new'
kontena-agent | /usr/lib/ruby/gems/2.3.0/gems/celluloid-essentials-0.20.5/lib/celluloid/internals/thread_handle.rb:14:in `block in initialize'
kontena-agent | /usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/actor/system.rb:78:in `block in get_thread'
kontena-agent | /usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/group/spawner.rb:50:in `block in instantiate'
kontena-agent | E, [2016-11-10T14:42:11.658133 #1] ERROR -- : Actor crashed!
kontena-agent | NoMethodError: undefined method `reserve_address' for nil:NilClass
kontena-agent | 	/app/lib/kontena/network_adapters/weave.rb:136:in `modify_network_opts'
kontena-agent | 	/usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `public_send'
kontena-agent | 	/usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `dispatch'
kontena-agent | 	/usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/call/sync.rb:16:in `dispatch'
kontena-agent | 	/usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/cell.rb:50:in `block in dispatch'
kontena-agent | 	/usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/cell.rb:76:in `block in task'
kontena-agent | 	/usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/actor.rb:339:in `block in task'
kontena-agent | 	/usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/task.rb:44:in `block in initialize'
kontena-agent | 	/usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/task/fibered.rb:14:in `block in create'

which also leads to additional fallout:
kontena-agent | E, [2016-11-10T14:42:11.672721 #1] ERROR -- Kontena::Workers::EventWorker: Celluloid::DeadActorError: attempted to call a dead actor: adapter_image?
kontena-agent | E, [2016-11-10T14:42:11.674277 #1] ERROR -- : Actor crashed!
kontena-agent | Celluloid::DeadActorError: attempted to call a dead actor: detach_network
kontena-agent | 	/usr/lib/ruby/gems/2.3.0/gems/celluloid-essentials-0.20.5/lib/celluloid/internals/responses.rb:29:in `value'
kontena-agent | 	/usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/call/sync.rb:45:in `value'
kontena-agent | 	/usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/proxy/sync.rb:22:in `method_missing'
kontena-agent | 	/app/lib/kontena/workers/weave_worker.rb:52:in `on_container_event'
kontena-agent | 	/usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `public_send'
kontena-agent | 	/usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in `dispatch'
kontena-agent | 	/usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/call/async.rb:7:in `dispatch'
kontena-agent | 	/usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/cell.rb:50:in `block in dispatch'
kontena-agent | 	/usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/cell.rb:76:in `block in task'
kontena-agent | 	/usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/actor.rb:339:in `block in task'
kontena-agent | 	/usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/task.rb:44:in `block in initialize'
kontena-agent | 	/usr/lib/ruby/gems/2.3.0/gems/celluloid-0.17.3/lib/celluloid/task/fibered.rb:14:in `block in create'

The IPAMClient doesn't work if the kontena-ipam-plugin container is already running, but with a different bundle exec thin -p ... configuration. Shouldn't really happen across any Kontena 0.16 -> 0.17 migration, though, just a development thing..
kontena-agent | D, [2016-11-10T14:47:18.962442 #1] DEBUG -- NetworkAdapters::IpamClient: reserving address for network kontena
kontena-agent | E, [2016-11-10T14:47:18.963995 #1] ERROR -- Kontena::ServicePods::Creator: Excon::Error::Socket: Connection refused - connect(2) for <IP_ADDRESS>:2275 (Errno::ECONNREFUSED)

The Weave#detach_network logging could be within the if overlay_cidr check:
kontena-agent | D, [2016-11-10T15:08:48.379392 #1] DEBUG -- NetworkAdapters::Weave: detaching weave network for container 554897f8fc7784291e1d413a5d88a649fea8d6b07c27e7472a9865acbad19b69
kontena-agent | D, [2016-11-10T15:08:48.379475 #1] DEBUG -- NetworkAdapters::Weave: {"image"=>"kontena/ipam-plugin:latest", "name"=>"kontena-ipam-plugin"}

Confusing

I disabled the cleanup in the last commit. It requires some more thinking.
Now there is a race window when agent reserves the ip and starts to create the container. During this window if the cleanup starts it might remove the just reserved address from etcd since the container does not yet exist and thus the address is considered "stale". I managed to get duplicate addresses because of this during service scaling.

Now there is a race window when agent reserves the ip and starts to create the container

Known issue: https://github.com/kontena/kontena-docker-ipam-plugin/issues/53

@SpComb  We should definitely pin the IPAM version once we have a version tag of IPAM with these in it:

https://github.com/kontena/kontena-docker-ipam-plugin/pull/60
https://github.com/kontena/kontena-docker-ipam-plugin/issues/53

https://github.com/kontena/kontena-docker-ipam-plugin/pull/61 includes an improved kontena-ipam-cleanup --etcd-index-upto=X --pool kontena ....
Using --etcd-index-upto=X solves the IPAM cleanup race condition, but requires a three-stage clenaup routine where the kontena-agent checks the X-Etcd-Index before scanning for active containers: https://github.com/kontena/kontena-docker-ipam-plugin/issues/53#issuecomment-259969703


access registers with PT_REGS macros & add LINUX_ARCH flags

access registers with PT_REGS macros and add LINUX_ARCH flags to makefile.

it's updated now

LGTM, thanks.


Approach for React Server Components

Support for React Server Components is being introduced in various meta frameworks for React.js, namely through Next.js. Server Components are a new concept in React and we would like to make sure that teams can leverage @primer/react alongside Server Components seamlessly.
The core challenge presented when using @primer/react along with Next.js is that, by default, components are treated as Server Components. Server Components themselves have certain constraints, including:

May not use state
May not use rendering lifecycle (effects)
May not share things between server and client (like context)

For a full list, checkout this section in the RFC
When teams are using @primer/react, one of the first challenges that they run into is that compponents are treated as server components and, as a result, cause Next.js to error.
Error: createContext only works in Client Components. Add the "use client" directive at the top of the file to use it.

To address this, on our side we should use the "use client" directive in files or boundaries where components are client components. In our first phase, we could add this directive to each entrypoint in our package to mark the entrypoint as "client only"
In the future, we can investigate what may be a good opportunity for a server component and can then investigate having bundles for client vs server. This will likely need to be after switching off from a ThemeProvider as context values cannot propagate between client and server 😞
An exploration into this approach is available here: https://github.com/primer/react/pull/4128

To learn more about React Server Components, checkout the following resources:

Server Components RFC
Making Sense of React Server Components

React Server Components from Scratch

In our first phase, we could add this directive to each entrypoint in our package to mark the entrypoint as "client only"
In the future, we can investigate what may be a good opportunity for a server component and can then investigate having bundles for client vs server.

I really like this strategy!

This will likely need to be after switching off from a ThemeProvider as context values cannot propagate between client and server 😞

Ouch! Does that mean we're stuck with it until we migrate off styled-components? (which isn't on the roadmap yet)

Does that mean we're stuck with it until we migrate off styled-components? (which isn't on the roadmap yet)

@siddharthkp realistically, I think so 😞 Or at least I'm not sure of a way we would "mix-and-match" client and server components so that context values would work as we expect. I feel like the major limitation that we run into is that client components cannot call server components so we are unable to provide a theme as a prop or value to a server component when rendering.


Support for sending files over webhooks?

Is it possible to have some way to send files over webhooks?
This would help with running chat relays/bridges as there wouldn't be a need for an external file host. Sorry if this is already a feature, I asked in the support server and was told DiscordGo probably doesn't support it right now.
Thanks :)

https://godoc.org/github.com/bwmarrin/discordgo#Session.WebhookExecute specifically the File field.

As per spec, it requires multipart/form-data instead of the normal application/json that RequestWithBucketID uses. In turns, this requires additional data to be sent with payload_json. ChannelMessageSendComplex implements this, however WebHookExecute does not.

OK, thanks again :)

@rumblefrog  I want to do the same thing (send an image over a webhook) and can't figure out how!
WebhookParams has a File field that takes a string. How can I use this? Is there no way to upload a file using WebhookExecute?

@aswinmprabhu Just construct the payload yourself, set the proper header and use the optional payload_json if want to pass additional data.
Discord documentation: https://discordapp.com/developers/docs/resources/webhook#execute-webhook


如何固定抓取URL二级页面的内容？

如题，例如我只想抓取https://au.news.yahoo.com  或https://news.yahoo.com/au/ 域名下的内容，而不是整个网站的内容。怎么实现？

site 里面直接填二级域名

site 里面直接填二级域名

感谢您的回复，我已经尝试使用二级域名，但是还是抓取到了网站的所有内容。例如，抓取到了https://news.yahoo.com/fr/下的内容，我只想抓取澳洲的内容，不想抓取法国的内容， 有什么办法可以实现吗？

以下是log，这是我设置的另一个二级域名，目标要抓取的是https://www.midea.com/AU/ 下的内容，
实际抓取到了
https://www.midea.com/us/
https://www.midea.com/de//
2024-11-15 12:12:07 core-1  | 2024-11-15 01:12:07.490 | DEBUG    | insights:pipeline:34 - start processing https://www.midea.com/us/ranges/freestanding-ranges-electric
2024-11-15 12:12:08 core-1  | 2024-11-15 01:12:08.240 | DEBUG    | insights:pipeline:59 - article: Free Standing Ranges Electric
2024-11-15 12:12:08 core-1  | 2024-11-15 01:12:08.244 | DEBUG    | llms.openai_wrapper:openai_llm:22 - messages:
2024-11-15 12:12:08 core-1  |  [{'role': 'system', 'content': "Please carefully read the news content provided by the user and analyze it according to the list of type labels given below:\n['fridge', 'refrigerator', 'freezer', 'cooling appliance']\n\nThe meanings of each label are as follows:\nfridgefridge\nrefrigeratorrefrigerators\nfreezer freezers\ncooling appliancecooling appliance\n\nIf the news contains any information of the aforementioned types, please mark the type label of the information using the following format and provide a one-sentence summary containing only the time, location, people involved, and event:\nTypeLabelA one-sentence summary containing only the time, location, people involved, and event\n\nPlease be sure to: 1. Strictly adhere to the original text and do not provide information not contained in the original; 2. For the same event, choose only one most appropriate label and do not repeat the output; 3. If the news contains multiple pieces of information, analyze them one by one and output them in a one-line-per-item format. If the news does not involve any of the types of information, simply output: None."}, {'role': 'user', 'content': 'title: Free Standing Ranges Electric\n\ncontent: [from midea] Our freestanding electric ranges feature are sleek and functional. Each one features a powerful yet flexible cooktop, an edge-to-edge glass oven window, and convenient Easy-Clean technology.'}]
2024-11-15 12:12:08 core-1  | 2024-11-15 01:12:08.244 | DEBUG    | llms.openai_wrapper:openai_llm:23 - model: THUDM/glm-4-9b-chat
2024-11-15 12:12:08 core-1  | 2024-11-15 01:12:08.244 | DEBUG    | llms.openai_wrapper:openai_llm:24 - kwargs:
2024-11-15 12:12:08 core-1  |  {'temperature': 0.1}
2024-11-15 12:12:08 core-1  | 2024-11-15 01:12:08.715 | DEBUG    | llms.openai_wrapper:openai_llm:43 - result:
2024-11-15 12:12:08 core-1  |  Choice(finish_reason='stop', index=0, logprobs=None, message=ChatCompletionMessage(content='\nNone', refusal=None, role='assistant', audio=None, function_call=None, tool_calls=None))
2024-11-15 12:12:08 core-1  | 2024-11-15 01:12:08.716 | DEBUG    | llms.openai_wrapper:openai_llm:44 - usage:
2024-11-15 12:12:08 core-1  |  CompletionUsage(completion_tokens=2, prompt_tokens=312, total_tokens=314, completion_tokens_details=None, prompt_tokens_details=None)
2024-11-15 12:12:08 core-1  | 2024-11-15 01:12:08.717 | DEBUG    | insights.get_info:get_info:94 - can not find info, llm result:
2024-11-15 12:12:08 core-1  |
2024-11-15 12:12:08 core-1  | None
2024-11-15 12:12:08 core-1  | 2024-11-15 01:12:08.718 | INFO     | insights:pipeline:32 - https://www.midea.com/content/dam/midea-aem/de/presse/20240529-Pressemitteilung-Midea-Golden-Hygiene-Label-B2C.pdf is a file, skip
2024-11-15 12:12:08 core-1  | 2024-11-15 01:12:08.718 | DEBUG    | insights:pipeline:34 - start processing https://www.midea.com/de/support/FAQ
2024-11-15 12:12:09 core-1  | 2024-11-15 01:12:09.120 | INFO     | scrapers.general_crawler:general_crawler:98 - can not reach

那就是二级域名下面有到其他二级域名的超链……
你可以在tags里面通过 tag 限定只提取澳洲相关的内容

或者自定义专有网站信息提取器


Entire class has warning "Generated onRequestPermissionsResult method not called"

I get my whole class underlined in red with this warning:

"Generated onRequestPermissionsResult method not called [NeedOnRequestPermissionsResult]"

My code is fine. It compiles and runs but the editor warning keeps showing also on every class nested in a fragment or activity. Could you please fix it as I can't see my own real errors :D.

What version do you use?
And this issue is discussed in https://github.com/hotchemi/PermissionsDispatcher/issues/124

Yes, appears to be the same issue. Using 2.1.0, but after upgrading to 2.1.1 it shows up again. I haven't try clean rebuild and Invalidate Caches because the project is quite large.

You should try, why not?

Migration to 2.1.1 + Clean Rebuild + Invalidate Caches And Restart didn't fix it :S Do you know how can I disable that particular warning from Lint config?

Could you try this? https://github.com/hotchemi/PermissionsDispatcher/issues/124#issuecomment-205289493

@shiraji With your changeset it works fine. :+1:

Cool. That is what I wanna know! I will send pull request with this change to fix this issue. Sorry for inconvenience.
Since it may take time to release v2.1.2, you can use following code to disable this lint in v2.1.1
android {
      lintOptions {
          disable 'NeedOnRequestPermissionsResult'
      }
}

Thanks a lot.

oh my god,it tooks me a lot of time to fix this probleam.


Ignore .eunit and .rebar for all deps

Overview
This update makes git to ignore .eunit and .rebar subdirs for all dependencies instead of specifying them in .gitignore file individually.
Testing recommendations
Run make eunit and then git status on master to see list of untracked .eunit directories. Check out this branch and run git status again to confirm that the directories are not shown anymore.
Checklist

[x] Code is written and works correctly;
[ ] Changes are covered by tests;
[ ] Documentation reflects the changes;
[ ] I will not forget to update rebar.config.script
with the correct commit hash once this PR get merged.

+1


create a color picker game

game where color rgb code will be given and user has to guess color among the given colors. User can also chose the difficulty level. Please assign this issue to me.

sounds good, go ahead 🚀


checkpoint

Hello,
Since the training code is not released yet, would it be possible if you release the lora checkpoint for stable diffusion v2.1-base?
Thanks a lot!

Hi,
Thanks for your interest. The ckpt of sd-v2.1 has been released here https://huggingface.co/leigangqu/DPT-T2I.


doc(sdk/elixir): update version in doc when bump a new version

This follows up from
https://github.com/dagger/dagger/pull/5530#discussion_r1321896711, bump a :dagger version in the install sdk section to the latest version when calling sdk:elixir:bump is called.
This change already bumps to the latest version by running ./hack/make sdk:elixir:bump 0.9.10.
Rendered

@vikram-dagger Hi, is this PR still valid?

@wingyplus I think that we can still get this in if you are OK to fix the merge conflict.
Even if it's going to be short-lived, we should have it until some of the bigger "modularize" PRs get merged. FTR:

https://github.com/dagger/dagger/pull/6843

@wingyplus I think that we can still get this in if you are OK to fix the merge conflict.
Even if it's going to be short-lived, we should have it until some of the bigger "modularize" PRs get merged. FTR:

Modularize CI #6843

@gerhard @wingyplus the file partials/_install-sdk-elixir.mdx no longer exists in the new structure of the docs (hence the conflict).

@wingyplus I think that we can still get this in if you are OK to fix the merge conflict.
Even if it's going to be short-lived, we should have it until some of the bigger "modularize" PRs get merged. FTR:

Modularize CI #6843

@gerhard @wingyplus the file partials/_install-sdk-elixir.mdx no longer exists in the new structure of the docs (hence the conflict).

Yes and we need to update to archived documentation. But is it ok to you to update on archived documentation?

Yes and we need to update to archived documentation. But is it ok to you to update on archived documentation?

This is not possible, as the archive is a static build of the docs at a specific point in time.

I think we can close it now since it is no document to update. What do you think?


https://bosh.io/docs/azure-cpi.html is not updated

The contents of https://bosh.io/docs/azure-cpi.html is older than https://github.com/cloudfoundry/docs-bosh/blob/master/azure-cpi.html.md.erb

Updates to bosh.io happen periodically.


Step Dimmer Control

Is your feature request related to a problem? Please describe:
The Pico 5 button remote doesn't seem to be able to function as a dimmer controller with this plugin.  It appears I can only set a button press to a specific illumination intensity.    It would be great to see a long press stepping function added to the plugin so that the pico remote can be made to function as it does with native lutron dimmers.
Describe the solution you'd like:
I'd Like to see a Stepping function added to the plugin so that while pressing an holding a button the function will slowly step up or step down the percent illumination scale.
the main goal would be to simulate the operation of a standard Lutron Caseta wall dimmer including the press and hold functionality for the raise/lower buttons. It would be amazing if it could allow for the control over the on/off transition times, brightness step percentage and the transition time.

I totally agree, but unfortunately this is a gap in HomeKit. Basically, buttons are stateless in HomeKit, meaning they can trigger events ("pressed", "double-pressed", "long-pressed") that happen at points in time, but they don't carry state like switches do ("on" or "off", or "pressed" or "released"). HomeKit further doesn't have a notion of "do a thing until another thing" or "do more of a thing". That means that buttons are limited to triggering the kinds of actions that are idempotent, don't have a start or an end, and don't have any sense of what the "past" was.
That means, basically, scenes, which let you "set the light to on" but not "raise the light by 5% from its prior value".
Such a feature could be wired up outside of HomeKit (and, thus, outside of this plugin), but you'd need to look into things like HomeAssistant or NodeRED or the like.


Fix minor bugs in lz-vending module

Description
Source: https://github.com/Azure/bicep-lz-vending/pull/28
Fixing these bugs:

https://github.com/Azure/bicep-lz-vending/issues/26
https://github.com/Azure/bicep-lz-vending/issues/27

Patch change only as not adding any new parameters etc. just fixing usage of existing parameters in places in the module, as above.
Updating an existing module

[x] This is a bug fix:

[ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
[x] The bug was found by the module author, and no one has opened an issue to report it yet.

[x] I have run brm validate locally to verify the module files.
[x] I have run deployment tests locally to ensure the module is deployable.
[x] I have read the Updating an existing module section in the contributing guide and updated the version.json file properly:

[x] The PR contains backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in version.json.
[ ] The PR contains backwards compatible feature updates, and I have bumped the MINOR version in version.json.
[ ] The PR contains breaking changes, and I have bumped the MAJOR version in version.json.

Testing
Evidence can be seen in PR: https://github.com/Azure/bicep-lz-vending/pull/28

https://github.com/Azure/bicep-lz-vending/pull/28 related

Upstream PR merged (https://github.com/Azure/bicep-lz-vending/pull/28) and release cut (https://github.com/Azure/bicep-lz-vending/releases/tag/v1.1.2)
Would appreciate this being reviewed and merged ASAP so we don't have gaps in people trying to use BRM for v1.1.2 that isn't yet published to BRM.
cc: @shenglol (and sorry in advance 👍)

Just want to clarify the one question - otherwise LGTM

@alex-frankel just replied 👍


Got a response from the target app, but no target pages found

I'm trying to get this work with my Mac and iPhone.
I read this page very carefully, and installed the prerequisites like brew package, but did not work.
I got this all the time:

Error [debugger-for-chrome] Got a response from the target app, but no target pages found

My Mac and iPhone are in the same WiFi network. The project is served from my Mac with a node dev server. I'm visiting the dev page on iPhone via URL like http://<IP_ADDRESS>:8080/. iPhone is plugged to Mac with the USB cable, and set to trust.
Here are my launch.json configs, none of these works:
    {
      "name": "Launch iOS Safari",
      "type": "ios",
      "request": "launch",
      "webRoot": "${workspaceRoot}",
      "sourceMaps": true,
      "port": 9222,
      "deviceName": "*",
      "url": "http://<IP_ADDRESS>:8080/*"
    },
    {
      "name": "Launch iOS Safari via Tunnel",
      "type": "ios",
      "request": "launch",
      "webRoot": "${workspaceRoot}",
      "sourceMaps": true,
      "port": 9222,
      "deviceName": "*",
      "tunnelPort": 8080
    },
    {
      "name": "Attach iOS Safari",
      "type": "ios",
      "request": "attach",
      "webRoot": "${workspaceRoot}",
      "sourceMaps": true,
      "port": 9222,
      "deviceName": "*",
      "url": "http://<IP_ADDRESS>:8080/*"
    }

I'm using Debugger for Chrome for macOS Chrome too, and it works perfectly. So I'm stuck here, cannot figure out what I was missing.
My environment and device:

Macbook Pro: macOS 10.12.1, VS Code 1.7.1, Debugger for iOS Web 0.1.2.
iPhone 6: iOS 10.1 (no iOS Chrome installed).

Tried to set up on a Windows 7 laptop. Works fine with PC Chrome, same error info for iPhone Safari.

Hi @myst729

Do you have Safari open on your ios device with the tab open?
Can you try to start the debugger and and go to http://localhostl:9222/json and dump the output here?

Let's get this working for you :)

@auchenberg

I tried either with or without an open tab on http://<IP_ADDRESS>:8080, none of the three configs works.

On http://<IP_ADDRESS>:9222 it says

iOS Devices:

Hi @myst729
Thanks! Given your are MacOS, can you try the following;

Open a terminal
Run ios_webkit_debug_proxy in your terminal.
Connect your iPhone over USB, start safari with a tab open on google.com
Make sure the Web Inspector option is enabled on your iOS device

Action:

Go to http://localhost:9221 and paste the output here
Go to http://localhost:9222/json and paste the output here

Turned on iPhone Safari Web Inspector and connected it to laptop over USB.

Visit https://github.com/ on iPhone Safari.

Run ios_webkit_debug_proxy on Mac terminal, successfully connected to iPhone.

Visit http://localhost:9221 on Mac Chrome, iPhone is listed there too:
iOS Devices:
localhost:9223 - Leo’s iPhone

Visit http://localhost:9222/json on Mac Chrome, nothing:
[]

If I modify the config as following - change port to 2223:
    {
      "name": "Attach iOS Safari",
      "type": "ios",
      "request": "attach",
      "webRoot": "${workspaceRoot}",
      "sourceMaps": true,
      "port": 9223,
      "deviceName": "*",
      "url": "http://<IP_ADDRESS>:8080"
    }

I get this:

[debugger-for-chrome] Can't find a target that matches: http://<IP_ADDRESS>:8080. Available pages: ["http://<IP_ADDRESS>:8080/#/home"]

My app is an SPA with client routing. This is slightly different from debugging laptop Chrome. Chrome debugger can match it.
I went on modifying the config, change url to http://<IP_ADDRESS>:8080/*, which I thought would match anyway:
    {
      "name": "Attach iOS Safari",
      "type": "ios",
      "request": "attach",
      "webRoot": "${workspaceRoot}",
      "sourceMaps": true,
      "port": 9223,
      "deviceName": "*",
      "url": "http://<IP_ADDRESS>:8080/*"
    }

This time the debugger runs, and VSC debug console is outputting messages. Looks great. But, break points are still not working. Says Unverified Breakpoint, and could not stop at all.

Also, since I'm using stylus to write styles together with webpack-stylus-loader, in debug console there are lots of such messages, which does not happen when debugger laptop Chrome:
Unexpected CSS token: :
Invalid CSS property declaration at: *
Invalid CSS property declaration at: *
Invalid CSS property declaration at: *
Invalid CSS property declaration at: *
Invalid CSS property declaration at: *
Invalid CSS property declaration at: *
Invalid CSS property declaration at: *
Unexpected CSS token: :
Invalid CSS property declaration at: *
Invalid CSS property declaration at: *
Invalid CSS property declaration at: *
Invalid CSS property declaration at: *
Invalid CSS property declaration at: *
Invalid CSS property declaration at: *
Invalid CSS property declaration at: *

@myst729 Okay, now we got VS Code connected to your iOS device. I think the next issue is a webRoot source map issue. Can you set diagnosticLogging to truein the config, and copy+paste the log in here, after you tried to set a breakpoint?

This time iPhone connects to port 9222, weird.
Visit http://localhost:9221/json on Mac Chrome:
[{
   "deviceId": "****************************************", // some SHA-1 string I guess
   "deviceName": "Leo’s iPhone",
   "url": "localhost:9222"
}]

Visit http://localhost:9222/json on Mac Chrome:
[{
   "devtoolsFrontendUrl": "",
   "faviconUrl": "",
   "thumbnailUrl": "/thumb/http://<IP_ADDRESS>:8080/#/blog/guide/2016/vuelog-hackers-guide",
   "title": "Vuelog Dev | [TODO] Vuelog hacker’s guide",
   "url": "http://<IP_ADDRESS>:8080/#/blog/guide/2016/vuelog-hackers-guide",
   "webSocketDebuggerUrl": "ws://localhost:9222/devtools/page/1",
   "appId": "PID:2734"
}]

The url http://<IP_ADDRESS>:8080/#/blog/guide/2016/vuelog-hackers-guide is exactly what I'm visiting on iOS Safari.
For now I think we can be pretty sure that the debug proxy is running just fine.
In VSC console there are lots similar info like this:
  ›OS: darwin x64
  ›Node: v6.5.0
  ›vscode-chrome-debug-core: 0.1.16
  ›debugger-for-ios-web: 0.1.2
  ›spawn('/usr/local/bin/ios_webkit_debug_proxy', ["--no-frontend","--config=null:9222,:9223-9323"])
  ›Discovering targets via http://<IP_ADDRESS>:9222/json
  ›SourceMaps.getMapForGeneratedPath: Finding SourceMap for debugadapter://1529 by URI: data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9+L2hpZ2hsaWdodC5qcy9saWIvbGFuZ3VhZ2VzL25peC5qcz8xYzM2Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLGdCQUFnQjtBQUNoQixXQUFXO0FBQ1g7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxPQUFPLHVCQUF1QjtBQUM5QixPQUFPO0FBQ1A7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJmaWxlIjoiMjYzLmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbihobGpzKSB7XG4gIHZhciBOSVhfS0VZV09SRFMgPSB7XG4gICAga2V5d29yZDpcbiAgICAgICdyZWMgd2l0aCBsZXQgaW4gaW5oZXJpdCBhc3NlcnQgaWYgZWxzZSB0aGVuJyxcbiAgICBsaXRlcmFsOlxuICAgICAgJ3RydWUgZmFsc2Ugb3IgYW5kIG51bGwnLFxuICAgIGJ1aWx0X2luOlxuICAgICAgJ2ltcG9ydCBhYm9ydCBiYXNlTmFtZU9mIGRpck9mIGlzTnVsbCBidWlsdGlucyBtYXAgcmVtb3ZlQXR0cnMgdGhyb3cgJyArXG4gICAgICAndG9TdHJpbmcgZGVyaXZhdGlvbidcbiAgfTtcbiAgdmFyIEFOVElRVU9URSA9IHtcbiAgICBjbGFzc05hbWU6ICdzdWJzdCcsXG4gICAgYmVnaW46IC9cXCRcXHsvLFxuICAgIGVuZDogL30vLFxuICAgIGtleXdvcmRzOiBOSVhfS0VZV09SRFNcbiAgfTtcbiAgdmFyIEFUVFJTID0ge1xuICAgIGJlZ2luOiAvW2EtekEtWjAtOS1fXSsoXFxzKj0pLywgcmV0dXJuQmVnaW46IHRydWUsXG4gICAgcmVsZXZhbmNlOiAwLFxuICAgIGNvbnRhaW5zOiBbXG4gICAgICB7XG4gICAgICAgIGNsYXNzTmFtZTogJ2F0dHInLFxuICAgICAgICBiZWdpbjogL1xcUysvXG4gICAgICB9XG4gICAgXVxuICB9O1xuICB2YXIg[...]
  ›SourceMaps.getMapForGeneratedPath: Using inlined sourcemap in debugadapter://1529
  ›SourceMap: creating for debugadapter://1529
  ›SourceMap: sourceRoot:
  ›SourceMap: sources: ["webpack:///./~/highlight.js/lib/languages/nix.js?1c36"]
  ›Warning: SourceMap sources are inlined. This extension ignores inlined sources. If the paths are not correct, sourcemap support won't work.
  ›SourceMap: webRoot: /Users/Leo/Documents/Development/vuelog
  ›SourceMaps.getMapForGeneratedPath: exception while processing sourcemap: TypeError: Path must be a string. Received null
    at assertPath (path.js:7:11)
    at Object.dirname (path.js:1326:5)
    at Object.getComputedSourceRoot (/Users/Leo/.vscode/extensions/msjsdiag.debugger-for-ios-web-0.1.2/node_modules/vscode-chrome-debug-core/out/src/sourceMaps/sourceMapUtils.js:50:38)
    at new SourceMap (/Users/Leo/.vscode/extensions/msjsdiag.debugger-for-ios-web-0.1.2/node_modules/vscode-chrome-debug-core/out/src/sourceMaps/sourceMap.js:32:49)
    at /Users/Leo/.vscode/extensions/msjsdiag.debugger-for-ios-web-0.1.2/node_modules/vscode-chrome-debug-core/out/src/sourceMaps/sourceMapFactory.js:33:24
    at process._tickCallback (internal/process/next_tick.js:103:7)

  ›SourceMap: creating for debugadapter://1831
  ›SourceMap: sourceRoot:
  ›SourceMap: sources: ["webpack:///./src/components/VuelogPagination.vue?ed96"]
  ›Warning: SourceMap sources are inlined. This extension ignores inlined sources. If the paths are not correct, sourcemap support won't work.
  ›SourceMap: webRoot: /Users/Leo/Documents/Development/vuelog
  ›SourceMaps.getMapForGeneratedPath: exception while processing sourcemap: TypeError: Path must be a string. Received null
    at assertPath (path.js:7:11)
    at Object.dirname (path.js:1326:5)
    at Object.getComputedSourceRoot (/Users/Leo/.vscode/extensions/msjsdiag.debugger-for-ios-web-0.1.2/node_modules/vscode-chrome-debug-core/out/src/sourceMaps/sourceMapUtils.js:50:38)
    at new SourceMap (/Users/Leo/.vscode/extensions/msjsdiag.debugger-for-ios-web-0.1.2/node_modules/vscode-chrome-debug-core/out/src/sourceMaps/sourceMap.js:32:49)
    at /Users/Leo/.vscode/extensions/msjsdiag.debugger-for-ios-web-0.1.2/node_modules/vscode-chrome-debug-core/out/src/sourceMaps/sourceMapFactory.js:33:24
    at process._tickCallback (internal/process/next_tick.js:103:7)

  Failed to load resource: The network connection was lost. (http://<IP_ADDRESS>:8080/__webpack_hmr)
  ›SourceMaps.setBP: /Users/Leo/Documents/Development/vuelog/src/helpers/index.js can't be resolved to a loaded script. It may just not be loaded yet.

I noticed it says:
  ›SourceMap: sources: ["webpack:///./src/components/VuelogPagination.vue?ed96"]
  ›Warning: SourceMap sources are inlined. This extension ignores inlined sources. If the paths are not correct, sourcemap support won't work.
  ›SourceMap: webRoot: /Users/Leo/Documents/Development/vuelog
  ›SourceMaps.getMapForGeneratedPath: exception while processing sourcemap: TypeError: Path must be a string. Received null

I used vue-cli to setup a Vue.js repository. And in development it's running with sourcemaps inlined. Does that mean this extension currently cannot deal with my scenario?

Aha @myst729. The current version doesn't support inlined-sourcemaps, but we just landed that in https://github.com/Microsoft/vscode-chrome-debug-core, which this debugger is using. That's probably the reason for why it's working when you are using our Chrome debugger.
Stay tuned. I hope to make a new release next week.

Yep, I saw the debugger for Chrome updated quite often recently. Looking forward to a major update for iOS 😋

By the way, the url match is annoying too.
For macOS Chrome, "url": "http://<IP_ADDRESS>:8080" matches all pages under that domain. But this doesn't work for iOS now.
So I have to use "url": "http://<IP_ADDRESS>:8080/*". And that brings another weird thing. Whenever routing occurs in my SPA, the url in iOS Safari changes to something like http://<IP_ADDRESS>:8080/*#/some-route, which should be http://<IP_ADDRESS>:8080/#/some-route (without the extra asterisk).


unable to disable drilldown

This may be way out of scope for your project, but is there any way to disable the drillDown function for a specific date? For example, I want to show a month view where certain days are disabled. I can write my own calendar-timespan-click function to do this, but it gets preceded by the drillDown function when the user clicks on the day number.
I can work on a pull request for this; would you be more likely to accept one where the drillDown can be disabled as an attribute on the directive or by having the drillDown function run the timespan click first? (which could return false/stop propagation right?)

Having the drilldown run the timespan click function first would be better I think.

+1

I've merged your PR so I guess this can be closed now?


Is it possible to run it on AMD Gpu?

I have the fork version of SD for AMDs gpus and when trying to run this I'm getting an error
 raise RuntimeError('Attempting to deserialize object on a CUDA '     RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.
Is there a workaround to make it work on AMD?

+1


How to disable the startup welcome screen?

I have the following in my settings.jon but the gitlens welcome screen still popups everytime.
"gitlens.showWhatsNewAfterUpgrades": false,
"gitlens.advanced.telemetry.enabled": false,
"workbench.startupEditor":"none",

I'm using Linux version of vscode.

Same issue here https://github.com/eamodio/vscode-gitlens/issues/1096

@Alsan the GitLens welcome view shouldn't show more than once, and the What's New notification should only show once per major/minor release (and you can opt out of that with "gitlens.showWhatsNewAfterUpgrades": false).
Are you still seeing this with GitLens 11?

I've switched to code-oss since last month, and didn't notice the startup screen anymore.


Use metadata to get individual run info

This PR updates the nextflow workflows to work from the metadata files that we have created to track sample information.
Closes #28
The general procedure is to read in the metadata file and use the nextflow function .splitCsv() to process that file into fields that we can then access when creating the channel which will be used by the rest of the workflow.
I also added a workflow (in checks) that can be used to check the md5 hashes of uploaded files. It currently checks all files from all runs in the metadata file. This seems reasonable, as long as we don't run it often. I think it is safe to assume that integrity checks from S3 are sufficient for most usage, and this can be used just to verify that the files we have are the ones that we expect to have been sent.
For reviewers:
I would recommend starting with check-md5.nf, as in many ways that is the simplest workflow here, and because it is new, the whole file is easily visible in the github interface.
While the code is not long, there are a number of things going on here that may be unfamiliar to new nextflow users. One is the use of operator chaining (the .function() syntax in the workflow) which is very much like piping. Another is the use of closures { } for functions like map. There is also at least one place where a variable appears to be used before it is defined.
All of this means that I fully expect questions on how things are actually working. Don't hesitate to ask!

LGTM and equally or possibly more importantly, what's in this PR makes a whole lot more sense to me! 🎉

That is the goal! At some point, you may have to edit or write one of these super-strange workflows!


ODC-7470: Make Time Range Dropdown options dynamic

it would be nice if you could add some unit tests.

needs to run yarn i18n. frontend test is failing because of it.

A PLR is created at Jan 30, 2024, 11:08 AM but in chart I am able to see it in 11 AM time range if it is group by hour.
API is returning group by value as<PHONE_NUMBER> which is eq to Tuesday, January 30, 2024 10:30:00 AM. So UI getting hour as 10 AM. We need to check with API team about this.


DatePicker: KeyInterceptor Crash Workaround

Description
A workaround about #4897 and #4853.
The issue is, when datepicker's popover opening, _keyInterceptor is null (despite being initialized in OnAfterRender) and application crashes with null reference.
Actually i don't know about exact problem, probably it may about transient #4631.
In this PR we only added that the code checks the _keyInterceptor again on opening and initialize it if its null.
This PR may not be the final solution, but i think we should solve this crashing datepicker, its unavoidable and common situation now.
How Has This Been Tested?

Website doesn't crash with this PR when we click datepickers which has OpenTo="Year" parameter.
Types of changes

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

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[ ] I've added relevant tests.

@henon @just-the-benno could you make a review? Datepicker is broken in some situations and affects really bad. This prevents some users to update the last release.

 _keyInterceptor.KeyDown -= HandleKeyDown;

I added this line into dispose methods, but they also give the same null reference exceptions. The problem should be somewhere else. Do you have an idea why _keyInterceptor is null? (Because it hit the _keyInterceptor.Connect checkpoint in debug, it should not be null)
And the other point i think we will probably delete the key interceptors keydown event, because picker etc. also has keydown definition in razor code and key events are working twice for now.

Hi @mckaragoz
I've created a new PR that took your idea and also fixed some other minor issues. Have a look at #4987

#4987 fixes the issue better, so we are now closing this PR.


created dummy architecture with todos

Split the project into packages and added empty interfaces and classes according to architecture plan in the uml.

Looks good to me!


More clarity regarding using docker image from container registry

It is unclear how we publish an arm template with an app service that references our private container registry. Let's say we have a private container registry that we want to use in the ARM template, but how do we do it without sharing the arm template? We don't want to make our container registry publicly accessible.

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

ID: 62afc3dd-a25a-38b1-f82f-8180c9b6438a
Version Independent ID: 1de47494-783c-f068-8da9-26a8f92adb99
Content: Create and publish Azure Managed Application in service catalog - Azure Managed Applications
Content Source: articles/azure-resource-manager/managed-applications/publish-service-catalog-app.md
Service: managed-applications
GitHub Login: @davidsmatlak
Microsoft Alias: davidsmatlak

#assign:davidsmatlak
#label:"product-question"
#label:"triaged"

@sanjaydatasciencedojo Thanks for your question, but it's outside the scope of the article so I'm closing the issue. You might try posting your question to the public Microsoft Q&A for Azure Managed Apps.

#please-close


Check us of some vendors

Description
Check use of vendors :

[ ] symfony/webpack-encore-bundle
[ ] twig/extra-bundle

Requirements

Documentation updates

[ ] Reference
[ ] Changelog

[ ] Unit tests

Breaking changes

Already made by merge from v2-dev => Closed


Consistency updates

Changes for consistency:

len() -> length().
Consistent array de-structuring.
Make code blocks < 72 chars.
Update create_generators. Same result, removed the while and added a go back to step 4 for consistency (we where referencing generator_0 without defining it at the first step where i = 1).

Discussed on the WG call. The issue of the naming convention for SK and PKs came up (neither the SK not the PK is a point to be capitalized). Will address to another PR to avoid conflicts with #186.

Also closes #113

Multiple approvals, purely editorial, merging


Dependency Analysis Error in XCode 9.2

On IOS when i build my app ; I'm facing a dependency analysis error resulting in a build failure.
Could not determine generated file paths for Core Data code generation: Error Domain=com.apple.dt.ModelingTools Code=1 "Error, failed to read Core Data data model from /Users/agruet/mobile-dev/react-projects/goer/node_modules/react-native-xmpp/XMPPFramework/Extensions/XEP-0115/CoreDataStorage/XMPPCapabilities.xcdatamodel: unknown model format" UserInfo={NSFilePath=/Users/agruet/mobile-dev/react-projects/goer/node_modules/react-native-xmpp/XMPPFramework/Extensions/XEP-0115/CoreDataStorage/XMPPCapabilities.xcdatamodel, NSLocalizedDescription=Error, failed to read Core Data data model from /Users/agruet/mobile-dev/react-projects/goer/node_modules/react-native-xmpp/XMPPFramework/Extensions/XEP-0115/CoreDataStorage/XMPPCapabilities.xcdatamodel: unknown model format}
Could not determine generated file paths for Core Data code generation: Error Domain=com.apple.dt.ModelingTools Code=1 "Error, failed to read Core Data data model from /Users/agruet/mobile-dev/react-projects/goer/node_modules/react-native-xmpp/XMPPFramework/Extensions/Roster/CoreDataStorage/XMPPRoster.xcdatamodel: unknown model format" UserInfo={NSFilePath=/Users/agruet/mobile-dev/react-projects/goer/node_modules/react-native-xmpp/XMPPFramework/Extensions/Roster/CoreDataStorage/XMPPRoster.xcdatamodel, NSLocalizedDescription=Error, failed to read Core Data data model from /Users/agruet/mobile-dev/react-projects/goer/node_modules/react-native-xmpp/XMPPFramework/Extensions/Roster/CoreDataStorage/XMPPRoster.xcdatamodel: unknown model format}
Could not determine generated file paths for Core Data code generation: Error Domain=NSCocoaErrorDomain Code=260 "No current version for model at path /Users/agruet/mobile-dev/react-projects/goer/node_modules/react-native-xmpp/XMPPFramework/Extensions/XEP-0054/CoreDataStorage/XMPPvCard.xcdatamodeld:" UserInfo={NSFilePath=/Users/agruet/mobile-dev/react-projects/goer/node_modules/react-native-xmpp/XMPPFramework/Extensions/XEP-0054/CoreDataStorage/XMPPvCard.xcdatamodeld, NSLocalizedDescription=No current version for model at path /Users/agruet/mobile-dev/react-projects/goer/node_modules/react-native-xmpp/XMPPFramework/Extensions/XEP-0054/CoreDataStorage/XMPPvCard.xcdatamodeld:}
Could not determine generated file paths for Core Data code generation: Error Domain=NSCocoaErrorDomain Code=260 "No current version for model at path /Users/agruet/mobile-dev/react-projects/goer/node_modules/react-native-xmpp/XMPPFramework/Extensions/XEP-0045/HybridStorage/XMPPRoomHybrid.xcdatamodeld:" UserInfo={NSFilePath=/Users/agruet/mobile-dev/react-projects/goer/node_modules/react-native-xmpp/XMPPFramework/Extensions/XEP-0045/HybridStorage/XMPPRoomHybrid.xcdatamodeld, NSLocalizedDescription=No current version for model at path /Users/agruet/mobile-dev/react-projects/goer/node_modules/react-native-xmpp/XMPPFramework/Extensions/XEP-0045/HybridStorage/XMPPRoomHybrid.xcdatamodeld:}
Could not determine generated file paths for Core Data code generation: Error Domain=NSCocoaErrorDomain Code=260 "No current version for model at path /Users/agruet/mobile-dev/react-projects/goer/node_modules/react-native-xmpp/XMPPFramework/Extensions/XEP-0136/CoreDataStorage/XMPPMessageArchiving.xcdatamodeld:" UserInfo={NSFilePath=/Users/agruet/mobile-dev/react-projects/goer/node_modules/react-native-xmpp/XMPPFramework/Extensions/XEP-0136/CoreDataStorage/XMPPMessageArchiving.xcdatamodeld, NSLocalizedDescription=No current version for model at path /Users/agruet/mobile-dev/react-projects/goer/node_modules/react-native-xmpp/XMPPFramework/Extensions/XEP-0136/CoreDataStorage/XMPPMessageArchiving.xcdatamodeld:}
Could not determine generated file paths for Core Data code generation: Error Domain=NSCocoaErrorDomain Code=260 "No current version for model at path /Users/agruet/mobile-dev/react-projects/goer/node_modules/react-native-xmpp/XMPPFramework/Extensions/XEP-0045/CoreDataStorage/XMPPRoom.xcdatamodeld:" UserInfo={NSFilePath=/Users/agruet/mobile-dev/react-projects/goer/node_modules/react-native-xmpp/XMPPFramework/Extensions/XEP-0045/CoreDataStorage/XMPPRoom.xcdatamodeld, NSLocalizedDescription=No current version for model at path /Users/agruet/mobile-dev/react-projects/goer/node_modules/react-native-xmpp/XMPPFramework/Extensions/XEP-0045/CoreDataStorage/XMPPRoom.xcdatamodeld:}

I followed the instructions (Linking libs etc.)
react-native : 0.52
Xcode: 9.2
Please advice.

@MI-LA01 i have the same issue? How did you resolve it?

can you please share how can solve this issue
i have this issue


AB#804 Feature/header

Describe pull-request

Add header template from KY Header

How to test

Check in storybook both mobile and desktop view
To show side menu, switch toggle on Storybook control.

Missing component (to be added as next feature)

User account styling (circle profile, and different positioning on mobile)

Solving issue
Fixes: AB#804

Great work!

@vichtertz I will add 20px for the icon in the menu item for now. But if it changes in the future, it can be easily changed in one place 😃
FYI @mmexvr , I added a variable in the theme called --sdds-nav-item-icon-size: 20px

– We would like to get rid of detail-06 in SDDS typography styles, so for the category name, use headline-07 instead (Scania Sans Semi Condensed Bold, 14px/3,5rem)
current:

with headline-07:

– Global menu on small screens:
I would keep a space on the right, like in the basic navigation, the white rectangle on the header and the white bloc of the expanded menu should be aligned
Current:

Design example

– Global menu on Medium screens:
Should follow the same logic as Mobile, by leaving space on the right and align the white blocks

Unless there is a specific reason to not do the same?

Only make it full screen on Mobile, keep the space on the left on Medium screen:


CAMEL-12287: Allow overriding the endpoint host

This change adds the ability to override the server reported
hostname/IP with the originally provided host/IP when connecting
to the server.

Thanks for the PR, it has been merged.

Awesome. Thanks!


Fix typo on spec files

Change decription to description

@code-engine Thank you for finding these typos. As you've closed your PR (maybe due to CLA requirements?), we've made the same changes ourselves.

@shalako no problem, glad to help. Yes, I removed the PR because of CLA requirements. Thanks for making the changes :)


Added disjoint set data structure

Codecov Report

Merging #73 into master will decrease coverage by 0.66%.
The diff coverage is 87.93%.

@@            Coverage Diff             @@
##           master      #73      +/-   ##
==========================================
- Coverage   90.59%   89.92%   -0.67%
==========================================
  Files           6        7       +1
  Lines         372      417      +45
==========================================
+ Hits          337      375      +38
- Misses         35       42       +7

Impacted Files
Coverage Δ

py_ai_sdk/core/graph.py
100% <100%> (ø)
:arrow_up:

py_ai_sdk/core/disjoint_set.py
85.71% <85.71%> (ø)

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 7eefd07...477476a. Read the comment docs.


make ScopeInstance CRs communicate state

Description of the Change

Updates the ScopeInstanceStatus object to have a Conditions field that is of type []metav1.Conditions
Updates controllers/scopeinstance_controller.go to set a metav1.Condition with type Succeeded and updates the status of the condition accordingly

Motivation for the Change
Fixes #3

This PR does not include any tests since the ScopeInstance controller does not currently have tests. @jmrodri mentioned starting to work on unit tests so I didn't want to step on his toes by implementing some for this PR. I am happy to add tests for the conditions as a follow up if they are done as part of the unit tests @jmrodri adds.
To show that it works here is a quick demo:

Create a KinD cluster with

kind create cluster

Install the CRDs and run the Oria-Operator locally with

make install run

Create a ScopeTemplate with

kubectl apply -f config/samples/operators_v1_scopetemplate.yaml

Create a ScopeInstance with

kubectl apply -f config/samples/operators_v1_scopeinstance.yaml

Check the state of the ScopeInstance with

kubectl describe scopeinstance scopeinstance-sample

We should see something similar to the following output:
Name:         scopeinstance-sample
Namespace:
Labels:       <none>
Annotations:  <none>
API Version:  operators.io.operator-framework/v1
Kind:         ScopeInstance
Metadata:
  Creation Timestamp:  2022-09-07T20:11:04Z
  Generation:          1
  Managed Fields:
    API Version:  operators.io.operator-framework/v1
    Fields Type:  FieldsV1
    fieldsV1:
      f:metadata:
        f:annotations:
          .:
          f:kubectl.kubernetes.io/last-applied-configuration:
      f:spec:
        .:
        f:namespaces:
        f:scopeTemplateName:
    Manager:      kubectl-client-side-apply
    Operation:    Update
    Time:         2022-09-07T20:11:04Z
    API Version:  operators.io.operator-framework/v1
    Fields Type:  FieldsV1
    fieldsV1:
      f:status:
        .:
        f:conditions:
    Manager:         main
    Operation:       Update
    Subresource:     status
    Time:            2022-09-07T20:11:05Z
  Resource Version:  635
  UID:               b35ffd9c-a9d0-4435-b51b-5842abe91251
Spec:
  Namespaces:
    default
  Scope Template Name:  scopetemplate-sample
Status:
  Conditions:
    Last Transition Time:  2022-09-07T20:11:05Z
    Message:               ScopeInstance `scopeinstance-sample` successfully reconciled
    Observed Generation:   1
    Reason:                ScopeInstanceReconcileSuccess
    Status:                True
    Type:                  Succeeded
Events:                    <none>

holding on resolution of issue #47
/hold

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

217 of 327 (66.36%)  changed or added relevant lines in 2 files are covered.
13 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-6.8%) to 64.783%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

controllers/scopetemplate_controller.go
53
86
61.63%

controllers/scopeinstance_controller.go
164
241
68.05%

Files with Coverage Reduction
New Missed Lines
%

controllers/scopetemplate_controller.go
6
59.76%

controllers/scopeinstance_controller.go
7
62.42%

Totals

Change from base Build<PHONE_NUMBER>:
-6.8%

Covered Lines:
344

Relevant Lines:
531

💛  - Coveralls

/hold cancel

/lgtm

/lgtm


Prevent storing liquids in equipped buckets

About the PR

If you wear a bucket on your head, you can no longer pour, inject, or otherwise transfer liquids into it while it's still on your head.
Why / Balance

Fixes #24335
Technical details

Equipping a spillable that has SpillWorn set as true now adds a component (BlockSolutionAccessComponent) to the entity, which blocks any attempts (TryGetSolution, EnumerateSolutions) to access its contained solutions. The component is removed when the entity is unequipped.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:

fix: You can no longer drink out of or put liquids into buckets worn on your head.

I checked this. It looks normal.

A small note. But if someone tries to use "drink" from this menu, nothing will happen, and there will be no messages about it. This is not very good. Here, either additional pop-ups need to be added, or these actions need to be removed from the list.

Modified DrinkSystem so the Drink verb isn't added if the it fails to find the solution, fixing the issue above.


Add config value for mail domain hostname

Replace the usage the usage of NONSSL_SITE_URL within the mail function (under classes/misc.class.php) with a MAIL_SITE_HOST that is defined within config.php.

Fixed in f06b05e5cf7e6fe5642e77efc941b6de4a8d0226


add font fallback example to config template

Hi, I didn't manage to get a font fallback working.
I tried different things like
font:
  normal:
     family: hack
     family: monospace

font:
  normal:
     family: hack
       family: monospace

font:
  normal:
     - family: hack
     - family: monospace

but none appeared to work.
Could we have a working fallback example in the config template?
I use alacritty from the scrollback branch.

It is currently not possible to specify fallback fonts like that. As a feature proposal this issue is a duplicate of #957.


Added transposed conv to selection of classes

GroupConvNd:

[x] Added _conv3d_transposed_forward
[x] Added output_padding as a parameter
[x] Added 3d_transposed as an option for conv_mode

GSeperableConv3d:

[x] Added conv_mode as an parameter
[x] Added output_padding as a parameter
[x] Made it pass them through as to the super.init()

GSeperableConvSE3:

[x] Added conv_mode as an parameter
[x] Added output_padding as a parameter
[x] Made it pass them through as to the super.init()

RGSeperableConvSE3:

[x] Added conv_mode as an parameter
[x] Added output_padding as a parameter
[x] Made it pass them through as to the super.init()

LGTM


refactor(26237): Refactor the request infrastructure to the OpenAPI specs

See https://hivemq.kanbanize.com/ctrl_board/57/cards/26237/details/
This PR is part of the bi-directional epic and refactors the query infrastructure to abide to the OpenAPI specs proposed in https://github.com/hivemq/hivemq-edge/pull/563
Design
The current implementation of the bi-directional features in the frontend is still based on a series of mocks (both data and process) to bypass the work-in-progress nature of the backend.
To drive the alignment of the two parts of the engineering process, a proposal was made for the expected API endpoints.
The PR refactors the bespoke mocks into a proper micro-service API mocking

The OpenAPI specs are used to generate the stubs for the services and models
All the expected endpoints are covered by their relevant React Query hooks
All the still-unsupported endpoints are covered by mocks, using MSW to intercept the requests and populate the returned body
The internal MQTT Client, used for sampling topics and schema, has been "demoted" to dev-only and integrated with the relevant MSW handlers

Note that MSW needs to be activated for the mocks to be introduced. Change the following environment variable in the env.local files:
VITE_FLAG_MOCK_SERVER=true

Some unit tests seem to fail due to not matching objects, I've added my approval so you can move forward after they are turned green.

Sorry miss clicked on the wrong button.

Some unit tests seem to fail due to not matching objects, I've added my approval so you can move forward after they are turned green.

Tests are failing due to rebasing on a branch that need another significant refactoring (I know)


[BUG] batching does not batch

Describe the bug
While configuring s3 parquet sink with batching, I find out that the sinks creates a separate file for each record.
To Reproduce
Steps to reproduce the behavior:

create a parquet/avro s3 sink with batching
send 2 messages
see that there are 2 parquet files on s3

Expected behavior
1 file parquet file containing 2 records
Proposed solution
from the code it seems that the batching is done wrong. we should batch 'plain' GenericRecords on the 'write' function, and later on the 'flush' function we should group records with by schema and partition path, change the 'Format.recordWriter' to take a list of records and only then send it to the blob store.
Side note:
In general a lot of sinks need some kind of windowing, is there any way to configure the window properties of pulsar function to work with pulsar sink? I think it could be useful to have another api for the sink that would get a collection of records rather than 1 record at a time. this way we do not need to reimplement batching for each sink
EDIT: is there a way to open PR with a fix?
@codelipenghui @jianyun8023

This is my design gone wrong and your expectations are right. This is an issue I will fix it next as soon as possible.
This is a connector when open source, everyone can submit pr to improve it.
Your participation is very welcome.


introduce Witness into Raft

Signed-off-by: qupeng<EMAIL_ADDRESS>

I'm reading code of dragonboat, and find a fun feature witness. Now I'm considering introduce it into our Raft to help some 5 replicas tolologies. PTAL @BusyJay @Hoverbear thanks!

PTAL @Fullstop000

PTAL @xiang90 @tbg

PTAL @lni

@hicqu Do you think you could fixup this PR? :)


Command Option to check buildtest configuration file

Currently, there is no way of checking buildtest configuration other than running some buildtest command and see if it fails.
The default configuration ~/.buildtest/default.yml could be checked if there is some command option, what i am thinking is an option in buildtest config --check which runs the schema check and gives a message if it passes. Currently buildtest config view and buildtest config edit work with configuration file in ~/.buildtest/.
Add this task as reminder, it makes sense during development of configuration to have ability to test configuration.

This probably has a dependency on #240 since one or more stages would be run to check it :)

For validation of the file itself, this is already done when it's used and loaded (it will fail on any interaction if invalid).

Issue resolved in #249


[Android] CameraRoll support for Videos and Photos showed in same time

Motivation
Right now you can choose to show Videos OR Photos.
This PR allows to show both in the same time.
Release Notes
[ANDROID][ENHANCEMENT] - Can show videos and photos from CameraRoll in the same time

What's the status of this PR?

I see that RN team only look for features that FB needs. Not what people need. So while they not need it there's no any status

Any news regarding this PR? It's been ages.

@bulats I'm using this package and works like a charm
https://github.com/pentarex/react-native-gallery-manager

@FacuAcosta Thank you! Can confirm that it works.

Hey there, I'm going through old PRs and noticed this PR has been flagged as lacking a test plan. @kesha-antonov do you plan on adding a test plan?


How to specify marketplace and other questions

Hello,
Thank you for making this helpful package. I would not have subscribed to Keepa API, if this package wasn't there. I am fairly new with the API and have a few questions - hope someone would be kind enough to help me.

In the following query how do I specify a marketplace of Canada (6). I thought ASINs were unique to a marketplace, but it seems like they are not (e.g.<PHONE_NUMBER>)

asins = np.asarray(['list of asins'])
products = api.query(asins)
products = api.query(asins, domain = 6) doesn't work.

What's the difference between 'csv' and 'data' in the product object? A lot of the data between the two seems to be the same.

Not all ASINS return enough data via the Keepa API. For example the actively listed starbucks product - B078HVQ311 in CA marketplace - currently returns very little data. However, the Keepa graph within the browser has data for 1069 days. Why is this the case? Not only does it not return enough data - it also returns incorrect data (e.g. the 'title' is not correct)

Thank you.

For 1.
# keepa/interface.py (lines 348-350)
domain : str, optional
    One of the following Amazon domains: RESERVED, US, GB, DE,
    FR, JP, CA, CN, IT, ES, IN, MX Defaults to US.

you can pass asins as regular list too

I don't know

I don't know (maybe related to domain ?)

Thank you. The following solves 1) and 3)
Aproduct = api.query('B078HVQ311', domain = 'CA')

Two years late answering this, but late is better than never...

What's the difference between 'csv' and 'data' in the product object? A lot of the data between the two seems to be the same.

The 'data' key is the processed raw csv results. When working with this library (ages ago), I found it helpful to have processed results. See:
https://github.com/akaszynski/keepa/blob/129f64a4735de8b5f75e4af4aee851bab3c6f373/keepa/interface.py#L185-L201


Android 12 Device LINE app-to-app login not working

Is it a security issue?
If you believe you have discovered a vulnerability or have an issue related to security, please send us a mail to<EMAIL_ADDRESS>instead of opening a public issue.
What did you do?

app-to-app login (LineLoginApi.getLoginIntent)

What did you expect?

The LINE app login flow starts, and the UI is exposed to the user to check the login consent.

What happened actually?

just error popup (korean: 오류 정상적으로 처리하지 못하였습니다.)

Your environment?

Android 12 device, targetSDKversion 30 app

Sample project

sorry. this is only company test app, and it cannot be leaked to the outside.

(+)
in Android 12 device, I tried to web log-in. However, the web-login API(getLoginIntentWithoutLineAppAuth) does not work.
this api is not working all device. (android 10, 11, 12)

Hi, @kjt0429
May I know which version of line-sdk do you use? Have you tried integrating with the latest version of it?

close due to no further information provided