Tooltip doesn't show when point is behind area of another data set, showArea = true

Good afternoon,
I created a fiddle to demonstrate how data points that are drawn "behind" the area (showArea = true) of another data set are not seen by the mouse hover.
I tested it in Chrome & Safari, and I am using this version of the plugin "chartist-plugin-tooltip": "be609ef".
In the fiddle -  dataset: cashflow/orange line, point 2, has a value of 60, and is drawn behind the area of dataset: earnings/green.  The tooltip doesn't show on mouse-hover.
https://jsfiddle.net/tcevans78/Lbs06fwq/1/
Thank you

Hi there, I saw a couple of "issues" in your Fiddle. The third argument to Chartist.Svg is the element class list, so there's no need to additionally set the class attribute within the attribute object on your circle element. Is there a reason why you're exchanging the line circles with those real circles? Usually you only need to do that if you want to use the stroke of the circles.
Your code actually added the ct-area class as well as your my-cool-point class to the circle elements. I've removed that so now the circles only have the later class.
Now you can use the pointer-events property to display the area and lines for any mouse events so that only the points are relevant to your mouse.
.ct-area, .ct-line {
  pointer-events: none;
}

Check this forked fiddle: https://jsfiddle.net/nmqq1um3/

Awesome!  This fixed it.  Thank you so much for your help.
Toshia
On Tue, Mar 8, 2016 at 12:30 PM, Gion Kunz<EMAIL_ADDRESS>wrote:

Hi there, I saw a couple of "issues" in your Fiddle. The third argument to
Chartist.Svg is the element class list, so there's no need to
additionally set the class attribute within the attribute object on your
circle element. Is there a reason why you're exchanging the line circles
with those real circles? Usually you only need to do that if you want to
use the stroke of the circles.
Your code actually added the ct-area class as well as your my-cool-point
class to the circle elements. I've removed that so now the circles only
have the later class.
Now you can use the pointer-events property to display the area and lines
for any mouse events so that only the points are relevant to your mouse.
.ct-area, .ct-line {
pointer-events: none;
}
Check this forked fiddle: https://jsfiddle.net/nmqq1um3/
—
Reply to this email directly or view it on GitHub
https://github.com/Globegitter/chartist-plugin-tooltip/issues/59#issuecomment-193903951
.

--


pkg_rpm doesn't set architecture in RPM metadata

From https://github.com/bazelbuild/bazel/issues/7532
@ixdy

Dup of #54


LibInputBackend failed to initialise when minimal linux boot with no input

Describe the bug
I created a minimal Linux using Buildroot and I have no input devices. LibInputBackend tries to iterate all the input and get failed because /dev/input does not exist.
To Reproduce
Steps to reproduce the behavior:

Config minimal linux
Do not connect any input device such as Keyboard, Mouse or touchscreen
Setup application in init.d directory
Don't forget to use SkiaSharp.NativeAssets.Linux.NoDependencies.

Expected behavior
LibInputBackend should skip iterating input devices
Desktop (please complete the following information):

OS: Linux
Version Minimal ARM using DRM

Additional context
Unhandled exception. System.IO.DirectoryNotFoundException: Could not find a part of the path '/dev/input'.
   at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
   at System.IO.Enumeration.FileSystemEnumerator`1.Init()
   at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
   at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
   at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
   at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
   at System.IO.Directory.GetFiles(String path, String searchPattern, EnumerationOptions enumerationOptions)
   at System.IO.Directory.GetFiles(String path, String searchPattern)
   at Avalonia.LinuxFramebuffer.Input.LibInput.LibInputBackend.InputThread(IntPtr ctx) in /_/src/Linux/Avalonia.LinuxFramebuffer/Input/LibInput/LibInputBackend.cs:line 41
   at Avalonia.LinuxFramebuffer.Input.LibInput.LibInputBackend.<>c__DisplayClass9_0.<.ctor>b__1() in /_/src/Linux/Avalonia.LinuxFramebuffer/Input/LibInput/LibInputBackend.cs:line 29
   at System.Threading.Thread.StartCallback()

https://github.com/AvaloniaUI/Avalonia/blob/master/src/Linux/Avalonia.LinuxFramebuffer/Input/LibInput/LibInputBackend.cs#L41
Maybe if check the directory exists, we can solve the issue.

If you have an idea to solve it, you can file a PR. They are very welcome as far as I can tell.
Happy coding,
Tim


Can't write accented letters

While the hook is running, I can't type the accents by themselves or the related combined characters that result from typing the symbol then the letter, such as éãòû. They simply won't appear on whatever text editor or the letter will appear by itself.

I have the same problem.

I know you where first, but closing this in favor of duplicate #45.


Enhancement: Add ability to close sub-toolbar

You should be able to close the sub-toolbar. Design suggests to allow the user to "click off" to dismiss the toolbar.
https://github.com/PredixDev/px-vis-xy-chart/issues/19

it now closes when reclicking the main item


Apptainer 1.1.5.

@peter-jansson - thanks for the quick pr! i appreciate it. this pr has conflicting files. i see there are commits in this pr that have already been merged in previous prs. could you merge the main branch in this repo into your main branch, then create a new branch off of that, make the changes, and resend the pr?

Will do. I suggest to delete this pr.

The conflicts are now resolved.

thanks @peter-jansson !


Backport sample for plugin version

The release-1.2 branch does not contain the corrects plugins versions, @masayag fixed that in https://github.com/parodos-dev/orchestrator-helm-operator/commit/8ecf624cba44ce0849cfa59ceafc2db2dd5559d4#diff-80c52a31fc60fcf8e95cb22f03d3d5cefd3b745221386c37d3166bd0b93caa3eR56 but it was not backported to the branch
This PR does it

wrong target branch


Sync old site contributors

Didn't observe any diffs against old site page, but this updates the CLA link targets.

Only reviewed contributing/index.md, which lgtm


doom upgrade needs a doom refresh if a module is updated

After commit https://github.com/hlissner/doom-emacs/commit/93876028b47ae2bea961201a71ba6e3b42c30b94, doom upgrade works for package updating too. However, If you run doom upgrade and some package updates, running Emacs afterwards will return a message asking you to run doom refresh because it is missing some modules.
So I aliased doom-upgrade to doom upgrade && doom refresh, however I don't think this should be necessary and doom upgrade itself should take care of refreshing its packages.

A doom refresh should not be necessary after package updates, because a partial doom refresh ought to be performed by all of bin/doom's package management commands, as necessary. If that isn't happening, something strange is certainly going on here. I'll look into it soon.

This is also happening to me. Running doom upgrade gave me the following error when opening emacs:
: Your package autoloads are missing! Run ‘bin/doom refresh’ to regenerate them

Commit:
$ git show
commit 32e266cfb4be41951c8bbffd516ccf9456beeeb8 (HEAD -> develop, origin/develop, _upgrade/develop)
Merge: 0c743afc aa64cf94
Author: Henrik Lissner<EMAIL_ADDRESS>Date:   Fri May 31 22:01:10 2019 -0400

    Merge pull request #1446 from siddharthshekar/kill-current-buffer-fix

    Replace kill-this-buffer with kill-current-buffer

same here

same here

I've also run into this. I believe it happened when the set of dependency packages changed, since when I ran doom refresh to fix it new packages were installed (or deleted).

As of 29293aa this should be resolved. Let me know if that isn't the case and I will reopen the issue. Thanks for bringing it to my attention!


Ability of having multiple transactions in parallel but in different scopes

Description
Relates to https://github.com/getsentry/sentry-dart/issues/721 and https://github.com/getsentry/sentry-dart/issues/724
There are a few approaches, today the SDK has a single Hub/Scope and it allows a single transaction per time bound to the scope.

Flutter is investing in multiple windows support this year, so this will likely be a problem soon.


scripts: Organize dev-only scripts and use a single scripts/tls location

Organize scripts which are only used for development under scripts/dev (not released)
Move examples/etc/matchbox/cert-gen related files under scripts/tls. This matches the location within the release tarball. All docs can be updated to refer to scripts/tls, which is correct whether people clone the repo or download a tarball.
Spruce up the TLS generation docs in general. Continue suggesting users prefer their own PKI, but acknowledge that many people use these self-signed certs and they're better than hand rolling your own (remove some scary messages).

This does not require a v0.6.1 release, just a docs sync. All prior official release tarballs are using the correct structure, we've opted to change to source code location instead.
cc @alekssaul
Related ##521
Closes #518
Closes https://github.com/coreos/tectonic-installer/issues/672

LGTM

LGTM


Feature request: Plot the Efficient Frontier of Mean-Semivariance Model

Is your feature request related to a problem?
Comparing Efficient Frontiers of Mean-Variance Model and Mean-Semivariance Model
Describe the feature you'd like
Plot the Efficient Frontier of Mean-Semivariance Model to compare with the Efficient Frontier of Mean-Variance Model.
Additional context
Currently the plotting function only supports the EfficientFrontier and CLA objects.

@shyen1998
Cheers for the feature request – it's very reasonable.
In the meantime, you can make a plot by looping over target returns and creating EfficientSemivariance portfolios (using efficient_return). For each portfolio, save the standard deviation and expected return into e.g a list, then you can plot these.

Thanks for the tips!

Hey Martin, I tried your suggestion, but the efficient_return method only returns the weight of the portfolio (ordered dict type). May I know how would you calculate the standard deviation and expected return in this case?

@shyen1998
In each iteration, you can do call exp_return, std, shape = ef.portfolio_performance() after running ef.efficient_return().

@robertmartin8 Using for loop to go through the 10 target returns (0, 0.01, 0.02, ..., 0.10), the scatter plot doesn't resemble the usual efficient frontier. And for some reason, the scatter plot changes every time I rerun the for loop.

@shyen1998
Can you try instantiating the class within the loop, e.g:
for i in range(...):
    es = EfficientSemivariance(...)
    ...


Make dataclasses JSON cachable (i.e. serializable)

This change was needed to make MediaObject serializable. Without this the MongoDB cache is not able to store it, which makes it not possible to run image2structure on the cluster.

#2525 handles this in a better way.


Update Homepage Sliders in Contentful

Has old series information rather than just current information

This is another one that needs to be updated in Contentful.

Done


WIP: Add back solve files

Id be more than happy to implement this for you if you want? I just have to finish up some large refactor on Pixi first! :)


integration tests: revamp environment setup

Revamp Environment Setup
This pr is a rewrite of the original setup_fakezod.sh script which would spin up a new fakezod every time the github workflow would run. Previously, since each test would boot a new fakezod from scratch, the integration test would take 5 minutes a pop waiting solely on the boot.
Now, we should see boot time in order of seconds. This is because we essentially cache a pristine fakezod at some point in time in the test_environment directory, and thus save ourselves having to boot one up every time.
The set of scripts are robust enough to:

download the urbit runtime if missing
boot a fake zod from scratch if the cached pier doesn't exist
tar the cached pier for later use
force a rebuild of the cached pier if wanted (by changing the REBUILD variable at the top of setup_env.sh)

Rationale behind current method
The main reason why I am not using herb or asssaf/urbit-fakezod is because its too much work.
Also, this process is more aligned with how a user would actually boot their ship so it seems to be closer the real use case, giving me a good excuse to say instead of admitting that I'm just lazy.

test still pass. you gotta believe me.


Call NIOAsyncWriterSinkDelegate outside of the lock

Motivation
The current NIOAsyncWriter implementation expects that the delegate is called while holding the lock to avoid reentrancy issues. However, this prevents us from executing the delegate calls directly on the EventLoop if we are on it already.
Modification
This moves all of the delegate calls outside of the locks.
Result
Less allocations.

@Lukasa @glbrntt So I am not 100% convinced this is yet correct because in my previous docs I called out we held the lock over the delegate calls to avoid reentrancy issues but the more that I am thinking about this the less I am convinced that there are actually reentrancy issues. My previous main concern was that when we call didYield of the delegate that we very likely reentrantly call setWritability of the writer's sink. This however should always be writability = false in well behaving implementations. Setting the writability to false is not going to trigger more didYield calls so everything should be fine.
I would appreciate if you can also think about this as well and see if you can come up with any reentrancy problems here.

held the lock over the delegate calls

That's pretty poor style and should ~never be done. You'll struggle with re-entrancy but also unpredicatable performance. Users may decide to log in the delegate but you definitely don't want to run the logging delegate (which is more unknown code) under a lock. So please never ever lock and call unknowable code inside of the lock, that's fraught with peril.

This was a decision that we took when we implemented the writer but I can’t recall why we took that decision. I added comments that this was done to protect against reentrant but I cannot come up with a scenario where reentrancy might be a problem right now.
I do agree though that one should never hold a lock across 3rd party code but there was something that led us there because we normally never do this.

Was the concern that didYield could cause the stack to be blown by re-entrantly calling didYield?

I just pushed up a commit that adds some docs for this. The problem that can potentially happen is the following scenario:

We have two tasks that write into the NIOAsyncWriter
One of those task is on the EventLoop. Let's call it task A
Task A is writing N writes to the NIOAsyncWriter
The underlying delegate is synchronously calling context.write for every single write
The pipeline then triggers a setWritability(to: false) while writing out the writes from A
Now the second task does a write which gets suspended and queue in the NIOAsyncWriter
While still writing out the writes from A the pipeline calls setWritability(to: true)
This causes another call to didYield which must not be protected against reentrancy otherwise the order of the writes might interleave

All of this is very edge-casey and only really happens when one of the producers is on the same EL as the writer's delegate and even then it is unclear if a multi-producer pattern should ever guarantee ordering here but I added a simple reentrancy guard that makes sure we are doing the write thing.

After having paged back in everything that we discussed when I implemented this. The reason we held the lock across the delegate call was to avoid reordering of the various delegate call outs. The most important one being reordering of didYield and didTerminate where the terminate now happens before the yield because of a potential suspension by the scheduler.
However, this can be solved by just implementing a reentrancy protection in the writer itself. We can store a flag that the we are doing an outcall and buffer any event until that outcall is done. Once the outcall is then finished we can unbuffer the rest of the events.

@FranzBusch why close this PR? That means it's still calling out under a lock, right?

@weissi I opened a new PR: https://github.com/apple/swift-nio/pull/2546
I decided for a new one because the implementation significantly changed and I wanted to have a new context for it. The new PR is calling out without holding the lock.

@weissi I opened a new PR: #2546
I decided for a new one because the implementation significantly changed and I wanted to have a new context for it. The new PR is calling out without holding the lock.

I'd recommend using this PR because the history and context of this is important. Why obfuscate it with a new PR? You can retitle the PR if you like

I'd recommend using this PR because the history and context of this is important. Why obfuscate it with a new PR? You can retitle the PR if you like

Well I just tried that but GitHub is sadly not allowing this anymore and the Reopen button is greyed out.

yeah, you can't reopen without the branch being there I think

Weird, did you delete the branch maybe? Might want to push the original branch name again and see if it can reopen. But of course not critical

I deleted the branch when I closed the PR and then pushed a new branch up with the same commit and then GitHub got sad and didn't let me reopen.


Add support for tables converting to HTML

I see that tables in MD code not ok previewed in HTML page. Example file from SF.net page with tables:
Possible values of lexer id:

Id | Meaning
---|-----------
`LEXER_FOR_FILE` | Returns name of lexer for entire file.
`LEXER_FOR_CARET` | Returns name of lexer at caret position.

If anyone is having this issue, and the site isn't loading as well for you:
from: https://python-markdown.github.io/extensions/tables/
markdown.markdown(some_text, extensions=['tables'])


Reorganize examples: naming and directory structure

Reorganize the examples directory to separate "real examples" from examples that are more quick ways for us to test that the api's work (for instance api_demo. Also, update the example names to be more descriptive.

Create an api_test that tests our entire API surface, and place it under tests/python/api_test.
Then we split api_demo into many smaller examples.


bugfix/accurics_remediation_8652524516717673 - Auto Generated Pull Request From Accurics

From Console:

Go to https://console.cloud.google.com/sql/instances.

Click on an instance name to see its configuration overview.

In the left-side panel, select Connections.

In the SSL connections section, click Allow only SSL connections.

Under Configure SSL server certificates click Create new certificate.

Under Configure SSL client certificates click Create a client certificate.

Follow the instructions shown to learn how to connect to your instance.

From Command Line:
To enforce SSL encryption for an instance run the command:
gcloud sql instances patch INSTANCE_NAME --require-ssl

Note:
RESTART is required for type MySQL Generation 1 Instances (backendType: FIRST_GEN) to get this configuration in effect.

this is good to go


Simple math operations

Similar to #208 and #215, it would be very helpful to support basic math operations on a delimited input.
For example, I have a string 'pjwsjq873iqq?[nwyzfqUwtyjhy', and want to be to able to 'To Decimal', subtract 5 from each decimal, 'From Decimal', with a final output of 'kernev32.dll:VirtualProtect'

You can do this sort of byte maths already:
https://gchq.github.io/CyberChef/#recipe=SUB({'option':'Hex','string':'05'})&input=cGp3c2pxODczaXFxP1tud3l6ZnFVd3R5amh5


add tests for BitArray

:smile_cat:

The test descriptions don't seems correct for me. Both of them are testing if each correctly iterates over all bytes. So, it "iterates over all bits with each". Also, they look redundant.

@lbguilherme you're right. I've changed the description and I left only a test. :)

I'll close this. Adding specs for existing code is sometimes good, but other specs already use each indirectly.


chore: Add "prepare" to package.json

Hi!
I took me some time to figure out that you forgot in your 2.0.11 release to build and push the gatsby-browser.js to npm (see<EMAIL_ADDRESS>vs https://unpkg.com/browse/gatsby-plugin-page-progress@2.0.11/). By adding prepare (https://docs.npmjs.com/misc/scripts) this shouldn't happen anymore. Feel free to edit it to e.g. prepublishOnly if you like that more.

@LekoArts Hey! Thanks so much! I'm not even really sure why I removed my prepare script.
Checking my commit history from 2.0.10 => 2.0.11 I can see that I removed it ¯_(ツ)_/¯ I think it might have been something to do with trying to set up a Github Actions workflow.
Love your work on Gatsby Themes 💜

v2.0.13 should work
<EMAIL_ADDRESS>

Thanks for the quick merge and compliment! I can see why prepare might be annoying in GitHub actions, prepublishOnly should do the trick 👍


Upgade to comlink 3

I think you only need to change the import syntax from
- import { Comlink } from 'comlinkjs'
+ import { proxy, ...} from 'comlinkjs'

Fixed in 57b5f48.


Windows 7 Support

Summary of the new feature/enhancement
What is the latest version that works on Windows 7?
"PowerShell-7.3.0-preview.8-win-x64"?
Proposed technical implementation details (optional)
No response

Windows 7 is out of support. I think the last version that works on Win7 is v7.2.7.

Windows 7 is out of support. I think the last version that works on Win7 is v7.2.7, but didn't try it myself.
If you're asking about preview versions, then yes, v7.3.0-preview.8 is the last preview release that works on Win7.

Ok, thanks 👍

Solution - https://github.com/PowerShell/PowerShell/issues/19816

7.2.22 works  just fine on Windows 7 SP1 x64


Windows Nodes Incompatibility

I've discovered (the hard way) that the cluster autoscaler isn't compatible with Windows nodes. If you enable Windows when you create your AKS cluster (e.g. with --windows-admin-username) Then cluster autoscaler ceases to function. This is the case even if you don't have a Windows node pool
Would be good to put that clearly in the limitations section :)

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

ID: 077f1bb5-2ba9-490c-2c6e-0de292266539
Version Independent ID: 0fd87b4f-88a4-c2eb-3ebc-f2b113ac203c
Content: Use the cluster autoscaler in Azure Kubernetes Service (AKS)
Content Source: articles/aks/cluster-autoscaler.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

Note. The limitation section in the Windows docs no longer mentions the autoscaler either

@benc-uk
Thanks for the feedback! We are currently investigating and will update you shortly.

I think it was virtual nodes causing the issue. I disabled them and the CA kicked into life

@benc-uk Good to know that it worked well.
In case of multi nodepool environment, we need to enable autoscaler per nodepool.
we can specify different settings for each nodepool. Reference :  https://docs.microsoft.com/en-in/azure/aks/cluster-autoscaler#use-the-cluster-autoscaler-with-multiple-node-pools-enabled
i think autoscaler for windows nodepools are not supported yet.
@jluk @zr-msft @mlearned   please comment about the support for autoscaler in windows nodepool

@benc-uk
I will close this out for now. If you need additional help please let me know and we can reopen and continue.


Python bindings installation

Hello,
first of all, I'd like to say that what you're doing is amazing. I really like this project a simply reading through the code teaches me a lot.
I wanted to play around with the python bindings the other day, so I followed the installation procedure and installed everything according to the installation guide. However, when I try to import robotoc, the python interpreter complains that there's no robotoc.robot.contact_status module.
Do you know, why this could be?
Thanks.

Hi,
Thank you for being interested in this project.
This problem sometimes happens to me, too. Currently, I cannot get the cause.
In my case, I can install the Python bindings by doing
cmake ..

again at the build directory. Then make install may install the Python bindings.

Yep, that worked well. Thank you.
Once again, thank you for making all of this open-source, it's so much fun to learn from this project.

I'll keep this issue open because the same problem can occur for others.


flutter_gallery__memory_nav regression

Around 2019-07-03, plus or minus a few days, this benchmark got worse.

This benchmark seems to be back to normal results now.  flutter_gallery__memory_nav/diff-median increased around 7/3 and decreased around 7/16.
I tried running some of the commits near the 7/3 change but didn't notice any obvious culprit.  This benchmark is very noisy given the variability in GC behavior, so it's difficult to bisect.

Started regressing more aggressively after 9b150f134b9b6ba103ec305f489645b5fee905d2. It's all red since.

cc @liyuqian this one also regressed apparently starting with the same commit that regressed the other benchmark.

This should be an improvement instead of a regression: both the start memory and the end memory drops after that PR.  The start memory drops more significantly so the diff (end memory - start memory) increases. Presumably, less start memory leaves GC more room to retain more objects so the diff increases. But since the overall memory strictly decreases, this has no negative effect for any users.
I think we should:

Rebaseline the diff memory
Ensure that the GC is called right before measuring the start and end memory for diff computation (https://github.com/flutter/flutter/issues/37318).

Rebaselined.

@liyuqian is it the same case for 9b150f134b9b6ba103ec305f489645b5fee905d2?

@franciscojma86 : correct (I copy/pasted the response for all those 3 issues :smile: )

Sorry I missed it in https://github.com/flutter/flutter/issues/36079, but you didn't copy it on https://github.com/flutter/flutter/issues/37273 so wanted to double check :)

Ah, I wasn't aware of https://github.com/flutter/flutter/issues/37273. Now added the response there.

Thanks!


Ensure precision flag is respected in CLI

Fixes #5127.
This ensures that precision is correctly modified when using the CLI in interactive mode.

+1, thanks @e-dard
@corylanou

@e-dard -- any chance you can rebase?

Great, thanks @corylanou.

@otoolep :shipit:

Thanks @e-dard


Filter ToDos by Status

Merge pull request https://github.com/UMM-CSci-3601-S22/lab-3-lab3-group2-cole-yubo/pull/37


K64F/Kinetis: extract_dts_includes.py warnings when building sample

Example warnings when building LwM2M client for K64F:
-- Generating zephyr/include/generated/generated_dts_board.h
extract_dts_includes.py: 'id' property missing in 'Kinetis Pinmux' binding. Using '<unknown id>'.
extract_dts_includes.py: Merge of 'description': 'Clock gate control information'  overwrites 'Clock gate information'.
extract_dts_includes.py: Merge of 'generation': 'structures'  overwrites 'define'.
extract_dts_includes.py: 'id' property missing in 'Kinetis GPIO' binding. Using '<unknown id>'.
extract_dts_includes.py: 'id' property missing in 'Kinetis I2C Controller' binding. Using '<unknown id>'.
extract_dts_includes.py: Merge of 'description': 'Clock gate control information'  overwrites 'Clock gate information'.
extract_dts_includes.py: Merge of 'generation': 'structures'  overwrites 'define'.

@MaureenHelm thanks!


[Bug][InLong-Manager] Cannot create the Pulsar subscription

What happened
create pulsar subscription error

What you expected to happen
the pulsar subscription can be created rightly
How to reproduce
create a data access using pulsar
Environment
No response
InLong version
master
InLong Component
InLong Manager
Are you willing to submit PR?

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

Code of Conduct

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

@ciscozhou, can you claim this issue? so that I can assign it to you

OK, I will deal with this issue.


Not compatible with composer v2

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires nystudio107/twig-bundle-installer ^1.0 -> satisfiable by nystudio107/twig-bundle-installer[1.0.0].
    - nystudio107/twig-bundle-installer 1.0.0 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.

You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.

Only 2.5 years later... I'm working on updating it for Composer 2 :)

Version 1.1.0 supports Composer 2.x:
https://github.com/nystudio107/twig-bundle-installer/releases/tag/1.1.0


Make threaded loading safe

Loading resources from a thread other than the main was not safe because a number of resource types schedule a "flush" to get updated according to the loaded values for their properties.
That "flush" generally consists in a deferred call to their _update() member function. In other words, calls to that function are added to the MessageQueue.
Resource loading in Godot 4.0 is threaded by design, so race conditions happen since the main thread will keep running, flushing the MessageQueue and therefore running those calls to the relevant update/flush, while a loading thread may still be dealing with the resource.
This PR addresses that problem by doing this:

Adding to MessageQueue the ability for the current thread to opt-in to accumulation of deferred calls. When a thread that opted-in decides to opt-out, the accumulated message buffer for it is appended to the regular message queue so they are run when it's safe to do so.
Ensuring every resource load opts-in to that feature for loading and opts-out when done. ResourceFormatLoader::load() has been refactored so that it's not overridabl; it now just opts-in, calls through the virtual protected _load() -which is were specific resource loaders do the bulk of the work now- and opts-out. This way, no changes are required in how each resource type is written and doesn't require special care when writing new types.

This code is generously donated by IMVU.

This should probably be re-evaluated in light of the changes done in the past two years. I guess you should try to pick @reduz's brain about it and see what/if some of these changes or different ones are still needed.


feature request: Append config to imported external config

For several projects I use one svgoconfig-file per project for several different types of svgs.
Inside the svgoconfig file I use 'preserve' inside cleanupIDs to preserve some element-IDs to be able to adress them by javascript to animate them. But what ID I'd like to preserve in one svg I'd like to get rid of in another svg file.
To avoid using the same preserved IDs for all svg-files going through svgo with this loader I could create several svgoconfig files. One for each svg-type. But I have lots of settings set and that's a lot of duplicated code that I need to maintain everytime also.
It would be a lot better if the svgo-loader could instead load the external svgo-file with all settings in and append the config of the module itself (as set in the config-object) to those imported settings. That way we could set the cleanupIDs - preserve array in the webpack config file and still keep the major list of general svgo settings in the svgoconfig file.
So the only change the loader should need to be able to do this is loading the external config first and APPEND, rather than overwrite, the 'local' loader-config object to the imported config result.
Would that be possible to build in this very handy loader? Thanks in advance and for the great work.

Hi, you can use the new preset-default plugin with the latest svgo version
https://github.com/svg/svgo/releases/tag/v2.4.0


minor changes to css and html

@ionescuea I've changed the header to be full screen so that it matches the player when is visible. See screenshot.

I've also added the button for the AI image, could you please style this and do the modal when you get a chance? Let's merge this before you start on any new work so that we can avoid major conflicts

looks good! Please merge


Auto tune indexing config

Make it easier for people to create a Pinot table which can execute queries in a performant way. Usually this means the Pinot user has to configure things such as inverted indexes. We can do this automatically.
For instance, users can specify something like:
     "tableIndexConfig": {
        “mode”: “auto”
        "streamConfigs" : {
           "streamType": "kafka",
           ...
         }
      }

which can be automatically replaced with the necessary config.
The implementation can be done in 2 parts:

Have a pluggable interface for defining such customizations
Iterate on different types of such auto-tuning implementations.

Do you anticipate different auto-tuning customizations? In that case, is it better to have a config like:
autoTuningStrategy: HighThroughput, or autoTuningStrategy: LowCost or whatever.

Do you anticipate different auto-tuning customizations? In that case, is it better to have a config like:
autoTuningStrategy: HighThroughput, or autoTuningStrategy: LowCost or whatever.

Yeah most likely will need different kinds of tuning. I'm not entirely sure we can encapsulate all those in a few keywords. For instance, indexing config is one subset. The other things we could tune is segment size / rows which could need another type of implementation. Of course, we can revisit this once we know more. For now, I thought the best approach is to leave this open.

Do you anticipate different auto-tuning customizations? In that case, is it better to have a config like:
autoTuningStrategy: HighThroughput, or autoTuningStrategy: LowCost or whatever.

Yeah most likely will need different kinds of tuning. I'm not entirely sure we can encapsulate all those in a few keywords. For instance, indexing config is one subset. The other things we could tune is segment size / rows which could need another type of implementation. Of course, we can revisit this once we know more. For now, I thought the best approach is to leave this open.

Do you anticipate exactly one auto-tuning customization to be used? I was just thinking of specifying a class name or a list of classes to apply the tuning. Of course, the interface would still be there, and we can have a default implementation that does a few automatic settings.

Another question. Do you expect that the 'auto' mode goes back and changes the table config with the settings (e.g. inverted indices etc.)? In other words, if we displayed the table config, will it show the automatically populated settings? If there is an interface and there can be multiple implementations, should it also not show which implemntation was used to arrive at the optimal config?

Do you anticipate different auto-tuning customizations? In that case, is it better to have a config like:
autoTuningStrategy: HighThroughput, or autoTuningStrategy: LowCost or whatever.

Yeah most likely will need different kinds of tuning. I'm not entirely sure we can encapsulate all those in a few keywords. For instance, indexing config is one subset. The other things we could tune is segment size / rows which could need another type of implementation. Of course, we can revisit this once we know more. For now, I thought the best approach is to leave this open.

Do you anticipate exactly one auto-tuning customization to be used? I was just thinking of specifying a class name or a list of classes to apply the tuning. Of course, the interface would still be there, and we can have a default implementation that does a few automatic settings.

Good point ! It's possible that we have a chain of resolvers (similar to ingestion side transforms). We can consider this in the future. For now, I'm thinking of exactly one resolver (since we're still experimenting).

Another question. Do you expect that the 'auto' mode goes back and changes the table config with the settings (e.g. inverted indices etc.)? In other words, if we displayed the table config, will it show the automatically populated settings?

It's technically upto the implementation. But yes, I was thinking that the resolver will populate the recommended config and persist the changes. The next time you query the table config - you should be able to see the "resolved" config.

If there is an interface and there can be multiple implementations, should it also not show which implemntation was used to arrive at the optimal config?

Currently I'm thinking of exactly one resolver in the controller config. With this in mind, probably not important to show this.

Hi @icefury71 , config recommendation engine was recently implemented and that is aimed at auto-tuning as well. Did you take a look at that?

I don't think we should implement another auto-tuning engine. WE should enhance the existing recommendation engine

@siddharthteotia as far as I know, the recommendation engine you are referring to is a tool that recommends a config - it does not change anything in the table config. This PR is more about having the ability to plugin the engine you are referring to.
@icefury71 I like what Subbu is suggesting, we can actually have named autoTuningStrategy or a filter chain as you suggested. By default it can be a no-op. This allows multiple strategies to be registered at startup or by default and users can pick the right strategy on a per-table basis.

@siddharthteotia as far as I know, the recommendation engine you are referring to is a tool that recommends a config - it does not change anything in the table config. This PR is more about having the ability to plugin the engine you are referring to.
Yes - the goal is to have a plugin interface.

@icefury71 I like what Subbu is suggesting, we can actually have named autoTuningStrategy or a filter chain as you suggested. By default it can be a no-op. This allows multiple strategies to be registered at startup or by default and users can pick the right strategy on a per-table basis.

Sure lemme make that change.

I updated the diff with a way to register "named" TableConfigTuner methods. Also added an annotation type to automatically discover such tuner methods in the classpath (based on recommendation from @kishoreg )


Does not support build variants (product flavors)

Hi
I've added two new properties to the plugin :
gradle_file_path: that let you specify the path of the build.gradle file to work with
ext_constant_name: to specify the constant name in the build.gradle that contains the version name
With those properties you should be able to set the version name for each flavor in a constant, and retrieve them with the plugin


fix(curriculum): Add Missing Backticks

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #48916

I have added the missing backticks in the new JavaScript course to build an RPG.

Yeah, sure 👍

Thanks, @naomi-lgbt 👍


Add override for CNAME

Adding CNAME to render banner about translations correctly.

works - preview shows cname: ".." that i've removed in quarkus.io thus merging this as it will then pick up latest at publish.


[Question] csi-attacher, csi-provisioner and csi-resizer not running on all nodes

I have a Kubernetes cluster consisting of 4 worker nodes running longhorn 1.0.2
all longhorn components are distributed to every of my 4 worker nodes exept the

csi-attacher
csi-provisioner
csi-resizer

These containers are missing of one of the nodes. Maybe the node was installed later but I assumed that longhorn will detect new nodes automatically. In the Longhorn UI Dashbord all nodes are listed with status 'Ready' and everything seems working fine so far.
Why is this happen? Can I do something so that the csi-containers are started manually on the 4th node?

CSI components are running in the leader election mode. They don't need to run as a daemonset. So as long as there is one pod of those exists, it will be fine.
Also, any node down for those Pods will prompt Kubernetes to create another pod to replace it, so this shouldn't be an issue.

ok thanks a lot for quick answer!


IGAPP-985: Adjust poi location model and require coordinates

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword IGAPP.

Tested on chrome. Not sure if in the overview of events, we really want to display the address that prominent.

This is just as it was before. Discussion about this topic is taking place here: https://chat.tuerantuer.org/digitalfabrik/pl/owc96caitjnrbmu8sgj38zgkpr


[MAC] Enabling Mac Application Preference... menu and wiring it to open preferences file

Enabling Application > Preferences... menu and wiring it to Debug > Open Preferences File

This PR might a bit scary w.r.t lot of changes in the MainMenu.nib files but I am completely trusting Mac's Interface Builder to have mapped each object to a menu. I did some level of unit testing, and the menus seem to be working fine.

cc @ryanstewart

In future, we could write unit test for it. LGTM merging it.

@prafulVaishnav  Updated this waffle card to add unit tests for this PR. Thanks!


Add support for mask prompt?

Hello! Great work in this repository, I find this to be a much more natural use case for SAM2.
The original SAM2 repo has support for using an existing mask as a prompt for video segmentation via the add_new_mask() method, could this be implemented in your real time version?

Thank you for your suggestion. I have added add_new_mask() method.  The specific usage is described here.


1.7.0 release

1.7a1 is on PyPI now: https://pypi.org/project/Shapely/1.7a1/#files. There are only 2 remaining issues on the 1.7 milestone, so we should be able to have a release candidate soon. How about August 6?

Any idea on when this will get released? Looking to get the changes from #592, without running latest master :) Thanks!

@sgillies are you planning to do release when all issues are fixed?

👋 1.7a3 is available for testing now.


wiki article links to simSensors.js which does not exists anymore

This article is now hard to follow with the files not there anymore:
https://github.com/OpenRoberta/robertalab/wiki/Adding-new-blockly-block-in-frontend
I can update the page if you can point me to a good substitute.

moved to https://github.com/OpenRoberta/robertalab/issues/921


PHOENIX-7015 Implementing CDCGlobalIndexRegionScanner

Implementing CDCGlobalIndexRegionScanner: JSON Response for CDC
This pull request introduces changes to the server-side CDCGlobalIndexRegionScanner, specifically focusing on capability to form JSON responses for Change Data Capture (CDC)

https://issues.apache.org/jira/browse/PHOENIX-7015

testCreate is failing: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1813/15/testReport/junit/org.apache.phoenix.end2end/CDCDefinitionIT/
CDCBaseIT needs license

Merging to unblock final PR against master branch.


Add encrypt_text/decrypt_text function using aes256 EBC algorithm

Porting https://github.com/godotengine/godot/pull/17366 to master branch. Fix this issue: https://github.com/godotengine/godot/issues/1969
Warning it uses AES EBC encryption and CBC would be a better alternative.

Warning it uses AES EBC encryption and CBC would be a better alternative.

I think Chacha20-Poly1305 or AES-GCM would be the best alternative.
But this really should be at least CBC or come with some warning.
Sure, if you're only encrypting save files or something its not that important, but if you're using it in network communication or somewhere more important its another thing.
Instead of encrypt_text() / decrypt_text(), I suggest enrypt_aes_ebc() and decrypt_aes_cbc().
That way we can always add additional algos and modes without breaking backwards compability by changing what encrypt_text() does under the hood.
Also, the name should really make clear the algo and mode.
If we go with only encrypt_text(), it shouldn't be a weak default. At least AES-CBC, probably better AES-GCM.

I agree, I will upgrade the PR soon to implement those changes. Meaning renaming
encrypt_text/decrypt_text to encrypt_text_aes_ebc/decrypt_text_aes_cbc.
Plus I will add a warning to the documentation saying that encrypt method is weak

Instead decrypt_text_aes_cbc, could we define the algorithm used like a parameter?
Like decrypt_text(data, key, algorithm)

Would it be useful to networking add a function to encryp/decrypt binary datatype?

Moving to 3.2 milestone as we're about to enter the beta stage and release freeze for Godot 3.1. Only bug fixes against issues of the 3.1 milestone (or enhancements to core features of the 3.1 roadmap) will be considered until 3.1-stable is released.
Note: If it's merged after 3.1-stable is released, this change might be considered for cherry-picking into a later 3.1.x release.

Few random notes on security of this:

Since the key is MD5-hashed and that is then used as the actual key, for clarities sake I'd rather call this a "password"
Since it's more like a password, it might be wise to use a proven "password based key derivation function" (i.e. PBKDF2), which is intended to make brute forcing passwords harder
The issues with EBC vs. more modern approaches have already been raised
For completeness sake, it might be nice to have two functions here, one that takes an actual binary key (128 or 256 bit) and one that takes a password (and then applies a PKBDF to it)


Roll Flutter Engine from b413d9996c86 to af0178ddc8b9 (1 revision)

https://github.com/flutter/engine/compare/b413d9996c86...af0178ddc8b9
2024-10-25<EMAIL_ADDRESS>Move platform handler from FlView to FlEngine (flutter/engine#56024)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC codefu<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Modifying Provider to Use Client ID/Client Secret

We're intending to use Terraform with Auth0 in fully automated contexts (i.e. Jenkins), so we wanted the Provider to be able to request a token using a Client ID and Client Secret. These changes modify the provider to use the client_id and client_secret. This change should be backwards compatible with existing Terraform code.
I also added unit tests to prove out my changes. Travis CI shows a succesful run here.

Now that I think of it, I think that's totally doable. We can gate functionality so that we request the token if and only if we aren't provided one on input.

Sounds good! I will be happy to merge it if we can make this change.

Looks good! Thanks a lot 👍


Fix #1299, Updated FS Read/WriteHeader API return documentation

Describe the contribution
Fix #1299 - updated return documentation for CFE_FS_ReadHeader and CFE_FS_WriteHeader to state they return bytes read/written or error code.  Left as CFE_Status_t since they do return error codes, although overloaded.  It is confusing since 0 actually indicates the data wasn't read or written, but that would require an API change.  Related issue is #483.
Testing performed
CI - documentation only
Expected behavior changes
None, documentation only
System(s) tested on
CI
Additional context
None
Third party code
None
Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC

Both can return OSReturnCodes.

See #1599, will address generally as part of that resolution.

CCB:2021-06-09 APPROVED


ScrollableAnchor doesn't need children

I think ScrollableAnchor can be modified to be a self-contained component like so:
<ScrollableAnchor id="some_id" />

The children should be optional.

I think that's reasonable. I'll try to get a patch in shortly, unless you're interested in adding it. Thanks for the input!


fix: docs translations

Questions
Answers

Description?
Add more information to export feature and fixe many translations

Type?
improvement

BC breaks?
no

Deprecations?
no

How to test?
Just check if docs FR and EN are updated.

Hello !
It's good for me

Hello @fox-john,
I have tested your PR and it's good for me! :tada:
Thanks!


Fail CI on compiler errors

Compiler warnings create noise during the build, they can undermine the confidence of contributors or users, and sometimes they signal serious problems that can lead to runtime errors (e.g., for unmatched patterns). So, to improve the hygiene and reliability of our development, it would be a good idea to start failing the build for any unsilenced warnings.
If we decide that there are some cases where we don't want to, e.g., handle all possible match cases, we should explicitly silence the warnings for those cases. Otherwise, we should clean up all that cruft.

[x] #1526

[x] #1471
[x] #1472

[x] #1473
[ ] Add linting CI task that runs with set scalacOptions ++= Seq("-Ywarn-unused", "-Xlint:unused", "-Xfatal-warnings") to fail when new warnings are introduced.

@shonfeder Looks like all current compiler warnings are squashed :tada:
I'm not quite sure what's left to do for the last point:

Add linting CI task that runs with set scalacOptions ++= Seq("-Ywarn-unused", "-Xlint:unused", "-Xfatal-warnings") to fail when new warnings are introduced

Should we just enable -Xfatal-warnings on all builds? Feel free to take this issue from here on if you want.

I'll take this up!
I think you're right that we should enable fatal warnings on all builds. And in fact iiuc the linting cannot enable fatal-warnings, or else scalafix won't be able to work it's magic.


Added 2D functions to AStar

QOL change: Added functions which accepts/returns Vector2 instead Vector3

AStar.add_point_2d
AStar.get_point_position_2d
AStar.set_point_position_2d
AStar.get_closest_point_2d
AStar.get_closest_position_in_segment_2d
AStar.get_point_path_2d

Closes #26128

seems fine I guess.. maybe you could make an Astar2D that contains AStar and uses it internally :D

Yeah, I still not sure whether its a good addition, astar will be in a bit mess after that..

AStar2D.add_point() etc would be more consistent with editor, no?

Ok, I've created a wrapper class AStar2D, pushed AStar reference to it and makes them friends to access _estimate_cost and _compute_cost methods. I think its ok for now.

_estimate_cost is not called by AStar2D, and I guess _compute_cost isn't either.
Example:
extends Node
class X extends AStar:
	func _estimate_cost(from_id, to_id):
		prints("AStar", from_id, to_id)
		return get_point_position(from_id).distance_to(get_point_position(to_id))

class X2D extends AStar2D:
	func _estimate_cost(from_id, to_id):
		prints("AStar2D", from_id, to_id)
		return get_point_position(from_id).distance_to(get_point_position(to_id))

func _ready():
	var a = X.new()
	a.add_point(0, Vector3(0, 0, 0))
	a.add_point(1, Vector3(0, 32, 0))
	a.get_point_path(0, 1)
	var b = X2D.new()
	b.add_point(0, Vector2(0, 0))
	b.add_point(1, Vector2(0, 32))
	b.get_point_path(0, 1)

Results in:
AStar 0 1

But should result in:
AStar 0 1
AStar2D 0 1

I tried to do it without result - because the AStar2D is a wrapper class and the estimate_cost is already defined in scene_string_names this requires to define another method such as estimate_cost_2d and the _solve method too. It's too clunky I've better remove these methods..

How about also adding a dimension-less API to AStar? That would be useful for taking advantage of the built-in A* implementation for implementing e.g. Goal-Oriented Action Programming or other algorithms that depend on shortest-path searching in a graph.

@anissen That should be discussed seperately, I think, as it seems outside the scope of the current PR. Maybe open a issue for discussion?

Thanks!


etcdserver: separate the raft routine and apply routine

/cc@yichengq
blocked on rafthttp refactor since rafthttp has races.

@xiang90 This is done, right?


[#1883] Add new cop Lint/NestedMethodDefinition

Just one final remark - remove the PR number from the commit message. This commit doesn't refer a bug report or a feature request, so this is redundant.

done. Thanks for your patience :)

No problem. Btw, you still haven't updated the commit message itself.

Fxd.

:+1: Thanks!


updates to purescript 0.13.6, and updates react native expo sdk to 0.34

Just tried to download and use this project, it did not work with out of the box downloads of purescript and expo, so I wrangled it until it did. PR should help posterity.

@ProofOfKeags thanks for this :slightly_smiling_face:
I merged #22 which contained the same content of this PR plus some more updates, so I'll close this one


Custom extended colors requires opacity modifier to work

Following the "Using CSS variable" of the Tailwind customizing colors guide
I noticed that using my colors with scrollbar-track or scrollbar-thumb did not work at first.
At first, I thought it was the plugin not working as I saw the scrollbar in its original state/colors, even when using one of the predetermined colors for the track (or thumb).
After some trial and error, I found out that I needed to add the opacity modifier for it to work, it's a minor inconvenience at best, but probably should be noted somewhere to avoid frustration for others in the same situation.

My setup
globals.css
@layer base {
  :root {
    --color-surface: 0deg 0% 20%;
    --color-element: 0deg 100% 75%;
  }
}

tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        surface: 'hsl(var(--color-surface) / <alpha-value>)',
        element: 'hsl(var(--color-element) / <alpha-value>)',
      }
    }
  }
}

index.tsx
export default function Home() {
  return (

      // THIS WORKS, as it has the "/100" opacity modifier

      // This does not work, as it does not have the opacity modifier

      // When one of the elements has a custom color without opacity modifier, the other element won't render as expected
      // This does not work: the track is not yellow (original state gray)

      // This does not work: the thumb is not yellow (original state light-gray)

  }
}

I hope this is clear, I'm happy to provide with more files or information if necessary 🙂

Hey, sorry, this issue slipped past my radar; just seeing it now. Thanks for all the detail you've included. Looks like this is a bug in the documentation Tailwind provides for plugin authors. I was able to put in a fix for the plugin, though.

Can we get a release on npm for this patch please


False SQL Server MERGE with CTE must end with semicolon error

Description
When using MERGE together with CTE on SQL Server I get the error complaining about a missing semicolon after the MERGE statement but the query executes successfully when selected manually but fails when run with CTRL+Enter.
DBeaver Version
Version <IP_ADDRESS>411031831
Operating System
Win11
Database and driver
com.microsoft.sqlserver:mssql-jdbc:RELEASE [12.8.0.jre11]
Steps to reproduce
WITH test AS ( 	select 1  )     MERGE Production.UnitMeasure AS tgt     USING (SELECT 1, 2) AS src(UnitMeasureCode, Name)         ON (tgt.UnitMeasureCode = src.UnitMeasureCode)     WHEN MATCHED         THEN             UPDATE             SET Name = src.Name     WHEN NOT MATCHED         THEN             INSERT (UnitMeasureCode, Name)             VALUES (src.UnitMeasureCode, src.Name);
Additional context
No response

thanks for the report


Kafka / Kapacitor port conflict

Both Kafka and Kapacitor declare the same port (9092), resulting in conflicts when both services run on same node

@ndegory @chrisccoy I don't know that we will be able to demo alerts on Monday anyway. Our choice right now is to not run Kapacitor if the config can't be updated before then. In any case, we will eventually need to update Kapacitor's config to use a different port, even if we disable it for now.

@ndegory were you able to confirm that this will fix the intermittent missing measurement issue?

@chrisccoy I'm not sure it's related.
@subfuzion we still have to work on how the alerts work, it's not yet demo ready, so I guess for Monday it's better to remove Kapacitor from the list of services.
I don't think mapping the port to a different one for Kapacitor will work, because Kapacitor subscribes to InfluxDB with its hostname and port, which I guess are the ones it knows, from the container, not the host, so the mapping would fail.

@chrisccoy @ndegory We have a lot of issues in flight at the moment. I'm going to deemphasize the priority for alerts for the time being until after the Limited Preview.

@subfuzion  we have another option, we can use dynamically allocated UDP ports on Kapacitor for the InfluxDB subscriptions, it works with docker-compose (ports are not exposed, but that's not an issue), I hope it works too in Swarm, I'll do a test...

Obsoleted by #113


Koenig design refinements

refs. https://github.com/TryGhost/Team/issues/115

Making floating header and footer elements in Koenig opaque
Switching to filled toolbar icons + icon cleanup
Fixing Koenig placeholder image size for FF

Coverage remained the same at 72.189% when pulling 514b561eb0cb894ac9abe977c43fe31518e65d7b on koenig-refinements into d13e0c0a80549dd41500ee03a1680c9cd1d2dd08 on master.


Create, update, triage and label all features and issues targeted for this release with v1.2.0.

There's a bunch of issues in this repo that have wrong labels. I see "untriaged" and "Beta".


Contract Subscription Backfilling

PR-Codex overview
The focus of this PR is to add functionality to backfill contract subscriptions with missed webhooks or new events.
Detailed summary

Added getContractSubscription function to fetch contract subscriptions
Created route to backfill contract subscriptions with missed events
Defined schemas for request parameters and response
Enqueued process event logs and transaction receipts for backfilling

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

had to force push to rebase and sign old commits


Acceptance test coverage report

This modifies the source files to add code coverage instructions much the same as go tool cover would do using github.com/mendersoftware/gobinarycoverage. The acceptance target now
copies the source code to a temporary directory makes the source code instrumentation and applies the patch to make sure the coverReport is invoked and that the missing os import is added. Next the build is performed so that the instrumented version of the ec command is built for use by the acceptance tests. Which in turn configure environment variables to generate the coverage-acceptance-*.out file in the root of the repository.
In addition to this from the cmd/internal package the internal is removed as the variable holding the coverage needs to be imported from main.go via .../cmd/internal which is not allowed.
Obviously this includes the un-merged #12 as well.

I've split out #23 from this as it is requirement of this PR (for main.go to be able to access internal packages).


feat(release-health): Enable session tracking by default

This PR adds session tracking by default, through removing auto_session_tracking from experimental options to proper ones with session_mode defaulting to application but then switches to request in the middleware
Changes:

Moved session_mode from SessionFlusher (sessions.py) to Session (session.py)
Hub.start_session takes a session_mode that defaults to application
auto_session_tracking context manager takes an optional session_mode
Moved auto_session_tracking experimental flag to a proper option that defaults to True
Removed session_mode experimental option

second concern is around application mode sessions: currently there is no code that starts/stops one. what I think is missing is actually calling start_session in the sdk init.

Do we need this flag? I thought we might be able to auto detect within the integration. Is that not the case?

Do we need this flag? I thought we might be able to auto-detect within the integration. Is that not the case?

I am assuming you are talking about the auto_session_tracking flag, right?
And in that case, I am not entirely sure but it seems like it relies on the options passed on init?
https://github.com/getsentry/sentry-python/blob/master/sentry_sdk/sessions.py#L21-L47
and in regards to the session_mode that @Swatinem is referring to, afaik it is auto-detected in Rust but doesn't seem like it is in Python
https://github.com/getsentry/sentry-python/blob/master/sentry_sdk/client.py#L108
Am I missing something here?

Sadly I couldn't find any documentation about what this auto session tracking actually is so I'm a bit afraid of upgrading to the latest Sentry SDK. What exactly is this feature?

What exactly is this feature?

@levrik this feature tracks Release Health by sending session updates with healthy/unhealthy counts.

Hello!
We recently made a big upgrade from <1.0 to 1.5.7 and I believe we ran into an issue related to this—from APM, it looks like sessions were being updated frequently, which was causing some performance issues downstream, I believe due to user_agent reads on cached sessions (https://docs.djangoproject.com/en/2.2/topics/http/sessions/#using-cached-sessions).
You mentioned:

Why is this relevant: The wsgi integration does auto_session_tracking, so if someone has not correctly configured the SDK, that integration will generate tons of individual session updates.

Can you clarify the misconfiguration here? Is it an incorrect session_mode?
We've tried to disable auto_session_tracking, but we're still seeing a high # of cache gets and the sentry_patched_wsgi_handler is a big % of wall time
Thank you!


Fixes #1105 Fixes pagination on custom field set fields

1. Why is this change necessary?
No more than 10 custom fields can be handled in the Custom Field Set administration view.
2. What does this change do, exactly?
Add the total-count-mode param.
3. Describe each step to reproduce the issue or behaviour.
If you are on the detail page of a customfieldset you only get 10 customfields displayed, because there's a parameter limit: 10 when calling the API.
As there's no pagination, that makes it impossible to get the other custom fields.
4. Please link to the relevant issues (if any).
#1105
5. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-9855
Please use this issue to track the state of your pull request.

Hey @runelaenen and thanks for your contribution!
I just saw that we already fixed this issue with this commit => https://github.com/shopware/platform/commit/153dce1611cc06dfd74e37880d3515b443601ae5


Runbld needs to handle bulk failures

In the case of backpressure from ES we should resubmit failed index operations.  Specifically, this can happen when indexing log lines and we exceed ES's queue size.
Likely this just needs retries with a larger and/or growing back-off.

Closed by #103


Remove "doc" and "man" from Alpine images for size

Fixes #241
postgres  9.6-alpine-after    83c9edfc60a1        2 minutes ago       32.53 MB
postgres  9.6-alpine-before   56409b6ffc83        9 minutes ago       49.43 MB

Thanks for pointing it out, @soulne4ny :+1:


[bug] there's a call to infura ipfs left in the config section

Describe the bug
It's impossible to update the Teia profile at the moment. People are unable to save and they're getting a 401 in the web dev console.

Possibly because of this?
src/pages/config/index.js:const infuraUrl = 'https://ipfs.infura.io:5001'
src/pages/config/index.js:const ipfs = create(infuraUrl)
Reproduction

go to your profile
make a change
save

Expected behavior
Profile is updated
Platform and versions
- Linux
- Firefox
- 103.0.2

Console output
No response
Additional context
No response

I did not expect everything related to infura failing like that!
On it ;)


(EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)

I installed standard ubuntu which runs startkde as expected on Asus C200M tx
however when I added chroot sid & run alone:
sudo startkde -n debian
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
sudo startkde -n xenial
wfm
these are vanilla installs: sudo sh ~/Downloads/crouton -r sid -t kde -n debian
I have only a couple weeks experience with crouton
found similar issues, but felt they are not similar enough....
$ sudo edit-chroot -all
name: debian
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/debian...
crouton: version 1-20170619181610~master:980f090f
release: sid
architecture: amd64
xmethod: xorg
targets: kde
host: version 9763.0.0 (Official Build) canary-channel squawks
kernel: Linux localhost 4.4.70-11145-ge5e3d36c33c6 #1 SMP PREEMPT Thu Jul 20 11:09:30 PDT 2017 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/debian...
name: xenial
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/xenial...
crouton: version 1-20170619181610~master:980f090f
release: xenial
architecture: amd64
xmethod: xorg
targets: kde
host: version 9763.0.0 (Official Build) canary-channel squawks
kernel: Linux localhost 4.4.70-11145-ge5e3d36c33c6 #1 SMP PREEMPT Thu Jul 20 11:09:30 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...

same here with debian stretch and gnome

MIght as well chime in, any debian or kail-rolling I try gives the same error as above.

Same problem on xfce.

I am also stuck here. I have experimented with startxiwi -b xterm, xorg logs, modifying config files to allow any users, even removing a write-protect screw for chromium OS. The only success I have had is in using unity desktop. No luck with Debian, kali-rolling,or gnome. What is the common thread here? Are we just missing something? I am using a Asus Chromebook 301S and have applied -t audio,x11,extension,keyboard,gtk-extra,core,xfce,xfce-desktop,xiwi... and still no luck

This challenges me on a Lenovo Yoga 11e Chromebook.  The thing is I have a /dev/tty file, just no tty0.  Does this mean I should try swapping out my tty file, or modify xinitrc to call for the current tty?

found solution from :https://github.com/dnschneid/crouton/issues/3242
@jernic
jernic commented on Jul 26
I had this problem after upgrading a chroot (kali-rolling, xiwi, xfce). Logged into the chroot using enter-chroot, ran 'sudo apt remove xserver-xorg-legacy', and this seems to have fixed it. Thanks!

This solution worked for me.  Many thanks!

Dup of https://github.com/dnschneid/crouton/issues/2875, please track there.

If removing the xserver-xorg-legacy package doesn't work, add the x11 target to your chroot.

If removing the xserver-xorg-legacy package doesn't work, add the x11 target to your chroot.

what the meaning of add the x11 target to your chroot.

If removing the xserver-xorg-legacy package doesn't work, add the x11 target to your chroot.

what the meaning of add the x11 target to your chroot.

Suppose you installed -r xenial -t whatever. So you can't get /dev/tty0 to show up:
sudo sh ~/Downloads/crouton -r xenial -t x11 -u
In other words, update your release with the x11 target. To see a list of targets:
sudo sh ~/Downloads/crouton -t list
I hope this helps! ~James

Note: If you've previously installed any of the below targets the x11 target will have been installed along with it:
chrome
        Google Chrome browser, stable channel.
        Requires: x11
chrome-beta
        Google Chrome browser, beta channel.
        Requires: x11
chrome-dev
        Google Chrome browser, dev channel.
        Requires: x11
chromium
        Chromium browser. Uses the distro's version, which may be old.
        Requires: x11
extension
        Clipboard synchronization and URL handling with Chromium OS.
        Requires: x11
gtk-extra
        GTK-based tools including gdebi and a simple browser.
        Requires: x11
kde
        Installs a minimal KDE desktop environment. (Approx. 600MB)
        Requires: x11
keyboard
        Adds support for Chromebook keyboard special keys.
        Requires: x11
kodi
        Installs the KODI media player. (Approx. 200MB)
        Requires: x11
touch
        Touchscreen and limited generic gesture support.
        Requires: x11

Hope this helps,
-DennisLfromGA


Edge Case - BlancMedia

Attempt to unsubscribe from the sweet setup, possibly use the web link instead of the email to avoid this issue. Also will alert Blanc Media to the issue
This is an automatically generated Delivery Status Notification

THIS IS A WARNING MESSAGE ONLY.

YOU DO NOT NEED TO RESEND YOUR MESSAGE.

Delivery to the following recipient has been delayed:

<EMAIL_ADDRESS>
Message will be retried for 2 more day(s)

Found! Attempt to unsubscribe from the sweet setup, possibly use the web link instead of the email to avoid this issue

No response on the email, will hard code a decision tree to select the link option over the email


More advanced slots behavior

Adding an issue so this idea doesn't get lost:  https://discord.com/channels/830184174198718474/853350631389265940/1047820144669376532

Hey, I am having a hard time to wrap my head around some use case with named slots https://docs.astro.build/en/core-concepts/astro-components/#named-slots
Since docs covers the most basic usages, I found some use cases that might be covered to make slots functionality even clearer.
Or maybe I found a bug of Astro slots? 🤔
Before we dive in, the discussion is about the slot usage when consuming component which handles slots, but not slots defining in component itself (this part works well).
When it comes to slots, it has weird bug (or maybe limitation) that we cannot do two things:

Nest slots usages with additional html (only root level slot works fine) - ❌

<MyComponent>
  <div>
     <Fragment slot="mySlot">...</Fragment>
  </div>
</MyComponent>

Nest slots usages with conditional statements (the slot is still registered under-the-hood!!!) - ❌

<MyComponent>
  {shouldRender && <Fragment slot="mySlot">...</Fragment>}
</MyComponent>

Result of the above: slot is not rendered in html (which is cool), but it was still registered and visible in the component logic (which is not cool, because the Astro.slots.has('mySlot') is true, while the contents of it (when you render it) is empty ⚠ ) which supposedly would have some extra logic to wrap with div+margin+padding, but only when slot exists.
I did some examples what works and what not: https://stackblitz.com/edit/github-zwgejy?file=src%2Fpages%2Findex.astro,src%2Fcomponents%2FMyComponent.astro&on=stackblitz
Please see comments in specific places, and maybe we could come up with bits to cover in docs or bug task for Astro devs to fix 🙏

Btw, how I did solve conditional slots is this workaround:
<MyComponent>
  <Fragment slot={shouldRender ? "mySlot" : null}>...</Fragment>
</MyComponent>

NOTE: since slot name is stringified, I do get slot registered both ways, but just with different name, which is first nasty and second presumably non-performant.

The example #2 above now does get rendered:
<MyComponent>
  {shouldRender && <Fragment slot="mySlot">...</Fragment>}
</MyComponent>

If shouldRender is true, the slot will be rendered.
But whether or not shouldRender is true, Astro.slots.has('mySlot') will be true.


imporvements for loadings aysrepos actors templaterepos

I don't specially like the fact that we have to use find.
Also I would like to see how https://github.com/Jumpscale/jumpscale_core8/issues/842 will impact on the overall perfs

@zaibon already the find cut down the scanning time to less than a third.
I'll merge for optimizati

but isn't this commit will conflict with #842 ?
From what I see #842 will remove this code altogether


Add requirements not mentioned

Within requirements.txt certain requirements were not mentioned.
This caused failure of the CI run on #1611 being merged.

We need to include the CI at the PR stage.

with open('requirements.txt', 'r') as req:
    setup(
        name='Bikeshed',
        author='Tab Atkins Jr.',
        packages=find_packages(),
        include_package_data=True,
        install_requires=[i.rstrip('\n') for i in req.readlines()],
        entry_points={'console_scripts': ['bikeshed = bikeshed:main']},
    )

How is this for solving the issue once and for all? The code will be DRY...


Add linux_arm

Please take a look.
The issues with unused and maligned in the make run are golang/go#26257.

Thanks for the PR!

@kortschak My apologies, I missed that you're not yet listed in the AUTHORS and/or CONTRIBUTORS files. Please add yourself in a new PR and commit it to the master branch, thank you.

I've sent you the collaborator's invitation before posting https://github.com/cznic/crt/pull/3#issuecomment-403397620. Please check your spam folder and if it's not to be found anywhere I'll resend it. Thanks.


Port over Peloton plan nodes

Major changes in this PR:

An OutputSchema object, specifying the output columns of a plan node and mapping from input columns to output columns, is a now a member variable of the AbstractPlanNode. This provides an unified interface to connect a plan node with its children
Make plan nodes immutable after construction via Builders
Break apart CreatePlan and DropPlan based on the object being created/dropped
Change individual plans to use OIDs instead of strings where possible
Remove plan nodes that we no longer plan to support
Because plan nodes will be immutable, we change them to be contained using shared_ptr as opposed to unique_ptr
Begin moving all planner code to src/planner (#355)

How are you folks exercising the plan nodes? The directory test/plan_node doesn't contain much, which is where I've looked so far.

How are you folks exercising the plan nodes? The directory test/plan_node doesn't contain much, which is where I've looked so far.

The old test cases in peloton required the optimizer, parser, and other systems. So we were not able to port them over. The most I could think of right now is write test cases that test construction and equality of plan nodes. Is that worth doing?

@pervazea An important note regarding testing of the plan node construction. Each test case for serializing plan nodes will involve actually constructing the plan nodes, so the JSON serialization tests will actually test every single plan node constructor.

I haven't been able to look fully at this yet, sorry. We're using them in the class project and sort of trying them out that way. Did we want to change from parser/expression/expressions... to just expression/expressions...?

I haven't been able to look fully at this yet, sorry. We're using them in the class project and sort of trying them out that way. Did we want to change from parser/expression/expressions... to just expression/expressions...?

I am going to change them in a future PR per #355

The hierarchy is database.namespace.table  In the Postgres documentation, namespaces are also referred to as schema. (This is confusing of course. This is distinct from the term schema describing the meta data of a table).
So, any place where one refers to a table, it should be specified as a pair of items: namespace, table. Where namespace is not explicitly specified, it defaults to the "public" namespace. The public namespace is created for you as the default namespace.

I believe we did not want to rely on the connection context, so I will add database, namespace, and table oids to the relevant plan nodes


remove jaeger-specific opentracing usage in httpgrpc tracing middleware

Using the jaeger tracer is incompatible with the migration to OTEL by using the OTEL bridge as the registered opentracing global tracer.
The base opentracing interface does not include an OperationName(), so we were casting to a Jaeger span to access the OperationName() which is only available on the Jaeger implementation.
We only used it in httpgrpc middleware to check the span name in order to only apply the middleware for certain spans.
However, there is no need for this filter, as every call that routes through this middleware has that span name we are filtering for; so we can remove, and unblock the OTEL migration

we would need to later have a test suite that doesn't use the jaeger implementations for everything: https://github.com/grafana/dskit/blob/90d7ee0bed7c54bbc7f9792f1f1e687073b919b9/server/server_tracing_test.go


feature: support key paritioning based on balancer

Hi @mostafa ,
Would it be possible to add support for specifying the balancer when creating the Kafka producer? This would allow us to partition messages by key, which is crucial for certain use cases.
For example, something like this:
const kafkaProducer = new KafkaWriter({    brokers: __ENV.KAFKA_BROKER_URLS.split(','),    topic: __ENV.M2M_KAFKA_UPH_TOPIC, balancer: 'balancer_hash', // Specify a key-based balancer (e.g., hash or crc32) });
This change would give us the flexibility to use a key-based balancer (like hash or crc32) for partitioning, enabling more control over message distribution across Kafka partitions.
Thanks in advance for considering this!

Hey @sukrit786,
I am not sure what you're trying to achieve here, because you can import BALANCER_HASH and pass it directly to your writer config and it'll set it on the Writer object. It would be something like this:
import { Writer, BALANCER_HASH } from 'k6/x/kafka';

const writer = new Writer({
  ...
  balancer: BALANCER_HASH,
  ...
});

And this will do what you want.

Hey @sukrit786,
I am not sure what you're trying to achieve here, because you can import BALANCER_HASH and pass it directly to your writer config and it'll set it on the Writer object. It would be something like this:
import { Writer, BALANCER_HASH } from 'k6/x/kafka';

const writer = new Writer({
  ...
  balancer: BALANCER_HASH,
  ...
});

And this will do what you want.

@mostafa thank you, could you please update the documentation, thank you again.

@sukrit786 Documentation is up to date, as I linked in my previous comment.


Ts baby steps

Adding support for writing TypeScript in this code-base.

@johanandren managed to just move around JSDocs so that they are not breaking TS compilation! 🎉
Adjusted the build and the CI accordingly.


store user information in access token

there is no option to store user information in access token, like userid , why does I need to go always databse to check that user is valid or not, for security we already have refresh token.

You can generate the access tokens however you like. PR #303 adds client, user and scope parameters to all the "generate" functions on the model which enables you to use e.g. JWTs.
Note that if you want to keep the ability to revoke access tokens (which usually is a good idea) you would still need to hit the database to check if the token was revoked.

Thanks , I was looking for that. Using JWT for token generation with User Info.


Feasibility to integrate Angular-UI's Datepicker & Timepicker

Datepicker: http://angular-ui.github.io/bootstrap/#/datepicker
Timepicker: http://angular-ui.github.io/bootstrap/#/timepicker

Is there a straightforward way to use them with schema-form?
Or should I consider developing 3rd party extensions?
Would anyone be interested?

No straight forward way of using them except building an addon. As for interest, depends on if one doesn't find this meets their requirements. The timepicker part of pickadate.js hasn't been implemented in the addon, as we had no need for it.
So it's up to what you feel :)

@benoror you can always try out just using the template form field type, but anything that plays nice with ng-model should be easy to do a add-on off, basically you just need a template in that case. But we love to see new add-ons!

This is quick and dirty for what I needed but can be build upon. Use how ever you would like. https://gist.github.com/brettahale/5fe67b3ea3de915537e0

Thanks for sharing @brettahale!

Thanks @brettahale !

@brettahale @benoror it would be great to see this as an add-on if it progressed that far, please consider it! Closing now as there is a fairly acceptable answer :)
Please re-open if you do not feel the question has been answered sufficiently.

Hi @brettahale
We have use uib-datepicker-popup but the issue is data not bind in a model.
It would be great to provide ready add-on.


don't build tags

testing travis

Coverage remained the same at 62.077% when pulling 064e272987ec823f0fc56728ad5315293eac5ad3 on petong/test-travis into 16574ef2d5c5b2eddeff1418213b3a939611db2b on master.


Updates to the TypeLink references in the metadata.json files.

A few more metadata.json updates.

@nCastle1 Code review please. :)


Creating another task to check auth key before res

Creating a separate task to do a check 16hrs before a auth key is supposed to be used. If the auth key is unable to be used then send an email to user. Also improving logging so that logs appear in console

Replaced all found usages of email with uid to prevent logging direct user information


Use latest Docker image instead of garden

The garden image is outdated

I'll merge this to use the available image, but note that the test_mission_pitch_and_depth_mass_vbs test is failing


Fix an outdated test path in CONTRIBUTING.rst

I wanted to modify option -j to have an easy way to set os.cpu_count() as number of jobs but I've got utterly lost in the code of the option parser and gave up on this. :'-(
Instead, my humble contribution is to fix an incorrect path in an example in CONTRIBUTING.rst. (It looks like the files were grouped into sub-directories since the guide was written.)
I did not modified CHANGES.txt because I don't know if such a change qualifies.
Contributor Checklist:

[ ] I have created a new test or updated the unit tests to cover the new/changed functionality.
[ ] I have updated CHANGES.txt (and read the README.rst)
[ ] I have updated the appropriate documentation

Commenting on the first part: Indeed, the arg handling is a bit ... convoluted.  Just as a point of info, I added this to the test runner a while back:
if args.jobs == 0:
    try:
        # on Linux, check available rather than physical CPUs
        args.jobs = len(os.sched_getaffinity(0))
    except AttributeError:
        # Windows
        args.jobs = os.cpu_count()

Some projects do a more sophisticated calculation. MongoDB uses something that includes psutil.cpu_count after figuring out if the user set a job count, the user request always "wins".

You can use SetOption('num_jobs', os.cpu_count())

Thanks for the fix, merging.


Realtime webhooks

Today, we have to wait for the "cron" in gogs web to run, before webhooks are notified.
It would be great to be able to have some realtime webhooks.
With the current behavior, gogs serv and gogs update are the one that knows about the commits. One of those two programms should notify the main gogs web process that a new commit has been done.
Either an http request from one of those two processes to the main gogs web, or a signal could be used.

Signals seem to be fragile and less portable to me.
Either an external queue (like in redis) or some HTTP request to gogs web.

This would be huge for me, its one of the things keeping me from being able to use this as my main GIT server. I currently have to manually trigger jobs on my CI server, and realtime webhooks would fix that
:+1:

@Unknwon do you have any progress? I'm really nead realtime web hooks for my ci sever, because waiting 1 minute slowdown testing.
Maybe create additional process spawned and getting jobs via some rpc for webhooks notify?

@vtolstov Find a way to do it, will try it ASAP. :grinning:

Hi @vtolstov , I've push code to develop and updated https://try.gogs.io for realtime webhooks, please help test, thanks!

Thanks! Very good.

Closed as implemented. :octocat:


update webb-proposals tests and add pallet-signature-bridge to runtime #209

PR Checklist
Please check if your PR fulfills the following requirements:

[x] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added / updated (for bug fixes / features)

Task CheckList
Update Test cases for Pallets to use webb-proposals

[x]  Update Test case for TokenWrapperHandler
[x]  Update Test case for AnchorHandler
[ ]  fix pallet-xanchor to support webb-proposals.
[ ]   Update Test case for XAnchor
[x]  Add SignatureBridge Pallet to runtime

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[x] Yes
[ ] No

update xanchor pallet with new webb-proposal changes

Reference issue to close (if applicable)

Closes #211

Will fix webb_proposal dependency once new version(v0.3.1) is published

Will fix webb_proposal dependency once new version(v0.3.1) is published

Will fix webb_proposal dependency once new version(v0.3.1) is published

I will publish a new version now.


Unable to delete objects with 0.5.4 (via admin or javascript adapter)

Diff https://github.com/ioBroker/ioBroker.socket-classes/compare/v0.5.3...v0.5.4
see also https://github.com/ioBroker/ioBroker.javascript/issues/1151

With version 0.5.3 (and current admin 6.2.22):

With version 0.5.4 (and current admin 6.2.22):

I assumed it to be here

delObject allows only flot. objects to be deleted. This could be an issue.

@ftrueck no idea where you have that idea from, but no this is not the reason

Should be fixed in 1.0.1


Analyzer to detect and prohibit Activator.CreateInstance(typeof(MyVo))

Describe the feature
e.g.         var i = (Score)Activator.CreateInstance(typeof(Score))!;
Currently, this results in a runtime error when the Value is used, as the generated code knows it wasn't created via the From method. The stack trace looks like this (in #DEBUG):
    Vogen.ValueObjectValidationException : Use of uninitialized Value Object at:    at Vogen.Tests.RecordTests.MyRecord..ctor()
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)

An analyzer would make this obvious at compile time.

Implemented in PR #231


AI Manga Coloring Community

Hey guys,
If anyone is interested, I made a discord server dedicated to trying to figure out new workflows for coloring manga, if anybody is interested feel free to join here:
https://discord.gg/xF4ZMnKsAG

您好(*?0?7▽｀)ノノ青弦已经收到您的邮件啦！请耐心等待，10个工作日内会给您回复w


khal agenda --days=N <date> fails in khal 0.3.1

So, this time I know everything on my side is allright:
$ khal agenda --days=20 05.02.2015
Traceback (most recent call last):
  File "/home/m/.local/bin/khal", line 9, in <module>
    load_entry_point('khal==0.3.1', 'console_scripts', 'khal')()
  File "/home/m/.local/lib/python2.7/site-packages/khal/cli.py", line 137, in main_khal
    events=events)
  File "/home/m/.local/lib/python2.7/site-packages/khal/controllers.py", line 141, in __init__
    **kwargs)
  File "/home/m/.local/lib/python2.7/site-packages/khal/controllers.py", line 105, in get_agenda
    desc = textwrap.wrap(event.compact(day), width)
  File "/home/m/.local/lib/python2.7/site-packages/khal/khalendar/event.py", line 209, in compact
    compact = self._compact_allday(day)
  File "/home/m/.local/lib/python2.7/site-packages/khal/khalendar/event.py", line 220, in _compact_allday
    raise ValueError('please supply a `day` this event is scheduled on')
ValueError: please supply a `day` this event is scheduled on

It works with the git version though.

And yeah, it's been a while since the last release, but big things are planned for 0.4, see #147.

I'm not a python guy, so I don't even understand what the error wants to tell me, ... I guess I will have problems installing it from git,... won't I?
But yeah, looks good for 0.4! I'm looking forward to it!

If you installed khal with pip, you can use the git version with:
pip install --force-reinstall -U git+https://github.com/geier/khal.git

$ khal agenda --days=20 01.02.2015
warning: unknown key or subsection "debug" in section "[default]"
Traceback (most recent call last):
  File "/home/m/.local/bin/khal", line 9, in <module>
    load_entry_point('khal===0.4.0.dev-146-g459751d', 'console_scripts', 'khal')()
  File "/usr/lib/python2.7/site-packages/click/core.py", line 610, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 590, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 936, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python2.7/site-packages/click/core.py", line 782, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 416, in invoke
    return callback(*args, **kwargs)
  File "/home/m/.local/lib/python2.7/site-packages/khal/cli.py", line 197, in agenda
    events=events,
  File "/home/m/.local/lib/python2.7/site-packages/khal/controllers.py", line 147, in __init__
    show_all_days=show_all_days, **kwargs)
  File "/home/m/.local/lib/python2.7/site-packages/khal/controllers.py", line 110, in get_agenda
    desc = textwrap.wrap(event.compact(day), width)
  File "/home/m/.local/lib/python2.7/site-packages/khal/khalendar/event.py", line 281, in compact
    compact = self._compact_allday(day)
  File "/home/m/.local/lib/python2.7/site-packages/khal/khalendar/event.py", line 294, in _compact_allday
    'please supply a `day` this event is scheduled on')
ValueError: please supply a `day` this event is scheduled on

$ khal --version
khal, version 0.4.0.dev-146-g459751d

Hmm, what is your value for longdateformat?

timeformat = %H:%M
dateformat = %d.%m.
longdateformat = %d.%m.%Y
datetimeformat =  %d.%m. %H:%M
longdatetimeformat = %d.%m.%Y %H:%M

Could you try pip install --force-reinstall git+https://github.com/geier/khal.git again? It should show better error messages now.

$ khal agenda --days=20 01.02.2015
Traceback (most recent call last):
  File "/home/m/.local/bin/khal", line 9, in <module>
    load_entry_point('khal===0.4.0.dev-147-g0760694', 'console_scripts', 'khal')()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 519, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2630, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2310, in load
    return self.resolve()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2316, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/home/m/.local/lib/python2.7/site-packages/khal/cli.py", line 33, in <module>
    from khal import controllers
  File "/home/m/.local/lib/python2.7/site-packages/khal/controllers.py", line 111
    for event in itertools.chain(all_day_events, events)
                                                       ^
SyntaxError: invalid syntax

Argh, sorry, try again?

$ khal agenda --days=20 01.02.2015
warning: unknown key or subsection "debug" in section "[default]"
Traceback (most recent call last):
  File "/home/m/.local/bin/khal", line 9, in <module>
    load_entry_point('khal===0.4.0.dev-148-g9d4a514', 'console_scripts', 'khal')()
  File "/usr/lib/python2.7/site-packages/click/core.py", line 610, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 590, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 936, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python2.7/site-packages/click/core.py", line 782, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 416, in invoke
    return callback(*args, **kwargs)
  File "/home/m/.local/lib/python2.7/site-packages/khal/cli.py", line 197, in agenda
    events=events,
  File "/home/m/.local/lib/python2.7/site-packages/khal/controllers.py", line 143, in __init__
    show_all_days=show_all_days, **kwargs)
  File "/home/m/.local/lib/python2.7/site-packages/khal/controllers.py", line 112, in get_agenda
    desc = textwrap.wrap(event.compact(day), width)
  File "/home/m/.local/lib/python2.7/site-packages/khal/khalendar/event.py", line 287, in compact
    '"{self.href}": {e}'.format(self, str(e)))
KeyError: 'self'

Unfortunately, I'm off now. Hope this gets fixed... but the current method of try-and-error is not really productive. Maybe you should setup everything and try it (I can provide my configuration, if you want), so we can speed up things a bit.

I rather think a particular event in your calendars causes the trouble, and the added error message should make it clear which one it is. I am unable to trigger the error myself in any way, which is why I have to resort to trial-and-error.

If you get back on this, I just pushed another commit fixing the latest error.

$ khal agenda --days=20 01.02.2015                                                                                │ <<~ [0] [17:57]
warning: unknown key or subsection "debug" in section "[default]"
Traceback (most recent call last):
  File "/home/m/.local/bin/khal", line 9, in <module>
    load_entry_point('khal===0.4.0.dev-149-gce070ec', 'console_scripts', 'khal')()
  File "/usr/lib/python2.7/site-packages/click/core.py", line 610, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 590, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 936, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python2.7/site-packages/click/core.py", line 782, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python2.7/site-packages/click/core.py", line 416, in invoke
    return callback(*args, **kwargs)
  File "/home/m/.local/lib/python2.7/site-packages/khal/cli.py", line 197, in agenda
    events=events,
  File "/home/m/.local/lib/python2.7/site-packages/khal/controllers.py", line 143, in __init__
    show_all_days=show_all_days, **kwargs)
  File "/home/m/.local/lib/python2.7/site-packages/khal/controllers.py", line 112, in get_agenda
    desc = textwrap.wrap(event.compact(day), width)
  File "/home/m/.local/lib/python2.7/site-packages/khal/khalendar/event.py", line 287, in compact
    .format(self.href, str(e)))
RuntimeError: Something went wrong while displaying<EMAIL_ADDRESS>please supply a `day` this event is scheduled on

The mentioned event (which I can post without privacy concerns :smile: ) is:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:ownCloud Calendar 0.6.4
BEGIN:VEVENT
UID:rem2ics.54ccca77.7f39.3@localhost
SUMMARY:Valentine's
DTSTART:20150214
DTEND;VALUE=DATE:20150214
DTSTAMP:20150131Z122839Z
COMMENT: generated by rem2ics 0.93\n http://mark.atwood.name/code/rem2ics\n
  data[3]=|2015/02/14 * * * * Valentine's|
END:VEVENT
END:VCALENDAR

looks like the line DTEND;VALUE=DATE:20150214 is the fail, as it looks malformed. What's not so funny: That's an export from ownCloud, as you can see.

Edit: Maybe you should add something which skips entries which fail to get parsed and prints a warning for each (including filepath, maybe).

It's supposed to work that way. This seems to be some sort of error that couldn't be catched at parse time.
In this case, I think all-day events are supposed to have a DTEND that is ending on the next day. Is this thing displaying correctly in ownCloud?

Hiho.
Yes, as far as I can tell, everything shows up fine in ownCloud!

I can reproduce this with any event where DTSTART == DTEND.
@geier I think khal used to have a workaround for situations like this?

Just re-checked the ownCloud entries. They were malformed. The end date was always one day before the start day for all-day events. So this issue is solved for me. Anyhow, the issue is still not solved ... because DTSTART == DTEND shouldn't lead to a crash, should it? :smile:

This should be fixed now. Khal now simply assumes the event to last one day if DTEND <= DTSTART


HTML

HTML
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titled; HTML, CSS, Git, and Javascript with associated nots listed

Completed all criteria


[Refactor] Fix Anthropic Import and other fixes

anthropic is an optional library to install but anthropic_llms.py is always imported.
Add a way to check if the module is imported or not.

Oh huh, I'm no longer a CODEOWNER. @haileyschoelkopf you need to approve this PR.