Upgrade to use bootstrap version 5.1

Hi Evan,
I know its been a while since I first looked at your template, I've been around the houses a bit and have come full circle. I want to build documentation based upon version 5.1 of bootstrap. I was initially put off from going ahead using BS-4, because I didn't want to base my documenation on legacy BS, not knowing if it was possible to update your template to BS-5. After a few experiments, I got this to work, and it was a bit easier than I had envisaged apart from a little caveat explained further below.
So what I have done is:

update the bootstrap assets to their latest versions (5.1)
The navbar contents was not right aligned so I changed mr-auto in one of the containers to use ms-auto instead. This shifted the contents including the search box to the right
changed jumbotron to use container-fluid instead of jumbotron

I also wanted to remove jQuery, because now BS-5 no longer mandates its presence and has been removed. I initially tried to remove jQuery but this broke the lunr search. On closer inspection, I realised that the lunr functionality was using jQuery:
template/lunr-js.html
function lunr_search () {
  var resultdiv = $('#results');
  var query = $('input#search').val();//.toLowerCase();
  /* basic search that supports operators */
  var result = idx.search(query);

PS: I'm still just learning the client side/broswer tech stack, so I still stumble on relatively simple issues like this one.
I noticed that the:

$('#results');

was the jquery that was broken. The removal of the jQuery script entry broke the search. However, I didnt know how to fix. I just assumed that

var resultdiv = $('#results');
var query = $('input#search').val();

should be replaced with

var resultdiv = document.getElementById('results');
var query = document.getElementById('input#search');

but this didnt work either.
I also attempted to update lunr with the latest version and updated the cdn link, perhaps this was the cause of me not being able to get this to work, the lunr identifier was undefined; probably to an incorrectly specified script reference. But even without updating lunr and leaving that as it was, using the getElementById instead of the jQuery $ notation I saw this error in the console:
Uncaught TypeError: e is null
    QueryLexer http://<IP_ADDRESS>:4000/assets/lib/lunr.min.js:6
    QueryParser http://<IP_ADDRESS>:4000/assets/lib/lunr.min.js:6
    search http://<IP_ADDRESS>:4000/assets/lib/lunr.min.js:6
    query http://<IP_ADDRESS>:4000/assets/lib/lunr.min.js:6
    search http://<IP_ADDRESS>:4000/assets/lib/lunr.min.js:6
    lunr_search http://<IP_ADDRESS>:4000/search.html?q=cat:139
    <anonymous> http://<IP_ADDRESS>:4000/search.html?q=cat:174
    jQuery 13

I am guessing I've passed in the incorrect item into getElementById, but I dont know what it should be.
So I gave up and left the original functionality, so as to not break the template. The important part was the upgrade to BS-5.
It would be great if you could perform the required fixes to remove jQuery and fix up the search functionality to not use it. I would be interested to see how this problem would be fxed for my own knowledge 🙏

@plastikfan sorry I haven't had a chance to look at this yet! I appreciate the PR and will get to it before toooo long, thank you.

thanks @plastikfan, hope your work is going well. Gatsby is cool-->but learning curve seems higher than Jekyll for getting started really quick in a workshop setting and having a website quickly hosted on github, which is the purpose of this template.
I am going to close this PR, because rather than pulling this in, I decided to keep bootstrap-template at bootstrap version 4.6, and created a slightly different version in a new template repository: bootstrap5-template, https://github.com/thecdil/bootstrap5-template
Thanks again!

Great thanks Evan. I learnt a lot from using this template so I appreciate your efforts. And yeah I agree with you about the learning curve about alternative options but it's a hit I'm prepared to take given my ultimate goals. Cheers


Regridder: clarify inner workings of method

In GitLab by @Huite on May 7, 2021, 14:38
There are a number of "default" methods available via strings ("mean", "mode", "sum", etc) for the regridder.
Some of these are weighted by spatial overlap (mean), others are not (sum). There is no way to discover this, apart from reading the source code. The best location for this is likely a user guide, not the API (although the API should link to the user guide).

The regridder in iMOD Python is deprecated and is planned to be removed in the v1.0 release.
Use the xugrid regridder for single arrays
Or use iMOD Python to regrid entire MODFLOW6 simulations and packages


fix: table search text dependency deletion

Description
Fixes #11479
About the problem
Noticed that when we remove the JS binding from defaultSearchText, in a few cases.
Evaluation Order changes to

That means the table is filtered before the evaluation of defaultSearchText's new value.

Also, when updatedDependencyMap was checked.
searchText dependency on defaultSearchText and meta.searchText was missing.
weird part was searchText was missing from dependencyMap, instead, it should at least have had empty array.
Ideally dependencyMap should be like shown below.

Differences when defaultSearchtext was changed from "{{}}" -> ""

Solution
Change the logic of deletion of dependencyMap when binding is removed.

Ideally, we should only delete dependency for a property that can have binding, for this now we rely on bindingPaths.
Before this change our bindingPaths used to also have non-bindingPaths which was incorrect and confusing, now we maintain reactivePaths for that, which have both binding and non-binding paths.

Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Jest
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:green_circle: Total coverage has increased
// Code coverage diff between base branch:release and head branch: fix/11479-table-defaultsearch

Status
File
% Stmts
% Branch
% Funcs
% Lines

:green_circle:
total
55.91 (0.02)
37.26 (0.02)
35.26 (-0.02)
56.23 (0.01)

:red_circle:
app/client/src/ce/constants/messages.ts
76.62 (-0.03)
100 (0)
30.64 (-0.11)
81.92 (-0.04)

:red_circle:
app/client/src/entities/Action/actionProperties.ts
41.41 (-14.38)
18.33 (-21.67)
26.67 (-13.33)
38.89 (-12.27)

:red_circle:
app/client/src/entities/DataTree/dataTreeAction.ts
18.18 (-2.87)
0 (0)
0 (0)
20 (-1.43)

:green_circle:
app/client/src/entities/DataTree/dataTreeJSAction.ts
15.63 (3.13)
0 (0)
0 (0)
13.79 (3.45)

:green_circle:
app/client/src/entities/DataTree/dataTreeWidget.ts
98.11 (0.03)
83.33 (0)
100 (0)
97.87 (0.04)

:red_circle:
app/client/src/entities/Widget/utils.ts
91.74 (-1.12)
89.13 (0)
100 (0)
91.59 (-1.12)

:red_circle:
app/client/src/pages/Editor/gitSync/QuickGitActions/index.tsx
66.35 (0.64)
42.31 (-1.69)
34.78 (0)
68.37 (0.69)

:sparkles: :new:
app/client/src/pages/Editor/gitSync/components/BetaTag.tsx
75
100
0
75

:green_circle:
app/client/src/pages/Editor/gitSync/components/BranchList.tsx
23.95 (0.46)
10.13 (0)
2.5 (0)
26 (0.5)

:green_circle:
app/client/src/utils/DynamicBindingUtils.ts
84.7 (0.26)
72.32 (0)
76.67 (0.81)
84.05 (0.2)

:green_circle:
app/client/src/utils/WorkerUtil.ts
89.76 (0)
72.55 (1.96)
100 (0)
93.33 (0)

:green_circle:
app/client/src/utils/helpers.tsx
67.94 (0.47)
34.88 (0.79)
58.82 (0)
66.22 (0.58)

:green_circle:
app/client/src/utils/autocomplete/TernServer.ts
52.94 (0.23)
41.67 (0.84)
36.21 (0)
56.99 (0.25)

:sparkles: :new:
app/client/src/utils/formControl/FormControlFactory.tsx
43.75
0
25
43.75

:sparkles: :new:
app/client/src/utils/formControl/FormControlRegistry.tsx
39.29
100
5.26
39.29

:sparkles: :new:
app/client/src/utils/formControl/formControlTypes.ts
100
100
100
100

:green_circle:
app/client/src/workers/evaluationUtils.ts
62.79 (3.49)
60.1 (1.51)
67.19 (1.56)
60.98 (2.17)

:green_circle:
app/client/src/workers/validations.ts
81.32 (0)
71.69 (1.12)
76.67 (0)
82.39 (0)

:sparkles: :new:
app/client/src/workers/DataTreeEvaluator/DataTreeEvaluator.ts
77.67
59.73
75.58
77.47

:sparkles: :new:
app/client/src/workers/DataTreeEvaluator/test/mockUnEvalTree.ts
100
100
100
100

:x:
app/client/src/utils/FormControlFactory.tsx
43.75
0
25
43.75

:x:
app/client/src/utils/FormControlRegistry.tsx
38.18
100
5.26
38.18

:x:
app/client/src/workers/DataTreeEvaluator.ts
77.39
58.45
75.58
77.17

/ok-to-test sha=60442bf

/ok-to-test sha=57d5cb5

/ok-to-test sha=4fe0888

/ok-to-test sha=935ec29

/ok-to-test sha=1c92e39

/ok-to-test sha=7902b26

/ok-to-test sha=ed61b90

/ok-to-test sha=a5910f2

/ok-to-test sha=3f785a8

/ok-to-test sha=28b300f

/ok-to-test sha=b0ad3d2

@Rishabh-Rathod, I suggest resolving the JS object comment before merging this.

Quoting @ApekshaBhosale -> variables are not reactive for JS objects which means there won't be any other reactivate paths in JsAction other than mentioned what is added. JS variables will not be considered as a reactivePath.


₹ symbol not accepted by editor

VSCode Version: Version 1.12.2 (1.12.2)
OS Version: OSX 10.11.6

Steps to Reproduce:

Copy paste the ₹ symbol into the editor
It is not seen in the editor.  And where it used to be, now there is some weird character.  (I'm seeing this: â‚¹ )

Just noticed another thing.    Mine is in go code and I had originally written it as "₹".  On the first key press it shows the double quote, and then on the second key press it shows the symbol.  So looks like this is something to do with how unicode is being handled.

@sathishvj I didn't reproduce this issue in 1.12.2 on macOS. Could you please share more info about how to reproduce?   I should have recorded the issue when I saw it.
Anyways, I'm unable to replicate it now.  Sorry for wasting your time.


Accessing state and async storage.

Hi , first of all hats off to you on making this. Everything works perfectly.
The question I have is

whether the state is accessible to BackgroundGeolocation for example if I have to set a header for the post template using a value on my state can this be achieved?

Can async storage be used within BackgroundGeolocation .

Thanks in advance and sorry that this is not a issue.

Yes
Yes, you can do this.

according 1. yes, but any change on state of value will not be reflected. It's your responsibility to call configure when state changes. You don't have to provide all configure options, only postTemplate (partial reconfiguration).
BackgroundGeolocation.configure({
  postTemplate: ['@latitude', '@longitude', state.someValue]
});;

noted and thanks.


increase grpc registry timeout to 300s

In a setup where we have an unstable connection to the engine leader this just increases the timeout to connect to the registry to 300s.
just keeping it here for tracking. no further action needed.

@calvix fyi

the binary is here: https://downloads.giantswarm.io/fleet/v1.0.0-300s-grpc-timeout/fleetd

lgtm


Roll Flutter from e8eac0d047cd to 0588b925a070 (16 revisions)

https://github.com/flutter/flutter/compare/e8eac0d047cd...0588b925a070
2023-02-08<EMAIL_ADDRESS>Removed "if" on resolving text color at "SnackBarAction" (flutter/flutter#120050)
2023-02-08<EMAIL_ADDRESS>Correct Badge interpretation of its alignment parameter (flutter/flutter#119853)
2023-02-08<EMAIL_ADDRESS>Manual roll Flutter Engine from f310ffd1461a to bdc5b6b768f6 (12 revisions) (flutter/flutter#120261)
2023-02-08<EMAIL_ADDRESS>Revert "Stop recursively including assets from asset folders (#120167)" (flutter/flutter#120283)
2023-02-08<EMAIL_ADDRESS>Add trackOutlineColor for Switch and SwitchListTile (flutter/flutter#120140)
2023-02-08<EMAIL_ADDRESS>fix a TextFormField bug (flutter/flutter#120182)
2023-02-08<EMAIL_ADDRESS>Revert "Roll Flutter Engine from f310ffd1461a to 7098858dc0a5 (9 revisions) (#120251)" (flutter/flutter#120257)
2023-02-08<EMAIL_ADDRESS>Add support for extending selection to paragraph on ctrl + shift + arrow up/down on Non-Apple platforms (flutter/flutter#120151)
2023-02-08<EMAIL_ADDRESS>Roll Flutter Engine from f310ffd1461a to 7098858dc0a5 (9 revisions) (flutter/flutter#120251)
2023-02-08<EMAIL_ADDRESS>Add test for RenderProxyBoxMixin; clarify doc, resolve TODO (flutter/flutter#117664)
2023-02-08<EMAIL_ADDRESS>Fix hang on successful dev/bots/analyze.dart (flutter/flutter#117660)
2023-02-07<EMAIL_ADDRESS>Revert "Revert "Fix unable to find bundled Java version (#119244)" (#119981)" (flutter/flutter#120107)
2023-02-07<EMAIL_ADDRESS>f310ffd14 Roll Skia from 3b1401c4870d to 87dbc81b421f (4 revisions) (flutter/engine#39457) (flutter/flutter#120214)
2023-02-07<EMAIL_ADDRESS>un-pin package:intl (flutter/flutter#119900)
2023-02-07<EMAIL_ADDRESS>Web tab selection (flutter/flutter#119583)
2023-02-07<EMAIL_ADDRESS>Update to v0.158 of the token database. (flutter/flutter#120149)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins
Please CC rmistry@google.com,stuartmorgan<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Plugins: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


fix: allow semantic comparer to compare IHtmlUnknownElement types

Pull request description
Changed semantic comparer to handle elements parsed outside their proper context, e.g. an <path> element parsed without being inside a <svg> element. The semantic comparer will now be able to treat those as regular elements and thus be able to compare correctly to other elements of the same type and with the same node name.
Motivation: https://stackoverflow.com/questions/75335821/bunit-simple-markup-verification-for-path-tag
PR meta checklist

[x] Pull request is targeted at main branch for code
or targeted at stable branch for documentation that is live on bunit.dev.
[ ] Pull request is linked to all related issues, if any.
[x] I have read the CONTRIBUTING.md document.

Code PR specific checklist

[x] My code follows the code style of this project and AspNetCore coding guidelines.
[ ] My change requires a change to the documentation.

[ ] I have updated the documentation accordingly.

[x] I have updated the appropriate sub section in the CHANGELOG.md.
[x] I have added, updated or removed tests to according to my changes.

[x] All tests passed.

@desmondische this is the last piece that was missing to allow you to use the semantic comparer to compare svg elements that do not originate from a SVG parent element.

I am no expert on that matter and the changes look good. The change seems rather special for handling svgs.
For example: A <option> needs a <select> as "context". <li> needs <ul> or <ol> as context. All of those combinations work with bUnit. Why is <SVG> special?

I am no expert on that matter and the changes look good. The change seems rather special for handling svgs. For example: A <option> needs a <select> as "context". <li> needs <ul> or <ol> as context. All of those combinations work with bUnit. Why is <SVG> special?

This is all related to how AngleSharp's parser works. Some elements are ignored if they do not a child of their expected element. It only does this for specific elements, which is why we have special conditions in the parser.


[BUG] EH SDK: Enqueued Time on root activity, not on the links

Describe the bug
This recent PR has added attribute "x-opt-enqueued-time" to the Diagnostic Scope activity.
While debugging this new behavior with new version of Application Insights SDK that reads this attribute, I noticed that there is disconnect between the two SDKs on the expected attribute location:

AI SDK looks through the links of the Activity in Diagnostic Source event;
EH SDK stores that time in the tags of the main Activity instead.

Side note: AI SDK reads "enqueueTime" attribute while value is posted to "x-opt-enqueued-time" attribute, one of the SDKs would need to fix that too (I guess, AI?).
Expected behavior
I had a conversation with original developer on AI SDK side and the expected behavior seem to be to store enqueued time in the links of the activity because it's the way to post that time for each separate message. (+ Both SDKs should agree on the attribute name :) )
Actual behavior (include Exception or Stack Trace)
EH SDK stores enqueued time on the main Activity propagated with DS event.
To Reproduce

Debug LineCounter application (make sure both projects are marked as startup).
Ensure latest AI SDK is installed (or build from local source)
Ensure latest EH SDK is installed (or build from local source)
Set BP on AI reading EH DS event, check that root Activity has tag, not linked activities.

Environment:

Latest master from source, EH SDK, commit 257703eb88ce733d0d8cbbd22c66339794fa8350.
Win10, .NET Core 3.0
Visual Studio 16.4.5

@kinelski , not sure what's the right approach here, I touched base with @lmolkova and her expectation was to have enqueued time on links rather than main activity. I do lack context of the feature, though, I simply debugged the behavior to help one of the internal teams who tried this new feature out - let me know what you think.

Here is the spec https://gist.github.com/lmolkova/e4215c0f44a49ef824983382762e6b92#processing-messages
I confirm that each linked activity should have enqueued time in case there is more than one message in the batch.

Hello, @Dmitry-Matveev. That was definitely a mistake on my part. Thanks for pointing it out!
I have just opened a PR that will allow us to add attributes to linked activities (#10368). Once that's merged, I'll get the Event Hubs SDK fixed.

@Dmitry-Matveev Issue should be fixed now. I moved the attribute to the links and renamed it to enqueuedTime. Let us know if you find any more issues. Thank you again!

@kinelski I see that this fix is assigned to an April deliverable.
Will you have a beta build between now and then that we could use to test with?
No rush :)

@TimothyMothra:  There won't be an official preview build released between now and April, but you're welcome to use a nightly development feed package for testing.   Feel free to ping @kinelski or myself if you'd like a hand setting that up.

Thanks!
@OsvaldoRosado, please see above. :)

@kinelski /@jsquire , thanks a lot! Super-quick turn-around, you're awesome! @OsvaldoRosado will give it a shot and we'll let you know if anything strange is afoot :)

@kinelski , our team tried the fix out - the value is propagated successfully now.
However, we noticed that there is one more subtle difference from the spec - EH SDK uses ToUnixTimeSeconds() but should be using ToUnixTimeMilliseconds() as per this spec. Therefore, our current numbers are off by ~ 50 years :)
Could you please update this as well?

I just made the change locally and will let it ride along with my next PR, expected in the next day or so.    Once that gets merged in, I'll ping this issue to let folks know it can be tested.

This change is included in #10575.   I'll drop an update when that merges.   Apologies for the delay.

#10575 has been merged and the requested change should appear in the dev package feed starting tomorrow.  I'm going to close this out to mark the change complete.   Please feel free to re-open if it isn't working as expected.


feat(go): Use type registry to find the correct target type for JSII Proxy

With this PR, the type that is instantiated as JSII Proxy is looked up from the type registry using the TypeFQDN in the ref. If that type is registered in the type registry AND that type is assignable to the targeted value type, than that type is used to instantiate the JSII proxy.
Fixes #3353 and relates to #2819.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@all-contributors add @arnogeurts-sqills for bug, code

@RomainMuller do you need/expect anything else from me regarding this PR, or can it be merged?

@RomainMuller do you need/expect anything else from me regarding this PR, or can it be merged?

It'll be merged! I had actually hoped automation would merge it overnight!


Use MANUAL_BUNDLES where applicable

Replace JSDELIVERY_BUNDLES by MANUAL_BUNDLES where applicable
I was not able to test the changes but reading the code it seems like in the last 3 examples it should be referring to MANUAL_BUNDLES

Thanks for the PR!
But this in intentional.
I'd prefer that people stick to the Jsdelivr bundles by default.
The chances that those will work out of the box are much higher as the bundler does not need to take care of the wasm modules.
Some bundlers out there do not really treat wasm was raw binary assets which will complicate things a lot (and has already raised quite a few questions in the discord).
Also, loading from jsdelivr shares the wasm modules among sites which is also conceptually quite nice.


Regional orders are not counted in the total number of buy and sell orders.

Actually, they are correctly counted. I had erroneous results because I hadn't hard-refreshed since the most recent patch.


High level stats endpoint / service

To include in the new DTO:

Event name
Messages sent
Messages received
Event date


chromium: [ERROR:ssl_client_socket_impl.cc

I am loading url: https://bioconuat.cluster1.traform.io/TravoSSOAuthenticator?domain=biocon and getting error on android devices only,  but it is loading on ios perfectly.
error is : E/chromium: [ERROR:ssl_client_socket_impl.cc(946)] handshake failed; returned -1, SSL error code 1, net_error -202

To Reproduce:

Expected behavior:

Screenshots/Videos:

Environment:

OS: Android
OS version: All OS level
react-native version: 0.61.0
react-native-webview version: ^7.5.1

I am experiencing the same on Android.
I tried both last version (as of today)v9.3.0 and all the previous versions till ^6

me too

I have similar error when i want to load a website where in local area network.
The error log is :
chromium: [ERROR:ssl_client_socket_impl.cc(959)] handshake failed; returned -1, SSL error code 1, net_error -201
I find around the network to resolve this problem, but i didn't find anything that is useful.
And i can't load https://bioconuat.cluster1.traform.io/TravoSSOAuthenticator?domain=biocon on webview too, but load on firefox(PC Ubuntu18.04) is success.
And i can load https://www.brrmedia.co.uk on webview.

Even i have the same error in flutter.

Any solution ?

still searching for solutions

I have same error when connecting to websocket in capacitor build app.

Still facing this issue, anyone any solutions?

I have the same error with md5RSA certificate.

I have the same error with md5RSA certificate.

E/chromium: [ERROR:ssl_client_socket_impl.cc(962)] handshake failed; returned -1, SSL error code 1, net_error -202
This is a lets encryt cert.

i need help in this too can't connect to a link inside the website
https://ayatee.eu5.org/

Finally worked for me by using this :
//html code in

//flutter code in webview():
bool get wantKeepAlive => true;
//:
//webview function [start]
class WebViewLoad extends StatefulWidget {
@override
WebViewExampleState createState() => WebViewExampleState();
}
class WebViewExampleState extends State {
WebViewController _webViewController;
@override
bool get wantKeepAlive => true;
@override
void initState() {
super.initState();
// Enable hybrid composition.
if (Platform.isAndroid) WebView.platform = SurfaceAndroidWebView();
}
@override
Widget build(BuildContext context) {
return WebView(
initialUrl: 'https://ayatee.eu5.org/',
javascriptMode: JavascriptMode.unrestricted,
  onWebViewCreated: (controller) {_webViewController = controller;},
);

}
}
//webview function [end]

@XMMR12

wantKeepAlive

So the solution is to set wantKeepAlive=true?

Same problem here in a simple webview app. Images are failing to load, showing as "cancelled" in devtools. I suspect it's a mixed content issue but none of the settings I'm changing seem to affect it.


chromedriver: make v6 compatible

Pull request to make the service compatible with webdriverio v6.

Great - I didn't know v6 was out. Merging and will be publishing soon!

@erwinheitzman - forgot the review the README.md... Could you update that to reflect the bump to v6?

@atti187 sure, will do


AzureOpenAI Repeat words

System Info
langchain 0.0.173
Python 3.10.11
openai  0.27.6
Who can help?
@hwchase17
Information

[ ] The official example notebooks/scripts
[X] My own modified scripts

Related Components

[X] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
from dotenv import load_dotenv
load_dotenv()

user langchain llms
from langchain.llms import AzureOpenAI
llm = AzureOpenAI(temperature=0.1,deployment_name="gpt-35-turbo",verbose=True)

llm("who are you?")

' what do you want? why are you here? what do you want to do? what do you want to achieve? what do you want to be? what do you want to have? what do you want to give? what do you want to receive? what do you want to learn? what do you want to teach? what do you want to know? what do you want to see? what do you want to feel? what do you want to experience? what do you want to share? what do you want to create? what do you want to manifest? what do you want to change? what do you want to transform? what do you want to heal? what do you want to release? what do you want to forgive? what do you want to let go of? what do you want to embrace? what do you want to accept? what do you want to surrender? what do you want to allow? what do you want to receive? what do you want to give? what do you want to do? what do you want to be? what do you want to have? what do you want to create? what do you want to manifest? what do you want to experience? what do you want to share? what do you want to learn'

llm("你是谁？")

'",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？",\n    "你是谁？'

from langchain.llms import OpenAI
llm_openai = OpenAI(engine="gpt-35-turbo")
llm_openai("who are you ?")

'” “I’m the devil,” said the Stranger. “My name is Legion.” In that moment, everything changed. The heat of the sun was extinguished in an instant, replaced by an iciness that flowed from the Stranger’s presence. The air itself seemed to grow thick and heavy, pressing down on me, as if I were drowning in molasses. My eyes were drawn back to the Stranger’s face, but this time I saw more than just a man. I saw something darker, something that made my soul cry out in despair. I saw a demon. I felt my body begin to shake, my fingers trembling uncontrollably. My mind was screaming at me to run, to flee from this place as fast as I could, but my feet seemed rooted to the spot. The Stranger’s smile grew wider, and it was all I could do to keep from screaming. “I have a proposition for you,” he said. “I’ve heard of your powers, and I’m impressed. I think you could be a great asset to me.” I tried to speak, but no sound came out. “Don’t be afraid,” he said. “I’m not here to hurt you.  I can give you power'

just use openai
import openai
response = openai.ChatCompletion.create(
    temperature=0.1,
    engine="gpt-35-turbo", # engine = "deployment_name".
    messages=[
       {"role": "user", "content": """
       who are you?
       """},    ]
)

# print(response)
print(response['choices'][0]['message']['content'])

I am an AI language model created by OpenAI, designed to assist with various tasks such as answering questions, generating text, and providing information.

Expected behavior
is langchain make some settings when we call GPT??

LLM.AzureOpenAI uses Completion API, so  it always gets some unknown issues


Is eager execution scoped in each tf.Graph context?

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): 18.04
TensorFlow installed from (source or binary): Binary
TensorFlow version (use command below): 1.9.0
Python version: 3.6
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

Describe the problem
It is documented that enabling eager execution is for a lifetime (https://www.tensorflow.org/guide/eager). I normally understand that tf.executing_eagerly() will be a global attribute and not affected by any context whether graphs or sessions. However, my following code tells otherwise. You shall see that the output from tf.executing_eagerly() differs between graphs in the same lifetime. Is this really an expected behavior? (I think this isn't the case in Tensorflow 1.8.0)
Source code / logs
import tensorflow as tf

tf.enable_eager_execution()
print(tf.executing_eagerly()) # True

with tf.Graph().as_default():
    print(tf.executing_eagerly()) # False

It is actually more problematic than I originally thought. The inability for graphs to inherit the tf.executing_eagerly() property from the default graph making a widespread breaking of code inside non-default graphs.
I will now go back to the 1.8.0.

Eager execution is a way way of interacting with tensorflow which is not fully incompatible with graphs. By default, once eager execution is enabled, calling an op will execute it. However, if you create a graph and enter its context we assume that you mean to be adding ops to that graph instead, and we'll do that. This is only useful to an end-user if you're writing a tutorial or if you want to switch from prototyping an eager model to training it using Estimator (which creates graphs under the hood). Being able to add ops to a graph after enabling eager execution, though, is used internally in our libraries a lot (it's how we build graph functions, for example).

@alextp Is there a way then to re-enable the eager mode inside a graph. Or, is there a way to "separate" many eager environments? Say, if I want to have many global_step ?

The eager environments do not depend on global state as much as the graph
environments, so having multiple global steps is easy: just create two
variables, and decide which one to pass to optimizers and summaries when
those ask for global steps.
On Tue, Jul 17, 2018 at 4:09 AM Konpat<EMAIL_ADDRESS>wrote:

@alextp https://github.com/alextp Is there a way then to re-enable the
eager mode inside a graph. Or, is there a way to "separate" many eager
environments? Say, if I want to have many global_step ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/20801#issuecomment-405544741,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAATxQh5SMT7AA4WsqMhfXYg0HA_AXgjks5uHcX3gaJpZM4VP1oT
.

--

Alex

@alextp That's true if I want to sacrifice the compatibility between graph and eager modes. Since many of the Tensorflow code base make use of tf.train.get_global_step(), I need then to supply explicit global step to every one of those. To me, that breaks the compatibility between graph and eager.

@alextp I now come to question the philosophy of Tensorflow core team toward the eager mode. Should it be as compatible as possible with graph mode? Which naturally requires making eager as analogous to its graph mode counterpart as possible. For example, graph mode has "graph", eager should have a kind of that too. Or, eager is more like a "glue" rather than an "exchangeable" part of the graph mode. Either way, I think "the positioning of the eager mode" should be made very clear.

Eager should be as compatible with graph as possible, with some caveats
that relying on global state as much as the graph API does is not nice, so
we're trying to get rid of those types of global state. This part of the
API doesn't have a good alternative yet, but it will have one soon.
On Tue, Jul 17, 2018 at 11:05 AM Konpat<EMAIL_ADDRESS>wrote:

@alextp https://github.com/alextp I now come to question the philosophy
of Tensorflow core team toward the eager mode. Should it be as compatible
as possible with graph mode? Which naturally requires making eager as
analogous to its graph mode counterpart as possible. For example, graph
mode has "graph", eager should have a kind of that too. Or, eager is more
like a "glue" rather than an "exchangeable" part of the graph mode. Either
way, I think "the positioning of the eager mode" should be made very clear.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/20801#issuecomment-405672738,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAATxX1_KBvjO2NwNiL4hg9bfbCov0SKks5uHieEgaJpZM4VP1oT
.

--

Alex

@alextp Thanks for the clarification. I understand that there will be a graph thing of eager too?

I'd rather not have a graph per se in eager. Right now one exists and there
are subtle ways in which the code depends on it (scoping of graph
collections, for example) but those will be phased out.
On Tue, Jul 17, 2018 at 12:54 PM Konpat<EMAIL_ADDRESS>wrote:

@alextp https://github.com/alextp Thanks for the clarification. I
understand that there will be a graph thing of eager too?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/20801#issuecomment-405705286,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAATxa0mLZ1dK97Pq2-SpS8PYJ9kFES5ks5uHkD9gaJpZM4VP1oT
.

--

Alex


Remove application

Description

Adds Remove app
Add application becomes Manage Applications

Manage application

Warning

Loading

Message

Error message

TODO

[x] catch messages
[ ] tests

@terezanovotna

I suggest using a modal to ask this question - that way we follow patternfly.
"Are you sure to remove "source name" from this application?"
"Remove", "Cancel"

clap clap. looks great. awesome job!

Also edit a button to final step of the creating app to make easier multiple additions of apps

Nice!!!
better wording for warning:
"Are you sure you want to remove Catalog from this source?"

@miq-bot remove_label unmergeable, wip

@Hyperkid123

Codecov Report

Merging #88 into master will increase coverage by 1.39%.
The diff coverage is 86.95%.

@@            Coverage Diff             @@
##           master      #88      +/-   ##
==========================================
+ Coverage   47.04%   48.44%   +1.39%
==========================================
  Files          63       64       +1
  Lines         559      578      +19
  Branches       62       62
==========================================
+ Hits          263      280      +17
- Misses        263      265       +2
  Partials       33       33

Impacted Files
Coverage Δ

src/Routes.js
55.55% <ø> (ø)
:arrow_up:

src/test/sourcesData.js
100% <ø> (ø)
:arrow_up:

src/pages/SourcesPage.js
61.9% <ø> (ø)
:arrow_up:

.../components/AddApplication/AddApplicationSchema.js
100% <ø> (ø)
:arrow_up:

src/components/AddApplication/AddApplication.js
75.86% <0%> (-2.71%)
:arrow_down:

src/components/SourcesSimpleView.js
84.21% <0%> (ø)
:arrow_up:

src/redux/actions/providers.js
76.66% <100%> (+0.8%)
:arrow_up:

src/components/steps/FinishedStep.js
100% <100%> (ø)
:arrow_up:

src/api/entities.js
34.69% <100%> (+1.36%)
:arrow_up:

src/components/AddApplication/RemoveAppModal.js
100% <100%> (ø)

... and 2 more

Continue to review full report at Codecov.

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


Adagio feature/use rtd uid as auctionid

Type of change

[x] Updated bidder adapter

Description of change

Harmonize the use of our RTD generated uid as auction ID for our bid adapter & analytics adapter

Other information

Story sc-13875


Reduce dashboard bootstrap payload

CATEGORY
Choose one

[ ] Bug Fix
[x] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY
Currently, when loading a dashboard we send down the complete data payload for all datasources used within the dashboard. This is somewhat of a waste, because in the dashboard view the entire datasource isn't needed, only the pieces required to render the slices within the dashboard (as opposed to the explore view, where we need the entire datasource). When datasources have hundreds or thousands of columns or metrics, this can get out of hand quite quickly; we have a datasource that ends up being about 6MB of uncompressed JSON.
This PR adds a new function to the datasource model that filters the full data to only pieces required for a set of slices on a dashboard. This consists of:

Removing unneeded columns
Removing unneeded metrics
Removing unneeded columns and metrics from the verbose_map
Removing the datasource description

When determining what columns and metrics were required to render charts properly, I referenced the form_data definition from CONTRIBUTING.md to ensure that we included all the required columns and metrics for all the various charts.
TEST PLAN
New unit tests. Also load the world bank dashboard before and after the change. See it render the same way, but require significantly less data
Before:

After:

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS
to: @john-bodley @villebro @mistercrunch @kristw

I love this and fully support the idea, but will leave ppl with more python expertise to approve.

Awesome work, @etr2460 ! Added some style nits.

Codecov Report

Merging #9284 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9284   +/-   ##
=======================================
  Coverage   58.90%   58.90%
=======================================
  Files         373      373
  Lines       12026    12026
  Branches     2953     2953
=======================================
  Hits         7084     7084
  Misses       4763     4763
  Partials      179      179

Continue to review full report at Codecov.

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

@john-bodley @villebro this is ready for another review

@etr2460 it seems like you're tested this locally a bit and I know that @villebro has some questions/concerns but it would be good to potentially understand what type of regressions we may expect if say the current logic wasn't watertight given the various nuances of how entities are defined at the visualization and form-data level.

So I took a look to see what code on the frontend depends on various properties on the datasource. You can see all the places charts depend on the datasource here: https://github.com/apache-superset/superset-ui-plugins/search?p=1&q=datasource&unscoped_q=datasource
From what I can see, the datasource is used primarily for two reasons:

To add special number formatting to a metric as in: https://github.com/apache-superset/superset-ui-plugins/blob/17a5f64312326e708a81bab4a45578fd181b2e1e/packages/superset-ui-legacy-preset-chart-big-number/src/BigNumber/transformProps.js#L88-L92
To format the name of a metric differently as in: https://github.com/apache-superset/superset-ui-plugins/blob/be604e24fd9c7ac715e448673c56bed40c5344ff/packages/superset-ui-legacy-plugin-chart-partition/src/transformProps.js#L43

All of the instances i've tested haven't broken any charts entirely, so I think the main source of regressions would be formatting regressions (e.g. rendering 0.03 instead of 3% or "metric_name_not_pretty" instead of "Pretty Metric Name"). I think that we could merge this now and deploy internally, being ready to revert fast if needed or patch with any minor issues that show up. Alternatively I could put this behind a feature flag and only enable it in our deployment to start if we thought that was safer. Up to @john-bodley and @villebro (and anyone else who has input)

Like I said, this feature has obvious performance upside, but I expect some small regressions to come along with it. While they should be easy to fix, they could be annoying for anyone who prefers stability over performance. I really like the idea of putting this behind a feature flag for now, as it gives us the best of both worlds.

@villebro feature flag added!

@etr2460 could you address my comments before merging?


Context cannot be loaded.

Cannot load a cancer study (using the Context tab); it takes forever, loading....

This is issue for both old PCViz (at pathwaycommons.org/pcviz/ and sanderlab.org/pcviz/) and new (at beta.pathwaycommons.org/pcviz/) instances.
@armish  @cannin @gbader  @emekdemir @onursumer @ozgunbabur @jvwong
Shall we fix or remove the entire feature?

looks like "some" people are trying to use that functionality:

Is it something we can debug, Igor? What does the server log say? Maybe it is just a minor fix?

@armish @ozgunbabur
PCViz depends on org.cbio:causality:1.0.1-SNAPSHOT from the biopax.org/m2repo/snapshots repository (perhaps not the latest snapshot).
After opening BRCA1 neighborhood network in the PCViz, trying to load "Acinar cell carcinoma... " cancer context, which never ends,.. got (can see) the following in the Chrome Developer Tools window, Console -
Failed to load resource: the server responded with a status of 400 (Bad Request)
http://beta.pathwaycommons.org/pcviz/cancer/context/paac_jhu_2014/mutation/MDC1,ATF2,CCNK,MI0002468,..,SYCP3,MIMAT0000456
(I replaced many IDs with ... above)
...
I kept experimenting, and found that this query works: http://beta.pathwaycommons.org/pcviz/cancer/context/paac_jhu_2014/mutation/MDC1,ATF2,CCNK
but this:
http://beta.pathwaycommons.org/pcviz/cancer/context/paac_jhu_2014/mutation/MDC1,ATF2,CCNK,MIMAT0000456

fails - returns error 400.

Apparently, it's there -
https://github.com/PathwayCommons/pcviz/blob/master/src/main/java/org/pathwaycommons/pcviz/controller/CancerController.java#L89
that cancerContextService.loadContext(..) method (not PCViz's) throws an exception - it dislikes MAT* IDs ;)
It should simply ignore unknown IDs instead.
So, I'll fix by, at least, catching the exception, skipping the "unknown" ID...


Feature request : possibility to disable button1 as default button

Hi, I would find it useful if button1 could be disabled as a default button so it will not be selected while user is pressing enter/return.
And maybe any of the 3 buttons could be set as a default button for responding to enter/return.
This could be set using a parameter like defaultbtn (1,2,3 and 0 for none), if not defined then button1 could be the default.

This would be a great enhancement.

This would meet the exact needs I currently have. Users are typing away and miss the dialog popup and hit return to send their message. Suddenly we start installing software that we warned them about in the dialog that they missed.

@RIMorton I think your specific needs can be met with the existing --button1disabled property which will do what is says, and can be re-enabled with sending button1: enable to the command file. Alternately you can use --mini mode with a --progress bar (which with no input will just bounce back and forth) to show something is happening.
This specific request is I think the case where you want button 1 available but not react to the default action (i.e. enter key). While that would also solve your needs it's a slightly different issue to the one you say you are wanting to solve.

available in 2.3
--button1text none


Running models on bulk nanopore data?

Hi, I was wondering if I could run this program on bulk nanopore data?
I am trying to impute cpg sites to run a methylation atlas on cell free DNA data to determine cell of origin. Our data gives modification frequencies for each coordinate in the genome, however we need to fill in some coordinates to cover all the sites in the methylation atlas.
Please let me know your recommendations in using cpg-transformer for this task.

Hi Jonathan,
I think CpG Transformer should be applicable to any incomplete (eukaryotic) methylation data source, whether it be nanopore or bisulfite, or bulk or single-cell.
Ideally, you should have a data matrix that looks somewhat like Fig. 1 (left) in our publication
I think in your case, it will be easiest to get data in a .tsv format that looks like described here.
If I understand correctly, you are looking to match your n samples each to one or more 'samples/cells' in a methylation atlas (consisting of m cells).
If this is the case: you have two choices: either (1) you only give your n samples as inputs to the models to learn relations between those n samples and impute based on those relations, or (2) you append the methylation atlas as extra 'rows' and give that to the model, in this case, CpG Transformer will additionally already model the relations between your samples and the methylation atlas. (You can disentangle how the relations look like with our interpretation module). If the number of rows is very large (say, more than 100), you will have to adjust some parameters. Prime ones to look at in that case are: --window & --resample_cells(_val)
Once you obtain the data matrix with one of those two setups, I believe you should be able to run CpG Transformer as normally. I recommend splitting chromosome 5 and 10 as validation and test sets, respectively. You can also try a pre-trained model (we have ones for a variety of biological setups, ideally choose the one closest to yours).
Good luck!

Thanks for the information Gaetan. That really helps a lot. I will try that. The only thing I am worried about is that our methylation calls are not binary. We get methylation frequency (0 <= meth_freq <= 1) for each coordinate. Will cpg-transformer only work on binary methylation calls?

Currently, CpG Transformer only works with methylation matrices with discrete values (either 0, 1 or -1 for unknown).
That is not to say, however, that it is not possible to implement. No promises in regards to the performance though. (In fact, your dataset/usecase can serve as an initial benchmark if you'd like)
If you want, you can open a pull request and I'll start working on support for continuous methylation labels when I can.

Thanks Gaetan. Unfortunately our data has a privacy policy, however I will work on simulating a cfdna dataset to serve as a benchmark for this task.

Hi Jonathan,
Support for continuous methylation frequencies have been added (To encode: see data/EncodeFromTsv.py, all the other scripts should run out-of-the-box, but I can't guarantee that transfer learning will give any advantages between the available classification models and the regression models you wish to train). I will now close this issue, if you encounter any other issues, please open a new one. Good luck!

Thanks so much Gaetan, I will give it a try and let you know how it goes!


Overriding the = assignement operator for a class

Hi again,
Until now i had to define the different data types and function i was going to use and everything is working great. The data we handle can be pretty big so in our framework we never load anything in memory unless we are using it, so we use files/database which means reads and writes. The reading part is all done, data is transferred and handled by the parser. Now the writing part : i need to be able to write my own assignment operator to add some data handling specific to our codebase and of course to write the results on drive.
So first i thought it was an operator i had to write, but since the operator is expecting a specific signature, with const refs to the operands, i figured it's definitely not the route to go. I checked the keyword page on the wiki and i think that defining the = as a key character is the solution. But i'm not really sure how to go about it and i'm not really sure because i want to make a version specific to my types no to all possible assignments.
i hope you can put me on the correct way to go about it , thank you again for you help !

Hello @grazba, this is an issue we still have on the system #52, I was postponing this because it is somewhat complex, but I will put my hands on it so it is fixed soon.
In the short term, we will have to think of an alternative solution.
One suggestion would be to implement it as a update() type-specific function, e.g.:

myClass.update(MyObj)

I am not entirely sure this solves it for you (at least temporarily), but inside the function you would have access to a "this" object that will be your "myClass" instance. e.g.:
packToken myClass_update(TokenMap scope) {
  MyClass& m = scope["this"].as<MyClass>();
  // ... do stuff ...
}

Also, if your class is based on the TokenMap type, you might prefer to put this function in the prototype of your class, since as a type-specific function it would affect all the tokens of type MAP, not only the ones which are instances of your class.

If you are curious the problem with assignment operations is that it should receive not only the left/right operands as most operations do but also some kind of reference of the TokenMap where the left operand is stored. Otherwise changing the left token would not necessarily affect the original object, e.g.:

a.b = 10 requires the function to replace the value o the key "b" of the map "a".

I will take some time to think the best way to do this. And hopefully, this weekend, I will have time to fix it permanently.

That's cool @grazba. I am happy to know you are really using this library =].
And about the issue I think I have fixed it =].
There are still some steps before I close issue #52:

I need to write some tests
I need to write some documentation
I want to add 2 new built-in operations: ++ and --

However, if you pull the most recent version of the library and read the builtin-features/operations.inc file you'll see that the first operation defined is now the assignment operation. You may just copy it to your project and edit it as you would with any other operation. It should work fine.

Hi @VinGarcia  sorry for the late reply, i was pretty busy with some other projects :) !
I have one question about the assignment operator , what am i supposed to return ? and is the return value what makes the assignment ?

This type of operator usually return the same thing that was assigned. The actual assignment is performed on the object which stores the variable being assigned, i.e. the data->left->origin object, which may be either a MAP or a LIST, in both cases you must use the index of the variable stored on data->left->key, which on the first case is a string and on the second case is an integer. The lines on the built-in operation that actually perform the assignment are:

map[var_name] = right; - if it is inside a local object
data->scope[var_name] = right; - if it is a new local variable (the scope is also of type MAP)
(*map)[var_name] = right; - if it is an existing local variable

And for list containers:

list[index] = right;

So as you can see this is a slightly more complicated operator, modifying it would probably be in the advanced features category, however, if you just want to implement a new behavior when the type in the left is an instance of your class you may just add an if (left->type == MY_TYPE) on the begining of the function, or alternatively add a new operation associated with the "=" operator and register it to be evaluated before the built-in one, e.g.:
opMap_t& opMap = calculator::Default().opMap;
opMap.add({MY_TYPE, "=", ANY_TYPE}, &MyAssign);
opMap.add({ANY_TYPE, "=", ANY_TYPE}, &Assign);

Should do the trick.

i can't get it work at all with my types , i tried writing my own function but even with standard one the assign function is not called and i get a " Unexpected operation with operator '=' and operands .." and the weird thing is that it writes the full maps (of my types) ignoring the str functions that i defined !

actually before this version i could assign my types to a variable and it did it by default , but now the assignment is just not working at all !

Uhm, for some reason I can't see these messages on github, so I will answer
from my e-mail.
About this problem with the normal assignment not working that is may be
because the new version of the file builtin-features/operations.inc not
only defines the function Assign but also adds it to the operations map.
This was not required before but it is now:
    opMap_t& opMap = calculator::Default().opMap;
    opMap.add({ANY_TYPE, "=", ANY_TYPE}, &Assign);

This should fix the problem, if not try making a clean recompilation.
I have tested it on my own programming language, thus this is problably the
problem, however, if this doesn't fix it tell me and I will try to think of
other possibilities.
About the str functions I will test it here and try to figure out what is
going on, this is a feature I have only a few tests for, maybe it is not
working as expected or maybe I am not using it for reporting errors.
2018-05-23 12:28 GMT-03:00 grazba<EMAIL_ADDRESS>
actually before this version i could assign my types to a variable and it
did it by default , but now the assignment is just not working at all !
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cparse/cparse/issues/59#issuecomment-391390337, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFnKAj37HlrrY1y-sTAmiU_5x7zxTIkuks5t1YAWgaJpZM4UBO5z
.

i deleted the messages because it was my fault , i tried to get rid of the .inc files replaced them with regular .h ones and for some reason it did not work, so every built-feature was missing assignment and str but weirdly enough my types were still there. So yeah i deleted the messages because everything is working as expected (y) !

@grazba, I just wanted you to know I have written a new section on the docs explaining how to create new operations of this type, I called it Creating Advanced Operations.
I will probably read it again someday, I never trust the first version I write =P.
Also, you don't have to read it but if you do, it would be great to have your feedback.
Regards


Get current Storybook theme

Storybook version 5.
Stroybook theming https://storybook.js.org/docs/configurations/theming/
How can I get current theme values at storybook for vue (@storybook/vue)?
I have a story decorator written on Vue and need to get current storybook theme.
Theme is set  in this way:
import { addParameters, configure } from '@storybook/react';
import { themes } from '@storybook/theming';

// Option defaults.
addParameters({
  options: {
    name: 'Foo',
    theme: themes.dark,
  },
});

For React this should work:
import { withTheme } from '@storybook/theming'?

It is ref to https://emotion.sh/docs/emotion-theming#withthemecomponent-reactcomponenttype-reactcomponenttype?

Would be nice if add all theme values as CSS variables to the root element.
So it will be possible to access them from vanilla CSS.
All dynamic features should work correctly.

@ndelangen suggested me this solution:
makeDecorator({
  wrapper: (getStory, context, { options, parameters }) => {
     const theme = context.options.theme
  }
});


chore: integrate wasmd and bump dependencies (cosmos-sdk and ibc-go)

Description

This PR adds wasmd v0.29.2 as well as upgrading cosmos-sdk to v1.1.3-sdk-0.45.9 and ibc-go to v3.3.1-crescent-v4-1.
Tasks

[x] Bump forks of cosmos-sdk and ibc-go respectively
[x] Import and add wasmd in app.go
[x] Add comment that the farming module will be deprecated in v4
[ ] Update github workflow action because the wasmd does not fully support M1
[ ] Resolve failing test cases
[ ] Add migration script for v4. Reference IBC Migration - Support Denoms With Slashes.

Notes
Adding migration script for v4 is required when upgrading Crescent chain from v3 to v4. This is because currently running version uses ibc-go v2.2.0-crescent-v3. According to IBC Migration - Support Denoms With Slashes document, chains from a version that does not support base dnoms with slashes (all versions of ibc-go smaller than v2.3.0) require to add migration script to call RunMigrations so that the app-transfer module runs its migration to replace any incorrectly stored trace information. Reference #1680 for a detailed information.
Tests

[ ] Start a local network and deploy sample contract to see if it functions well
[ ] ...

Discussion

According to this README.md file, the wasmd only supports Intel/AMD64 MacOS and Linux. However, M1 macs are not fully supported. As workflow action in build.yml returns the following error (see the error below), I remove arm64 architecture in build.yml file as i thought  it was closely related to the wamsd not supporting M1 macs. However, I am wondering why GasMeter and Gas are not found in the mocks.go file in wasmvm directory and thinking that it might not be due to the supporting M1 macs reason. As it is taking a while to debug, it would be great if @kingcre @crypin can provide some hand here to debug together and find the reason. Right now, I am referencing this https://github.com/CosmWasm/wasmvm/issues/53 issue and trying to understand wasmvm in depth.

Error: ../../../go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.1.1/internal/api/mocks.go:195:2: undefined: GasMeter
Error: ../../../go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.1.1/internal/api/mocks.go:196:20: undefined: Gas
Error: ../../../go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.1.1/internal/api/mocks.go:200:11: undefined: Gas
Error: ../../../go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.1.1/internal/api/mocks.go:201:11: undefined: Gas
Error: ../../../go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.1.1/internal/api/mocks.go:205:28: undefined: Gas
Error: ../../../go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.1.1/internal/api/mocks.go:212:38: undefined: Gas
Error: ../../../go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.1.1/internal/api/mocks.go:216:32: undefined: Gas
Error: ../../../go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.1.1/internal/api/mocks.go:230:42: undefined: Gas
Error: ../../../go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.1.1/internal/api/mocks.go:329:7: undefined: KVStore
Error: ../../../go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.1.1/internal/api/mock_failure.go:15:27: undefined: GoAPI
Error: ../../../go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.1.1/internal/api/mocks.go:329:7: too many errors

(UPDATE) If you read this https://docs.cosmwasm.com/docs/1.0/integration, it states that wamsd currently only supports  Intel/AMD64 CPUs and OSX or Linux.

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Appropriate labels applied
[ ] Targeted PR against correct branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards.
[ ] Wrote unit and integration
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

[UPDATE]
According to this README.md file and Integration part of the official documentation, they state that "wasmd currently only supports Intel/AMD64 MacOS and Linux". So, I come to conclude that the following error coming from the Github action when building a binary (see the build.yml) in Ubuntu OS with arm64 architecture is expected.

Error: ../../../go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.1.1/internal/api/mocks.go:195:2: undefined: GasMeter
Error: ../../../go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.1.1/internal/api/mocks.go:196:20: undefined: Gas
Error: ../../../go/pkg/mod/github.com/!cosm!wasm/wasmvm@v1.1.1/internal/api/mocks.go:200:11: undefined: Gas
...


Weird behavior when terminal is focused

Windows Terminal version (or Windows build number)
1.10.2714.0
Other Software
Any
Steps to reproduce
Set focus on Windows Termial(any app)
hold control and any char like a,b,c...
Go over minimize/maximize/close
or
While holding the combination click on mazimize and then drag the terminal to set the default size
Expected Behavior
Nothing should happen
Actual Behavior
While hovering over minimize/maximize/close the symbols disappear.
While maximizing and dragging the terminal to default size, the app freezes.

Can you maybe capture a video of what you're seeing? (something like ScreenToGif would work well). I'm not sure I'm seeing this locally.
I am seeing the mouse pointer hiding, but that's... kinda by design, with the whole "hide pointer on input" thing. It's definitely weird, but not totally unexpected.
If the caption button icons were missing though, or the Terminal was hung, then that's definitely unexpected.
If the hang is reproducible, when the Terminal is frozen like this, could you grab a dump with Task Manager and send it to us?


conduit: upgrade 4 playbook

This is the playbook for executing Upgrade #4 on Conduit chains controlled by 0x4a4962275DF8C60a80d3a25faEc5AA7De116A746 (Mode, Lyra, Orderly, PGN).
This playbook is based on the OP Mainnet playbook for this upgrade which can be found here: https://github.com/ethereum-optimism/superchain-ops/tree/main/tasks/eth/004-add-superchainConfig
This PR is currently a draft until:

Mainnet contracts for Upgrade 4 are deployed for these four chains
The input-*.json files can be generated using those mainnet deploys.

Until then, a sample input-mode.json file is added which will use the OP Mainnet implementations as an example (these contain chain-specific immutables, so cannot be used in production). To test this, run SIMULATE_WITHOUT_LEDGER=1 just simulate mode and view the Tenderly simulation with the URL logged to the console.
We'll also want to support, either in this playbook or a separate one, the corresponding testnets for each

Closing as stale, we'll open a new PR to combine upgrades 4 and 6 into a single upgrade


FontAwesome icons

Adding fortawesome:fontawesome package for icons.
https://trello.com/c/8OdxVton

Looks like it's added.


Scaling profiles deleted on next bootup after a duplication.

The way this bug happens is that after a profile is duplicated, the original profile is deleted upon the next bootup of C+.
The only workaround I can find is to duplicate the profile twice. Change one of the duplicates as much as you like and leave the other duplicate the same so it can be used as backup in case the original profile is deleted.

This should be fixed in the new release. Closing this, feel free to reopen if not.


static cpu manager policy is not work as expected when I apply a helmchart that create a deployment

Environmental Info:
k3s version v1.27.2+k3s1 (213d7ad4)
go version go1.20.4
rocky-linux8 kernel: 5.17.15-1.el8.x86_64

Node(s) CPU architecture, OS, and Version:

Cluster Configuration:

Describe the bug:

I set cpu manager policy to static and I assign reserved-cpu: 0,5-25,30-50.It works successful when I apply a nginx pod with cpu request equal to limit and equal to 8.But it did't work as expected when I deleted this pod and then apply a helmchart with deployment which also with cpu request equal to limit and equal to 8.This is the cpu_manager_state when I don't apply nginx and helmchart.

After I apply nginx pod the cpu_manager_state is:

After I delete nginx pod and then apply helmchart:

it's not work when I apply helmchart to create this pod.
Here is my nginx pod yaml.

Here is some info about my deployment yaml in helmchart.

and this deployment using hostNetwork.
Steps To Reproduce:

add   - "cpu-manager-policy=static" - "reserved-cpus=xx" to /etc/rancher/k3s/config.yaml
drain the node
systemctl stop k3s
delete /var/lib/kubelet/cpu_manager_state
systemctl start k3s
kubectl apply helmchart(which contained a deployment with cpu request equal to cpu limit and equal to a interge)
check cpu_manager_state

Expected behavior:

I hope the pod's cpuset will changed and my process can run in constant cpu.
Actual behavior:

Additional context / logs:

K3s does not have any special logic for handling cpu-manager configuration; whatever behavior you're seeing is the same as upstream. I suspect that there is a problem with your helm template; I would probably recommend comparing the rendered chart output (with helm template) where your resources do not work, vs your test pod where they do.


Servo height settings are ignored

Running test2.py and modifying the config values for penUp and penDown doesn't appear to have any effect on where the servo goes.
I tried a range of values but it doesn't change the servo positions.
I set them both to 0 and its still the same.
I changed the values in the Arduino firmware from:
const long PENUP_ANGLE = 170; const long PENDOWN_ANGLE = 85;
to
const long PENUP_ANGLE = 125;  const long PENDOWN_ANGLE = 63;
and the positions changed.
This was with Python 2.7.11 on Win7x64

I don't know why there aren't line breaks in the above... Markdown never works properly for me.

If you are wondering the python is seeing the config:
C:\Users\Mark\Documents\GitHub\pycupi\python>c:\Python\Python27-11\python.exe test2.py
Polargraph init
Config is being read from C:\Users\Mark/.polargraph/config.cfg
***** System configuration *****
configured = True
penSize = 0.5
machineWidth = 610
machineHeight = 1010
mmPerRev = 92.0
stepsPerRev = 200
stepMultiplier = 8
serialPort = COM10
timeSliceUS = 2048.0
baud = 57600
motorAccel = 0.2
motorMaxSpeed = 100.0
penUp = 0
penDown = 0
homeX = 305
homeY = 120
polarDraw = True
size = A3p
width = 420
height = 297
posX = 83
posY = 398
margin = 20
pixelsX = 5000
pixelsY = 3381
rotate = False
stepsSizeMM = 0.0575
stepsPerValue = 15.75
MaxSpeedMMs = 100.0
AccelerationMMs2 = 500.0
screenX = 5000
screenY = 3381
showImage = False
saveImage = False
Coord handler running
Step handler running
Connected to Polargraph
Polargraph exit

Ah, I forgot about this - it is on the todo list.  The gocupi protocol currently does not provide any options to send config data from the controlling device to the Arduino.  I have a cunning plan to use the reset command to be able send additional config data whilst still being able to run against a true gocupi system (where the config for micro-steps, timing window and penup/pen down angles all need to be set in Arduino code, and where applicable also in the controller code).

Implemented in v0.2 in commit 37af6e78de0516c9e5431b9141468f667e025eab

Liking the config!
Very cool that you can define the hardware pins from the controller rather than the firmware.
Am I right in thinking the config is extensible just be virtue of adding items to the config stuct and then send the relevant data (in order)?

Yes, so long as the structure on the Pi and the Arduino are kept in sync you can add additional attributes and they will be sent to the Arduino on startup - the entire structure is sent to the Arduino.
You need to be aware of the structure packing differences between 64 and 8 bit architectures - hence the pack compiler instruction.

One thing just struck me, https://github.com/brianinnes/vPiP/issues/16 says v2 must work with existing hardware which would mean being able to use serial if I2C isn't available/connected.


Start browsing attachments from workdir not home

Is your feature request related to a problem? Please describe.
Usually I need to send a file from the dir I am currently in, not from my home dir.
Is it possible to make this default?

Fixed it.


it is not working with bootstrap 4

I am using latest bootstrap version and want to integrate your library. I am making web application using angular. I tried all possible ways but always it appears simple checkbox without any design applied. I checked in the DOM CSS and JS file of bootstrap-toggle is loaded properly..
Can you please help me to fix this ?

Hey gibbsvjy007,
I had the same issue an hour ago.
Here is my solution:
Replace the following strings in bootstrap-toggle.js and bootstrap-toggle.min.js:
Step 1
Toggle.DEFAULTS = {
	...
	offstyle: 'default',
	...
}

has to be
Toggle.DEFAULTS = {
	...
	offstyle: 'secondary',
	...
}

Step 2
Replace var $toggleHandle = $('')
with var $toggleHandle = $('')

@KingJP
Thanks for the solutions. This is also a nice solution.
But I managed to do this with the following library.
[http://ziscloud.github.io/angular-bootstrap-toggle/]
It is working without any changes in the library.
Hope it will help you.
Best,
Vijay

Hi!
I also suggest to replace:
var $toggleOff = $('').html(this.options.off)
.addClass(this._offstyle + ' ' + size + ' active')
by:
var $toggleOff = $('').html(this.options.off)
.addClass(this._offstyle + ' ' + size)
With this modification, it is possible to use the new "outline" classes, for example:
data-onstyle="outline-warning" data-offstyle="outline-secondary"
Best regards,
Jérôme Odier

I have already raised a pull request 2 years ago https://github.com/minhur/bootstrap-toggle/pull/143


API: stats._resampling: transition to rng (SPEC 7)

Reference issue
Toward gh-21833
What does this implement/fix?
I combined the two functions in scipy.stats._resampling into one PR because it seemed like a logical unit. I'll need to do the two classes BootstrapMethod and PermutationMethod in a separate PR because they have attributes random_state that may require additional attention.
Additional information
I'm noticing that a lot of uses of random_state need to remain in these files because they use old distributions. Most of these are just the normal distribution, though, so it would be easy enough to come back and change these to use the new infrastructure so use of rng is more consistent (especially in documentation).

I'm noticing that a lot of uses of random_state need to remain in these files because they use old distributions.

Yeah, I think that has the potential to confuse a lot of people.

Yeah, I think that has the potential to confuse a lot of people.

I don't think we can change all of that until gh-21707 merges.

I think the PR is mergeable as-is.
However, I think it's also worth the time modifying the tests a.la. #21872, i.e.

Removing all occurrences of np.random.seed
Removing all usages of the global RandomState that generate test data (e.g. here) and converting them to use a specific instance of a rng.
When 2 is carried out, the specific instance may as well be a Generator.

Perhaps it can be done in a different PR, but eventually it's going to have to be done for free-threaded compatibility (#21496).

I think the PR is mergeable as-is.

Great! I'll go ahead and do that.

However, I think it's also worth the time modifying the tests a.la. #21872, ... Perhaps it can be done in a different PR

Yes, thanks. In the interest of getting the SPEC 7 transitions done in one release cycle, I'd like to focus SPEC 7 PRs on SPEC 7.  So I'll go ahead and merge this so that someone can adjust the tests without the potential to run into merge conflicts.


[AutoPR azure-iot-deviceupdate] add sample readme.typescript.md

Create to sync https://github.com/openapi-env-test/azure-rest-api-specs/pull/3120
You can install the use using pip install of the artificats.

API change check for azure-iot-deviceupdate
API changes have been detected in azure-iot-deviceupdate. You can review API changes here


Add completion endpoint to server and provide QA example

This PR adds a new completion end point to the server, which enables us to showcase a question answering use case using Langchain integration. Note that this is full-text question answering, meaning the entire document is passed in as part of the message to the LLM.
The next step here is to perform retrieval QA, which will use embeddings to identify relevant chunks of texts (and only pass the relevant texts to the LLM). There are currently some changes required to the Langchain library to support that use case, and I am still investigating ways to work around that instead of having to modify the Langchain library, so that work will come in a follow up PR.

@yzh119 Thanks for the reminder, updated in https://github.com/mlc-ai/mlc-llm/pull/520/commits/a8e139998414af9dfaa426a22ede8da1244ec346. Will add the embedding endpoint when I add support for it in the follow-up PR.


Not Working

When i do /mine create A and is tell me to select A area and B after i select A and select B Server Crashed

same

what we can do for it


Do you have a style guide or content standard?

Question
When writing articles, is there a standard to follow, style guide, dos and don'ts? Some of the MS docs, resource have standard feel to them...

Thanks that answers :)


Configure gsoci.azurecr.io as the registry to use by default

Towards

https://github.com/giantswarm/roadmap/issues/3017

This PR replaces any occurrence of docker.io in values.yaml files with gsoci.azurecr.io,
to make the new ACR registry the default one.

Thanks @stone-z ! Would you mind making a release, too?


Full Calendar not show up

Describe the bug
Full Calendar not show up after I installed other plugins
To Reproduce
Steps to reproduce the behavior:

List of plugin installed
Expected behavior
I guess its confilct with other plugin/plugins, but have no clue.
Screenshots

Console Errors
app.js:1 Failed to open view Error: Invalid unit value NaN
at asNumber (eval at  (app.js:1:1444405), :26574:15)
at normalizeObject (eval at  (app.js:1:1444405), :26584:40)
at DateTime4.set (eval at  (app.js:1:1444405), :30303:26)
at add (eval at  (app.js:1:1444405), :45143:15)
at parseFrontmatter (eval at  (app.js:1:1444405), :45189:36)
at _NoteEvent.toCalendarEvent (eval at  (app.js:1:1444405), :45312:12)
at NoteSource.eval (eval at  (app.js:1:1444405), :45785:31)
at Generator.next ()
at eval (eval at  (app.js:1:1444405), :66:61)
at new Promise ()
Device info (please complete the following information):

OS: [MacOS 12.3]
Plugin Version [0.5.3]

Additional context

Hello @BrotherGarfield,
I unfortunately can't debug issues that are caused by other plugins. Please try deactivating some of your other plugins to see if it helps in bringing Full Calendar back.

You can try the Divide and Conquer plugin to help you out: https://github.com/chrisgrieser/obsidian-divide-and-conquer

This issue is caused by a mis-typing in YAML
title: meeting title
allDay: false
startTime: 18:00
endTime: 18-30
date: 2022-04-24
"endTime" should be "18:30", not "18-30"
After I correct the endTime, Full Calendar works.
I guess the bug is in processing the "YAML" data, not cause by other plugins
杨巍 (Yang, Wei)
Davis Haupt @.***> 于2022年4月22日周五 07:53写道：

You can try the Divide and Conquer plugin to help you out:
https://github.com/chrisgrieser/obsidian-divide-and-conquer
—
Reply to this email directly, view it on GitHub
https://github.com/davish/obsidian-full-calendar/issues/84#issuecomment-1105863996,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYSUCWOQDD5VDRPTIZQ2TVDVGHTANANCNFSM5SXZJJOA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Masterkeys Pro M Support

Are there plans to add support for the CoolerMaster Masterkeys Pro M RGB model? I see that the L and S are already supported, and they use the same SDK.

What happens when you're using the L layout?

I believe the Cooler Master SDK wont do anything if the wrong device is selected (from some quick testing just now). I don't know if something is supposed to be happening, but nothing does. They keyboard retains its original lighting.

You're right. CoolerMasterSDK.SetControlDevice(CoolerMasterSDK.DEVICE_INDEX.DEV_MKeys_M); needs to be added to https://github.com/antonpup/Aurora/blob/dev/Project-Aurora/Project-Aurora/Devices/CoolerMaster/CoolerMasterDevice.cs

I have added Masterkeys Pro M and Masterkeys Pro S White to the CoolerMasterSDK but I don't own a CM device. So someone else needs to test it. @MalcolmLorber could you try this built?

The build you linked doesn't have them as option in the device list.

I know. I didn't added the layout yet. Just try the L layout. The CoolerMasterSDK should get initialized.

Well I'm not sure what should happen, but nothing does happen. What should I be looking for?

My fault, I forgot to replace the SDK.dll I'll do this tomorow and send you a new built.

Replacing the dll with the latest causes lighting to work (except for layout issues), though the program does crash the moment it loses focus.

Can you provide a log?

Where do I find the log?

You can find the log files here:  %appdata%/Aurora/logs/

Attached it
2017_15_06.txt

[ERROR] 6/15/2017 8:00:52 PM: Exception in GetActiveWindowsProcessnameSystem.ComponentModel.Win32Exception (0x80004005): A 32 bit processes cannot access modules of a 64 bit process.
   at System.Diagnostics.NtProcessManager.GetModuleInfos(Int32 processId, Boolean firstModuleOnly)
   at System.Diagnostics.NtProcessManager.GetFirstModuleInfo(Int32 processId)
   at System.Diagnostics.Process.get_MainModule()
   at Aurora.Utils.ActiveProcessMonitor.GetActiveWindowsProcessname() in D:\git\Aurora\Project-Aurora\Project-Aurora\Utils\ActiveProcessMonitor.cs:line 88

Seems to be a problem with something else. :thinking:

Run Aurora as admin.
On 18 Jun 2017 15:21, "Erik"<EMAIL_ADDRESS>wrote:

[ERROR] 6/15/2017 8:00:52 PM: Exception in GetActiveWindowsProcessnameSystem.ComponentModel.Win32Exception (0x80004005): A 32 bit processes cannot access modules of a 64 bit process.
at System.Diagnostics.NtProcessManager.GetModuleInfos(Int32 processId, Boolean firstModuleOnly)
at System.Diagnostics.NtProcessManager.GetFirstModuleInfo(Int32 processId)
at System.Diagnostics.Process.get_MainModule()
at Aurora.Utils.ActiveProcessMonitor.GetActiveWindowsProcessname() in D:\git\Aurora\Project-Aurora\Project-Aurora\Utils\ActiveProcessMonitor.cs:line 88
Seems to be a problem with something else. 🤔
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/antonpup/Aurora/issues/603#issuecomment-309280544,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKTCCMuG0-ayVyQ4kUiLOhCV9w0SQy5Hks5sFTJfgaJpZM4N5EOn
.

Running as admin doesn't change anything, same error.

I didn't process the error properly. The build you're using was built as
32bit or AnyCPU when it needs to be built as x64.
On 18 Jun 2017 4:37 pm, "MalcolmLorber"<EMAIL_ADDRESS>wrote:

Running as admin doesn't change anything, same error.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/antonpup/Aurora/issues/603#issuecomment-309284894,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKTCCIRJIe7ctVSHVge3EWxhi_4Rk36bks5sFURLgaJpZM4N5EOn
.

Fixed due to PR #608. Thanks @brainbug89!


Component not working weel when importing in another project

Hi,
I'm trying to use vue-sfc-rollup to build my own vuejs 3 library component with typescript but I've some issues.
I have created a simple component with an input and a validation (with vee-validate), I build my project library and imported it in my main Vuejs web app project, but it doesn't work well.
Indeed, events with watchEffect are not emmited to parent component and validation from vee-validate not working.
If I use exactly the same component in my own project it works, this is why I think there is a issue during the building project.
I have tried the composant with and without script setup but I have got the same error.
Here is the source of my project : https://github.com/jdflaugergues/vue-lib
Package.json
Rollup Config
The component
Thanks for your help.

The decision has been made to deprecate vue-sfc-rollup in favor of better tooling in the Vue ecosyste, specifically the vite "library build" configuration. It is an excellent project, which is capable of everything vue-sfc-rollup strived to accomplish, and more.


flags does not work?

Hi,
I would like to get less noise in logs, so I tried to setup the following flags/args, but did not working:
args: ['--watch-argo-cron-workflows', 'false', '--watch-argo-cluster-workflow-templates', 'false', '--watch-argo-workflow-templates', 'false' ]
still getting errors:
2022-03-07T08:21:17.356951222+01:00 E0307 07:21:17.356750       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167: Failed to watch *v1alpha1.WorkflowTemplate: failed to list *v1alpha1.WorkflowTemplate: workflowtemplates.arg...
Is there any other way to allow only the ConfigMaps watcher?

Hi,
Those are boolean flags (which are normally governed by the presence/absence of the flags), so having a space in there won't work for those particular ones I think.  Try this, it worked for me locally:
args: ['--watch-argo-cron-workflows=false', '--watch-argo-cluster-workflow-templates=false', '--watch-argo-workflow-templates=false' ]

thanks!


Deploy multicall3 to SKALE Chaos Testnet

Chain Name
SKALE Chaos Testnet
Chain ID
1351057110
RPC URL
https://staging-v3.skalenodes.com/v1/staging-fast-active-bellatrix
Block Explorer URL
https://staging-fast-active-bellatrix.explorer.staging-v3.skalenodes.com/
Deployment Funds
Yes

Done, thanks!


Upgrade to Beam 2.2.0

The beam importer fails when upgrading to beam 2.2.0.  FileBasedSink changed in a non-backwards compatible way.

What was the fix, if any?


Add Symbolics to the dependecies of examples

It seems the dependency on Symbolics is not declared anywhere.

Codecov Report

Merging #43 (fff6941) into main (d22b270) will decrease coverage by 0.22%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #43      +/-   ##
==========================================
- Coverage   91.88%   91.65%   -0.23%
==========================================
  Files          88       88
  Lines        4559     4314     -245
==========================================
- Hits         4189     3954     -235
+ Misses        370      360      -10

Impacted Files
Coverage Δ

src/graph/entry.jl
75.00% <0.00%> (-12.50%)
:arrow_down:

src/orientation/quaternion.jl
76.08% <0.00%> (-5.58%)
:arrow_down:

src/contacts/collisions/sphere_halfspace.jl
78.72% <0.00%> (-3.74%)
:arrow_down:

src/contacts/utilities.jl
42.85% <0.00%> (-2.60%)
:arrow_down:

src/contacts/velocity.jl
92.64% <0.00%> (-1.64%)
:arrow_down:

src/solver/line_search.jl
95.55% <0.00%> (-1.39%)
:arrow_down:

src/joints/joint.jl
87.30% <0.00%> (-0.58%)
:arrow_down:

src/joints/constraints.jl
89.94% <0.00%> (-0.44%)
:arrow_down:

src/bodies/set.jl
94.54% <0.00%> (-0.37%)
:arrow_down:

src/mechanism/traversal.jl
95.00% <0.00%> (-0.35%)
:arrow_down:

... and 45 more

Continue to review full report at Codecov.

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

Ah sorry I didn't notice that IterativeLQR depends on it


Live mode and test mode mixed up

Expected behavior
Test mode if test mode is switched on
Live mode if live mode is switched on
Actual behavior
Test mode if live mode is switched on
Live mode if test mode is switched on
Steps to reproduce the behavior
Switch on test mode, start testing: live behaviour
Switch back to live, test behaviour...
Environment
Prestashop 1.7.7
Mollie 4.1.2
PHP 7.3.19-1~deb10u1

I can see what happened here, after de-install / re-install due to 1.7.7 compatibility issue the api-keys got switched without re-entering the keys.

After switching back to the correct config I found the following error regarding a live test payment carried out against the live key in the test-field.
[Tue Dec 15 03:47:17.247748 2020] [proxy_fcgi:error] [pid 13809:tid<PHONE_NUMBER>15616] [client <IP_ADDRESS>:42748] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught MolliePrefix\\Mollie\\Api\\Exceptions\\ApiException: [2020-12-15T03:47:17+0100] Error executing API call (404: Not Found): Payment tr_9usne3vffa exists, but the wrong mode is used. Try switching live / test API keys.. Documentation: https://docs.mollie.com/guides/handling-errors in /mnt/disks/disk_1/www/sauna-bouwen/shop/modules/mollie/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php:102\nStack trace:\n#0 /mnt/disks/disk_1/www/sauna-bouwen/shop/modules/mollie/vendor/mollie/mollie-api-php/src/MollieApiClient.php(448): MolliePrefix\\Mollie\\Api\\Exceptions\\ApiException::createFromResponse(Object(MolliePrefix\\GuzzleHttp\\Psr7\\Response), NULL)\n#1 /mnt/disks/disk_1/www/sauna-bouwen/shop/modules/mollie/vendor/mollie/mollie-api-php/src/MollieApiClient.php(425): MolliePrefix\\Mollie\\Api\\MollieApiClient->parseResponseBody(Object(MolliePrefix\\GuzzleHttp\\Psr7\\Response))\n#2 /mnt/disks/disk_1/www/sauna-bouwen/shop/modules/mollie/vendor/mollie/mollie-api-php/src/MollieAp...'
As far as I am concerned the issue is resolved. I don't know how the keys got switched during un-install / re-install, but I suggest an enhancement warning for switched key's, either during config of default in the logs, or when pressing test apikeys.

Hello Rob, hope you're having a good day.
Thank you for your insights, really glad that you've managed to resolve the issue, maybe you need assistance with anything else further?
Best regards,
Invertus Support team

@RobMeerwijk - This is a good idea for an enhancement, indeed! We'll take a look at making this happen.

@RobMeerwijk I will close this issue for now, and if you will need any further assistance, let us know, we are here to help!
Also, be sure to download the latest version of Mollie here - https://github.com/mollie/Prestashop/releases
Any feedback regarding the new version is greatly appreciated!
Best regards,
Invertus Support team

@RobMeerwijk I will close this issue for now, and if you will need any further assistance, let us know, we are here to help!
Also, be sure to download the latest version of Mollie here - https://github.com/mollie/Prestashop/releases
Any feedback regarding the new version is greatly appreciated!
Best regards,
Invertus Support team


How to use timestamp as priority while creating jobs?

I want to set priority of jobs created using timestamps as below so that posts which were created first gets the highest priority while processing.
var job = queue.create('post', {
  id: post.id,
  text: post.text,
  created_at: post.created_at
}).priority(post.created_at.getTime()).save()

But when I consume jobs created like this, the jobs fail with TTL exceeded possibly because the priority map is not resolving the number supplied.
Below is the sample code to reproduce this.
'use strict';

var kue = require('kue');
var Promise = require('bluebird');
var postsQueue = kue.createQueue();

function producer(numJobs) {
  numJobs = parseInt(numJobs);
  if (!numJobs) {
    numJobs = 5;
  }

  for (var i = 0; i < numJobs; i++) {
    (function () {
      var job = postsQueue.create('post', { id: Math.random() * 10, seq: i })
      .priority(+Date.now())
      .save(function(error) {
        if (error) {
          console.error(error);
        } else {
          console.log('Queued job', job.id);
        }
      });
    })();
  }
}

function processPost(post) {
  return new Promise(function(resolve, reject) {
    setTimeout(function() {
      console.log('Job with seq', post.seq, 'and id', post.id, 'completed');
      resolve();
    }, post.id * 100);
  });
}

function consumer() {
  postsQueue.process('post', 10, function(job, done) {
    processPost(job.data)
      .then(function(result) {
        done();
      })
      .catch(done);
  });
}

setInterval(producer, 1000);
consumer();
kue.app.listen(3000);

Thank you for reporting this @kulbirsaini
This is a bug when you using timestamps as priorities, and not setting a ttl.
As a workaround you can set a ttl for your jobs to escape from this behavior until I fix this


[docs] Consistent type name in docs from Boolean to bool

[x] I have followed (at least) the PR section of the contributing guide.

As mentioned in #25970 , Boolean should be changed to bool to avoid confusion

@jamesaucode Thanks for pushing this effort forward. What do you think about going all-in on this PR (migrating the other types and pages)?

@oliviertassinari yea for sure! I will do a more thorough search tomorrow and migrate all the other types and pages!

@oliviertassinari Just did a more thorough rg and sed (then manually skimmed through them to make sure I didn't replace anything I shouldn't) to replace all the types you mentioned here, let me know if there are anything I missed.

@jamesaucode Much appreciated, thanks!


Go Home link not updating the page on 500 ( Internal Server Error ! ) page

Preflight Checklist

[x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Describe the bug
On the 500 error page, if we click on the go-home link it is just updating the link in the browser but not the page.
To Reproduce
Steps to reproduce the behavior:

login into mumble
Click on any topic in the Discussions section
on 500 error page, click on the go-home link
See an error

Expected behavior
It should update the page with home page content.

Resolved by this commit

https://www.mumble.dev/   . instead of showing landing page , it shows 500 page now.

That's because backend is broken.


Speedup import: disable ipython magic by default

This changes the configuration such that the legacy IPython magic becomes off by default. Avoiding to unconditionally import IPython on startup. This saves ~ 0.3/4 sec or so

This should get a breaking change entry

bors merge

bors merge

bors merge


Right clicking the desktop crashes sway

cc @Luminarys

I can't seem to duplicate this. Where does gdb say it's crashing, and why?

You have the latest code? Not able to run it in gdb right now.

I do, but right clicks on the desktop don't seem to do anything.

I've been able to reproduce this by spamming right click while moving the mouse.

I'll get around to testing this quickly, in the meanwhile, would you be able to provide some info from gdb or logs?

focus:R|(0x60c6c0)(p:(nil))(f:0x14d61a0)(h:-1)Type:Root|layout:NONE|w:0|h:0|x:0|y:0|vis:f|wgt:0|name:(null)|children:1
(
 focus:X|(0x14d61a0)(p:0x60c6c0)(f:0x1503800)(h:1)Type:Output|layout:NONE|w:681|h:746|x:0|y:0|vis:f|wgt:1|name:None-0|children:1
 (
  focus:F|(0x1503800)(p:0x14d61a0)(f:(nil))(h:-1)Type:Workspace|layout:Horiz|w:681|h:746|x:0|y:0|vis:t|wgt:1|name:1|children:0
   )
)
wlc: Xwayland started (DISPLAY :1)
wlc: xfixes (5.0)
Compositor is ready, executing cmds in queue
Mouse button 273 pressed
Setting focus to 0x1503800:-1
Mouse button 273 released
Mouse button 273 pressed
Setting focus to 0x1503800:-1
wlc: Parent exit (7322)

The logging says when it exits.

Ok, I've been able to replicate the bug, thanks.

aside: #66 needs to happen

Fixed the issue, will be pushing in upcoming commit.

Alright, fixed with 23b90d8e69d203697c5548fdd140bf3052749dfa.


The description of a project and a sample differs from what patent says

The Readme.md provides a sample and the description that causes controversy comparing to what article/patent states.
In particular, patent states that it is functional requirements that should go into separate line only. While the sample for the est project contains covering functionality with unit test as a line(champion candidate). This causes a lot of confusion, like happened here
Secondly, the description itself is pretty poor comparing to patent/article. It states:
First, you break down the entire implementation scope into items, like it's done above, and list them under scope.
Pay attention, you should list only technical code-writing tasks.

emphasising to break down the project into technical code-writing tasks but not a functional requirement like patent states, forcing reviewers to deny estimates like this:
  1: Document the workflow/user stories
  2: Document each communicating component
  3: Implement X abstraction layer
  4: Cover X abstraction layer with tests
  5: Implement REST endpoints
  6: Cover REST endpoints with tests
  7: Implement Y abstraction layer
  8: Cover Y abstraction layer with tests
  9: Implement Z abstraction layer
  10: Cover Z abstraction layer with test
  11: Implement basic HTML Web UI
  12: Cover basic HTML Web UI with tests
  13: Implement command line interface tying all components together
  14: Introduce bunch of integration tests fixing level 0 issues
  15: Implement extended HTML Web UI introducing dynamics
  16: Cover extended HTML Web UI with tests
  17: Fixing defects

Lets fix the readme file, so it will not cause confusions no more.
IMHO
I find it pretty handy to have a possibility to put unit/integration tests, documentations and feature implementation in separate line(champion candidates), since it increases granularity giving a possibility to break down the project scope into really comparable by size items - hence increase the accuracy, which is the final goal in the end.
From the other hand, if line would only contain requirements, it increases the risk of having pretty different in size champion candidates. Let me elaborate. Each requirement implementation contains of following parts which considered to be technical code writing tasks since causes code base change -> and are payed in the end:

technical specification - this is description of input/output parameters if we talk about REST endpoint or creation of HTML mockups if we talk about Web UI feature
feature implementation
test coverage, unit + integration
fixing defects

I'd also add user doc in this list, since it leads to code base change also. Keeping in mind all those parts, it makes the item pretty heavy, forcing the performer to split the requirement into sub requirements if its size is pretty big comparing to other lines. Often this split is artificial and redundant, since performer is not that deep dived into details of a requirement exceeding the limit of a budget for the estimation.
From the other hand, if one wouldn't be limited to put only requirement into the line it will make the process of estimation much more simple.

@yegor256 Could you please take a look. This issue caused a lot of discussions recently

@yegor256 dispatch this issue please, see par.21

@ekondrashev I removed tests from the example: b5e8fe5 thanks!


How I define GET metod request ????

Some amazon links only accept GET request.

@bryanollivie Fetch sends a get request. Can you explain your issue in detail? Also, you can provide Fetch a custom downloader. See the downloader section in the readme. https://github.com/tonyofrancis/Fetch

Hi @tonyofrancis,
Well... my setup is this. I need to make a download request to an amazon server, I have customized the downloader and made the request that it is fixed as HEAD, not as GET.
But the amazon server does not accept HEAD.
I saw that in your class"ParallelFileDownloaderImpl" this setting is fixed.
Metod run()
val openingRequest = getRequestForDownload(initialDownload, HEAD_REQUEST_METHOD)
My code is:
` override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
    val fetchConfiguration = FetchConfiguration.Builder(this)
            .enableRetryOnNetworkGain(true)
            .setDownloadConcurrentLimit(3)
            .setHttpDownloader(getOkHttpDownloader())
            .build()
    Fetch.setDefaultInstanceConfiguration(fetchConfiguration)

}
private fun getOkHttpDownloader(): OkHttpDownloader {

    val spec = ConnectionSpec.Builder(ConnectionSpec.COMPATIBLE_TLS)
            .tlsVersions(TlsVersion.TLS_1_2)
            .allEnabledTlsVersions()
            .cipherSuites(
                    CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
                    CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
                    CipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256)
            .build()

    val okHttpClient = OkHttpClient.Builder()
            .connectionSpecs(Collections.singletonList(spec))
            .build()

    return OkHttpDownloader(okHttpClient,
            Downloader.FileDownloaderType.PARALLEL)
}

`

@bryanollivie Ah I see the problem. ParallelFileDownloaderImpl uses the Head request for the initial check to see if the server supports Partial downloading and was suppose to help fix some other issues/performance. What I can do is add a method to Downloader that will check if head is supported for the url.

Great @tonyofrancis. Thaks

@bryanollivie Just pushed out a new version of Fetch 2.1.0-RC15. Please let me know if it works well for you. The downloader has a new method fun getHeadRequestMethodSupported(request: ServerRequest): Boolean which you can override and return false for urls pointing to a server not supporting the HEAD method.


Add "--force-yes=true" in install_options.  EE-472

Need to add the install options because it's causing errors in vagrant box.

:+1:


Change site plugin name

The net.sourceforge.dita-ot.html plugin used to generate HTML output for the project website at http://www.dita-ot.org should be renamed to org.dita-ot.html (or similar) to reflect the project website URL.

Wondering whether we should move the plugin into a separate repository, since it's not really part of core code and it's difficult to move it to docs or dita-ot.github.io repositories because plugin integration becomes hacky. If it were it's own plugin repo, it might serve as an easy start point for custom plugin for Jekyll site publishing.

:+1: Good point. Could be re-included as submodule or installed & integrated via build script.
Would be very useful to have it available separately so others can easily fork & customize.

I'll make it a separate repo. I don't think we should import the history to the new repo, because there's the old HTML site generation that we don't need and the plugin is never released for general use. Votes?

:+1: Sounds good.

:+1: Same, sounds good.

https://github.com/dita-ot/org.dita-ot.html is up, but it hasn't been integrated with dita-ot/dita-ot and dita-ot/docs yet. Will get to that later.