No support for validating OpenID Connect id_token

The documentation ( iOS, Android and Web) recommends using a Google API client library to validate the OpenID Connect id_token. e.g. https://developers.google.com/identity/sign-in/ios/backend-auth

Rather than writing your own code to perform these verification steps, we strongly recommend using a Google API client library for your platform, or calling our tokeninfo validation endpoint.

This .NET client library is the officially supported .NET library by google, so anyone would think that it would contain the functionality to validate the token. Looking at the source, it doesn't look like it does.
It should be made clear in the documentation that this library doesn't provide the validating functionally. And maybe even an indication of when it will. (or even better, it should just provide the functionality)

No update on the issue? I'm making an internal app for my company and the services need the id_token, so maybe I should implement the calls by myself for now

I too have been looking for this. Looks like they're aware of it: https://github.com/google/google-api-dotnet-client/blob/e9f4efac556e5c7278df12095f39cbc6a79c84ca/Src/Support/GoogleApis.Auth/GoogleJsonWebSignature.cs#L13
In the mean time, looks like we can use the one they mentioned, or this one I found: https://github.com/0xfffffff7/JWTValidator/blob/master/JWTValidator

Hi everyone, I am interested in this too. Are there any updates?
Can`t it just be implemented as call to https://www.googleapis.com/oauth2/v3/tokeninfo?

Duplicated, and now being tracked by #920.


josephus problem

Is your feature request related to a problem? Please describe.
interview related question
Describe the solution you'd like
Given the total number of persons n and a number k which indicates that k-1 persons are skipped and kth person is killed in circle in a fixed direction.
The task is to choose the safe place in the circle so that when you perform these operations starting from 1st place in the circle, you are the last one remaining and survive.
Example 1:
Input:
n = 3 k = 2
Output: 3
Explanation: There are 3 persons so
skipping 1 person i.e 1st person 2nd
person will be killed. Thus the safe
position is 3.
Do you want to work on it
c++

please assign me this.

I am a gssoc'21 participant , I would like to work on this problem using C++. Please assign me this issue.


I can’t set the portal rotation on two axes at the same time

For example: I need to make a horizontal portal that teleport you to a vertical surface. (like at the first pic)

But I built my house (or something else) contrariwise and I need to see the view from first pic from the other side

contrariwise

LOL
I think any rotation is possible with set_portal_rotation. Just try stuff until you get what you want? might need to type some square roots and things into google

If the reverse portal is generated by complete_bi_way_portal, it will use the inverse rotation to make space "connect". If not the teleportation will not be seamless

have you tried actually rotating the portal body around the Y axis?

whoops, forgot rotating the portal body doesn't actually rotate anything else xD
uhh... maybe I could add a new command add_portal_rotation

Okay, I'll wait

this is a valid issue

Oh, okay

So, I think rotate_portal_rotation can help me now


[Bug] [Task instance  log] Can't show instance log detail when  upgrade version 1.3.5 to 2.0.5

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
When I  run task on  version 1.3.5. The  instance's log is  full  detail.

But now  I   upgraded to v2.0.5. The  log  only   show   log directory. I'm not  sure what's  wrong  about  my  config ?

What you expected to happen
Show log detail like  v1.3.5
How to reproduce
Run  any task   at v2.0.5 include dataX , hive ,spark  task.
Anything else
No response
Version
2.0.5
Are you willing to submit PR?

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

Code of Conduct

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

@syncwt go to host: <IP_ADDRESS> dose the [LOG-PATH] point file exist ？
I'm using 2.0.5 too , and meet this issue more and more. It's only show the [LOG-PATH] line , but can't find log file on the host.

The job running history does not support upgrading. Please clear the job running history when upgrading


Can't Build

I was reading to read the code. So I decided to try it in my own pc.
But alas I am unable to build it.
OS: Windows 10
This error message is:
quantum@quanta MINGW64 ~/Desktop/projects/Bit-Country-Blockchain (master)
$ cargo build --release
error: failed to read `C:\Users\quantum\Desktop\projects\Bit-Country-Blockchain\pallets\auction-manager
\Cargo.toml`

Caused by:
  The system cannot find the path specified. (os error 3)

I thought it might be some pesky windows error but I think its due to
missing auction-manager.
https://github.com/bit-country/Bit-Country-Blockchain/blob/723a4125c07b380fd908110abb7a784015c2df28/pallets/auction/Cargo.toml#L40

Has auction manager but I don't see that folder in that pallets folder.
So I think its missing in this repo?
Update: Make text < 80 columns

#62 You can check this PR.


[flink][cdc] add option to decide convert mysql tinyint(1) to bool or not

Purpose

Linked issue: close https://github.com/)](https://github.com/apache/incubator-paimon/issues/1395

Tests

API and Format

Documentation

Hi, @JingsongLi @yuzelin , would you help review this tiny PR at your convenience?
Thanks.

Thanks for contributing~ LGTM. Please resolve conflicts.
@JingsongLi please take a look.


changed rm images example to rmi

What's changed

Updated Getting started tutorial per feedback on referenced issue.

Related issues
#2186
Reviewers, fyi
@lelakshm
Signed-off-by: Victoria Bialas<EMAIL_ADDRESS>

LGTM


Add filename on cli and option to add it on template options

Saw #283 and thought it would be a good addition. It's non breaking.
On templates you can set filename: true and it will print it.
I'm not sure about always printing it on CLI mode. Should it be an argument?
Tell me if it's good and I'll add tests.

Adding this functionality is OK, but you should add it to the right place. extract() just works on a string and template. Moving the file is done later here.

Right, thanks for the input.
I've changed it to output the original_file and the moved_file or copied_file.

So the main functionality of this is to preserve the filename in the output folder, if the user specifies the --copy or --move args?
Are you sure enabling this should be done at the template level? A CLI arg may be better.
Also, could you achieve the same thing by using --filename-format and providing the original filename as replacement argument there?


import rune with a clean base from IC project

This work is suspended. The first release of enclave-cc will use rune externally.


How to get widget id?

According to the docs the render function will return the widget-id:

If the invocation is successful, the function returns a widgetId (string). If the invocation is unsuccessful, the function returns undefined.

-- https://developers.cloudflare.com/turnstile/get-started/client-side-rendering/
I need this widgetId to call window.turnstile.reset(widgetId) in order to reset the captcha.

Would you be fine with the onload callback including the widgetId?
function TurnstileTest() {
    const [widgetId, setWidgetId] = useState(null);
    setEffect(() => {
        if(!widgetId) return;
        // reset widget after 10s
        const timeoutId = setTimeout(() => {
            turnstile.reset(widgetId);
        }, 10000)
       return () => clearTimeout(timeoutId)
    }, [widgetId])
    return <Turnstile
        sitekey="..."
        onVerify={...}
        onLoad={widgetId => setWidgetId(widgetId)}
    />
}

Do note that the onLoad callback can be called multiple times if the widget has to be re-created because an important prop changes (theme, sitekey, action etc).

Would you be fine with the onload callback including the widgetId?

Yes, that would be fine :)


Create Unit tests covering remove fleet Management device(s) from an existing device group

Description
Create Unit tests covering remove fleet Management device(s) from an existing device group
Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[x] Tests update
[ ] Refactor

Checklist:

[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I run go fmt ./... to check that my code is properly formatted
[x] I run go vet ./... to check that my code is free of common Go style mistakes

Codecov Report

Merging #753 (dc4bb5a) into main (05b4b30) will increase coverage by 0.17%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #753      +/-   ##
==========================================
+ Coverage   31.27%   31.44%   +0.17%
==========================================
  Files          44       44
  Lines        4704     4704
==========================================
+ Hits         1471     1479       +8
+ Misses       3030     3023       -7
+ Partials      203      202       -1

Impacted Files
Coverage Δ

pkg/routes/devicegroups.go
39.37% <0.00%> (+2.50%)
:arrow_up:

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 05b4b30...dc4bb5a. Read the comment docs.

/lgtm


Storage size: Determine how much disk space does Chronicle require for a certain amount of stored history

We can use the db metrics to monitor this.

We have this already as part of the metrics.


3.0 Upgrade Report: Running Your Application in the Maven Process

What needs to be done
The auto-generated section in the Spring Boot 3 Upgrade Report for the 'Running Your Application in the Maven Process' section should be improved.
:warning: Please read Spring Boot 3 Upgrade Report Contribution Guideline :warning:
From the Release Notes

The fork attribute of spring-boot:run and spring-boot:start that was deprecated in Spring Boot 2.7 has been removed.

The report is defined in components/sbm-recipes-boot-upgrade/src/main/resources/recipes/27_30/report/sbu30-report.yaml
The (generated) test is defined in components/sbm-recipes-boot-upgrade/src/test/java/org/springframework/sbm/boot/upgrade_27_30/report/helper/RunningYourApplicationInTheMavenProcessReportSectionTest

Hi @fabapp2 or @sanagaraj-pivotal
I would like to pick up this enhancement. Please let me know your thoughts
Thanks,
Mahi

@bsmahi sounds awesome, go ahead. Please let me know if you need any help.

Hi @bsmahi,
thanks for your interest 🚀
You can pick this up.
Please read the linked contribution guideline and please provide feedback if something's unclear.
My thoughts on this:

I'd see this section as always shown in the report because SBM can't tell if the fork flag is used anywhere outside of the app?
The best SBM could do a search over all files and try to find a call to spring-boot:run maybe? I think everything else gets too complex for this edge case.

Hi @fabapp2
Thanks for providing your thoughts.
Since you're on leave, I would like to connect and discuss with @sanagaraj-pivotal first as this is my task, I have few queries and get it clarified with Sandeep.
Thanks,
Mahi

Hi @bsmahi
I assigned this to you.
I think there's no reliable way to find usages of fork.
I see this issue and the related section defined in yaml as informative which is always shown and tells a user to check their scripts, especially build scripts for usages of fork with mvn spring-boot:....
Aditonally, it could link the relevant sections in docs and describe how to achieve the behaviour in 3.0 (if possible).
Was this helpful, or do you have questions?

Hi @fabapp2
Certainly, that was really helpful, I will check and get back to you.
Thank you so much :)
Mahi

Hi @fabapp2
Have gone through the provided guidelines and this is my understanding.

Since fork attribute has been deprecated in spring boot 2.7, we need to find way how to enable to fork by using SBM?

Please correct me if my understanding is right. And also, please let me know where to start the implementation. Feeling cumbersome.
Thanks,
Mahi

Hi @bsmahi
I hope you still want to look into this?
I found this Issue where Andy describes how the fork functionality can be replaced in 3.0.
Min.:

Improve the generated report section by providing a description and a link to the Issue above.

If you want to do more:

Scan .sh and .bat for usages of mvn spring-boot:run and then fork and list these matches in the section of the report.

Let me know if you want to pick this and if you have further questions?

Hi @fabapp2
Certainly, I would like to pick it up.
Before that, I'd like to talk with you about where I should start. I have no idea where to begin right now.
Could you please let me know how to connect with you for 30 mins.
Thanks,
Mahi

HI @bsmahi I sent you a PM on Slack

Hi @fabapp2
Have raised a PR for the issue
https://github.com/spring-projects-experimental/spring-boot-migrator/pull/861
Could you please review it and let me know your feedback?
Thanks,
Mahi


How to specify on which blade docker host should be provisioned.

In the docker-machine create command (for oneview with docker) how do you specify which blade to use in the oneview infrastructure, for the docker host provision? I would like to provision host on specific blade but in the example command set below..there is no option to specify target blade. Also how to use the docker with oneview plugin...there is no clear document defining all the steps. if you can answer this question ..I am almost done with creating one document for everyone.
#docker-machine create
--engine-env HTTP_PROXY=""
--engine-env HTTPS_PROXY=""
--engine-env NO_PROXY=""
--driver oneview
--oneview-os-plan "RHEL71_DOCKER_18"
--oneview-server-template "SP_template"
--oneview-ov-user=Administrator
--oneview-ov-password=
--oneview-ov-domain=
--oneview-ov-endpoint=https://15.xx.xx.xx/
--oneview-icsp-user=administrator
--oneview-icsp-password=
--oneview-icsp-endpoint=15.215.xx.xx
--oneview-ssh-user=administrator \
--oneview-ilo-user=administrator
--oneview-ilo-password=
docker-ip-node-01
Also what does this mean:
Name:   "oneview-ilo-user",
Usage:  "ILO User id that is used during ICSP server creation.",
I do not remember using any ilo when creating ICSP vm and then its template.
I am following the steps mentioned in document below(that is rather vague in actual steps)
https://h20195.www2.hp.com/V2/getpdf.aspx/4AA6-2595ENW.pdf

Hey, lots of questions, thats fantastic!   OK, let me try to answer, let me know if i missed a question.

How can i target a specific blade.
Today we don't allow for you to pick a blade by serial or anything like that, but what you can do is assign a profile name to a blade prior to running docker-machine.  If docker-machine plugin finds a blade with that name, then it will use it.

How do i use the plugin.
Just like any other plugin, place the docker-machine-driver-oneview in the system path, or same folder as the docker-machine executable.  Then include the option --driver oneview.   Running the command docker-machine --driver oneview create should produce output that comes from the oneview executable and confirms the plugin is talking to docker-machine.

Here is an example command that works for me well:
cat > credentials_andsettings.env << EOF
export ONEVIEW_APIVERSION=200

# you need this so we can create and join a new server to ICSP
# if the server already exist in ICSP we don't provision it
export ONEVIEW_ILO_USER=user
export ONEVIEW_ILO_PASSWORD=password

export ONEVIEW_ICSP_ENDPOINT=https://icsp.yournet.com
export ONEVIEW_ICSP_USER=user
export ONEVIEW_ICSP_PASSWORD=password
export ONEVIEW_ICSP_DOMAIN=domain

export ONEVIEW_OV_ENDPOINT=https://oneview.yournet.com
export ONEVIEW_OV_USER=user
export ONEVIEW_OV_PASSWORD=password
export ONEVIEW_OV_DOMAIN=domain

export ONEVIEW_SSLVERIFY=true

export ONEVIEW_SERVER_TEMPLATE=oneviewtemplate
export ONEVIEW_OS_PLAN="icsp build plan"

# if you have a proxy for your data center
export proxy_enable=true

export proxy_config='http_proxy=http://proxy.yournet.com:8080/
https_proxy=https://proxy.yournet.com:8080/
no_proxy=/var/run/docker.sock,.proxy.yournet.com,localhost,<IP_ADDRESS>'

# proxy settings for --engine-evn options
export http_proxy=http://proxy.yournet.com:8080/
export https_proxy=https://proxy.yournet.com:8080/
export no_proxy=/var/run/docker.sock,.proxy.yournet.com,localhost,<IP_ADDRESS>

EOF

source credentials_adnsettings.env

# add the --engine-env options if you have a proxy
docker-machine create \
--oneview-os-plan "${ONEVIEW_OS_PLAN}" \
--oneview-server-template "${ONEVIEW_SERVER_TEMPLATE}" \
--oneview-public-connection-name "Name_of_public_network" \
--driver oneview \
--engine-env HTTP_PROXY="$http_proxy" \
--engine-env HTTPS_PROXY="$https_proxy" \
--engine-env NO_PROXY="$no_proxy" \
--engine-env http_proxy="$https_proxy" \
--engine-env https_proxy="$https_proxy" \
--engine-env no_proxy="$no_proxy" \
nodename

Why do we have to use ilo user/password

This was needed to add a server to icsp.  If we see that the server is already in icsp, we don't want to add it to docker-machine or provision it, to avoid destroying someone else server that might have already been provisioned. This way docker-machine always tries to add the new server to icsp (it should not exist in icsp prior to a create command).
Do let us know your progress and issues so we can make it easier.

Doesn't this come back to simply needing to support labels?  See https://github.com/HewlettPackard/docker-machine-oneview/issues/47
If you supported label filters you can tag whatever server (or servers) you want to deploy with a unique label and then specify that label in your docker-machine call.  That seems like a pretty minor change if it isn't supported yet.
Its also easier to use than direct server URI specification (which is the only reasonable way to directly specify I want to deploy server X) as you get to use a conversational label that won't require you to copy paste a long URI.  Just saying that is how I would do it.

@ddefolo yep, i agree.   In our first pass at the sdk we didn't have support for labels really good.

Thanks guys for quick response.
I need more light on answers:

How do you assign a profile name to a blade? i checked options that in oneview but could not find one. let me know where to look for. Or do you mean i should rename the ILO name?
"export ONEVIEW_ILO_USER=user   "   --is this for the server that i would like to provision?if yes than where do you specify its IP? As i can have multiple blades and i would like to deploy x blade on an x enclosure. Add to the same question does it picks up first server if we do not specify / select blade specifically?
Can i provision a DL server (any server outside c7000 enclosure)?

I am still working on this and your answers shall help me create a practical working paper for people to use with their HP servers and software.

Sure, here you go

You can create a profile from OneView menu: "HP OneView-> Server Profiles, choose Action button ,    choose Create".  You can also do this from "HP OneView-> Server Profile Templates".  If you use templates, select the template, and choose "Action -> Create server profile" .  Using the profile name that is the same as the docker-machine node name, will cause docker-machine plugin to use that server profile with the assigned blade.

ONEVIEW_ILO_USER, is defined as what is configured as the admin user for ilo administration of the selected blade (we expect that to be consistent from blade to blade).  We determine the ip address to use from the OneView server profile data.   In the future this will likely not be needed once api's for single sign on to ilo are working better on add server feature for ICsp.  You can see more on that in Issue #64 .  If you don't specify a blade, we simply pick the first available blade that the template points to, that currently has no profile assigned to it.

We've only tried this on Gen 8 and Gen 9 servers from C7000 and Synergy enclosures.  Do let us know about your success or not on DL servers.

Thank Wenlock,
I downloaded the plugin docker-machine-driver-oneview.exe and placed it into the docker toolbox directory at C:\Program Files\Docker Toolbox. --hope this is correct.
 I then made the changes as well as applied profile and also created a user on this blade. I then run the command but get an error msg:

Running pre-create checks...
Creating machine...
(node1) Generating SSH keys...
Error creating machine: Error in driver during machine creation: Error in response: User not authorized for this operation.
Response Status: 401 Unauthorized

Couple troubleshooting steps.

Verify that the oneview plugin is being found by running docker-machine create -d oneview.  This should produce help text with onview specific options and help.  If you see it, thats good.

Verify the accounts you are using for ilo, OneView, and ICsp have sufficient permissions to adminster the changes.   You can also try adding --debug option to get more output for troubleshooting.  IE: docker-machine --debug create -d oneview ...

The plugin works:
Administrator@win216 MINGW64 ~
$ docker-machine --debug create -d oneview
Docker Machine Version:  0.7.0, build a650a40
Found binary path at C:\Users\Administrator\bin\docker-machine-driver-oneview.exe
Launching plugin server for driver oneview
Plugin server listening at address <IP_ADDRESS>:52724
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(flag-lookup) Calling .GetMachineName
(flag-lookup) Calling .DriverName
(flag-lookup) Calling .GetCreateFlags
(flag-lookup) DBG | DriverName...%s oneview
Usage: docker-machine create [OPTIONS] [arg...]
Create a machine
Description:
Run 'C:\Program Files\Docker Toolbox\docker-machine.exe create --driver name' to include the create flags for that driver in the help text.
.
.
.
I shall check permissions now for all the user accounts.

Hello Wenlock,
I created a new admin user to target machine ILO, oneview and ICSP and used the same in the source file and ran the command again but still getting the same error:
$ docker-machine create --oneview-os-plan "${ONEVIEW_OS_PLAN}" --oneview-server-template "${ONEVIEW_SERVER_TEMPLATE}" --oneview-public-connection-nam
e "Name_of_public_network" --driver oneview --engine-env HTTP_PROXY="$http_proxy" --engine-env HTTPS_PROXY="$https_proxy" --engine-env NO_PROXY="$no_
proxy" --engine-env http_proxy="$https_proxy" --engine-env https_proxy="$https_proxy" --engine-env no_proxy="$no_proxy" node1
Running pre-create checks...
Creating machine...
(node1) Generating SSH keys...
Error creating machine: Error in driver during machine creation: Error in response: User not authorized for this operation.
Response Status: 401 Unauthorized
However the node1 does gets created when i see the docker-machine ls command.
Am i missing any other user? I am running all the docker-machine commands from the docker toolbox interface on windows.

Hey, doesn't sound like your getting past the first part of simply connecting to OneView... your still only in the docker-machine mechanics so docker_os_build_plan.sh is not in play yet.   For the credentials, have you sourced those into the environment settings?   IE: I was suggesting you use a small environment script like the following (granted if your using ux shell):
cat > credentials_andsettings.env << EOF
export ONEVIEW_APIVERSION=200

# you need this so we can create and join a new server to ICSP
# if the server already exist in ICSP we don't provision it
export ONEVIEW_ILO_USER=user
export ONEVIEW_ILO_PASSWORD=password

export ONEVIEW_ICSP_ENDPOINT=https://icsp.yournet.com
export ONEVIEW_ICSP_USER=user
export ONEVIEW_ICSP_PASSWORD=password
export ONEVIEW_ICSP_DOMAIN=domain

export ONEVIEW_OV_ENDPOINT=https://oneview.yournet.com
export ONEVIEW_OV_USER=user
export ONEVIEW_OV_PASSWORD=password
export ONEVIEW_OV_DOMAIN=domain

export ONEVIEW_SSLVERIFY=true

export ONEVIEW_SERVER_TEMPLATE=oneviewtemplate
export ONEVIEW_OS_PLAN="icsp build plan"

# if you have a proxy for your data center
export proxy_enable=true

export proxy_config='http_proxy=http://proxy.yournet.com:8080/
https_proxy=https://proxy.yournet.com:8080/
no_proxy=/var/run/docker.sock,.proxy.yournet.com,localhost,<IP_ADDRESS>'

# proxy settings for --engine-evn options
export http_proxy=http://proxy.yournet.com:8080/
export https_proxy=https://proxy.yournet.com:8080/
export no_proxy=/var/run/docker.sock,.proxy.yournet.com,localhost,<IP_ADDRESS>

EOF

Update the credentials_andsettings.env file with your environment users, passwords, and urls and make sure you source this script into the shells environment before executing the docker-machine create command.   You can source it with the following command:
source credentials_andsettings.env
It also occurs to me, If your using toolbox, your probably using powershell to get to docker-machine executable.   I don't currently have the equivalent of these settings in a cmd or ps1 script, but what I do is use mintty which comes with github desktop.  You can then launch mintty by choosing a project, and using open in git shell.  If your environment is setup correctly docker-machine will be in your path and you can use shell scripts.
However, if you want to avoid adding another tool to get a shell prompt, maybe your other option is to specify all the additional command line arguments that are required, like
(in this case my username is docker and password is pass)
 --oneview-icsp-domain "LOCAL"
   --oneview-icsp-endpoint "https://icspserver.com"
   --oneview-icsp-password "pass"
   --oneview-icsp-user "docker"

   --oneview-ilo-password "pass"
   --oneview-ilo-user "docker"

   --oneview-ov-domain "LOCAL"
   --oneview-ov-endpoint "https://oneview.com"
   --oneview-ov-password "pass"
   --oneview-ov-user "docker"

   --oneview-server-template "DOCKER_1.8_OVTEMP"

Do you think your missing the arguments for the creds and urls maybe?

I used all the credentials in the credentials_andsettings.env and also sourced it.
When i install docker toolbox i get the MINGW64 console that i use to run the docker command and i am not using docker shell.
Got a bit more luck after i changed the domain name to local in the env file.
$ docker-machine create --oneview-os-plan "${ONEVIEW_OS_PLAN}" --oneview-server-template "${ONEVIEW_SERVER_TEMPLATE}" --oneview-public-connection-nam
e "" --driver oneview --engine-env HTTP_PROXY="$http_proxy" --engine-env HTTPS_PROXY="$https_proxy" --engine-env NO_PROXY="$no_proxy" --engine-env ht
tp_proxy="$https_proxy" --engine-env https_proxy="$https_proxy" --engine-env no_proxy="$no_proxy" node1
Running pre-create checks...
Creating machine...
(node1) Generating SSH keys...
(node1) Working on power state.
(node1) Desired Power State already set -> Off
(node1) Power Task Execution Completed
Error creating machine: Error in driver during machine creation: Error in response: User not authorized for this operation.
Response Status: 401 Unauthorized

Just powered on the blade from oneview and this is what i observerd:
$ docker-machine create --oneview-os-plan "${ONEVIEW_OS_PLAN}" --oneview-server-template "${ONEVIEW_SERVER_TEMPLATE}" --oneview-public-connection-nam
e "" --driver oneview --engine-env HTTP_PROXY="$http_proxy" --engine-env HTTPS_PROXY="$https_proxy" --engine-env NO_PROXY="$no_proxy" --engine-env ht
tp_proxy="$https_proxy" --engine-env https_proxy="$https_proxy" --engine-env no_proxy="$no_proxy" node1
Running pre-create checks...
Creating machine...
(node1) Generating SSH keys...
(node1) Working on power state.
(node1) Powering Off server 2SN54407QB, bay 1 for 2M25450CMY.
(node1) Working on power state,2%, Power off server: 2SN54407QB, bay 1.
(node1) Working on power state,100%, Successfully powered off server: 2SN54407QB, bay 1..
(node1) Power Task Execution Completed
Error creating machine: Error in driver during machine creation: Error in response: User not authorized for this operation.
Response Status: 401 Unauthorized
Looks like it is able to connect to oneview but maybe stopping at ICSP.

I think your at the point where we are interacting with docker-machine and ICsp for sure, but I don't think your not to far in because you don't have this message:
ICSP creating server for ...

or something like it.
If you can add --debug option we might get some better clues on where you are getting stuck.
IE: something like
$ docker-machine --debug create --oneview-os-plan "${ONEVIEW_OS_PLAN}" ...

One of the first things we try to do with ICsp is to determine if the server is not added to ICsp.  We use the blades profile serial number to look this up.  Thats a connection to ICsp and a call to the rest API /rest/os-deployment-servers.   If you don't have permissions in ICsp to connect or list all servers, then you might get errors.   The debug info would be handy on this one.

This is what i get:
(node1) DBG | REQ    --> &{Method:POST URL:https://<IP_ADDRESS>/rest/login-sessions Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[X-Api-Version
:[200] Auth:[none] Content-Type:[application/json; charset=utf-8]] Body:{Reader:} ContentLength:69 TransferEncoding:[] Close:false Host:<IP_ADDRESS>
Form:map[] PostForm:map[] MultipartForm: Trailer:map[] RemoteAddr: RequestURI: TLS: Cancel:}
(node1) DBG |
(node1) DBG | RESP   --> &{Status:400 Bad Request StatusCode:400 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Content-Type:[application/json;ch
arset=UTF-8] Via:[1.1 example.com] Cache-Control:[no-cache] Date:[Tue, 05 Jul 2016 22:30:39 GMT] Server:[Apache]] Body:0xc0822b8f80 ContentLength:-1 T
ransferEncoding:[chunked] Close:true Trailer:map[] Request:0xc0825dd260 TLS:0xc08224d970}
(node1) DBG |
(node1) DBG | ERROR  -->
(node1) DBG |
(node1) DBG | RestAPICall GET - https://<IP_ADDRESS>/rest/os-deployment-servers
(node1) DBG | *** url => https://<IP_ADDRESS>/rest/os-deployment-servers
(node1) DBG | *** method => ☺
(node1) DBG | *** proxy => 0x53da20
(node1) DBG | Headers -> X-API-Version -> 200
(node1) DBG |
(node1) DBG | Headers -> auth -> none
(node1) DBG |
(node1) DBG | Headers -> Content-Type -> application/json; charset=utf-8
(node1) DBG |
(node1) DBG | REQ    --> &{Method:GET URL:https://<IP_ADDRESS>/rest/os-deployment-servers Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[X-Api-V
ersion:[200] Auth:[none] Content-Type:[application/json; charset=utf-8]] Body: ContentLength:0 TransferEncoding:[] Close:false Host:<IP_ADDRESS>
Form:map[] PostForm:map[] MultipartForm: Trailer:map[] RemoteAddr: RequestURI: TLS: Cancel:}
(node1) DBG |
(node1) DBG | RESP   --> &{Status:401 Unauthorized StatusCode:401 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Via:[1.1 example.com] Cache-Cont
rol:[no-cache] Date:[Tue, 05 Jul 2016 22:30:39 GMT] Server:[Apache] Content-Type:[application/json;charset=UTF-8]] Body:0xc082380100 ContentLength:-1
TransferEncoding:[chunked] Close:false Trailer:map[] Request:0xc0825dd500 TLS:0xc0822b3080}
(node1) DBG |
(node1) DBG | ERROR  -->
(node1) DBG |
Error creating machine: Error in driver during machine creation: Error in response: User not authorized for this operation.
Response Status: 401 Unauthorized
open : The system cannot find the file specified.
notifying bugsnag: [Error creating machine: Error in driver during machine creation: Error in response: User not authorized for this operation.
Response Status: 401 Unauthorized]

OK, great, it's where I suspected... The login to icsp is failing because we can see this
(node1) DBG | Headers -> auth -> none

after we call /rest/login-sessions
Double check for typos on the ICSP user, password and domain.  Also try quoting the values:
export ONEVIEW_ICSP_ENDPOINT=https://icsp.yournet.com
export ONEVIEW_ICSP_USER="user"
export ONEVIEW_ICSP_PASSWORD="password"
export ONEVIEW_ICSP_DOMAIN="domain"

I'm out of time today, but I'll see if i can get you a test curl command to see if you can test login.  You can also verify that you can reach your server with this curl command:
curl -Lk --get "$ONEVIEW_ICSP_ENDPOINT/rest/version"

Output should be something like this:
{"currentVersion":200,"minimumVersion":1}

If your not getting that, then it's possible something wrong with the proxy settings.

Thanks wenlock,
This is what i get:
$ curl -Lk --get "$ONEVIEW_ICSP_ENDPOINT/rest/version"
{"currentVersion":200,"minimumVersion":1}
I also quoted all the username and password but same error
Thanks again for all your time and efforts.

3 things:

Have you confirmed your clocks are in sync?  If the OneView and ICsp appliance times are significantly off from the client where you are calling docker machine then you will get failures.  NTP or syncing times with the same vm host are recommended.

Are you using the right domain?  Keep in mind that the domain is the name of the domain that shows up in the drop-down list of the UI when logging into OneView or ICsp and not what the actual name domain group is in LDAP or your AD server. That confused me at first.

Regarding the ICsp 2 networks - the ICsp management IP address (in your case the 15 subnet) address is the only address that you should use for REST interaction.  The other subnet is used exclusively when deploying servers to keep the heavier traffic (pushing OS bits) on a different network than your general datacenter management network.

Thanks ddefolo,
The ICSP and oneview are diff vms and they are in sync with the VM host. The ILO in managed by 172 DHCP server. There is a time diff in ICSP and ILO.
2. I have no domains defined. hence i select local in .enc file.
3. I agree. It goes till ILO but then fails.
I shall sync the time with ntp server and check how it goes.
Thanks

on 1 I'm not saying OneView and ICsp need their time synced (although that wouldn't be bad to do).  I'm suggesting your client and the appliances need their time synced.  That means the time of the client where you are calling docker-machine needs to be close to being in sync with the appliance.  Make sure to note the time zones of each and factor that in to know if they are truly in sync.
You can simply manually adjust the time of the client system to be in sync with the appliances to see if that resolves the issue.  If it does, then you know a more permanent solution like NTP is needed.

Thanks ddfolo. I shall do that and see how it goes. There was a time diff.

Tried with all possible proxys that i can think of but no luck

looks like there was an error in the network of ICSP VM. after corrected it ..it moved further into installation. Now it fails at :
(node1) Waiting on, Add server (iLO <IP_ADDRESS>), 67%, Boot server to maintenance
(node1) Waiting on, Add server (iLO <IP_ADDRESS>), 67%, Boot server to maintenance
Error creating machine: Error in driver during machine creation: Boot server to maintenance
ERROR: Server failed to properly boot to maintenance and register with the appliance. Check the Boot to Service OS build plan  job log for more details.

My recommendation is to make sure you can register your servers in ICsp without failures using the ICsp UI (and triage from a pure ICsp perspective using ICsp troubleshooting docs) before getting docker machine into the picture.  The most common things that can go wrong there include:
Your OneView profile doesn't

make a connection to the same network that ICsp is using (e.g. compare vlan IDs for your appliance network connections to the profile).
You have more than 1 network connection on that network in the profile as part of plans to have teamed nics (as per ICsp docs you should only have 1 connection until after ICsp is done registering the server)

Beyond that, as per the error above, going to the "Jobs" page in ICsp should provide a more specific error message that will help pinpoint the problem.

Thanks DDefolo,
The error in the jobs UI(when i add the server via UI without docker) is same. Also i have only one network in the profile.
Step 4 of 4: Run OGFS Script 'Wait for HP SA Agent'
Sleeping for 3 minutes before checking for agent
Waiting for registration of agent running on maintenance OS
Failed To wait for the HP SA Agent: The agent did not appear on the network (is not listening on its port).
Additional information from boot control:
hpstartae copyright (c) 2011 hewlett packard - all rights reserved
/tmp/ae /
AE-test.xml
AutomationEngine
libcrypto.so
tar: libcrypto.so: Cannot utime: No such file or directory
libcrypto.so.1.0.0
libcurl.so
tar: libcurl.so: Cannot utime: No such file or directory
libcurl.so.4
tar: libcurl.so.4: Cannot utime: No such file or directory
libcurl.so.4.2.0
libssh2.so
tar: libssh2.so: Cannot utime: No such file or directory
libssh2.so.1
tar: libssh2.so.1: Cannot utime: No such file or directory
libssh2.so.1.0.1
libssl.so
tar: libssl.so: Cannot utime: No such file or directory
libssl.so.1.0.0
libz.so
tar: libz.so: Cannot utime: No such file or directory
libz.so.1
tar: libz.so.1: Cannot utime: No such file or directory
libz.so.1.2.5
README.TXT
tar: Exiting with failure status due to previous errors
ping: sendto: Network is unreachable
Network Interface is not up, test IP: <IP_ADDRESS>, ping count: 1
ping: sendto: Network is unreachable
Network Interface is not up, test IP: <IP_ADDRESS>, ping count: 2
ping: sendto: Network is unreachable
Network Interface is not up, test IP: <IP_ADDRESS>, ping count: 3
ping: sendto: Network is unreachable
Network Interface is not up, test IP: <IP_ADDRESS>, ping count: 4
ping: sendto: Network is unreachable
Network Interface is not up, test IP: <IP_ADDRESS>, ping count: 5
ping: sendto: Network is unreachable
Network Interface is not up, test IP: <IP_ADDRESS>, ping count: 6
ping: sendto: Network is unreachable
Network Interface is not up, test IP: <IP_ADDRESS>, ping count: 7
ping: sendto: Network is unreachable
Network Interface is not up, test IP: <IP_ADDRESS>, ping count: 8
ping: sendto: Network is unreachable
Network Interface is not up, test IP: <IP_ADDRESS>, ping count: 9
ping: sendto: Network is unreachable
Network Interface is not up, test IP: <IP_ADDRESS>, ping count: 10
Failed to download URL: http://<IP_ADDRESS>:8081/osprov_ogfs_agent-LINUX-SLES-11-X86_64
Response code received: 0
Possible reason: Couldn't connect to server
Error buffer: Failed to connect to <IP_ADDRESS>: Network is unreachable
chmod: *: No such file or directory
HPSA OGFS Agent Setup
/tmp/post.bat: line 8: ./osprov/ogfs-agent-setup.sh: No such file or directory
HPSA OGFS Agent Start
/tmp/post.bat: line 10: ./osprov/ogfs-agent-start.sh: No such file or directory
Script exec failed: 127, reason:Key has expired
URI download failed, exiting
Automation Engine - version: 1.0.0
/opt/hp/hp-phoenix/scripts/ae.xml: loaded successfully
Wait for HP SA Agent failed with exit code 120.

Suspect DHCP on the ICSP is sick and not doling out IPs......not sure how to test it

anandgagrani,
You are dealing with a pure issue with your ICsp setup, this has nothing to do with docker so as I a said before I would first assure you can successfully use ICsp without docker in the picture.  Interacting with the OneView UI and ICsp UI until you get to the bottom of your issues is likely the best approach.  The fact that the SA agent can't phone home to ICsp and that your deployment interface has a weird IP is an indicator to me that you don't have the deployment network nic of ICsp connected to the same network as the server profile in OneView or you don't have a properly configured DHCP server on that network (see item 4 below).
Resources:

Get the appropriate ICsp Administrator guide or look at the online help for your version of ICsp from: https://hpe.com/info/insightcontrol/docs
Look at the Wait for SA agent troubleshooting section.  Even though that talks about exit code 6 and you got 120 I have found that many of the same troubleshooting instructions
Look at the Mid and crypto not found troubleshooting instructions since I see that in your errors above.  In short, you might need to delete the server from ICsp first before trying to re-add it.
Make double-sure the ICsp deployment network vlan (your 172 subnet) is the same vlan as the network you are connecting to in the OneView profile and that you have a properly configured DHCP server on that network.  An easy way to tell that is to enable that connection for PXE boot in the profile and do a network boot (e.g. 1 time network boot or adjust boot order) and confirm you get a PXE boot and the install menu from ICsp.  If not there is a troubleshooting section on that in the docs I've been talking about.
If all else fails you need to get back to the basics of troubleshooting (sorry) using Troubleshooting basics


Failing to run release with reason: {on_load_function_failed,'Elixir.ExTermbox.Bindings'}

I'm using Ratatouille to build a CLI app and everything works perfectly in IEX .
But building  a release with either Mix releases or Distillery causes the same error to occur:

=SUPERVISOR REPORT==== 26-Jun-2022::21:43:49.365723 ===
    supervisor: {local,kernel_sup}
    errorContext: start_error
    reason: {on_load_function_failed,'Elixir.ExTermbox.Bindings'}
    offender: [{pid,undefined},
               {id,kernel_safe_sup},
               {mfargs,{supervisor,start_link,
                                   [{local,kernel_safe_sup},kernel,safe]}},
               {restart_type,permanent},
               {significant,false},
               {shutdown,infinity},
               {child_type,supervisor}]

=CRASH REPORT==== 26-Jun-2022::21:43:49.365813 ===
  crasher:
    initial call: supervisor:kernel/1
    pid: <0.932.0>
    registered_name: []
    exception exit: {on_load_function_failed,'Elixir.ExTermbox.Bindings'}
      in function  init:run_on_load_handlers/0
      in call from kernel:init/1 (kernel.erl, line 189)
      in call from supervisor:init/1 (supervisor.erl, line 330)
      in call from gen_server:init_it/2 (gen_server.erl, line 423)
      in call from gen_server:init_it/6 (gen_server.erl, line 390)
    ancestors: [kernel_sup,<0.906.0>]
    message_queue_len: 0
    messages: []
    links: [<0.908.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 376
    stack_size: 29
    reductions: 226
  neighbours:

=CRASH REPORT==== 26-Jun-2022::21:43:50.369580 ===
  crasher:
    initial call: application_master:init/4
    pid: <0.905.0>
    registered_name: []
    exception exit: {{shutdown,
                         {failed_to_start_child,kernel_safe_sup,
                             {on_load_function_failed,
                                 'Elixir.ExTermbox.Bindings'}}},
                     {kernel,start,[normal,[]]}}
      in function  application_master:init/4 (application_master.erl, line 142)
    ancestors: [<0.904.0>]
    message_queue_len: 1
    messages: [{'EXIT',<0.906.0>,normal}]
    links: [<0.904.0>,<0.903.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 376
    stack_size: 29
    reductions: 165
  neighbours:

=INFO REPORT==== 26-Jun-2022::21:43:50.370283 ===
    application: kernel
    exited: {{shutdown,
                 {failed_to_start_child,kernel_safe_sup,
                     {on_load_function_failed,'Elixir.ExTermbox.Bindings'}}},
             {kernel,start,[normal,[]]}}
    type: permanent

{"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{{shutdown,{failed_to_start_child,kernel_safe_sup,{on_load_function_failed,'Elixir.ExTermbox.Bindings'}}},{kernel,start,[normal,[]]}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{{shutdown,{failed_to_start_child,kernel_safe_sup,{on_load_function_failed,'Elixir.ExTermbox.Bindings'}}},{kernel,start,[normal,[]]}}})

Any idea why this works fine in dev but fails on a release?

I presume this is related to #3. Perhaps one of the workarounds from there works?


Return value as UTC offset?

Please consider a return option as the UTC offset +0300, etc.
datetime.datetime.now(pytz.timezone('Asia/Jerusalem')).strftime('%z')
Thank you.

Thanks for this suggestion.
I am aware that many users of this package want to achieve something comparable.
Due to the following reasons I still do not consider this functionality worth including:

the functionality is covered by other packages (datetime, pytz)
the functionality is fairly simple
the functionality is not general as there are many similar use cases which would need separate implementations
the functionality is closely connected to datetimes and hence does not lie within the actual scope of this package


Test with dmd-beta and dmd-2.087.1

DMD 2.087.1 should solve all the C++ regressions that we had.
In addition, testing with dmd-beta should allow us to catch regressions early.
It will slow down our CI, however if dmd-beta introduce a regression it won't fail the build.
We do look at the logs often enough that we'd catch any issue.

This uncover a DMD regression. Fix on its way at: https://github.com/dlang/dmd/pull/10256
Let's wait until the beta actually passes to merge this.

And also https://github.com/dlang/dmd/pull/10257 because I'm a dingus.

DMD v2.087.1 has been released, so I added it to this patch.

💚

dmd-beta is red because it's the old beta (without my fixes).
But 2.087.1 is newer


No configuration to modify KeepActivityPrivate setting

Description
I am trying to disable public activity for a user with "public" visibility. There is an user option "KeepActivityPrivate" per #11353 that serves this purpose but there isn't a service config in app.ini to disable public activity.
Gitea Version
1.21.4
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
2.43.0
Operating System
Linux
How are you running Gitea?
Docker
Database
SQLite

Hi, thanks for opening this report. To clarify, you'd like an option in the config to disable to public activity portion of all users on the instance?

@techknowlogick, that's correct. Correct me if I'm wrong: there already exists a user-level setting to disable his or her public activities from being visible via KeepActivityPrivate param (see #11353). I saw user profile template make use of this param (see profile.tmpl#L14) but couldn't figure out how to modify it.


Victor VosMottor: Watch blogexpert.in

Victor VosMottor requests the watch of the watch_keyword blogexpert\.in. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

blogexpert\.in has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


starts from an existing projext

What problem or use case are you trying to solve?
Describe the UX of the solution you'd like
Do you have thoughts on the technical implementation?
Describe alternatives you've considered
Additional context
currently the agent always starts from scratch, but some time we also need add feature/fix bug from previous project (e.g. just generate by opendevin)

Hi @clipsheep6, we just added a directory feature where you can specify the directory OpenDevin starts in. You can set this directory path to an existing project. Does this work for you?

Yup--you can also point it to an existing directory with the WORKSPACE_DIR env var or config.toml var


Write code style links for Java

Follow-up https://github.com/embulk/embulk-executor-mapreduce/issues/15

I close this PR.
Because of  #582 is discussing checkstyle.
https://github.com/embulk/embulk/pull/582#issuecomment-290631669


[BUG] Macchina doesn't report battery stats

Describe the bug
machina doesn't report battery status from laptop
It seems that macchina reads battery stats from hardcoded /sys/class/power_supply/BAT0/ folder
But In my system the battery is in /sys/class/power_supply/BAT1/ folder.
The acpi command seems to correctly report the battery status in my system.
To Reproduce
Steps to reproduce the behavior:

machina --debug

Expected behavior
macchina reports battery stats
Screenshots

System Information

Distribution: Arch Linux
Desktop Environment: bspwm
Terminal: Alacritty 0.7.2-1
Macchina's version: v0.5.5
Additional context
Add any other context about the problem here.

https://github.com/grtcdr/macchina/commit/ebde6b48c03bacebe453b8f1ef79d4f07345ef3f (v0.5.6) now includes a fallback path to read battery information from.

Thanks for fixing the issue.
I didn't consider the runtime cost for calling awk.

It's all good, at some point in Macchina's development, awk and sed were being utilized to fetch system information.
And then I learned about hyperfine and bechmarking programs, and discovered that Macchina was so slow, it defeated its own purpose, that is performance.
I quickly rewrote most functions and stopped using awk and sed after that.


Benchmark helpers

Standard benchmark helpers could be useful when optimizing monitors. And it would be nice to have the overhead information for each monitor and recorder available in the documentation.

Basic functionality has been implemented moving to future milestones


Removed make install & make uninstall target

Issue link

RHOAIENG-5347
What changes have been made
Removed make targets

Verification steps

Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[x] Testing is not required for this change

We're going to be adding CRDs back again next week (when we bring in the AppWrapper operator).

We're going to be adding CRDs back again next week (when we bring in the AppWrapper controller).

Closing because of this.


TypeScript handler looks like ES5

Instead of
var epsagon = require('epsagon');
var handler = require('../RELATIVE_PATH');

epsagon.init({
    token: 'TOKEN',
    appName: 'APP_NAME',
    collectorURL: COLLECTOR_URL,
    metadataOnly: Boolean(METADATA_ONLY)
});

exports.METHOD = epsagon.WRAPPER_TYPE(handler.METHOD);

I would have expected
import * as epsagon from 'epsagon';
import { METHOD as origMethod } as handler from '../RELATIVE_PATH';

epsagon.init({
    token: 'TOKEN',
    appName: 'APP_NAME',
    collectorURL: COLLECTOR_URL,
    metadataOnly: Boolean(METADATA_ONLY)
});

exports const METHOD = epsagon.WRAPPER_TYPE(origMethod);

Hi, this really depends on the version of Lambda, and the compilation of the user. It might be nice to implement but needs to be thoroughly tested - if you want to.


Incompatibility with Discord4J

This is the third plugin I've found with this issue - so I'm going to link to the first issue I created on it, which is on the ProtocolLib repo.
In short, this plugin, ProtocolLib and Bedwars X all do something with Netty that breaks Discord4J. I've communicated with the Discord4J team myself and they're not entirely sure what's going on either, but I figured I should open an issue on every project I find that causes this problem!
Do you have any ideas?

I have been able to find an external factor - my Docker setup. The container is out of my control, but this is esoteric enough that I don't expect you to fix it


Hedging using knn

hey @Akshat111111 ,
please check the PR for #30 .
let me know for further alteration.

I am new to handling financial data. Please, could you tell me how I can improve the model?

@Akshat111111 , Please check i have put the folder inside Nifty folder.

Hello @Akshat111111,
Could you please add the label gssoc'24 and the level2 label according to issue #30 to this PR? This would really help me gain points on the leaderboard.
Thank you for your time!


Syntactically identical types are not equal

The following produces a cryptic error message:
module Fail

type Any (a:Type) : a -> Type = fun (x:a) -> True
assume type t (a:Type) (p:(a -> Type)) : Type

type node (a:Type) : Type =
  | Node : v: (t (node a) (Any (node a))) -> node a

val nodev : node 'a ->  (t (node 'a) (Any (node 'a)) )
let nodev n = match n with | Node v -> v

The error message is:
fail.fst(10,39-10,40) : Error
Expected expression of type "(t (node 'a) (Any (node 'a)))";
got expression "v" of type "(t (node 'a) (Any (node 'a)))"

I would expect these two types to be equal.

Thanks for the report, Colin. I'm in the process of revising the implementation of type relations, including subtyping and convertibility. Will address this as I bring that online.


Bundler issue. Infinite bundling when using certain libraries

Steps to reproduce

Create a fresh project react-native init testProject
Add estraverse library npm install --save estraverse
Add link to index.ios.js with simple require('estraverse')
Try to bundle react-native bundle

Latest command will never finish
react-native cli version is 0.1.5
OS is Mac OS X 10.11

Is this still happening by chance?

@facebook-github-bot no-reply


gRPC has issues when used in conjunction with Electron to make a PC app

Hello,
I'm trying to make an electron app that makes call to DialogFlow API to make a chat bot.
Calls to DialogFlow work ok while my app is a nodejs application (server app). However, once I want to add the electron library to make it an pc or mac app, it gives me this error:
App threw an error during load Error: Failed to load gRPC binary module because it was not installed for the current system Expected directory: electron-v3.0-darwin-x64-unknown Found: [node-v64-darwin-x64-unknown] This problem can often be fixed by running "npm rebuild" on the current system Original error: Cannot find module '/Users/XXXXuserXXX/Documents/Developer/my-basic-chat/node_modules/grpc/src/node/extension_binary/electron-v3.0-darwin-x64-unknown/grpc_node.node'     at Object.<anonymous> (/Users/XXXXuserXXX/Documents/Developer/my-basic-chat/node_modules/grpc/src/grpc_extension.js:53:17)     at Object.<anonymous> (/Users/XXXXuserXXX/Documents/Developer/my-basic-chat/node_modules/grpc/src/grpc_extension.js:63:3)     at Module._compile (internal/modules/cjs/loader.js:711:30)     at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)     at Module.load (internal/modules/cjs/loader.js:620:32)     at tryModuleLoad (internal/modules/cjs/loader.js:559:12)     at Function.Module._load (internal/modules/cjs/loader.js:551:3)     at Module.require (internal/modules/cjs/loader.js:658:17)     at require (internal/modules/cjs/helpers.js:20:18)     at Object.<anonymous> (/Users/XXXXuserXXX/Documents/Developer/my-basic-chat/node_modules/grpc/src/client_interceptors.js:145:12)
I have tried to run "npm rebuild" several times with no luck.
Is there a way to fix it?

I have also tried both Mac and Windows and I get the same issue

[Update]
I was able to fix this issue by rebuilding the gRPC for electron by using:
npm install grpc --runtime=electron --target=[VERSION]
Hopefully this helps to solve this problem

Great to hear that you were able to get this rolling!

I use electron version 4.0.4 and still getting the same error.. Aforementioned comment of ottogutierez unfortunality didn't help.

hi @lifeanddeath , you are correct, i updated some packages today and it completely stopped working for me. I even tried to roll back to the previous packages and cannot fix it anymore... have you been able to fix it?


correctly display writes currently blocked on dirty

Fixes #190
Signed-off-by: Glauber Costa<EMAIL_ADDRESS>

Looks good, but I have to admit I do not understand what does "blocked on dirty" means, and what should I do with a high (or low) value.

It means that the system is not able to flush its memtables fast enough, so
the system has to throttle. This metric is of the utmost importance to
diagnose latency issues.
In an ideal world, that would be due to disk is saturated. In real life,
sometimes that happens due to the lack of a good CPU isolation (CPU
scheduler). When faced with high values here, one has to first determine if
this is a disk or CPU issue. At that point, the solution depends on the
scenario.
It might be just a non-issue if the workload is expected to be disk bound.
It could mean "get faster disks", or it could mean "lower your parallelism"
On Mon, Jul 3, 2017 at 3:15 PM, Tzach Livyatan<EMAIL_ADDRESS>wrote:

Looks good, but I have to admit I do not understand what does "blocked on
dirty" means, and what should I do with a high (or low) value.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/scylladb/scylla-grafana-monitoring/pull/191#issuecomment-312717111,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAUNva_VeFYxhnTScxQtNvxrWCi4drr0ks5sKT3MgaJpZM4OMlr5
.

Thanks for the detailed explanation.
We should somehow propagate the info to the dashboard itself.
There is a Description field we are not using.


v1.22.1 breaks VCR specs

webmock v1.22.1 breaks our VCR specs. Downgrading to v1.22.0 resolves the issue.
Failures:

  1) MorningCampaignCleanup#call should remove all existing lists from campaign
     Failure/Error: response = interactor.cleanup_old_campaign_lists(existing_lists)
     VCR::Errors::UnhandledHTTPRequestError:

       ================================================================================
       An HTTP request has been made that VCR does not know how to handle:
         GET https://some_user%40domain.net:some_password<EMAIL_ADDRESS>
       VCR is currently using the following cassette:
         - ~/Code/Domain/my_service/spec/fixtures/remove_lists_from_campaign.yml
         - :record => :once
         - :match_requests_on => [:method, :uri]

       Under the current configuration VCR can not find a suitable HTTP interaction
       to replay and is prevented from recording new requests. There are a few ways
       you can deal with this:

         * If you're surprised VCR is raising this error
           and want insight about how VCR attempted to handle the request,
           you can use the debug_logger configuration option to log more details [1].
         * You can use the :new_episodes record mode to allow VCR to
           record this new request to the existing cassette [2].
         * If you want VCR to ignore this request (and others like it), you can
           set an `ignore_request` callback [3].
         * The current record mode (:once) does not allow new requests to be recorded
           to a previously recorded cassette. You can delete the cassette file and re-run
           your tests to allow the cassette to be recorded with this request [4].
         * The cassette contains 2 HTTP interactions that have not been
           played back. If your request is non-deterministic, you may need to
           change your :match_requests_on cassette option to be more lenient
           or use a custom request matcher to allow it to match [5].

       [1] https://www.relishapp.com/vcr/vcr/v/2-9-3/docs/configuration/debug-logging
       [2] https://www.relishapp.com/vcr/vcr/v/2-9-3/docs/record-modes/new-episodes
       [3] https://www.relishapp.com/vcr/vcr/v/2-9-3/docs/configuration/ignore-request
       [4] https://www.relishapp.com/vcr/vcr/v/2-9-3/docs/record-modes/once
       [5] https://www.relishapp.com/vcr/vcr/v/2-9-3/docs/request-matching
       ================================================================================
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/vcr-2.9.3/lib/vcr/request_handler.rb:97:in `on_unhandled_request'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/vcr-2.9.3/lib/vcr/library_hooks/webmock.rb:112:in `on_unhandled_request'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/vcr-2.9.3/lib/vcr/request_handler.rb:24:in `handle'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/vcr-2.9.3/lib/vcr/library_hooks/webmock.rb:127:in `block in <module:WebMock>'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/webmock-1.22.1/lib/webmock/stub_registry.rb:28:in `call'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/webmock-1.22.1/lib/webmock/stub_registry.rb:28:in `block in register_global_stub'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/webmock-1.22.1/lib/webmock/request_pattern.rb:36:in `call'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/webmock-1.22.1/lib/webmock/request_pattern.rb:36:in `matches?'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/webmock-1.22.1/lib/webmock/stub_registry.rb:58:in `block in request_stub_for'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/webmock-1.22.1/lib/webmock/stub_registry.rb:57:in `each'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/webmock-1.22.1/lib/webmock/stub_registry.rb:57:in `detect'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/webmock-1.22.1/lib/webmock/stub_registry.rb:57:in `request_stub_for'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/webmock-1.22.1/lib/webmock/stub_registry.rb:50:in `response_for_request'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/webmock-1.22.1/lib/webmock/http_lib_adapters/net_http.rb:79:in `request'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/httpi-2.1.1/lib/httpi/adapter/net_http.rb:55:in `perform'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/httpi-2.1.1/lib/httpi/adapter/net_http.rb:42:in `block in request'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/httpi-2.1.1/lib/httpi/adapter/net_http.rb:68:in `call'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/httpi-2.1.1/lib/httpi/adapter/net_http.rb:68:in `block in do_request'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/webmock-1.22.1/lib/webmock/http_lib_adapters/net_http.rb:123:in `start_without_connect'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/webmock-1.22.1/lib/webmock/http_lib_adapters/net_http.rb:150:in `start'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/httpi-2.1.1/lib/httpi/adapter/net_http.rb:66:in `do_request'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/httpi-2.1.1/lib/httpi/adapter/net_http.rb:33:in `request'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/httpi-2.1.1/lib/httpi.rb:140:in `request'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/httpi-2.1.1/lib/httpi.rb:106:in `get'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/wasabi-3.3.1/lib/wasabi/resolver.rb:43:in `load_from_remote'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/wasabi-3.3.1/lib/wasabi/resolver.rb:33:in `resolve'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/wasabi-3.3.1/lib/wasabi/document.rb:142:in `xml'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/wasabi-3.3.1/lib/wasabi/document.rb:160:in `parse'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/wasabi-3.3.1/lib/wasabi/document.rb:147:in `parser'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/wasabi-3.3.1/lib/wasabi/document.rb:64:in `soap_actions'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/savon-2.5.1/lib/savon/operation.rb:21:in `ensure_exists!'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/savon-2.5.1/lib/savon/operation.rb:14:in `create'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/savon-2.5.1/lib/savon/client.rb:32:in `operation'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/savon-2.5.1/lib/savon/client.rb:36:in `call'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/five9_cws-0.2.0/lib/five9_cws/client.rb:33:in `make_call'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/five9_cws-0.2.0/lib/five9_cws/campaign_client.rb:50:in `remove_lists_from_campaign'
     # ./app/interactors/morning_campaign_cleanup.rb:153:in `block in cleanup_old_campaign_lists'
     # ./app/interactors/morning_campaign_cleanup.rb:152:in `each'
     # ./app/interactors/morning_campaign_cleanup.rb:152:in `cleanup_old_campaign_lists'
     # ./spec/interactors/morning_campaign_cleanup_spec.rb:50:in `block (4 levels) in <top (required)>'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/vcr-2.9.3/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/vcr-2.9.3/lib/vcr.rb:182:in `use_cassette'
     # ./spec/interactors/morning_campaign_cleanup_spec.rb:49:in `block (3 levels) in <top (required)>'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example.rb:206:in `instance_exec'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example.rb:206:in `block in run'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example.rb:430:in `block in with_around_and_singleton_context_hooks'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example.rb:388:in `block in with_around_example_hooks'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/hooks.rb:478:in `block in run'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/hooks.rb:618:in `block in run_around_example_hooks_for'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example.rb:273:in `call'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example.rb:273:in `call'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-rails-3.3.3/lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example.rb:378:in `instance_exec'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example.rb:378:in `instance_exec'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/hooks.rb:389:in `execute_with'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/hooks.rb:620:in `block (2 levels) in run_around_example_hooks_for'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example.rb:273:in `call'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example.rb:273:in `call'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/hooks.rb:621:in `run_around_example_hooks_for'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/hooks.rb:478:in `run'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example.rb:388:in `with_around_example_hooks'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example.rb:430:in `with_around_and_singleton_context_hooks'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example.rb:203:in `run'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example_group.rb:559:in `block in run_examples'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example_group.rb:555:in `map'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example_group.rb:555:in `run_examples'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example_group.rb:521:in `run'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example_group.rb:522:in `block in run'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example_group.rb:522:in `map'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/example_group.rb:522:in `run'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/runner.rb:115:in `block (3 levels) in run_specs'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/runner.rb:115:in `map'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/runner.rb:115:in `block (2 levels) in run_specs'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/configuration.rb:1627:in `with_suite_hooks'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/runner.rb:114:in `block in run_specs'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/reporter.rb:77:in `report'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/runner.rb:113:in `run_specs'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/runner.rb:89:in `run'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/runner.rb:73:in `run'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/lib/rspec/core/runner.rb:41:in `invoke'
     # ~/.rvm/gems/ruby-2.1.2@my_service/gems/rspec-core-3.3.2/exe/rspec:4:in `<main>'

Thanks for submitting this issue!
So if 1.22.1 doesn't work for you, 1.22.0 shouldn't either.
Because 1.22.0 was actually a bad release we pulled, on account we required a rack/utils, when "rack" isn't part of our dependencies.
The change is very small and you can see if here
https://github.com/bblimke/webmock/commit/b18b029ab9e4f9556cae590c1cb72beee54ae853
Are you sure 1.22.0 works for you, or do you mean 1.21?
If you are indeed using 1.22.0, it has to have something with requiring
rack/utils.  If you could include a small example reproducing this bug I could take a closer look, and try and find out if it is an issue on our end.

You are correct. I mis-typed it. I'm not using v1.22.0. I'm using v1.21.0.

Ok, that makes a lot more sense, but I am still not sure where it could be!
But from looking through the Changelog
I am guessing it has to do with one of the following changes:
This one is specific to Net HTTP, which it looks like Httpi is using from the Stacktrace.
https://github.com/bblimke/webmock/commit/8a6f58e7b9fda7b72d15b55fcc5d95554492576b
This is around converting boolean's to strings, and I see you have true at the end of your URL
https://github.com/bblimke/webmock/commit/edb2245ba76974cecb07a2bff0923721e40ca131
Maybe you could Git Bisect to triagulate the commit that broke your spec.
Or with failing spec I can dig in and take a harder look.

I can see &wsdl=true in the url. Any change your Faraday was upgraded together with WebMock and it's this issue? https://github.com/lostisland/faraday/issues/536

I also have this problem moving from 1.21 to 1.22.1 - in our case we are issuing a request http://devstack.openstack.stack:35357/v3/projects/7720c2b0486e4b4e8f98605f1a3a2174?subtree_as_ids and webmock is adding =true to the end.

@dhague has any other gem been upgraded together with WebMock? Faraday perhaps?

No - the only differences between the working and non-working Gemfile.lock files are webmock (1.21.0 to 1.22.1) and hashdiff (non-existent to 0.2.2)

What http client do you use?

We use Excon and VCR in this case - you can see the full stack trace of a failure here: https://travis-ci.org/dhague/fog/jobs/87058862#L343

@davidbegin has anything been changed in 1.22.1 that't adding 'true' value to params with no value?

@bblimke I think it might have something to do with this commit
https://github.com/bblimke/webmock/commit/edb2245ba76974cecb07a2bff0923721e40ca131
I'll try and write up a spec to isolate this change in behavior tonight.

This is the commit that that triggered this change in behavior https://github.com/bblimke/webmock/commit/edb2245ba76974cecb07a2bff0923721e40ca131

The real issue was transforming nil into true, before converting params to string query params here: https://github.com/bblimke/webmock/blob/master/lib/webmock/util/query_mapper.rb#L81-L85
I'm still exploring why this logic was originally put in place.

I opened a Pull Request with my first attempt at fixing the issue here https://github.com/bblimke/webmock/pull/538

The @davidbegin 's fix is now released as 1.22.2

Confirmed that v1.22.2 works. Thanks!


Revert "Bumped minor version from 1.4.0 to 1.5.0 on master, updated License file"

Reverts apache/incubator-mxnet#13478
#13478 brought in some non-related code change including those changes in #13503 and would cause build issue of MXNet.
@srochel Feel free to submit new PR for your changes.

Don't look at the commits but just the files changes. GitHub sometimes bugs out with the commit list for reverts. Alternatively, you can do a revert using the console.

Thank you @marcoabreu . A little scared by Github. The code change looks good to me. So I think it's safe to merge.


Support publishing to registry with an importmap

It might be useful for people to publish to the registry with the import map unfurled.
For example, say the module has an import map like so:
{
   "imports": {
      "fmt/"<EMAIL_ADDRESS>   }
}

And a TypeScript file like so:
import { red } from "fmt/colors.ts";

console.log(red("hello world"));

The user would be able to somehow specify "here's the import map to use for my module" to the registry (edit: nowadays, probably automatically resolved from deno.json/jsonc or perhaps this could be a GH action build step) and it would be published to the registry as:
import { red } from<EMAIL_ADDRESS>
console.log(red("hello world"));

Does this mean that every **/*.{ts,tsx,js,tsx} file located in repo is going to be transformed?
Corner case
Suppose me creating something like framework that is going to have a project init script. This script is going to copy some *.ts files which actually use entries from import map, that is also going to be copied during user project creation.
This means that in that particular case only a subset of **/*.{ts,tsx,js,jsx} files should be transformed. How is this going to be handled?

Would it rather make sense to provide an unfurling script?

Would it rather make sense to provide an unfurling script?

@aapoalas Yes, I think ideally it would be a separate script that runs as part of a GitHub action step. This allows people to give the registry the exact code they want it to serve.

Suppose me creating something like framework that is going to have a project init script. This script is going to copy some *.ts files which actually use entries from import map, that is also going to be copied during user project creation.
This means that in that particular case only a subset of **/*.{ts,tsx,js,jsx} files should be transformed. How is this going to be handled?

@albnnc normally for project init scripts people don't copy over straight files, but instead things are generated because there will be some conditionals. So generally, people would do a straight copy of a file to another file. That said, there would be ways around this such as using the github action with this setting turned off, saving the template file with another extension, or using different import map entries in the module compared to the user's import map.

I'm wondering if the solution here may also apply to the following:
Let's say that a given lib contains an example/a.ts.
It would be nice for potential users to be able to interact with this example without needing to clone the project. Aka.
deno run -A https://deno.land/x/<the-project>/examples/a.ts

If, however, examples/a.ts uses an import-mapped specifier, then the potential user must also specify the import map.
deno run -A https://deno.land/x/<the-project>/examples/a.ts \
  --import-map=https://deno.land/x/<the-project>/import_map.json

This is unfortunate. Any ideas on how to enable the first, simpler example run command?


file not found

when running ionic start supermodular2 tutorial --v2 --ts
throws error:  Not found: https://github.com/driftyco/ionic-starter-tutorial/archive/master.zip (404)

There is no reason to start the app with the command you are mentioning npm install and ionic server are the only commands you need (once you have first checked out this repository)


Please explain "redeploy" v 5.0.7

Hello,
the changelog for v 5.0.7 says "Redeploy all nodes after upgrade"
Sorry to appear dumb, but what does this mean exactly?  Something other than renewing the cookie?
Thanks
B.

Hi, in Node-Red top right corner in the menu you can redeploy (that's basically a reload and reinit) flows/nodes.

Duh!  I'd complete disassociated your use of the word with the literal button and its "full" dropdown.
What a twit!
Many thanks indeed!
B.

No worries, happy to help.


Ssh docs/examples , PR template update

Minor update in local dev documentation and usage update in hack/ssh-agent.sh. Provide more detail on how hack/agent.ssh works.
The parameter for the hack/ssh-agent.sh is not the name of the node, but the name of the NIC on the node as shown here ssh-agent.sh.
For reasons unknown to me at this time:

master nodes are created with pattern Resourcegroup-Purpose-Number and master NICs are created and bound to nodes with the pattern Resourcegroup-PurposeNumber
worker nodes are created with pattern Resourcegroup-Purpose-RandID and worker NICs follow the pattern Resourcegroup-Purpose-RandID

Given that information, to connect to masters you provide the arg master[0-2], and to connect to workers you can provide the full worker name,  the location+number, or just the unique worker hash as described in my docs update.

/azp run ci


Polish

@benparsons more polish/tweaks :)

Ah sorry, this PR was pointing to the wrong repo. Apologies!

Please push to the right repository 😛


[Feature] Global Modules

Is your feature request related to a problem? Please describe.
Yes, the current issue revolves around the need for a centralized instance of certain providers within our Shadow application. For instance, packages like Ajv require a single instance to ensure consistency and avoid conflicts. However, in our current setup, each module tends to create its own instance of such packages, leading to redundancy and potential inconsistencies.
Describe the solution you'd like
I propose creating a global module within the Shadow application package. This module will serve as a centralized provider for instances of critical packages like Ajv. By implementing these instances at a global level, we ensure that all modules can access and utilize the same instance, promoting consistency and reducing overhead.
Describe alternatives you've considered
An alternative approach would be to continue creating package instances within each module as needed. However, this method leads to redundancy and increases the risk of inconsistent implementations across modules, especially for critical packages like Ajv.
Additional context
Nothing else

completed in #61


Update expressive-theme.mdx

Updated a typo and tense correction under Type tokens category
Made sure we were consistent in how we reference 14px and 16px, ie no space between 14 px
Related Ticket(s)
{{Provide url(s) to the related ticket(s) that this pull request addresses}}
Description
{{Add a human-readable description / detail summary of what the PR is changing and any details around how and why}}
{{If applicable, include a screenshot indicating an example or examples of what the PR is changing in the application}}
Changelog
New

{{new thing}}

Changed

{{changed thing}}

Removed

{{removed thing}}

@oliviaflory Is there a preview link for the review?

@JennySanchez I'm not sure? I thought it would create one when I made the text edits. You can see the changes in the Files changed tab on GitHub (I'm not sure where to see it on ZenHub)


Add 'deleted' flag to trips

Trips should not be allowed to be deleted.  They should have a flag called 'deleted' that is true/false for visibility, since they contain financial data.  Create a view for showing opportunity cost, or deleted trips.

Flag created.


Double -d options in readme

Both depth/directories both say they have the shortcut of -d but alder -d 3 returns this error:
fs.js:951
  return binding.readdir(pathModule._makeLong(path), options.encoding);
                 ^

Error: ENOENT: no such file or directory, scandir '${pwd}/3'
   ...

It doesn't actually return the string ${pwd} but it does return the current directory/3

Suggested fix here: https://github.com/aweary/alder/pull/8


Feature Request:  Can we make filter_add like filter ?

Feature Idea
can we make filter_add like filter ?
Relevant Input

Relevant Output
No response
Reproducible Example/Pseudo Code
No response

@ddsjoberg is this one possible for us?

We can! We'd just need to capture the input as an quosure, and pass it to dplyr::filter() and rely on it for the error messaging.
We can still supplement the error message with admiral context using a variation on the code below:
testing_filter <- function(data, filter_expr) {
  filter_expr <- rlang::enquo(filter_expr)

  tryCatch(
    dplyr::filter(data, !!filter_expr),
    error = \(e) {
      cli::cli_abort(
        c("There was an error in {.arg filter_expr}. See messaging below:",
           x = conditionMessage(e))
      )
    }
  )
}

testing_filter(mtcars, filter_expr = not_a_proper_filter_condition)
#> Error in `value[[3L]]()`:
#> ! There was an error in `filter_expr`. See messaging below:
#> ✖ ℹ In argument: `not_a_proper_filter_condition`. Caused by error: ! object
#>   'not_a_proper_filter_condition' not found

Created on 2024-05-31 with reprex v2.1.0

@bundfussr @zdz2101 @millerg23 @kaz462 @sadchla-codes phase 2 of error messaging?

@bundfussr @zdz2101 @millerg23 @kaz462 @sadchla-codes phase 2 of error messaging?

count me in!

That's definitely something we should improve. We could implement an apply_filter() function (similar to process_set_values_to()) which applies the filter, catches errors, and reissues the error message with references to the arguments/objects the user has specified.
We should also check if we have other cases where we pass user input to dplyr functions and need to catch errors.

I think we can't catch the "unexpected '=' in" error because it is issued when the call is parsed. I.e., the function is not called if it occurs.


Fixed minor bug not setting/showing entered the BusyText correctly

We found a minor issue that the entered busy text is not shown in the sample. So we fixed it.

Duplicate to #66


Rewrite DynamicDependencies tests using TAEF

DynamicDependencies' tests are written using VS' CppUnitTestsFramework. That provides a subset of TAEF's functionality (no surprise as it was inspired by and derivative of TAEF) and has other limitations, e.g. doesn't support ARM64.

Completed


[Authorize] [Antiforgery] and SPA

Hello,
Is there any good solution to make [Authorize] [Antiforgery] and SPA work together ?
There is a bunch of article and people with that error:
" the provided anti-forgery token was meant for a different claims-based user than the current user"
Could anyone from .net support could tell how to do it correctly ?
BR

@patsadow2 can you show more info about your scenarios? Does your app redirect to a plain HTML page after logging in?

I use
app.UseAuthentication();
app.Use(next => context =>
{
   var tokens = antiforgery.GetAndStoreTokens(context);
   context.Response.Cookies.Append("X-XSRF-TOKEN", tokens.RequestToken, new CookieOptions() { HttpOnly = false, SameSite = SameSiteMode.Strict });
});

And after login the first request in redirected page doesn't replay correctly. After redirect to another page it validate it.


How does this compare to the export to markdown option in Notion?

It's a simple javascript module that lets you convert notion pages/blocks/block to markdown programmatically. Why programatically? There are many use cases one being people using Notion as their CMS and moving things from notion to other place like Blogs / Exports / Websites. They can use this package in their workflow (one time setup) and use their notion content directly on the above mentioned sites.
One of the distinct feature is that it allows you to add custom markdown syntax for a specific block.
Also since notion API doesn't provide any way to do so, this is more like an addon to notion sdk.
I personally built it to streamline the workflow of my blog, I just need to write the content and I have a script running this package that check everyday for new content and converts it to MD and sends it to my HUGO site.
I hope this answers your question

@souvikinator thanks for the clarification. I was wondering, does it handle databases?


fix(android): metadata could not be loaded because context was not ready yet

The commit f1ddf70 changed the way as metaData initializes, but this.context is not ready to be used until load() is called, which MetaData always fails when initializing

Your point is correct. Thanks for the great job.

Released by v6.4.3!


Handling Transaction Timeout

Changes:

When a query is sent in a transaction and an SQLNonTransient Exception occurs then error message is checked for Not In Transaction Error. If that is the case than transaction object to set to null.
Removing duplicate code for rollback and commit by calling the methods.

@enisoc - Check the PR and let us know if this can be handled any better.

Review status: 1 of 4 files reviewed at latest revision, 3 unresolved discussions, some commit checks broke.

java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessStatement.java, line 543 [r1] (raw file):
Previously, enisoc-bot (Anthony Yeh) wrote…
> Rather than parsing the string, we should define a mapping to another exception class. I'm proposing to add this here: https://github.com/youtube/vitess/pull/1971

Once your changes are merged. I will update it.

Comments from Reviewable

Review status: 0 of 4 files reviewed at latest revision, 3 unresolved discussions.

java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessConnection.java, line 117 [r1] (raw file):

checkAutoCommit
Transaction only exists when auto commit is false. So checkAutoCommit() will pass.

java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessConnection.java, line 169 [r1] (raw file):
Previously, enisoc-bot (Anthony Yeh) wrote…
> Similar to above for `commit()`, `rollback()` does an additional `checkAutoCommit()` that I don't think is right for this use case.

Same applies here.

java/jdbc/src/main/java/com/flipkart/vitess/jdbc/VitessStatement.java, line 543 [r1] (raw file):
Previously, enisoc-bot (Anthony Yeh) wrote…
> The new exception mapping is merged now.

Done.

Comments from Reviewable

LGTM


Most feeds not working

I imported an OPML file with 18 feeds. The app is only capable of showing articles from 1 feed.
Here is my OPML file: https://ufile.io/gueervzh

Thanks. I see that the file gets imported but the imported URLs don't pick up the articles. I'll look into when time permits.


Pre-installation question, requirements

Hello,
I'm just getting started using this lovely tool and was a bit confused. Do I have to deploy kubevirt separatly or does this tool include it? I tried to look all over the github and the website but could not see it mentioned.

You need to have Kubevirt pre-installed as well as CDI.

For kubevirt: https://kubevirt.io/user-guide/cluster_admin/installation/#installing-kubevirt-on-kubernetes
For CDI: https://kubevirt.io/user-guide/storage/containerized_data_importer/#install-cdi
If you plan to use Cluster API: https://cluster-api.sigs.k8s.io/user/quick-start.html?highlight=kubevirt

Remember, your Kubevirt installation and CDI installation should follow these requirements:


Need help with code coverage when using Jest to test Angular app

Issue

I tried to use Jest to test Angular app but the code coverage shows branch not covered for dependency injection in constructor. This issue is fixed if using Karma + Jasmine with Angular CLI. I hope someone can help me to point out what goes wrong, either in ts-jest or Jest

Expected behavior
Code coverage should show correctly

Output from your debug log
N.A

Link to a minimal repo that reproduces this issue
https://github.com/AhnpGit/coverage-issue-jest
Run yarn coverage and check coverage of app.component.ts. It shows yellow on dependency injection in constructor

cc @kulshekhar

@AhnpGit I'll try to take a look at this after work today

@AhnpGit I tested this and saw the issue you've stated. However, I'm not sure what the cause of this is.
Also, while I use angular and I use ts-jest, I don't use ts-jest with angular so I'm not very familiar with the preset.
As ts-jest doesn't handle coverage at all (it's handled in jest), I'm not sure there's anything that can be done here to fix this.

The preset was created by @thymikee and he refused ts-jest in the precessor. Probably I need to debug jest coverage. Btw, is the runner jest-runner-tsc does the same thing as ts-jest ?

@AhnpGit can you test this with Jest master? We recently merged this: https://github.com/facebook/jest/pull/5692

Sure i'll check. I saw that change in master yesterday but I didn't understand quite well what it can help

Ah, forgot we use TS for JS files too, so that shouldn't change anything.

I suppose I need to debug jest coverage then :)

@kulshekhar I just found out something suspicious about Angular itself. If I write test for a normal ts file, coverage is always correct no matter how many things I define in the constructor of the ts class. However, when adding Angular decorator @Component, the coverage immediately goes wrong on the constructor. Do you think this might cause by TypeScript decorator or Angular itself ?

@AhnpGit I'm not 100% certain but there's a good chance that Angular's DI is causing this

@kulshekhar you were right. I found out indeed it was caused by Angular DI. DI uses TypeScript feature emitDecoratorMetadata. This option will let TypeScript compiler generates .js file which has something like
 __metadata("design:paramtypes", [TestService_1.TestService]) (TestService is my DI service). I still don't know what should be the proper fix, but I guess something for Jest I assume. @thymikee do you think so ?

@AhnpGit can you check whether v22.4.4 fixes this for you?

@kulshekhar it seems to not working for me

Have you also set the ignore decorator flags? You can view them either in the readme or the changed files inside PR #488

Yes I tried, but none of them works for decorators which are created by Angular.

@ahnpnl lemme know if 23.10 doesn't fix this ;-)

I'm experiencing the same issue

<EMAIL_ADDRESS>ts-jest "23.10.0-beta.6",

@danil-z 23.10.3 is out, use it instead it should fix your issue

Still experiencing the same with ts-jest 23.10.3 and jest 23.6.0. Cleared the cache before running the tests.

@blackholegalaxy please provide a minimal repo to reproduce and, since this issue is old and not opened by you, explain the exact problem which you personally have in this repo ;-)

@huafu

package.json
"jest": {
        "moduleFileExtensions": [
            "js",
            "json",
            "ts"
        ],
        "testEnvironment": "node",
        "setupTestFrameworkScriptFile": "<rootDir>/__tests__/setup.js",
        "testMatch": [
            "**/__tests__/**/*(spec|test).ts",
            "**/?(*.)+(spec|test).ts"
        ],
        "transform": {
            "^.+\\.tsx?": "ts-jest"
        },
        "preset": "ts-jest/presets/js-with-ts",
        "testEnvironmentOptions": {},
        "collectCoverage": true,
        "collectCoverageFrom": [
            "app/services/**/*.ts"
        ],
        "testPathIgnorePatterns": [
            "/node_modules/",
            "dist/"
        ],
        "coverageDirectory": "<rootDir>/__tests__/__coverage__",
        "moduleNameMapper": {
            "^@middlewares(.*)$": "<rootDir>/app/middlewares$1",
            "^@enums(.*)$": "<rootDir>/app/enums$1",
            "^@services(.*)$": "<rootDir>/app/services$1",
            "^@common(.*)$": "<rootDir>/app/common$1",
            "^@root(.*)$": "<rootDir>/app$1",
            "^@package$": "<rootDir>/package.json"
        },
        "globals": {
            "ts-jest": {
                "tsConfig": "./__tests__/tsconfig.test.json"
            }
        }
    }

test.tsconfig.json
"inlineSourceMap": true,
"lib": [
            "es2017"
        ],
        "target": "es2017",

problem remains, can be reproduced on any sample project with angular
Any example from angular site, just inject router to component and make trivial test

here is repo to reproduce
https://github.com/danil-z/covjest


Add styles for tables

I think that as a boilerplate/framework, Skeleton should style tables as well, possibly the same way blueprint does it, with different colors for each rows.

+1

Wouldn't be too hard to add either. May take a crack at it.

I took a shot at this, borrowing from Bootstrap. Check out my demo and let me know what you think.

I like what you did, but I'd also like to have the option to have different colors on each row, I think it makes the table data much more readable.

I added zebra striped row styling to the demo. Again cloned from Bootstrap. :)

Congratulations dstotijn, like it, it's rock ;)

Awesome, thanks a lot ;)

For possible future reference, I've put this here: https://github.com/dstotijn/Skeleton-tables

Hey fellas -
I appreciate the suggestions and think the tables would certainly be great, but I designed Skeleton to be lightweight and only have the absolute bare bone basics. I rarely use tables and don't want to include more components (if anything, I want to slim it down more). Skeleton was never meant to be robust, but I whole heartedly encourage anyone to use the fork with the tables!
Thanks for your understanding, but hit me up if there is more concern or questions on the issue.


It is not installing on wsl windows 11

Operating system and version:
windows 11
nvm debug output:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:09 --:--:--     0curl: (6) Could not resolve host: raw.githubusercontent.com

nvm ls output:

How did you install nvm?
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash

What steps did you perform?
I installed wsl and then ran the command
What happened?
It didn't resolve
What did you expect to happen?
for it to install, instead it threw
(6) Could not resolve host: raw.githubusercontent.com

This message implies your computer can’t connect to github - this isn’t something nvm can fix.
Are you located in a country or workplace that’s hostile to the internet? Theres not much to do about these kinds of network conditions besides relocating, either physically or using a vpn.

I'm on a solid internet connection,
some people said they were able to solve it by switching to wsl 1
and that it might be anti virus related,
I'm on a brand new computer that I'm trying to create back up image after I situating my environment.
I was hoping to find more permanent solution.

Interesting! I wouldn’t expect problems in that env. WSL1 isn’t fully posix compliant, i believe, so I’d suggest sticking to wsl2.
You could try investigating dns, and ipv6 settings, and see what things you can reach from windows but not wsl?

I can ping <IP_ADDRESS> although I can't ping google.com

Wow, thanks! Any chance you’d want to PR this into the troubleshooting section of the readme?

do you happen to know why my PR failed the eslint test?

Not yet, and no, it's not :-) I'll figure it out when landing it. Thanks!


[Tabs] Scroll buttons showed when content of the tab became smaller

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
Scroll buttons appears when content of the tab becames smaller.
Expected Behavior 🤔
No scroll buttons.
Steps to Reproduce 🕹
https://codesandbox.io/s/material-ui-issue-forked-c81o8?file=/src/Demo.js

Steps:

Click on "Change content" button two times.

Context 🔦
I have a panel with tabs with dynamic content (name + additional information). Additional infromation dynamicly changes according to what user inputs.
Your Environment 🌎

Tech
Version

Material-UI
v4.1.1 (also in v5.0.0-alpha.17)

React
17.0.1, 16.13.1

Browser
Checked in Chrome 87.0.4280.66 and Firefox 83.0

@bukerok I can't reproduce, what do you see?

Chrome 87 macOS/Windows10

It is very strange, because it reproduced on my machine, and all of my colleagues. Also tabs that you showed behave a bit strange it width fits content. I reproduced this behavior on a sreen wider than 600px (when @media (min-width: 600px) applied it begins to reproduce).

No differences 🤔

Is it possible for you to check on another machine or something, because it is reproduced on all machines available to me (colleagues PCs and Mac and iPad)?

@mnajdova Considering you are on PC, it could be worth having a look.

I can repro it

Will debug what could be the issue and post my findings here

I wasn't able to repro it on our docs, with the current next. One thing I noticed on the codensadbox is that if I remove the inline style on the div it resolves the issue. @bukerok can you please try this codesandbox - https://codesandbox.io/s/material-ui-issue-forked-2zhjp?file=/src/Demo.js

Yes, it isn't reproduced on your example, but the problem is that is reproduced when there is display: flex or Tabs has display: inline-flex style specified.

Yes, it isn't reproduced on your example, but the problem is that is reproduced when there is display: flex or Tabs has display: inline-flex style specified.

If you have display: flex on the container I would suggest adding some min-width on the Tabs, to avoid this issue. For some reason when the content changes (and with that the width) the scrolls are showing. Also, I could not always reproduce (at least not on latest next), so it's bit hard to debug


Support for uneven whitespace around '=' sign for entries

Fixes #10
Pretty straight forwards, now it no longer breaks when you have some extra space around equal sign.
Ideally we should be able to pass in our own Patterns.

@microsoft-github-policy-service agree

@fla-t please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree

@dalemyers btw, why ins't the test CI running?

@dalemyers btw, why isn't the test CI running?

It was an issue I noticed a few days ago. I fixed it, but it only seems to work on new PRs.

Published in v3.0.0 (there was a major version bump due to changing Python support versions).

Thanks