Edit workspace Issue

I want to change my workspace mapping so I opened from vcs->tfvc->edit workspace
all mapping are empty
and android studio show this error in log :

2017-09-14 12:53:43,957 [ 463341]   INFO - alm.plugin.external.ToolRunner - arguments: @
2017-09-14 12:53:44,434 [ 463818]   INFO - ugin.external.commands.Command - ERROR: An argument error occurred: The workspace could not be determined from any argument paths or the current working directory.
2017-09-14 12:53:44,435 [ 463819]   INFO - ugin.external.commands.Command - CMD: Team Explorer Everywhere Command Line Client (version <IP_ADDRESS>709051449)
2017-09-14 12:53:44,435 [ 463819]   INFO - ugin.external.commands.Command - CMD:
2017-09-14 12:53:44,436 [ 463820]   INFO - ugin.external.commands.Command - CMD:  workfold command:
2017-09-14 12:53:44,436 [ 463820]   INFO - ugin.external.commands.Command - CMD:
2017-09-14 12:53:44,437 [ 463821]   INFO - ugin.external.commands.Command - CMD:   Creates, modifies, or displays information about the mappings between your
2017-09-14 12:53:44,437 [ 463821]   INFO - ugin.external.commands.Command - CMD:   workspace folders and the source control server folders to which they
2017-09-14 12:53:44,437 [ 463821]   INFO - ugin.external.commands.Command - CMD:   correspond.
2017-09-14 12:53:44,437 [ 463821]   INFO - ugin.external.commands.Command - CMD:
2017-09-14 12:53:44,437 [ 463821]   INFO - ugin.external.commands.Command - CMD:  Valid option sets:
2017-09-14 12:53:44,437 [ 463821]   INFO - ugin.external.commands.Command - CMD:
2017-09-14 12:53:44,451 [ 463835]   INFO - ugin.external.commands.Command - CMD:   workfold /cloak [/collection:] [/workspace:]
2017-09-14 12:53:44,451 [ 463835]   INFO - ugin.external.commands.Command - CMD:            |
2017-09-14 12:53:44,451 [ 463835]   INFO - ugin.external.commands.Command - CMD:   workfold /decloak [/collection:] [/workspace:]
2017-09-14 12:53:44,451 [ 463835]   INFO - ugin.external.commands.Command - CMD:            |
2017-09-14 12:53:44,451 [ 463835]   INFO - ugin.external.commands.Command - CMD:   workfold /unmap [/collection:] [/workspace:]
2017-09-14 12:53:44,451 [ 463835]   INFO - ugin.external.commands.Command - CMD:            |
2017-09-14 12:53:44,451 [ 463835]   INFO - ugin.external.commands.Command - CMD:   workfold [/collection:] [/workspace:]
2017-09-14 12:53:44,451 [ 463835]   INFO - ugin.external.commands.Command - CMD:   workfold [/map] [/collection:] [/workspace:]
2017-09-14 12:53:44,452 [ 463836]   INFO - ugin.external.commands.Command - CMD:
2017-09-14 12:53:44,452 [ 463836]   INFO - ugin.external.commands.Command - CMD:   workfold [/workspace:]
2017-09-14 12:53:44,452 [ 463836]   INFO - ugin.external.commands.Command - CMD:   workfold
2017-09-14 12:53:44,452 [ 463836]   INFO - ugin.external.commands.Command - CMD:
2017-09-14 12:53:44,469 [ 463853]   WARN - ugin.external.commands.Command - CMD: parsing output failed

java.lang.RuntimeException: An argument error occurred: The workspace could not be determined from any argument paths or the current working directory.
at com.microsoft.alm.plugin.external.commands.Command.throwIfError(Command.java:402)
at com.microsoft.alm.plugin.external.commands.FindWorkspaceCommand.throwIfError(FindWorkspaceCommand.java:132)
at com.microsoft.alm.plugin.external.commands.FindWorkspaceCommand.parseOutput(FindWorkspaceCommand.java:88)
at com.microsoft.alm.plugin.external.commands.FindWorkspaceCommand.parseOutput(FindWorkspaceCommand.java:24)
at com.microsoft.alm.plugin.external.commands.Command$1.completed(Command.java:171)
at com.microsoft.alm.plugin.external.ToolRunner$ListenerProxy.completed(ToolRunner.java:295)
at com.microsoft.alm.plugin.external.ToolRunner$ProcessWaiter.run(ToolRunner.java:333)

2017-09-14 12:53:44,470 [ 463854]   INFO - ugin.external.commands.Command - 513392178(ns) - elapsed time for workfold -noprompt ********
2017-09-14 12:53:44,470 [ 463854]   WARN - in.idea.common.utils.VcsHelper - Unable to get repository context for the project.
java.lang.RuntimeException: An argument error occurred: The workspace could not be determined from any argument paths or the current working directory.

at com.microsoft.alm.plugin.external.commands.Command.throwIfError(Command.java:402)
at com.microsoft.alm.plugin.external.commands.FindWorkspaceCommand.throwIfError(FindWorkspaceCommand.java:132)
at com.microsoft.alm.plugin.external.commands.FindWorkspaceCommand.parseOutput(FindWorkspaceCommand.java:88)
at com.microsoft.alm.plugin.external.commands.FindWorkspaceCommand.parseOutput(FindWorkspaceCommand.java:24)
at com.microsoft.alm.plugin.external.commands.Command$1.completed(Command.java:171)
at com.microsoft.alm.plugin.external.ToolRunner$ListenerProxy.completed(ToolRunner.java:295)
at com.microsoft.alm.plugin.external.ToolRunner$ProcessWaiter.run(ToolRunner.java:333)

2017-09-14 12:53:44,470 [ 463854]   INFO - in.idea.common.utils.VcsHelper - getRepositoryContext: We couldn't determine the VCS provider, so returning null.
2017-09-14 12:53:44,470 [ 463854]   WARN - vc.ui.workspace.WorkspaceModel - loadWorkspace: Could not determine repositoryContext for project
2017-09-14 12:53:44,472 [ 463856]   INFO - vc.ui.workspace.WorkspaceModel - loadWorkspace: done loading

I have a same issue, where both "Workspace Properties" and "Configuration Managment" fields are empty: no workspace infos like server, owner, computer and no repository listed


Status of outputs

Is there a way currently to get the current status of an output pin?  In other mqtt devices I am using you can send 'status' as the payload instead of ON or OFF and it will leave the current state as-is and respond with what that state is.
If this is not available, can it be added?
Thanks!  So far I really like pq-mqtt-gpio and plan to use it for some of my home automation project.

Hi, this is currently not implemented, because MQTT is designed as PUSH-only protocol. The MQTT brooker should store all states and transmit it to new subscribers, if configuered. Maybe you need a different design in your project.

@dcsar1 Exactly as @BenjiU says, this functionality doesn't currently exist on this software.
One of the ways to get around this might be to always 'retain' any messages you send to the /set topic for each output. That way, any software that needs to know the output state can subscribe to the same /set topic and get updated whenever it changes.

I probably should have said to make sure that you've got retain: yes in your digital output pin configuration. That way, whenever a client connects to the MQTT server and subscribes to the output's topic, it will receive whatever the last value the output was set to.
Also, if you've got this software set up with an initial value for an output, as well as publish_initial: yes, then it will set the output to that state when the software starts, and publish the value to MQTT.
I consider this to be a workable solution to this issue so I'm closing it. Feel free to comment for any reason though.

I probably should have said to make sure that you've got retain: yes in your digital output pin configuration. That way, whenever a client connects to the MQTT server and subscribes to the output's topic, it will receive whatever the last value the output was set to.
Also, if you've got this software set up with an initial value for an output, as well as publish_initial: yes, then it will set the output to that state when the software starts, and publish the value to MQTT.
I consider this to be a workable solution to this issue so I'm closing it. Feel free to comment for any reason though.


contact us

let's add ben's phone number to contact page

@keelyjay Sorry, I forgot about this one. Do we still want to do this?


Enhance charm's life cycle.

Description of changes:

Improved install_or_upgrade event (addresses 4)

Set Maintenance status when install or upgrade
Set Blocked status and defer when install or upgrade event failed (both resource and exporter)
Skip installing exporter if it's already installed (e.g. during upload resource)

Improved remove event

Provide warning message when exporter files are not properly removed

Improved update_status event

Add check for relating more than one grafana agent (addresses 1)
Add check for validating exporter's health, and try to recover it if it fails. If it cannot be recovered set Error status. (addresses 2,3)
Add check for validating if the tools are properly installed

Improved config_changed event

Add check for validating exporter configs

Miscellaneous updates to hw_tool.py for adding tool validation logic

Maybe closes:

https://github.com/canonical/hardware-observer-operator/issues/95
https://github.com/canonical/hardware-observer-operator/issues/87
https://github.com/canonical/hardware-observer-operator/issues/86
https://github.com/canonical/hardware-observer-operator/issues/114

Further removed refactoring code from this PR, and make as less changes as possible. Also cherry-pick @jneo8  strategy checks into this PR.

Will this MR also cover this one?
https://github.com/canonical/hardware-observer-operator/issues/84

Will this MR also cover this one? #84

No, it was removed from this PR

Command and I don't see where does #114 been fixed?

Maybe the implementation was removed from this PR, I'll updated the description

Since we're merging to the feat/life-cycle branch, there's no automated CI happening here. So it will be hard to verify whether the unit + func tests are passing. How do we validate this since it's not a PR to main/ master?

As I understand, this PR only includes the implementation with ops-testing (with hardness, you can test events). Further improvement / manual testing / refactoring / test mind / etc will handled next. And proper functional test and manual verification are required for merging into main branch.


Blocked by CORS policy

Here's console logs
The extension completely stops working

This is an issue the Base RoPro seems to be having aswell, it'll trickle down to this fork eventually when they fix it.

But the original Ropro works fine 🤔

Oh really? They had posted something on Discord in regards to an issue and i'd thought it was connected. Seems not then.

Pretty sure they were just announcing about normal bugs like server hop etc. Nothing about CORS policy blocking mentioned.

The proxy is down. I’ve got one working fine, but there are still a few fixes I need to sort out. I also decided to rewrite part of the proxy script myself and managed to get around the CORS pre-flight issues (though Stefanuk’s proxy already handles that).
I could release the extension now with the new proxy, but server regions aren’t working right, it just reads ‘null’ values. I haven’t figured out a fix yet, and honestly, I’m not super focused on this project right now, so it might take me a while to get around to it.

Yeah, it's fine. Also, isn't Stefanuk's proxy kinda buggy sometimes?

Yeah, it's fine. Also, isn't Stefanuk's proxy kinda buggy sometimes?

Yeah, that's why I decided to rework it a little bit, changing some things and tweaking it. I'll see if I can make it work today.

Okayyy, thanks.


Add contribution & bug reporting guidelines

Describe the bug
Contribution guidelines is missing in the repo. Moreover, hyperlinks in README.md/Contributing are broken.
To Reproduce
Steps to reproduce the behavior:

Go to 'README.md/Contributing'
Click on 'contribution guidelines' or 'reporting bugs'

Expected behavior
Those links should lead to respective docs in the repo. However, those docs needs to be created before they could be linked.
Desktop

OS: Windows 10
Browser: Chrome
Version: 70.0.3538.110

@cTxplorer you can go ahead with this.

I have found this project interesting and want to contribute in this .
Please suggest some initial steps , where I should start with.


⚠ Bofrost.es has degraded performance

In 4e3c828, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1751 ms

Resolved: Bofrost.es performance has improved in e27b920 after 6 minutes.


Update regadmin user as sharedadmin in all DB types

Description:
In Documentation - Changing Default databases. regadmin user is used for shared_db. As shared_db contains registry and user db better to change this as sharedadmin.
Suggested Labels:
Component/install-and-setup-DB-setup
Affected Product Version:
3.0.0 and above
OS, DB, other environment details and versions:
Fixed in mysql, others needs to be update.
https://apim.docs.wso2.com/en/latest/install-and-setup/setup/setting-up-databases/changing-default-databases/changing-to-mysql/#changing-to-mysql

I am working on this


Small changes to laws and policies

Open links in new tab: https://www.pivotaltracker.com/story/show/162047208
For EU countries link NDC to different url: https://www.pivotaltracker.com/story/show/162047392

Don't merge; link should be added linkForEUcountries
Added new column to Location table is_in_eu.
Locations should be reimported.

^ Fixed
the rake task's name: rake db:mark_countries_with_in_eu_flag

Added a class method 👍


get unique colors in colorbar for material plot

I am trying to generate material plot with unique colors in colorbar. I am able to generate the plot, but the plots color scalar bar is not unique. I want the scalarbar to be unique colored based on unique materials available in the mesh. Also I want to have the label for each material in the scalar bar. How can I get that to work.

Also when I export this output as html. I don't see lines in the output. Could you please guide me on that as well.
Thanks in advance

Hi, you should be able to do it in the default window following example:
examples/basic/mesh_lut.py
just substitute:
mesh.cmap(lut, data).add_scalarbar(c='white') # add_scalarbar instead of add_scalarbar3d
# mesh.scalarbar.scale(1.5).rotate_x(90).y(1) # remove this line

About the html export this relies on the k3d interface and it has a number of limitations... so i'm not completely sure if it's possible to have it.
I will make a test and get back to you.

Hi Marco,
Thanks for the quick answer. I have tried the solution mentioned above. It kinda works for the scalarbar. It would be really great if you can guide me on how we can get lines in html output.

Hi, do you have a mesh to upload because i'm not sure what you mean by "lines", is it a polyline (edges) or mesh band ?


Enumerated cases of interfaces

The thing holding this up is the code to enforce the rules that apply to subtypes of an enumerated interface type.

Wrong project.


Tutorial does not work on K8s 1.24

On Page: Supply Chain Tutorial
The tutorial does not work on K8s 1.24 running in Docker Desktop. This seems to be related to change in K8s where ServiceAccounts don't get a token by default. See status of the Workload below.  Tutorial should be updated with instructions that work on K8s 1.24
apiVersion: carto.run/v1alpha1
kind: Workload
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"carto.run/v1alpha1","kind":"Workload","metadata":{"annotations":{},"labels":{"workload-type":"pre-built"},"name":"hello","namespace":"default"},"spec":{"image":"docker.io/nginxdemos/hello:latest"}}
  creationTimestamp: "2022-08-21T21:08:27Z"
  generation: 1
  labels:
    workload-type: pre-built
  name: hello
  namespace: default
  resourceVersion: "2329124"
  uid: 4c0e1598-e228-4ba9-98f4-a95976edf7cb
spec:
  image: docker.io/nginxdemos/hello:latest
status:
  conditions:
  - lastTransitionTime: "2022-08-21T21:08:27Z"
    message: ""
    reason: Ready
    status: "True"
    type: SupplyChainReady
  - lastTransitionTime: "2022-08-21T21:08:27Z"
    message: service account [default/cartographer-pre-built-sa] does not have any
      secrets
    reason: ServiceAccountSecretError
    status: "False"
    type: ResourcesSubmitted
  - lastTransitionTime: "2022-08-21T21:08:27Z"
    message: service account [default/cartographer-pre-built-sa] does not have any
      secrets
    reason: ServiceAccountSecretError
    status: "False"
    type: Ready
  observedGeneration: 1
  supplyChainRef:
    kind: ClusterSupplyChain
    name: supply-chain

Cartographer v0.4.0 does not work on k8s 1.24 for the issue you called out. Try using Cartographer v0.5.0.
The cartographer.sh website should be updated to use v0.5.0 as the default. The readme install instructions should also be updated as I doubt k8s 1.19 is still supported.


Inverse Hessian boosting should overwrite oracle.

If 'fit_oavi' is run with a variant of Frank-Wolfe and IHB is chosen to be 'weak' or 'full', the chosen oracle needs to be overwritten to be vanilla FW.

Also, add a message to inform the user of this

Added in 9745dfe


High timeout on RS485 comms

Hi!
While playing with the RS485 interface I noticed that the boards take a long time to recover from a failed transaction and narrowed down the issue to the idle timeout of the comms module.
Specifically, the way I test is that I continuously send a register read instruction (read accelerometer), at "some point" (approximately once every 10k messages) there will be no reply from the board, maybe because of misinterpreted data.
At this point, if I don't wait at least 10 ms idle the board will stop replying any following request.
Since the baud rate is 1Mbps and it takes less than 10us to send a character, I would suggest shortening the timeout to make latency critical tasks (i.e. control loops) less sensitive to failed transactions.
I guess 1 ms (equivalent to ~100 characters) would still work OK, but I'm sure you have more experience in the area.
In alternative, maybe it would be possible to debug which state the board gets stuck in, and make it go back to idle but I don't have the tools to know exactly which state it gets stuck at and to get more information that would help in debugging.
Ideas?
Cheers!
/Luca

@gbalke -- can you look into this?

That's some strange behavior. See what happens when you set idle_time_ticks_ to 1000 in bldc-controller/common/include/comms.h! From my understanding, that is the only timeout code that would effect the communication stack.


Damaged .DMG?

Acknowledgement

[X] I have read Getting-Started and FAQ

🐛 Describe the bug
First time posting here + using GitHub, but I tried opening a .UST and noticed that OpenUTAU would close every time I did that. So I uninstalled it and installed the latest version (0.1.56), but with this new install I am unable to open OpenUTAU at all.
I use a M1 Max MacBook Pro, and have not had any issues prior to this. I know that new versions come out rather frequently so hopefully this issue is resolved in the next version.
Thank you for all your hard work on this amazing program! :^)
Explains how to reproduce the bug

Installed latest version of OpenUTAU from Github (v0.1.56).
Opened it.
It doesn't open and I get the error message.

OS & Version
macOS Ventura 13.2.1
Logs
"OpenUtau.app" is damaged and can't be opened. You should move it to Trash.

Try opening a terminal and running the following two commands:
cd /Applications
xattr -cr OpenUtau.app

Not entirely sure why, but this issue happens with a lot of apps and this command usually fixes it. At least it did for me.

Try opening a terminal and running the following two commands:
cd /Applications
xattr -cr OpenUtau.app

Not entirely sure why, but this issue happens with a lot of apps and this command usually fixes it. At least it did for me.

Okay, so that helped me open it! But now I have a different seemingly unrelated problem (which I actually noticed happening the last time I opened v0.1.55 before updating to 0.1.56 the first time):
I open OpenUTAU, drag in a .UST file, and then after a few seconds it closes unexpectedly. Alternatively if I just start a new track and start drawing notes, it will stay open a little longer, but as soon as I try and play them back it will close.
From my limited knowledge, that tells me that something might be wrong with the resampler somehow? I didn't mess with anything outside of updating OpenUTAU though so I'm not sure what happened.
At this point I have uninstalled and reinstalled OpenUTAU v0.1.55 and v0.1.56 and after using your code I get it open but it eventually closes.

There's a solution for this on the FAQ.


Feat: add support for tilde imports

Add support for for tilde imports
This is already supported by webpack https://github.com/webpack-contrib/sass-loader and other node-sass importers like https://github.com/matthewdavidson/node-sass-tilde-importer

+1 need this functionality as well

+1 please

+1

We implemented this feature in v2.2.0-beta.2 under next tag.
npm install scss-bundle@next -D

Usage
Specifying project location is needed to work with tilde imports.
CLI (-p, --project):
scss-bundle -p . -e ./index.scss -d ./bundled.scss

Code sample:
import * as path from "path";
import { Bundler } from "scss-bundle";

(async () => {
    // Absolute project directory path.
    const projectDirectory = path.resolve(__dirname, "./cases/tilde-import");
    const bundler = new Bundler(undefined, projectDirectory);
    // Relative file path to project directory path.
    const result = await bundler.Bundle("./main.scss");
})();

It would be nice to get some feedback 👍

I see that the #43 added Tilde support but it seems that it was not added when using the CLI though? Will that be added in an upcoming feature?

@myang310, you might have missed that @MartynasZilinskas wrote how to use it with CLI:

Usage
Specifying project location is needed to work with tilde imports.
CLI (-p, --project):
scss-bundle -p . -e ./index.scss -d ./bundled.scss

If you did not specify project, it won't work. Also, as @MartynasZilinskas wrote too, you have to install version on next tag:

We implemented this feature in v2.2.0-beta.2 under next tag.
npm install scss-bundle@next -D

@DovydasNavickas thanks a lot! yeah I didn't catch that, I was only looking at the master version's README

I think "." should be the default for project or better, it should have some default after all.
Just upgraded my project to your latest development state to test this and got the following error
(node:22112) UnhandledPromiseRejectionWarning: TypeError: Path must be a string. Received undefined
    at assertPath (path.js:28:11)
    at Object.resolve (path.js:211:7)
    at BundleCli.getConfig (C:\Development\github\scss-bundle\dist\bundle-cli.js:33:36)
    at BundleCli.<anonymous> (C:\Development\github\scss-bundle\dist\bundle-cli.js:22:48)
    at Generator.next (<anonymous>)
    at C:\Development\github\scss-bundle\dist\bundle-cli.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (C:\Development\github\scss-bundle\dist\bundle-cli.js:4:12)
    at BundleCli.bundle (C:\Development\github\scss-bundle\dist\bundle-cli.js:21:16)
    at new BundleCli (C:\Development\github\scss-bundle\dist\bundle-cli.js:18:14)
(node:22112) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:22112) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Problem was, that "project" is undefined and thus path.resolve(process.cwd(), argumentValues.project) fails.
Even if it does not get a default value, it should bail out with a controlled error message like "Required parameter project not set".

I am closing this issue. If something doesn't work as expected, please open a new issue.


Added Snapshot Status Endpoint

I based my branch on v6. I guess, it can be merged with v7 releases as well but there are few merge issues.

I will add this to 6.2.27 and 7.0.10. Thank you!


Offers quick suggestion to ignore parse error; but parse error can't be ignored

TypeScript Version:  nightly (2.4.0-dev.20170606)
This is in a JavaScript file with // @ts-check.
Code

Expected behavior:
Doesn't offer to ignore parse errors.
Actual behavior:
When I'm typing something, there will usually a parse error until I'm done typing it. This means that the lightbulb is flashing on every keypress offering to ignore parse errors. That doesn't work anyway.

We add the quickfix to all errors. we need to annotate diagnostics which are "suppressible" and which are not, and only register the quickfix for ones we know we can suppress.

Note that we flag all TS diagnostics as not-suppressible in the Error List.  If some can, in fact, be suppressed, we might want to relax that policy.


Update AutoRest C# version

Update AutoRest C# version to 3.0.0-beta.20221103.1

Closing, since this PR and the comments have been resolved in https://github.com/Azure/azure-sdk-for-net/pull/32335


cronjob

Hello
I set up a cronjob. However, it says: Command line not found after it has tried to run. Please help?

Do which instaloader in your terminal and use that full path in your cronjob. See if that makes a difference.

download IG archive every Mon at 1230pm
28 12 * * 2 /Library/Frameworks/Python.framework/Versions/3.7/bin/instaloader sh /Users/MYNAME/Desktop/sort/_archive_instagram/~shellscript/instaloader_shell_script_w_video.sh
This is what my cronjob looks like. Ignore the note. I changed the time to match today to see if it would run. Now its saying "sh: Profile sh does not exist." I put everything in a shell script btw. Is something on the wrong line?

    /Library/Frameworks/Python.framework/Versions/3.7/bin/instaloader

So this is your instaloader binary?
Why are you putting a shell script as an argument for instaloader? Do you have any experience with command line at all?
If you want to run the script, just do:
28 12 * * 2 /Users/MYNAME/Desktop/sort/_archive_instagram/~shellscript/instaloader_shell_script_w_video.sh

I assume your script then runs some instaloader commands?

Thanks. I'll try this. No. I don't have experience with command line. My friend who helped me set this up advised me to use shell script. It wasn't working so I figured this was best place to ask.

I think you'll need to learn some of the basics about the command line then (especially the Linux command line).
Do you have a working Instaloader command you would like to run via Cron?

Yeah. I can get the script to work fine if I type it out (or paste) and run it manually. It works no problem. But because I have this big film project I have to do, I don't always have time or memory to remember to run it myself. You're right. I've been reading up about the command line all day.

Yeah. I can get the script to work fine if I type it out (or paste) and run it manually. It works no problem.

In that case, the edited cronjob i posted earlier should work for you.


fix for non-pandas dataframe rendering

Bug in the conversion logic that ended up casting non-pandas DataFrames directly to pandas via pd.DataFrame(obj) if they weren't the exact dtype that was being iterated over from get_renderable_types() items. This resulted in some oddness like transposed polars dataframes.
Update to the tests as well to make sure the number of rows and number of columns are different.

Codecov Report

Merging #208 (fc342bb) into main (11461b5) will decrease coverage by 0.03%.
The diff coverage is 66.66%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##             main     #208      +/-   ##
==========================================
- Coverage   80.82%   80.80%   -0.03%
==========================================
  Files          48       48
  Lines        2493     2495       +2
==========================================
+ Hits         2015     2016       +1
- Misses        478      479       +1

Impacted Files
Coverage Δ

src/dx/utils/formatting.py
87.59% <66.66%> (-0.30%)
:arrow_down:

Continue to review full report in Codecov by Sentry.

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


Add various missing post install hooks

This PR adds several missing post install hooks to glib and related packages. Fixing this allows for a better experience in Managarm.

Do all these operations really take a few seconds? If not, I'd just delete the sentence (we don't need it at every hook, we just have it in the fc-cache invocation since that can truly take a long time.

This still doesn't work properly unfortunately. Marking as draft pending further investigation.

Some of these are shell invocations, after a long battle that is how I got it to work. At this point in time all hooks should work, so this can be merged now.

At the request of @ArsenArsen, I've reworded several commits so they reflect the changes more accurately. It should be good to go now, but if @avdgrinten and @ArsenArsen want to take another look before hitting that merge button that would be great.


fix compare command if not on any branch

There is no need to detect the current branch if a range is provided as an argument.
Fixes #1584.

Looks great; thank you! 💫


bug: ApisixIngress synced failed

Currently creating a router proxying grpc, but when creating TLS, check and report the following error. What is the reason? apisixrouter, apisixstream and apisixConsumer can all be created successfully

@lgy1027 Could you paste the definition of this resource?

@lgy1027 Could you paste the definition of this resource?

apisixRouter:

apisixTls:

apisixUpstream:

kubectl describe au -n huan test-apisix-lgy-grpc:

please paste the plain text instead of image

please paste the plain text instead of image

apisixrouter:
apiVersion: apisix.apache.org/v1
kind: ApisixRoute
metadata:
  creationTimestamp: "2021-08-20T01:48:08Z"
  generation: 1
  managedFields:
  - apiVersion: apisix.apache.org/v2alpha1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:ownerReferences:
          .: {}
          k:{"uid":"b4f0c172-bdf4-4094-9464-36f13c6464f6"}:
            .: {}
            f:apiVersion: {}
            f:kind: {}
            f:name: {}
            f:uid: {}
      f:spec: {}
    manager: inference-server
    operation: Update
    time: "2021-08-20T01:48:08Z"
  - apiVersion: apisix.apache.org/v2alpha1
    fieldsType: FieldsV1
    fieldsV1:
      f:spec:
        f:http: {}
      f:status:
        .: {}
        f:conditions: {}
    manager: apisix-ingress-controller
    operation: Update
    time: "2021-08-20T01:48:09Z"
  name: test-apisix-lgy-grpc
  namespace: huan
  ownerReferences:
  - apiVersion: apps/v1
    kind: Deployment
    name: test-apisix-lgy
    uid: b4f0c172-bdf4-4094-9464-36f13c6464f6
  resourceVersion: "17416599"
  selfLink: /apis/apisix.apache.org/v1/namespaces/huan/apisixroutes/test-apisix-lgy-grpc
  uid: fb6eda46-327a-40fc-80b7-7f37fa8d002e
spec:
  http:
  - authentication:
      enable: true
      keyauth: {}
      type: keyAuth
    backends:
    - serviceName: test-apisix-lgy-grpc
      servicePort: 8501
      weight: 100
    match:
      hosts:
      - test-apisix-lgy-testinference.bitahub.com
      paths:
      - /*
    name: test-apisix-lgy-grpc
    plugins:
    - config:
        whitelist:
        - huan_testconsumerapisixconsumerlgy
      enable: true
      name: consumer-restriction
    websocket: false
status:
  conditions:
  - lastTransitionTime: "2021-08-20T01:48:09Z"
    message: Sync Successfully
    reason: ResourcesSynced
    status: "True"
    type: ResourcesAvailable

apisixUpstream
apiVersion: apisix.apache.org/v1
kind: ApisixUpstream
metadata:
  creationTimestamp: "2021-08-20T01:48:08Z"
  generation: 1
  managedFields:
  - apiVersion: apisix.apache.org/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:ownerReferences:
          .: {}
          k:{"uid":"b4f0c172-bdf4-4094-9464-36f13c6464f6"}:
            .: {}
            f:apiVersion: {}
            f:kind: {}
            f:name: {}
            f:uid: {}
      f:spec:
        .: {}
        f:portLevelSettings: {}
    manager: inference-server
    operation: Update
    time: "2021-08-20T01:48:08Z"
  - apiVersion: apisix.apache.org/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:status:
        .: {}
        f:conditions: {}
    manager: apisix-ingress-controller
    operation: Update
    time: "2021-08-20T01:48:09Z"
  name: test-apisix-lgy-grpc
  namespace: huan
  ownerReferences:
  - apiVersion: apps/v1
    kind: Deployment
    name: test-apisix-lgy
    uid: b4f0c172-bdf4-4094-9464-36f13c6464f6
  resourceVersion: "17417069"
  selfLink: /apis/apisix.apache.org/v1/namespaces/huan/apisixupstreams/test-apisix-lgy-grpc
  uid: f8ad3d42-ea39-4443-8866-7500b79692a8
spec:
  portLevelSettings:
  - port: 8501
    scheme: grpc
status:
  conditions:
  - lastTransitionTime: "2021-08-20T01:49:14Z"
    message: Sync Successfully
    reason: ResourcesSynced
    status: "True"
    type: ResourcesAvailable

apisixTls:
apiVersion: apisix.apache.org/v1
kind: ApisixTls
metadata:
  creationTimestamp: "2021-08-20T01:48:08Z"
  generation: 1
  managedFields:
  - apiVersion: apisix.apache.org/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:ownerReferences:
          .: {}
          k:{"uid":"b4f0c172-bdf4-4094-9464-36f13c6464f6"}:
            .: {}
            f:apiVersion: {}
            f:kind: {}
            f:name: {}
            f:uid: {}
      f:spec:
        .: {}
        f:hosts: {}
        f:secret:
          .: {}
          f:name: {}
          f:namespace: {}
    manager: inference-server
    operation: Update
    time: "2021-08-20T01:48:08Z"
  - apiVersion: apisix.apache.org/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:status:
        .: {}
        f:conditions: {}
    manager: apisix-ingress-controller
    operation: Update
    time: "2021-08-20T01:48:09Z"
  name: test-apisix-lgy-grpc
  namespace: huan
  ownerReferences:
  - apiVersion: apps/v1
    kind: Deployment
    name: test-apisix-lgy
    uid: b4f0c172-bdf4-4094-9464-36f13c6464f6
  resourceVersion: "17416594"
  selfLink: /apis/apisix.apache.org/v1/namespaces/huan/apisixtlses/test-apisix-lgy-grpc
  uid: 21e2604a-55a1-41c8-8fc2-a59b90cabbef
spec:
  hosts:
  - test-apisix-lgy-testinference.bitahub.com
  secret:
    name: test-apisix-lgy-grpc-tls
    namespace: huan
status:
  conditions:
  - lastTransitionTime: "2021-08-20T01:48:09Z"
    message: Sync Successfully
    reason: ResourcesSynced
    status: "True"
    type: ResourcesAvailable

I am using V2alpha1 to create apisixrouter, why does the resource display v1

What's the version of your APISIX?
The reason is that the apisix-ingress-controller doesn't set the node field in APISIX Upstream and the data violates the APISIX Upstream schema.
But this was fixed in the apisix-ingress-controller lastest master branch, you should tell us the environment information you're using so we can reduce the time cost for the query, it's a big win.
Also, check whether there is no endpoint instances for the backend service test-apisix-lgy-grpc.

What's the version of your APISIX?
The reason is that the apisix-ingress-controller doesn't set the node field in APISIX Upstream and the data violates the APISIX Upstream schema.
But this was fixed in the apisix-ingress-controller lastest master branch, you should tell us the environment information you're using so we can reduce the time cost for the query, it's a big win.
Also, check whether there are no endpoints instances for the backend service test-apisix-lgy-grpc.

svc:test-apisix-lgy-grpc exist,
apisix installed by helm:CHART:apisix-0.3.5
Application version: 2.7.0
go.mod：github.com/apache/apisix-ingress-controller v1.2.0

svc:test-apisix-lgy-grpc exist,

It's not related to whether it exists, you should also checkout the endpoints of it.


Performance issue

Hello,
When upgrading from 0.5 to 0,8 version, we noticed a huge performance hit. Our builds went from a couple of minutes, to over 10 minutes.
When running a simple step such as installing dependencies through yarn, the task itself is completed in a given time. However, the container seems to run for another amount of time before killing itself.
A simple example :

a front-end building step, running tasks such as yarn, bower and gulp runs in 73 seconds. Which is quite consistent with our build times from the 0.5 version. However, the container on the left side of the UI shows a 01:49 ~ 109 seconds. (Quite obvious but all other steps are waiting for the front-end task to end before starting)
a composer (php package deps) runs in 6 seconds, container runs for 9.
unit tests run 7 minutes, container runs for 7 minutes 40.

Exactly, the same happens on all other tasks.
Is there any way to debug ? Logging? System settings?

We have not received any reports of performance issues with 0.8. Furthermore, Drone does not run your commands. Docker runs your commands, and Drone does not have any influence over how fast something like yarn install runs inside a Docker container.
Since there are no other reports of performance issues and not steps to reproduce, I am closing this issue. I recommend starting a discussion thread at disourse.drone.io, per our issue template, to discuss further.
If we discover this is a Drone issue we can re-open this issue to track.


[assistance] authelia behind nginx

Hello,
i'm trying to test this software out as a proof of concept on a test environment. I believe it would be awesome if i could get it to work (also understand it a bit better :sweat_smile: )...
Unfortunately iv'e followed serveral sites to the best of my ability but no go :disappointed:
auth_module
https://github.com/clems4ever/authelia/issues/84
https://github.com/clems4ever/authelia/issues/183
https://github.com/clems4ever/authelia/issues/178
nginx is built from source with the auth-request module
nginx -V
nginx version: nginx/1.12.2
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC)
built with OpenSSL 1.0.2k-fips  26 Jan 2017
TLS SNI support enabled
configure arguments: --user=nginx --group=nginx --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-http_gzip_static_module --with-http_stub_status_module --with-http_ssl_module --with-pcre --with-file-aio --with-http_realip_module --with-http_v2_module --add-module=/root/source-nginx/nginx-auth-ldap --add-module=/root/source-nginx/ngx_http_auth_pam_module --add-module=/root/source-nginx/lua-nginx-module --add-module=/root/source-nginx/rds-json-nginx-module --add-module=/root/source-nginx/nginx-auth-request-module --with-debug

/etc/nginx/nginx.conf
http {
...
...
    ssl_certificate /etc/pki/tls/certs/server.crt;
    ssl_certificate_key /etc/pki/tls/private/server.key;
    ssl_session_cache builtin:1000 shared:SSL:10m;
    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
    ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4;
    ssl_prefer_server_ciphers on;

    server {
        listen       80;
        server_name  nginx-auth-lab;
	return 301 https://$server_name$request_uri;
    }

    server {
	listen 443 ssl http2;
        server_name  nginx-auth-lab;
	ssl on;
	set $auth_backend "http://<IP_ADDRESS>:4221";

	location = /auth {
		internal;
		proxy_pass $auth_backend;
		proxy_pass_request_body off;
	    	proxy_set_header  Content-Length "";
	    	proxy_set_header  X-Original-URI $request_uri;
	    	proxy_set_header  Host $http_host;
	    	proxy_set_header  X-Real-IP $remote_addr;
        }

	location /secure {
		auth_request /auth;
  		auth_request_set $user $upstream_http_remote_user;
  		proxy_set_header Remote-User $user;
 		auth_request_set $groups $upstream_http_remote_groups;
		proxy_set_header Remote-Groups $groups;
		auth_request_set $expiry $upstream_http_remote_expiry;
		proxy_set_header Remote-Expiry $expiry;

		# protected resources
		proxy_set_header Host $host;
		proxy_set_header X-Real-IP  $remote_addr;
		proxy_set_header X-Forwarded-For $remote_addr;
		# re-write redirects to http as to https
		proxy_redirect http:// https://;

		alias /home/dvmacias;
		autoindex on;
	}
    }
}

if i remove the auth_request settings and goto url https://nginx-auth-lab/secure i can reach it and get an index of files in said directory. But when auth_request's are set i get 500 Internal Server Error :cry:
If i open port 4221 and gotto http://nginx-auth-lab:4221 i can reach the authelia portal but of course it complains that it's not https (ldap auth works fine)

Here is the debug of my authelia when trying to access /secure :
im sure it's something simple...
Any input is appreciated
thank you,
dave

Hello @davama ,
the problem is you don't reach the correct endpoint in the auth block. It should be /api/verify. From the logs I can see the request is /auth instead.
Please add this line to the auth block:
proxy_pass        "http://<IP_ADDRESS>:4221/api/verify";

Thanks,
Clément.

@clems4ever thank you very much for the reply!

proxy_pass        "http://<IP_ADDRESS>:4221/api/verify";

That did help to get me closer!
I've adjusted my nginx config a little to reflect what i've seen others do but now get a 401 Authorization Required which is good i think
Here is the debug from authelia:
debug: date='Tue Feb 06 2018 09:39:37 GMT-0500 (EST)' method='GET', path='/api/verify' requestId='a09393e8-f1d3-4806-aa96-88b08241242f' sessionId='N0plZ_1vg_hTLswKUhPWG_G1_qM_R-s_' ip='::ffff:<IP_ADDRESS>' message='Headers = {"x-forwarded-host":"nginx-auth-lab","x-original-uri":"/secure","x-forwarded-proto":"https","host":"<IP_ADDRESS>:4221","connection":"close","cache-control":"max-age=0","user-agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36","upgrade-insecure-requests":"1","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9"}'
debug: date='Tue Feb 06 2018 09:39:37 GMT-0500 (EST)' method='GET', path='/api/verify' requestId='a09393e8-f1d3-4806-aa96-88b08241242f' sessionId='N0plZ_1vg_hTLswKUhPWG_G1_qM_R-s_' ip='::ffff:<IP_ADDRESS>' message='Authentication session N0plZ_1vg_hTLswKUhPWG_G1_qM_R-s_ was undefined. Resetting.'
error: date='Tue Feb 06 2018 09:39:37 GMT-0500 (EST)' method='GET', path='/api/verify' requestId='a09393e8-f1d3-4806-aa96-88b08241242f' sessionId='N0plZ_1vg_hTLswKUhPWG_G1_qM_R-s_' ip='::ffff:<IP_ADDRESS>' message='Reply with error 401: First factor not yet validated: userid is missing.'
debug: date='Tue Feb 06 2018 09:39:37 GMT-0500 (EST)' method='GET', path='/api/verify' requestId='a09393e8-f1d3-4806-aa96-88b08241242f' sessionId='N0plZ_1vg_hTLswKUhPWG_G1_qM_R-s_' ip='::ffff:<IP_ADDRESS>' message='AccessDeniedError: First factor not yet validated: userid is missing.
    at AccessDeniedError (/usr/lib/node_modules/authelia/dist/server/src/lib/Exceptions.js:37:9)
    at /usr/lib/node_modules/authelia/dist/server/src/lib/routes/verify/get_session_cookie.js:38:20
    at Promise._execute (/usr/lib/node_modules/authelia/node_modules/bluebird/js/release/debuggability.js:303:9)
    at Promise._resolveFromExecutor (/usr/lib/node_modules/authelia/node_modules/bluebird/js/release/promise.js:483:18)
    at new Promise (/usr/lib/node_modules/authelia/node_modules/bluebird/js/release/promise.js:79:10)
    at Object.default_1 [as default] (/usr/lib/node_modules/authelia/dist/server/src/lib/routes/verify/get_session_cookie.js:34:12)
    at /usr/lib/node_modules/authelia/dist/server/src/lib/routes/verify/get.js:16:44
    at tryCatcher (/usr/lib/node_modules/authelia/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/usr/lib/node_modules/authelia/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (/usr/lib/node_modules/authelia/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise._settlePromise0 (/usr/lib/node_modules/authelia/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise._settlePromises (/usr/lib/node_modules/authelia/node_modules/bluebird/js/release/promise.js:693:18)
    at Async._drainQueue (/usr/lib/node_modules/authelia/node_modules/bluebird/js/release/async.js:133:16)
    at Async._drainQueues (/usr/lib/node_modules/authelia/node_modules/bluebird/js/release/async.js:143:10)
    at Immediate.Async.drainQueues (/usr/lib/node_modules/authelia/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:672:20)'

As the logs mention First factor not yet validated I would have thought that authelia would prompt me but maybe im mistaken. I feel it has something to do with the config.yml since it logs say Authentication session was undefined
I made some adjustments too to the config.yml under access_control (groups and users).
Note: Noticed that authelia does not return ldapgroup(s) a user is member of when i access http://authelia-auth-lab:4221. (but probably unrelated to this issue)
debug: LDAP: retrieved user dn is uid=dvmacias,ou=People,dc=datacom,dc=net
debug: LDAP: emails of user 'dvmacias' are<EMAIL_ADDRESS>debug: Computed groups filter is (&(memberUid={uid})(objectclass=posixGroup))
debug: LDAP: groups of user dvmacias are []

When:
ldapsearch -xLLL -b ou=group,dc=datacom,dc=net "(&(memberUid=dvmacias)(objectClass=posixGroup))" dn
dn: cn=config,ou=Group,dc=datacom,dc=net
dn: cn=router-manager,ou=Group,dc=datacom,dc=net
dn: cn=switch-manager,ou=Group,dc=datacom,dc=net
dn: cn=syslog,ou=Group,dc=datacom,dc=net
dn: cn=dmz,ou=Group,dc=datacom,dc=net
...

I've used both Google Chrome and Firefox if that matters
Thank you again for the support!

I was able to get this working following closely https://github.com/clems4ever/authelia/issues/183#issuecomment-341147172
Also ldap group membership works too. had to change {uid} to {0}
  groups_filter: (&(memberUid={0})(objectclass=posixGroup))

This is a really cool piece of software!
Thank you @clems4ever  for the support

Hey @davama , I'm sorry, I've been a bit busy lately. I'm glad you made it work!

@clems4ever not at all!
I do have some other questions/issues but will address on another ticket once i play with it some more.
Thanks!

Sure, just let me know when you need help.
Thank you.


changed a few things

Signed-off-by: Aditya Chatterjee<EMAIL_ADDRESS>CHECKOUT PR LOCALLY BEFORE MERGING

@warunicorn19 It's good but showing an error on checkout, If it's working on your system, hit merge.

@Chadha93 getting the same error, fixing.


Question:Change colors of output with JS Karma/Mocha

Not possible.
Do you want to have all the output plainly written using some colour?
I imagine processes can still override colours on their own.

I am not sure how I posted this question without any input.  The output in mocha is different that the terminal default. Running concurrently it is all white, and hard to distinguish.


JAVA : Java Loops II

Write your solution to this JAVA problem of hackerrank:-
Problem link : Java Loops II

@Riddhi9570 I want to contribute, it would be awesome if you please assign this to me 👍

@kb-s Are you a hacktoberfest contributor?

@Riddhi9570 yes

hey @Riddhi9570 1 file conflicted can you look into it, I guess README.md file

error: Pulling is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm '
hint: as appropriate to mark resolution and make a commit.
fatal: Exiting because of an unresolved conflict.

hey @Riddhi9570 It's solved, it's my bad sorry

I want to contribute,would be great if you could assign this to me

@SurbhiMotwani23 I'm already working on it

Hey @Riddhi9570, My pull request of this repo is excluded from HacktoberFest


Currently causing seg faults when trying to access none market data methods

Happens on .orders and .sell so far very consistently:
The segfault seems to on happen in the http.rb ruby code for 2.4.0.
Is this a function of the gdax api being down?
-- Control frame information -----------------------------------------------
c:0050 p:---- s:0309 e:000308 CFUNC  :initialize
c:0049 p:---- s:0306 e:000305 CFUNC  :open
c:0048 p:0026 s:0298 e:000297 BLOCK  /Users/(redacted)/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/net/http.rb:904
c:0047 p:0039 s:0294 E:000128 BLOCK  /Users/(redacted)/.rvm/rubies/ruby-

c:0039 p:0039 s:0241 e:000240 METHOD /Users/christiancocking/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/net/http.rb:876
c:0038 p:0020 s:0237 e:000236 METHOD /Users/christiancocking/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/net/http.rb:1407
c:0037 p:0274 s:0229 e:000228 METHOD /Users/christiancocking/.rvm/gems/ruby-2.4.0/gems/coinbase-exchange-0.2.0/lib/coinbase/exchange/adapters/net_http.rb:35
c:0036 p:0078 s:0218 e:000217 METHOD /Users/christiancocking/.rvm/gems/ruby-2.4.0/gems/coinbase-exchange-0.2.0/lib/coinbase/exchange/api_client.rb:285
c:0035 p:0049 s:0211 e:000210 METHOD /Users/christiancocking/.rvm/gems/ruby-2.4.0/gems/coinbase-exchange-0.2.0/lib/coinbase/exchange/api_client.rb:191
Where the gem seems to be failing..

Apologies this is due to me :).


Potential issue with GCP Global HTTPS load balancers

Issue
On GCP, if you use a global HTTPS load balancer, the reliability isn't as high as most customers require. This can potentially be mitigated by using a Regional TCP Load Balancer. The Toolsmiths team is currently testing this out, and they should have a good data set in another 2-3 weeks.
This applies to all versions of PCF
Context
Global HTTPS load balancers are really only a thing on GCP; AWS doesn't have them.
Expected result
99.999% reliability when making requests to the cf API
Current result
Less than 99.999% reliability, with the majority of issues being of failed_to_connect_to_backend
Steps to Reproduce
Install PCF on GCP, run smoke tests continuously.
Possible Fix
Copy the work we did here: https://github.com/pivotal-cf/toolsmiths-shared-scripts/commit/5282d70ddd919e4a8bb57df0da230b0399a4dec9
Logs and Screenshots

After several weeks of testing, the overall R&D recommendation is to switch to Regional TCP load balancers for the time being. I'm not sure if you want to go ahead up update the PCF-Pipelines, given that R&D may change the recommendation in the future. I'll leave this decision up to you. Would be happy to help you either way.
R&D may update the recommendation pending a test with modified version of the global load balancers, the test is going to happen in the next month, but rollout to the rest of the GCP infrastructure may be Q3 2018 or later.


docs: redirect /repositories/bigg to biosimulations-bigg documentation

:tada: This PR is included in version 4.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


doc: fix the fence doc link

Signed-off-by: Prasanna Kumar Kalever<EMAIL_ADDRESS>

Linter is failing https://github.com/csi-addons/spec/pull/39 should fix it.

@mergifyio rebase


Add systematic integration tests assertions

As a user, I expect the video generated to fullfil expectations from buildsettings and of the video building workflow I have produced.
Therefore I want the SDK to have tested that:

Music has actually been added as an audio source in the video
Music shall last as long as the video
video length corresponds to the combination of videos stretched to the length of the prompt in case I provide text or recorded prompt

Using FFMPEG to assess the existence and length of video and audiotracks in a final video media is the first step


Add preview button in FileDialog

Similar to the preview button that is present in the FileSelectMenu, add a PlayButton that plays the sample  on the FileDialog component:

See implementation in FileSelectMenuItem for reference:
https://github.com/brandongregoryscott/beets/blob/91a07e9264e86f1f026cb97e0010b4b55f5bd810/src/components/file-select-menu-item.tsx#L67-L76

@brandongregoryscott assign this puppy to me please.

@HeyKos Yep - that looks right to me!


Make it more convenient to use multiple ConfigCat instances

It is currently possible to run multiple instances of the ConfigCat application by providing a different name option for each instance, then providing that name in all of the public API calls as ConfigCat.get_value(key, default, user, client: <name>).
We could make this cleaner by following the approach in the "Improving the User Experience" section at the end of https://keathley.io/blog/reusable-libraries.html.
I think that all we'd need to do is define a __using__ block in ConfigCat that automatically supplies a name option of __MODULE__ and then defines versions of the public API functions that call the normal versions with the client option pre-specified.
This would allow us to add this convenience without changing the public API.

The multi sample application will be a great place to test this new feature.


Remove custom boolean formatters

This PR remove the 99% of the Yes/No, On/Off, etc.  custom boolean formatters.
See https://github.com/espruino/BangleApps/pull/1750#issuecomment-1157382452

Can you revert the change for  TerminalClock. I think it will create conflicts with #1979  ?
I saw your replaced + " min" per + "m" too. The value displayed will be different then no ?

Can you revert the change for TerminalClock ? I think it will create conflicts with #1979 ?

Sure! Sorry, I didn't notice your PR 😅

I saw your replaced + " min" per + "m" too. The value displayed will be different then no ?

Yes, I noticed that many apps use "m" to abbreviate min/minutes in the settings menu.
I just reverted all the changes to TerminalClock ;-)

Ok thanks. No problem ;)
I didn't notice the "m" thing on other apps before. I made the change to use the default boolean on my pull request and use "m" instead of " min" in the setting.

Great - thanks for this!


customise float window borders?

Hi there! This plugin is super cool, especially those inlay hints and hover action.
I have an issue though. I noticed that the border for the hover window is hardcoded, which isn't what I want.
I'd like to be able to change it. Here's what it currently has compared to how I want it to look.

Default

Mine

Thanks in advance!

For some reason nvim_open_win adds top and bottom padding to the border with "single" and "double" options, I'll look more into it tomorrow. I'm not sure how to get rid of the padding right now

the padding is fine -- I just want to pass my own border instead of using the builtin/hardcoded ones.

2e615d4a039d2fc580479a5e512330527d151d3f
let me know if it works fine for you

works great, thank you!


Link to repository remote issues

In a commit message when a hash followed by a number is used, it should be linked to the repository remote issues.
Support remotes like:

GitHub
Bit bucket
Enterprise GitHub

Done

Done


[wallet] Watch AssetTransferred event

Continuation of work done at https://github.com/statechannels/monorepo/pull/168

@andrewgordstewart @tomclose can you double check my sanity here. The following is the log of the allocations used for transferring some assets.
    console.log src/contract-tests/eth-asset-holder-events.test.ts:168
      {
          "0": "0x0000000000000000000000005b04e633bc7dd59ec1df4f33fb2c6c4706a24065",
          "1": {
              "_hex": "0x05"
          },
          "destination": "0x0000000000000000000000005b04e633bc7dd59ec1df4f33fb2c6c4706a24065",
          "amount": {
              "_hex": "0x05"
          },
          "length": 2
      }
    console.log src/contract-tests/eth-asset-holder-events.test.ts:168
      {
          "0": "0x000000000000000000000000d2ba45142fcc0cc336a9dfc90d810c749a75e593",
          "1": {
              "_hex": "0x05"
          },
          "destination": "0x000000000000000000000000d2ba45142fcc0cc336a9dfc90d810c749a75e593",
          "amount": {
              "_hex": "0x05"
          },
          "length": 2
      }

I got this by placing an event emission on this line, whereas the correct event emission is supposed to happen in the block right above it.
This seems to indicate that the _isExternalAddress call is returning false, making me confused because the destination values logged above seem like they're left-padded external addresses.
Any idea what I'm overlooking here?

So based on further investigation, it looks like bytes32(bytes20(destination)) == destination is an incorrect check.
Below is the event emission of a destination before it's been casted and after it's been casted via bytes32(bytes20()) and it looks like the wrong side is being chopped off during the bytes20 cast, leading to the check of _isExternalAddress failing.
    console.log src/contract-tests/eth-asset-holder-events.test.ts:132
      {
          "0": "0x000000000000000000000000aee50d91e6eef94235608a96758b6bc2f2c1c5e5",
          "1": {
              "_hex": "0x05"
          },
          "destination": "0x000000000000000000000000aee50d91e6eef94235608a96758b6bc2f2c1c5e5",
          "amount": {
              "_hex": "0x05"
          },
          "length": 2
      }
    console.log src/contract-tests/eth-asset-holder-events.test.ts:132
      {
          "0": "0x000000000000000000000000aee50d91e6eef942000000000000000000000000",
          "1": {
              "_hex": "0x05"
          },
          "destination": "0x000000000000000000000000aee50d91e6eef942000000000000000000000000",
          "amount": {
              "_hex": "0x05"
          },
          "length": 2
      }

@cf19drofxots thanks for looking into this, and apologies for not responding sooner. I think the decision to use bytes32(bytes20()) was a conscious one, and was meant to be coupled with changing the definition of an external address, so that it is right-padded with zeros, instead of left-padded. The tests for _isExternalAddress support this: https://github.com/statechannels/monorepo/blob/master/packages/nitro-protocol/test/contracts/AssetHolder/isExternalAddress.test.ts#L26.

@tomclose and I noticed a discrepancy in the code. The helper function in nitro-converter.ts uses left-padding (I changed it to do this actually, not realizing the right-pad was deliberate by @geoknee). The test case in isExternalAddress.test.ts checks for right-padding though.
Also, the reason @geoknee chose to use right padding was because he thought it was easier to implement using type casting in Solidity. However, here is a counterpoint to that argument:
diff --git i/packages/nitro-protocol/contracts/AssetHolder.sol w/packages/nitro-protocol/contracts/AssetHolder.sol
index f828ba078..6a85ef771 100644
--- i/packages/nitro-protocol/contracts/AssetHolder.sol
+++ w/packages/nitro-protocol/contracts/AssetHolder.sol
@@ -283,15 +283,15 @@ contract AssetHolder is IAssetHolder {
     function _transferAsset(address payable destination, uint256 amount) internal {}

     function _isExternalAddress(bytes32 destination) internal pure returns (bool) {
-        return (destination == bytes32(bytes20(destination)));
+        return (destination == bytes32(uint256(destination)));
     }

     function _addressToBytes32(address participant) internal pure returns (bytes32) {
-        return bytes32(bytes20(participant));
+        return bytes32(uint256(participant));
     }

     function _bytes32ToAddress(bytes32 destination) internal pure returns (address payable) {
-        return address(bytes20(destination));
+        return address(uint160(uint256(destination)));
     }

     function recoverSigner(bytes memory _d, uint8 _v, bytes32 _r, bytes32 _s)

Applying this diff shows that you can do left padding with type casting.
I think we should standardize around left-padding as this is the typical way Ethereum handles padding in similar situations to this one.

The relevant tests for this feature now pass as of the latest commit.
Though it looks like some non-related tests are failing as of merging master into this branch. Waiting on an update from @andrewgordstewart for possible comments on this behavior

@cf19drofxots thanks for looking into this, and apologies for not responding sooner. I think the decision to use bytes32(bytes20()) was a conscious one, and was meant to be coupled with changing the definition of an external address to be an address that is right-padded with zeros, instead of left-padded. The tests for _isExternalAddress support this: https://github.com/statechannels/monorepo/blob/master/packages/nitro-protocol/test/contracts/AssetHolder/isExternalAddress.test.ts#L26.

To me, it would make more sense to do something like

Always store the address in the 20 least-significant bytes
Indicate whether something is internal/external in a flag stored in the 12 most-significant bytes

The link quoted is broken, but this conversation leads me to believe that there could be a bug in this logic: when passed an internal address that happens to end with enough zeros, _isExternalAddress would return true.

See also https://github.com/statechannels/monorepo/pull/196

Note that a lot of the setup in the test file for this feature will be removed once https://github.com/statechannels/monorepo/pull/252 gets in.

Addressed comments
Items for follow up PRs:

https://github.com/statechannels/monorepo/pull/175/files#r339211973
https://github.com/statechannels/monorepo/pull/175#discussion_r339207900

@geoknee commit the suggested changes and updated the commands to use --runInBand.
Anything else before this is good to merge?

I'll be merging this as soon as CI is green as the comments have been addressed and no further change requests have been made.


Bounce animation changing div rotation

All,
I am currently trying to apply the bounce animation to a couple of rotated divs on hover, however when I hover over the rotated divs, they change orientation back to 0 degrees. Below is my css code:
.rotate-90 {
	/* Safari */
	-webkit-transform: rotate(-90deg);
	/* Firefox */
	-moz-transform: rotate(-90deg);
	/* IE */
	-ms-transform: rotate(-90deg);
	/* Opera */
	-o-transform: rotate(-90deg);
	/* Internet Explorer */
	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

Here is the div css:
#left {
	position: absolute;
	left: 0;
	top: 50vh;
	text-align: center;
}

Here is the html code:

  PORTFOLIO

Any suggestions would be appreciated! Thank you

Yes. I was wanting it to bounce while keeping the same orientation (i.e. -90 degree or 90 degree rotation).

You can't set two animations at the same time to the same element, as like any property in CSS all you get is to override the previous declaration. If the element has a transform declared it'll also override it as animate uses transform for animations.
The way to solve it is to put the element inside a parent element and set one animation to the parent and the other one to the element itself. The same is true to the transformed element + animation.

@Korysam15 now let's close the issue :)


Correlate actor reminder creation and execution events

In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

Describe the feature

If an actor creates a reminder which is later executed these operations are currently treated as individual events on the observability side.
In application insights this is displayed by different operation ids for the reminder creation and the reminder execution.
Correlating these would improve the end to end visibility.
Release Note

RELEASE NOTE:
ADD Correlate actor reminder creation and execution

Cc: @artursouza

/assign

keep alive

/assign

Hi @DeepanshuA , yes I'm referring to the Zipkin or application insights trace correlation.
I face a similar issue you mentioned that the reminder triggered wasn't shown in Zipkin.
In my test I just added some state operation which is shown in Zipkin and works as a substitute.
Overview:

Initial actor operation:

Reminder triggered:

The reminder triggered operation isn't correlated with the initial reminder create operation.


Fix about page link broken by HAML conversion

https://bugzilla.redhat.com/show_bug.cgi?id=1187766

@jzigmund Please review, do I only need to alter the .pot file for the gettext change?

@dclarizio it's not needed to update POT/PO at this point, as you can see if no definition can be found in PO file, it returns the string as it's defined in view.
Update the POT/PO should be done only before we prepare the files for translation team.

verified fix, merging.


#256 Added specialization of from_node() for std::map with compatible key/value types

As described in #256, specialization of from_node() for std::map whose key/value types are both compatible with basic_node.
Test cases related to the specialization have also been added.

Pull Request Checklist
Read the CONTRIBUTING.md file for detailed information.

[x] Changes are described in the pull request or in a referenced issue.
[x] The test suite compiles and runs without any error.
[x] The code coverage on your branch is 100%.
[x] The documentation is updated if you added/changed a feature.

Please don't

The C++11 support varies between different compilers and versions. Please note the list of supported compilers. Some compilers like GCC 4.7 (and earlier), Clang 3.3 (and earlier), or Microsoft Visual Studio 13.0 and earlier are known not to work due to missing or incomplete C++11 support. Please refrain from proposing changes that work around these compiler's limitations with #ifdefs or other means.
Please refrain from proposing changes that would break YAML specifications. If you propose a conformant extension of YAML to be supported by the library, please motivate this extension.
Please do not open pull requests that address multiple issues.

coverage: 99.948% (-0.05%) from 100.0%
when pulling a549f88876745b0c2e9ba34a8954872b13f0eae8 on feature/256_add_specialization_for_std_map
into 024294a41557e58bcb16c6ccef9090a35d20816e on develop.


Update CELO monorepo to use node 18, latest ganache and ethereumjs

Update all packages that uses ganache & truffle with latest fork

[x] Passing CLI test
[ ] Passing env-test
[x] Passing phone-number-privacy/combiner test
[x] Passing phone-number-privacy/common test
[x] Passing phone-number-privacy/monitor test (no test found)
[x] Passing phone-number-privacy/signer test
[x] Passing sdk/base test
[x] Passing sdk/connect test
[x] Passing sdk/contractkit test
[x] Passing sdk/cryptographic-utils test
[x] Passing sdk/encrypted-backup test
[x] Passing sdk/explorer test
[x] Passing sdk/governance test( no test found)
[ ] Passing sdk/identity test
[x] Passing sdk/keystores test
[x] Passing sdk/network-utils test
[x] Passing sdk/phone-utils test
[x] Passing sdk/transaction-uri test
[x] Passing sdk/utils test
[x] Passing sdk/wallets/wallet-base test (no test found)
[x] Passing sdk/wallets/wallet-hsm test (no test found)
[x] Passing sdk/wallets/wallet-hsm-aws test
[x] Passing sdk/wallets/wallet-hsm-azure test
[x] Passing sdk/wallets/wallet-hsm-gcp test
[x] Passing sdk/wallets/wallet-ledger test
[x] Passing sdk/wallets/wallet-local test
[x] Passing sdk/wallets/wallet-remote test
[x] Passing sdk/wallets/wallet-rpc test
[ ] All test passing in CI


Add final screen in eligibility questionnaire

Add final screen in eligibility questionnaire to explain what the filter did and what to expect

Do you have access to the figma?

Just heard back from Safiya about content. She says this final screen should read: "Thank you for checking how you qualify for affordable housing. Because affordable housing can be reserved for certain age groups or income levels, we have filtered our property listings based on your household characteristics. We hope you find housing that meets your needs. It's important to note that a good portion of affordable housing has a waitlist, but calling properties you're interested in is a good way to get on waitlists or learn of immediate openings." She says the button should simply say "Show Listings".

This was added in #741, but will also be moved when issue #876 is addressed.


Simplify implementation of thin_edge_json::utils::excerpt

Proposed changes
Supersedes Simplify the implementation of thin_edge_json::utils::excerpt
Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA (in all commits with git commit -s)
[x] I ran cargo fmt as mentioned in CODING_GUIDELINES
[x] I used cargo clippy as mentioned in CODING_GUIDELINES
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

This breaks c8y::mapper::tests::test_tedge_mapper_with_mqtt_pub::_tedge_measurements_tedge_errors_invalid_json_eof_while_parsing_an_object_at_line_1_column_1_expects

Fixed by https://github.com/thin-edge/thin-edge.io/pull/1604/commits/4b68f22278851fdc891bd9801cf07b2aecfee959


Scheduler Stage 4

Query name
Update responsiveness for modals and tables

This works for me, can we merge into the stage-3 branch so we don't have to do a rebase-dance as we get that one to the finish line?

A couple of UX notes, which can be fixed in this PR or a general cleanup one immediately after merge:

Search doesn't search query names
The query name box is still editable after save success
Loooong queries without a query-name display weirdly still: they look middle-aligned vertically?


Policy regression tests

Proposed changes:

Add "story_report.json" task mapping to  .github/scripts/mr_generate_summary.py and  .github/scripts/mr_publish_results.py so that policy action prediction results can get logged.
Added a CI policy regression test that would look for the label: status:policy-regression-tests, similar to how status: model-regression-tests works for nlu models.

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for opening a draft pull request 🚀If you have any questions, you can direct them to @Ghostvv ✨

Hey @kedz, is the PR still relevant to the policy regression test? Did https://github.com/RasaHQ/rasa/pull/8338 cover it?

@HotThoughts Yes this is a defunct branch and #8338 did indeed address these things. I'll close it out.


Bump up to v0.2.129

... because v0.2.128 has a Cargo bug: https://github.com/rust-lang/libc/issues/2866
Signed-off-by: Yuki Okushi<EMAIL_ADDRESS>

r? @Amanieu
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit a328e2bf8ba446a361c8415155e3d637b3c897c9 has been approved by JohnTitor
It is now in the queue for this repository.

:hourglass: Testing commit a328e2bf8ba446a361c8415155e3d637b3c897c9 with merge e9145c5a42a9268d6f659d2992f34141b53e1ea0...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing e9145c5a42a9268d6f659d2992f34141b53e1ea0 to master...

Thanks for the quick fix!


hole punching?

hi! can this server do hole punching? If so, how?
Thank you!

Hi @Thundros, as the server uses WebSocket's as transport protocol, I believe hole punching is not suitable there.


EOSIO Tester does not work with eosio/transaction

It looks like EOSIO Tester does not work when your contract imports
#include <eosio/transaction.hpp>
conflicting types for 'is_feature_activated’, 'send_deferred' and ‘cancel_deferred'

Cleaning up old issues so we can focus on more recent open items. Please reopen this ticket if needed. Thank you.


merge package template from Kronos-Tools/npm-package-template

Updated standard to latest version

Codecov Report

Merging #216 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #216   +/-   ##
=======================================
  Coverage   88.42%   88.42%
=======================================
  Files           1        1
  Lines         216      216
=======================================
  Hits          191      191
  Misses         25       25

Continue to review full report at Codecov.

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


Legislation Page: duplicate titles in listing on search results

Every item returned in the search results has 6 of the bill number, the title, then the title again.

This appears to have been fixed.

Actually, this is weird. Depending on what I search for the titles are populated differently...
http://<IP_ADDRESS>/search/?q=station has six of the bill number as shown above.
http://<IP_ADDRESS>/search/?q=add has the last few lines of the Title.
neither one of these is correct, but I'm not sure why they are different.

http://<IP_ADDRESS>/search/?q=take has both shown, so I guess we might want to fix the current issue and rescrape?


Support unquoted attr value recovery for jinja interpolated variables

Hello !
This is an attempt to solve an issue I encountered when using your formatter on a template with unquoted interpolated attribute value.
The recovery was slightly wrong, my code was reformated this way resulting in a template rendering issue:
-

+

The whole interpolated value should be quoted because I believe this is what actually happens after a value get's interpolated and finally rendered by a browser.
# `template.jinja`

# `rendered_template.html` with component.id=3

# Resulting html after browser parsing

PS: I'm quite new to rust and your codebase in general so I'll happily update this pr following any suggestion you would make.
PS2: This is part of a bigger effort of making your wonderful formatter compliant with Django template too, If you're open to such improvement, I'll happily open an issue about that. I already started to identify deviations with jinja templates but the syntax is quite similar.

I can't push to your repository so I merged locally and closed this PR.

I can't push to your repository so I edited and merged locally and closed this PR.

The Allow edits by maintainers checkbox seems to be a little bugged. It doesn't do anything, event if I check it now :/
Anyway, thanks for the followup! Looking good


options.access doesn't apply to the copy action

When I perform a copy action and set options.access to public-read the copied files in S3 aren't actually set to use this ACL.

Ah! That's a good one. Guess it needs to have ACL: options.access as part of the function call on L465. Feel like a PR?

Certainly -- was in the process of doing it!

Closed by #71


[Teams] ComposeMessageExtensionAuthBot teams scenario

Fixes: https://github.com/microsoft/botbuilder-js/issues/1239

Pull Request Test Coverage Report for Build 81657

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.436%

Totals

Change from base Build 81651:
0.0%

Covered Lines:
4595

Relevant Lines:
5065

💛  - Coveralls


Error: use of undeclared type or module futures_util

Hi, I straight up copied the echo example and am trying to run it.
I tried putting this in my Cargo.toml [dependencies]
[dependencies]
hyper = "0.13"
tokio = { version = "0.2", features = ["full"] }
futures-core = { version = "0.3", default-features = false }
futures-channel = "0.3"
futures-util = { version = "0.3", default-features = false }

[dev-dependencies]
futures-util = { version = "0.3", default-features = false, features = ["alloc"] }

But when in my IDE and when I try to run it I see these two errors:
error[E0433]: failed to resolve: use of undeclared type or module `futures_util`
 --> src/main.rs:3:5
  |
3 | use futures_util::stream::try_stream::TryStreamExt;
  |     ^^^^^^^^^^^^ use of undeclared type or module `futures_util`

error[E0599]: no method named `map_ok` found for struct `hyper::body::body::Body` in the current scope
  --> src/main.rs:21:48
   |
21 |             let chunk_stream = req.into_body().map_ok(|chunk| {
   |                                                ^^^^^^ method not found in `hyper::body::body::Body`
   |
   = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
   |
3  | use futures_util::stream::try_stream::TryStreamExt;
   |

I had same issue: maybe https://github.com/hyperium/hyperium.github.io/pull/60 can help

If someone is stuck with "use of undeclared type or module futures_util", replace line
use futures_util::TryStreamExt;
with
use futures::stream::TryStreamExt;
(Rust version - 1.46)


Pet rate plugin

I have seen a plugin that tracks probability based on several factors, and things like the loot tracker that can track actions and items received. I first thought it would be nice for loot tracker to count things like gems that are pickpocketed and go straight into gem pouch, and it got me thinking.
Is there a way to make a plugin, say for runecrafting, that has the set rates of pet chance per blood runes crafted, and similar to loot tracker, sees how many you have made vs the target of pet rate to give a realistic idea of how close we are to the pet chance if we need to go all the way(or heaven forbid past) the rate itself.
I have no experience in coding or plugins but i thought this would be awesome as i have recently maxed and im going through skilling pets first... hours of blood runes would be a tad easier to see a progress bar for pet rate similar to skill progress bars :o
thank you for reading, let me know!

You can use my Probability Calculator on the plugin hub for this. Insert the drop rate (for Rift Guardian at bloods, this is 1/(804984-Lvl*25) where Lvl is your RC level, and for kill count use the number of essence crafted. Then for drops received, use 1 to see what odds of having the pet by now is.

As ThePharros said, there's not really any way to display a "progress bar" for pets since you're no closer to getting a pet after many attempts than you were when you started. For now, I recommend using his proposed approach to calculating your pet chance luck.


Add full message generation at compile time

The release schedule for ROS packages is quite slow, and it would cause a dependency hell when interfacing with ROS itself. Besides that, there is no need for rosrust to even become part of standard distributed ROS, since you can compile almost everything without even having ROS on the machine.
The only exception so far are messages. I've made a genrs ROS package, and it's even on the ROS build farm right now, but in the end it basically utilized a bit of ROS's message generation to do a bit of preprocessing.
In the meantime, I've gotten enough knowledge about all the little details to reliably construct that code generation myself, so I'm planning to do so, and cut any dependency on ROS's release process.

@adnanademovic - I'm thrilled to find your support for Rust in the ROS ecosystem! Having had a hand in another client library for rosnodejs and gennodejs, a couple of (hopefully helpful) thoughts:

Without genrs being a core dependency of message_generation, users of genrs will need to have all message packages (standard and custom alike) checked out from source in their workspace to generate Rust, which is fairly burdensome.
Becoming a dependency of message_generation typically only happens at the beginning of a year-long release. The Lunar release is coming up, and you might be able to sneak genrs in there still.
Being a dependency of message_generation, means that a new release of genrs will cause a rebuild of the entire ROS buildfarm (because of messages). This is not a huge deal, but something to consider when considering frequent updates to genrs. We updated gennodejs twice in the past year. rosrust can obviously update as often as you prefer.
With rosnodejs we ran into the same quandary of whether to support buildfarm message generation, or dynamically generate messages through rosnodejs. In the end, we decided to support both, because we figured we would have users from both the nodejs realm who didn't want to deal with the whole ROS distribution system, and long time ROS users who expected a client library to have messages pre-generated for them to use.

Please excuse me if you know these points already. Anyway, hope this is helpful, and feel free to reach out to me or @chris-smith if you have any question. I can't wait to try out your library (and learn Rust :)

Thanks for sharing that information, and offering a helping hand. It's much appreciated! I intentionally waited with waiting to make genrs a core dependency, because I was not sure if I'd commit to that path. As you see from this exact opened issue, I decided against.
I'm not far from finishing compile-time message generation, but went a bit on hiatus because I was very busy. I literally planned to work on it today, and having some feedback just extra motivated that plan!
My goal is to totally ditch genrs, for the exact reasons you've listed. It really would have been a big hinderance to rely on ROS's buildfarms to just get some files that I could have generated myself.
My implementation will just involve a 1 line build.rs file in the crate (which executes some compile-time code), and 1 line in the main file of the repo that uses it.
I'd recommend starting tinkering with this library upon its next release. I'll even add simple example apps to run against real ROS nodes.
Thanks again for the feedback!

It seems you've already got genrs ready to go, why not support both local generation and buildfarm generation? Once you've decided on a class-generation format, genrs shouldn't need much in the way of future updates. That would allow your ROS environment users to skip the compile step for all message packages (which for large projects can amount a few minutes to build hundreds of message packages).

Generating messages should be blazingly quick. The code for using genrs and just generating at compile time is identical from the library consumer side. Also, I consider disk I/O to be the bottleneck for message generation, and this new system would perform half the amount of disk input, and the same amount of output.

This has been resolved with the rosrust 0.5 release, and can be seen in the demo referenced in the README


Infrastructure tests refactor

What this PR does
Makes few tests parallel and minor improvements to the infrastructure tests.

Fixes #
Why we need it and why it was done in this way
Special notes for your reviewer

Release note

NONE

Looks good, thank you. I'm just wondering if we really need DescribeSerialInfra or we can explicitly ser Serial in the Describe spec...

That could be but you also need to not forget [Serial] ...

@xpivarc Any update? Thank you!

@fossedihelm PTAL

@xpivarc flakiness detected


implement inpainting

will be same format and img2img if possible
impainting - 1.5: https://colab.research.google.com/drive/1A4iyL48DT3ajl-rsvz6GD1zBZRnJBdu7?usp=drive_link

Problem:

Not feature parity with most Stable Diffusion toolset

Outcome:

Add inpainting endpoint for SD endpoint in triton


Add Wrap Up tab in Tasks summary page

Add a third tab to the Tasks page showing the open assigned tasks for wrapping up a project from the Wrap Up tab in the Project View page. This should be similar / the same treatment as used for the Planning Tasks on the Planning tab.
Nice to have: Wrap up tasks with the owner assigned to the logged in user also show up in the My Tasks tab.

Andy, I hope you will look into this and figure out a way to implement it. The Task Tracker is very useful, and we would like to extend it to track the tasks to wrap up a project. I don't know what's involved, but if you find it easier to re-write the Task Tracker function that is likely OK.

Moved to new GitHub


Add Google Cloud Storage NIO Alpha support

This PR takes the gcs-nio branch and rebases it on top of master. All redundant commits are removed.
acd4272 updates docs, poms and REAMDEs to use appassembler for pubsub's example.
@jart @jean-philippe-martin can you have a look at this? All code (but acd4272) is already reviewed so just a quick look should be enough to spot possible incosistencies/errors left. Please do not merge this as I need to merge other PRs into master before this can go through.

A few minor comments, but otherwise looks good to me! Thank you @mziccard for doing this!

Why are you rebasing?

Why are you rebasing?

To avoid merging the ton of merge commits we made form master to gcs-nio back into master. To make history more linear and easier to browse through it.

@jean-philippe-martin I added two commits to fix your comments and a bunch of minor checkstyle, codacy and docs issues. PTAL.

Looks good to me!


Add Readme and Installation Steps

Please add README.md and the installation steps. I want to know how to install this CMS. Thanks.

Got point, we will add instruction how to install in when the code ready to public used.


Several text changes

FAQ:

Preview --> Dev Preview
Use Construct --> Install

Dev Preview disclaimer:
Preview --> Dev Preview

Do we want the wording to be "Dev Preview" or "Developer Preview"?


Exposing timeout argument in st2 pack install client call

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.hanancha seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Return Random element from list

Is your feature request related to a problem? Please describe.
no
Describe the solution you'd like
const x = [1,2,3,4,5];
print(x.random);  //   4
print(x.random);  //   2
print(x.random);  //  5

fixed on (#2)


fix FloatGenerator decimal_digits handling

>>> 10 ^ 1
11
>>> 10 ^ 2
8
>>> 10 ** 1
10
>>> 10 ** 2
100

Oh, that's embarrassing that it went so long unnoticed. Thanks for the fix!


blockcache: add blockcache pkg and pass it to all backends

This PR adds a blockcache package. An lnd-wide blockcache is instantiated and passed to which ever chain backend is being used.
Addresses step 1 of #5075

fyi @wpaulino

Thanks for the review @wpaulino 😊  Updated 👍

Thanks @carlaKC 🚀  Updated 👍

cc @Roasbeef

Needs a rebase!

Will be afk till Tuesday evening. Will rebase then 💪

Cool beans, rebased 👍


fix: support for multi-level deepObjects

🚥 Fix RM-4178

🧰 Changes
This rewrites our support for deepObject handling to better support multi-level objects.
🧬 QA & Testing
All tests still pass, the test I wrote still passes, & you can put this locally in packages > react > node_modules > @readme > oas-to-har to play around with on the local playground. Customer spec is in the linked ticket.
This is this work in action in the explorer playground:

And a node-fetch snippet generated with @readme/oas-to-snippet using this code:
const fetch = require('node-fetch');

const url = 'https://httpbin.org/anything/events?limit=5345&offset=545&where[columns][name]=colujnnewfwe&where[columns][type]=update&where[id]=gg&where[transaction_id]=erfewrf';
const options = {method: 'POST'};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error('error:' + err));

@julshotal This is ready for review now, all rewritten with [qs](https://npm.im/qs and tested in the local playground.


The prompts display incorrectly

Checklist

[X] I have read the tutorials and know the correct effect of the functional design.
[X] There are no similar reports on existing issues (including closed ones).
[X] I found the bug on the latest code of the master branch.

Describe the bug

To Reproduce
Steps to reproduce the behavior:

> TypeError: `run()` arguement after * must be an iterable, not int
{: .prompt-danger}

> ValueError: not enough values to unpack (expected *, got 1)
{: .prompt-warning}

After i updated the jekyll-theme-chirpy to 5.4.0, this happened. Not sure why...
Expected behavior
Screenshots

Environment

Command
Version

ruby -v
3.1.2p20

gem -v
3.3.7

bundle -v
2.3.24

bundle exec jekyll -v
4.3.1

bundle info jekyll-theme-chirpy
5.4.0

Desktop

Smartphone

Additional context

Can you share the link of your web page where you are getting issue?

Can you share the link of your web page where you are getting issue?

https://lukedude97.github.io/posts/plot-digitizer-produce-random-synthetic-images/

I think you may have only updated jekyll-theme-chirpy to 5.4.0 without getting the update for chirpy-starter.
In you web page:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>
In cotes' live demo:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>
The new prompt icons must depend on fontawesome 6.x.
The simplest solution is copy the contents of the file _data/assets/cross_origin.yml and overwrite your own. But I recommend you sync with the whole chirpy-starter not just this file.

It works! Thank you! I forgot to upgrade those files.


Custom properties scripts

Summary
Resolves https://github.com/cerner/terra-ui/issues/140

Add script from terra-toolkit to aggregate all CSS custom properties in a give glob path and convert it to JSON
Use the JSON file to render CSS custom properties on the component example doc page
Add script from terra-toolkit to spell check each word in CSS custom property
Add a custom dictionary to aid with spell check

THIS IS A WORK IN PROGRESS.
I've only added theme variable documentation to the terra-button page.

The themeable variables page is really long. This maybe out of scope, but how do you feel about putting the themeable variables in a dropdown of some sort that's expanded? I would also be fine with if the themeable variables is always the last item on the page.

@JakeLaCombe Yeah I think the variables would work better in an expandable content section.

Closing this based on team sync we had today. More info here: https://github.com/cerner/terra-ui/issues/140


Local MathJax version

I am not sure that is the best solution.
First, we never added a JS library in the repository. We have to get from npm or other repositories.
Second, it should be configurable, either we use the CDN or the developper uses the library he deployed on its server.


[knowledgeBase-for API users]  missing body in example call

The POST example in curl  in How to attach an access token to an API call does not secify a body  which I suppose is the reason the command results in an error:
curl -X POST --header "X-Auth-Token: f81ccf99-1d01-4e79-9a0b-8dfe84d8303c" "http://api-dev.freme-project.eu/current/e-link/templates?outformat=turtle&informat=json"

with token replaced by mine.

Please change the API call

To something that works, e.g. a call to FREME NER. It should be a call that does enrichment, so you can add to the documentation that this call can be used to access a private dataset. You do not need to create a private dataset, just use DBPedia.
Change the URL from freme-dev to freme-live

I have updated the example to
 curl -X POST --header "Content-Type: text/plain" --header "Accept: text/n3" --header "X-Auth-Token: YOUR_TOKEN" "http://api.freme-project.eu/current/e-entity/freme-ner/documents?input=Welcome%20to%20Berlin%2C%20the%20capital%20of%20Germany.&language=en&dataset=dbpedia&mode=all"


set a go-compatible version as tag

Out golang versions are not really respected in our current format.
You can see that in the post to the go package system:

And also in our listing on the go package system itself:

With my change we can now tag a new version like
v1.2.3-golang
Which should be a compatible version, that will also be shown on the golang package system. It is still not perfect, because we would have to keep the -golang suffix in there, so it might get marked as "prerelease" as described here.

I don't know how that will look when doing a go get but I guess our current output when installing vaas isn't perfect either.

Ah. And I dunno if go get without a version will install the versions with a "prerelease" string

Ok, it will not.
When making a pre-release available, keep in mind that developers using the pre-release will need to explicitly specify it by version with the go get command. That’s because, by default, the go command prefers release versions over pre-release versions when locating the module you’re asking for. So developers must get the pre-release by specifying it explicitly, as in the following example:

This might help.
Mapping versions to commits


Camera scanner is not working properly on HoneyWell EDA52

When using the HoneyWell EDA52, the camera scanner functionality is not working properly.
Although the activity can start, and the camera feedback is available, it is impossible to scan barcodes.
Access denied finding property "vendor.camera.aux.packagelist"

Device-specific issue, won't fix for now. Will re-open if real users express the need for it.


Youtube Download is broken

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.04.24. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2019.04.24

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
> youtube-dl --version
2019.04.17
> youtube-dl -v https://www.youtube.com/watch?v=6r3LugkXIi0
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=6r3LugkXIi0']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2019.04.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17763
[debug] exe versions: ffmpeg N-91492-g9cb3d8fcb7, ffprobe N-91492-g9cb3d8fcb7
[debug] Proxy map: {}
[youtube] 6r3LugkXIi0: Downloading webpage
[youtube] 6r3LugkXIi0: Downloading video info webpage
ERROR: 6r3LugkXIi0: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp1tqz5pcu\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp1tqz5pcu\build\youtube_dl\extractor\common.py", line 529, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp1tqz5pcu\build\youtube_dl\extractor\youtube.py", line 1693, in _real_extract
youtube_dl.utils.ExtractorError: 6r3LugkXIi0: "token" parameter not in video info for unknown reason; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description of your issue, suggested solution and other information
Youtube-DL fails to download any video from youtube.

youtube-dl -U
Failed to update twice. The error is fixed in latest version.


Scala / Java example can show a simplistic "approximate word count" example

Right now they're just empty.

Hm, on second thought, this would take a fair bit of work to implement and might go too far for what should just show how to create the minimal elements of an integration.


Seems like this commit broke lsp keybindings on my config [40819a6]

Hello, since yesterday i noticed a lot of keybindings for lsp was not working on my config and idk why, so i research what part of my config was doing this, and finally for some reason this commit 40819a6b1cc6b0fa9c936fd2e91c625e6d15f791 is doing that.

Did you inspect the keybinding? This command :map gd should show:
n  gd          *@<Cmd>lua vim.lsp.buf.definition()<CR>

Oh, it could which-key adding keybindings for g.

I've added the option preserve_mappings. You can do this.
local lsp = require('lsp-zero').preset({
  name = 'recommended',
  set_lsp_keymaps = {preserve_mappings = false}
})

lsp.nvim_workspace()

lsp.setup()

I've added the option preserve_mappings. You can do this.
local lsp = require('lsp-zero').preset({
  name = 'recommended',
  set_lsp_keymaps = {preserve_mappings = false}
})

lsp.nvim_workspace()

lsp.setup()

This also fixes lsp-zero.nvim not working together with which-key.nvim. Thank you!

I've added the option preserve_mappings. You can do this.
local lsp = require('lsp-zero').preset({
  name = 'recommended',
  set_lsp_keymaps = {preserve_mappings = false}
})

lsp.nvim_workspace()

lsp.setup()

This works well for me! Thank you!


Link check

Sphinx has this nice "linkcheck" command which goes through all the URLs and checks that they're not dead (reporting HTTP status code as well).
It would be cool if bikeshed had the same thing.

Yup, would be cool. If you feel rambunctious, I'd invoke it via a --link-check argument on the spec command.

Oh, no, nevermind! I've got a Complain About metadata already, to invoke linting, which this certainly is. Maybe Complain About: broken-links, and put the code into the lint.py module?
The Requests library is available, too, for much easier link handling.

Done.


Build: use single ext variable for both kotlin plugins version

Avoids duplicate PRs and inconsistency.
The existing PRS may need to be recreated or closed

Strange that all checks are not working…

Strange that all checks are not working…

Huh, that's weird. Let me try to push some empty commits.