Issue407 struct from files

Motivation:

Create config from Inkscape, load it to tofu via svg file

Main changes:

Config.from_svg() implemented

User defined in Inkscape

class of each struct (no fill => Ves, fill => PFC)
Name of each Struct (id)
Polygon using Bezier Curves and straight lines tool, they must be closed:

Adds a new dependence: svg.path for svg path parsing

Issue:

Fixes, in devel, issue #407

Example:
In [1]: import tofu as tf
/home/didier/Documents/Projects/tofu/tofu/__init__.py:92: UserWarning:
The following subpackages are not available:
	- tofu.imas2tofu
	- tofu.mag
  => see print(tofu.dsub[<subpackage>]) for details.
  warnings.warn(msg)

In [2]: conf = tf.geom.Config.from_svg('tofu/tests/tests01_geom/test_03_core_data/Inkscape.svg', Name='test', Exp='test', res=10)
The following structures were loaded:
	- Ves: vessel (65 pts, None)
	- PFC: limiter (5 pts, #0000ff)
	- PFC: pfcoil (5 pts, #ff0000)
from /home/didier/Documents/Projects/tofu/tofu/tests/tests01_geom/test_03_core_data/Inkscape.svg
/home/didier/Documents/Projects/tofu/tofu/geom/_core.py:481: UserWarning: Struct instance: double identical points in Poly
  => 1 points removed
  => Poly goes from 65 to 64 points
  warnings.warn(msg)
/home/didier/Documents/Projects/tofu/tofu/geom/_core.py:481: UserWarning: PFC instance: double identical points in Poly
  => 1 points removed
  => Poly goes from 5 to 4 points
  warnings.warn(msg)

In [3]: conf
Out[3]:
tot. Struct  tot. occur  tot. points
-----------  ----------  -----------
3            3           72

class  Name     SaveName                                                         nP  noccur  move  color                     visible
-----  -------  ---------------------------------------------------------------  --  ------  ----  ------------------------  -------
Ves    vessel   TFG_Ves_Exptest_vessel_sh00000_Vers1.4.10-alpha9-280-g3fdd0810   64  0       None  ( 0.0,  0.0,  0.0,  1.0)  True
PFC    limiter  TFG_PFC_Exptest_limiter_sh00000_Vers1.4.10-alpha9-280-g3fdd0810  4   0       None  ( 0.0,  0.0,  1.0,  1.0)  True
PFC    pfcoil   TFG_PFC_Exptest_pfcoil_sh00000_Vers1.4.10-alpha9-280-g3fdd0810   4   0       None  ( 1.0,  0.0,  0.0,  1.0)  True

Hello @Didou09! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file tofu/geom/_core.py:

Line 3903:80: E501 line too long (81 > 79 characters)

Adds a new dependence: svg.path for svg path parsing

so it should probably be added to the setup.py right?

so it should probably be added to the setup.py right?

Yes and no....
It is a dependency that is needed only for this particular method, and I don't want the installation to fail just because the user does not have access to this particular dependency,
But I am not sure we define optional dependencies.
As a temporary solution I implemented an explicit error message that explains to the user this particular method needs this dependency and he should install it to use the method.
What do you think ?

First of all, this is amazing! Congrats.
I tried it rn but it looks like it is reversed

I am using Inkscape 1.1 (exact number: Inkscape 1.1 (ce6663b3b7, 2021-05-25)). I read in the code that you wrote:

    # reverse because for some reason the parser inverses y

but I don't think you actually reverse y or maybe you do and shouldn't?
I will add the library to the setup and would suggest adding a how to to the doc?

Thanks !
No, I don't reverse it because I don't know yet why y gets reversed
I opened a ticket on the repo of the svg parser used to ask the author if he knows what this is due to, I'm waiting for his answer before choosing the adequate solution.
OK for the howto, excellent idea,
For adding the library to the setup.py (and maybe to the requirements.txt and to the conda_recipe/meta.yaml and the pyproject.toml?) ok too, but make sure it doesn't block the deployment in case of issue with this dependency (I had an issue during my firs

I would suggest to add it to the setup as a dev dependency in the extras_require so it will only be installed if you install tofu as a dev. And then it depends if you are going to add a unit test? If so, I would probably have to add it to the conda recipe as well.

I would suggest to add it to the setup as a dev dependency in the extras_require so it will only be installed if you install tofu as a dev. And then it depends if you are going to add a unit test? If so, I would probably have to add it to the conda recipe as well.

Yes, goog idea to include it for dev only as a first step.
I've started implementing a unit test, but it is deactivated until I understand why the y coordinates get reversed and until we understand how to make sure it does not break deployment.
If you can take care of the dependency issue that would be great, yiou can work directly on this branch since I will touch it only for the y reversal pb. So if you could:

Include it as dependency for dev only first
run tests in GA and Travis
Try adding it as a full dependency
run tests in GA and travis and see if all goes welll (there might be a pb here)
Thanks !

I created a PR #512 with it as a dev requirement, no need to do it as a main dependency since I think as you say it is a small feature not needed for everybody nor all the time. From what I have read online this is the way to go. I created a PR from my forked version so the GA and travis will be tested.

Looks like you got an answer (https://github.com/regebro/svg.path/issues/76#issuecomment-868468396). If you flip the y axis and merge my PR, I would add tuto in the doc (maybe a small video will be nice?), this would include:

creation of vessel
creation of structures
changing path properties to set names
creating, loading and plotting configurations with tofu

would you like to add something?

Correction done,
I've also added an optional z0 argument so the user can choose where to place the z origin:
In [2]: conf = tf.geom.Config.from_svg('tofu/tests/tests01_geom/test_03_core_data/Inkscape.svg', Name='test', Exp='test', res=10, z0=-150)
The following structures were loaded:
	- Ves: vessel (65 pts, None)
	- PFC: limiter (5 pts, #0000ff)
	- PFC: pfcoil (5 pts, #ff0000)
from /home/didier/Documents/Projects/tofu/tofu/tests/tests01_geom/test_03_core_data/Inkscape.svg
/home/didier/Documents/Projects/tofu/tofu/geom/_core.py:481: UserWarning: Struct instance: double identical points in Poly
  => 1 points removed
  => Poly goes from 65 to 64 points
  warnings.warn(msg)
/home/didier/Documents/Projects/tofu/tofu/geom/_core.py:481: UserWarning: PFC instance: double identical points in Poly
  => 1 points removed
  => Poly goes from 5 to 4 points
  warnings.warn(msg)

In [3]: conf.plot()

Looks like you got an answer (regebro/svg.path#76 (comment)). If you flip the y axis and merge my PR, I would add tuto in the doc (maybe a small video will be nice?), this would include:
* creation of vessel

* creation of structures

* changing path properties to set names

* creating, loading and plotting configurations with tofu

would you like to add something?

That would be perfect thanks !
Now that everything seems to be set, can I let you deal with the merging and both PR and with the doc? I have a meeting started in 30 s :-)


Merge release v0.1.0 from develop to master

This PR contains the v0.1.0 release from the develop branch. The release has been tested with the RC0 and RC1 release candidates built from the develop branch.

Please remove the pubspec.lock file.

Why? The Dart dev guidance does not recommend removing it for applications (https://dart.dev/guides/libraries/private-files#pubspeclock):

For application packages, we recommend that you commit the pubspec.lock file. Versioning the pubspec.lock file ensures changes to transitive dependencies are explicit. Each time the dependencies change due to dart pub upgrade or a change in pubspec.yaml the difference will be apparent in the lock file.

In any case this is not a blocker for the 0.1.0 release.

Thank for the link. I didn't know it actually served anything other than an automatically generated file.


History Tab Overhaul & Domain Record Modifications Changelog

This PR is a continuation of the raised issue #1025.
We have created a wiki page providing full documentation on the proposed feature.
This PR also addresses issue #872, by adding a zone-specific changelog.
Note that the Domain Changelog does not contain Reverse records that were created automatically with the auto_ptr setting enabled, because they do not produce a history log, as stated in issue #1041.

Amazing job you guys did here with the history overhaul!
Because of the amount of changes you introduce I would like the hear from the community their thought of these changes to make sure it compatible with their setup and needs.
I will test feature in the coming weekend but until then I got few points regarding this.

Look into lgtm alerts and fix them if possible
I saw that you added jqurey-ui in base.html. please add this in offline mode as well (in order to work without internet access)
Why you changed the Line in custom.js and commented out javascript function in user_profile.html ?

Thanks for you contribution!

@RGanor A slight mishap occured and we linked you the wrong email address. Please contact us at<EMAIL_ADDRESS>instead in case you need anything. We are terribly sorry for the inconvenience.

Hi @kkmanos,
thank you guys for this great work! I've yet to try out the advanced history feature, it'll come in very handy for sure.
One question on fb01274, why has powerdnsadmin/static/assets/jquery-ui-smooth-datepicker/ been committed - shouldn't that be generated via $ flask assets build?

Hello @zoeller-freinet ,
We removed jquery-ui smoothness library for the datepicker. Bootstrap datepicker will now be used for the datepicker functionality. This change has been commited in a new PR #1059.
Thanks for the feedback.

@kkmanos do you happen to still have detailed memories of this work? I'm trying to figure out exactly what lead to merging in very broken HTML markup that I tracked back to this PR. It seems the original design used a very typical table but during this overhaul, the table was more or less stripped out in favor of tabs but much of the markup from the table was retained with a completely broken syntax.

After taking a quick look at the file changes, we utilized macros to separate components of the template into more compact templates which were re-used, resulting in a cleaner and modular code.
Aside from that, I am not able to recall any details from the changes which were made.

@kkmanos duly noted, thank you for the fast response!


Feature Request: Extract ThreatStream "Source" Field to SPI Data

Allow querying of threatstream "source" field from SPI data.
Current Extracted Fields:

Confidence
Confidence Cnt
Id
Id Cnt
Malware Type
Malware Type Cnt
Severity
Severity Cnt
Type
Type Cnt

Add Field

"Source"

added in 6ecbfcf0e7570b74af22b5d47b79296e6f1ee95c

thanks!


 If I destroy them one after the other with helmfile -l name=$release destroy I see no errors.
I suspect something is conflicting because of the attempted concurrency, and therefor I would like the destroy command to also honour --concurrency=1.

@Morriz Hey! Mind sharing the error message you saw?

Yeah, this is what I get (not revealing anything):
err: release "ingress" failed: helm exited with status 143:
  /Users/Morriz/.helm/plugins/helm-tiller/scripts/tiller.sh: line 114: 88849 Terminated: 15          [[ "${HELM_TILLER_SILENT}" == "false" ]]
  Error: plugin "tiller" exited with error
err: release "external-dns" failed: helm exited with status 143:
  Error: transport is closing
  /Users/Morriz/.helm/plugins/helm-tiller/scripts/tiller.sh: line 128: 88799 Terminated: 15          ./bin/tiller --storage=secret --listen=<IP_ADDRESS>:${HELM_TILLER_PORT}  (wd: ~/.helm/plugins/helm-tiller)
  /Users/Morriz/.helm/plugins/helm-tiller/scripts/tiller.sh: line 114: 88851 Terminated: 15          [[ "${HELM_TILLER_SILENT}" == "false" ]]
  Error: plugin "tiller" exited with error
err: release "ingress-merge" failed: helm exited with status 1:
  Error: transport is closing
  Error: plugin "tiller" exited with error
changing working directory back to "/Users/Morriz/Documents/Workspace/essent/k8s-stacks"
in helmfile.d/helmfile-ingress.yaml: 3 errors:
err 0: release "ingress" failed: helm exited with status 143:
  /Users/Morriz/.helm/plugins/helm-tiller/scripts/tiller.sh: line 114: 88849 Terminated: 15          [[ "${HELM_TILLER_SILENT}" == "false" ]]
  Error: plugin "tiller" exited with error
err 1: release "external-dns" failed: helm exited with status 143:
  Error: transport is closing
  /Users/Morriz/.helm/plugins/helm-tiller/scripts/tiller.sh: line 128: 88799 Terminated: 15          ./bin/tiller --storage=secret --listen=<IP_ADDRESS>:${HELM_TILLER_PORT}  (wd: ~/.helm/plugins/helm-tiller)
  /Users/Morriz/.helm/plugins/helm-tiller/scripts/tiller.sh: line 114: 88851 Terminated: 15          [[ "${HELM_TILLER_SILENT}" == "false" ]]
  Error: plugin "tiller" exited with error
err 2: release "ingress-merge" failed: helm exited with status 1:
  Error: transport is closing
  Error: plugin "tiller" exited with error

I don't see what is going wrong in the tiller-plugin on that line 114 or 128

Yeah, it seems the plugin tries to stop the local tiller but others processes are using it of course.

so please add --concurrency flag ;)

@Morriz Ah, that seems like the current restriction of the helm-tiller integration #449
Tiller needs two or three ports to bind, grpc, metrics, and optionally trace ports. The error seems to be due to that grpc and metrics ports are conflicting across tiller instances. So yes, the shortterm solution would be to add --concurrency :) Ok

tnx....it would be nicer if the plugin would allow for concurrency...I will create a request for that

@Morriz Please try #691!

I would love to, but where can I find the master binary?

Just grab the latest binary from github releases.

0.77 works great now...mega tnx for the quick update!

Glad to help! Thanks for your confirmation


Normalize the sheet name to fix behavior regression between 2.6.0 & 2.6.1

PR Details
Description
normalize the sheet name as is done elsewhere in the code:
sheet = trimSheetName(sheet)
Related Issue
Closes #1365
Motivation and Context
Fixing a behavior regression between 2.6.0 and 2.6.1
How Has This Been Tested
This simple code verifies that it fixes the issue.
package main

import (
	"fmt"

	"github.com/xuri/excelize/v2"
)

func main() {
	spreadsheet := excelize.NewFile()
	defer spreadsheet.Close()

	sheet := "My Sheet: 1"
	spreadsheet.NewSheet(sheet)

	row := []interface{}{"A1", "B1"}

	if err := spreadsheet.SetSheetRow(sheet, "A1", &row); err != nil {
		fmt.Println(err)
	}

	if err := spreadsheet.SaveAs("mytest.xlsx"); err != nil {
		fmt.Println(err)
	}
}

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[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 change)

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Codecov Report

Merging #1366 (eec38e8) into master (53a4955) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1366   +/-   ##
=======================================
  Coverage   98.44%   98.44%
=======================================
  Files          31       31
  Lines       23434    23435    +1
=======================================
+ Hits        23070    23071    +1
  Misses        242      242
  Partials      122      122

Flag
Coverage Δ

unittests
98.44% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

sheet.go
100.00% <100.00%> (ø)

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


Tilemap clipping option on openGL renderer

The commit here https://github.com/openfl/openfl/commit/f2b64368ad313396226398d21f72bf0c52468ad2
appears to clip a tilemap to it's bounds. Before this commit I was enjoying the flexibility of moving tiles out of bounds or into negative coordinates if needed.
Would it be possible to have an option like tilemap.clipping = false to be able to place tiles out of bounds?
Is there any kind of performance drawback or bugs that can occur without the clipping mask in place?

Tilemap is intended (right now) to clip on its bounds. On software targets (Flash, Cairo or canvas) it has to allocate a software surface based on the width/height. If we have no clipping, then these targets have to measure the tile contents and resize accordingly, which may really hurt performance.
Right now, the recommended way to "disable" clipping would be to use the full stage width/height for your tilemap dimensions. Happy to discuss on the forums, though, if we want to think of something else


Update using-webhooks-with-github-apps.md to replace offline "Smee"

DISCLAIMER: I'm Hookdeck co-founder and this specific documentation page was brought to my attention by a user using Hookdeck for their Github webhooks on 3 different apps.
Why:
Smee.io seems no longer operational and the domain can no longer be reached leading to broken links. Hookdeck Console & CLI is an alternative to Smee that doesn't require authentication or payments.
This specific piece of documentation was shared with me by a user who proposed that I open this PR so that other developers would be guided toward a working solution.
Closes:  N/A, should I open an issue for the "broken" link?

What's being changed (if available, include any code snippets, screenshots, or gifs):
The "Smee" tool referral was changed to "Hookdeck" tool as a maintained replacement for Smee functionality (preview webhooks, localhost forwarding).
Hookdeck has a "development" tool and a "production" tool. The former is being proposed as an alternative to Smee. You can evaluate it at the link provided in the documentation: https://console.hookdeck.com. It does not require an account or payment. The latter is both a free and paid product for production use cases. I included a reference to it as well since other products such as Azure Functions and AWS Lambda are mentioned. I'll let you judge if that's appropriate for these docs but Hookdeck is used in production by multiple Github apps.

For reference here's the Hookdeck CLI Repo https://github.com/hookdeck/hookdeck-cli
Check off the following:

[x] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Bumping for the stale label. Hoping a maintainer will have a look! :)

Thanks for the update @cmwilson21. No worries at all. Let me know if there's any way I can help.

Thanks for opening this issue @alexbouchardd ! Can you clarify more what you mean by "Smee.io seems no longer operational and the domain can no longer be reached leading to broken links"? https://smee.io/ loads for me currently.

@skedwards88 Oh! The DNS wasn't resolving for multiple hours/days while I worked on this PR, and the user reported the issue. The GitHub repo also didn't seem very active, so I assumed it was taken offline for good.
I'll let you decide if the Console is a better solution, is any case happy to edit or close that PR based on your opinion on that front. Do you think the Console would provide value to Github users & documentation readers?

No worries! I figured it was something like that. My main concern about changing from smee to hookdeck in this article is that we use smee throughout the docs. For user simplicity, it is probably good to stay consistent. What do you think of keeping this article focused on smee but instead listing hookdeck as an alternative, like we do for ngrok?

@skedwards88 Sounds totally reasonable to me! Should I propose a new edit or will you tackle it?

A new edit from you would be perfect 🙇 Feel free to modify this PR or close it and open a fresh PR. Thanks for your flexibility!

Awesome, thanks @skedwards88!

DISCLAIMER: I'm Hookdeck co-founder and this specific documentation page was brought to my attention by a user using Hookdeck for their Github webhooks on 3 different apps.
Why:
Smee.io seems no longer operational and the domain can no longer be reached leading to broken links. Hookdeck Console & CLI is an alternative to Smee that doesn't require authentication or payments.
This specific piece of documentation was shared with me by a user who proposed that I open this PR so that other developers would be guided toward a working solution.
Closes: N/A, should I open an issue for the "broken" link?
What's being changed (if available, include any code snippets, screenshots, or gifs):
The "Smee" tool referral was changed to "Hookdeck" tool as a maintained replacement for Smee functionality (preview webhooks, localhost forwarding).
Hookdeck has a "development" tool and a "production" tool. The former is being proposed as an alternative to Smee. You can evaluate it at the link provided in the documentation: https://console.hookdeck.com. It does not require an account or payment. The latter is both a free and paid product for production use cases. I included a reference to it as well since other products such as Azure Functions and AWS Lambda are mentioned. I'll let you judge if that's appropriate for these docs but Hookdeck is used in production by multiple Github apps.
For reference here's the Hookdeck CLI Repo https://github.com/hookdeck/hookdeck-cli
Check off the following:

[x]  I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[x]  For content changes, I have completed the self-review checklist.

Ok


Async eval callback

Here's an example of a finetuning run that I've split icl light eval async:

Check out the run yaml by describing the run: meow-dVKYjP
And then subsequent eval run yamls: eval0-meow-W8dG0M
Wandb: https://wandb.ai/mosaic-ml/llm-foundry-scripts_train/runs/lgrecstd/overview?workspace=user-aspfohl

Example of latest successful runs (trivial 1b ex - async every ba, trains for 3ba)
mpt-1b-demo-d2tV6B
eval-2ba-mpt-1b-demo-tYzJlk (Actually batch 1)
eval-3ba-mpt-1b-demo-N83r5n (Actually batch 2)
eval-final-mpt-1b-demo-m2Pf1K (Batch 3 - latest/final)
Messed up the experiment tracker config so rerunning now once there's compute availability..


-Wa,--noexecstack is not supported by the Mac toolchain when targeting Android.

@kf6gpe: Please update the Mac toolchain before adding the flag. This flag was added in https://github.com/flutter/buildroot/pull/177 and is now causing the Mac bots to fail as they try to build any Android targets. The buildroot is being patched to remove this flag till the toolchain rolls forward.

Will do -- thanks for catching this! I'll work with the team to update the bots, and we can reapply the patch. Thanks for catching this!

Is this still a valid issue? I'm not sure how to confirm that this was solved already.

Is this still a valid issue?

No.

I'm not sure how to confirm that this was solved already.

The flag is now added conditionally in the buildroot.


[Kosmos-2] Batch Inferencing and Computation Requirement

Hi, just tried out Kosmos-2's demo, and found it super impressive!
I wonder if there's a way to run batch inferencing with Kosmos-2? For example, captioning a large corpus of images.
Also wonder what's the computing requirement for inferencing (# of GPUs, RAM),  and is it possible to run it with CPU?
Thanks!
### Tasks

Thanks, I will update it today. @bwang514

See this P&R.


onPress event not getting triggered in Android

Hi,
I am using the latest version with Expo
"react-native-draggable-flatlist": "^2.3.6",
"react-native-gesture-handler": "~1.6.0",
"react-native-reanimated": "~1.9.0",

Repro:
I simply copy-pasted the Example code and tried to log the onPress event of TouchableOpacity item. When the item is pressed, onPress fires in iOS but not in Android. onLongPress, onPressIn and onPressOut works in both.

strange, that was an issue pre-2.3.0 (https://github.com/computerjazz/react-native-draggable-flatlist/releases/tag/v2.3.0), but I haven't seen it since. I just tested via a snack and onPress works:
https://snack.expo.io/@computerjazz/da7cf6

Thanks for the response. Expo client on the Android device did not properly refresh from the old version (2.2.0), which I was testing before.


add slide for akashdhal35 user

this is the first pull request. i have already,added this branch and push it.

testing


Put resulting data from more_data into memory

@MiguelAngelRG suggested that to solve issues with low image quantity, that we produce new data. This is quite a normal with CNNs, as they can't tell the difference with data that has slightly been rotated.
I have implemented this in 91e4f2beba79d18e58274ffaa82cfcbedff9a28a, but as you can see it only writes the transformed files to the disk.
I believe that it would be ideal to have this done in memory on runtime.

Hi Keiron,
Have you taken a look to the (Python Image Library)
http://effbot.org/imagingbook/introduction.htm
http://www.google.com/url?q=https://docs.python.org/2/c-api/string.html&sa=U&ved=0CC4QFjADahUKEwj2reP1qLDHAhWCvRoKHRF7AfU&sig2=Hd9SLMo3aFaD7W8XEVt6HQ&usg=AFQjCNGIQQ0KByVEj3TOE3D1ZRgjYnxX3g
http://simplecv-examples.readthedocs.org/en/latest/examples/basics.html
I am wondering if you would like a string in order to save all bytes from
the picture.
Kind regars.
Miguel Angel.
On 17 August 2015 at 02:34, KeironO<EMAIL_ADDRESS>wrote:

@MiguelAngelRG https://github.com/MiguelAngelRG suggested that to solve
issues with low image quantity, that we produce new data. This is quite a
normal with CNNs, as they can't tell the difference with data that has
slightly been rotated.
I have implemented this in 91e4f2b
https://github.com/KeironO/Pyvec/commit/91e4f2beba79d18e58274ffaa82cfcbedff9a28a,
but as you can see it writes the files to the disk.
I believe that it would be ideal to have this done in memory on runtime.
—
Reply to this email directly or view it on GitHub
https://github.com/KeironO/Pyvec/issues/3.

Hi Miguel,
I have used PIL throughout the project, it's just I'm not entirely sure how I can get it to function with our currently existing codebase!
Thanks,
K.

Hi Keiron,
After having the conversation with you I was thinking that you just have
different ways to do that, as I suppose that you know:

Classes: https://docs.python.org/2/tutorial/classes.html
Byte arrays:
http://stackoverflow.com/questions/855191/how-big-can-a-python-array-get
(here you can see the maximum size that you could use in order to create an
array). Here you have the libraries
https://docs.python.org/2/library/array.html
External libraries like Python Image Library but If you want to create a
"standard" version of PyVec you should use the other solutions.

What do you think ?..
Kind regards,
Miguel Angel.
On 17 August 2015 at 19:14, KeironO<EMAIL_ADDRESS>wrote:

Hi Miguel,
I have used PIL throughout the project, it's just I'm not entirely sure
how I can get it to function with our currently existing codebase!
Thanks,
K.
—
Reply to this email directly or view it on GitHub
https://github.com/KeironO/Pyvec/issues/3#issuecomment-131876095.

And how can I load this in a similar way to the way I am currently loading data?

I have take a look of your code and I do not understand why do you want to
rotate the image?
And the other thing that I do not understand is do you want to put 5000
images on memory in order to
do no create a intermediate files (temp files)?  This is the goal that you
want to achieve ?
On 17 August 2015 at 19:55, KeironO<EMAIL_ADDRESS>wrote:

And how can I load this in a similar way to the way I am currently loading
data?
—
Reply to this email directly or view it on GitHub
https://github.com/KeironO/Pyvec/issues/3#issuecomment-131888244.

Upon consideration, we no longer require this.


Added missing WhatsApp color

WhatsApp color was missing in the social color constants, added it :-)
Checklist

[x] I checked the Contributing Guidelines before creating this request.
[x] New extensions are written in Swift 4.
[x] New extensions support iOS 8.0+ / tvOS 9.0+ / macOS 10.10+ / watchOS 2.0+.
[x] I have added tests for new extensions, and they passed.
[x] All extensions have a clear comments explaining their functionality, all parameters and return type in English.
[x] All extensions are declared as public.
[x] I have added a changelog entry describing my changes.

          1 Warning

:warning:
Consider adding tests for new extensions or updating existing tests for a modified SwifterSwift extension

          4 Messages

:book:
Thank you for submitting a pull request to SwifterSwift. The team will review your submission as soon as possible.

:book:
iOS: Executed 526 tests, with 0 failures (0 unexpected) in 10.059 (12.625) seconds

:book:
tvOS: Executed 495 tests, with 0 failures (0 unexpected) in 3.431 (4.087) seconds

:book:
macOS: Executed 360 tests, with 0 failures (0 unexpected) in 1.038 (1.341) seconds

  Generated by :no_entry_sign: Danger


Support for fine-tuned OpenAI models

It's currently non-trivial to add a new model to the "Model Version" dropdown in the model settings.
Adding a new value to the enum property in ChatGPTSettings, followed by adding a new entry to the NativeLLM enum and then rebuilding the frontend, is not sufficient. I'd like to add a new gpt-3.5-turbo-instruct model and a custom fine-tuned one.
What are the steps?

There’s already a feature for this on our docs called custom providers: https://chainforge.ai/docs/custom_providers/

Per the instruct point though, I do think I need to add that in a new update. OpenAI changes things so fast can’t keep up to date —that’s why custom providers exists, for edge cases like these. I’m currently resting on a semi-vacation after a tumultuous deadline, but will return next week.

Hi! Thank you for a great tool.
Just want to report that new OpenAI models are not working right now in https://chainforge.ai/play/.
I can choose them but got an error on run:
gpt-4-1106-preview: "Language model gpt-4-1106-preview is not supported.
gpt-3.5-turbo-1106: "Language model gpt-3.5-turbo-1106 is not supported."
It would be great to fix it :)

Thank you for alerting me to this. Fixing now.

The problem is fixed. New versions are on /play and pushed to PyPI.

I am keeping this open to prioritize adding support for fine-tuned OpenAI model endpoints, natively in the settings window.


changing worker pool requires restart?

I'm working on getting an autoscaling group up and running with drone. Right now I'm able to bring up a new instance and add the workers via the drone cli (drone node create). I then remove all the unix:///var/run/docker.sock workers so I only have the remote worker available. When I attempt to rebuild an existing build, drone seems to try to assign it to the local socket (without success).
Once I restart the drone container (via docker restart drone), and attempt to rebuild the existing build it assigns to the remote worker properly.
Similarly when I re-add the local socket and remove all the remote workers and attempt a restart I need to go through the same path.
This seems like the pool is allocated statically at startup but the workers themselves are checked at runtime?

There is a known issue that removing nodes from a queue requires a restart, because they remain on the Go channel. Adding nodes to the queue does not require a restart. This is covered in #1386 which is replacing the current queue mechanism in 0.5 (next release).


result.get_counts() gives same output for different circuits

Information

Qiskit Terra version: 0.8.1
Python version: 3.6.8
Operating system: Windows 10

What is the current behavior?
want to transpile the same circuits over different initial layouts, and combine all the circuits into one assemble and run.
problem: same circuits on different layout gives same answer in result.get_counts()
Steps to reproduce the problem
my circuits:
backend = hedwig
cnots = [[1,0],[2,1]]
rounds = 2048

qmax = 3
sweep1 = np.linspace(0, 2*np.pi, 2*qmax, endpoint=False)
loops = [1,3,5,7,9,11]

q = QuantumRegister(2)
c = ClassicalRegister(2)

mqc_circuits = []
for k in loops:
    for ang in sweep1:
        mqc = QuantumCircuit(q,c)
        mqc.h(q[0])
        for j in range(k):
            mqc.cx(q[0],q[1])
            mqc.barrier(q)
        mqc.u1(ang,q)
        for j in range(k):
            mqc.cx(q[0],q[1])
            mqc.barrier(q)
        mqc.h(q[0])
        mqc.barrier(q)
        mqc.measure(q[0],c[0])
        mqc_circuits.append(mqc)

transpile_list = []
for bond in cnots:
    pair_transpile = qiskit.compiler.transpile(mqc_circuits, backend=backend, coupling_map=cmap, initial_layout=bond)
    transpile_list.extend(pair_transpile)
pair_compile = qiskit.compiler.assemble(transpile_list, shots=rounds)
pair_job = backend.run(pair_compile)

pair_result = pair_job.result()

pair_result.get_counts(transpile_list[0])
{'01': 65, '00': 1983}
pair_result.get_counts(transpile_list[36])
{'01': 65, '00': 1983}

What is the expected behavior?
they should give different results since they are different experiments
Suggested solutions
maybe I am doing something wrong, not familiar with transpile.

What are you expecting the results to be? I tried running your experiment on the unitary simulator, and both circuits give the same unitary matrix, and so it is expected that their results are the same.
If the initial layout you have provided isn't compatible with the coupling map, then it will be changed. Also the transpiler may also permute the layout during its processing. If you would like to have more control over what the transpiler is doing, you can use a PassManager, there is a tutorial about it here

This is also possibly related to #2503

Hi, I also include the device coupling map, which is compatible with the initial layout
cmap = backend.configuration().coupling_map

the circuit is the same but is acting on different pairs of physical qubits, so the results should be different. Also the transpiled circuits look different
transpile_list[0]

transpile_list[36]

but they have the same name, is this intended?
transpile_list[0].name
'circuit5377'

transpile_list[36].name
'circuit5377'

In those images the circuits both measure a qubit that has had the same operations applied to it into a register of the same size, so it makes sense that their output is the same.
I don't think that the names should collide, but I don't run into that issue when I run your code, all my circuit names are unique. Is this something that has happened multiple times?

I am using the circuit as a way to test the physical 2q gates between different pairs on the device. Since the gate fidelities are not the same, they should not give identical answers.
the circuit names are repeated after every 36 elements
[circuit.name for circuit in transpile_list]
['circuit5377',
 'circuit5378',
 'circuit5379',
 'circuit5380',
 'circuit5381',
 'circuit5382',
 'circuit5383',
 'circuit5384',
 'circuit5385',
 'circuit5386',
 'circuit5387',
 'circuit5388',
 'circuit5389',
 'circuit5390',
 'circuit5391',
 'circuit5392',
 'circuit5393',
 'circuit5394',
 'circuit5395',
 'circuit5396',
 'circuit5397',
 'circuit5398',
 'circuit5399',
 'circuit5400',
 'circuit5401',
 'circuit5402',
 'circuit5403',
 'circuit5404',
 'circuit5405',
 'circuit5406',
 'circuit5407',
 'circuit5408',
 'circuit5409',
 'circuit5410',
 'circuit5411',
 'circuit5412',
 'circuit5377',
 'circuit5378',
 'circuit5379',
 'circuit5380',
 'circuit5381',
 'circuit5382',
 'circuit5383',
 'circuit5384',
 'circuit5385',
 'circuit5386',
 'circuit5387',
 'circuit5388',
 'circuit5389',
 'circuit5390',
 'circuit5391',
 'circuit5392',
 'circuit5393',
 'circuit5394',
 'circuit5395',
 'circuit5396',
 'circuit5397',
 'circuit5398',
 'circuit5399',
 'circuit5400',
 'circuit5401',
 'circuit5402',
 'circuit5403',
 'circuit5404',
 'circuit5405',
 'circuit5406',
 'circuit5407',
 'circuit5408',
 'circuit5409',
 'circuit5410',
 'circuit5411',
 'circuit5412']

The fact you are seeing the same result is due to the circuit names colliding. You are generating 36 circuits in mqc_circuits, and then for each you are generating two circuits with identical names (pair_transpile) and executing them.
When you do
pair_result.get_counts(transpile_list[0]) and pair_result.get_counts(transpile_list[36]) it looks up the circuits by name in the result datastructure returned from backend, so it collides.
So this isn't a bug. You should do either of these:
1- look up by index:
pair_result.get_counts(0) and pair_result.get_counts(36)
2- assign unique names to your experiment circuits  by modifying circuit.name


Support ReScript v11

Tracking ReScript v11 syntax changes:

[x] Extensible records (e.g. type t = {...t1, x:int, ...t2} https://github.com/rescript-lang/rescript-compiler/issues/5659
[x] Partial application of uncurried functions: foo(1, ...) https://github.com/rescript-lang/rescript-compiler/pull/6166
[x] Dynamic Import module M = await Belt.Array https://github.com/rescript-lang/rescript-compiler/pull/5703
[ ] Variant type spreads type bb = | ...aa | Three | Four https://github.com/rescript-lang/rescript-compiler/pull/6316

Some notes:

assert is parsed as a regular function https://github.com/rescript-lang/rescript-compiler/pull/6180
Exponentiation operator ** is now right-associative.

What about tagged template literals?


Template fallback checks if template cannot be found post install

fixes: https://github.com/firebase/extensions/issues/209

Codecov Report

Merging #712 (e60d714) into next (2509537) will decrease coverage by 0.27%.
The diff coverage is 16.67%.

@@            Coverage Diff             @@
##             next     #712      +/-   ##
==========================================
- Coverage   50.65%   50.38%   -0.26%
==========================================
  Files          30       30
  Lines        1313     1324      +11
  Branches      188      194       +6
==========================================
+ Hits          665      667       +2
- Misses        647      656       +9
  Partials        1        1

Impacted Files
Coverage Δ

firestore-send-email/functions/src/templates.ts
10.96% <0.00%> (-1.16%)
:arrow_down:

firestore-send-email/functions/src/logs.ts
54.29% <50.00%> (-0.55%)
:arrow_down:


SomfyDevice not responding

Hi,
I have two Somfy IO roller shutters and one awning. These devices are controlled by the TaHoma Service using the TaHome Box. In ha-bridge I get the correct device-listing after setting up the account-credentials.
After setting up the devices and testing I get the "green success layer" but nothing happens.
In the logfile I get "HTTP response code was not an expected successful response of between 200 - 299, the code was: HTTP/1.1 400 Bad Request" from com.bwssystems.HABridge.plugins.http.HTTPHandler.
Any advice for me?

I don't have a Somfy so I will put this out there for others.

Maybe this helps, here are the headers of a request to close a roller shutters (some IDs are manually obfuscated):
Request URL:https://www.tahomalink.com/enduser-mobile-web/enduserAPI//exec/current/6cf26ea3-ac10-0c01-58eb-97XXXXXXXXX?_=XxXx90887967 Request Method:GET Status Code:200 OK Remote Address:<IP_ADDRESS>:443 Referrer Policy:no-referrer-when-downgrade Response Headers view source Cache-Control:no-store, must-revalidate, no-cache, max-age=0 Connection:Keep-Alive Content-Type:application/json;charset=UTF-8 Date:Fri, 14 Apr 2017 14:51:19 GMT Expires:Mon, 01 Jan 1990 00:00:00 GMT Keep-Alive:timeout=5, max=4 Server:Apache Strict-Transport-Security:max-age=31536000; includeSubDomains Transfer-Encoding:chunked Request Headers view parsed GET /enduser-mobile-web/enduserAPI//exec/current/6cf26ea3-ac10-xXxXxXxXx-97ea3a5e4314?_=1491990887967 HTTP/1.1 Host: www.tahomalink.com Connection: keep-alive Accept: */* X-Requested-With: XMLHttpRequest User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36 DNT: 1 Referer: https://www.tahomalink.com/enduser-mobile-web/steer-html5-client/tahoma/ Accept-Encoding: gzip, deflate, sdch, br Accept-Language: de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4 Cookie: JSESSIONID=E9548C6C31B84342AXxXxXXxXxEAB5D92C Query String Parameters  (1) Name
Request:
{startTime:<PHONE_NUMBER>077, owner: "fu@bar.com",…} actionGroup : {label: "Fenster WZ - Schließen - TaHoma PC", shortcut: false, notificationTypeMask: 0,…} actions : [{deviceURL: "io://0203-xXxXx-8060/32xXx38", commands: [{type: 1, name: "close", parameters: []}]}] 0 : {deviceURL: "io://0203-xXxX-8060/325xXx8", commands: [{type: 1, name: "close", parameters: []}]} label : "Fenster WZ - Schließen - TaHoma PC" notificationCondition : "NEVER" notificationTypeMask : 0 shortcut : false executionSubType : "MANUAL_CONTROL" executionType : "Immediate execution" id : "6cf26ea3-ac10-0c01-xXxX-97exXxXxe4314" owner<EMAIL_ADDRESS>startTime :<PHONE_NUMBER>077 state : "TRANSMITTED"
Response:
{"startTime":1492181479077,"owner":"fu@bar.com","actionGroup":{"label":"Fenster WZ - Schließen - TaHoma PC","shortcut":false,"notificationTypeMask":0,"notificationCondition":"NEVER","actions":[{"deviceURL":"io://0203-xXxXx-8060/325xXxXx8","commands":[{"type":1,"name":"close","parameters":[]}]}]},"id":"6cf26ea3-xXxXx-0c01-xXxXx-97ea3a5e4314","state":"TRANSMITTED","executionType":"Immediate execution","executionSubType":"MANUAL_CONTROL"}

Did you get it to work? So can you control your roller shutter with ha-bridge?
I am also trying to get it worked, but it seems I'm still missing some information. Ha bridge has connected with TaHoma and gathered information, but I don't know what to configure to be Abe to control e.g. shutters
Some guideline would be highly appreciated :-)

Sadly not... but i'm not a developer, it may be an easy taks but unfortunately the somfy system seems not to be very popular.

Hey c0zm0,
A friend of mine (using Somfy io devices like you) tested ha-bridge yesterday and he did not change anything, only connected to tahoma, then added bridge device. He can control his roller shutters.
I have rts shutters and using the same version etc, but it is not working for me....
I thought maybe there is some port not configured or so...
Really strange...

Hi,
meanwhile it is running on my RTS shutters. The "trick" was to hold the test button 1sec longer, then the shutter moved finally.

Hi,
is there any update in this thread - any help would be very much appreciated.
I am facing the same issue - having 3 Somfy motors (with external shades), which have been successfully recognized by HA Bridge (with right aliases, device IDs, etc.). The problem seems to be the JSON API compatibility ... when tracing the log, the first API call, which is login, is successful, but the next one (either ON or OFF command) returns the wrong response with 'wrong API call'.
It would be extremely helpful, if anyone who has it working, could share the parameters used/tweaks within the HA Bridge for Tahoma device (the default one, generated during the device add process seems to be incomplete).
Thanks a lot for any support.


cant install extension for vs2017

I'm getting:

my vs2017 is:

thank you for any help.

The Visual Studio marketplace has been updated with v1.5.


Remove rule MarkDuplicates

Having MarkDuplicates as a rule might not be something we want to do as the consensus reads already have the PCR duplicates removed by creating a consensus reads having it as a rule makes no sense
https://github.com/fulcrumgenomics/fgbio/issues/874#issuecomment-1252639475

Has been depracated


fixes issue #843

improvement in the ui as shown below:

This doesn't looks like an improvement to me.
I'd suggest you to leave the tracks as they are and remove the cards from the location Activity and use a list in its place if you are going for a UI enhancement.

@the-dagger the overall purpose of card view is to make ui better. or am i overdoing ui stuff over here?

According to material design guidelines, cards should not be used in lists containing less than 3 lines of content, as it decreases the readability of content.
https://material.google.com/components/cards.html#cards-usage

Thanks for the info. Will keep that in mind.

The issue is still open.
You can send a pull request implementing my suggestions if you'd like to.

Yeah sure. Doing that.


How to understand the requests in main webui?

Is the number of ''# requests" equal to total number of requests?
In the test, the request quantity of web statistics is less than the real request quantity.
Requests will be lost under what circumstances?

The stats are reset after hatching all locusts, and this may be the source of your observed differences: #205


Small problem with Hyperlinks

https://github.com/TelerikAcademy/JavaScript-Fundamentals/tree/master/Topics/08. Functions
Declaring and Calling Functions - Demo
Redirect on Demo link not work - not show demo folder!
demo folder exist but link to her not work properly.

Fixed with 25b7b3999d670337c507eb7706d5bcf688e4d4bf


Make a features folder

Now we are expanding beyond just commands/events to include buttons (#171) and soon things like modals (#182) it may make sense to not require a new directory per item.
Instead of
commands/
buttons/
modals/
...

features/

Name "features" is a work in progress, but seen it in other frameworks

Pros:

One place for all items
Less documentation needed

Cons:
Let me know any feedback/ideas

Possible suggestion for name: components

Suggestion: app

Revisiting this, I think the requirements are:

[ ] Single directory in options (show in migration guide how to re-create old behaviour)
[ ] All exports are checked rather than requiring the default
[ ] Single "feature" (or w/e name is) class that items derive from, using a symbol to avoid instanceof. I think gives room for a potential plugins system in the future.

Name is still TBD

After spending a lot of time writing the pr and calling it features I am used to it, but still doesn't feel right.
More ideas:

bits
pieces (sapphire uses this kinda)

I'm not sure what out of all the ideas in this thread I'm leaning to atm, so please share more ideas if anyone has any

Decided to name it components, thanks for the suggestion cain!

Added in #206, released in v1.0.0-next.44, migration guide here


Improved ROI and trace handling

This makes some changes to how ROI masks and traces are handled. First it copies over ROI masks from the postprocessing results into the ROI data in blocks instead of all at once (unless there is a very small number). Second it stores the traces in a separate HDF5 file from the ROIs. This allows the ROIs to be lazily loaded for computation purposes instead of loading and serializing all of the ROIs together.

This is definitely an improvement. Trace computation doesn't crash/run out of memory as it did before. However, it is pretty slow ATM and am not entirely sure why. Will not address it in this PR, but will revisit and see how we can improve this further. Probably requires some careful profiling to actually solve correctly.


dnd-disable-type with nested containers issue

Hello,
first of all great plugin. I faced issue with dividing columns element and modules element, I mean for example when I drag & drop column then I woud like to have blocked dropping new columns inside this one. I tried to use dnd-allowed-types but no success. Maybe someone can help me? I attached link to plnkr
https://plnkr.co/edit/FvnbNDJaV3V84xWsv2eB?p=preview
Greetings, Piotr

I just solved issue, Thread can be closed.


Ending sessions supports kill option to force termination

A new "kill" parameter can be send when ending a session.  This causes the STC ReST API ver >= 2.30 to forcefully terminate a Lab Server session.  Previous Lab Server versions will ignore the "kill" parameter and behave as when ending a session normally.

StcHttp.end_session() recognizes the new argument
StcHttp.new() terminates previous session with kill
tccsh has a new "kill" command
tccsh "delete" fixed to not require joining session

Will merge when STC ReST API 2.30 is available.


No autocomplete list with code typing

Describe the bug
Open VSC SAS Extension, type some code, it has no autocomplete list with code typing.
Steps to reproduce

Open VSC SAS Extension
Type code below:
data null;
call s

Expected behavior
The autocomplete list is there if trying to type 's'
Environment (please complete the following information):
Client OS: [e.g. Windows 11]
Extension version: [e.g. v1.2.0]

Regression introduced by #430

The autocomplete list is shown as expected.


Documentation needed for basic usage

A slow tutorial that guides the user through the most basic usage of prior would be helpful...
I am thinking that we would need a tutorial in the neuroGLM project to explain it in detail, because grouping columns makes more sense in that context. But still, some basic info should be in this repo.

Definitely. It's on the to-do list.


Reported Challenge #38362 - update http websites in Baden-Württemberg, Germany

Challenge: #38362 - update http websites in Baden-Württemberg, Germany
Reported by: [Mateusz Konieczny](https://www.openstreetmap.org/user/Mateusz Konieczny)
This challenge is a massive waste of human time. https://maproulette.org/browse/projects/4233 asks humans to manually review over 227 000 links to check is there https version.
This can, should and is done with automated bot. See https://www.openstreetmap.org/user/b-jazz-bot/history and https://wiki.openstreetmap.org/wiki/Automated_Edits/b-jazz-bot#HTTPS_All_The_Things and https://gitlab.com/b-jazz/https_all_the_things
Doing it manually is utterly pointless and asking people to waste their time. If current bot misses some cases, then bot should be improved.
I tried to contact creator at https://maproulette.org/browse/challenges/38374
ping myself as it will be posted on github: @matkoniecz

what about other https challenges from the same group?

Then it should be solved


Feature request: Expand All in the call tree

When going through deeply nested call tree it gets very tedious to have to expand every node by hand. Would be nice to have "expand/collapse all sub-nodes" feature.

Yes! I'm not sure if that is straight forward to implement since the tree is lazy. It is retrieving childs from the backend as you expand. This is so we don't load a huge tree when we have millions of records, since probably the user isn't interested in all of them.
If you are interested in the path that leads to a specific function you can jump to the function using the quickbox (or any other means) and then hit the show the current frame button on the tree tool. It should expand all nodes leading to that function.

Hmm.. maybe then expanding just a limited number of levels ¯\_(ツ)_/¯

interested in the path that leads to a specific function

That's the thing, I'm not sure which function down the nested call tree is failing until I expand every level.
Also, somewhat related. I am currently having to spend a lot of time digging through the call tree and what's slightly annoying is that most of the time my highlighted row ends up being at the bottom of the window. So it becomes like a tedious thing - expand & scroll up, expand & scroll up.
I wish for something like Emacs's (recenter) - C-l command. Also, maybe some margin at the bottom, so you can scroll past the last line, otherwise when you have multiple nested levels at the bottom, you can't bring it to the center of the window.

That's the thing, I'm not sure which function down the nested call tree is failing until I expand every level.

You mean failing with an exception? If that is the case you can eval :ex on the repl to make the debugger jump to the last captured exception. Or you can open the thread and step to the last step.
If it is not related to an exception I'm not sure how does it help to have all the nodes expanded if the only strategy is clicking every sub node.
I think I'm missing something. Can you expand a little bit on  the situation?

Also, somewhat related. I am currently having to spend a lot of time digging through the call tree and what's slightly annoying is that most of the time my highlighted row ends up being at the bottom of the window. So it becomes like a tedious thing - expand & scroll up, expand & scroll up.

yeah, that is very annoying, but I haven't figured that out yet, the openjfx TreeView is jumping like that.

I wish for something like Emacs's (recenter) - C-l command. Also, maybe some margin at the bottom, so you can scroll past the last line, otherwise when you have multiple nested levels at the bottom, you can't bring it to the center of the window without expanding the sub-levels.  From UX standpoint that's quite inconvenient.

All this is also probably good ideas, but again, the default TreeView isn't very flexible, maybe it is possible by extending the jfx TreeView.

Additionally, would be cool if it was possible to navigate the tree without arrow keys - C-n/C-p & C-f/C-b (for vanilla Emacs folk) or hjkl (for Vim/Evil lovers)

this should probably also needs a TreeView extension.
All probably doable, just not enough time, since those kind of extensions are pretty time consuming, that is why I haven't tried them yet.


Improve CommonJS Enviroment check

I was bitten by this kind of issues using Enquire.js:
https://github.com/jquery/qunit/issues/190
https://github.com/mroderick/PubSubJS/issues/13
To fix these issues I improved the CommonJS check, instead of just asking for the existence of module.exports, we ask if the exports global is an object (ad PubSubJS did)
Thanks.

I now rely on browserify to create the UMD wrapper, instead of putting it together myself. So this shoudl be fixed as a result. Thanks for the PR, and sorry I've been so slow to respond


Smoke test defect for DIAL Resource Usage- GPS of learning

When we click on legends the map is not in the center and it is moving up and down.

The implementation of map zoom is whenever we have less markers the map will auto focus on only those areas containing markers. so this can be considered as implementation of the same.

Re-tested map is not showing center of map layout

Invalid


Provide more diagnostic info for undefined settings

This solves this issue:
https://github.com/sbt/sbt/issues/2008
This is my previous error message:
sbt.Init$RuntimeUndefined: References to undefined settings at runtime.

which doesn't tell me what is happening.
Now, I get this additional information:
setting(ScopedKey(Scope(Select(ProjectRef(file:/home/d/rds/,rds)),Global,Global,Global),testApi)) at RangePosition(/home/d/rds/build.sbt,LineRange(233,234)) referenced from ScopedKey(Scope(Select(ProjectRef(file:/home/d/rds/,servision)),Select(ConfigKey(api)),Global,Global),start)

Now I know where the problem lies!  :-)

Can one of the admins verify this patch?

Nice turnaround :)
Perhaps it would be nicer if it were output some like (I hand-wrote this, I mean generally how sbt pretty prints settings):
{file:/home/d/rds/}rds/*:testApi at /home/d/rds/build.sbt:233 referenced from
{file:/home/d/rds/}servision/api:start at /home/d/rds/build.sbt:555

Is there any existing API for that?

I don't know, but somewhere inspect outputs that.
On 8 May 2015 at 11:14, David Pérez Carmona<EMAIL_ADDRESS>wrote:

Is there any existing API for that?
—
Reply to this email directly or view it on GitHub
https://github.com/sbt/sbt/pull/2009#issuecomment-100183386.

Yeah, some of the "API" is internal methods that should get turned into API.  This is a a really nice improvement!

LGTM, pending some "pretty printing" we may want to try.

macro arg dep nested appears to be flaky.

Would you mind rebasing this so we can get the travis tests passing? I'd like to merge it in.
Thanks!

Josh

Sorry for the delay, I've been travelling and quite busy.
I've merged the latest SBT modifications on branch 0.13.

Thanks!

do we want notes for this?

@dwijnand You can send a PR for a note or leave it. I probably left it alone when I was last checking all the commits.


Swagger UI OAuth doesn't use v2.0 endpoints

According to the documentation https://github.com/AdobeDocs/analytics-1.4-apis, "The 1.4 APIs support JWT and OAuth authentication. You can follow the authentication documentation from the 2.0 Analytics APIs and use the access tokens to call either the 1.4 or 2.0 versions of the APIs."
However, the 1.4 Swagger UI https://adobedocs.github.io/analytics-1.4-apis/swagger-docs.html disagrees. When I click on Authorize, it tells me that the Authorization URL is https://authorize.omniture.com/authorize. This is not the same endpoint as the API v2.0 OAuth, which is https://ims-na1.adobelogin.com/ims/authorize (see documentation https://www.adobe.io/authentication/auth-methods.html#!AdobeDocs/adobeio-auth/master/OAuth/OAuth.md).
When I use the client_id and client_secret I can successfully use for 2.0 API OAuth in the 1.4 Swagger UI, I get the error: The client id supplied is invalid
Is the Swagger UI updated to use the same OAuth as API 2.0?

While the 1.4 APIs will support the newer JWT authentication used by the 2.0 APIs we haven't updated the swagger UI to reflect that yet. Until early next year the 1.4 APIs will continue to support our legacy oAuth solution as well and that is what the swagger doc is currently referring to. Once that is retired we should be able to update.

We now support oAuth 2.0. See the [docs](https://developer.adobe.com/developer-console/docs/guides/authentication/](https://developer.adobe.com/developer-console/docs/guides/authentication/).


Innovation Using Objects

Java Object

Score: 2.7+
Rohit did more than what was asked. He worked with constructor signatures.


SPIKE: Azure account automation feasibility

Describe the issue
Currently project sets are provisioned by ADMS and/or Jon. We wish to create a quick and reliable vending machine style experience for users to always receive project sets in a reliable manner.
We believe that this is valuable because it will lend to governance very well same as in AWS.
Which Sprint Goal is this issue related to?

Note: 'Milestone' is a ZenHub term that we use synonymously with 'Sprint'.

The 'Milestone' description (created in ZenHub) should clearly list Sprint Goals. This section should indicate which 'goal' this issue is related to.
Additional context

This work is assumed to be independent of whether or not Azure is using a SEA.
phase 2 uses multiple resource groups as a "project-set" as we know it

Definition of done

Timeboxed to 3 points
Well-defined tickets created to describe implementation of an azure account vending machine

This work will be tracked in other tickets

This work will be tracked in other tickets


Collective Variables for all objects

This replaces a closed PR to remind us of the issue

This could become an implementation for trajectory variables.
Currently it also add support for objects as values.
One problem found so far
netCDF does only allow variable length of non basic types. Means variable lengths of floats are okay, but not variable lengths of matrices. There are two ways around this:

Always flatten matches and reconstruct when loading
Wrap the matrix in a storable object. Storable objects are stored as an int index and can thus be variable length. One example is Trajectory which is a variable length list of Snapshots.

I will try to implement both possibilities, but so far only 2. works.
For use with a monodromy matrix it would mean to create a Monodromy Matrix object. You can of course create a MonodromyTrajectory class and just duplicate what a Trajectory does. This way you could reuse Monodromy matrices if possible and implement.
Or really subclass Trajectory and add the monodromy trajectory as an attribute.
This is still in development!

Questions about this:
This is only a problem for trajectory CVs, right? Because each matrix of the monodromy matrix (as an example) has a fixed size, but since there is a list of len(trajectory) matrices associated with a trajectory (which has variable length), that's the source of the challenge. Am I understanding that correctly?
Also if I understand your statement correctly, this would not be a problem for trajectory CVs with len(trajectory) floats (not vectors/matrices). For example, the classical action at each snapshot along the trajectory would already work, right?
I definitely agree that the idea of flattening and reconstructing would be nice to have: it has potential to be useful in lots of situations.
For the specific case of the monodromy matrix, I would need to subclass Trajectory anyway (to correctly handle things like joining two trajectories; reversing direction, etc), but it's nice to put as many features into the netCDF+ code as possible, rather than hacking things together that are only relevant for my specific case!
Also: does netCDF have built-in types for complex numbers? If so, it would be good to support that (if not, it's always easy to just store the real and imaginary parts separately).

@Yes, you got the exact problem. The reason is quite simple. The netCDF implementation work by specifying a shape like (40,40) (where internally instead of the 40 you define a dimension that has fixed length 40. As a remark, dimensions can grow, but they cannot be variable!. You can define a new derive value_type from base_types that has flexible length. Like saying str is flexible length char. Or for saving trajectories I create a var_int to store a varying length of ints. I mixed the two feature into one, by allowing to set the last dimension to be '...' which means the last dimension is flexible. So the ints for trajectories have type shape=('trajectories', '...'), dtype=np.int32 (in netcdf shape is called dimensions and dtype is var_type).
So, with this knowledge the problem can be expressed as: netcdf can store shapes like (dim1, dim2, ...dimN, '...'), but what we want for the monodromy matrix is ('trajectories', '...', 'ndim', 'ndim') and this would require creating a complex varlength var_type which is not supported. For a single float or int this is no problem. So either

create a wrapper object to that an int is enough, or
convert ('trajectories', '...', 'dim1', ...,  'dimN') to ('trajectories', '...') by flattening the last dimensions, then save and when loading use something like .reshape((-1, dim1, ..., dimN)) to get the matrix object back. This would be a nice addition to netCDF in general and could be easily done. It requires some tricks to make this still fast. Only downside is that the full variable length object needs to be stored and loaded at once. You cannot just load single frames. This would require loading parts of a variable length object which is not supported.

So, in case of your very big matrix it coule really make sense to take the wrapper object approach. Still I think allowing to do 2. would be nice.

Another problem occurred. There is a apparently a bug (or more) in netCDF so far. If you are trying to set several variable length value at once using slicing then you cannot have all of them the same length.
Kind of weird but I think it has to do with numpy casting arrays of VLEN arrays into a list of objects and treating same length arrays as one big array.
I guess there will be a way around it.
Another problem is that before we used the masking feature which means that a single float or int can take a value that is interpreted as empty or unset. I used this to figure out which values have been stored and which have not yet. For VLEN variables this is tricky we could define that empty lists mean nothing but then you cannot store empty lists.
The only real way around this is to use wrapper objects.

@jhprinz : Was this issue resolved by #691?

I think this can be closed. I am not sure if this is solved, but it is a very specific problem that is relevant in the specific case, that we want to store variable length numpy objects as is without the pickling logic (which is not optimal, but will work).
It will become relevant also, when we want to switch at some point to trajectory based storage and not frame based storage as we do now. We discussed this before and it seemes the more optimized way to go, but that will take time and potentiallu also other storage ways in general.
Let me close this.


Base class constructor's primitive return value should be ignored

Bug Report

🔎 Search Terms
class, extends, constructor, return primitive
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about class constructors

⏯ Playground Link

Playground link with relevant code
💻 Code

new class extends class {
  constructor() {
    return 1;
  }
} {
  constructor() {
    super();
    console.log(typeof this);
  }
}

🙁 Actual behavior
Logs "number"
🙂 Expected behavior
Logs "object"

This is working as intended. It's legit JavaScript. For TypeScript to change this behaviour would violate the language design goals.
Related: #38519 / #27594 / #13819

@MartinJohns The change can be trivially done in the downleveling—it requires no type information.
new /** @class */ (function (_super) {
    __extends(class_1, _super);
    function class_1() {
-       var _this = _super.call(this) || this;
+       var _this = _super.call(this);
+       if (_this === null || (typeof _this !== "object" && typeof _this !== "function"))
+           _this = this;
        console.log(typeof _this);
        return _this;
    }
    return class_1;
}(/** @class */ (function () {
    function class_2() {
        return 1;
    }
    return class_2;
}())));

Nevermind my earlier comment. I wrongly assumed the JavaScript will behave the same.

You probably should have specified that this only happens with ES5-downleveled code.  From the OP it seemed like you meant this happened regardless of target (which would indicate it was just normal JS behavior).

FWIW, anything that Babel does right but tsc does wrong looks like a bug to me.

You should use Babel in that case. The TS emit takes some complexity/compliance tradeoffs and is much less configurable.
I don't think we want to risk breaking any ES5 programs at this point given how old of a target it is.


Create continuous-integration-workflow.yml

Continuing #1 #3
Used the "python package using Conda" template.
Objectives:

[ ] testing under different operating systems (Linux, Microsoft, MacOS)
[ ] testing under different python versions (Python 3.9 and ??)
[ ] Updating the stored stable output
[ ] coverage report [optional]

Compare to estimagic

Now setting up the dependencies seems to work.
In testing, however, accessing the files correctly seems to remain difficult.

Now setting up the dependencies seems to work.
In testing, however, accessing the files correctly seems to remain difficult.

With the inclusion of init.py in tests, the  full path needs to be specified. However, this creates test_stability::what_content_is_there to fail with:

    assert diff == set()

E       AssertionError: assert {'mod___data_...tions_shocks'} == set()
E         Extra items in the left set:
E         'mod___data___declarations_shocks'
E         'mod___data___declarations_para_func'
E         'mod___data___declarations_parameters'
E         'mod___data___declarations_constrained'
E         'mod___data___declarations_observables'
E         Use -v to get the full diff

Where these objects are part of stable output and are missing in the new output.
Puzzingly this behaviour is reprocuded in the CI, regardless of whether the init.py is present or not!

With letting the CI update the pickle, the tests now pass. However, this implies that above identified difference in output is now missing in both the stable and new:

E 'mod___data___declarations_shocks'
E 'mod___data___declarations_para_func'
E 'mod___data___declarations_parameters'
E 'mod___data___declarations_constrained'
E 'mod___data___declarations_observables'

Given that the discrepancy also shows up locally if we add the __init__.py file to the tests folder, perhaps the functions are not being correctly imported in the pydsge module? Since the __init__.py seems to result in drawing on pydsge from the conda environment (rather from the local folders), it could be worthwhile to check out the init.py files of the other directories and whether the functions are being correctly added there.
But why should the CI draw on the environment version of pydsge - there pydsge itself isn't imported, right?

[ ] Add to CI step: "conda env list" to see what objects it contains.
[ ] Have a closer look at the directory where "mod__data__declarations___shocks" is defined.


Build Failure - Carthage

Greetings,
I am trying to run DTTableViewManager and I get a carthage build error on DTModelStore related to Realm and Realm Swift.  I have attached the terminal output which also hits some depreciations.  I tried building using the project but couldn't get it to compile.
Also, If I am not planning on using Realm, is there anyway that it can be eliminated from the framework?
Thanx a lot -- DTTableViewManager looks amazing and I can't wait to try it in a project I'm working on.

Hey!
It seems like you are trying to build very old version of DTTableViewManager. It was converted to Swift 2 ages ago. Please try using latest version
Carthage:
github "DenHeadless/DTTableViewManager" ~> 4.7.0

CocoaPods:
pod 'DTTableViewManager', '~> 4.7.0'

How about Realm? Should that be in my cartfile or can I leave it out.
On May 27, 2016, 5:32 PM -0400, Denys<EMAIL_ADDRESS>wrote:

Hey!
It seems like you are trying to build very old version of DTTableViewManager. It was converted to Swift 2 ages ago. Please try using latest version
Carthage:
github"DenHeadless/DTTableViewManager"~>4.7.0
CocoaPods:
pod'DTTableViewManager','~>4.7.0'
—
You are receiving this because you authored the thread.
Reply to this email directly,view it on GitHub(https://github.com/DenHeadless/DTModelStorage/issues/12#issuecomment-222257796), ormute the thread(https://github.com/notifications/unsubscribe/AAvDJOSK3GhneVtMqIhxqhFkqHsgqHQQks5qF2LWgaJpZM4IozFe).

If you use Carthage, than you can leave it out, since it's automatically installed as a dependency to DTModelStorage.
If you use CocoaPods, you can use pod 'DTModelStorage/Realm' to include Realm.framework.


frp + traefik tcp routers

Do you want to request a feature or report a bug?

Bug

What did you do?

i want publish frp with docker, i want use only one port but diff dns to router to diff tcp port.
frp docker-compose.yml
version: '3'
services:

  frps:
    restart: always
    container_name: frps
    image: fatedier/frps:v0.34.1
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
      - ./frps.ini:/app/frps.ini:ro
    command: frps -c /app/frps.ini
    expose:
      - 9870
      - 7890
    environment:
      - FRP_SERVER_PORT=9870
      - FRP_SERVER_TOKEN=xxxxx
      - FRP_ADMIN_PORT=7890
      - FRP_ADMIN_USER=xxx
      - FRP_ADMIN_PASS=xxx
    labels:
      - "traefik.enable=true"
      - "traefik.docker.network=traefik"

      - "traefik.http.routers.frpspage.middlewares=https-redirect@file"
      - "traefik.http.routers.frpspage.entrypoints=http"
      - "traefik.http.routers.frpspage.rule=Host(`frp.xxx.xxx`)"

      - "traefik.http.routers.frpsssl.rule=Host(`frp.xxx.xxx`)"
      - "traefik.http.routers.frpsssl.entrypoints=https"
      - "traefik.http.routers.frpsssl.tls=true"

      - "traefik.tcp.routers.frpssh.rule=HostSNI(`frp.xxx.xxx`)"
      - "traefik.tcp.routers.frpssh.entrypoints=tcp"
      - "traefik.tcp.routers.frpssh.tls=true"
      - "traefik.tcp.routers.frpssh.tls.passthrough=true"
      - "traefik.tcp.routers.frpssh.service=frpserver"

      - "traefik.tcp.services.frpserver.loadbalancer.server.port=9870"

    networks:
      - frps
      - traefik
    logging:
        driver: "json-file"
        options:
          max-size: "1m"

# docker network create frps
networks:
  frps:
  traefik:
    external: true

traefik docker-compose
version: '3'

services:
  traefik:
    container_name: traefik
    image: traefik
    restart: always
    ports:
      - "80:80"
      - "443:443"
      - "5200:5200"
    networks:
      - traefik
    command: traefik --configFile /etc/traefik.toml
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ./logs:/data/logs
      - ./ssl/:/data/ssl
      - ./traefik.toml:/etc/traefik.toml
      - ./config:/etc/traefik/config
    healthcheck:
      test: ["CMD-SHELL", "wget -q --spider --proxy off localhost:8080/ping || exit 1"]
      interval: 3s
      timeout: 5s
networks:
  traefik:
    external: true

traefik.toml
[global]
  checkNewVersion = false
  sendAnonymousUsage = false

[log]
  level = "INFO"
  format = "common"
  filePath = "/data/logs/traefik.log"

[api]
  dashboard = true
  insecure = true

[ping]

[accessLog]
  filePath = "/data/logs/access.log"
  format = "common"

[providers]
  [providers.docker]
    watch = true
    exposedByDefault = false
    endpoint = "unix:///var/run/docker.sock"
    swarmMode = false
    useBindPortIP = false
    network = "traefik"
  [providers.file]
    watch = true
    directory = "/etc/traefik/config"
    debugLogGeneratedTemplate = true

[entryPoints]
  [entryPoints.http]
    address = ":80"
  [entryPoints.https]
    address = ":443"
  [entryPoints.tcp]
    address = ":5200"

frpc.ini
[common]
server_addr = frp.xxx.xxx
server_port = 5200
token = xxx
tls_enable = true

in traefik dashboard, it seem like work well, but when i run frpc, it can not  connet well

What did you expect to see?
frpc can connect well
What did you see instead?
2020/11/02 14:57:13 [W] [service.go:102] login to server failed: tls: first record does not look like a TLS handshake

or
2020/11/02 14:57:14 [W] [service.go:102] login to server failed: session shutdown
session shutdown

Output of traefik version: (What version of Traefik are you using?)

root@VM-0-10-ubuntu:~# docker exec traefik traefik version
Version:      2.3.2
Codename:     picodon
Go version:   go1.15.3
Built:        2020-10-19T18:36:22Z
OS/Arch:      linux/amd64

What is your environment & configuration (arguments, toml, provider, platform, ...)?
[global]
  checkNewVersion = false
  sendAnonymousUsage = false

[log]
  level = "INFO"
  format = "common"
  filePath = "/data/logs/traefik.log"

[api]
  dashboard = true
  insecure = true

[ping]

[accessLog]
  filePath = "/data/logs/access.log"
  format = "common"

[providers]
  [providers.docker]
    watch = true
    exposedByDefault = false
    endpoint = "unix:///var/run/docker.sock"
    swarmMode = false
    useBindPortIP = false
    network = "traefik"
  [providers.file]
    watch = true
    directory = "/etc/traefik/config"
    debugLogGeneratedTemplate = true

[entryPoints]
  [entryPoints.http]
    address = ":80"
  [entryPoints.https]
    address = ":443"
  [entryPoints.tcp]
    address = ":5200"

If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)
(paste your output here)

Hello @tentree,
from your log it looks like, that the TCP connections your applications are establishing to Traefik are not TLS based and thus, no SNI information are available for routing. Your log line from Traefik is indicating that.
In that case, you have no other choice then using 1 port per app.
As this is a question, I close that issue.


Some help

Can someone help me figure out how to using this make a self bot for copy messages from one server to another? I'm a new to discord.py and python itself, ad will try to do it myself this day. Thx for attention)

Thank you Philipp for response, anyway, as Philipp said.


add arch linux rootless hints to install.md

#3030

/ok-to-test
@karfau You must sign your PR.
git commit -a -s --amend
git push --force

Thanks @karfau patch LGTM
@TomSweeneyRedHat @vrothberg @mheon @baude PTAL

@rhatdan thx for the notice, I haven't done that before but was under the assumption it would happen when using the github browser UI to change the file.
Will look into it within this week.
The failing test must be some CI flackyness, right?

@karfau Yes the failures are flakes and we will need to update your PR once they are fixed.  The problem is with changes in some of the tools doing the testing.  There was an upgrade of one, and now it is complaining about something that used to work.

CI is fixed upstream - if you can rebase and fix the signoff issue and the comment from @TomSweeneyRedHat I'd say it's good to merge

/rerun

All ready, but CI still flacky?
Of course if you are checking links inside markdown, my PR would currently contain an invalid one. Nut from trying to understand the logs in the checks I couldn't find out what was the problem.
Thx for the support and let me know whenever there is something I need to do.

 * 714a2514 "install.md contains hints for rootless setup on arch linux" ... FAIL
  - PASS - commit does not have any whitespace errors
  - FAIL - does not have a valid DCO

It looks like one of your commits is missing a signoff - maybe squash them down with git rebase?

Ah, there's only one commit - git commit --amend -s and re-push then

Thx, I was very sure I did that, but maybe I missed something, will check

LGTM and all happy green test buttons.  I think this one is ready to ship.
Thanks @karfau !

/lgtm
/approve


MINOR: skip 'zinc' phase from gradle dependency-check plugin

This avoids gradle dependencyCheckAggregate from reporting on advisories in build-time dependencies (e.g. CVE-2023-46122) which typically should not affect us.
I checked that this does not prevent advisories in 'regular' dependencies from being reported (but there currently are none).
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

please ask a committer for review

Perhaps @jlprat? :innocent:


[Do not merge] Check the integration tests

[Do not merge] This PR creates a dummy file to trigger integration tests and check the integration tests.
Issue: https://github.com/istio/istio/issues/13780

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: lei-tang
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: rshriram
If they are not already assigned, you can assign the PR to them by writing /assign @rshriram in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@lei-tang: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
edcabdd036b8d2444bbe09540a83a3c00a8dffad
link
/test istio-pilot-e2e-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@lei-tang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
edcabdd036b8d2444bbe09540a83a3c00a8dffad
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/release-test.sh
edcabdd036b8d2444bbe09540a83a3c00a8dffad
link
/test release-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@lei-tang: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
edcabdd036b8d2444bbe09540a83a3c00a8dffad
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/release-test.sh
edcabdd036b8d2444bbe09540a83a3c00a8dffad
link
/test release-test

prow/istio-integ-k8s-tests.sh
edcabdd036b8d2444bbe09540a83a3c00a8dffad
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Save proofs even when successful

--save-proofs should save the trusted claims even when the specification is successfully proved.

In proveClaims, we only return the claims that were proven if some of the claims fail. We should return the proven claims also when they are all proven.


Document {{{triples}}}

Also happy to write a first pass here. Can I assume this is the same as Ractive too?


The link to your example scss codepen uses center instead of container

When following along, I kept running into 'center not found' errors. Upon inspection I found that your codepen has "@include center($pad: 30px, $mw: 800px);" while the .scss lib has replaced that with container.

Ah yes, I'm sorry. I changed it to container to be more in-line with what Bootstrap is doing. I think this will help people relate the two concepts easier. I'll update the CodePens now.

Note: Changes like this will be super infrequent. I think I just changed it because the lib is so new that I doubted many people were using it in production.

I really like what you've got going on with this project, I hope to use it in prod one day. Thanks!

@mydudechris Nice of you to say! I hope you do use it. I think you'll be really impressed and never go back to other grid systems.

Haha, me too!


Add build/ to .gitignore

Shouldn't build directory be added to .gitignore? It does not make sense to have it in the repo, but then if I add it manually it will revert on any app-framework updates. Plus, it breaks npm run xcode command (build directory doesn't get copied over to app bundle).

@M4v3R - Can you please add information to your issue ... so, what is your system, which errors you get while running npm run xcode?

it seems that @M4v3R reported two things.

He wants the .gitignore file includes build/ directory. Currently the .gitignore file is re-generated on every build. I also want to customize my .gitignore file. I want to exclude the IDE config files.

Second issue is that npm run xcode does not use latest project source. I agree that

It would be great to be able to edit .gitignore and add custom folders.
Also add build folder in default .gitignore file as it's not source.

Rollback

Done in V3, can be configured if needed.


Remove scripts/ghp.sh from generator

@mdwragg should I keep *.enc in the bower.json ignore section? I figured it's irrelevant since we are no longer using the deploy.sh script which generates deploy.enc, but is there a chance we would have some other .enc file?

Prob save to remove it 👍

💯 merga away


mypy error for str.concat

Describe the bug
The typing for concat is producing a mypy error.
I am guessing
def concat(self, other: str) -> Expression:
should be
def concat(self, other: Expression) -> Expression:?
To Reproduce
df = daft.from_pydict({"x": ["foo", "bar", "baz"], "y": ["a", "b", "c"]})
df.select(daft.col("x").str.concat(daft.col("y"))).collect()

Argument 1 to "concat" of "ExpressionStringNamespace" has incompatible type "Expression"; expected "str"
Expected behavior
No mypy error.

I think this should be resolved by @colin-ho PR! Closing this issue for now


Use build in node matchers

the content of a str_node can be retrieved with str_content.
This was the last place in code the one() util is actually used, so I think we should remove this method.
Regarding block nodes, send_node, arguments and body are retrieved by block's methods that access the children[0], children[1] and children[2] respectively, and it's more readable to use those named methods instead.

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

Oh, and one more minor note: I always try to push commits one at a time (I have a git push-each command setup for this) so that they each trigger a build and that way we can guarantee every commit passes CI, which I think is generally helpful for keeping the git history sensible and making it easy to do things like git bisect on.
Not a requirement, just a suggestion^


i18n(es): update sidebar

Description

Closes # N/A
What does this PR change? Give us a brief description.
Updates sidebar based on this commit eeba06ea7df962e8f0520e145d28b8c17cd32c18

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

es
guides/sidebar.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Thank you for the review @HiDeoo 😁


how to use it to build api

I have web application and i building android app + allowing users to access it by api in simple way no need for scopes, etc
simple way as done here https://developers.envoy.co/#authentication
So, developers can access it by just client_id and client_secret and then other stuff REST API will do
is there available source or tutorial to use oauth with rest api in simple way ?

two legged oauth

@surjit, I believe our ClientCredentials grant is what you're looking for.
Perhaps something like this? (I haven't tested this; it's for example purposes only.)
// Note: the GenericProvider requires the `urlAuthorize` option, even though
// it's not used in the OAuth 2.0 client credentials grant type.

$provider = new \League\OAuth2\Client\Provider\GenericProvider([
    'clientId'                => 'XXXXXX',
    'clientSecret'            => 'XXXXXX',
    'redirectUri'             => 'http://my.example.com/your-redirect-url/',
    'urlAuthorize'            => 'http://service.example.com/authorize',
    'urlAccessToken'          => 'http://service.example.com/token',
    'urlResourceOwnerDetails' => 'http://service.example.com/resource'
]);

$accessToken = $provider->getAccessToken('client_credentials');


Include thickness in list of valid contents

https://github.com/equinor/fmu-dataio/blob/081f5860fc9c94974986665a28e57c233767bcab/src/fmu/dataio/_export_item.py#L31

Possibly rather include this in #20

Solved in #52


Add missing findsbugs/excludes.xml

So static-analysis profile works

So, 20 bugs flagged. Should this CI job really fail just on possible bugs? There is an error classification, as well.

Thanks for the effort. 👍 😄

Feels like it could be a long and windy road, tho...

Do you gentlemen think we should go through, and clean them up?

Now we're down to 18 now. IMHO, the rest could be excluded. Do you agree?

I've fixed and whitelisted for 3 modules now. But the izettle-messaging module has so many, and I can't justify putting more time on it.

Should be fine now. Feel free to merge.

I restaged the commits a bit. Content remains as is, tho.


Deferred update causes an uncaught error if canvas is destroyed

It happens sometimes that canvas element and ctx are no longer exist during a deferred update. This causes errors like Cannot read property 'save' of null. To reproduce this behavior we have to construct a new chart and kill canvas before the delay is expired (e.g. when you navigate from one page to another without waiting for all charts to be rendered completely, including delayed updates).

any plan to incorporate @BR0kEN-  fix to the main package? This error shows up in our E2E smoke testing suite as the test moves fast to the next screen without really leaving time for the chart to render.

There is no activity in this repo since 2018. I'm using "chartjs-plugin-deferred": "https://github.com/BR0kEN-/chartjs-plugin-deferred/tarball/v1.0.2", since the patch creation.

@ejosafat @BR0kEN- I'm really sorry, I wasn't able to work on this project when the patch has been submitted and then I forgot about it. I will try to review it as soon as possible and release a new version.

Fixed by #14 and released as part of v1.0.2.

Hurray! Finally! Thanks!

thanks!


:wrench: Add the child visit schedule files.

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #1413
Description
These are the plan definition, care plan and tasks.

The CarePlan and Tasks should be generated from the defined PlanDefinition provided here.
These are to be used for $apply testing.

Alternative(s) considered
Have you considered any alternatives? And if so, why have you chosen the approach in this PR?
Type
Choose one: (Documentation)
Screenshots (if applicable)
Checklist

[x] I have read and acknowledged the Code of conduct.
[x] I have read the Contributing page.
[x] I have signed the Google Individual CLA, or I am covered by my company's Corporate CLA.
[x] I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach.
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the style guide of this project.
[ ] I have run ./gradlew check and ./gradlew connectedCheck to test my changes locally.
[x] I have built and run the demo app(s) to verify my change fixes the issue and/or does not break the demo app(s).

we want to see how these artifacts can be used - is there an example test case you can include in our test suite please @dubdabasoduba?

we want to see how these artifacts can be used - is there an example test case you can include in our test suite please @dubdabasoduba?

Understood. This is WIP. Will ping you when done.

@dubdabasoduba , though the linked issue is closed but this PR is still open. What further action is needed on this PR?


video bitrate

When I used the transparent-background tool to process a green screen video, the source video had the following properties:
•	Duration: 00:00:14.85
•	Start: 0.000000
•	Bitrate: 8768 kb/s

However, the resulting output video had these properties:
•	Duration: 00:00:14.85
•	Start: 0.000000
•	Bitrate: 3353 kb/s

As you can see, the bitrate of the output video has been significantly reduced, leading to a decrease in video quality. How can I set a higher bitrate or maintain the original bitrate during processing?

Hi @zhouzhenneng, I'll check if I can do for the bitrate problem in the next release. Sadly, I have no room for the update right now.

Hi,
Taehun Kim @.***> 于2024年7月30日周二 17:05写道：

Hi @zhouzhenneng https://github.com/zhouzhenneng, I'll check if I can
do for the bitrate problem in the next release. Sadly, I have no room for
the update right now.
—
Reply to this email directly, view it on GitHub
https://github.com/plemeri/transparent-background/issues/70#issuecomment-2257850638,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOY3NYQFI6Z3XU64W57O7JLZO5JMRAVCNFSM6AAAAABLL77DX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJXHA2TANRTHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi, @zhouzhenneng, I changed the bitrate option in opencv videowriter, but this will not guarantee 100% identical bitrate as the input. If you still need the bitrate to be preserved, please save video as images and process each frame, then merge them into video format.


Pipeline pods crashloopbackoff with Kind and Ubuntu 20.04

Expected Behavior
Deployment of 0.17.1 Pipelines controller and webhook pods on a Kind cluster should result in running pods
Actual Behavior
The pods crashloopbackoff due to the following Go error:
runtime: mlock of signal stack failed: 12
runtime: increase the mlock limit (ulimit -l) or
runtime: update your kernel to 5.3.15+, 5.4.2+, or 5.5+
fatal error: mlock failed

This happens pretty much immediately with pipelines-webhook pod but can take longer with pipelines-controller pod.
Steps to Reproduce the Problem

kubectl apply -f release.yaml (downloaded from https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.17.1/release.yaml)
Watch for the pods to get provisioned and fail

Additional Info

Kubernetes version:
Output of kubectl version:

Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.2", GitCommit:"f5743093fd1c663cb0cbc89748f730662345d44d", GitTreeState:"clean", BuildDate:"2020-09-19T09:16:25Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.1", GitCommit:"206bcadf021e76c27513500ca24182692aabd17e", GitTreeState:"clean", BuildDate:"2020-09-14T07:30:52Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"}

- Tekton Pipeline version: v0.17.1

I am running on Ubuntu 20.04 with the following kernel: 5.4.0-48-generic
I suspect the problem is due to the version of Go used to compile the Pipeline binaries; see this issue: https://github.com/golang/go/issues/38915 and https://github.com/golang/go/issues/37436

Same problem here with my Ubuntu nodes:
Kernel Version:  5.4.0-48-generic
OS Image:          Ubuntu 20.04.1 LTS 8b815efb99

I think building tekton with go 1.15.3+ should fix this issue. Please check this.
I got the tekton pods Running by adding --default-ulimit memlock=83968000:83968000 in the docker service, but this is not convenient.

I built Tekton using go 1.15.2 on my Ubuntu 20.04 machine and that did, indeed, fix the issue I reported above.

I think 0.18.x will be released using Go 1.15. Before that, I don't see use do a minor release just to change the go version we used to compile the projects. I am honestly not sure what to do here. I don't have this issue on a 5.4.70 kernel for example. My feeling is that Ubuntu should, at some point, push a fix or a new kernel that would fix this.

Fair enough. The process for building Tekton is straight-forward (kudos to those involved for making it so!) so this issue isn't a blocker. When is 0.18 likely to be released?

Fair enough. The process for building Tekton is straight-forward (kudos to those involved for making it so!) so this issue isn't a blocker. When is 0.18 likely to be released?

In about 3 to 4 weeks :wink:

0.18 has been release for a little bit more than a month, and it should have been done with 0.15, so I'll go ahead and close that issue. If it still happens, please comment so that we re-open and investigate. Cheers