Arrowhead

@travisv, can you create a feature branch for all of your exercises? Keep master clean and cut a new branch from master for each exercise. Then create a PR from your feature branch.
The reviews get harder and harder if you are submitting the code for all your previous exercises.
Be sure to always preview your diff prior to creating the PR.
I'm going to have to close this PR and ask you to resubmit once you get things cleaned up. Let me know if you have any trouble with getting things cleaned up (I'm not a super advanced git user so I don't know the best way to get this) Perhaps you can cut a new branch with all of the exercise code called old_master and then blow away all the commits on master and go back to the commit before you added anything. Then create three feature branches and copy and past the code from old_master. There is probably a better way to do this. I'm looking at you, @jmmastey

Alright, I understand.  I'm having some trouble figuring out how to get my previous commits cleaned up.  This is the first time I have submitted pull requests.

You may want to try:
# maybe copy your exercise code into a temporary file somewhere outside of the repo
git branch old_master
git reset --hard 9929c41749239e2bdd71f5bbee4319b6edfce748
git checkout -b some_feature_branch
# at this point you can copy over your exercise code
# commit and push this branch to your fork
# now go back to master and cut a new feature branch
git checkout master
git checkout -b next_feature_branch
# repeat

There are probably better ways than this. Let me know if you have any questions about this


Suggestion: Could we have access to a sleep/turn off function

Hello guys, I am coding some Unity Code with the use of this API.

In my applications have situation where it would be nice to put the device in sleep mode manually and to unsleep it when we request something for the user.
Example:

A dentist application need to unsleep the tap to ask something.
The dentist tap the answer
The application sleep the input until the next question.

When I make people test the Tap, it has often happened to me that to be polity I let's the user drop the tap where he want and take it back later when the discussion is over.  What I would like to have is the possibility in those situation to just push a button on the app to turn off the tap.
I have other examples, but you understand the idea.

Would it be possible ?
Does it take your team too mush work to implement it ?
Kind regards,
Eloi
Ps: Thank for the API improvement, last time I check was months ago.
Now, the code in Unity works like a charm. And the ability to set the device in "Controller" mode is amazing :).

Maybe my answer is over there :)
class TapInputAndroid


root_numpy and conda?

To start with, I'm developing REP, which wraps different classifiers.
root_numpy is important part we're relying on both to work with ROOT data and handle TMVA.
Though I really like it, this is the most problematic dependency (due to ROOT).
I'm looking for not-so-slow and reliable way to deploy REP (Docker is definitely bad option for trying something new).
Up to this moment the only way I found which is able to work not only on Ubuntu is miniconda.
Probably, you know that there is painless way to use root_numpy:
conda install -c nlesc root_numpy

This works in Ubuntu (I checked) and claimed to work at Mac OS, but not windows.
This method I knew from @ibab,  and I believe that package is prepared by @remenska.
I am able to get all other dependencies of REP using conda:
https://travis-ci.org/arogozhnikov/rep/jobs/86099983
...so the question

is it possible at all to prepare windows package for root_numpy?
if yes, does anyone ready to work on this?

This would terribly simplify everything (and I believe that not only for me, but for other users and developers too).

Hi @arogozhnikov
windows package for root_numpy can be made available on conda, but again, it depends on ROOT.
If you're able to provide a windows ROOT package on conda, problem would be solved.
It's really a low priority at the moment, since I have no experience with compiling ROOT on Windows.

I also have no experience with ROOT/root_numpy on Windows.

I also have no experience with ROOT/root_numpy on Windows.

Neither do I. Tried digging.
The way proposed to build ROOT is MSVS (sic!) 2010.
This is not automatable at all.
Since ROOT is compiled already for windows, one should skip this process and use compiled ROOT.
But the latest releases even don't have binaries for Windows (?!).

I seriously doubt the ROOT team is focused on getting ROOT out for Windows -- there are still minor issues with Linux and Mac. Is there a particular reason one needs to run ROOT with Windows (I don't have much experience but it has been quite painful).

I think this ends up as an issue on the ROOT side. They need to provide Windows support before we can do anything with root_numpy there. There are ROOT 5 builds for Windows but nothing for ROOT 6 yet.
https://root.cern.ch/phpBB3/viewtopic.php?t=18232
If windows support isn't essential, then you already have everything you need for Ubuntu and Mac OS, right? I'll close this for now and reopen later if needed.


Continuous update failure in detailed snapshot

Describe the bug
On occasion, it happens when detailed snapshot information is opened as soon as its snapshot created. The pooling progress bar is not being updated as it moves toward the completion.
To Reproduce
Steps to reproduce the behavior:
1 . Go to data flow main grid
2 . Create a snapshot
3 . Open the detailed snapshot information right after creation
4 . See error
Expected behavior
The progress bar should be updated simultaneously as pooling proceeds.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

it does not throw this error in local development mode. After product build, I will double check that.

@joohokim1 This issue has been resolved.


Why is install dependencies in Bolt.New so bad?

Describe the bug
it's taking forever to intel and error after error with no hope of fixing the problem soon.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-s4fgkl
Steps to reproduce
n/a
Expected behavior
Not installing dependencies quick enough and preview not showing been waiting for hours, keep coming with errors.
Screen Recording / Screenshot
n/a
Platform
Browser name = Safari
Full version = 18.0.1
Major version = 18
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0.1 Safari/605.1.15
performance.memory = undefined
Username = tbmosweu
Chat ID = 09b707436915

Additional context
n/a

Appreciate the feedback! We are aware of this issue and are tracking it here.


Provide guidance on how this information should be used, esp wrt presentations / papers

Thanks to @akrystosik for this feedback.
Suggestion from @katrinakalantar :

One idea might be to concretely show / provide examples of how you would take this information into a publication / presentation. Maybe showing tree + galago + example manuscript paragraph.

closing as this should be covered in the faq / methods documentation


json_format of protobuf

Hi,
It would be great if json_format definitions are also created while compiling the proto file.
Thanks,
Dilip Vamsi.

Hi - looks like it is in typeshed https://github.com/python/typeshed/blob/master/third_party/2and3/google/protobuf/json_format.pyi
Is there anything more specific you'd like to have in the autogenerated pyi files?
Sorry - I am not familiar with json_format and would appreciate some more details to bring me up to speed.

based on my readthrough, the typing in typeshed covers the json_format. It's not clear to me what autogenerated .pyi definitions would bring to the table. PRs are welcome!

Hi,
Sorry, what I meant was json mapping https://developers.google.com/protocol-buffers/docs/proto3#json_mapping not json format.
If this is present in pyi file. It is will help in building a dict in accordance with the protobuf.
Using this I need not create an protobuf object and then convert to dict.

What annotation are you looking for? Can you provide some example code which is under-annotated today?
It looks like these json_mapping methods are annotated in typeshed. Is there anything more specific you'd like to have in the autogenerated pyi files? https://github.com/python/typeshed/blob/master/third_party/2and3/google/protobuf/json_format.pyi

I presenting an example for both proto2 and proto3 implementations.
As converting to json has 2 versions one with preserving the names and other is converting them to the json names.
For proto 2
message Hello {
  required string name = 1;
  required google.protobuf.Timestamp timestamp = 2;
}
message Sample {
  optional string string = 1;
  optional int64 large_int = 2;
  optional Hello hello = 3;
  required int32 small_int = 4;
  repeated int32 numbers = 5;
}

I want a auto generated typed classes be
class Hello___JSON_PRESERVING(typing.TypedDict):
    name: str
    timestamp: str

class Sample___JSON_PRESERVING(typing.TypedDict):
     string: typing.Optional[str]
     large_int: typing.Optional[str]
     hello: typing.Optional[Hello___JSON_PRESERVING]
     small_int: int
     numbers: typing.Optional[typing.List[int]]

class Hello___JSON(typing.TypedDict):
    name: str
    timestamp: str

class Sample___JSON(typing.TypedDict):
     string: typing.Optional[str]
     largeInt: typing.Optional[str]
     hello: typing.Optional[Hello___JSON]
     smallInt: int
     numbers: typing.Optional[typing.List[int]]

For proto 3
message Hello {
  string name = 1;
  google.protobuf.Timestamp timestamp = 2;
}
message Sample {
  string string = 1;
  int64 large_int = 2;
  Hello hello = 3;
  int32 small_int = 4;
  int32 numbers = 5;
}

I want a auto generated typed classes be
class Hello___JSON_PRESERVING(typing.TypedDict):
    name: typing.Optional[str]
    timestamp: typing.Optional[str]

class Sample___JSON_PRESERVING(typing.TypedDict):
     string: typing.Optional[str]
     large_int: typing.Optional[str]
     hello: typing.Optional[Hello___JSON_PRESERVING]
     small_int: typing.Optional[int]
     numbers: typing.Optional[typing.List[int]]

class Hello___JSON(typing.TypedDict):
    name: typing.Optional[str]
    timestamp: typing.Optional[str]

class Sample___JSON(typing.TypedDict):
     string: typing.Optional[str]
     large_int: typing.Optional[str]
     hello: typing.Optional[Hello___JSON]
     small_int: typing.Optional[int]
     numbers: typing.Optional[typing.List[int]]

Yep - this seems reasonable. I would be amenable to autogenerating these.
They could be generated under the namespace of the original message - making importing easier - as Hello would be generated in both the _pb2.py and the _pb2.pyi
For example
class Hello(typing.TypedDict):
    class __JSONFormatDict(typing.TypedDict):
        [fields]


Update the color of note chat message bubbles

https://trello.com/c/OXlQfWF7/960-update-note-styling-to-be-more-accessible
Changes the note message bubble to text yellow-900, background yellow-200 and border yellow-400 so that there is more contrast between text and background. This will become more noticeable when we change the color yellow to the new palette.
Storybook: https://deploy-preview-487--hsds-react.netlify.com/?selectedKind=Message&selectedStory=content&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel

Pull Request Test Coverage Report for Build 1649

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

Totals

Change from base Build 1647:
0.0%

Covered Lines:
6222

Relevant Lines:
6222

💛  - Coveralls

@ItsJonQ My pleasure. I'm still chasing down Nickolas to the coveted number two spot 🥈on the Blue contributor page 😆

🙌


[BUG] Doxygen Not Being Generated Due to Missing Label

If you run doyxgen over the sdk inc folders documentation doesn't get generated due to a missing label doyxgen requires at the top of files which need generated docs. Missing is the following at the top:
/**
 * @file <insert header file name>
* /

Example here

@danewalton , can you share the Doxyfile you are using or the steps to reproduce this?
I have added the missing label but I want to see how your are invoking Doxygen

https://github.com/Azure/azure-sdk-for-c/pull/355

Yea here is the Doxyfile used for ulib. Inside you can define the sources/directories for files to parse and any options you may want. From the computer you invoke
doxygen Doxyfile

from the directory that houses the generated the docs.

@danewalton  I have merged #355
Can you see if this resolve this issue?
I have added some more docs in headers for some structures.  I will be adding all missing docs in a new PR

@danewalton did you try from latest master if it works as expected now?  Wonder if we can close this issue now?

i didnt try but all the headers look like they have the @file so we should be good here. ill go ahead and close it.


Strange LCD state when displaying font German in EvChargePoint demo

https://user-images.githubusercontent.com/48436368/141944800-7d79cab2-1e84-41c7-ac07-2b0d29b35032.mp4
This issue is not happen in C program.

The LCD branch is MICROTECH, model: MTF101IA-01D
website: http://www.microtech-lcd.com/product/180.html

Program after fix:
https://user-images.githubusercontent.com/48436368/142380908-08c02669-ebdd-4dde-9267-55e7a2edbc1b.mp4


Updates JSDoc params for readdir constructor

Documentation change
Denotes callback as optional and adds an Object type in readdir JSDocs.

Because I hate seeing IDE's squiggly lines

There is no such code in master — Check out the merge conflicts.

You're right. This is supposed to be a change to v2.x , not v3.x. How would I resolve this?

Maybe we don’t merge it? V3 is coming soon, and it’s  the massive improvement over v2. It doesn’t make sense to release new v2 just for the comment change. Comment change AND something else could make sense


Not compatible with Python3

Unfortunately ad-ldap-enum.py is not compatible with python3.
Can anyone estimate how long it would take to migrate the script to python3?

I don't see any replies to date; I just ported over my quick edit to make it python3/ldap3 compatible.  Check it out!

Unfortunately ad-ldap-enum.py is not compatible with python3.
Can anyone estimate how long it would take to migrate the script to python3?

I don't see any replies to date; I just forked and ported over my quick edits to make it python3/ldap3 compatible.  Check it out if you are still looking!

Sorry for the late answer and thank you for porting ad-ldap-enum to Python3

The change for Python 3 are only available in the fork. Any changes that those changes are included here?

fixed with merge #23


Published .NET 6 Isolated Azure Function Project to .NET 6 Function App but showing the .NET 5 related message in Function Menu of Azure Function App Portal

When I created the Azure Function App which is .NET 6 Isolated version both in local (VS 2022) and Azure Portal and published the same but showing .NET 5 related message in the Functions Menu.
Message:
Editing .NET 5 Function Apps is not supported in the Azure portal. Use your local development environment to edit this Function App.

Steps to reproduce:

Created .NET 6 Isolated Azure Functions HTTP Trigger in Visual Studio (default code in HTTP Trigger)
Build and Published to .NET 6 Azure Function App created in the Azure portal
Come to Functions Menu of the Azure Function App, you'll see a message of

Here the .csproj file code of Function Project is:
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
    <AzureFunctionsVersion>v4</AzureFunctionsVersion>
    <OutputType>Exe</OutputType>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.0.12" />
    <PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.3.0" />
    <PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.6.0" />
  </ItemGroup>
  <ItemGroup>
    <None Update="host.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Update="local.settings.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
      <CopyToPublishDirectory>Never</CopyToPublishDirectory>
    </None>
  </ItemGroup>
  <ItemGroup>
    <Using Include="System.Threading.ExecutionContext" Alias="ExecutionContext" />
  </ItemGroup>
</Project>

loca.settings.json file code:
{
    "IsEncrypted": false,
    "Values": {
        "AzureWebJobsStorage": "UseDevelopmentStorage=true",
        "FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated"
    }
}

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

ID: 6e88ea08-81ef-2b5a-b9d6-539e85592672
Version Independent ID: f2d8b7b4-906a-d1f5-5201-fc22a7890955
Content: Quickstart: Create your first C# function in Azure using Visual Studio
Content Source: articles/azure-functions/functions-create-your-first-function-visual-studio.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Thank you for your feedback! We will review and update as appropriate.

is this issue resolved?

is this issue resolved?

Not Yet resolved. Facing the Same

This might have been a temporary issue within Portal. The correct warning should show now:

If you continue to see the same issue, please make a new post on the MS Q&A channel and we'd be happy to assist you there!
Since we didn't determine any faulty steps and changes to this documentation upon reviewing this issue, we will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


feat: add support for ttl cleanup for finished jobsets

CHANGELOG

Added TTLSecondsAfterFinished *int32 in JobSetSpec with validation for minimal value 0
Run make manifests and make generate to update autogenerated code
Updated JobSet Controller to handle cleanup after TTL expires
Added unit and integration tests

This PR closes https://github.com/kubernetes-sigs/jobset/issues/279

/cc @kannon92 @ahg-g @danielvegamyhre

Reference to the closed PR with original comments - https://github.com/kubernetes-sigs/jobset/pull/374
Should I add the metrics here also (I added the jobset_deletion_duration_seconds in the closed PR)?

/ok-to-test

@dejanzele are you still working on this?

@dejanzele are you still working on this?

yes, I was off due to KubeCon, now I can resolve your comments

@dejanzele can you add an example JobSet yaml to the examples/simple/ folder which utilizes this feature?

/hold
I will take a quick look

@danielvegamyhre yes, I plan on submiting a new commit today

/lgtm
I'll leave approval to @ahg-g so he can confirm his comments have been resolved.

@danielvegamyhre @ahg-g is there a chance this feature makes it into the v0.5.0 release?

@danielvegamyhre @ahg-g is there a chance this feature makes it into the v0.5.0 release?

Lightly following this, we called this out in the release tracking issue. And it seems that the PR is almost there. So I think its possible. its the last item for the release.

@danielvegamyhre @ahg-g is there a chance this feature makes it into the v0.5.0 release?

I think so, we plan to cut the release tomorrow but we can wait an extra day or two if necessary.

Cool, I think all comments are addressed

/label tide/merge-method-squash
/lgtm
/approve
Thanks!

@ahg-g I think you need to unhold also

/hold cancel


Add count and delete functions

This allows us to get the number of dashboards, charts, databases and datasets are in the instance.
As well as the capability of delete them.

Thank you for contributing @manueliglesiasgarcia


Refactor PageHeader

Per @ashenden's request, the PageHeader will now vertically align the icon, text heading, and action buttons. The sub-heading is now left-aligned underneath all three of these elements.
Relevant integration tests passing:

Reviewer: @daiyiwhale

restest this please

Minor comments. Looks good! 🚢

retest this please

retest this please


Waveform channel mapping

Hi,
Thank you for developping Phy!
I'm currently using template-gui with kilosort, and cannot seem to get more than one column of channel waveforms with Template-gui. I'm using the eMouse code from Kilosort, and it seems to be displaying channels with a unique y coordinate (regardless of x). Overlapping y coordinates are not shown in the gui, and x coordinates does not seem to have an effect. I've verified this with the .npy Channel position and Channel map files.  Has anyone else had a similar issue?

I would like to also add that I'm using phy 1.0.9, and when I look at Probeview, both columns are there, but Waveform view only shows me one. This is a screenshot of the test dataset from
https://phy-contrib.readthedocs.io/en/latest/template-gui/#test-datasets

maybe try to delete ~/.phy/ to reset the view state of the waveform view?


[Bug]: browser process hangs forever trying to interact with default XML style

Bug description

I noted puppeteer hangs forever if you add a custom stylesheet to an XML URL that already has the default Chrome style (this is very common for sitemaps)
Steps to reproduce the problem:
const puppeteer = require('puppeteer')
const termImg = require('term-img')

;(async () => {
  const browser = await puppeteer.launch()
  const context = await browser.createIncognitoBrowserContext()
  const page = await context.newPage()

  await page.goto('https://leerob.io/sitemap.xml')
  await page.addStyleTag({ content: 'body{background: red}' })

  const buffer = await page.screenshot()

  console.log(termImg(buffer))

  await browser.close()
})()

Running puppeteer in a non-headless way I can see how the stylesheet is actually added to the page, but the buffer with the content is never returned at the code level, it hangs there forever.
Note it's only happening with the default Chrome style for XML!
If you target an XML that is not using the default Chrome style (for example this, it's working fine.

Also, it's not a thing related to screenshotting. I used page.screenshot() to make it evident but the same behavior is there even you use page.content()
Puppeteer version
10.4.0
Node.js version
14.18.0
npm version
6.14.15
What operating system are you seeing the problem on?
Tested the error is present on Linux and macOS

@jschfflr do you know if is it a way (maybe a flag?) to disable the XML default style behavior? that will resolve the issue

From looking at the code, it doesn't seem possible unfortunately. But you could maybe try to use request interception to modify the response to get it into rendering custom styles.


Better process management

Better process management:

When executing child process, create new process group.
Set Pdeathsig on Linux to send SIGTERM to child if ghostunnel exists. This avoids child processes being orphaned in case of e.g. a bug in ghostunnel that causes it to exit without terminating the child process.
Signal handler to forward signals to child process group. If ghostunnel receives a SIGTERM, we forward and send SIGTERM to child process group to tell it to shut down.
Handle SIGCHLD in main signal handler, to get ghostunnel to shut down if the child exits. Previously ghostunnel was just blocking on waitpid() and ignoring SIGCHLD.

Note that this doesn't clean up any processes that are orphaned and given to ghostunnel, e.g. if ghostunnel is running as PID 1 in a container. I don't think ghostunnel should be used for that purpose, something like dumb-init already solves that problem. This is just to make the process management more robust when using ghostunnel on a shared system e.g. under runit (runit doesn't take care of orphaned processes).

We have basic integration tests for spawning a child process that (1) works fine, (2) ignores SIGTERM and (3) exists immediately. Nothing for process groups though, the tests only have a single child process. Unfortunately it's a bit hard to set this up for testing.


[ADAM-1372] Increase visibility for DefaultHeaderLines.allHeaderLines

Fixes #1372

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/1760/
Test PASSed.

Merged! Thanks @heuermh!


feat: Improve Documentation

Description
I've gone through the repository and I see that there are rooms for documentation improvement. The aim is to give clear explanations and instructions for contributors, especially those who are new to open source.
Right now, the README is a bit challenging to navigate for people who come to this repository for the first time. And there are also essential things missing in this repository.
Suggestions
Add a license
Without a license, this repository is automatically licensed under "All Rights Reserved" which means that no one may use, modify, or redistribute anything in the project unless you as the owner gives them permission to.
So you need to add a LICENSE file to this repo and link the license in its section on the README. This website is very helpful in explaining Software Licenses in Plain English. MIT License is one of licenses that's used most in open source.
Add a code of conduct
Having a code of conduct helps to maintain a safe and welcoming space for contributors. It will also help you to moderate contributions and communication going on.
You can use your community's code of conduct and put it in a CODE_OF_CONDUCT.md file. Or you can use a template from GitHub to add one.
Change the title "Suggesting a Resource" to "Contributing Guide"
I see this section contains:

Inviting contributors to submit resources.
Navigate contributors to "How to submit your suggestion" — which contains the instructions to contribute.

So having a straightforward title will give clarification about the section.
Replace the knowledge-hub/how-to/submit-your-suggestion.md with CONTRIBUTING.md that will live in the root.
CONTRIBUTING.md is a well-known file accross open-source projects that serves as a guide for contributors. Replacing the knowledge-hub/how-to/submit-your-suggestion.md with CONTRIBUTING.md will help SheSharp members to get familiar with the file and know where to find it in a repository when they contribute to other OSS projects.
You want to also mention here what type of resources you are accepting for contributions.
Move the "Randstad Housing Resources" and "Organizations that help women and non-binary people break into tech" in the README to their own files.
There is the table of content in the README. However, it's confusing to see various things going on in the README.
For example, in the introduction I read this:

The resources collected here cover different areas, such as software development, data analysis, product management and quality assurance.

But we do have other resources outside what stated there.
This suggestion also comes from a consideration that potentially the list in the resources will get longer and SheSharp may add new resources type, for example, "Job hunt resources", "Resources for moms in tech", etc.
My suggestion is to move the resources to their own files and we can link these files on the README, but not having their content in the README.
Social Media section

Adjust the title to "SheSharp Members' Social Media" or something like that to clarify that only the SheSharp members are on the list, except if this repository is accepting contributions from outside of the community.
Having the social media section (Instagram, LinkedIn, Twitter, GitHub profiles, etc.) on the README is great. But when it's getting much longer, you want to consider to move it to its own file.

How to communicate
I see this sentence in the contributing guide:

If you need any help, feel free to raise an issue.

It would be best to give this sentence more attention so contributors can find it quickly.
My suggestion to have its own section on the README called "Do You Have Questions?" or "Community" or anything else that suit your need.
This section will contain:

When contributors need help, have questions or ideas, where do they need to go? — Slack (and which channel), raise an issue, or using Discussion board?
Optional — if someone wants to contribute but not a SheSharp member, how to join SheSharp?

Is this repository receiving contributions from members only?
If this repo receives contributions from members only, you want to make it clear by mentioning about it in the introduction on the README. Otherwise, you can state that you encourage everyone to contribute.
Clarify the Step by step section.
We don't want to assume that everybody knows the syntax on how to clone, create a new branch, commit, etc. So a clarification on how to do them would help beginners in open source to contribute to this repo.
We can do so by:
Linking each step to a resource. For example:

Create a branch with a name that relates with your contribution.

OR
Manually write the instructions. For example:

Create a branch with a name that relates with your contribution.
Run this command in your terminal to create a new branch and navigate to it:
git checkout -b <branch-name>

For example:
git checkout -b feat/add-ayu-linkedin

Hi @mariahlaqua and maintainers team,
I'm down to help you break down this issue into small ones and work on them if you give them a go 🙂.
Just let me know which ones you approve.
Thank you 😊.

Great issue @adiati98 , thank you so much. Looking forward to seeing some PRs to improve this repo.

Thanks for creating this issue. I agree with everything! Great suggestions.

Hi @mariahlaqua and @saragerion, here is the list of our tasks so far 😊
Tasks done:

[x] Add a code of conduct
[x] Change the title "Suggesting a Resource" to "Contributing Guide"
[x] Replace the submit-your-suggestion.md with CONTRIBUTING.md that will live in the root.
[x] Move the "Randstad Housing Resources" and "Organizations that help women and non-binary people break into tech" in the README to their own files.
[x] How to communicate
[x] Clarify the Step by step section.

Tasks on progress:

[ ] Add a license --> License is not supported in .github repository. So we need to create license for each repo and mention it in a section at the README.
[ ] Social Media section.
[ ] Is this repository receiving contributions from members only?

@adiati98 - I think anyone can contribute for now

It looks like we can't add a license to the knowledge hub - or at least I cannot.

Maybe @saragerion has the permissions for adding a license to this one?

Maybe @saragerion has the permissions for adding a license to this one?

Thanks for calling it out. Our licenses were either not present or inconsistent across repositories. I added an MIT license in all our repos.

Is this repository receiving contributions from members only?

Nope, everyone is welcome to make contributions, also people who are not community members

Maybe @saragerion has the permissions for adding a license to this one?

Thanks for calling it out. Our licenses were either not present or inconsistent across repositories. I added an MIT license in all our repos.

Hey @saragerion,
We don't have to have same license accross the repos. Type of license depends on the repo's need.
I also saw some repos with multiple licenses if necessary such as GitHub docs here.

I can do the social media section if that task is free for the taking @saragerion and @adiati98

I can do the social media section if that task is free for the taking @saragerion and @adiati98

@saragerion has confirmed that everyone can contribute to this repo. If it also means that the social media section also open for public, then our tasks are done, @CBID2.
Social media section is part of @mariahlaqua's tasks.
So, let's hear the confirmation on this :)

@adiati98 @saragerion I wanted to close the other PR before I made the Social Media changes. I'm doing those now :)

Ok thanks @adiati98 and @mariahlaqua! :)


[BUG] arc config set -g -n

Describe the bug
Follow the command here: https://www.nfdi4plants.de/nfdi4plants.knowledgebase/docs/ArcCommanderManual/arc_config.html
I get the following error info:
arc config set -g -n "general.gitname" -v "myname"
Start processing command with the arguments:
	Global:Flag
	Name:Field "general.gitname"
	Value:Field "myname"
ERROR: Name general.gitname does not exist in the config.

Similar error also fro the command: arc config set -g -n "general.gitemail" -v "Email of choice"
To Reproduce
Steps to reproduce the behavior:
Execute the command: arc config set -g -n "general.gitname" -v "myname"
Expected behavior
It could work
Screenshots
OS and framework information (please complete the following information):

OS: [Ubuntu]
OS Version [22.04]

Got the same error in windows. Not sure what's the problem though. We did some major backend overhaul and it will take some time till changes appear in the ARCommander. Until then, the following command should work
arc config setgituser -l -n "yourName" -e "yourEmail"

Which has to be done once in every new ARC.

This is the same error as https://github.com/nfdi4plants/ARCCommander/issues/138. The operation works, even though the logger reports an error.


Contact me

Can you contact me on telegram?
Yoojo33

Could you let me know who you are by asking, can i talk to dylan?


Run through issue creation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 3 (0.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage remained the same at 0.0%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

server/lookup.go
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

server/lookup.go
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
0

Relevant Lines:
468

💛  - Coveralls


[SP-6444][PDI-19778] Various changes to optimize logging and eliminate degradation as the logBuffer size is increased.

:x: Build failed in 2m 49s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core,engine,ui

:exclamation: No tests found!
Errors:
Filtered log (click to expand)

script returned exit code 1

:information_source:  This is an automatic message

:white_check_mark: Build finished in 40m 10s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core,engine,ui

:exclamation: No tests found!
:information_source:  This is an automatic message


Make metadata keys uniform for Azure Storage components

By using aliases we are preserving backwards-compatibility
Description
Applies to:

bindings.azure.storagequeues
bindings.azure.blobstorage
state.azure.blobstorage
state.azure.tablestorage

The Azure Storage components were often using different names for the same metadata keys, causing confusion. Names are now standardized to be the same, with aliases to support all old variants (first is the default new name, which will be included in the docs, but they are all acceptable):

"accountName", "storageAccount", "storageAccountName"
"accountKey", "accessKey", "storageAccessKey", "storageAccountKey"
"containerName", "container", "storageAccountContainer"
"queueName", "queue", "storageAccountQueue"
"tableName", "table", "storageAccountTable"
"endpoint", "storageEndpoint", "storageAccountEndpoint", "queueEndpointUrl"

Issue reference
Fixes #1832
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[X] Code compiles correctly
[X] Created/updated tests
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number] @ItalyPaleAle  TODO

/ok-to-test

@ItalyPaleAle this PR's test are stuck in a weird state. Can you please force push to it to retrigger tests?


feat(turbopack): Support export * from 'cjs'

Many unrelated tests files are changed because this PR adds a new runtime function, __turbopack_cjs__.

Need to update snapshots with UPDATE=1 cargo nextest run -E 'test(snapshot)'


Cross-compiling libraries

Expected Behavior
To be able to compile to another architecture just fine.
Actual Behavior
cxx generates an x86-64 library, and makes my linker unhappy.
Steps to Reproduce the Problem

Create a build.rs with the following:

    a.flag_if_supported("-std=c++17")
        .flag_if_supported("-stdlib=libc++")
        .flag_if_supported("--target=arm-unknown-linux-gnueabi")
        .compile("x");

Compile with --target arm-unknown-linux-gnueabi
Verify that the library is built for x86-64 with objdump -f $out/libx.a:

In archive ...:

gen0.o:     file format elf64-x86-64
architecture: i386:x86-64, flags 0x00000011:
HAS_RELOC, HAS_SYMS
start address 0x0000000000000000

Specifications

Version: 0.22.4
Platform: x86_64-linux

Miscellaneous
I originally filed this under google/autocxx#1159, but I think the issue really stems from cxx. Please let me know if I'm mistaken.

Sorry, in fact, I think the issue is different. Seemingly, libcxx.rlib itself is failing to link :(.

It seems I had to set the CROSS_COMPILE environment variable to 1 in order for the cc crate to cross compile :). I also specified the compiler with .compiler().


Merge main to live 12/21/23

This pull request includes changes to the community-content/learn-with directory. The most important change is the addition of a new section to the index.yml file, which includes a speaker profile card for "Brais Moure" with their title, image URL, summary, and a social link to their blog.

community-content/learn-with/index.yml: Added a new section with a speaker profile card for "Brais Moure".

#sign-off


Very poor quality of the Comparison dataset

First of all, thank you for your excellent work and released datasets.
After carefully checking the samples in the comparison dataset, I found their quality is unsatisfactory. Here is a list of partially bad cases, and completion_b is far better than completion_a.
[
    {
    "user_input": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\nGive three tips for staying healthy.\n\n### Response:",
    "completion_a": "1.Eat a balanced diet and make sure to include plenty of fruits and vegetables. \n2. Exercise regularly to keep your body active and strong. \n3. Get enough sleep and maintain a consistent sleep schedule.",
    "completion_b": "1. Eat a balanced and nutritious diet: Make sure your meals are inclusive of a variety of fruits and vegetables, lean protein, whole grains, and healthy fats. This helps to provide your body with the essential nutrients to function at its best and can help prevent chronic diseases.\n\n2. Engage in regular physical activity: Exercise is crucial for maintaining strong bones, muscles, and cardiovascular health. Aim for at least 150 minutes of moderate aerobic exercise or 75 minutes of vigorous exercise each week.\n\n3.  It helps to regulate mood, improve cognitive function, and supports healthy growth and immune function. Aim for 7-9 hours of sleep each night."
  },
  {
    "user_input": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\nWhat are the three primary colors?\n\n### Response:",
    "completion_a": "The three primary colors are red, blue, and yellow.",
    "completion_b": "The three primary colors are red, blue, and yellow. These colors are called primary because they cannot be created by mixing other colors and all other colors can be made by combining them in various proportions. In the additive color system, used for light, the primary colors are red, green, and blue (RGB)."
  },
  {
    "user_input": "Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.\n\n### Instruction:\nIdentify the odd one out.\n\n### Input:\nTwitter, Instagram, Telegram\n\n### Response:",
    "completion_a": "Telegram",
    "completion_b": "The odd one out is Telegram. Twitter and Instagram are social media platforms mainly for sharing information, images and videos while Telegram is a cloud-based instant messaging and voice-over-IP service."
  },
  {
    "user_input": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\nGenerate a list of ten items a person might need for a camping trip\n\n### Response:",
    "completion_a": "1. Tent\n2. Sleeping bags\n3. Flashlight\n4. Matches/lighter\n5. Insect repellent\n6. Extra clothes\n7. First aid kit\n8. Camp stove\n9. Cooking utensils\n10. Biodegradable soaps/shampoos",
    "completion_b": "Here are ten items a person might need for a camping trip:\n\n1. Tent - to provide shelter and protection from the elements\n2. Sleeping bag - to stay warm and comfortable while sleeping\n3. Portable stove or campfire grill - for cooking meals\n4. Cooler with ice or ice packs - to keep perishable food and drinks cold\n5. Lantern or flashlight - to provide light during the night\n6. First aid kit - for minor injuries or ailments\n7. Map and compass or GPS - for navigation on hikes or exploring the area\n8. Camp chairs or folding chairs - for comfortable seating around the campsite\n9. Insect repellent - to protect against bug bites\n10. Sunscreen - to protect against sunburn."
  },
  {
    "user_input": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\nExplain the use of word embeddings in Natural Language Processing\n\n### Response:",
    "completion_a": "Word embeddings are one of the most powerful tools available for Natural Language Processing (NLP). They are mathematical representations of words or phrases in a vector space, allowing similarities between words and the context in which they are used to be measured. Word embeddings are useful for tasks such as sentiment analysis, text classification, predicting the next word in a sequence, and understanding synonyms and analogies. They allow for words to be processed as numerical values, giving machines an easier way to perform NLP tasks.",
    "completion_b": "Word embeddings are a type of natural language processing technique used to map words or phrases from a vocabulary to vectors of real numbers. The idea is to represent words in a continuous vector space, where the similarity between words can be measured by the distance between their corresponding vectors. This can be done using algorithms such as Word2Vec or GloVe, among others.\n\nThe use of word embeddings has revolutionized the field of Natural Language Processing, as it allows computers to understand text in a much more meaningful way than simply looking at the presence or absence of individual words. For example, when using word embeddings, the computer can understand that the words \"dog\" and \"puppy\" are closely related, while the words \"dog\" and \"umbrella\" are not.\n\nWord embeddings are used in a wide variety of NLP tasks, including text classification, sentiment analysis, machine translation, named entity recognition, and many others. They form the basis for many advanced language processing techniques, such as deep learning and neural machine translation."
  },
]

This may indicate that the GPT-4 is unsuitable for generating the comparison dataset.
Can you share your opinions about the phenomenon?

Thanks for raising this question. We also noticed that the rates from GPT-4 are less diverse, as shown in the paper. We may need to revisit the prompt used for rating. We will release v2 comparision data soon. Stay tuned.


Bump Maestro-shell version

Include changes for configuring an LTE interface.

the SHA for maestro-shell must be changed in 2 places. See line 480.

Made the change and force pushed.

Waiting for: https://github.com/armPelionEdge/maestro-shell/pull/13

https://github.com/armPelionEdge/maestro-shell/pull/13 was merged, but it had to be rebased so the SHA changed.  This PR now needs to be updated with the new maestro-shell SHA.

armPelionEdge/maestro-shell#13 was merged, but it had to be rebased so the SHA changed. This PR now needs to be updated with the new maestro-shell SHA.

Done


Rebuild CI in this fork

Original repository has CI with Pull Request. We should have it here.

Travis CI has been added, with NaCl test disabled (since Google SDK will run into error when update because of certificate issue)
https://groups.google.com/forum/#!topic/native-client-discuss/ViBofmhWpyM
Close this issue.


added AQA Lightning Talk Series link and Reproducing Test Failures Lo…

…cally link in testJobTemplate
Fixes: #3401
Signed-off-by: Jay<EMAIL_ADDRESS>

ECA validation failed. @JayGreck Could you double-check your email and make sure it is the same as the one for ECA? Thanks

I did make a pull request earlier with the wrong email for the ECA by mistake, so i closed it and opened this new one. The email I entered for this pull request is the one I used for the ECA so I am unsure to why the ECA is failing.

The ECA-signoff doc linked to from https://github.com/adoptium/aqa-tests/blob/master/Contributing.md#eclipse-contributor-agreement is a helpful reference when hitting ECA validation check failures.

@llxia I think the ECA has passed now. Thanks @smlambert for the helpful link to the guide for the ECA!

https://ci.adoptopenjdk.net/job/WIP_Test_Job_Auto_Gen/71/

https://ci.adoptopenjdk.net/job/Test_openjdk17_j9_sanity.perf_x86-64_linux/


Suggest a master branch for latest neo4j version

For most people that only use the branch that bounces to them at very first, when they open the repo.

Oh, you've just created a readme for users, that's much better!


Allow --run-time with LoadShapes

I started using Locust on a project I'm working on atm and I would like to use a custom LoadShape together with --run-time, this is becaues I only want to specify when the test should end, the user count and spawning will be handled by the LoadShape. However I noticed that if I run locust in headless mode I cannot do this, I get the following error: It makes no sense to combine --run-time and LoadShapes. Bailing out.  If instead I use the gui, with all the other configuration the same the tests run fine.
I wonder why this error only shows when headless? Would it be possible to remove this restriction for headless?

Hi! I think it should raise an error for non-headless runs too (because it probably doesnt work). If it is implemented I see no reason not to allow it. It was just disabled because it didnt work I think. PRs welcome.


[Addition]: Pisces cluster Belgium only witnessing themselves (25 HS)

Hotspot b58 Addresses
11Hs7aok3kYZKXpJzQSJDa19aTGdCFYTiwbBYpoNSS44Hdpa7Qf
11qZpsNTkpehVTcnSVzxWuzAoEDh5pn4hgc8A7nGiY5ghSUfKes
112riVUq3RmDmANm7NBczdKqx2YoZ9NFZz4nkCtazaX8EFn2F3Zm
1122NFJiWhHVTBJFF6crEe2bGH3j9i3hRuxouiMQxqTnk5MzAtym
11YwqcwZrjiWgNHELXZZuGz8xnAXmXPZX97rrijNUo3Uz8jTXUj
112Up7PGcaRX7VJQe1dVVH33ZfkKyDFqwiWvYzQ4n5oyR2G3HxQW
112SrYr2LUtg2MJykgJYRHGMVTvpKjJuY7hduDpfv7ELFSEnyVVC
112H4BbNDh7A6KwcPpyxeSH5imgmeRyEp9rwHF6P3z35HTWfvweU
11zLssiSshHZ9JDAxA3rga1XrFGwVg1EfV31rKDva9NN1T3y8Ep
112kCk36YQwAwtAuXLSLrtRfbouZThDCPLkDUj26kmJXArbY9269
11rJo4QKQKDK5axMSRmTq79boa4iR2yipcGGRbKJbAfQ4nsKJr9
11BeHviLqi7zuyPeMLpuggcnQRWxKMjHJon5tyv2FuyuvQWP5nh
112Q1YTsJNMwGCqWoDjN1KNMBALXX1C8Mxan56NNF5MExTidxZHu
11edhxTBWbmyHWKueAQ6ezuCUaJ21RSpsJ9GgbAWzoAq9NSU7Pw
112dBUKhC9yZRTaFqfq6HN7wKXJ5RStow4KryNtHhz2G3hRe5UyZ
112MdJj6zt6PR4F385oa8zPkXFBNihfWaEXD7ea1xMyQfPBKdTBz
11Q5dFuDdr7Hgz9SRadTCAh24A996hqJnhxYtWRdTFHYyGVX1yL
11tKFbHvb9H1vgoSJRtdqWmhWChQNT3dX51S2WTwU21CVrdE8Pi
112A6MBVRo6MfEhzDLu483shZxDCGpp8rZNKR22oLtjvYHeGaUHb
112JVWLTh6unvLcWedscZkynfKKfXYFHeypLcFoSthRUhzrT4sqJ
11fsUEad4GmBmzm4mZT6nHfcbyoTXKfj3MqTb9Ba3fkraAejTmz
11ezFDHLseC2S2MnEk9Ke28r59wTWRTWJeBsj5d8XZR6zv9ew72
1128bcn26o9SnoHPxTpTKn83HfEFt5Dwi9oQPcoXRajijPCbYz4g
112e6LkYgFdaA9tFtp8YEEpYVQzyNM1Yh56Dz4JEwUj38GQoPii4
Discord Handle
No response
Reason(s)
Only witness themselves (despite the fact that there are also legitimate HS around them and in the same hex), all come online on the same days, have the same settings in terms of height/dBi, and are often placed in impossible places (in the middle of forest/lake/river, without any trace of habitation/houses in the neighbouring hexes).
These were on the previous denylist as well. Total of 25 HS.

Hi, unfortunately my device is on this list, I've updated Antenna & Height.
What's the procedure to be removed from this deny list?
thanks

Removal from this List:
At this time, you may open an issue to request removal of a Hotspot from this denylist. You must use the provided template and requests may be closed without explanation.

Thanks!

Hello, unfortunately my device is also on the list and i'm not cheating,How did you checked the fact that i'm not having a miner and antenna in my hex?Hopely it's fixed soon as possible,,i did no see anybody here supervising for IOT equipment such as miners and antenna's.I opened a ticket...
best regards

@CTH-Red-Team-Mapping-Service-I004  Any idea how long it takes to be removed from the denylist? My device is not working for 6 days now since you added it... See also my ticket


Doesn't work with Sketch Workspace files

I recently downloaded this plugin in an effort to see if it works.
I created a simple (A4) artboard, placed a few rectangles and some text, and tried to export.
Unfortunately, I got the following error:

I nearly gave up on the plugin at that point, assuming it was just plain broken or otherwise not compatible with the latest version of Sketch (I'm using v 74.1).  However, since the whole concept of Sketch "Workspaces" was relatively new to me, I figured this plugin simply may not work with Workspace files.  So I created a simple document that lives on my local system, and the export worked great! 👍
Then, to confirm my hunch, I created a simple doc that lived in a Sketch workspace and tried to export the same artboard I was able to export from a file that lived locally.  Unfortunately, that gave me the same (wonky) error.
So, based on my simple example, export does not work with files in Sketch workspaces.

Thank you @calebhaye! I was having the same issue and making the file local totally fixed it!

Closing as this is not an issue


SCB-541 Fix the typo in response of schemas api

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 [SCB-XXX] Fixes bug in ApproximateQuantiles, where you replace SCB-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 go build go test go fmt go vet 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.

Coverage increased (+0.1%) to 73.039% when pulling b63cd2761285d728c12589951fd9ce87852cae94 on little-cui:master into 831e3c78960376a2225fe8abd31288dc4ead409a on apache:master.

Codecov Report

Merging #338 into master will increase coverage by 0.02%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master     #338      +/-   ##
==========================================
+ Coverage   69.45%   69.48%   +0.02%
==========================================
  Files          17       17
  Lines        3438     3438
==========================================
+ Hits         2388     2389       +1
  Misses        884      884
+ Partials      166      165       -1

Impacted Files
Coverage Δ

server/service/schema.go
74.83% <50%> (ø)
:arrow_up:

server/service/rule.go
77.25% <0%> (+0.42%)
: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 831e3c7...b63cd27. Read the comment docs.


[Feature]: support uid space limitation

Is your feature request related to a problem? Please describe.
In many cases, multiple users share a volume, so using uid as the dimension, setting the upper limit of capacity can facilitate the fine-grained management of volumes
Describe the solution you'd like
Data accuracy, relative real-time, priority to system load impact

@leonrayang

done: https://github.com/cubefs/cubefs/pull/1973


dark mode toggle

Pull Request Format
Dark Mode Toggle Added
Issue #92  : Dark Mode Integration for Enhanced User Experience solved
Type of PR

Add X in the box to specify the improvement type.
[] Bug fix
[X] Feature enhancement
[ ] Documentation update
[ ] Other (specify): ___________

Description
This pull request aims to add a new feature of Dark Mode for the webpage.
Screenshots / Videos (if applicable)
After:

Checklist

Add X in the box to specify.
[X] I have performed a self-review of my code.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have commented my code, particularly in hard-to-understand areas.

Thank you for reviewing my pull request!
@swaraj-das

Thank you so much for approving my request, can you please add the tags gssoc-ext, hacktoberfest-accepted and level2 so that the contribution will be reflected on the leaderboard. Thank you


where is my double quotes.

sorry,   I know this is not your issues,   I just need for help, thanks
bash version: bash-5.0.7

double quotes disappeared

[root@cander ~]# cat test.sh
#!/bin/bash

cat > test.conf << EOF
AA=${one:-["one","two"]}
EOF
[root@cander ~]# sh test.sh
[root@cander ~]# cat test.conf
AA=[one,two]

use \  was ineffective

[root@cander ~]# cat test.sh
#!/bin/bash

cat > test.conf << EOF
AA=${one:-[\"one\",\"two\"]}
EOF
[root@cander ~]# sh test.sh
[root@cander ~]# cat test.sh
#!/bin/bash

cat > test.conf << EOF
AA=${one:-[\"one\",\"two\"]}
EOF
[root@cander ~]#

Sorry, this has nothing to do with Bash-it. Please ask this question on something like Unix StackExchange: https://unix.stackexchange.com

thanks


Adding Dockerfile for compiling + running slowhttptest in a container

Thanks! Can you please document when and how docker environment is beneficial to use?

Sorry for the delay.  Would something like the following work for the Wiki?
Running slowhttptest in Docker
The included Dockerfile allows you to build slowhttptest in a containerized Docker environment to avoid polluting your system with development dependencies.  You can also use the Docker container for deploying slowhttptest to Kubernetes (Job), Mesos/DCOS (Task), Docker Swarm, etc... if that suites your needs.

Build the docker container: docker build -t slowhttptest:latest .
Run the docker container: docker run slowhttptest:latest <slowhttptest args>

If you make changes to the source, just re-run the steps and the changes will generate a new container with the updated binary inside the container.
If you don't want to run "docker run" over and over... you can get an interactive shell: docker run -ti --entrypoint sh slowhttptest:latest then run slowhttptest (it's in the path)

This looks great. Put it anywhere in Installation and Usage, I'll try to reorganize wiki this weekend anyway.


error while run yarn setup

error shows while run yarn setup
Error: Your application tried to access dotenv, but it isn't declared in your dependencies; this makes the require call ambiguous and unsound.

source commit id: fc27219295ca92925963237e3179f36093664488
OS: macOS 13.1 (22C65), apple chip
yarn<EMAIL_ADDRESS>node: v18.5.0
npm: 8.12.1

@Wacque thanks for the report! Just fixed it in #363


[Fixes: #414] Added Endpoint to Calculate MIRR

This pr fixes #414
Added endpoint to calculate Modified Internal Rate of Return

@ighoshsubho please review this pr

You have not made any changes to the reviews which I did request. Any updates?

@ighoshsubho sorry what updates are you talking about, I don't get it.

@ighoshsubho sorry what updates are you talking about, I don't get it.

I'm talking abt the reviews I requested, is it all done?

@ighoshsubho yes I have made the required changes.

The changes aren't reflected. maybe its better if you can make a new pr. Will be more clean.

@ighoshsubho alright, I will create a new pr.

Thanks @ritik48, just make a new one and I'll merge once approved!


Title variable

Hi, it seems that there is no built-in variable to get the title of the current note, if I want to customize the variable to get the title of the note, how do I do that?

There is a variable for that template_title.
Please refer to this section of the plugin documentation.

@cestbonsuliu is this what you are looking for?


windows zip

where the flying aloe plant that hasnt gotten enough water is the windows zip for this thing

This change was addressed with this update: https://github.com/hobby-grade/Nintendo-Switch-Discord-Status/releases/tag/v1.1.0


libstdc++.so.6: version `GLIBCXX_3.4.22' not found

Installed on SolydX Linux (Debian based) using pip3 as described in README, all the recommended dependencies present. But running the script throws series of errors after "CAPTCHA challenge will be displayed". Tried also without --auto-captcha, but result is the same. Terminal command and output:
`
ulozto-downloader --auto-captcha --parts 20 https://uloz.to/file/zDH6ajlc4UCX/bozena-e02-avi
Downloading model from https://github.com/JanPalasek/ulozto-captcha-breaker/releases/download/v2.2/model.tflite
100.0% 14147584 / 14140796
Downloading of the model finished
Starting downloading for url 'https://uloz.to/file/zDH6ajlc4UCX/bozena-e02-avi'
Getting info (filename, filesize, ...)
CAPTCHA protected download - CAPTCHA challenges will be displayed
Traceback (most recent call last):, trying to solve
File "/home/linuxbrew/.linuxbrew/bin/ulozto-downloader", line 48, in
main()
File "/home/linuxbrew/.linuxbrew/bin/ulozto-downloader", line 44, in main
d.download(args.url, args.parts, args.output)
File "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/ulozto_downloader/downloader.py", line 168, in download
download_url = next(self.captcha_download_links_generator)
File "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/ulozto_downloader/page.py", line 169, in captcha_download_links_generator
captcha_answer = captcha_solve_func("https:" + captcha_image_url, print_func=print_func)
File "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/ulozto_downloader/captcha.py", line 86, in call
import tflite_runtime.interpreter as tflite
File "/home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/tflite_runtime/interpreter.py", line 36, in
from tflite_runtime import _pywrap_tensorflow_interpreter_wrapper as _interpreter_wrapper
ImportError: /home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/tflite_runtime/../../../libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /home/linuxbrew/.linuxbrew/opt/python/lib/python3.7/site-packages/tflite_runtime/_pywrap_tensorflow_interpreter_wrapper.cpython-37m-x86_64-linux-gnu.so)
`

Probably just need to install libstdc++6: https://stackoverflow.com/questions/43070900/version-glibcxx-3-4-22-not-found

Closing as can't replicate and outdated.
If the problem persists, please reopen.


modified analysis/network.py for log plot

syntax for option to choose the logarithmic plotting in connectivity matrix was added. Ones who choose logplot:True in plotConn can create log version of connectivity matrix for "weight" and "strength"

I get an error when I try to run plotConn:
~/Applications/python_modules/netpyne/netpyne/analysis/network.py in plotConn(includePre, includePost, feature, orderBy, groupBy, groupByIntervalPre, groupByIntervalPost, graphType, removeWeightNorm, synOrConn, synMech, connsFile, tagsFile, clim, figSize, fontSize, saveData, saveFig, showFig, logplot)
690         connMatrix, pre, post = _plotConnCalculateFromFile(includePre, includePost, feature, orderBy, groupBy, groupByIntervalPre, groupByIntervalPost, synOrConn, synMech, connsFile, tagsFile, removeWeightNorm, logplot)
691     else:
--> 692         connMatrix, pre, post = _plotConnCalculateFromSim(includePre, includePost, feature, orderBy, groupBy, groupByIntervalPre, groupByIntervalPost, synOrConn, synMech, removeWeightNorm, logplot)
693
694     if connMatrix is None:
TypeError: _plotConnCalculateFromSim() takes 10 positional arguments but 11 were given

Thanks for adding a cool new feature to NetPyNE, Kazutaka!  I fixed the error I was getting and improved the style a little to match with the rest of NetPyNE.


About the code implementation on the QoR task

Hello author, when I was reproducing the HOGA, I found that there was no QoR part in the code in the repository. I would like to ask whether this part will be uploaded to github later.

I have some questions about implementation details. QoR is a graph-level prediction task, while HOGA is trained based on nodes. How to ensure that all nodes of a graph are in the same batch? If training is performed for each graph, how to set a unified batch_size?
I sincerely hope to get your reply, thanks very much.

I have some questions about implementation details. QoR is a graph-level prediction task, while HOGA is trained based on nodes. How to ensure that all nodes of a graph are in the same batch? If training is performed for each graph, how to set a unified batch_size? I sincerely hope to get your reply, thanks very much.

For my own understanding, you can define the component of GraphReadout found in Figure 3b of the paper by your own. The explanation for this part is in section 2.1. You can choose the pooling layer that you prefer, for example: mean pooling, sum pooling, or attention-based pooling.
The code does not seem to conclude this part, but I think it should be fine. Adding this would only require a few lines of code. The code does not seem to conclude this part, but I think it should be fine. Adding this would only require a few lines of code.
If I have misunderstood anything, please point it out and correct me, maintainer :)

Thank you for your reply.
If I understand correctly, the readout function in Figure 2.1b is used to aggregate the final representation of the node for different hops. It is not a pooling function for the graph.
My question  is how this design pattern can be used to train on graph-level tasks. In this case, a significant problem is that the loss function I set for the graph cannot be calculated within the batch divided by nodes. For example, my batch size is 512, but my graph size is 1000.
Not sure if I stated my question clearly.

Hi,
Thank you for your interest! For graph-level tasks, we begin by preprocessing the dataset so that each graph is represented by hop-wise features of all its nodes. These hop-wise features are treated as a single sample. During mini-batch training, instead of loading a batch of graphs, we load a batch of those hop-wise features, which naturally ensures that all nodes required for computing the loss of each graph are included. Hope this answers your question.

Thanks for your reply. Sorry to bother you again.
I'm not sure I understand your meaning completely. Suppose we set the number of hops to be K , the embedding dimension of the node to be N and the batch_size to C, does it mean that the dimension of the data loaded in each batch is CMK*N ,  M represents the maximum number of nodes in these N graphs. Does this mean that we need to do some padding operations?
Or maybe you mean we stack the Khop features of C graphs and obtain a (M_1 + ... + M_n)KN
In this situation, when the num of nodes is particularly large, hundreds of thousands of nodes, will OOM occur?

Yes, we stack the K-hop features to have a 3-order tensor (M_1+...+M_C, K, N) and thus there's no need to do padding.
Regarding your second question, yes, loading a batch of large graphs with millions of nodes may lead to GPU OOM. However, reducing the batch size can help mitigate this issue. It's also worth noting that prior GNN models face similar memory challenges (#nodes x #layers x #dimension), and HOGA does not have a distinct advantage in terms of memory usage compared to prior GNNs for graph-level tasks.

Really appreciated for your answer! This solved my question.


NETSDK1083 error when providing multiple RIDs in .NET Core 3

dotnet restore -r win-x86 -r win-x64
C:\Program Files\dotnet\sdk\3.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(59,5): error NETSDK1083: The specified RuntimeIdentifier 'win-x86;win-x64' is not recognized. [<Full Project Name>.csproj]
For netcoreapp2.1 everything works fine. Are there any changes for .NET Core 3?

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

ID: 0b256dc4-c4ad-c115-f4e2-40310bc3505a
Version Independent ID: 0b993779-65a2-6092-4047-2fc2ec16170b
Content: dotnet restore command - .NET Core CLI
Content Source: docs/core/tools/dotnet-restore.md
Product: dotnet-core
Technology: dotnet-cli
GitHub Login: @mairaw
Microsoft Alias: mairaw

@KathleenDollard @dsplaisted can you comment on this?

I think we may have changed -r from passing in RuntimeIdentifiers to RuntimeIdentifier.  @wli3 @livarcocc do you know?
In any case, there is probably something we should fix here.  At a minimum we shouldn't accept multiple -r parameters if it's not going to work.

ping @wli3 @livarcocc - question from dsplaisted

I think we may have changed -r from passing in RuntimeIdentifiers to RuntimeIdentifier.  @wli3 @livarcocc do you know?


integrate direct3d to hf more easily

Hello,
Direct3d sounds very interesting—congratulations on the paper!
I wonder if you would consider adding direct3d to the Hugging Face Hub. Doing so increase the model's visibility and make it easier for everyone to use.
Right now, only the checkpoints are uploaded: https://huggingface.co/QHL067/direct3d/tree/main/ckpts
It can be easily compatible with the Hugging Face Transformers library.
Will work on that!

will ping @qihao067


Trouble setting up Elixir project on ubuntu:full-20.04

I am running a job that works on GitHub but having issues when using act to run locally.
I am using
🚀  Start image=ghcr.io/catthehacker/ubuntu:full-20.04

the job definition (leaving out some of it for brevity) is:
jobs:
  cypress-run:
    runs-on: ubuntu-latest
    env:
      MIX_ENV: qa
    services:
      db:
        image: postgres:11.5
        ports: ["5432:5432"]
        env:
          POSTGRES_USER: postgres
          POSTGRES_PASSWORD: postgres
          POSTGRES_DB: dpi_qa
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Setup Elixir
        uses: erlef/setup-beam@v1
        with:
          otp-version: 24.0
          elixir-version: 1.12.0
      - run: mix deps.get --only qa

on the last step here (getting mix dependencies) I get an error:
[Cypress Tests/cypress-run]   ✅  Success - Setup Elixir
[Cypress Tests/cypress-run] ⭐  Run mix deps.get --only qa
[Cypress Tests/cypress-run]   🐳  docker exec cmd=[bash --noprofile --norc -e -o pipefail /Users/pepsi/work/cdna_ui/workflow/2] user=
| warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8. Please ensure your locale is set to UTF-8 (which can be verified by running "locale" in your shell)
| * Getting scrivener_html (https://github.com/jaimeiniesta/scrivener_html.git - origin/relax_phoenix_dep)
| ** (File.Error) could not make directory (with -p) "/Users/pepsi/work/cdna_ui/deps/scrivener_html": no such file or directory
|     (elixir 1.12.0) lib/file.ex:316: File.mkdir_p!/1
|     (mix 1.12.0) lib/mix/scm/git.ex:98: Mix.SCM.Git.checkout/1
|     (mix 1.12.0) lib/mix/dep/fetcher.ex:64: Mix.Dep.Fetcher.do_fetch/3
|     (mix 1.12.0) lib/mix/dep/converger.ex:190: Mix.Dep.Converger.all/9
|     (mix 1.12.0) lib/mix/dep/converger.ex:201: Mix.Dep.Converger.all/9
|     (mix 1.12.0) lib/mix/dep/converger.ex:123: Mix.Dep.Converger.all/7
|     (mix 1.12.0) lib/mix/dep/converger.ex:72: Mix.Dep.Converger.all/4
|     (mix 1.12.0) lib/mix/dep/converger.ex:51: Mix.Dep.Converger.converge/4
[Cypress Tests/cypress-run]   ❌  Failure - mix deps.get --only qa
Error: exit with `FAILURE`: 1

this error does not happen when I use the ubuntu:act-20.04 image (however that image is missing some other deps I need elsewhere)

I think it fails with permissions when making /Users/pepsi/work/cdna_ui/deps/scrivener_html (because of very stupid hack in act)
can you try running same thing with ghcr.io/catthehacker/ubuntu:runner-20.04?


Changing block data not prevented by block-place or block-modify

Here's my debug where I demonstrate this issue.
I was standing on a block of Purple Concrete, and used the command /setblock ~ ~-1 ~ concrete 1, which successfully turned it into Orange Concrete. I then did /setblock ~ ~-1 ~ dirt, which did not turn the block into dirt. The "block-place" permission was not checked for the first command, but it was for the second. This seems like unintended behavior.
Obviously I demonstrated this issue with admin-commands, but it could be relevant to regular players on servers with mods or plugins that include blocks that can be dyed, or wrenches that can rotate blocks.
My suggestion would be that "modifying block data" should be something that's prevented by block-modify.

Thanks for the report. Can you please provide your server version, GD version, etc.. as the link you provided is expired.
Thanks!

At the time, it was:
Forge version: 2838
Spongeforge version: 7.1.8
GD version: Griefdefender-sponge-1.2.2-TEST9
I haven't tested with the newest versions since then, but I'll do so when I can.

GD build in original post is very old at this point, if this is still an issue on 1.5.10+ please make a new ticket with relevant information and steps to reproduce.


Fix broken request document queries (and refactor cli.py code)

This PR started when I ran cyhy-mailer version 1.2.9 this morning and noticed that the request document queries are somewhat broken after pull request #55.  Specifically, these queries cause us to attempt to send Cyber Hygiene reports to stakeholders that do not have the CYHY report type in their request document.
It became clear that what we need is the ability to tweak the queries for the various report types being sent.  For Cyber Hygiene reports we need to simply query for a report type of CYHY.  For CyHy notifications we need to query for federal entities with a report type of CYHY.  For BOD 18-01 reporting we need to query for the union of (1) federal entities with a report type of CYHY and (2) a report type of BOD.
In making this change, I did a considerable refactor of cli.py.

This pull request introduces 1 alert when merging 6209fc2 into 77135a8 - view on LGTM.com
new alerts:

1 for Wrong name for an argument in a call

To whom it may concern:  The commits that followed this LGTM alert fixed the issue.


[kueuectl] Move "List workload" test to Describe.

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Move "List workload" test to Describe instead of another When.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/assign @trasc


Update drbg.c

Checklist

[x] Fix of more entropy

What does this PR attempt to accomplish and why should it be merged? Please update the description

What does this PR attempt to accomplish and why should it be merged? Please update the description

See the title again, more entropy.

I'm sorry @fochoao-alt , I don't quite buy that.  Can you please explain how this gathers additional entropy?  This doesn't even look like it will build to me.
Additionally, could you please sign and submit a cla so that we can properly review this?   Instructions can be found here

I'm sorry @fochoao-alt , I don't quite buy that. Can you please explain how this gathers additional entropy? This doesn't even look like it will build to me.
Additionally, could you please sign and submit a cla so that we can properly review this? Instructions can be found here

Fixed the code, thanks for pointing that out as well... but cannot sign the document until Monday next week.

no, this really isn't fixed yet (see the ci run), nor have you explained what exactly this patch is doing to "obtain more entropy"

I see it failing horribly, will wait for Monday, and fix it in full.

no, this really isn't fixed yet (see the ci run), nor have you explained what exactly this patch is doing to "obtain more entropy"

Thanks, yes, wait for Monday then, I will have the code by then as well.

This looks like some AI generated patches. Closing.


Issue in hosting of site

Issue Type:

[x] Bug Report

Describe the bug
There is issue in hosting of site index.html is working fine but everytime it tries to redirect it shows 404 error.

Possible solution
Hosting it on some other platform-:

1.  Heroku

2. Netlify

Screenshots

Hello @pratham-ops , I would Like to work on this issue under GSSOC'22. can it be assigned to me?

Hi @pratham-ops, can you assign me this issue for GSSoC'22.

@pratham-ops you mean to deploy the server and client to Heroku or netlify?

Yeah, will deploy the front-end to Netlify & backend to Heroku.


Marked no longer supports objects with multiple properties to be set as prop values

...and in general, they do not support JSX syntax.
See this issue for more detail: https://github.com/markedjs/marked/issues/1194
This is obviously a huge bummer, but it might be worth hardcoding the version number of the marked dependency to 0.3.12 to avoid getting a later version that breaks.

Hey @bryandowning! I'm dealing with this issue as well. Have you checked out MDX? https://github.com/mdx-js/mdx#mdx-syntax I'm thinking I may need to transition away from marksy, but was curious to see if you've found any other solutions.

Hey, unfortunately I have not been able to come up with another solution yet. Thanks for sharing the MDX link! Definitely looks compelling!
Looks like it doesn't have much traction, but seeing Tim and Guillermo from ZEIT listed as authors makes me happy (I'm using next.js for my site).

@mmmaaatttttt Looks like MDX won't work for string content coming from an API, because it only works at build time — not runtime.
See this thread: https://github.com/mdx-js/mdx/issues/126#issuecomment-389073920


Editor of first group not disposed

Related to https://github.com/microsoft/vscode/issues/99770

set a breakpoint in NotebookEditor#dispose
open two notebooks in two groups
close all editors
:bug: dispose is only called once

@jrieken related https://github.com/microsoft/vscode/issues/99770#issuecomment-642719879
I added a new EditorInput#close() method that you can override to dispose or not. The rationale is that the editor part should not make any assumptions about disposing or not but the implementor of an editor input should decide.

r not but the implementor of an editor input should decide.

I find that weird because the input doesn't create nor own the editor

I am open for suggestions, but note that editor inputs can have a lifecycle outside of an editor. I.e. many editor inputs can be opened but there is only ever 1 editor to display (per group). And an editor input might not even be associated with any editor if it was not opened yet (an inactive tab after a window reload).

Yeah, I believe the inputs should have nothing to do with this. An editor group creates an editor and disposed it. That's it and that's how it actually works with all N+1 groups and I think that sane.
In notebook land all those input tricks are only required because the editor doesn't know anything, e.g an editor (not input) doesn't know that it's inactive vs active vs closed, e.g setVisible and clearInput are called in all cases which makes it very hard to know that a "web view is free to reuse". I'd prefer to have to more clarity there and ignore inputs for a moment tbh.

Things that I would like to have

[x] select first notebook per group -> call ctor, call setInput
[ ] close whole group -> call dispose
[ ] select another editor (type) -> call setVisible(false)
[ ] re-select notebook editor -> call setVisible(true)
[ ] select different notebook -> call setInput
[ ] close editor but keep group -> call clearInput
[ ] move editor to different gourp -> call something before interacting with other editor

@jrieken should we maybe close this as duplicate of https://github.com/microsoft/vscode/issues/99770, I just posted a comment (https://github.com/microsoft/vscode/issues/99770#issuecomment-643240919) giving a bit more detail.
I see your list of requirements and as suggested in https://github.com/microsoft/vscode/issues/99770#issuecomment-643240919 would need a call also with Matt and Pung to discuss this.

@jrieken should we maybe close this as duplicate of #99770,

I would actually prefer the other way around. At least for notebooks, the input trouble only exists because inputs are used in funny ways and in order to know when editors move. I'd prefer to have

have NotebookEditorInput just like FileEditorInput using ref-counted notebook models
have a few move editor APIs that allow to reuse the underlying widget (webview)

Fair enough, let's have a call next week to clear things up.

@bpasero That dispose isn't called is still a problem. It still needs code like this to clean up webviews when all editors have closed: https://github.com/microsoft/vscode/blob/9d5a45a6fb26d491cf96cfd45545e048c810cfdb/src/vs/workbench/contrib/notebook/browser/notebookEditor.ts#L152

@jrieken yes, I see the issue and I currently see no other clean solution unless there was an explicit tab model that would reflect what is going on in the editor. The lifecycle of webviews cannot be tied together with editor inputs, it needs to be a concept outside of that lifecycle.
@mjbvz how do you do that for webviews, e.g. when do you know when to release webviews based on editors closing? I am sure you solved this, maybe you can shed some light on this.

@bpasero we do you not dispose the editor like you do for all other groups?

@jrieken I assume you mean EditorInput.dispose(): if the editor input was disposed but still opened in another group, it would mean that group suddenly has a disposed input to show. The culprit is that the editor input is only being disposed when its last instance is closed across all groups to prevent that. I think it may be easier to talk this through in a call though as I probably do not understand the issue in full yet.

@jrieken I assume you mean EditorInput.dispose():

No. IEditor#dispose

That should actually happen as soon as the group is closed:
https://github.com/microsoft/vscode/blob/85bedc79634d103cc32951a1362f4962557ace24/src/vs/workbench/browser/parts/editor/editorControl.ts#L130
You may not see that for the very first group simply because that group never really closes unless you open a second group and close the original one.

I run "F1 >  Close All Editor", see the watermark, and only a single time dispose is called

No more requirements from notebook land... Leaving further work/refactorings to @bpasero

Ok, I will push some cleanup over the week, made some notes in my backlog.


Using random generated password breaks MySQL

In templates/secrets/mysql-secret and templates/secrets/database.yaml the secrets for the same database are randomly generated when omitted in the values.yaml. This results in 2 different random strings.

Fixed in d20a406
Tested on Hetzner Cloud


x86: add support of testing Intel MPX exceptions

I'm going to merge the PR without reviews as I do not expect any issues with it, the changes are quite encapsulated. @janahofmann  and @van-ema let me know if you have any concerns, but also feel free to ignore it if you don't have time


update docs:

add example for events
update docs for curves.py -> include get_attribute functions to docs
update docs for session.search and session.get_curve

I'm resurrecting this PR, doing some additional cleanups and adjustments for things that have changed during the last months.  But most of it is still looking good to me.


Unable to run custom model (tensorflow) on android using Android studio

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

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

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
I have followed the instruction as per "https://codelabs.developers.google.com/codelabs/tensorflow-for-poets-2/index.html" as were able to generate and successfully run APK for default model. I got problems when i replaced the default graph.pb file from rounded_graph.pb (retained name as graph only) file which is optimized version for android as per instructions in above mentioned link
Updated graphs are working using command line
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.
02-04 15:09:09.642: E/art(23153): No implementation found for long org.tensorflow.contrib.android.RunStats.allocate() (tried Java_org_tensorflow_contrib_android_RunStats_allocate and Java_org_tensorflow_contrib_android_RunStats_allocate__)
02-04 15:09:10.105: E/AndroidRuntime(23153): FATAL EXCEPTION: main
02-04 15:09:10.105: E/AndroidRuntime(23153): Process: org.tensorflow.demo, PID: 23153
02-04 15:09:10.105: E/AndroidRuntime(23153): java.lang.RuntimeException: Failed to load model from 'file:///android_asset/graph.pb'
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at org.tensorflow.contrib.android.TensorFlowInferenceInterface.(TensorFlowInferenceInterface.java:100)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at org.tensorflow.demo.TensorFlowImageClassifier.create(TensorFlowImageClassifier.java:103)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at org.tensorflow.demo.ClassifierActivity.onPreviewSizeChosen(ClassifierActivity.java:132)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at org.tensorflow.demo.CameraActivity$1.onPreviewSizeChosen(CameraActivity.java:159)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at org.tensorflow.demo.CameraConnectionFragment.setUpCameraOutputs(CameraConnectionFragment.java:421)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at org.tensorflow.demo.CameraConnectionFragment.openCamera(CameraConnectionFragment.java:428)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at org.tensorflow.demo.CameraConnectionFragment.access$000(CameraConnectionFragment.java:64)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at org.tensorflow.demo.CameraConnectionFragment$1.onSurfaceTextureAvailable(CameraConnectionFragment.java:95)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.TextureView.getHardwareLayer(TextureView.java:368)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.View.updateDisplayListIfDirty(View.java:15173)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.View.draw(View.java:15969)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.ViewGroup.drawChild(ViewGroup.java:3612)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3402)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.View.updateDisplayListIfDirty(View.java:15191)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.View.draw(View.java:15969)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.ViewGroup.drawChild(ViewGroup.java:3612)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3402)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.View.draw(View.java:16202)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.View.updateDisplayListIfDirty(View.java:15196)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.View.draw(View.java:15969)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.ViewGroup.drawChild(ViewGroup.java:3612)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3402)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.View.updateDisplayListIfDirty(View.java:15191)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.View.draw(View.java:15969)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.ViewGroup.drawChild(ViewGroup.java:3612)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3402)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.View.updateDisplayListIfDirty(View.java:15191)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.View.draw(View.java:15969)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.ViewGroup.drawChild(ViewGroup.java:3612)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3402)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.View.draw(View.java:16202)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at com.android.internal.policy.PhoneWindow$DecorView.draw(PhoneWindow.java:2690)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.View.updateDisplayListIfDirty(View.java:15196)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:281)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:287)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:322)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.ViewRootImpl.draw(ViewRootImpl.java:2627)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2446)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2079)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1119)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6060)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.Choreographer.doCallbacks(Choreographer.java:670)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.Choreographer.doFrame(Choreographer.java:606)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.os.Handler.handleCallback(Handler.java:746)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.os.Handler.dispatchMessage(Handler.java:95)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.os.Looper.loop(Looper.java:148)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at android.app.ActivityThread.main(ActivityThread.java:5443)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at java.lang.reflect.Method.invoke(Native Method)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
02-04 15:09:10.105: E/AndroidRuntime(23153): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
02-04 15:09:10.105: E/AndroidRuntime(23153): Caused by: java.io.IOException: Not a valid TensorFlow Graph serialization: NodeDef mentions attr 'dilations' not in Op<name=Conv2D; signature=input:T, filter:T -> output:T; attr=T:type,allowed=[DT_HALF, DT_FLOAT]; attr=strides:list(int); attr=use_cudnn_on_gpu:bool,default=true; attr=padding:string,allowed=["SAME", "VALID"]; attr=data_format:string,default="NHWC",allowed=["NHWC", "NCHW"]>; NodeDef: Mobi

It looks to me like you're trying to load a model generated by a newer version of TensorFlow on an older version which does not understand all its features (in particular, the dilations attr of the Conv2D op).

@martinwicke facing same problem how to solve it. I posted it on stack overflow no answer yet.

I am trying to solve the same kind of issue for almost a month but still it is not solved. So I am really hoping someone can help us. I am also a windows os user.

I am trying to solve the same kind of issue for almost a month but still it is not solved. So I am really hoping someone can help us. I am also a windows os user.
Me too.

You need to change "libtensorflow_demo.so" file, the file attached in github code is not correct.
Add it under which ever arch you are using "arm64-v8a" or  'armeabi-v7a" or "x86" or "x86_64"
Also you need to add Jar file "libandroid_tensorflow_inference_java.jar" under Library.
libandroid_tensorflow_inference_java.zip
libtensorflow_demo.zip
This is for x86_64 arch

You need to change "libtensorflow_demo.so" file, the file attached in github code is not correct.
Add it under which ever arch you are using "arm64-v8a" or 'armeabi-v7a" or "x86" or "x86_64"
Also you need to add Jar file "libandroid_tensorflow_inference_java.jar" under Library.
libandroid_tensorflow_inference_java.zip
libtensorflow_demo.zip
This is for x86_64 arch

Still doesn't work

Hi
I had the same problem. I think it likely to be "martinwicke commented on Feb 6, 2018" comment. I tried different .pb file downloaded from COCO than the one I got from the tutorial. I no longer see that problem, i still got errors but moved further.


User test the page template and designs

[x] Shey to prep 3 x prototypes for user testing sessions
[x] Zoe to prepare a script
[x] Zoe & Shey to recruit participants (no less than 15)
[x] Zoe to set up user testing sessions and dashboard using user zoom
[ ] Testing sessions and insight gathering to validate best design option
[ ] Report created and shared with team
[ ] Designs to be updated following key findings

22 March - User testing begins, notes and recordings in progress, key insights being gathered

@shey-v this is a duplicate issue - have added info to other ticket and closed this