OCPBUGS-19757: bump controller iam policy to v2.4.7

Significant changes were required in iamctl to be able to support:

multiple resources from AWS statements (CredentialsRequest has a single resource API)
conditions from AWS statements

The controller's CredentialsRequest is not minified anymore so that the role created in ROSA e2e using ccoctl would be as similar as possible to the upstream. The bug was not caught by the CI mostly because of the minification which granted more rights than the upstream requires. However the minified version is still necessary for a non-STS cluster due to the AWS limitation of the length of the inline policies (2048 chars).

/test e2e-aws-rosa-operator

/jira refresh

/test e2e-aws-operator

/test e2e-aws-proxy-operator

/assign @thejasn

/lgtm

/test e2e-aws-rosa-operator

/lgtm

I just had a clarifying question, but thanks for the very detailed description. It took me couple of re-reads, but I think I understand your motiviation.
/approve


Save submitted json files in case of warning messages

Resolves #761

Behavior introduced by #762

If you submit a reform and it throws warnings but not errors, you can simply click the submit calculation button to submit the reform without having to upload the file again.
If you submit a reform and it throws warnings but not errors and you upload a new reform file, assumption file, or both new files; your interaction has started over.  Thus, if your new files cause warnings but not errors, then you will have to click the submit calculation button again.
As long as your reforms cause errors, you will not be able to submit the file for calculation.

cc @MattHJensen @GoFroggyRun

PR #762 is on the test app.  I encourage you to play with the new reform file upload logic.  I'd appreciate any feedback.
Some instructions will probably need to be added.  Probably something along the lines of:

Upload file and submit reform.
If you get warnings but no errors, click submit reform to run the model. If you re-upload a new file (even if it is the exact same one), then you have started the process over.  [Note: we could check to see if an uploaded file is the same as the previous uploaded file. But this seems like an unnecessary head ache.  Why upload the exact same file again?]
If you get warnings and errors, you will need to upload a new file.  Once you upload the new file, you have started the process over i.e. if your edited file fixes the errors but causes the same warnings you must still submit the file twice.

Potential file upload button instruction  enhancement:
Currently, the buttons and descriptions look like this:

Upon submitting the file once and seeing the warnings, should this be changed to:
"Select a new file if you have made changes. Otherwise click 'Submit Reform'"
cc @MattHJensen @GoFroggyRun @martinholmer

@hdoupe,  Thanks for all the improvement in #762.
If it is easy to do, I'd suggest a small wording change.
If not easy to do, forget the suggestion.

Currently, the buttons and descriptions look like this:

How about instead of "Select a reform file" we say "Select a policy reform file"?
A minor change, but it balances the use of an adjective in "Select an economic assumptions file".

@martinholmer said

How about instead of "Select a reform file" we say "Select a policy reform file"?
A minor change, but it balances the use of an adjective in "Select an economic assumptions file".

That makes sense to me. I'll make that change.

I plan to merge #762 this afternoon if there are not any objections.  As a reminder, #762 along with #767 are on the test app right now.


node candidates are extraordinarily large

Hello!
When I run the code with the data-set boxing , it failed with:
surfelwarp/common/DeviceBufferArray.h:90: The pre-allocated buffer is not enough
(m_surfel_candidate_pixel size = 72748  >  m_surfel_vertex_confid buffer = 50000 )
I think it is not the Buffer size thing，but the algorithm or hardware. Because this is size of nodes not surfels. And 72748 nodes are extraordinarily large.
Further more, when I set the kMaxNumSurfelCandidates = 80000; it failed with:
core/geometry/WarpFieldUpdater.cpp:21: **Nan in node candidate**
——————————————————————————————
this too many nodes happened after the
surfelwarp_app/main.cpp:40: The 0th Frame
then : fusion.ProcessNextFrameWithReinit(offline_rendering)
then: m_live_geometry_updater->ProcessFusionStreamed(num_remaining_surfel, num_appended_surfel);

and then, I found that in
surfelwarp::SurfelFusionHandler::processFusionAppendAtomic()
it calculates the wrong result：
the m_atomic_appended_pixel_index was set to 72748
then I uncomment the check code at:
core/geometry/SurfelFusionHandler.cpp:91:
void surfelwarp::SurfelFusionHandler::ProcessFusion(cudaStream_t stream) {
	//Debug check
	SURFELWARP_CHECK(!containsNaN(m_fusion_geometry.live_vertex_confid.ArrayView()));

and I got this Error:
Check failed: !containsNaN(m_fusion_geometry.live_vertex_confid.ArrayView())
so I checked back, and found in file
core/geometry/SurfelNodeDeformer.cu:   the function : device::forwardWarpVertexAndNodeKernel<<<grid, blk, 0, stream>>>(
set the live_vertex(which point to the live_vertex_confid)  from float values to nan.
At last, I found that the parameter node_se3 that passed in is all nan!
could you or any one please help me find out where is wrong?

Sorry for my delayed reply as the notification email from github were filtered.
I've re-run the boxing sequence on my machine with the default config, and it works well. Did you modify the configuration file? If so, please send a copy to my email and I will have a try.
If you are using the default config, could you make sure you have compiled the project with the correct cuda arch flag? What's GPU are you using?

Thanks for your reply.
I didn't change anything. I'm testing on GTX 670(2G) with arch set to 30 which is according to the official website。
I think this is caused by the memory allocation.
I have allocated the error:
when the program processes at function：
fusion.ProcessNextFrameWithReinit(offline_rendering);  （the 0 frame）
the following step in this function goes wrong：
m_image_processor->ProcessFrameStreamed(observation, m_frame_idx); (/surfelwarp/core/SurfelWarpSerial.cpp )
in the right circumstance, it will set the value of  m_warp_field->SolverAccess() ->node_se3 to something like [[0,0,0,1]...]
but if it goes wrong , the value  will be random value.

1.if the number of downsampled valid surfels from the 0th img is bigger than 65000, this error usually happens, but 2G ram is enough, because when it goes well, the ram consumption is around 1.5G.
further, as the program goes on in the right scenario, the surfels can up to 150000,  and it still goes well.

I'm little bit confused: Is that the problem happens when the number of downsampled valid surfels from the 0th img is bigger than 65000?
If the problem is related to the initialization of warp field, can you check the output of this line to see whether the m_warp_field is set to some random value.
Sorry but I don't have a GPU similar to yours and cannot reproduce the problem by myself.

No, If this happened, the code just stoped.
But if I some how change the input images to just let the valid surfels from the 0th img smaller than 65000, your code gose well.
I have debug the code, it just happened at here. It seems all things goes well before this funcion. but this function set the value of m_warp_field->SolverAccess() ->node_se3 form  [[0,0,0,1]...] to random values.
————————————————
by the way, I have another question.
I found this code didn't display anything, could I ger ride of the opengl？ so I can test the code on my server which has much better GPU card.
my server doesn't have any display device. So I can only use softwares like X server to test.  I have tried many many methods, but still get the GL version limited to 3.0.
Why your code needs at least GL version 4.5, could I avoid this？

It is strange because the code you mentioned doesn’t do anything to warp field. If the problem is with warp field, the bug should be located in ProcessFirstFrame instead of ProcessNextFrameWithInit.
OpenGL is used to render the index map and solver/fusion maps, which are quite essential to the pipeline. Thus, I don’t think it is easy to get rid of OpenGL.
There is a big change in OpenGL 3.3 (if I remember it correctly) where the programmer can access lower-level APIs. OpenGL 4.5 is not strict, but I think the GL version should be above 3.3

To be honest I'm not a expert on GPU server and not able to help. I'm afraid the setup effort is not trivial.
I took a look at EGL. That seems to be a completely different setup of graphic API, which requires at least re-write the core/render module, which is a huge amount of work (and I don't know would it work with CUDA).

It's a bad news...  T_T
I'll try other ways...
Anyway, thank you.

No, If this happened, the code just stoped.
But if I some how change the input images to just let the valid surfels from the 0th img smaller than 65000, your code gose well.
I have debug the code, it just happened at here. It seems all things goes well before this funcion. but this function set the value of m_warp_field->SolverAccess() ->node_se3 form [[0,0,0,1]...] to random values.
————————————————
by the way, I have another question.
I found this code didn't display anything, could I ger ride of the opengl？ so I can test the code on my server which has much better GPU card.
my server doesn't have any display device. So I can only use softwares like X server to test. I have tried many many methods, but still get the GL version limited to 3.0.
Why your code needs at least GL version 4.5, could I avoid this？

I had the same problem, "The pre-allocated buffer is not enough", Have you solved it yet? How did you solve it?

@weigao95 @AzureSilent I had the same problem, when I set the kMaxNumSurfelCandidates = 100000 ， it fails with "Nan in node candidate", Have you solved it yet? How did you solve it? My system if ubuntu 18.04 cuda10.0 GTX970.
plsease help me ,thanks！


It's just thank you

I just wanted to thank you for writing such a wonderful plugin that really works, in fact this is so cool that it doesn't interfere with autocomplete and needless to say this was one of the reasons I ditched nvim-autopairs. Thanks a lot.

perhaps a feature suggestion is the ability to wrap. But it's just a suggestion

Thanks for your support and suggestion. I will try to improve this plugin and add the ability to wrap.


Set-Up Onboarding User Flow

Problem
Current onboarding flow is a template and we need to make it tailored to our project.
Solution
Reformat/tailor the onboarding flow to our needs.
Ex.

Take out cardinal kit references
Use language tailored to our project

Additional context
No response
Code of Conduct

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

@BKrajancich finished this!


During handling of the above exception. Another exception occured

Does anyone know what is the cause of this?
My system environment：Ubuntu_16.04_X86_64; nvidia dirver version:v384.66 nvcc_version:v8.0 cuDNN:6.0 .
I dont know why.
Thank you before

The first exception describes itself as the process having run out of memory - this would be your root problem. Often everything else being dealt with after running out of memory is just trying to land a plane that is on fire.

This question is better asked on  StackOverflow since it is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!

@quaeler @jart  ok，thank you. But I'm running with 8G of RAM maximum use 2G.And then it ends. I processed the file 15M。Whether the TensorFlow itself causes an exception to be thrown

@sdlmw This user also ran into your same issue: https://github.com/tensorflow/tensorflow/issues/10826
Perhaps reach out to them for assistance?

Finally I found out that the graphics card memory is low. thanks @quaeler @jart


replaced "artix_small" ASCII

Description
much better ASCII, looks more like "arcolinux_small"
before: (looks ridiculous, yes it's small but its nothing like the big one)

now: (so much better, more like the big one)

Thank you for your contribution!
This PR is merged into hyfetch since this repo (dylanaraps/neofetch) seems no longer maintained.
HyFetch is a fork of neofetch with LGBTQ pride flags, but the repo also maintains an updated version of the original neofetch, addressing many pull requests that are not merged in the original repo.
Read the "Running Updated Original Neofetch" section for more info!


Use "operating system" to describe Windows 7 instead of "flavour"

@paulkel,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@paulkel : Thanks for your contribution to the Azure documentation! The author, @ponatara, has been notified to review your proposed change.

@ponatara. Please sign off on this PR. To do that type "#sign-off"

#sign-off

#sign-off

Thanks!
From: Poornima Natarajan<EMAIL_ADDRESS>Sent: Monday, October 30, 2017 4:20 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Rayne Wiselman<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Use "operating system" to describe Windows 7 instead of "flavour" (#2925)
#sign-off
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F2925%23issuecomment-340458237&data=02|01|raynew%40microsoft.com|2941100a4fa64e258d3408d51fa15c51|72f988bf86f141af91ab2d7cd011db47|1|0|636449700259508200&sdata=hK77BdnZU3H%2B4LHPZq%2BZf%2Fals7XabJO6uFnlu7Hiqiw%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD2-iNm6mCSymW-Sj7JNyWo4B110YGz5ks5sxdsngaJpZM4PG4Nr&data=02|01|raynew%40microsoft.com|2941100a4fa64e258d3408d51fa15c51|72f988bf86f141af91ab2d7cd011db47|1|0|636449700259508200&sdata=XCKqPN0Oip17PAftzpgCyAtOVLgjA2y%2B%2FIwIIjuO1Vk%3D&reserved=0.

Thanks


[multistage] engine cleanup for operator on intermediate stage

Summary
this issue Keeps track on the follow up / TODO list for operator implementation on multi-stage engine
Details
we tested basic mix-and-match operator SQLs but did not cover all combinations of possible SQL queries. This issue should focus on ensuring more SQL features are tested properly.
Bug fixes:

[x] timeout and other early termination doesn't polite GRPC mailbox channels (https://github.com/apache/pinot/pull/9116)
[x] deal with large data block causes GRPC mailbox out-of-buffer exception (https://github.com/apache/pinot/pull/9116)
[x] exception block population for timeouts (see: https://github.com/apache/pinot/pull/9064)
[x] exception block population for GRPC mailbox failure. (see https://github.com/apache/pinot/pull/9143)
[x] prevent broken mailbox channel (currently all mailbox reuse server-server channel, so one critical failure could cause all mailbox message lost) (see follow up on https://github.com/apache/pinot/pull/9143)
[x] validate exchange reduction (see: https://github.com/apache/pinot/pull/9100)
[x] reconnect after mailbox channel is broken (even after #9143 it can still have issues. check connections and reconnected mailbox channels and ensure proper channel closure)

[x] checked grpc doc, it should be automatically reconnect. the situation we ran into previously might've been a permanently stucked in CONNECTING<->TRANSIENT_FAILURE loop. will revisit if this actual occurs on production

[x] early termination logic should trigger QueryDispatcher top-down cancellation on requestID (continue on https://github.com/apache/pinot/issues/9241)

closing this one as all tickets are addressed (except for cancellation, which will continue in a separate issue since we already support this in normal broker request handler)


More tests and better organisation

end to end tests (which are in suite now)
unit tests taking advantage of the intermediate translation
diff on the generated code
cram test on the report

Another idea: testing whether generated code (with different frontends) typechecks.
For example, it is not clear how to test the behaviour of the code generated by the monolith frontend. But we can at least make sure that this code makes sens.

Closing as:

The project itself has been reorganized.
Although a better test coverage is always a good goal, this is not an issue per se.


Mock REST-API call

Hi,
thank you for the wonderful library. I use it quite a lot. Right now I would like to write a unit test for my own logic. Inside my logic I call the GitHub REST-API with githubkit. I did not manage to mock a call like
github.rest.repos.get(owner="owner", repo="repo")

I tried it like this: https://stackoverflow.com/questions/39457108/how-to-mock-nested-multiple-layers-of-return-objects-in-python
Do you have a tip how to mock githubkit?

It seems you need to mock the githubkit's request and return the fake response data to your code. I think you can monkey patch the request function of the github instance.

I have just made a example mock function by pytest. I will add it to the readme docs.


refactor(api,robot-server): Remove Pydantic .construct()s in tests

This PR replaces, in test files, Pydantic Model.construct(...) with Model(...). Before this PR, we had an inconsistent mixture of both.
This was decided previously on the CPX squad. Our rationale was roughly:

The performance benefits of .construct() are not worthwhile in tests
The runtime validation in tests is a nice final defense in case our production code does something that subverts static type-checking, like .update({...}), and it gets it wrong somehow.

Model.construct(...) will remain in the production code, for performance reasons.
Review requests
I used a global search and replace here. Skim over the code and make sure there's nothing obviously wrong.
Risk assessment
Very low. Changes are only to test files

Uh okay it looks like this broke a lot:

decoy.matchers, which sort of makes sense.
New errors about missing fields? Does the Pydantic plugin for Mypy not warn us if fields are missing in .construct()? If so, that's pretty horrifying.
Other new errors? Why is tests/runs/router/test_commands_router.py::test_get_run_commands failing with what looks like an actual data mismatch?


prisma deploy: ERROR: Service with name 'default' and stage 'default' already exists

Describe the bug
firstly when im doing prisma deploy i will get error of : id that is id is reserved keyword,
but in mysql it will create default@default database , than i will try with
id: UUID! @unique  in my datamodel , and done again prisma deploy,
and it will throw error like somethings are already exists.
than i will deleted default@default database (i know this is my mistake!),
than again i will do prisma deploy and it will show me error like this:
PS C:\Users\DHRUMIT\Desktop\mysql-node\helloworld> prisma deploy
Creating stage default for service default !

ERROR: Service with name 'default' and stage 'default' already exists

{
  "data": {
    "addProject": null
  },
  "errors": [
    {
      "locations": [
        {
          "line": 2,
          "column": 9
        }
      ],
      "path": [
        "addProject"
      ],
      "code": 4005,
      "message": "Service with name 'default' and stage 'default' already exists",
      "requestId": "local:cjwhcd1hx00020744w66up49k"
    }
  ],
  "status": 200
}

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Versions (please complete the following information):

Connector: MySQL
Prisma Server: 1.28.3
prisma CLI: [e.g. prisma/1.24.0 (darwin-x64) node-v10.4.0]
OS: Windows 10
other dependencies: prisma-client, prisma-binding, etc. if applicable

Additional context
Add any other context about the problem here.

i have solve this issue by changing service and stage name in prisma.yml file:
endpoint: http://<IP_ADDRESS>:4466/tvd/demo
datamodel: datamodel.prisma
secret: thisismysupersecrettext
i endpoint like aboove:)


travis improvements

[ ] Put the Travis link on the SIRF github site
[x] Put the Travis link on the SuperBuild github site
[ ] Sort-out the Travis ‘matrix’ when enabling both Linux and osx
[ ] Trigger the Travis build when SIRF (or other CCPPETMR forks) changes.

From @KrisThielemans' email:
Dear all

I’ve spent quite a few painful hours to get TravisCI  up and running for SIRF (using the SuperBuild).

For those who don’t know Travis, I’ve attached a nice email from David Volgyes to the STIR list when he enabled it for STIR. It applies verbatim to SIRF. This means that I have quite a lot of confidence in SIRF and the superbuild to work on Linux. And of course, whenever do a commit to the SuperBuild, the tests gets run automatically.

It was a bit complicated to get this to work for SIRF due to its many dependencies and the fact that Travis on Linux uses “trusty” (i.e. Ubuntu 14.04) which is too old. I had therefore to put in extra bits to get a new CMake, use gcc-5 and add some extra version checks. Also, it enabled me to find and fix a number of bugs. The hardest one was a weird problem when using USE_SYSTEM_* (see https://github.com/CCPPETMR/SIRF-SuperBuild/commit/3a07d997897fbadae74c74164b5b7dc03ba2e0f8).

Current test include building SIRF and Gadgetron and running the 3 automatic tests that we have:
- ./SIRF/src/xSTIR/pSTIR/tests/test1.py
- ./SIRF/src/xGadgetron/pGadgetron/tests/fully_sampled.py
- ./SIRF/src/xGadgetron/pGadgetron/tests/undersampled.py

The good news is that this now works fine for Linux (trusty) (tested with gcc-5, python 2.7 and 3.0, a few combinations of SYSTEM and self-built packages). The test for MacOSX still failed 10 mins ago and is still running.

You can see the Travis builds and logs at https://travis-ci.org/CCPPETMR/SIRF-SuperBuild. The master branch should now always be green…

I've added the Travis link in the SIRF-Superbuild README.md. Would be best to add to SIRF as well.

looks like this is almost ready, then? Just need the badge on SIRF?

Not sure how the 2 last boxes (travis matrix and build triggering) got ticked. That I do that by mistake? (This seems a problem with the todo-list. there seems no way to find out when/why they get ticked by who).
Please untick unless you know better...

Hi Kris, yes - you can't tell when things get ticked/unticked. I thought the last two were complete so ticked them. Haven't actually looked at the .travis.yml file or configuration so don't know. Unticked now.

Seems that the straightforward extension (640383c4b4a1e82e5b951da806002902a80b45a1) of using python on osx doesn't work. Message is the same as
https://github.com/travis-ci/travis-ci/issues/4729, which leads to a link with some helpful suggestions at the bottom, which is our current strategy.

On OSX with default compiler, we currently get (with USE_SYSTEM_BOOST=On)
In file included from /Users/travis/build/CCPPETMR/SIRF-SuperBuild/Gadgetron/toolboxes/python/python_toolbox.cpp:11:
In file included from /usr/local/include/boost/thread/mutex.hpp:16:
In file included from /usr/local/include/boost/thread/pthread/mutex.hpp:22:
/usr/local/include/boost/thread/pthread/timespec.hpp:79:12: error: no member named 'clock_gettime' in the global namespace; did you mean 'ACE_OS::clock_gettime'?
      if ( ::clock_gettime( CLOCK_MONOTONIC, &ts ) )
           ^~
/usr/local/include/ace/OS_NS_time.inl:58:9: note: 'ACE_OS::clock_gettime' declared here
ACE_OS::clock_gettime (clockid_t clockid, struct timespec *ts)

see https://api.travis-ci.org/jobs/282405991/log.txt?deansi=true.
boost version seems 1.65.1. This might be a new bug introduced in 1.64.0 (older versions explicitly didn't use this line, see e.g. http://www.boost.org/doc/libs/1_63_0/boost/thread/pthread/timespec.hpp).

The remaining major issues (about SIRF) will be fixed by https://github.com/CCPPETMR/SIRF/pull/69. so this could be closed once that is merged.

Currently OSX builds fail again as pip is no longer installed in the system python. I'm trying to fix this for STIR https://github.com/UCL/STIR/pull/127, so let's wait for that.
@bathomas  @rijobro do you know if this is a Travis-specific issue, or do we need to update the installation instructions on the wiki?


Agent is called DependencyAgentLinux not DependencyAgentForLinux

Agent is called DependencyAgentLinux not DependencyAgentForLinux
refer output from "az vm extension image list"

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

ID: fe664fa2-7a2b-54c4-ebdb-8f73abfe90ac
Version Independent ID: 6f0e4f7f-715d-e886-96f8-ab96a269a58e
Content: Troubleshoot VM insights - Azure Monitor
Content Source: articles/azure-monitor/vm/vminsights-troubleshoot.md
Service: azure-monitor
Sub-service: virtual-machines
GitHub Login: @bwren
Microsoft Alias: bwren

@grillba Thanks again for bringing this to our notice and helping us improve our Azure documentation. I have raised a PR to update the document. Once the PR is reviewed and approved , changes would go live.
At this point it appears that there's no further edits or updates needed to the documentation, other than what has been listed above. We will go ahead and close this issue for now, however if you have any further feedback on the document please tag us in your reply and will be happy to reopen the thread and continue the conversation. Thank you


Parameter prompt

Perceived Problem
Sometimes as a CLI author you want your users to be able to give parameters up front or enter into an interactive prompt to complete the fields.
Ideas / Proposed Solution(s)
Here is a before/after sketch showing how this feature could look like. The before is based on real world code.
Before
import { instantiateTemplate } from './__helpers__'
import { Command } from '@molt/command'
import inquirer from 'inquirer'
import { z } from 'zod'

interface Input {
  name: string
  description: string
  fly: boolean
}

main().catch((error) => {
  //eslint-disable-next-line
  console.log(error.message)
  process.exit(1)
})

async function main() {
  /**
   * Input
   */

  const args = Command.parameter(`name`, z.string().optional())
    .parameter(`description`, z.string().optional())
    .parameter(`fly`, z.boolean().optional())
    .parse()

  const input: Input = await inquirer.prompt(
    [
      {
        name: `name`,
        message: `What is the name of this application`,
      },
      {
        name: `description`,
        message: `What is the description of this application`,
      },
      {
        name: `fly`,
        message: `Is this application being deployed to Fly?`,
        type: `confirm`,
        default: true,
      },
    ],
    args
  )

  /**
   * Generator
   */

  await instantiateTemplate({
    description: input.description,
    name: input.name,
    template: {
      kind: `app`,
      fly: input.fly,
    },
  })
}

After
import { instantiateTemplate } from './__helpers__'
import { Command } from '@molt/command'
import input from 'inquirer/lib/prompts/input'
import { z } from 'zod'

main().catch((error) => {
  //eslint-disable-next-line
  console.log(error.message)
  process.exit(1)
})

async function main() {
  /**
   * Input
   */

  const args = Command()
    .parameter(`name`, {
      schema: z.string(),
      description: `The name of the app.`,
      prompt: true,
    })
    .parameter(`description`, {
      schema: z.string(),
      description: `A brief description of the app. Used for the npm package.json description field.`,
      optional: true,
      prompt: true,
    })
    .parameter(`fly`, {
      schema: z.boolean(),
      description: `Whether or not the app is being deployed to fly.`,
      default: true,
      prompt: true,
    })
    .parse()

  /**
   * Generator
   */

  await instantiateTemplate({
    description: input.description,
    name: input.name,
    template: {
      kind: `app`,
      fly: input.fly,
    },
  })
}

And here is a sketch of how the prompt could look like in terminal:
1/3  name
     The name of the app.
     ❯ skunk

2/3  description
     A brief description of the app. Used for the
     npm package.json description field.
     ❯ Blah blah blah

3/3  fly
     Whether or not the app is being deployed to fly.
     ❯ yes / no

And an alternative sketch:

	 Question           Description
     --------           -----------
1/3  name				The name of the app.
     skunk

2/3  description		A brief description of the app. Used for the npm package.json description field.
     Blah blah blah

3/3  fly 				Whether or not the app is being deployed to fly.
     yes / no

Tasks

[x] Show parameter name/description/prompt before/above input
[x] Show gutter progress indicator
[ ] Settings to control default prompt behaviour
[ ] UI for booleans
[ ] UI for enums

Here is a before/after sketch showing how this feature could look like. The before is based on real world code.
Before
import { instantiateTemplate } from './__helpers__'
import { Command } from '@molt/command'
import inquirer from 'inquirer'
import { z } from 'zod'

interface Input {
  name: string
  description: string
  fly: boolean
}

main().catch((error) => {
  //eslint-disable-next-line
  console.log(error.message)
  process.exit(1)
})

async function main() {
  /**
   * Input
   */

  const args = Command.parameter(`name`, z.string().optional())
    .parameter(`description`, z.string().optional())
    .parameter(`fly`, z.boolean().optional())
    .parse()

  const input: Input = await inquirer.prompt(
    [
      {
        name: `name`,
        message: `What is the name of this application`,
      },
      {
        name: `description`,
        message: `What is the description of this application`,
      },
      {
        name: `fly`,
        message: `Is this application being deployed to Fly?`,
        type: `confirm`,
        default: true,
      },
    ],
    args
  )

  /**
   * Generator
   */

  await instantiateTemplate({
    description: input.description,
    name: input.name,
    template: {
      kind: `app`,
      fly: input.fly,
    },
  })
}

After
import { instantiateTemplate } from './__helpers__'
import { Command } from '@molt/command'
import input from 'inquirer/lib/prompts/input'
import { z } from 'zod'

main().catch((error) => {
  //eslint-disable-next-line
  console.log(error.message)
  process.exit(1)
})

async function main() {
  /**
   * Input
   */

  const args = Command()
    .parameter(`name`, {
      schema: z.string(),
      description: `The name of the app.`,
      prompt: true,
    })
    .parameter(`description`, {
      schema: z.string(),
      description: `A brief description of the app. Used for the npm package.json description field.`,
      optional: true,
      prompt: true,
    })
    .parameter(`fly`, {
      schema: z.boolean(),
      description: `Whether or not the app is being deployed to fly.`,
      default: true,
      prompt: true,
    })
    .parse()

  /**
   * Generator
   */

  await instantiateTemplate({
    description: input.description,
    name: input.name,
    template: {
      kind: `app`,
      fly: input.fly,
    },
  })
}

Hi @jasonkuhrt, just watched your introduction video!
Last week I implemented a little (y)args-env-storage-prompter for oryx-macro-hax (Currently I don't have too many arguments, but I think there are going to be many more when I merge the project with a related one. Currently precedence is ENV > storage > args > prompt, I guess I should rethink that.
oryx-macro-hax (npm start) <cmd> [args]

Commands:
  oryx-macro-hax get [layoutID]      - download a layout
  oryx-macro-hax process [username]  - apply macros/<username>.ts

I am very unhappy about type safety though. I think I should try to refactor it to @molt/command instead of yargs, as I was already about to add zod anyways! I'll try that soon.. (and zodify prompts?).
What are your thoughts about prompts instead of inquirer and what about node-persist, can it be plugged in?
I hope this is the right place to reference this, I don't have a clear idea for a new issue yet ;)

@Phoscur I'm not sure about what your exact needs are but, but in general that toolset you references it something I would like Molt to be able to replace, do better, be more type safe specifically.
If you do give Molt a try, I'd definitely be responsive to issues you hit while trying to adopt it.

can it be plugged in?

For node-persist, I'm not sure what you're looking for.


Two sources of truth for typography?

It took me a long while to discover my headers were actually being set up in https://github.com/gatsbyjs/gatsby-starter-blog/blob/master/pages/_template.js#L37 and not in utils/typography.js. Ideally there is one place where styles are setup?
I am not sure huge fan of style mixins in JSX. Tbh I'd prefer them split out please as a rule of thumb, especially in a starter blog.

The reason it's this way is because the Typography.js theme used (Wordpress 2016) by default only uses Montserrat for h2-h6 headers. Since the site header switches between h1 and h3, it'd change typefaces unless that rule is there.
Typography.js can only setup global styles so it'd be difficult to put all typographic styles there.
I can understand that inline styles or css-in-js is not everyone's cup of tea but I believe they offer a number of advantages with React in general and particular a static site like Gatsby e.g. each page only loads the absolute minimum number of styles it needs — very hard to do with traditional css.
I'd love to support other styles of styling but until as I have limited time and I only code with inline styles I'm going to keep things as they are. If you'd like to submit another starter as an official starter using regular css or css modules that'd be really appreciated!


added recursion folder

adding a recursion folder with the code for two popular problems: N-queens and Knight's Tour.
I have also added my name to contributers.html file.

Please remove the extra android studio files

Please remove the extra android studio files

Sorry, I am not able to resolve this issue, I will make a new pull request.


Support binary blobs / libraries and glue code in vanilla upstream Zephyr

This issue here is to describe what to do about Zephyr (i.e. the upstream vanilla distribution) containing either of the following:

Binary objects of any sort (firmware images, linkable libraries)
Accompanying OSS build, header or source files to the binary objects (typically a CMakeLists.txt custom-made for Zephyr and then any additional .c and .h files that are compiled when using the library)
Accompanying non-OSS source code to the binary objects
OSS glue code and Kconfig for a binary object in the main zephyr repository (typically changes in existing in-tree code to accomodate for the binary blob and a new in-tree Kconfig file for the module)

There are many types of binary blobs with different levels of integration requirements:

External library with its own set of APIs not overlapping with existing Zephyr APIs (eg. a 3rd-party physics library)
External library that replaces the implementation of existing libraries with a binary one (eg. replacing mbedtls with a binary library that implements the same APIs)
External library that replaces an existing in-tree driver (eg. a replacement of a driver with a propietary version in binary form that makes use of hidden hardware)
External library that implements a new driver (eg. a new sensor)
External library that implements a new subsystem, but that interacts with existing subystems (e.g. Segger RTT)

The following decisions have been found to be orthogonal to each other:

Should binary objects be hosted in the zephyrproject-rtos GitHub organization?
Should accompanying OSS build, header or source files be hosted in the zephyrproject-rtos GitHub organization?
Should accompanying non-OSS header or source files be hosted in the zephyrproject-rtos GitHub organization?
Should OSS glue code and Kconfig (Apache v2) for a binary object be present in the main zephyr repository?
Should the vanilla manifest contain links to 3rd-party repositories with binary blobs and all the accompanying build files, headers, source and glue code?
Should the user explicitly have to enable binary blobs and/or non-OSS source code via a command? (eg. west config manifest.enable-blobs)

Proposals:

a. Host binary blobs and accompanying build, headers and source code (OSS or non-OSS) in the zephyrproject-rtos GitHub organization, just like any other external project we host today, include the glue code (Apache v2) in the zephyr repository and include the projects in the vanilla manifest
b. Same as a, but only with OSS accompanying source code and headers
c. Same as a, but with the user having to explicitly enable binary blobs and/or non-OSS source
d. Same as a, but with the user having to explicitly enable binary blobs
e. Host only glue code and Kconfig (Apache v2) in the zephyr repository, and require users to pull binary blobs and accompanying build, headers and source code from a 3rd-party repository, not including any reference to it in the vanilla manifest
f. Not host anything at all, require users to use their own manifest and 3rd-party repositories to integrate with binary blobs.

I think this is something we need to support in Zephyr.  We probably need to figure out the rules and document them around what is considered an acceptable binary.  For example:

is the binary licensed in such a way that allows re-distribution by the Zephyr project.
are the interface/headers to the binary licensed permissively/OSI licensed (ie, something like Apache or BSD).

We probably need to figure out the rules and document them around what is considered an acceptable binary

I agree. Where do you think this document should live?
Also, @galak I guess you are assuming option 3. and the multi-repo being there?

I agree. Where do you think this document should live?

I assume the doc would be part of our contributing guidelines, so something under doc/contribute/

Also, @galak I guess you are assuming option 3. and the multi-repo being there?

Yes, I think something like option 3.

Depends on #6770

This sounds somewhat similar to what is done here:

Yes, indeed. I guess that flew under the radar.

+1, I'm starting down this path right now to figure out how to integrate support for BLE on the NXP KW41 platforms. The BLE controller code is a binary blob that comes from NXP and won't be able to be hosted on the Zephyr repository due to legal restrictions.

As an output of this ticket it would be nice to have a checklist that can be can be used to check easily if the component we want to introduced is compatible with zephyr policy and if not what is missing.

is the binary licensed in such a way that allows re-distribution by the Zephyr project.

this only applies if we actually are going to support that library as part of the project, in most cases I would say, no, we should not have any binaries included in the project itself, however we should enable this like with the ESP32 case.
Once we have  multi-git repo support his would be easier obviously but regardless, a policy is still required.

While I would personally argue that no binary objects should be included in the core repo, it's a lot more ambiguous how to handle additional repositories hosted under zephyrproject-rtos.
Ignoring the debate of open source or not, from a practical point of view it seems like this would place a significant legal burden on the Zephyr Project to validate that we can host and distribute said binary blob(s) and associated IP or files.
The opinion of engineer X on Slack or over email saying "sure, it's fine to host blob Y" probably isn't sufficient for blobs that have EULA's associated with them, and would likely require written sign-off by appropriate IP owners. If they are distributing binary blobs, there are almost certainly distribution terms attached.
Some cases may be clear cut, but it seems like there would still need to be some sort of legal validation process or paper trail here to host binaries in the Github org. Whether the benefit is worth the additional effort and legal exposure is obviously open for debate.

Please retain the distinction between "Apache-2.0" and "OSS" in this discussion.  They are very much not the same.
I'm not clear on what "OSS" is intended to identify.  It would perhaps be better to use the term OSI-approved license where open source beyond Apache-2.0 is being addressed.  Note that GPL is OSI-approved.

Repeating here the position I gave in TSC chat on 2019-06-12:
Zephyr bills itself as Apache-2.0, which I believe to be true of the main repository.  Through west it pulls in material from other repositories; at the moment these are hosted by zephyrproject-rtos, but in principle they could be external.  It's not clear to me whether all material in those repositories is also Apache-2.0.
As an open source developer I may need to protect against claims of potential IP theft by doing development on a clean system, where in theory I know the licensing of every bit on the machine.
Question 0 does not appear in the description of this issue:

Should a default-installed Zephyr installation be restricted to content that is licensed under Apache-2.0?

I personally prefer the default answer to this to be "Yes."  Whether it is "yes" or "no", the answer (and its rationale) will inform the process leading to the remaining decisions, including whether/how non-Apache-2.0 content can be exposed as an opt-in post-installation step from the default installation, and how the licensing of any retrieved material is recorded and accessed.
When I do west update to fetch everything, I have no idea what's just been installed on my system.  This is somewhat concerning to me.

When I do west update to fetch everything, I have no idea what's just been installed on my system. This is somewhat concerning to me.

+1 and I believe you've been considering only the default zephyr/west.yml. West should have a west list --format={license} field that works for any manifest. From a developer (and lawyer) perspective it's much more important to know the licenses that are going into a product than which server or mirror it's hosted on.
Examples:
pip3 install --user pip-licenses && pip-licenses
https://www.yoctoproject.org/docs/2.8/dev-manual/dev-manual.html#working-with-licenses
https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#license-specification
https://rpm-packaging-guide.github.io/#preparing-source-code-for-packaging
etc.

Zephyr bills itself as Apache-2.0, which I believe to be true of the main repository.

(Being a bit pedantic here, but I'd think we need to be much more precise in this discussion)
@pabigot The main repo would be Apache-2.0 compatible. There is BSD & MIT code in ext/ and in some other places in-tree.
I guess that is what you meant to say? and therefore a "compatible" should be added to your question 0?
@carlescufi It may be worth rephrasing the top comment, removing the "OSS" term, and stating clearly where it is meant "Apache-2 compatible" or where it refers to any other form of open source licensed SW (if the intent was to include GPL or MPL in the discussion that would change things).

Zephyr bills itself as Apache-2.0, which I believe to be true of the main repository.

(Being a bit pedantic here, but I'd think we need to be much more precise in this discussion)
@pabigot The main repo would be Apache-2.0 compatible. There is BSD-3 clause & MIT code in ext/ and in some other places in-tree.
I guess that is what you meant to say? and therefore a "compatible" should be added to your question 0?

No, I meant to say Apache-2.0.  The LICENSE file at the top says that's it's license.
The following command:
git grep SPDX-License | grep -v Apache-2.0 | sed -e 's@^.*:@@' | acut 1| sort | uniq

shows Zephyr, as of a recent master, has these licenses in its SPDX-License-Identifier tags:

BSD-3-Clause
BSD-5-Clause-Nordic
CC0-1.0
GPL-2.0
ISC

I am informed by this.

@pabigot ( sorry, I should have phrased my statement as "The main repo would contain Apache-2.0 compatible code" (irrespectively of the project overall being licensed as Apache2.0). It may have caused some confusion )
@pabigot Did you mean to say that you would like to restrict the main repo, and repos pulled by the default manifest, to contain only, Apache2.0 code?. And bar non-Apache2.0, but Apache2.0 compatible code?
(Note, AFAIK, GPL are only some development scripts used, and some of the QEMU coverage code)

I presented as a naive new user who assumed the LICENSE file gave me a correct description of the licensing that applied to the content of the tree it's in.  I had only intended to make a clear statement that preserved the existing state.
Since Zephyr does not accurately describe the licensing of its contained material (at least in the place a naive user would expect to find it), perhaps that should be addressed.  I am not a lawyer, but at least one previous employer would see those GPL scripts and say "No Zephyr on our networks", at least until somebody in upper management approved an exception, and I'd probably be in trouble if I'd gotten initial approval on the basis of claiming it to be Apache-2.0 (not "-compatible", since the company policy isn't concerned with somebody assessment of "compatible": they want a list of licenses).

I am against it to host any binary objects or source code licensed under non-OSI approved (rather: "popular and widely-used or with strong communities") licenses in the zephyrproject-rtos GitHub organization, which could be compiled and linked to an Zephyr RTOS based application (firmware). I think it is up to vendor to host it, specially from legal perspective, and the project should not be easy-peasy-barrier-free regarding code licensed under non-OSI-"popular and widely-used or with strong communities" or incompatible license because of respect for those who bring and maintain their drivers mainline.

Since Zephyr does not accurately describe the licensing of its contained material (at least in the place a naive user would expect to find it), perhaps that should be addressed.

naive user is subjective, it is described here and here(but outdated)

The TSC approved this and then a series of PRs have been bringing in support into the tree:

#47678
#49037
#49194


No video preview on arch

I want to use GIFcurry
I installed using the AUR when I open the program I get:
Error message
gtksink not found. No video preview available. Install all GStreamer 1.0 plugins

I am on arch and have the dependencies installed
❯ pacman -Q | grep -i gst
gst-libav 1.16.2-1
gst-plugins-bad 1.16.2-7
gst-plugins-bad-libs 1.16.2-7
gst-plugins-base 1.16.2-1
gst-plugins-base-libs 1.16.2-1
gst-plugins-good 1.16.2-3
gst-plugins-ugly 1.16.2-3
gst-python 1.16.2-2
gst-python2 1.16.2-1
gstreamer 1.16.2-1
phonon-qt5-gstreamer 4.10.0-1

How can this be resolved?

Hello,
What is the output of gst-inspect-1.0 | grep libav: | wc -l.
:+1:

the output is
$  gst-inspect-1.0 | grep libav: | wc -l
607

Hello,
I had the same issue and I resolved it by installing the following dependency: gst-plugin-gtk

Installing gst-plugin-gtk indeed solved the issue. And it is only about 50 KiB in size. I wonder, would it make sense to include it in the AppImage?

README links to these pages:

GStreamer >= 1.0

GStreamer Plugins

But they don't even contain a "gtk" substring. I myself didn't know about existence of gst-plugin-gtk until today. So, probably it should be included with the distribution.


Manually adding repos

I really like this tool, it's just what I needed.
Except for the fact that I can't manually add repositories, instead of scanning the all computer.
I have so many repositories I don't care about on my machine, it would be nice to just add the few ones I'm working on.
Is there any workaround on this? I know it should automatically detect any change in a file from a repo and add it, but it's not working on my machine (Win 10).

RepoZ should detect changes automatically. It's enough to change a file or switch a branch in git. This even works if you "switch" to a branch you even are already. So git switch master should be enough, even if you're on master already.

Changing a file won't work. However, "git switch master" works.
Thank you!

Okay, that's strange. Then I suppose RepoZ is not able to update the repo's state on file changes, is it?
What happens if you change a file in a repo. Is the status updated? This should be the same mechanism. Maybe your machine does not allow listening for file system changes.


docs(props): fix propTypes link & change error type from string to any

When upgrading to v6 I read the docs and noticed in props that error is a string. This was a problem in our app, because we used to set an object on the _error key (to be able to display more and nicely formatted information about what happened).
At first I thought the API might have changed, but also the v4 and v5 docs said error : **string**, while in fact the propType is any. I would like to keep it that way, but thought it could be good to edit the docs. Also, the link to the propTypes file is broken in the docs.
I will submit a PR with these edits. Thanks for everything you do!

Fixed by https://github.com/erikras/redux-form/commit/f2fe04310ce115530abbce61cb469f4be09c2a5c.


Warning: cannot find svn location for apsw==3.8.6-r1

I tried install ctf-tools on kali linux,but error occurred in this command
 ./manage-tools setup

this behave is not changed when using sudo.
please tell me why this error occurred.
thanks.

error occurred, but I can running manage-toolscommand.
So this issue is roughly solved.
thanks.

Could you post your system details (i.e., distro version and so forth) so we can try to track down the error?

root@kali:~/ctf-tools/bin# ./manage-tools setup
No LSB modules are available.
dpkg-query: no packages found matching texinfo
dpkg-query: no packages found matching virtualenvwrapper
TOOLS | SETUP | Please install the following packages: build-essential libtool g++ gcc texinfo curl wget automake autoconf python python-dev git subversion unzip virtualenvwrapper
TOOLS | SETUP | Certain tools need i386 libraries (enable with 'dpkg --add-architecture i386; apt-get update').
Creating python2 virtualenv 'ctftools'
/root/ctf-tools/bin/ctf-tools-pip: line 33: virtualenv: command not found
I'm assuming the error he's talking about is similar to this @zardus


Bolt Driver does not work in Python 3.5

The following code is sourced from the ReadMe page and works in Python 2.7 after installing neo4j-driver.
from neo4j.v1 import GraphDatabase, basic_auth

driver = GraphDatabase.driver("bolt://hobby-kfkdjimaoibhgbkeccpmfcnl.dbs.graphenedb.com:24786",
                              auth=basic_auth("IPStreetSandbox", "qF1yZ85Y2nb30STRNLdo"))
session = driver.session()
session.run("CREATE (a:Person {name:'Bob'})")
result = session.run("MATCH (a:Person) RETURN a.name AS name")
for record in result:
    print(record["name"])
session.close()

When running the same code in Python 3.5 after installing neo4j-driver, I get the following error:
Traceback (most recent call last):
  File "C:/PythonApps/Neo4jBoltDriverTest/run.py", line 1, in <module>
    from neo4j.v1 import GraphDatabase, basic_auth
  File "C:\Users\username\AppData\Local\Programs\Python\Python35\lib\site-packages\neo4j\__init__.py", line 29, in <module>
    from neo4j.core import GraphDatabase, Direction, NotFoundException, BOTH, ANY, INCOMING, OUTGOING
  File "C:\Users\username\AppData\Local\Programs\Python\Python35\lib\site-packages\neo4j\core.py", line 19, in <module>
    from _backend import *
ImportError: No module named '_backend'

The setup.py file lists up to python 3.4 but not python 3.5 which I expect is reason for this error.  Is this correct?  If so, is there a timeline for when the library will be support python 3.5?

I'm confused. There is no module called neo4j.core in this driver. Where did you install from?

I use pycharm as an IDE.  I installed neo4j-driver from their package manager.

I am not sure what the problem is but I can confirm that it is on my side.  I created a new Python 3.5 VirtualEnv, installed neo4j-driver, and the demo code now works in Python 3.5.  Basically a case of poor package management on my part.
Thanks for your help.  I am sorry if I caused you any stress or headaches.

No problem here. Glad you got it solved.


Add GCRI

https://gcrinstitute.org/people/ + history
Some positions are already entered https://orgwatch.issarice.com/?organization=Global+Catastrophic+Risk+Institute#list-of-people so make sure to merge those (they are in sql/positions/positions.sql).
Make a new file for GCRI.

"GCRI was founded in 2011 by Seth Baum and Tony Barrett" http://gcrinstitute.org/about/
so I think the start date for these two should be 2011

For people like Caroline Zaw-Mon, can you find their rough start and end dates? For instance, Caroline does not appear in the July 2013 snapshot but appears in the October 2013 snapshot, so you can put down '2013-10-01' as start_date with a precision of 'month'. And since she does not appear in the current team page, there is also a last snapshot in which she appeared.

Jianhua Xu is missing; she appears for example in https://web.archive.org/web/20131020001305/http://gcrinstitute.org/people/

Can you add Oliver Couttolenc https://www.linkedin.com/in/oliver-couttolenc/ ?

Can you also make sure to check the other Internet Archive snapshots to make sure there aren't other missing people like Jianhua Xu?

I have fixed all issues.

For Seth Baum and Tony Barrett, I'm not seeing it fixed. Can you check?

Oliver Couttolenc should have employment_type of 'volunteer'.

There are still a few people without a start date. Can you add them or explain why you can't add them?


Scala FMT

I am currently working on a PR for this project and I found the newly added formatter very rigid.
Would it be possible to change some settings like for example the --maxColumn to something like 100 or 120.
Also the following code snippet:
???.recover( _ ⇒ _ ⇒ {
  case MappingException("unknown error", ite: InvocationTargetException) ⇒
    throw ite.getCause
})

is formatted to:
???.recover(
  _ ⇒
    _ ⇒ {
      case MappingException("unknown error",
                            ite: InvocationTargetException) ⇒
        throw ite.getCause
    }
)

which I personally don't find very readable. What's your opinion on this?

Well, it's how it works ;-)
Honestly, I'm reluctant to making changes to the formatting settings: scalafmt defines the standard, we follow.

I totally get your point, having a formatter is really nice :)
But scalafmt provides also a lot of options and is still a very young project, I wouldn't say it defines the standard.
This ticket was just to raise the discussion, it can be closed.

I consider it a standard ;-)


Limit CPU and memory usage for int-to-float conversion

This PR adds a fast path for very big int to float conversion that always get converted to ±Inf.

This PR adds a fast path for very big int to float conversion that always get converted to ±Inf.

Was this change opportunistic, or did the logic appear in a profile? I'm curious what workload would make heavy use of numbers larger than the universe.

Opportunistic: we had to do that for concerns not related to performance and it felt in line with the previous optimization.


Fix broken iteration of items in Opentype.js glyphs object

Fixing issue(#1). @strarsis mentioned that it's probably because opentype.js changed its API. This seems to do the trick.

Thx! I would upgrade dependency and publish a new version soon.

No problem. Just glad I could help!


[BEAM-3207] Create a standard location to enumerate and document URNs.

URNs are listed in a markdown file in the pipeline definitions module.
This file is used to auto-generate URN constants for the Python SDK and
validate URN constants in the Java SDK (though eventually it'd be good
to auto-generate them in this case as well).
The format of these common URNs has been normalized to
org.apache.beam:type:name:vN[.M]

SDK-specific URNs are left as they are.
Further fleshing out the definitions and specifications of all these URNS,
as well as making sure they are used ubiquitiously, can be deferred to
a later PR now that there is a central location to work from.
Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Jenkins retest this please. (ERROR: beam8 is offline)

Jenkins retest this please

Jenkins: retest this please.

I have resolved the issues with the Dataflow runner, opting to leave those URNs currently hard coded in the workers as they are in this PR (which is already big and painful enough as it is) and defer the worker dance to a future one.
PTAL

I'm wary about setup.py because "actually programming" in builds is one of the worst sources of unpredictable maintenance burdens, but let's just get this in and iterate because it is definitely useful immediately. The gradle failure is BEAM-3605.

Thanks!


Alumina Solution Missing Recipe

The calculator seems to be missing the option to make the standard recipe the default.

If you disable the standard recipe, it makes Sloppy Alumina the default (as expected):

But if you disable the Sloppy Alumina recipe, the default recipe row disappears:

Never mind, I understand now that you can't make a recipe the default if it produces more than one product. Apologies!


Fix Autoregister creation on windows

Creating autoregister files does not work on windows because of the linux specific group settings in the template resource. It throws that weird group mapping error. Adding a windows specific call to the template resource without a group parameter fixes that.

This isn't ideal solution, now if someone specifies owner and group of resource, it will be ignored.
I am going to merge it anyway, since it is better this way than not working at all.


NatWest Group Hosted - FINOS DevOps SIG - Open Source Supply Chain Security Roundtable

NatWest Group is running an Open Source Supply Chain Security “FINOS Members + Limited Guests, Chatham House Rule” roundtable, to celebrate OSFF London, on behalf of the FINOS DevOps Automation SIG.

Tuesday 25th June at 9:30am BST / 2pm IST - Fully Hybrid over Zoom

The roundtable is fully virtual, with 10 places available at NatWest, London for those wanting to join us in the room (registration in the comments below).
During the meeting we should explore [WIP please feedback in the comments]

Aligning the RT to the DevOps Automation “Open Source Supply Chain Security” Working Group.
Safe ingress of Open Source materials / dependencies into a banking engineering scenario.
Safe storage and continuous monitoring of internal Open Source registries and Route to Live.
Automation tools on repos and IDEs (DevSecOps + shift left).
OpenSSF and FS-ISAC training, alignment and standardisation.

We look forward to celebrating OSFF London with you, on behalf of NatWest Group!
James.

+1
happy to join, in the room! 🚀

+1
Would also be happy to join the room.

+1 Would also be happy to join the room.

Thanks @aaronsearle - I have messaged you over LinkedIn for details.

+1
I'm a bit late to this, but if there is still availability, I'd love to come along.


Move note about using ResourceLoader in the File documentation

The note that you should not use File for internal resources, and instead use ResourceLoader, was moved to the File description, and shortened. I do not think it was very helpful only existing under the file_exists information.

I've made the suggested changes.

Thanks!

Cherry-picked for 3.2.4.


Manual download link returning 403 response

I've downloaded, compiled and installed NuGetGallery on a server, everything is working great except for one small issue: when I click on the "Manual Download" link for a package the server returns a 403 Forbidden response. On my machine it works fine :) Any ideas what might be causing this?

What is your Gallery.StorageType config on your server?

It's set to FileSystem - I've just realised that the two packages that I was trying to download didn't actually exist on the filesystem - they were in the DB though. I must have screwed something up, I've tried a different package and it's working fine :) Thanks muchly for your help.


Migrate App to MVVM architecture.

As what title provides

Almost done, just some cleaning up.

Migrated and Cleaned Application source code.


Fix IndexError when Hypothesis found inconsistent test results during the test execution in runner

Fixes #236

Codecov Report

Merging #240 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #240      +/-   ##
=========================================
+ Coverage    99.9%   99.9%   +<.01%
=========================================
  Files          19      19
  Lines        1065    1067       +2
  Branches      160     161       +1
=========================================
+ Hits         1064    1066       +2
  Partials        1       1

Flag
Coverage Δ

#unittests
99.9% <100%> (ø)
:arrow_up:

Impacted Files
Coverage Δ

src/schemathesis/utils.py
100% <ø> (ø)
:arrow_up:

src/schemathesis/runner/__init__.py
100% <100%> (ø)
: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 6dcf227...5f11f2e. Read the comment docs.


Feature 7

Checklist ✅

[x] I have followed the contributor guideline
[x] Tests are included
[x] Documentation is changed or added
[x] Related issue has been created
[x] Commits messages follows commit guideline

resolves [#7 ]

You remember add the info to Side Bar as: Reviewers, assigners, Labels, Projects, Milestone and Issue. too, add screenshot of the component in the PR.


👀 Should you use the Repository Pattern? With CQRS, Yes and No!

https://www.youtube.com/watch?v=01lygxvbao4

Aggregates are for consistency boundaries.  These are important for commands, but not queries.
Repositories CAN be helpful for commands (domain models), but are not needed for queries (often DTO models)


Invalid Key

Hi,
This seems to work fine with getting balances, but if I try 'AddOrder', I get the response
[ 'EAPI:Invalid key' ]
Surely if I am able to get the balances, then the key is correct.
Thanks,

I'm seeing this error too. Only on actual transactions though - if 'validate' is set it seems to work.
There was a similar issue in kraken-api, which they may have fixed after this project was forked.


[W6.4d][W13-B1] Aadyaa Maddi

LO-Polymorphism

added a method boolean isMutating() to the Command class, which returns true for commands that mutate the data
limited file saving to only for command types that mutate data
updated JUnit tests

@amad-person
Some comments added. Please ack & close the PR after reading comments.

Noted, thanks!


[Dev][Navbar]Bug: Fix collapsable navbar

Something broke the collapsable navbar (navbar that shows up when the website is in mobile version).

Fixed with #547 PR


chore(deps): bump cohesion from 4.36.0 to 4.37.0

Description
Bumps cohesion from 4.36.0 to 4.37.0

#squashOnGreen


refactor(frontend): move manage tokens to $lib

Motivation
"Manage tokens" related components has started using BTC therefore it cannot remain located under $icp-eth. I don't really have a better idea so let's move it to $lib.

@peterpeterparker renamed the title as per convention


Camera not working: onActivityResult-1

Hi,
I'm testing the library on Android Studio, the minSdk is 29 and the targetSdk is 32.
when I want to use the camera: I take the photo, then I click on "Ok" button then, there is an error (black screen on device):
D/: onActivityResult-1
W/System.err: java.io.FileNotFoundException: open failed: ENOENT (No such file or directory)

In my manifest there is the permissions
<uses-permission android:name="android.permission.CAMERA" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
I tried to add in the manifest the attribute
android:requestLegacyExternalStorage="true"
But the is always the error.
Is the library is working yet ?
My device: Android 10 (API level 29), Samsung J6

Have you found any solution for this ?


amp alignment in a single line results in "Misplaced &"

@mberna found a MathJax syntax problem in https://qiskit.org/documentation/stubs/qiskit.quantum_info.Pauli.html

The problem is that that there is an amp alignment in a single equation.
I dont think the fix needs reno nor changelog entry.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 84.376%

Totals

Change from base Build<PHONE_NUMBER>:
0.005%

Covered Lines:
54539

Relevant Lines:
64638

💛  - Coveralls


Typescript issue with version 0.17.2 on the react field

Hey Resend Team, I got a TS issue after upgrading resend to 0.17.2 with typescript 5.1.6
Argument of type '{ from: string; to: string | string[]; subject: string; react: ReactElement<any, string | JSXElementConstructor<any>> | ReactNode; }' is not assignable to parameter of type 'CreateEmailOptions'.
  Type '{ from: string; to: string | string[]; subject: string; react: ReactElement<any, string | JSXElementConstructor<any>> | ReactNode; }' is not assignable to type 'Required<Pick<CreateEmailBaseOptions, "text">> & Partial<Pick<CreateEmailBaseOptions, "react" | "html">> & { ...; }'.
    Property 'text' is missing in type '{ from: string; to: string | string[]; subject: string; react: ReactElement<any, string | JSXElementConstructor<any>> | ReactNode; }' but required in type 'Required<Pick<CreateEmailBaseOptions, "text">>'.ts(2345)
create-email-options.interface.d.ts(13, 5): 'text' is declared here.

Can you upgrade Typescript?

Can you upgrade Typescript?

On the screenshot, I'm on 5.1.6 (which is the current latest) and I tried with the 5.2.0-beta and I still got the issue

Can confirm, getting the same error. If I cast the react element to JSX.Element the error goes away, but I'd rather if React.ReactNode worked as it's described in the CreateEmailBaseOptions interface.

The cleanest workaround right now is indeed:
          react: EmailTemplate({
            link: props.url,
          }) as React.ReactElement,

I guess the RequireAtLeastOne type-fest type doesn't work well with ReactNode (maybe because it can be null).
export type CreateEmailOptions = RequireAtLeastOne<CreateEmailBaseOptions, 'react' | 'html' | 'text'>;

The cleanest workaround right now is indeed:
          react: EmailTemplate({
            link: props.url,
          }) as React.ReactElement,

I guess the RequireAtLeastOne type-fest type doesn't work well with ReactNode (maybe because it can be null).
export type CreateEmailOptions = RequireAtLeastOne<CreateEmailBaseOptions, 'react' | 'html' | 'text'>;

Can confirm this fixes the issue

We remove type-fest

This issue is still present with
"resend": "^3.1.0",
"typescript": "^5.3.3"

Simply following the nextjs quickstart - https://resend.com/docs/send-with-nextjs#3-send-email-using-react

@bukinoshita I am still running into this as well
"resend": "^3.1.0",
"typescript": "^5.3.3"

This is just from following the example for Next.js


add parser for mknod mode argument

after talking with @yanivagman - ParseInodeMode() is good for my needs, so this new function ParseMknodMode() is not needed. closing the PR.


Add support for Utopic Unicorn

Extends #61 based off the continuing problems with get_url.

For now, Travis CI tests for this will be removed.


Setup PWA

We want to support offline work from the start. So we need a PWA.
We may not even implement this in LD. But it would be a good way to learn how it works in a simple case, even if we do LF in another service.

@hahn-kev Do we still want this?

no probably not now that we've got a better idea of what we're doing for LFNext


eval_ssd.py ERROR: ValueError: could not convert string to float: '(1)'

Hi Dusty, thank you for your sharing about jetson-inference. I got this issue, please help me to check it!
-Problem statement:
I already trained as SSD model and successfully exported to ONNX format. It work good on my Jetson Nano. But when I would like to evaluate this model, I got this issue.
eval_ssd.py:68: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
all_gt_boxes[class_index][image_id] = torch.tensor(all_gt_boxes[class_index][image_id])
It took 0.07900500297546387 seconds to load the model.
process image 0
Load Image: 0.040582 seconds.
Inference time:  0.008016347885131836
Prediction: 0.067816 seconds.
process image 1
Load Image: 0.036212 seconds.
Inference time:  0.00464940071105957
Prediction: 0.067012 seconds.
process image 2
Load Image: 0.037072 seconds.
Inference time:  0.004647731781005859
Prediction: 0.072039 seconds.
process image 3
Load Image: 0.035309 seconds.
Inference time:  0.00461125373840332
Prediction: 0.067192 seconds.
process image 4
Load Image: 0.034933 seconds.
Inference time:  0.004622459411621094
Prediction: 0.069671 seconds.
process image 5
Load Image: 0.036096 seconds.
Inference time:  0.004750728607177734
Prediction: 0.071544 seconds.
process image 6
Load Image: 0.035272 seconds.
Inference time:  0.005022764205932617
Prediction: 0.064818 seconds.
process image 7
Load Image: 0.034263 seconds.
Inference time:  0.004570722579956055
Prediction: 0.060545 seconds.
process image 8
Load Image: 0.037359 seconds.
Inference time:  0.004407167434692383
Prediction: 0.058782 seconds.
process image 9
Load Image: 0.035512 seconds.
Inference time:  0.00441741943359375
Prediction: 0.058493 seconds.
Average Precision Per-class:
Traceback (most recent call last):
File "eval_ssd.py", line 209, in
args.use_2007_metric
File "eval_ssd.py", line 81, in compute_average_precision_per_class
scores.append(float(t[1]))
ValueError: could not convert string to float: '(1)'
Need help!!

Hi @hisu66, are you running eval_ssd.py on a PyTorch checkpoint (.pth) or your ONNX model?   It should be run on PyTorch checkpoint

Hi Dusty, I used PyTorch file (.pth) with the lowest loss to evaluate. I had trained another dataset and evaluate, but it still happens with the same error. Notice that I used google colab to train and export.

Could you try run_ssd_example.py and see if that works?   I have not actually used eval_ssd.py - that came from the upstream author.

I haven't tried run_ssd_example before but I successfully implemented onnx file to my model on jetson nano. Moreover, I had searched and followed to many documents on google but the issue still persist. So, do you have any recommendations for this model evaluation?

Have you tried replacing torch.tensor(all_gt_boxes[class_index][image_id]) with all_gt_boxes[class_index][image_id].clone().detach()
Is it possible that one or more of your classes has no groundtruth boxes in the dataset?

Let's me try it now! I will response the result as soon as posible! Thank you for your advice, Dusty. You are my idol <3

hi Dusty, I replaced it as you advice, the issue still persist and similar to the old one:
Average Precision Per-class:
Traceback (most recent call last):
File "eval_ssd.py", line 209, in
args.use_2007_metric
File "eval_ssd.py", line 81, in compute_average_precision_per_class
scores.append(float(t[1]))
ValueError: could not convert string to float: '(2)'
The different is '(1)' replaced by '(2)'

Hmm unfortunately I haven't dug into this before...if you were to copy your pytorch checkpoint and dataset to your Nano, does it run there, or make same error?   Trying to see if it is related to the google colab environment.   My other thought is it is related to the dataset.
From: hisu66 @.>
Sent: Sunday, May 16, 2021 7:03 PM
To: dusty-nv/jetson-inference @.>
Cc: Dustin Franklin @.>; Comment @.>
Subject: Re: [dusty-nv/jetson-inference] eval_ssd.py ERROR: ValueError: could not convert string to float: '(1)' (#1050)
hi Dusty, I replaced it as you advice, the issue still persist and similar to the old one:
Average Precision Per-class:
Traceback (most recent call last):
File "eval_ssd.py", line 209, in
args.use_2007_metric
File "eval_ssd.py", line 81, in compute_average_precision_per_class
scores.append(float(t[1]))
ValueError: could not convert string to float: '(2)'
The different is '(1)' replaced by '(2)'

You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/dusty-nv/jetson-inference/issues/1050#issuecomment-841890311, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADVEGK4A7M3FIUFJIVISDMDTOBFI3ANCNFSM446GW66A.

I will try to used jetson nano to evaluate it. By the way, my dataset is a sequence of around 450 images with 4k resolution. Do you think the resolution affects it.

Hi Dusty, I tried to evaluate it on jetson nano, issue still persists. I think your second thought is right!

I think it has less to do with the resolution and more to do with the annotations.  Perhaps some annotation is missing or some class doesn't have annotations.   Is it possible for you to send me your dataset, .pth checkpoint, and labels.txt file?

Sure Dusty, this google drive link contains my data file which is located in data/vehicle and models/vehicle for .pth file (I used .pth at epoch 90 for onnx exportation) and models/vehiclessd1.onnx
https://drive.google.com/drive/folders/1zmxAuD0x210UUynuw2De7-hb_aqNHiw5

Unfortunately google drive keeps getting stuck zipping up your dataset when I go to download it.   Can you create a .tar file of your dataset and upload it instead?   I was able to download your .pth checkpoint and labels.txt without issue
I also confirmed that eval_ssd.py is working here on my example dataset, so I think the problem is related to the dataset.

Hi Dusty, I zipped that file as ssd.zip on this google drive link below. Please review it.
By the way, thank you for your finding, I am starting to annotate my data again. Appreciate your work <3
https://drive.google.com/drive/u/1/folders/1faJGsG0f7EcLHtujmg4Zc3Jv_3Y4Dsn8

Ah ok, I found that because your dataset files had spaces in the filenames, it was throwing off the eval script (which saves the results in space-separated CSV).  So instead I changed the script to use tab-separate TSV, and then it worked.
https://github.com/dusty-nv/pytorch-ssd/commit/543c887453015c14e7d8610a1483402d78d4662e
BTW here were the results on your dataset:
Average Precision Per-class:
Motorcycle: 0.30772282700675946
Car: 0.4618906822520599
Others: 0.20354212847493858

Average Precision Across All Classes: 0.32438521257791936

omg, you save my model, Dusty. Thank you very much. Appreciate your work until now. I will try to fix my dataset filenames in the next session. <3  Love it!

No problem, happy to help.  Yes to avoid any issue I would recommend to fix the dataset filenames / imageIDs so they don't have any spaces (perhaps underscore instead of spaces).  The code should work with spaces in filenames, but sometimes there are corner cases like this one.

Yes Dusty, I watched previous space issues and saw your recommendations about this problem. I don't think I will face to it. But I did :)) Anyway, thank you very much. You are my teacher from the beginning until now.


Upgrade jquery to 1.11

This would bring our version of jquery to be current, and likely result in various performance improvements!
The hard part will be upgrading to 1.9; in that 1.10 and 1.11 don't claim to have any backwards-incompatible changes.  See:

https://jquery.com/upgrade-guide/1.9/
https://blog.jquery.com/2013/05/24/jquery-1-10-0-and-2-0-1-released/
https://blog.jquery.com/2014/01/24/jquery-1-11-and-2-1-released/

From grepping through our codebase, here are a few 1.9 upgrade compatibility issues we'll need to solve:

[ ] Our version of jquery-validate seems to use .add() and a few other things.  We can probably just upgrade jquery-validate; they should support our current jquery version.
[ ] .browser (see #1033)
[ ] static/js/setup.js:    $('body').ajaxError(function (event, xhr) { should be using $(document)
[ ] prop vs. attr with checked:

(zulip-venv) tabbott@zaset:~/zulip$ git grep [.]attr | grep checked
static/js/invite.js:        $('#streams_to_add :checkbox').attr('checked', true);
static/js/invite.js:        $('#streams_to_add :checkbox').attr('checked', false);
static/js/subs.js:    not_in_home_view_checkbox.attr('checked', !value);
static/js/subs.js:    desktop_notifications_checkbox.attr('checked', value);
static/js/subs.js:    audible_notifications_checkbox.attr('checked', value);
static/js/subs.js:    pin_checkbox.attr('checked', value);
static/js/subs.js:        $('#people_to_add :checkbox').attr('checked', true);
static/js/subs.js:        $('#people_to_add :checkbox').attr('checked', false);

[ ] Grep for other .attr vs. .prop issues
[ ] .selector property used in bootstrap (may need to upgrade bootstrap?)
[ ] "jQuery.ajax returning a JSON result of an empty string" -- this is annoying old jquery bug we have a bunch of workarounds for; we will be able to remove this after the upgrade.

Contributions are definitely appreciated on this one, even if they're just fixing a few small issues.

Update: We downgraded back to 1.7.x due to some jquery performance regressions.

Upgrade successfully completed!  Thanks @brockwhittaker and @showell for all their help with this.


Clouber

Please only report on one project or product per issue
Guidelines for getting added to the CNCF Cloud Native Landscape:

We generally will only list a company in one box, to represent its major or best known offering. We occasionally make exceptions for large companies.
Projects with at least 250 GitHub stars that clearly fit in an existing category are generally included.
We are unlikely to create a new category for products/projects as we'd rather find the best home with the current options.
We are generally not including commercial versions of open source software, when that version just includes minor tweaks.
Closed source products need to link to a clear description of your product; no stealth mode companies.
Your project or company needs a logo.

Project or Product name:  Clouber
Is it open source? (if you are tempted to say partially, please answer no): No
What are the best URL(s) for it? Repo and homepage (if different) for open source, product homepage for closed source?: https://www.clouber.io
What one category does it best belong in? Container service
What's the URL for the best logo (and it needs to include the name)?
https://www.clouber.io/images/clouberLongC_logo_v1.png
Anything else we need to know?:  Clouber container service includes auto-containerization of VMs.

Closing as this update was included in the most recent version https://github.com/cncf/landscape#current-version


Grounding-SAM Issues with multi-image predictions

Hello! Thank you for your work, I would like to ask some questions regarding multiple images predicting using the grounded_sam_demo. I have looked through previous issues, there seem to be some way to perform multi-batch inference? I am not very sure how it works, but I tried to create a for loop in my image_paths to predict all the .jpg in my image files. However, when I am on my 2nd loop, cuda ran out of memory, hence would like to see if anyone has any solution to this?
This was what I have adjusted mainly in grounded_sam_demo.py

This shows that cuda ran out of memory...

Not a maintainer, however it looks like the reason for the error is that you simply do not have enough VRAM on your system to perform inference on a batch of that size, try to reduce the batch size until you get to a load that your GPU is comfortable with.


Flekschas/add label margin

Added 4 new options to enable applying margin to labels:
{
  labelLeftMargin: 10,  // applied on label positions topLeft and bottomLeft
  labelRightMargin: 10,  // applied on label positions topRight and bottomRight
  labelTopMargin: 10,  // applied on label positions topLeft and topRight
  labelBottomMargin: 10,  // applied on label positions bottomLeft and bottomRight
}

Example

(See bar-track-color-range.html for a live demo)

Without your comments it's hard to know where the labels are being moved. How about something like marginToLabelPositionXAxis and marginToLabelPositionYAxis or something like that?

My naming is inspired by CSS. If you have a div and set margin-top:10px then it's pushed down 10px from it's original y position. This is exactly what's happening with the labels. The only difference is that opposing margins are ignore. In CSS one could push an element upwards by specifying margin-bottom to be larger than the height of the elements contain minus it's own height. This is not supported right now since the same effect can be achieved with negative top margin (e.g., labelTopMargin: -10 moved the label 10px upwards) I wouldn't know why anyone would ever want to do this but we could implement it in the future.
To me this is more intuitive than thinking about a continuous X axis. Is that's more a Python thing?

Ok, that makes sense. Is there documentation for that? And tests?

3x no. 😅
I will add docs and see if I can extend an existing test for the label pos (does it exist?). I have no idea how the SVG renderer works. Is doing something automatic or essentially a re-implementation of the same PIXI.js logic?

I can extend an existing test for the label pos (does it exist?)

I quickly checked in HiGlassComponentTest and didn't find anything. Just make a new file.

Is doing something automatic or essentially a re-implementation of the same PIXI.js logic?

Unfortunately mostly the latter. Some tracks are clever and store locations of rectangles and colors, but most just have a reimplementation of the rendering function. The label drawing is handled in PixiTrack.js and most of it is implemented. You just have to modify it slightly to work with your new options.
I find it helpful to set up a test harness that automatically exports to SVG so that I can work on the implementation and see the output without constantly having to use the mouse to click on export to SVG. After that I just add a quick check or two to make sure the SVG output makes some sense. Even just grepping for a string is useful.

@Pete Where are we documenting globale track options? I might just not find it but where did you document things like labelPosition, labelColor, etc? Picking an arbitrary track doesn't make sense to me.

@flekschas I appreciate the request for my input, but I cannot say where such a thing is documented, being wholly unfamiliar with this codebase and the patch in question.

@flekschas No worries, I get random notifications a lot.  My hobby is to always reply to them as sincerely as possible.
I think they do autocomplete basically anyone.

Either here: https://github.com/higlass/higlass/blob/develop/docs/view_config.rst
or...
In the track types section here: https://github.com/higlass/higlass/blob/develop/docs/track_types.rst
Probably better in the latter.


Issue #12 is closed but no new release...

is there any news?
The case has already been closed but there is no new release for several weeks. #12

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Nope and since this is just a question and not an issue, I'm closing it again.
Please join our Discord server for general questions and support.

I also have the same problem on version 2.0
Thank you


Any step-by-step instructions to solve the problem temporily ? thanks!

          > >  Any step-by-step instructions to solve the problem temporily ? thanks!

Spent an hour and figured it out. Here are the step by step instructions by people newbie like me.

Make sure Node.js 8+ is installed. Instructions can be found on the official page

Install leetcode-cli from OS terminal or the terminal within vscode. Installation guide. Note the "From Github" section links to an older version.

# to remove the old version
npm uninstall -g leetcode-cli
# to install the up-to-date version(2.6.17+)
npm install -g leetcode-tools/leetcode-cli

Type leetcode version in terminal to make sure you installed version 2.6.17+.

Log into leetcode.com in a browser. In Chrome, right click and select "Inspect". Switch to tab "Network", "XHR". Then click any button on leetcode.com(now should be on the left split screen). Now you should be able to see the cookie as @yihong0618 showed in the pic. Copy the entire cookie string starting from "__cfduid" and ending with "_gat=1"

Type leetcode user -c from terminal within vscode. Follow the prompt and type in your username and cookie you copied above.

Originally posted by @wuyifat in https://github.com/LeetCode-OpenSource/vscode-leetcode/issues/478#issuecomment-564757098

After following all cmd.  this is returning on passing leetcode version
leetcode : File C:\Users\RTX\AppData\Roaming\npm\leetcode.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1

leetcode version

  + CategoryInfo          : SecurityError: (:) [], PSSecurityException
  + FullyQualifiedErrorId : UnauthorizedAccess


Validate certs by default on forward proxy

Provide an option --trust-all to allow turning this behaviour off.

Looks good. Happy for this to be merged now.


Local gulp not found

In an empty directory I'm running:
npm install semantic-ui
cd semantic/
gulp build

The gulp command errors out with:
Local gulp not found in ~/dev/test-project/semantic
Try running: npm install gulp

I can see gulp is installed locally at ~/dev/test-project/node_modules/semantic-ui/node_modules/gulp along with all the gulp plugins, not sure why it's not seeing it.
Manually installing gulp via npm as it suggests fixes the missing gulp message but then I'd need to install all the other semantic-ui dependencies too.
I'm running OSX 10.10.2, I did get a friend to test on Ubuntu and they couldn't reproduce the issue.

it sounds like npm isnt grabbing peerDependencies. Are you using an old version of npm that doesn't support them?

I'm running npm 2.7.5, was getting these warnings for each peerDependency when doing npm install:
npm WARN peerDependencies The peer dependency<EMAIL_ADDRESS>included from semantic-ui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.

I did actually try downgrading to npm 1.4.28 (which my friend was running) but had the same issue.

oh lord this is a new message.. i need to check over on the npm boards

Looks like peer deps is deprecated
http://blog.npmjs.org/post/110924823920/npm-weekly-5
Now to investigate NPM3s approach to resolving deps... preliminary glance shows maybe this will be a good thing for SUI

Discussion going on here https://github.com/npm/npm/issues/6565#issuecomment-74971689

I have the same issue with peerDependencies not being installed automatically.
What are the install commands to work around this? Should the documentation be updated?
npm 2.13.1
node v0.12.7
OS X 10.10.4

@aristidesfl Those should only be warning flags and will not affect install until npm@3 launches.

@jlukic but it does
20:54:33] Using gulpfile ~/Work/test/node_modules/semantic-ui/gulpfile.js
[20:54:33] Starting 'install'...
[?] Set-up Semantic UI: Automatic (Use defaults locations and all components)
[?] We detected you are using NPM. Nice!

    Is this your project folder?
    /Users/user/Work/test Yes
[?] Where should we put Semantic UI inside your project? semantic/
Installing
------------------------------
Installing to semantic/
Copying UI definitions
Copying UI themes
Copying gulp tasks
Adding theme files
Creating gulpfile.js
Creating site theme folder /Users/user/Work/test/semantic/src/site/
Adjusting @siteFolder to:  site/
Creating src/theme.config (LESS config) /Users/user/Work/test/semantic/src/theme.config
Creating config file (semantic.json) /Users/user/Work/test/semantic.json
Install complete! Navigate to semantic/ and run "gulp build" to build
[20:54:41] Finished 'install' after 7.59 s

^C~
user at unknown in ~/Work/test
$ cd semantic/

user at unknown in ~/Work/test/semantic
$ gulp build
module.js:338
    throw err;
          ^
Error: Cannot find module 'object-assign'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/Users/user/Work/test/node_modules/gulp-help/index.js:1:82)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)

I'll keep looking..

In your example you have
^C~
It looks like you exited after install script using ctrl+c before deps finished resolving.

It says [20:54:41] Finished 'install' after 7.59 s
Is the install not finished even though it says so?

No, peer dependencies install after install scripts run.

I've found a fix for this. Looks like the install scripts need to call process.exit(); in later NPM or else will hang.

It clearly states Finished 'install' after
but I have the same problem as topic starter...

I'm working on this currently. I know this is a huge annoying deal for those who are experiencing it.
The install script is not terminating the process correctly. In older versions of NPM everything works fine, but more recent versions have this issue. Since peerDeps resolve after install scripts, they will never get installed.
I'll try to have a fix today or tomorrow.

Thanks @jlukic

Okay it seems like you just need to run npm install semantic-ui twice :|

Can anyone try against next branch from a fresh project? I think I have resolved the issues
npm install Semantic-Org/Semantic-UI#next

@jlukic
$ npm install Semantic-Org/Semantic-UI#next
npm WARN excluding symbolic link tests/withsymlinks/.hidden -> ../shown/.hidden
npm WARN excluding symbolic link tests/withsymlinks/bar.txt -> ../shown/bar.txt
npm WARN excluding symbolic link tests/withsymlinks/.hidden -> ../shown/.hidden
npm WARN excluding symbolic link tests/withsymlinks/bar.txt -> ../shown/bar.txt
-
><EMAIL_ADDRESS>install /Users/user/Work/test/node_modules/semantic-ui
> gulp install

module.js:338
    throw err;
          ^
Error: Cannot find module 'process-nextick-args'
    at Function.Module._resolveFilename (module.js:336:15)
    at Function.Module._load (module.js:278:25)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/Users/user/Work/test/node_modules/gulp-util/node_modules/through2/node_modules/readable-stream/lib/_stream_duplex.js:20:23)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
npm ERR! Darwin 14.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "Semantic-Org/Semantic-UI#next"
npm ERR! node v0.12.7
npm ERR! npm  v2.13.1
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `gulp install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'gulp install'.
npm ERR! This is most likely a problem with the semantic-ui package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     gulp install
npm ERR! You can get their info via:
npm ERR!     npm owner ls semantic-ui
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/user/Work/test/npm-debug.log

Can you gist your npm-debug.log?

I'll try the next branch right now, I've been trying to fix this issue for the past hour or so.

The next branch fixes this issue! Semantic installs and works out-of-the-box. The solution does seem somewhat hacky however, and from what I understand migrating away from using peerDependencies should make the install script go much smoother.

There is another branch npm3 which is compatible with the upcoming NPM release. Flat dependencies rule.

This was incorrectly tagged as 2.1.0 and has already been resolved.


Support SciPy 1.8

Please wait before SciPy 1.8 is officially released.

/test mini

@kmaehashi Failed to backport automatically.

Not cleanly cherry-picked


ST-70 Assault Ship missing Razorcrest ship title

** Fly Casual Release Version**
Which version did the bug occur in?
v2.5.20240223.01-Windows
Describe the bug
A clear and concise description of what the bug is.
When building a Scum list with Din Djarin in the ST-70 Assault Ship, the Razor Crest upgrade was not available.
Also could not find Clan Training under talents
To Reproduce
Steps to reproduce the behavior:

Start making a new scum list
Add the ST-70
Select Din Djarin as the pilot
Go to loadout for the ST-70
Click talents
See "Clan Training" is not available
Go Back
Click Title
No upgrades are available

Expected behavior
A clear and concise description of what you expected to happen.
Expect to see missing upgrades
Screenshots
If applicable, add screenshots to help explain your problem.
Talent screen for ST-70

Title screen for ST-70

Platform/Device (please complete the following information):

OS: Windows
Version Windows 10

Additional context
Add any other context about the problem here.

It appears that the ship was added but the title never was. Marking this as a (missing) feature request instead of a bug.

Razor Crest title added--commit 67abdeb.

Clan Training imported by @philpursglove, commit e5f6af5 (see issue #44)