Add a link out to Planemo's tool development tutorial.

I love this project and support what it is trying to do - but I see Planemo's docs as the canonical tutorial for tool development and I'd hope we don't have to compete I guess on this one tutorial? I'm happy to take suggestions and PRs to improve the docs.
xref #75
I'd like to build out slides in this repository for Conda ( #231 ) and Dockerizing tools ( #232 ) - but I guess only if y'all let me link to the Planemo docs as the canonical walkthrough tutorial. Similar to what I am doing in this PR.

ping @lecorguille I guess we had this discussion once. I agree with John here but you had some other points about slides etc...

Thanks John. I think this is fine!


fix-bug:architecture picture  in zh and en

fix-bug:architecture picture  in zh and en

looking forward to your deep participation, thx

looking forward to your deep participation, thx

I hope i can join ds thanks


[BUG] Youtube LiveBroadCasts Transition Not works only with this PHP Client

Environment details

OS: MAC OS Big Sur 11.2.2
PHP version: 8.0.0
Package name and version: "google/apiclient": "^2.1",

Steps to reproduce
From this API playGround https://developers.google.com/youtube/v3/live/docs/liveBroadcasts/transition?apix=true&apix_params={"broadcastStatus"%3A"complete"%2C"id"%3A"UMaikej2yMU"} , We can see it's mentioned that we can use $response = $service->liveBroadcasts->transition('complete', 'NoBKeVEanL4', ''); to Mark a video as complete, but it doesn't work "on My PC / Server" and throws an error, but when i click on cURL tab from below shown window to get the cURL code and when i modify only my "Access Token" then it works!
In, Simple words, i don't think the above-mentioned method is working properly in PHP client, I am also adding my error output below

Error
{
  "error": {
    "code": 400,
    "message": "Invalid value at 'broadcast_status' (type.googleapis.com/youtube.api.v3.LiveBroadcastTransitionRequest.BroadcastStatus), \"VnEkvWJ0fe0\"",
    "errors": [
      {
        "message": "Invalid value at 'broadcast_status' (type.googleapis.com/youtube.api.v3.LiveBroadcastTransitionRequest.BroadcastStatus), \"VnEkvWJ0fe0\"",
        "reason": "invalid"
      }
    ],
    "status": "INVALID_ARGUMENT"
  }
}

Steps to reproduce this issue.

Get Ready with basic setup of this youtube client, access Tokens fetched and 1 video created from your testing youtube channel
Now, run this below code

<?php
$client = new Google_Client();
$access_token = "YOUR_ACCESS_TOKEN_HERE";
$client->setAccessToken($access_token);
$youtube = new Google_Service_YouTube($client);
$client->setAccessToken($accessToken);
$service = new Google_Service_YouTube($client);
$response = $youtube->liveBroadcasts->transition('complete', 'YOUTUBE-VIDEO-ID-HERE', '');
print_r($response);

Run the above code, and you'll get same error as me.

For now, I am sending a custom HTTP Request from my PHP just to achieve this feature, hope someone looks at this issue. I  tried so hard debugged a lot then i noticed this isn't working as expected, but works with the below cURL
curl --request POST \
  'https://youtube.googleapis.com/youtube/v3/liveBroadcasts/transition?broadcastStatus=complete&id=YOUTUBE-VIDEO-ID-HERE' \
  --header 'Authorization: Bearer ACCESS-TOKEN-HERE' \
  --header 'Accept: application/json' \
  --compressed

Thanks!

Hi @rohitcoder
Apologies for the delay in response in this issue.
But I would like to tell you, I followed the exact same process, i.e.

Started a live stream.
Went to the REST API reference, put in the video id, broadcastStatus and part. When I executed the request, the live stream ended immediately.
I clicked on Show code and then the PHP tab to get the PHP equivalent code, used that in a script, started a completely new stream, used the new id and executed the PHP script.
The new stream also ended immediately, without any error.

It possible that you missed a parameter like part(as I see in your screenshot) or there was an intermediate error which got resolved soon after.
But I can't really replicate this right now and hence I will be closing this issue now.
But if you encounter the issue again, please feel free to reopen this with more details.
Thanks :)

@saranshdhingra Bro, The Project on which i was working is dead since last 2 years, you replied after 2 years 🤣

@saranshdhingra Bro, The Project on which i was working is dead since last 2 years, you replied after 2 years 🤣

@saranshdhingra Bro, The Project on which i was working is dead since last 2 years, you replied after 2 years 🤣

Yeah, we're certainly trying to get better at this. Hopefully at the very least someone searching for issues might get some clarity if they stumble upon this.
Cheers!


fix: Lage link on the introduction component

The link was pointing to Rush (also by Microsoft) instead of Lage. This PR fixes this issue.
If this was intended, feel free to close this pr.

Thank you for your time and contribution!


Shrink the width of the left nav

The left nav is currently consuming 25% of the total width of the page. It's generally way too wide for its content. It's width should be set based on its content rather than being hardcoded to 25%.

Though if the width is based on the content will it not look like it's jumping backwards and forwards when you switch between sections?

Fair point. Maybe we should just reduce it to 20% instead of 25%...


onBlur is not called when blur is triggered via the ‘collapsed address bar’ in iOS15 Safari

Do you want to request a feature or report a bug?
Report a bug.
What is the current behavior?
In Safari on iOS 15 with the ‘Bottom Address Bar’ enabled, when the soft-keyboard becomes active, a collapsed version of the address bar (collapsed-address-bar) sits on top of the keyboard. When blurring a draft editor by tapping on this collapsed-address-bar, onBlur will not get called.
When pressing the Done button in the bar, right above soft-keyboard, onBlur is called though 🤔.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

open in a draft-js editor in Safari on iOS 15
log the onBlur handler
make sure the ‘Bottom Address Bar’ is turned on (tap the ᴀA icon and select ‘Show Bottom Address Bar’
blur the draft editor by tapping on the collapsed-address-bar, note that nothing is logged
now blur the draft editor by tapping outside the element or by tapping the ‘Done’ button above the keyboard, onBlur will be logged

What is the expected behavior?
For onBlur to get called when blurring the editor in any way possible, including by tapping the collapsed address-bar.
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Draft-js version 0.11.7 Mobile Safari, tested on a physical iPhone 11 running iOS 15.01 and the iPhone simulator running iOS 15.0

I am also facing the same issue !


Qr code does not scan on Android

When trying to scan a qr code, the function onCodeRead does not return any value on Android version 6.0.1 (api level 23). Since the minimum is 21 I would expect it to work fine on this one. The qr code scanning works fine on version above.

It's working fine for me... try the steps in this post and see if they help.

I think it had to do with internet connection since the next day it worked fine but forgot to close the issue. I am sorry!


JQuery intellisense only works in HTML files?

VSCode Version: Code 1.9.0 (27240e71ef390bf2d66307e677c2a333cebf75af, 2017-02-02T08:31:00.827Z)
OS Version: Windows_NT ia32 10.0.15019
Extensions:

Extension
Author
Version

vscode-css-formatter
aeschli
0.0.2

vs-code-css-comments
ashhitch
1.0.2

vscode-icontheme-nomo-dark
be5invis
1.2.5

githistory
donjayamanne
0.1.5

javadebugger
donjayamanne
0.0.2

python
donjayamanne
0.5.1

vscode-html-css
ecmel
0.0.33

javac-linter
faustinoaq
1.2.2

php-intellisense
felixfbecker
1.1.1

auto-close-tag
formulahendry
0.3.9

auto-rename-tag
formulahendry
0.0.11

code-runner
formulahendry
0.6.8

csharpextensions
jchannon
1.2.0

format-indent
Kasik96
1.3.0

format-php
Kasik96
1.1.2

ftp-sync
lukasz-wronski
0.3.2

cpptools
ms-vscode
0.10.0

csharp
ms-vscode
1.6.2

theme-railscasts
PaulOlteanu
2.0.0

material-icon-theme
PKief
1.2.0

vscode-icons
robertohuertasm
7.1.2

elise
schematrix
0.0.1

theme-tinaciousdesign
tinaciousdesign
0.1.1

Steps to Reproduce:

Use jQuery for intellisense in an HTML document.
Use jQuery for intellisense in a JS document.

Hello. I'm trying to use JQuery in a separate JS file so that my html pages aren't too convoluted but looks like JQuery intellisense only works in HTML files and not in JS files. Am I wrong? Can I request that intellisense works in JS files as well as HTML files?

I believe that in html files, we assume that $ is jquery unless we can determine otherwise. We don't make the same assumption in JS files, which is why you don't see the correct intellisense.
To have VSCode know about Jquery in js files, either add an import import $ from 'jquery'; to the file or install the typings for jquery npm install --save-dev @types/jquery
This should let VSCode know that $ refers to jquery in JavaScript files

@mjbvz Both of those methods work, thank you so much!

@mjbvz import $ from 'jquery' did not work for me on either 1.9.0 or 1.9.1.  Do I need the jquery library in the same directory, or a jsconfig.json in there?  For example, if I create a new directory C:\Temp and put in Test.js and Test.html, the jquery intellisense works for the HTML but not for the JS file.

@johns22 @mjbvz What's weird is that import $ from 'jquery' did not work for me either, but installing the typings did. Only problem with that is what if I didn't want to install typings for whatever reason. I did some deeper searching and came across this...
/// <reference path="jquery-3.1.1.js"/>
Which I added with the three slashes to my .js file and jquery intellisense was then working. But after a couple days all of a sudden, jquery intellisense is no longer working within that same file after I've already been using it so I have no idea if that is what gave me intellisense or not. All I know is that it's not working now.
I can try installing typings on this new project but I was hoping not to have to, but I suppose it's not that big of a deal. Regardless, maybe there could be an easier and more official way to get intellisense for wwhatever you want in whatever file we want? Only one of the above suggestions worked and the one that did requires installing.

Thanks for the details @DanJ210
@mjbvz Does this issue need to be reopened or should I open a new issue?  It seems like the jquery intellisense should work without having to install the typings as they clearly work when editing an HTML file.

@johns22 The html extension handles this differently, it basically tells TypeScript to always provide suggestions for jquery.
In a normal JS project, you should just be able to type import $ from 'jquery' and automatic typing acquisition will download the typings for intellisense. This only happens for JS projects. If you are working with TypeScript — or even if you just have a tsconfig.json in your workspace — automatic typings acquisition is disabled. To be sure you are in a javascript project, try creating a jsconfig.json at the root of your workspace
If you do not see this behavior, please open another bug and we can investigate.

@mjbvz import $ from 'jquery' it worked for me on vscode but when I run the file it says uncaught exception: unexpected token import... and then i used var $ = 'jquery' and it says Uncaught TypeError: $ is not a function

These are errors with your code
The first means that your browser does not support import statements yet. This can be fixed using a packaer like webpack or a transpiler such as babel to transform the import statements into requires
The second error means that $ is assigned to something that is not actually jquery. If the example you shared is correct, then you assigned $ to the string 'jquery' which clearly won't work.


Resolution of local Maven artefacts does not work #611

Add resolver for local Maven cache

I wouldn't recommend adding ~/.m2/repository by default. It sometimes misses artifacts (like it has the POMs but not the JARs), which confuses coursier - if a repo has a POM, coursier expects it to have the JAR too... I could add a helper in coursier (like coursier.MavenRepository.m2Local) to make it easier to add it from ammonite though.

coursier.MavenRepository.m2Local would be a better solution and nicely inline with coursier.Cache.ivy2Local.

Possibly even coursier.Cache.m2Local :-) Or I wanted to move ivy2Local under coursier.IvyRepository...

@mduerig Regardless of what changes you end up doing to coursier, do you still want to add it by default to Ammonite's resolvers? If not you can always add it manually in your own predef/earlier-block, and I'll close this issue/PR

@lihaoyi , I agree with @alexarchambault that this is better tackled in one way or another in coursier. Once this is done we can get back to this issue and see how to fix it. In the meanwhile let's close the PR.

sgtm


add enemy types to spawner

Description: Add enemy types to spawner
Steps to test:
1.Play the main scene to check
Outstanding:

Made some changes to the AI scripts to better fit in the scene.
Since the berzerker AI cast a single ray there is a low probabilty that it may target the player or towers

Squash merge with d7003f83d99a47cac8bf9cad1808b08cff40aa03


Update Overview.md

spell error

Reference Issue

What does this implement/fix? Explain your changes.
Any other comments?

Hi @autodataming : this actually isn't a spelling error. port is the right word in that context


pkgpanda: check dest_path for symlink_tree

ensure that dest_path for symlink doesn't exist

Have error during installation on slave node. Source isn't directory and target is exists
Apr 26 16:13:11 tpad systemd[1]: Starting Pkgpanda: Specialize DC/OS for this host....
Apr 26 16:13:12 tpad pkgpanda[12353]: Calculated active packages from bootstrap tarball
Apr 26 16:13:12 tpad pkgpanda[12353]: Checking for cluster packages in: /etc/mesosphere/setup-flags/cluster-packages.json
Apr 26 16:13:12 tpad pkgpanda[12353]: Loading cluster-packages: ['dcos-config--setup_18dfd6e1a126b9f660610bf10d7721cb4ff5ab51', 'dcos-metadata--setup_18dfd6e1a126b9f660610bf10d7721cb4ff5ab51']
Apr 26 16:13:12 tpad pkgpanda[12353]: Activating packages
Apr 26 16:13:12 tpad pkgpanda[12353]: Traceback (most recent call last):
Apr 26 16:13:12 tpad pkgpanda[12353]:   File "/opt/mesosphere/bin/pkgpanda", line 9, in <module>
Apr 26 16:13:12 tpad pkgpanda[12353]:     load_entry_point('dcos-image==0.1', 'console_scripts', 'pkgpanda')()
Apr 26 16:13:12 tpad pkgpanda[12353]:   File "/opt/mesosphere/lib/python3.4/site-packages/pkgpanda/cli.py", line 309, in main
Apr 26 16:13:12 tpad pkgpanda[12353]:     setup(install, repository)
Apr 26 16:13:12 tpad pkgpanda[12353]:   File "/opt/mesosphere/lib/python3.4/site-packages/pkgpanda/cli.py", line 192, in setup
Apr 26 16:13:12 tpad pkgpanda[12353]:     do_bootstrap(install, repository)
Apr 26 16:13:12 tpad pkgpanda[12353]:   File "/opt/mesosphere/lib/python3.4/site-packages/pkgpanda/cli.py", line 161, in do_bootstrap
Apr 26 16:13:12 tpad pkgpanda[12353]:     install.activate(repository.load_packages(to_activate))
Apr 26 16:13:12 tpad pkgpanda[12353]:   File "/opt/mesosphere/lib/python3.4/site-packages/pkgpanda/__init__.py", line 549, in activate
Apr 26 16:13:12 tpad pkgpanda[12353]:     symlink_all(role_dir, new)
Apr 26 16:13:12 tpad pkgpanda[12353]:   File "/opt/mesosphere/lib/python3.4/site-packages/pkgpanda/__init__.py", line 522, in symlink_all
Apr 26 16:13:12 tpad pkgpanda[12353]:     symlink_tree(src, dest)
Apr 26 16:13:12 tpad pkgpanda[12353]:   File "/opt/mesosphere/lib/python3.4/site-packages/pkgpanda/__init__.py", line 397, in symlink_tree
Apr 26 16:13:12 tpad pkgpanda[12353]:     os.symlink(src_path, dest_path)
Apr 26 16:13:12 tpad pkgpanda[12353]: FileExistsError: [Errno 17] File exists: '/opt/mesosphere/packages/3dt--c3970af261c1e9ed9014904a6408617dafd41e6c/dcos.target.wants_master/dcos-ddt.service' -> '/etc/systemd/system/dcos.target.wa
Apr 26 16:13:12 tpad systemd[1]: dcos-setup.service: Main process exited, code=exited, status=1/FAILURE

So this isn't a bug in the installer / it's supposed to fail in this case (Although the error message is less than ideal).
This indicates either

Two packages are trying to install the same service / systemd unit (we can only have one service file by a given name)
There is some combination of DC/OS installer roles (master, agent) which is present on the host, causing both the "master" 3dt and the "agent" 3dt service to be activated at the same time.

In this case I suspect it's the latter. If you look in /etc/mesosphere/roles I suspect you'll see more than one file. A host can only be a master or a slave. Hosts aren't allowed to be both. (Getting mesos agents on the master is something that we'd like to have happen and worked towards, but it's accomplished by writing a new systemd service that gets activated on the masters, and probably uses a new / unique Mesos role so tasks don't accidentally end up on it).


Adds minimal config for snowbase.

Adds minimal spec weights for the snowbase runtime, so that tests can complete quicker.

@vgeddes great point! Let me do that rather.
The E2E tests failing is caused by something else (sync committees not being backfilled if block production is faster than header syncing - this occurs specifically on our local net because block production is faster than on mainnet. A fix is included in this PR: https://github.com/Snowfork/snowbridge/pull/696).
The snowbase weights in this PR speeds the E2E tests up 2x times (from 10mins to 5mins) for Eth->Parachain.

@vgeddes I think I fixed the missing newlines, but they don't show in the files diffs, strange. If you check the code out, it's there though.


Fy2019q2 Content Refresh

fixed minor typos in slides & lab
updated examples to use latest SPFx v1.7

Manually merged


Screen Shaking and Rapid Style Top Changes When Entering Long Comment

Issue Summary
Upon entering a long comment and scrolling down, the screen exhibits noticeable shaking, accompanied by rapid and unexpected changes in the style's top property, resulting in an undesirable user experience.
https://github.com/wagtail/wagtail/assets/111359305/6e1a88ea-dc85-4019-90f1-86e20099806c

Steps to Reproduce

Navigate to any page having only 1-2 fields with a comment section.
Enter a comment with a substantial length.
Scroll down the comment.
Observe the screen shaking

This issue happens when there are only a few fields on a page. If there are many fields, and you try to write a really long comment that's larger than the visible area of the fields, it becomes impossible to scroll down to see the entire comment and submit button.

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: No

Proposed Solution
In my exploration, adjusting the position to relative seems to resolve both issues. I would greatly appreciate your feedback and any alternative suggestions before proceeding with a potential pull request.
Technical details

Python version: Python 3.11.4
Django version: 4.2.6
Wagtail version: 5.2.2

Duplicate of https://github.com/wagtail/wagtail/issues/10984 - please can you move your recordings/comments there and we can make that one confirmed.

Oh Apologies @lb- , I was not aware of this. I have confirmed the issue and moved my recordings & additional info.

No need to apologise - there's lots of issues and sometimes things get lost. Thanks for your amazing details and suggestion for a fix. @rohitsrma


Update Plugin.Permissions to <IP_ADDRESS>

Updated to latest Plugin.Permissions, in order to make it compatible with other xamarin plugins, like
Plugin.GeoLocator
Currently using the latest versions of both plugins causes this build-error:
 error XA2002: Can not resolve reference: `Plugin.Permissions.Abstractions`, referenced by `Plugin.Geofencing`. Please add a NuGet package or assembly reference for `Plugin.Permissions.Abstractions`, or remove the reference to `Plugin.Geofencing`.

This would be great. +1

there will be a new version in the future that contains this


Path highlighting

We should allow users to select a state somehow. That should highlight the path from that state back to the start nubbin.

For the first pass: do this manually. Allow users to select connections. At the moment, we just highlight on hover.


Add NLP LF helper

Add NLPLabelingFunction and nlp_labeling_function to make it easier to use SpacyPreprocessor and write LFs over parsed SpaCy docs. Constructs an LF with a single preprocessor, a SpacyPreprocessor instance which might have other nested preprocessors. All instances of NLPLabelingFunction share the same SpacyPreprocessor instance to take advantage of memoization. This makes the assumption that in any basic application, only one configuration of SpacyPreprocessor will exist. More advanced Snorkel applications can just manually define multiple SpacyPreprocessor objects if needed.

Adds NLPLabelingFunction and nlp_labeling_function
Adds relevant unit tests
Adds updated Mapper kwargs to SpacyPreprocessor

@nlp_labeling_function()
def has_person_mention(x: DataPoint) -> int:
    person_ents = [ent for ent in x.doc.ents if ent.label_ == "PERSON"]
    return 1 if len(person_ents) > 0 else 0

x = SimpleNamespace(text="The movie was good.")
has_person_mention(x)  # 0

Test plan
Added unit tests

Offline: adding option to spit doc fields into top fields

Talked offline- tag when ready for review!


Can not go from the About Page to a Chat History/Old Conversation. You can only go to New Chat.

Hello Sir, I have started working on this issue, please assign it to me...

Thanks @dartpain for assigning this issue to me.

Hi @dartpain, to fix this issue I want to verify it locally, for this I need a chat history but searching anything I am getting an error which is given below..

Please let me know what I need to do now to get the chat history?

Seems like you have an error, did you use docker to set up the environment, what env variables did you set?

You can also use this mock api endpoint https://173b8390-8f99-4473-b858-9b05def79a0d.mock.pstmn.io/ to test just frontend. by setting VITE_API_HOST to it

Yes, I used Docker to set up the environment.
env variables that I set are given below :

But I am getting the same error...

Hello @dartpain, please unassign this issue from me as I am not able to fix this issue.....

Hi @dartpain
Can you assign the issues to me.
I am always looking for challenges.
Thanks.

Sorry @staticGuru, I've already created a PR that will fix this (#491)

Okay,  No problem

Hello @daniel-shuy,
would you please tell me how you run DocsGPT locally?
Don't you get the errors I described above when searching for answers locally from DocsGPT?
what env variables did you set?

@Ankit-Matth simply replace the value of VITE_API_HOST in docker-compose.yaml with the mock api endpoint that @dartpain provided:

You can also use this mock api endpoint https://173b8390-8f99-4473-b858-9b05def79a0d.mock.pstmn.io/ to test just frontend. by setting VITE_API_HOST to it

Okay @daniel-shuy.
And thanks for your help.

@Ankit-Matth simply replace the value of VITE_API_HOST in docker-compose.yaml with the mock api endpoint that @dartpain provided:

You can also use this mock api endpoint https://173b8390-8f99-4473-b858-9b05def79a0d.mock.pstmn.io/ to test just frontend. by setting VITE_API_HOST to it


Problems with LectinOracle regression training

Hi,
when retraining LectinOracle in a regression setting using the train_model(...) function I'm getting an error stating a problem with appending to a list in line 137 of glycowork/ml/model_training.py:
running_acc.append(y.cpu().detach().numpy(), pred.cpu().detach().numpy())

The problem is that append only takes one argument, not two as provided in that line.
A code example (with the train_loader and val_loader filled as in your LectinOracle Notebook):
model = LectinOracle(input_size_prot=1280, input_size_glyco=len(lib) + 1,
        hidden_size=128, num_classes=1, data_min=data_min, data_max=data_max)
model.apply(init_weights)
model.cuda()

optimizer = optim.Adam(model.parameters(), lr=0.0005, weight_decay=0.0)
scheduler = optim.lr_scheduler.CosineAnnealingLR(optimizer, 80)
criterion = nn.MSELoss().cuda()

model = train_model(model=model, dataloaders={"train": train_loader, "val": val_loader},
        criterion=criterion, optimizer=optimizer, scheduler=scheduler, num_epochs=100,
        patience=20, mode="regression")

Compared to the metrics-handling for the classification setting there is missing the function call to compute_accuracy as in line 133:
running_acc.append(accuracy_score(y.cpu().detach().numpy().astype(int), pred2))

But as accuracy is not a suitable metric in a regression training, it might be better to rework the metrics for regression training in general (in the following, only accuracy and matthews coefficient are reported, both classification metrics).
Best, Roman

Hi Roman,
I think you might be referring to an old version of the function (or the package) because line 137 in the current build is a blank line in glycowork/ml/model_training.py (https://github.com/BojarLab/glycowork/blob/master/glycowork/ml/model_training.py#L137)
The line that you were referring to is presumably line 164 in the current build:
running_acc.append(mean_squared_error(y.cpu().detach().numpy(), pred.cpu().detach().numpy()))
Which does append only one thing & uses MSE as a metric (we still call the variable "running_acc" but the actual metric is different depending on the task)
Does that help?
Daniel

Hi Daniel,
yes, this helps a lot, I was still in the code of version 0.3. I didn't updated all version of glycowork. Sorry for that.
Best, Roman


getPixelsRef returns the depth pixels

getPixelsRef() currently returns a reference to the depth pixels when it should return the reference to the video pixels, as does getPixels(). This is my fault and occurred during the latest cleanup.
In fixing this, I think a getDepthPixelsRef() should be added to complement getDepthPixels().

Also, Kyle, this was what was causing the assertion in cv::toCv as the cvtColor command was failing since it wasn't dealing with RGB or RGBA data. Is Mat strictly color?


added workaround for to_netcdf

This PR adds a workaround for the hanging to_netcdf output.
Related issue in rook:
https://github.com/roocs/rook/issues/55

@ellesmith88 I have fixed tests (black code style). You can merge this branch to your branch (New pull request) or just copy the line with the with dask.config() statement and close this one.

Thanks @cehbrecht

@ellesmith88 merged. Thanks :)


will RevealingSplashView support carthage in future?

hi, RevealingSplashView is great! but it seems dont support carthage

Hi @litt1e-p , What error are you getting? It theory it should work by only adding the github repo, right?

yeah. it works by dragging into my project. installation via Carthage will
be a another good choice for those Carthage users. never mind
2016年5月7日星期六，Chris Jimenez<EMAIL_ADDRESS>写道：

Hi @litt1e-p https://github.com/litt1e-p , What error are you getting?
It theory it should work by only adding the github repo, right?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/PiXeL16/RevealingSplashView/issues/3#issuecomment-217494375

I mean to add the github Repo in your Carthage file. Like: github "PiXeL16/RevealingSplashView". What error do you get if you do that?

sorry, I don't know it has supported Carthage. I have included it via
Carthage. thanks!
2016年5月7日星期六，Chris Jimenez<EMAIL_ADDRESS>写道：

I mean to add the github Repo in your Carthage file. Like: github
"PiXeL16/RevealingSplashView". What error do you get if you do that?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/PiXeL16/RevealingSplashView/issues/3#issuecomment-217513890

Ok cool! Glad that it worked.
Closing the issue!


Service Page - When we are saving working paper it shows message "Please Provide Valid Process Name"

Describe the bug
https://www.berrycast.com/conversations/66b333e0-1d57-58ad-ab3e-094d9fd1e936

give better description, video is for reference to find, but Problem, Suggestion should be there, without that i can not give  priority to this
Steps to reproduce, Problem, Suggestion, Clast with any other Module, any issue which we can link all things needs to be here


Configure spacing and quotes type

Would it please be possible to make the cli configurable? I'd love to have the ability to set indentation to 4 spaces, instead of 2, and also quotes to double quotes, when generating components, screens etc.
ESLint can autofix this, but still, it would be nice to have options for these.

You can modify any of the templates with the spork command.
try ignite spork to change a template per project.   Let me know if that works for you 👍

Ah, yes, that works great indeed! Too bad there's no mention about it in the docs. I'll make a PR with some basic info if I find the time at the end of this week ;)
Many thanks! :)

That would be awesome!  yeah, docs def could use some ✨  ❇ ✨


Updated domain record commands

"record" was missing

Coverage remained the same at 99.6% when pulling 0bbd09f1ce009f11e5757e1c01b20e9f005a0caa on mehmetdavut:patch-1 into d22c935af30bad51ca1e3d677368b4977ccb15ec on rmoriz:master.

Thanks!


Stereo flags are confused with stereo marks in *.ket files

Tested on Ketcher v2.2.1-117-g61e9b6d5
Steps to reproduce:

Launch Ketcher.
Create a structure on the canvas (e.g. chain).
Add Single Up/Single Down/ Single Up/Down bond.
Click the 'Save As' button.
Select the "Graph Format".
Look through the ket file.

Expected result: The stereoflag value displayed in ket file - "stereoFlag": "ABS"
Actual result: The stereoflag value displayed in ket file - "stereoFlag": "abs"

It is reproduced with AND Enantiomer and OR Enantiomer flags.

Release/2.3 The issue is verified and closed.


Clarification on some log lines

Hey! I'm new to the Gridcoin scene, so I'm still trying to figure some things out. I've got everything up and running, I just want an elaboration on a few things, mostly from the container logs:
2024-06-12T07:13:15Z INFO: GetTimes: timer init: Starting verify of database integrity: elapsed time: 11 ms, time since last check: 11 ms.
2024-06-12T07:13:15Z dbenv.open LogDir=/root/.GridcoinResearch/database ErrorFile=/root/.GridcoinResearch/db.log
So the ErrorFile I have, db.log, is 0kb. You might not want to mention this unless there is an error that would give someone a reason to look at the file, or it could confuse people
2024-06-12T07:13:22Z INFO: InitializeContracts: Loading stored history for contract type beacon...
2024-06-12T07:13:22Z INFO: InitializeContracts: Initializing registry from stored history for contract type beacon...
2024-06-12T07:13:22Z INFO: InitializeContracts: History load not successful for contract type beacon. Will initialize from contract replay.
2024-06-12T07:13:22Z INFO: InitializeContracts: Loading stored history for contract type project...
2024-06-12T07:13:22Z INFO: InitializeContracts: Initializing registry from stored history for contract type project...
2024-06-12T07:13:22Z INFO: InitializeContracts: History load not successful for contract type project. Will initialize from contract replay.
2024-06-12T07:13:22Z INFO: InitializeContracts: Loading stored history for contract type protocol...
2024-06-12T07:13:22Z INFO: InitializeContracts: Initializing registry from stored history for contract type protocol...
2024-06-12T07:13:22Z INFO: InitializeContracts: History load not successful for contract type protocol. Will initialize from contract replay.
2024-06-12T07:13:22Z INFO: InitializeContracts: Loading stored history for contract type scraper...
2024-06-12T07:13:22Z INFO: InitializeContracts: Initializing registry from stored history for contract type scraper...
2024-06-12T07:13:22Z INFO: InitializeContracts: History load not successful for contract type scraper. Will initialize from contract replay.
2024-06-12T07:13:22Z INFO: InitializeContracts: History load not successful for contract type sidestake. Will initialize from contract replay.
I'm not sure what all of this means. I've already set up my beacon on a separate device - it's been up for 7 days, so I don't think the problem is that it just hasn't been checked or it needs time to update or something
2024-06-12T07:13:22Z BOINC team requirement active at last known block. Whitelist: gridcoin
Not sure what this means either. I am in the gridcoin team in my current project, asteroids@home, and I have submitted a few thousand work units
2024-06-12T07:13:22Z Gridcoin: checking for updates every 120 hours
If Gridcoin itself (not this container, but the Gridcoin program itself, that the container is running a headless version of) updates, will this container still be compatible? Does the container auto-update Gridcoin? Or will I need to wait until the container is updated? Come to think of it, is the container still maintained? A lot of the files were last updated 2y ago, but it could just be that they haven't needed to be updated for two years
2024-06-12T07:14:32Z ERROR: CheckForLatestUpdate: Exception occurred while checking for latest update. (Failed to get version response from URL https://api.github.com/repos/gridcoin-community/Gridcoin-Research/releases/latest: Timeout was reached)
Should I be worried about this? I can't imagine why I'm timing out here. I just pulled the container today, so naturally I'm going to be on the latest version anyway- if an update is pushed, does this really mean I don't have to go through docker's usual "pull the latest image and redeploy" song and dance?
A few questions: This container doesn't do any of the actual BOINC crunching, right? I copy/pasted my BOINC data folder into the container's mounted volumes. I would actually prefer not to do any BOINC-ing on this device, but I'm not sure how to, like, "tell the container" that
Also, is there any way (maybe through the CLI or a GUI later) to do a manual reward claim (MRC)? This is a pretty important feature since it's what makes solo crunching viable for newer users. If you don't have it, you'll need to have the Gridcoin program on another device, and keep its blockchain updated, in order to send in MRC requests
Lastly, a small feature request would be, at the end of all of this, some kind of, like, "Hey, the container is working and everything is clear. You're all good!" or "Oh no, we couldn't connect to your wallet" or "Hold tight, we're syncing the blockchain" type line at the very end would be a great way of just, making sure the user is on the same page about whether everything is working or not. Since it's headless, people probably want it to be a pretty set-and-forget process, but it would be great to have it spelled out before the 'forget'

Sorry for the late reply. I just saw this issue.

So the ErrorFile I have, db.log, is 0kb. You might not want to mention this unless there is an error that would give someone a reason to look at the file, or it could confuse people

These logs are printed by Gridcoin. I can't control what it prints. This is simply a container running the official Gridcoin client. You can ignore most of the logs as long as it is staking and processing transactions as expected.

2024-06-12T07:14:32Z ERROR: CheckForLatestUpdate: Exception occurred while checking for latest update. (Failed to get version response from URL

Seems now Gridcoin has auto-update. I'm not sure why it timed out. I'll check if Gridcoin will auto-update itself.

This container doesn't do any of the actual BOINC crunching, right?

No, it won't do any crunching. And you don't have to tell it.

I copy/pasted my BOINC data folder into the container's mounted volumes.

I prefer mount the remote BOINC data folder with SMB/NFS then mount it into the container, so Gridcoin can have the latest information about my jobs.

Also, is there any way (maybe through the CLI or a GUI later) to do a manual reward claim (MRC)?

I'll check if Gridcoin has any built-in command parameters for it.

Lastly, a small feature request would be, at the end of all of this, some kind of, like, "Hey, the container is working and everything is clear. You're all good!"

I don't think I can do this. This image simply starts the Gridcoin in the background and prints its log output. I can't determint if the status is OK or not. Gridcoin maintains the status but I don't have access to it.


add Antora

Add Antora to the catalog. See https://antora.org.

Is there anything else I can do to make this merge ready?

Nope, sorry for the wait - thanks for adding!

Thanks @erquhart!

It looks like the link to GitLab doesn't work. What's the correct syntax? It seems that staticgen is assuming the project is on GitHub.
https://www.staticgen.com/antora

The assumption seems to be here: https://github.com/netlify/staticgen/blob/master/src/Project/Project.js#L100-L102. Not all projects live on GitHub ;)

Argh, forgot we were holding off on this: https://github.com/netlify/staticgen/pull/429

Thanks for the pointer. To give the issue more visibility, I've created a dedicated issue for GitLab support. See https://github.com/netlify/staticgen/issues/510.


Add addMeeting command

Codecov Report
Base: 66.07% // Head: 64.39% // Decreases project coverage by -1.67% :warning:

Coverage data is based on head (ecd4212) compared to base (1823fbd).
Patch coverage: 5.26% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #127      +/-   ##
============================================
- Coverage     66.07%   64.39%   -1.68%
  Complexity      420      420
============================================
  Files            78       80       +2
  Lines          1403     1441      +38
  Branches        142      143       +1
============================================
+ Hits            927      928       +1
- Misses          436      472      +36
- Partials         40       41       +1

Impacted Files
Coverage Δ

...eedu/address/logic/commands/AddMeetingCommand.java
0.00% <0.00%> (ø)

.../address/logic/parser/AddMeetingCommandParser.java
0.00% <0.00%> (ø)

...va/seedu/address/logic/parser/MyInsuRecParser.java
88.88% <0.00%> (-11.12%)
:arrow_down:

src/main/java/seedu/address/model/Model.java
100.00% <ø> (ø)

...rc/main/java/seedu/address/model/ModelManager.java
92.15% <0.00%> (-7.85%)
:arrow_down:

src/main/java/seedu/address/model/MyInsuRec.java
82.14% <0.00%> (-3.05%)
:arrow_down:

...ain/java/seedu/address/logic/parser/CliSyntax.java
87.50% <100.00%> (+4.16%)
:arrow_up:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Ideas for changing things without ejecting

Hi !
Great work !
A few ideas to avoid ejecting the whole project :

Be able to change easily Sass to Less or Stylus (I love Stylus)
Be able to add another JS file to compilation

I love how it's easy to start with your configuration. But I'm not a WebPack expert.
I know how to update a config with Gulp or Brunch, bat that's it.
As JS in WP is kind of a "new" thing. I think former PHP dev will seek the simplicity you provide :)
Cheers

That's very kind of you to say! 💯
One of the best thing about create-guten-block is how opinionated it is. I am literally thinking of moving it all to Styled Components that's CSS in JS.
But I'll in to support of Stylus and Less, it's a decision, not options philosophy here, and I don't want to make it a tool that can have all the features as it will make things complex for end users.
Can you explain "Be able to add another JS file to compilation"?
Peace! ✌

Oh yeah great Idea. I'm just starting with Styled components but it's awesome. I really think in the long term it'll become a standard way of doing CSS in React. It's simple and clean.
For the "another JS" :
For now we have blocks.js compiling into blocks.build.js
But if I want another JS file to compile elsewhere (for other reasons) I'm not sure if I can do it.
For now I have Webpack for Gutenberg but I still keep Gulp to compile JS and CSS for the PHP Side wp the WP admin . May be in the future I'll be able to keep only Webpack (but I understand CGB is not about handling every custom need. For now my mix gulp + webpack is perfect and fits all my needs)
thanks !

+1 for moving to styled-components.

Oh I have a project that I am going to open source soon which has both Gulp and webpack support. Also, I am open to a PR related to styled-components.

Hi guys, is it possible to add an npm package npm i package-name without ejecting?
At the moment doing it will reset the package.json and node_modules folder loosing all CGB settings and scripts.

@ahmadawais doing npx create-guten-block test-cgb-block-3 the installation script on my machine create the following package.json
{
  "name": "test-cgb-block-3-cgb-guten-block",
  "version": "1.0.0",
  "private": true,
  "scripts": {
    "start": "cgb-scripts start",
    "build": "cgb-scripts build",
    "eject": "cgb-scripts eject"
  }
}

If you add a package leaving it as is (eg. npm i throttle-debounce ) npm will reset your node_modules folder.
To add modules i had to add manually cgb-scripts as dependency.
{
  "name": "test-cgb-block-3-cgb-guten-block",
  "version": "1.0.0",
  "private": true,
  "scripts": {
    "start": "cgb-scripts start",
    "build": "cgb-scripts build",
    "eject": "cgb-scripts eject"
  },
  "dependencies": {
    "cgb-scripts": "^1.9.8"
  }
}

node v8.12.0
npm v6.4.1

@sinegrain I just ran npx create-guten-block tstblck to test it and the block that got created had this package.json file.
{
  "name": "tstblck-cgb-guten-block",
  "version": "1.0.0",
  "private": true,
  "scripts": {
    "start": "cgb-scripts start",
    "build": "cgb-scripts build",
    "eject": "cgb-scripts eject"
  },
  "dependencies": {
    "cgb-scripts": "1.9.8"
  }
}

The dependency of cgb-scripts is there.

@ahmadawais ok so it is definitively a strangeness related to my setup.
If i find a replicable reason i will let you know.
Thank you for the support!


Split http and non-http layers

This change introduces Microsoft.AspNetCore.SignalR.Http
and Microsoft.AspNetCore.Sockets.Http which expose extension methods
on IAppBuilder for wiring up a sockets and signalr pipeline.

@anurse am merging this before @mikaelm12 's ns2.0 changes. Feel free to make changes will I enjoy the 🌞 in hawaii 😄

Oh and can somebody update Coherence.csv


MODE-2384 Removed preemptive caching of the list of repositories by the CMIS Service Factory.

Looks good.


[Snyk] Security upgrade gunicorn from 20.0.4 to 22.0.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

requirements.txt

Vulnerabilities that will be fixed
By pinning:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

768/1000  Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7.5
HTTP Request Smuggling SNYK-PYTHON-GUNICORN-6615672
gunicorn:  20.0.4 -> 22.0.0
No
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Qovery can create a Preview Environment for this PR.
To trigger its creation, please post a comment with one of the following command.

Command
Blueprint environment

/qovery  preview d9b7b17e-2b12-4f2e-aa62-4645c4e74c4f
blueprint-x

/qovery  preview {all|UUID1,UUID2,...}
To preview multiple environments

This comment has been generated from Qovery AI :robot:.
Below, a word from its wisdom :

Don’t Sacrifice Readability, you are going to debug it in 6 months


Not working add_metadata_from_env in logstash v5.1.1

The configure option add_metadata_from_env is not working.
System info is here:

Version: logstash 5.1.1
Operating System: official docker image of logstash:5.1.1
Config File:

input {
    stdin { }
}

filter {
    environment {
        add_metadata_from_env => {
            "home1" => "HOME"
        }
        add_field => {
            "home2" => "${HOME}"
        }
    }
}

output {
    stdout {
        codec => rubydebug
    }
}

Sample Data:

Sending Logstash's logs to /var/log/logstash which is now configured via log4j2.properties
The stdin plugin is now waiting for input:
09:05:20.762 [[main]-pipeline-manager] INFO  logstash.pipeline - Starting pipeline {"id"=>"main", "pipeline.workers"=>1, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>5, "pipeline.max_inflight"=>125}
09:05:20.770 [[main]-pipeline-manager] INFO  logstash.pipeline - Pipeline main started
09:05:20.845 [Api Webserver] INFO  logstash.agent - Successfully started Logstash API endpoint {:port=>9600}
aaaa
{
    "@timestamp" => 2017-02-14T09:05:24.998Z,
      "@version" => "1",
          "host" => "696a6caef712",
       "message" => "aaaa",
          "tags" => [],
         "home2" => "/root"
}

You must use the following option to read metadata with logstash-output-stdout.
output {
  stdout {
    codec  => rubydebug {
      metadata => true
    }
  }
}

Source: Make Your Config Cleaner and your Log Processing Faster with Logstash Metadata


selectActiveId and getActiveId don't use the IDType from the State

[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior
We like to create a typescript type for our Ids so it is easy to document where the id is used in code.
export type TodoId = string

If we have this store
import { Injectable } from "@angular/core";
import {
  ActiveState,
  EntityState,
  EntityStore,
  StoreConfig
} from "@datorama/akita";

export type TodoId = string;
export interface Todo {
  id: TodoId;
  name: string;
  done: boolean;
}

export interface TodoState extends EntityState<Todo, TodoId>, ActiveState {}

@Injectable({ providedIn: "root" })
@StoreConfig({ name: "todos" })
export class TodoStore extends EntityStore<TodoState> {
  constructor() {
    super();
  }
}

and this query
import { Injectable } from "@angular/core";
import { QueryEntity } from "@datorama/akita";
import { Observable } from "rxjs";
import { TodoId, TodoState } from "./todo.store";

@Injectable({ providedIn: "root" })
export class TodoQuery extends QueryEntity<TodoState> {
  getActiveTodoSomething() {
    // getActiveId() gets typed as ID
    const id = this.getActiveId();

    // but should get typed as
    const correctId: TodoId = this.getActiveId();

    // and this gets typed as Observable<ID>
    const id$ = this.selectActiveId();

    // but should also be Observable<TodoId>
    const correctId$: Observable<TodoId> = this.selectActiveId();
  }
}

You can see that I cannot type the correctId and correctId$ because my TodoId is a string and not a string | number

Expected behavior
If using the State extensions ActiveState and MultiActiveState the getActiveId and selectActiveId should return the IdType for the store and not the predefined akita ID

Minimal reproduction of the problem with instructions
https://stackblitz.com/edit/akita-active-id-type?file=src%2Fapp%2Ftodo.query.ts
What is the motivation / use case for changing the behavior?
I want activeId to have the correct type set in the State Generic

Environment

Angular version: 11

You're right, but I'm afraid this will be a breaking change for some users. We'll add it in the next major version. You can get around it for now by doing this:
export interface TodoState extends EntityState<Todo, TodoId>, ActiveState {
  active: TodoId
}

Great :)


Could not find 'tcp' in 'server'

Currently when trying to compile the tcp-server example with the following Carog.toml I get the above error.
[dependencies]
tokio-modbus = { version = "*", default-features = false, features = ["tcp", "server"] }

I am on the current stable release of rust.

You need to use "tcp-server-unstable", see the Cargo.toml.
The server features are considered experimental and are hardly documented, see also #146.

https://github.com/slowtec/tokio-modbus/pull/148


Add multiple instances warning

This is necessary to prevent confusing since single instance is requirement.

Was bitten by that once.

Me too. Even worse with beta version locking.

me too actually


V2 POST tweet

Hi,
Is there a way to use the new POST endpoint of the Twitter API V2 ? Therefore create a new tweet.
Thanks.

I am also looking for it! Have you found a solution?

Hello, here too, we'd like this!

Hi, I need POST Twitter API V2

If anyone is looking for a workaround, this is what I did in one of my projects using the latest version (5.0.4 as of writing).
using System.Text;
using Newtonsoft.Json;
using Tweetinvi;
using Tweetinvi.Core.Web;
using Tweetinvi.Models;

namespace YourNameSpace
{
    public class TweetsV2Poster
    {
        // ----------------- Fields ----------------

        private readonly ITwitterClient client;

        // ----------------- Constructor ----------------

        public TweetsV2Poster( ITwitterClient client )
        {
            this.client = client;
        }

        public Task<ITwitterResult> PostTweet( TweetV2PostRequest tweetParams )
        {
            return this.client.Execute.AdvanceRequestAsync(
                ( ITwitterRequest request ) =>
                {
                    var jsonBody = this.client.Json.Serialize( tweetParams );

                    // Technically this implements IDisposable,
                    // but if we wrap this in a using statement,
                    // we get ObjectDisposedExceptions,
                    // even if we create this in the scope of PostTweet.
                    //
                    // However, it *looks* like this is fine.  It looks
                    // like Microsoft's HTTP stuff will call
                    // dispose on requests for us (responses may be another story).
                    // See also: https://stackoverflow.com/questions/69029065/does-stringcontent-get-disposed-with-httpresponsemessage
                    var content = new StringContent( jsonBody, Encoding.UTF8, "application/json" );

                    request.Query.Url = "https://api.twitter.com/2/tweets";
                    request.Query.HttpMethod = Tweetinvi.Models.HttpMethod.POST;
                    request.Query.HttpContent = content;
                }
            );
        }
    }

    /// <summary>
    /// There are a lot more fields according to:
    /// https://developer.twitter.com/en/docs/twitter-api/tweets/manage-tweets/api-reference/post-tweets
    /// but these are the ones we care about for our use case.
    /// </summary>
    public class TweetV2PostRequest
    {
        /// <summary>
        /// The text of the tweet to post.
        /// </summary>
        [JsonProperty( "text" )]
        public string Text { get; set; } = string.Empty;
    }
}

Invoke it via this:
            var client = new TwitterClient(
                "ConsumerKey",
                "ConsumerSecret",
                "AccessToken",
                "AccessTokenSecret"
            );

            var poster = new TweetsV2Poster( client );

            ITwitterResult result = await poster.PostTweet(
                new TweetV2PostRequest
                {
                    Text = "Your Tweet Goes Here"
                }
            );

            if( result.Response.IsSuccessStatusCode == false )
            {
                throw new Exception(
                    "Error when posting tweet: " + Environment.NewLine + result.Content
                );
            }

We appreicate the work around, but why isnt this standard? Is this project currently active?

with media:
`await client.Execute.AdvanceRequestAsync(
(ITwitterRequest request) =>
{
var jsonBody = client.Json.Serialize(new TweetV2PostRequest()
{
Text = template,
media = new mediaIDS()
{
media_ids = new string[] { uploadedPhoto.Id.ToString() },
}
});
                                // Technically this implements IDisposable,
                                // but if we wrap this in a using statement,
                                // we get ObjectDisposedExceptions,
                                // even if we create this in the scope of PostTweet.
                                //
                                // However, it *looks* like this is fine.  It looks
                                // like Microsoft's HTTP stuff will call
                                // dispose on requests for us (responses may be another story).
                                // See also: https://stackoverflow.com/questions/69029065/does-stringcontent-get-disposed-with-httpresponsemessage
                                var content = new StringContent(jsonBody, Encoding.UTF8, "application/json");

                                request.Query.Url = "https://api.twitter.com/2/tweets";
                                request.Query.HttpMethod = Tweetinvi.Models.HttpMethod.POST;
                                request.Query.HttpContent = content;
                            }
                        );`

`  public class TweetV2PostRequest
{
///
/// The text of the tweet to post.
///
[JsonProperty("text")]
public string Text { get; set; } = string.Empty;
public mediaIDS media { get; set; }
}
public class mediaIDS
{
    /// <summary>
    /// The text of the tweet to post.
    /// </summary>

    public string[] media_ids { get; set; }
}`

A workaround for a main method like this ????  where is the author of tweetinvi .. holidays .. left ????

Thank you very much for the workarounds they worked wonderfully.  I am having a little trouble, however, with the result.  I would like to know the resulting ID of the tweet after it's been posted, and I do not see this property with the ITwitterResult object or its properties.  The ITwitterResult.Response.URL returns the API called (https://api.twitter.com/2/tweets) rather than the result of the tweet URL.  I would appreciate any guidance/suggestions here.

You just grab it from the response content.
 ITwitterResult result = poster.PostTweet(tweetRequest).Result;

                if (result.Response.IsSuccessStatusCode)
                {
                    response.Id = JObject.Parse(result.Response.Content)["data"]["id"].To<long>();
                }

Awesome @cblaze22 thank you very much!

This solution works. But it would be much nicer if the update came and it was in this section.

Has anyone been able to get the Retweet endpoint to work?

If anyone is looking for a workaround, this is what I did in one of my projects using the latest version (5.0.4 as of writing).

Very nice ... I postet a tweet with this workaround with FREE tier .. this should not be possible (-;

If anyone is looking for a workaround, this is what I did in one of my projects using the latest version (5.0.4 as of writing).
using System.Text;
using Newtonsoft.Json;
using Tweetinvi;
using Tweetinvi.Core.Web;
using Tweetinvi.Models;

namespace YourNameSpace
{
    public class TweetsV2Poster
    {
        // ----------------- Fields ----------------

        private readonly ITwitterClient client;

        // ----------------- Constructor ----------------

        public TweetsV2Poster( ITwitterClient client )
        {
            this.client = client;
        }

        public Task<ITwitterResult> PostTweet( TweetV2PostRequest tweetParams )
        {
            return this.client.Execute.AdvanceRequestAsync(
                ( ITwitterRequest request ) =>
                {
                    var jsonBody = this.client.Json.Serialize( tweetParams );

                    // Technically this implements IDisposable,
                    // but if we wrap this in a using statement,
                    // we get ObjectDisposedExceptions,
                    // even if we create this in the scope of PostTweet.
                    //
                    // However, it *looks* like this is fine.  It looks
                    // like Microsoft's HTTP stuff will call
                    // dispose on requests for us (responses may be another story).
                    // See also: https://stackoverflow.com/questions/69029065/does-stringcontent-get-disposed-with-httpresponsemessage
                    var content = new StringContent( jsonBody, Encoding.UTF8, "application/json" );

                    request.Query.Url = "https://api.twitter.com/2/tweets";
                    request.Query.HttpMethod = Tweetinvi.Models.HttpMethod.POST;
                    request.Query.HttpContent = content;
                }
            );
        }
    }

    /// <summary>
    /// There are a lot more fields according to:
    /// https://developer.twitter.com/en/docs/twitter-api/tweets/manage-tweets/api-reference/post-tweets
    /// but these are the ones we care about for our use case.
    /// </summary>
    public class TweetV2PostRequest
    {
        /// <summary>
        /// The text of the tweet to post.
        /// </summary>
        [JsonProperty( "text" )]
        public string Text { get; set; } = string.Empty;
    }
}

Invoke it via this:
            var client = new TwitterClient(
                "ConsumerKey",
                "ConsumerSecret",
                "AccessToken",
                "AccessTokenSecret"
            );

            var poster = new TweetsV2Poster( client );

            ITwitterResult result = await poster.PostTweet(
                new TweetV2PostRequest
                {
                    Text = "Your Tweet Goes Here"
                }
            );

            if( result.Response.IsSuccessStatusCode == false )
            {
                throw new Exception(
                    "Error when posting tweet: " + Environment.NewLine + result.Content
                );
            }

Hero! Thanks for this effort.

Somebody knows, why i get 403 Forbidden? I am sure that all keys are correct

If anyone is looking for a workaround, this is what I did in one of my projects using the latest version (5.0.4 as of writing).
using System.Text;
using Newtonsoft.Json;
using Tweetinvi;
using Tweetinvi.Core.Web;
using Tweetinvi.Models;

namespace YourNameSpace
{
    public class TweetsV2Poster
    {
        // ----------------- Fields ----------------

        private readonly ITwitterClient client;

        // ----------------- Constructor ----------------

        public TweetsV2Poster( ITwitterClient client )
        {
            this.client = client;
        }

        public Task<ITwitterResult> PostTweet( TweetV2PostRequest tweetParams )
        {
            return this.client.Execute.AdvanceRequestAsync(
                ( ITwitterRequest request ) =>
                {
                    var jsonBody = this.client.Json.Serialize( tweetParams );

                    // Technically this implements IDisposable,
                    // but if we wrap this in a using statement,
                    // we get ObjectDisposedExceptions,
                    // even if we create this in the scope of PostTweet.
                    //
                    // However, it *looks* like this is fine.  It looks
                    // like Microsoft's HTTP stuff will call
                    // dispose on requests for us (responses may be another story).
                    // See also: https://stackoverflow.com/questions/69029065/does-stringcontent-get-disposed-with-httpresponsemessage
                    var content = new StringContent( jsonBody, Encoding.UTF8, "application/json" );

                    request.Query.Url = "https://api.twitter.com/2/tweets";
                    request.Query.HttpMethod = Tweetinvi.Models.HttpMethod.POST;
                    request.Query.HttpContent = content;
                }
            );
        }
    }

    /// <summary>
    /// There are a lot more fields according to:
    /// https://developer.twitter.com/en/docs/twitter-api/tweets/manage-tweets/api-reference/post-tweets
    /// but these are the ones we care about for our use case.
    /// </summary>
    public class TweetV2PostRequest
    {
        /// <summary>
        /// The text of the tweet to post.
        /// </summary>
        [JsonProperty( "text" )]
        public string Text { get; set; } = string.Empty;
    }
}

Invoke it via this:
            var client = new TwitterClient(
                "ConsumerKey",
                "ConsumerSecret",
                "AccessToken",
                "AccessTokenSecret"
            );

            var poster = new TweetsV2Poster( client );

            ITwitterResult result = await poster.PostTweet(
                new TweetV2PostRequest
                {
                    Text = "Your Tweet Goes Here"
                }
            );

            if( result.Response.IsSuccessStatusCode == false )
            {
                throw new Exception(
                    "Error when posting tweet: " + Environment.NewLine + result.Content
                );
            }

You are a god right now! Wish you a happy life my good sir.

Please. How to replay a tweet having its ID?

video and image uploads
using System.Text;
using System.Text.Json.Nodes;
using Newtonsoft.Json;
using Tweetinvi;
using Tweetinvi.Core.Web;
using Tweetinvi.Models;

namespace ur_namespace

{
    public class TweetsV2Poster
    {
        // ----------------- Fields ----------------

        private readonly ITwitterClient client;

        // ----------------- Constructor ----------------

        public TweetsV2Poster(ITwitterClient client)
        {
            this.client = client;
        }

        public async Task<ITwitterResult> PostTweet(PostTweetReq tweetRequest)
        {

            var jsonBody = client.Json.Serialize(tweetRequest);
            var result =await this.client.Execute.AdvanceRequestAsync((ITwitterRequest request) =>
            {
                request.Query.Url = "https://api.twitter.com/2/tweets";
                request.Query.HttpMethod = Tweetinvi.Models.HttpMethod.POST;
                request.Query.HttpContent = new StringContent(jsonBody, Encoding.UTF8, "application/json");
            });

            return result;

        }
    }

    /// <summary>
    /// There are a lot more fields according to:
    /// https://developer.twitter.com/en/docs/twitter-api/tweets/manage-tweets/api-reference/post-tweets
    /// but these are the ones we care about for our use case.
    /// </summary>
    public class PostTweetReq
    {
        [JsonProperty("text")]
        public string Text { get; set; } = string.Empty;
        public mediaIDS media { get; set; }

    }

    public class mediaIDS
    {
        public string[] media_ids { get; set; }
    }
}

invoke via this:

var client = new TwitterClient(
                consumerKey,
                consumerSecret,
                accessToken,
                accessTokenSecret
            );

            dynamic uploadedMedia = null;
            if (selectedFilePath.EndsWith("mp4"))
            {
                uploadedMedia = await client.Upload.UploadTweetVideoAsync(mediaData.ToArray());
            }
            else
            {
                uploadedMedia = await client.Upload.UploadTweetImageAsync(mediaData.ToArray());
            }

            // Check if the image upload was successful
            if (uploadedMedia != null)
            {
                var tweetRequest = new PostTweetReq
                {
                    Text = postContent.Text,
                    media = new mediaIDS()
                    {
                        media_ids = new string[] { uploadedMedia.Id.ToString() },
                    },

                };

                var poster = new TweetsV2Poster(client);
                // Send tweet request to Twitter API
                var result=await poster.PostTweet(tweetRequest);

                // Check if the tweet was successfully posted
                if (result.Response.IsSuccessStatusCode)
                {
                    logBox.Text = "You published the tweet." + result.Content;
                }
                else
                {
                    logBox.Text = "Error when posting tweet: " + result.Content;
                }
            }
            else
            {
                logBox.Text = "Error when uploading image.";
            }


Lack of Amy Response for People Other Than Cheese Ball

There should be an increase in Amy's response to other people

We'll see about that.

Weights changed in commit 194030cfa67aa6babd93a987e54234e73c31392a. Considering issue resolved.


Create arc 22

Extend arc-4 to add read-only annotation to methods

Because it's machine readable
On Thu, Mar 17, 2022 at 1:59 PM Frank Szendzielarz @.***>
wrote:

@.**** commented on this pull request.
In ARCs/arc-0022.md
https://github.com/algorandfoundation/ARCs/pull/79#discussion_r829346144
:

@@ -0,0 +1,64 @@
+---
+arc: 22
+title: Extend arc-4 to add read-only annotation to methods
+status: Draft
+---

+# Extend arc-4 to add read-only annotation to methods
+
+## Summary
+
+The following document introduces a convention for creating methods (as described in ARC-4) which don't mutate state.
I still don't see that as answering my question. Why would a flag be of
any use above the description field?
—
Reply to this email directly, view it on GitHub
https://github.com/algorandfoundation/ARCs/pull/79#discussion_r829346144,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADL7T5ILTBNK5EKNF4YD4DVANXJHANCNFSM5Q4GC6MA
.
You are receiving this because you commented.Message ID:
@.***>


Check sparse matrix condition for Jacobian and Hessian constructors

Hi, a keen user of symforce here!
Found some code that may lead to some confusion in the future.
Suggesting a change for that.
Best,
changh95

Variable jacobian_is_sparse should really be kIsSparseEigenType<T>() instead of !kIsEigenType<T>()
So is for hessian_is_sparse

@aaron-skydio
Thanks for a prompt review! There's no build issues - the suggested code change is for readability change. I noticed this code as I was looking to make SymForce work in C++11 and replace Eigen usages with my custom container (e.g. vector / matrix).
Speaking of which, SymForce doesn't seem to necessarily have C++14 features (only some constexpr functions are being used for simplicity). Downgrading it to C++11 will allow more users to use SymForce. I'm in an engineering field that need to comply with MISRA C++11 safety guidelines, and popular nonlinear solvers like Ceres and GTSAM all require C++14.

Cool - yeah we haven't really tracked if there is anything specific we're doing that would be impossible in C++11 as opposed to C++14, but at minimum there are parts of C++14 that we use.  We don't plan on adding C++11 support, but if you do get symforce to build on C++11 I'd be curious to see what's required


Add support for Codeium Enterprise

I haven't been able to test this since I don't know how to hook up the app to XCode, but it's simple enough that I think it should work.

You can test with this version
https://github.com/intitni/CodeiumForXcode/releases/download/codeium%2F0.19.2/test.app.zip

Thanks! Unfortunately, it didn't work, but I think I fixed it. Could you build me another test release?

Uploaded https://github.com/intitni/CodeiumForXcode/releases/download/codeium%2F0.19.2/test.2.app.zip

Cool, this works!

( • ̀ω•́ )b I will release it later


[BUG] Use PyAPI_Func instead of DL_EXPORT, find a replacement for DL_IMPORT

Describe the bug
DL_EXPORT and DL_IMPORT were deprecated in cpython 2.3. The macros are empty #defines now in Python3.4+, so any functions wrapped in them are not actually being exported/imported (unless used with Python2). Doing git grep DL_EXPORT shows usage in
Cython/Compiler/ModuleNode.py
Cython/Compiler/PyrexTypes.py
Cython/Utility/ModuleSetupCode.c
Demos/embed/Makefile.msc  # documentation?
tests/compile/callingconvention.srctree
tests/compile/declarations.srctree
tests/compile/excvalcheck.h
tests/compile/nogil.h

It seems that the code paths in Cython that define DL_EXPORT and DL_IMPORT do not actually expect them to do anything? If that is correct, should we remove them?

There's some relevant discussion at https://github.com/cython/cython/pull/360. I'm not completely sure what the conclusion is mainly because I don't deal with Windows enough to quite get when you'd usually use these


NEXT-10356 - Empty state of admin search ist too tall

When there is no search result inside the admin search the popup is too tall.
Fix is very easy. Just remove the min-height scss property.
But please make sure every other state of the search is not broken.
h2. Current State

h2. Expected State

Unfortunately the screenshots are not correctly linked.

Unfortunately the screenshots are not correctly linked.

Sorry, updated :)

Sorry, updated :)


Add list--spaced modifier

This modifier is designed to make lists easier to scan when the list items are long, and span multiple lines.
Closes #1272

Makes sense, think we'll need to add some new guidance to the Design System too.

Absolutely - I'm going to work on that later

On mobile, we do not include any margin after bulleted or numbered list items – the margin is only added on tablet and above.
I'm wondering if we should be using a slightly smaller margin on mobile to be consistent and to better associate each bullet point with the lead-in paragraph:
  %govuk-list--spaced > li {
    margin-bottom: govuk-spacing(2);

    @include govuk-media-query($from: tablet) {
      margin-bottom: govuk-spacing(3);
    }

    &:last-child {
      margin-bottom: govuk-spacing(0);
    }
  }

To my (non-designer) eyes the 15px on mobile otherwise seems excessive.
Thoughts @timpaul or @christopherthomasdesign?

Current (15px)
Proposed (10px)

I think that typically the internal padding and margins of textual components should shrink by a similar proportion to the text shrinkage, so yep - I'd agree with your suggestion. @christopherthomasdesign - what do you think? There's no crazy vertical rhythm thing we're doing that I've forgotten about is there?

Looks good to me @timpaul, good suggestion @36degrees 👍

This proposal was approved by the Design System working group on 14 May 2020

Nice work! 🎊  I've used this style a few times in the past.


Can you produce a version of Yolov7 combined with bytetrack

Hi,
I hope all is fine,
I think this is very challenge for you if you need to learn new things and improve your skills
sorry about this reply, but this is truth okay
Thank you
Mohamed

you need just to understand the input of byteTrack and the output of Yolov7 and try to match between them it's very useful challenge for you.

YOLOv7 ByteTrack Implementation by PaddleDetection_YOLOSeries
see #268


Configuration problem

Logger: custom_components.nuki_ng.config_flow
Source: helpers/network.py:201
Integration: Nuki Lock (documentation, issues)
First occurred: 17:59:32 (1 occurrences)
Last logged: 17:59:32
Error getting HASS url:
Traceback (most recent call last):
File "/config/custom_components/nuki_ng/config_flow.py", line 61, in _get_hass_url
return get_url(hass)
File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 201, in get_url
raise NoURLAvailableError
homeassistant.helpers.network.NoURLAvailableError
Logger: homeassistant.config_entries
Source: helpers/network.py:201
First occurred: 17:59:55 (1 occurrences)
Last logged: 17:59:55
Error setting up entry Porta di casa for nuki_ng
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/nuki_ng/init.py", line 25, in async_setup_entry
coordinator = NukiCoordinator(hass, entry, data)
File "/config/custom_components/nuki_ng/nuki.py", line 344, in init
url = config.get("hass_url", get_url(hass))
File "/usr/src/homeassistant/homeassistant/helpers/network.py", line 201, in get_url
raise NoURLAvailableError
homeassistant.helpers.network.NoURLAvailableError

Luigi, can you show the HA config.yaml please?
Also, please enclose all code/logs/etc. in comments (see the <> symbol in the top bar of the editor when writing/editing.

This is the configuration you tried to input, right?

I have the same problem after a home assistant update, the integration no longer works.

Same error! Any solution?

Same here.
Nuki 4 pro, no bridge needed, trying to use the Web API.
I'm putting only the Web Api token field and get the "NoURLAvailableError" in the logs.


Fix quaternion normalization

Make the API between EigenAlgebra and TinyAlgebra consistent for normalize(Quaternion).

Thanks for helping out with this. I'll add some inline comments, can you check it out?

Haha, I noticed it, no need to change. While scrolling, it is easy to skip 'next file, markers.


How to get oauth_token

Description:
hello sir, i have oauth_token in parameters but how to i get only oauth_token to variable
this my code
   `func doAuthPetani() {

    print ("hei")
    var is8VillagesInstalled: Bool = {
        let appUrl = URL(string: "8villages://app")
        return UIApplication.shared.canOpenURL(appUrl!)
    }()

    self.oauthswift = OAuth1Swift.init(consumerKey: "**********",
                                       consumerSecret: "**********",
                                       requestTokenUrl: "https://oauth.8villages.com/tokens/request-token",
                                       authorizeUrl: "8villages://app/?oauth_token_secret=",
                                       accessTokenUrl: "https://accounts.8villages.com/tokens/access-token")

    self.oauthswift?.authorizeURLHandler = OAuthSwiftOpenURLExternally.sharedInstance
    self.oauthswift?.allowMissingOAuthVerifier = true

    self.oauthswift?.postOAuthRequestToken(
        callbackURL: fileUrl as! URL,
        success: { credentials, response, parameters in
            print("credentials", credentials)
            print("response =", response!)
            print("parameters =", parameters)

            // request ke api login

    }, failure: { error in
        print("the error is", error.description, error.errorCode)
    });

}`

and this is my output

and there we can see i got oauth_token and i want to it be variable for i will use for authentication login
example : i want to
let requestToken = oauth_token
OAuth Provider (Twitter, Github, ..):
8villages
OAuth Version:

[x] Version 1
[ ] Version 2

OS (Please fill the version) :

[x] iOS :
[ ] OSX :
[ ] TVOS :
[ ] WatchOS  :

Installation method:

[x] Carthage
[ ] CocoaPods
[ ] Manually

Library version:

[ ] head
[ ] v1.0.0
[ ] v0.6
[x] other: (Please fill in the version you are using.)

Xcode version:

[x] 8.0 (Swift 3.0)

[ ] 8.0 (Swift 2.3)

[ ] 7.3.1

[ ] other: (Please fill in the version you are using.)

[ ] objective c

how many issue will you open? (without any question I ask to you)
credential.oauthToken


[LWRP] Underwater effect is cut at middle of screen

Underwater curtain seems to clip with near plane producing an odd result where curtain is cut.
Happens in single pass VR in LWRP.

For me, in main.unity, 2019.2, mock HMD, the depth cache wasn't populating. It seems the depth cache camera needed to be set to Reflection type to stop it being affected by VR. Fix: https://github.com/crest-ocean/crest/commit/4d8dcd3ff978080fc9741d1cc8774cadec7b8b78

We have a pretty good idea of the problem and should have a fix soon.

Hi, any news on this?

Hi there, sorry we haven't fixed it yet. I speak to my colleague and I hope we can fix it soon - will report back when i have news.

Hi, I've been unable to dedicate much time to Crest for the past few months for personal reasons, I'm jumping onto looking at this now so hopefully will have something through soon 😄

A fix for this should be integrated into the next release.

Should be fixed in Crest URP 3.5. Nice one @moosichu.


SOLVED,CLOSE THX.

@danielkrupinski  pls halp :( what am i doing wrong?

Then close it ?

How?


Tracking issue of BCP-96: Add Glob Patterns Support

RFC PR: https://github.com/beyondstorage/beyond-ctl/pull/96
Steps

[ ] Implement glob patterns
[ ] Update docs for glob support

I will restate the GSP with the expected behavior of expanding the glob first and then executing the command.


update edit-styles

@pbakaus or @Garbee please review
Added a section on the .cls button in the Styles pane and did a general update of the doc. I didn't look at the preprocessor section. Me thinks that should be moved to its own doc.
cc @paulirish

LGTM


Add the support of using Apache Zookeeper as an alternative storage

I want to have a try.
Can I use go-zookeeper/zk as Zookeeper client?

@jihuayu Thank you!

Can I use go-zookeeper/zk as Zookeeper client?

Yes for sure.

@git-hulk I have some question about etcd storage.
In this code:
When should we send "true" to e.leaderChangeCh, and when should we send "false"?
https://github.com/apache/kvrocks-controller/blob/unstable/storage/persistence/etcd/etcd.go#L265-L277
I'm not very familiar with the Go language, but it seems like this "continue" is unnecessary.
https://github.com/apache/kvrocks-controller/blob/unstable/storage/persistence/etcd/etcd.go#L271-L273
I would greatly appreciate it if you could help me answer my questions.

I'm not very familiar with the Go language, but it seems like this continue is unnecessary.

It's indeed a bug that Line 270 should be after #L271-L273. That said don't emit leader change even if the leader is not changed.

When should we send true to e.leaderChangeCh, and when should we send false?

For the initial design intention, we would like to send true to the channel if the leader is changed, and false if any other events. But from the current implementation, it doesn't care about the value of the channel and always checks if the leader has changed.

For the zookeeper, it should be a bit simpler than the ETCD. Just create an ephemeral node to watch and try to create if the node does not exist.


Revert "Fix _RegexParser build when using 5.6 host tools"

We now require a newer toolchain to do host tools builds anyways, so this isn't needed anymore.

@swift-ci please test


Is there a missing .gitmodules file?

When I use LightZero as a git submodule of my own project, I encounter a fatal error during cloning.
The command I'm using is:
git clone --recurse-submodules https://github.com/ekiefl/myprivaterepo.git

And after decompressing all the objects, I get the following error:
Submodule 'LightZero' (https://github.com/opendilab/LightZero.git) registered for path 'LightZero'
(...)
Submodule path 'LightZero': checked out 'e763282c4ea149259c568058df4f000aafbb1ab1'
fatal: No url found for submodule path 'LightZero/lzero/mcts/ctree/ctree_alphazero/pybind11' in .gitmodules
fatal: Failed to recurse into submodule path 'LightZero'

I'm confused whether pybind11 is a git submodule of LightZero or not. If it is, shouldn't a .gitmodules file exist? For example, I declare LightZero is a submodule of my project with a .gitmodules file like so:
[submodule "LightZero"]
	path = LightZero
	url = https://github.com/opendilab/LightZero.git

I have not directly tested this, but if pybind11 is a true submodule, I think the following .gitmodules file should be added to the root directory to reflect that.
[submodule "pybind11"]
	path = lzero/mcts/ctree/ctree_alphazero/pybind11
	url = https://github.com/pybind/pybind11.git

Maybe something like this? I may be incorrect about how submodules work.

Hello, thank you for your feedback. Indeed, pybind11 is utilized in the build process of ctree_alphazero. We have addressed the previously missing .gitmodules file in our latest commit. We look forward to your continued interest and support! Best wishes!

Thanks!


Put a label into the Options window under the General tab that tells the user that the Office 365/MSI install method checkboxes will be replaced with a single checkbox in Version 3.2 AND provide a "Learn More" link to information about the change.

I think issue #78 would work for a "Learn More" link.

#100 would probably be a good place to direct the users instead, at least for now. I'll explain this in the changelog for 3.2.


PulsarTestConsumer

Far from finished but wanted to get early feedback on my preliminary ideas.
I had to choose between letting PulsarTestConsumer work with Consumer directly and letting the user be responsible for creating the Consumer or let the framework manage the Consumer through PulsarConsumerFactory.
I choose the later as it allows for a cleaner API more focused on what you actually want to get from the PulsarTestConsumer.

Thanks for the elaborate feedback. Please forgive my sloppiness as this PR was never intended to be merged in but get early feedback, which I received.
I believe i mimicked my ideas a bit too much towards what is now present in spring-kafka. I was thinking if I followed that approach it would be valuable but in the back of my head I never liked the static utility nature of KafkaTestUtils.
I'm very pleased to see your fluent builder proposal which is something right up my alley.
I would propose to go for Option C as we can start with a minimal builder exposing only a few methods to make the use-cases you listed work and later expand on it.
What do you prefer that I update this PR radically or start anew from main and create a fresh PR with the fluent builder idea? Personally I would like to start anew and keep this conversation as a reference for the upcoming PR.

Thanks for the elaborate feedback. Please forgive my sloppiness as this PR was never intended to be merged in but get early feedback, which I received.

You are more than welcome. And no worries. Thanks again for getting this going!

I would propose to go for Option C as we can start with a minimal builder exposing only a few methods to make the use-cases you listed work and later expand on it.

Nice! I was leaning towards that but did not want to bias.

What do you prefer that I update this PR radically or start anew from main and create a fresh PR with the fluent builder idea? Personally I would like to start anew and keep this conversation as a reference for the upcoming PR.

Either works for me. I prefixed the title where w/ "PROTOTYPE" and will close w/ this comment. Just add a link back here when you open the other PR.
Thanks again


Still getting error 'MainViewController.h' file not found

Hello, I am getting the error 'MainViewController.h' file not found

did you resolved this issue? i have same issue


Update device-control-report.md

Updated broken link

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/5947


Generate default arguments for __typename

Use case
We are still migrating from Apollo 2 to Apollo 3.

__typename in the Apollo 3 code-generated data class does not seem to come with a default argument
__typename in the Apollo 2 code-generated data class does come with a default argument

This is impacting the migration of an actual code base where there is at least 1k lines of unit test code that need to add __typename =  explicitly.
Describe the solution you'd like
Generate the default argument

Looks like "compat" mode is being removed in https://github.com/apollographql/apollo-kotlin/pull/4608/. So alternatively we need to use DefaultApolloCompilerKotlinHooks to orchestrate the behavior

__typename in the Apollo 3 code-generated data class does not seem to come with a default argument

That's correct. This is because we can't always know the __typename. For an example:
interface Node

type Repository implements Node {
  # fields
}

type User implements Node {
  # fields
}

query GetNode($id: ID!) {
  node(id: $id) {
    id
    # more fields
  }
}

The generated Node model could be of different concrete types  and therefore different __typename (Repository or User here).
I'd recommend using Data Builders for this. In addition to being explicit about the __typename, it also handles merged fields much better:
{
  node(id: 42) {
    ...Owner
    ...OwnerDetails
  }
}

fragment Owner on Repository {
  owner {
    id
  }
}
fragment OwnerDetails on Repository {
  owner {
    firstName
    email
  }
}

Using the models constructors, you'd have to create all fragments:
Data(
  node = Node(
    owner = Owner(id = 42),
    ownerDetails = OwnerDetails(firstName = "foo", email =<EMAIL_ADDRESS>  )
)

vs the Data builders match the Json:
Data {
  node = buildUser {
    id = 42
    firstName = "foo"
    email =<EMAIL_ADDRESS>  }
}

CompilerHooks could work but data builders will certainly be more future proof (they also allow faking some values)

👍  I think we can close this issue as the implementation of the compiler hook only makes sense for the repo I am working on.
A remaining question to confirm: If giving a default argument to __typename to assist the migration (especially unit tests), the production code execution shouldn't be impacted as the __typename would always be parsed from the server response.

If giving a default argument to __typename to assist the migration (especially unit tests), the production code execution shouldn't be impacted as the __typename would always be parsed from the server response.

Correct.


Graphing files condensation

Condense the graphing files back down to just 2 files: SS_graph.py and TPI_graph.py

Combined lab_dist_graph.py, wealth_read.py, and alt_measures_inequality.py with SSgraphs.py so that SSgraphs.py plots the labor distribution comparison with the data, all inequality measures, and wealth comparisons.


squid:S1941 - Variables should not be declared before they are relevant

This pull request is focused on resolving occurrences of Sonar rule squid:S1941 - Variables should not be declared before they are relevant
You can find more information about the issue here: https://dev.eclipse.org/sonar/coding_rules#q=squid:S1941
Please let me know if you have any questions.
M-Ezzat

This pull request is really more of a stylistic choice.  Going to close this out.


Build errors in rdp backend

I'm getting this when I build against the latest freerdp-git package (in Arch)
./backend/rdp/peer.c: In function ‘rdp_peer_context_new’:
../backend/rdp/peer.c:256:2: error: ‘nsc_context_set_pixel_format’ is deprecated [-Werror=deprecated-declarations]
  256 |  nsc_context_set_pixel_format(context->nsc_context, PIXEL_FORMAT_BGRA32);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/winpr2/winpr/synch.h:29,
                 from /usr/include/winpr2/winpr/wlog.h:33,
                 from /usr/include/freerdp2/freerdp/codec/color.h:26,
                 from ../include/backend/rdp.h:3,
                 from ../backend/rdp/peer.c:10:
/usr/include/freerdp2/freerdp/codec/nsc.h:47:36: note: declared here
   47 |  FREERDP_API WINPR_DEPRECATED(BOOL nsc_context_set_pixel_format(NSC_CONTEXT* context,
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/winpr2/winpr/winpr.h:53:31: note: in definition of macro ‘WINPR_DEPRECATED’
   53 | #define WINPR_DEPRECATED(obj) obj __attribute__((deprecated))
      |                               ^~~

Got it to work by disabling freerdp, but not sure what that effect that has on Sway, which did build cleanly after this.

Freerdp has marked that function deprecated since the latest stable release. There's an easy fix - I actually patch wlroots and friends and build against HEAD freerdp (since freerdp-stable doesn't actually work under Wayland). It's a very simple patch I apply after cloning, before building: https://github.com/colemickens/nixpkgs-wayland/blob/22ea9e08ce2ef6817b722fe80c757ab35ed227c5/pkgs/wlroots/default.nix#L22

Can you send this as a pull request, @colemickens?

Since the backend was dropped, I won't send a PR and I think this can be closed.
(Is there a wayvnc equivalent for RDP underway, maybe?)


Problem with query string appended to URLs

I'm crawling a quite simple site, and find that after redirects containing a query string, the query string is appended to the redirect URL and on the subsequent page. A typical debug log can look like this:
Redirect from http://localhost:3000/cart/add?sku=HR199 to
{ protocol: 'http',
  host: 'localhost',
  port: '3000',
  path: '/vacations?sku=HR199',
  uriPath: '/vacations' }

The redirect should be going to /vacations without query, so the query string is taken from the first request. Another example with a non-redirect:
Fetched: http://localhost:3000/notify-me-when-in-season?sku=OC39
--- Found the following links at http://localhost:3000/notify-me-when-in-season?sku=OC39
http://localhost:3000/vendor/bootstrap.min.css?sku=OC39
http://localhost:3000/css/main.css?sku=OC39
http://localhost:3000/css/cart.css?sku=OC39
http://localhost:3000/img/logo.png?sku=OC39
http://localhost:3000/vendor/jquery-2.1.1.min.js?sku=OC39
http://localhost:3000/vendor/bootstrap.min.js?sku=OC39
http://localhost:3000/js/contact.js?sku=OC39
http://localhost:3000/js/cart.js?sku=OC39
---

Here the query is appended to all the links found on the page, which it shouldn't be.
Any ideas what's wrong?

That's very unusual indeed. I don't seem to be able to reproduce it! Would you be able to provide a small test case? (Sorry, I don't normally ask for that much!)

Hi, I'll be offline for a week unfortunately, but if you have some time the whole project is available at https://github.com/ciscoheat/meadowlark
It's a little bit of work to set up since it's written in Haxe instead of js, but if you do you can test the above issue easily with grunt tests. If you don't have time I'll be back later with a test case!

Hi! This was apparently related to an old version of URI.js — and has since been corrected. Please let me know if the issue is still occurring! :)


NullReferenceException when finding nodes if not connected

If the client is not connected and you call findnodes you get a null reference exception. I made it more descriptive
This might not be wanted, but I changed the .NET framework build version to 4.0 in the grunt file because I need to use the tool with .NET 4.0. I've yet to test it because I'm not sure what OPC server (is it a demo?) is used in the test scripts

Hi @jmbeach thanks for the PR. Can you remove the .NET part for now? Let's try to make this PR only fix the bug you highlited :) thanks

@itajaja Will do


Improve logging

make log level configurable
create a startup success log entry (with initial connection to switch), that's always displayed
access log, yay or nay?

Logging is improved a bit, and we now have a startup message, as well as a message when a connection to the switch is tried.
The panic if the connection fails, isn't handled yet


API returning HTTP error when we expect "already exists" error

I tried creating a Workflow with a name that already existed, the API returned an ambiguous error:

This only happens when a workflow has both name: and generateName: specified and a workflow with said name: already exists. This error is returned directly from K8s, so not sure how much more we can do here


Amers feature

@hamir @a27med
TEST = I removed the complied file daily-prayer.pyc and made sure that the server works fine and returns prayer times after compiling the new renamed class prayer-info

git overhear shows that I added a file where i only renamed daily_prayer.py to prayer_info.py


TypeScript Error: Property 'track_pageview' does not exist on type 'OverridedMixpanel'. - v2.47.0

Hi, all!
I'm currently using React (^18.1.0) with TypeScript (^5.0.4) and mixpanel-browser (^2.47.0).
Using the new track_pageview() method in the latest release, however, I am encountering this TS error:
Property 'track_pageview' does not exist on type 'OverridedMixpanel'.

When I checked mixpanel/index.d.ts, it looks like the Mixpanel interface does not have the method signature defined for track_pageview().

I believe we can fix this issue for TS users by adding the method signature:
track_pageview(properties?: Dict): void

It looks like these are types from https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/mixpanel-browser/index.d.ts. That repo would probably be the right place to submit updates.

Same issue

Opened a new discussion on the DefinitelyTyped repo for this here: https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/65666

Same problem. I need a solution to track page view in browser...

Looks like this was already merged? https://github.com/DefinitelyTyped/DefinitelyTyped/pull/65672

But mixpanel needs to update mixpanel-browser version?

Looks like this was already merged? DefinitelyTyped/DefinitelyTyped#65672

But mixpanel needs to update mixpanel-browser version?

If the new types haven't been published yet, I'd guess that's something to take up with https://github.com/DefinitelyTyped/DefinitelyTyped

Same problem - this is over a year old now? What happened?


Feature: Move or complement deploy nuget and docker images to GH Packages

The proposed solution
By moving all the components and images to one place we can easier maintain things.

The alternatives

Additional context

naaw not worth


feat(runner): Config option to prevent logging to the console twice

This might be the case when Karma.run() is called inside the same
process/terminal as the server is running in (e.g. development
servers).
Fixes #2121, #2799

I signed it!

If I understand correctly, you want to prevent output by runner and by reporter?
In general I want to avoid adding yet more and more and more options. This makes our code hard to understand and test.
Why not remove the reporter in the config?
Why not remove the logging in the runner altogether?
Why not make the logging in the runner based on logLevel setting?

If I understand correctly, you want to prevent output by runner and by reporter?

Correct.

In general I want to avoid adding yet more and more and more options. This makes our code hard to understand and test.

I understand that.

Why not remove the reporter in the config?

If you mean removing it from the server's config then there would be no reporting at all since (to my understanding) the runner is just echoing the output of the reporter. That's not feasible. Please clarify.

Why not remove the logging in the runner altogether?

Can't reliably tell whether this is sarcasm or if I just don't understand. Please clarify.

Why not make the logging in the runner based on logLevel setting?

I like that one. Would it be acceptable if the runner accepts logLevel just like the server and only echoes the reporter results on level config.LOG_DEBUG? This means that logLevel can be applied in two different places: via the server config / switches and via the runner config / switches. In the runner context this would not configure the runners logger but control the process.stdout.write()
I might change the feature this way if you're fine with it.

I don't use the 'runner' part; I don't really know how it works.  My suggestion about not logging in the runner is: if the reporter is logging the result why does the runner need to echo that?
To say it another way: was the original feature -- re-log the result in runner -- misdesigned?

I think the original idea was, to have the server running in one terminal or even on one host and have the runner connect to that, be it from another terminal or even host. In that case, you want to see the reporter output there. In this context streaming out the reporter results from the socket to the terminal was "good enough". Though I'm not the maintainer, so I'm not 100% sure if that was the idea.
Now, since we're kicking off the runner in same process as the server, they share the same terminal, hence there should be a option to control the runners outputs.
Another approach proposed in the referenced #2121 was to have the runner emit an event. In that case the CLI would have to listen to that event.

Can you take a look at the alternative in #2121?

A friendly review reminder.


PHOENIX-2186 : Back end services

This will include the following components.

[x] Main class
[x] Pom file
[x] Adding as moduel for root pom
[x] Launch script
[x] Backend trace service API

Build Apache Phoenix from root
mvn clean install
Start the backend services
./bin/traceserver.py start
Stop the backend services
./bin/traceserver.py stop

The services can be viewed by accessing the following location
http://localhost:8864/trace?action=get

@ndimiduk  & @jtaylor-sfdc  @JamesRTaylor can either of you please take a look at this PR?
Thanks.

Already merged


fix: show tx data for txs with decoded params

There is no tx data shown for transactions with decodedParams and thus such txs are impossible to verify before signing.
For instance, this is how the ERC20.approve function call looks like in our Safe:

This PR suggests a quick fix to show raw hex data for such transactions.
NB: I have a code which displays decoded params as well, but I've noticed you have some work already going in this direction — let me know if it still worth a PR.

Thanks! @fernandomg is planning to include this fix as part of this PR: https://github.com/gnosis/safe-react/pull/1106
Hope this works for you.

We are using a fork with the fix anyway, so it is fine to wait for the upstream fix

Will be covered by #1106. Thanks for the report!