Department of Doing integration

From @samanthawolfe:

Here are some additional graphics designed by IDEO, which may be helpful. Specifically, the planning department is being reorganized as the "Department of Doing" and using the new logo.
https://www.dropbox.com/sh/xvlithxnpkwxvqi/AACOxkQHKU-9_rzxNRhPnqNZa?dl=0
https://www.dropbox.com/sh/xvlithxnpkwxvqi/AABtG8Ew0hXnD2s-_7adoZTna/04 - Deliverables/02 Branding Assets/Logo?dl=0

Please let us know where we need to integrate this new content

@hollymariegibbs Ideas for incorporating:

Large logo incorporated onto homepage/search page banner on top of yellow background

To right of search box
In place of pencils

Small logo with text, “Ready to take your first step?” in top of header (replace About, Contact)

Link to set-up first step meeting with city http://www.cityofgainesville.org/PlanningDepartment/FirstStepAssistance.aspx

Next steps module below permit/form search results above footer

DoD logo w/ link to set-up first step meeting (above in 2)
Descriptive text:
The Department of Doing will provide a convenient, one-stop location where business owners, developers, and other interested persons receive development and permitting information from several city departments at one time. This will be a convenient time for you to submit your permits and forms, learn more, and most importantly ask questions and receive support.

This is a great recent article. The use of language around the DoD may also be helpful. https://www.fastcodesign.com/3065107/slicker-city/how-one-florida-city-is-reinventing-itself-with-ux-design
"It will be a physical office, a one-stop shop for obtaining all the permits needed to open a business or develop real estate, as well as a web platform (both of which are still under development). The office will be staffed with a new kind of employee, Sherpa-like "action officers" which the city is now in the process of hiring."

Good placeholder header (First Steps) and descriptive text. PDS staff will be taking on a design sprint challenge to rebrand the meeting name/title and how it's communicated to the community. Our goal is to deliver by end of year, so timing will be good!

"The Department of Doing provides a convenient, one-stop location where you can submit permits and forms, learn more about starting a business, ask questions and receive support. The office staffs employees that are actionable guides who help you throughout the process."

@hollymariegibbs Very nice! Can we conclude with a call to action of setting up a next steps appt to (1) review/submit docs/permits and (2) review zoning options?

@samanthawolfe is it to casual to refer to someone at the Department of Doing as a 'Do-er'?

No, I don't think so but will you provide the context?

I saw the preview and it looks amazing! They are calling do-er's "Action Officers" so that may work better.

cc @ajcrites

no

@ajcrites We added in the newer header with that sweet, sweet blue house. Also moved the "next steps thing" to the bottom of permit locator view. We probably should be adding this to the bottom of some other steps as well.
:shipit:


change verbosity level to normal

So I add the confirmation in pdm#2460 that the verbosity level is actually normal, so it's up to pdm-dotenv to change its verbosity level. With this change, the message still shows up on normal invocation and doesn't when --quiet is passed to pdm
➜  pdm venv activate
Loading dotenv file /Users/mathieu/dev/pdm-dotenv/.env
source '/Users/mathieu/Library/Application Support/pdm/venvs/pdm-dotenv-LmuwbYeK-3.10/bin/activate'
➜  pdm venv activate --quiet
source '/Users/mathieu/Library/Application Support/pdm/venvs/pdm-dotenv-LmuwbYeK-3.10/bin/activate'

This looks great; thanks for taking the time to track this down :)
I'm gonna spend some time today trying to add some tests for this, including a bit a of refactoring, but if I haven't merged this PR by later in the week, feel free to nudge me here and I'll merge and release without them b.c. the downside risk of this change seems pretty small

Cool. Thank you.

I take note. Thank you very much for the merge 🙇


feat(book): An online book documentation for presenterm using mdbook

Hello @mfontanini,
There's so much happening that I'd like to rearrange some things to make the process smoother.

I've included a book that utilizes mdBook with the catppuccin theme alongside the default ones.
Mdbook ci will run on every new push on master branch and update your docs automatically to new branch called book

Deployed here: Presenterm Netlify Deployment
I tried using GitHub Pages, but it wasn't rendering assets.
GitHub Pages deploy: Presenterm GitHub Pages Deployment
So, I suggest sticking with Netlify.

Refactored entry to prevent panics (#124)
Added dependabot to make pr on deps updates

It'll  be easy for you to manage deps as i see you were bumping them manually.

Feel free to remove or add anything; I'm open to whatever changes you think are suitable. :v:

Also i'm sorry, I should have checked it before

You don't need to provide v0.1.2 or You can proceed with just the version
eg:
./releaser.sh 0.1.2 # or soo

Seems like aliesbelik/presenterm is making a pr . i'm letting you guys make changes !

Yes ! I got everything you said , I'll make changes and resolve tomorrow morning! Gotta sleep rn.

Another one: the links in the root README file in the repo point to various places in the docs, e.g. in the "features" section. Those should now point to /docs/src. Once this is deployed we can make them point to the mdbook but until then they should point somewhere valid.

Another one: the links in the root README file in the repo point to various places in the docs, e.g. in the "features" section. Those should now point to /docs/src. Once this is deployed we can make them point to the mdbook but until then they should point somewhere valid.

I think we can streamline the home README by including only essential information and providing a direct link to the documentation?.

I like having the list of features showing up near the top given there's various tools that serve the same purpose but I think presenterm has more features than the rest of them so that's the big differentiator.

Merging this against an intermediate branch. Will make changes and merge to master once it's ready.

Thanks @pwnwriter !


code documentation missing

code of peripheral-explorer is quite complex and even there is no comment or any document attached ,
so for the beginner like me it very confusing.
so please provide proper code documentation

@NakWarsii peripheral-explorer.js isn't the best place to start since it's dynamically discovering all the services and characteristics for any peripheral. Most BLE central apps connect to a known device.
I added echo.js which connects to the echo service from bleno. You'll need to run these examples on 2 different machines. Once you understand how this works, you should be able to modify it for your code. Consult the README for details on the API usage while you're reading the code.

thanks


feature/review trigger security

review security triggers
review setup.py build

Hello tcarmet,
My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.
Status report is not available.


Performance improvements

Ensure the inactive cameras don't participate in the scene graph
Fish: GPU instancing is enabled on the materials. The FishScript update loop accounted for 25% CPU usage on my system. It's now at around 10%.
Scene: disable shadows on terrain. Add baked occusion culling to the house.

While I'm not technical enough to use the Profiler properly and check the details of occlusion culling, I see that the performance is way better on my computer than it used to be. I don't think the lighting is baked on my system though.


Update stable Call and CallWithChat composites to use the same control bar

What
Removed conditional compilation of common control bar in Call and CallWithChat composites so that both composites use the new control bar for stable
Why
https://skype.visualstudio.com/SPOOL/_workitems/edit/3370372
How Tested
Local Calling sample:

Local CallWithChat sample:

Process & policy checklist

[ ] I have updated the project documentation to reflect my changes if necessary.
[ ] I have read the CONTRIBUTING documentation.

Is this a breaking change?

[ ] This change causes current functionality to break.

This doesn't look great, can you ensure there's a bug that blocks stable release until this is fixed:

This doesn't look great, can you ensure there's a bug that blocks stable release until this is fixed (is vertical gallery stable?):

Sure. I created this bug to verify if the control position is correct for mobile landscape for the September stable release https://skype.visualstudio.com/SPOOL/_workitems/edit/3377341. FYI: this is what the control bar looks like for CallWithChat currently as verified by this UI snapshot: https://github.com/Azure/communication-ui-library/blob/main/packages/react-composites/tests/browser/snapshots/stable/tests/browser/callwithchat/hermetic/CallControls.test.ts-snapshots/user-set-control-bar-button-options-Mobile-Android-Landscape-linux.png


Two strains with different ploidy?

Hi,
I sequenced several strains of the same fungus species. The size of most genomes is around 65Mb, but there were also smaller samples (around 43Mb) and slightly larger (>80Mb) samples. The reference genome of the same species is 53Mb, but according to the publication it's a diploid organism (63Mb with tandem repeats) and the haploid genome size is 42Mb.
Is it possible that some strains are haploid and some diploid? For sample with genome size of 43Mb, most BUSCOs are single-copy, while 82Mb sample have many duplicated genes.
The GenomeScope2 results look as follows:
Sample 7 (43Mb) with ploidy set to 1:
http://genomescope.org/genomescope2.0/analysis.php?code=6DccaSlrhxxWz1sgtHBa
Sample 7 (43Mb) with ploidy set to 2:
http://genomescope.org/genomescope2.0/analysis.php?code=Nfo9zRv5T6tFU6mzbtgp
Sample 36 (82Mb) with ploidy set to 1:
http://genomescope.org/genomescope2.0/analysis.php?code=W6ZGM64f73Dm2P1imqoe
Sample 36 (82Mb) with ploidy set to 2:
http://genomescope.org/genomescope2.0/analysis.php?code=uaZUZARSy7q9EuiVn0mi
Sample 5 (64Mb) with ploidy set to 1:
http://genomescope.org/genomescope2.0/analysis.php?code=paCDiO0JRQyZwYPZBsfo
Sample 5 (64Mb) with ploidy set to 2:
http://genomescope.org/genomescope2.0/analysis.php?code=PyRMQ85poK23mKbQEEwQ

It is always tricky for peaks like these - it could either be extremely high or extremely low rates of heterozygosity in a diploid sample.
For sample 7, the ploid=2 fit looks pretty good to me, and shows a modest level of heterozygosity (0.463%)
For sample 36, the ploidy=2 fit looks a bit better to me, but this implies the heterozygosity rate is 4.16% (for context outcross Arabidopsis is about 1%). This high rate is a little suspicious to me although is possible. This could also explain why you have high rates of BUSCO duplicate genes if the two haplotypes are highly divergent.
For sample 5, ploidy=2 also looks better to me, and shows a 2.5% heterogosity rate. How do the BUSCO results look? I would expect high rates of duplicates although maybe a bit less than sample 36
Good luck!
Mike

Hi Mike,
Thank you for your reply. BUSCO results show exactly what you said:

reference sample (53Mb): 99% Complete (97% Single-copy, 2% Duplicated), 1% Fragmented;
sample 7 (43Mb): 99% C (99% S, 0% D);
sample 5 (64Mb): 99% C (77% S, 22% D), 1% F;
sample 36 (82Mb): 99% C (45% S, 54% D), 1% F.
The same pattern was observed when analyzing another BUSCO dataset.
However, I'm still working to understand the variations among my samples. We know that this fungal family consists of diploid species, as confirmed by GenomeScope2, which estimated a ploidy of 2 for all my samples with a haplotype genome size of approximately 40Mb. Does this mean that the differences in additional genomic material (2Mb for sample 7, 20Mb for sample 5, and 41Mb for sample 36) suggest varying levels of repetitive sequences and, consequently, differences in genome complexity?
I really appreciate your help!
R

We cant draw this conclusion yet. Notice your kmer histograms end abruptly at 10,000 so all of your plots are missing the most repetitive sequence. This plus you have varying levels of coverage means the genome size estimates are not that reliable to compare. To get started, you should rerun kmc (or jellyfish) allowing a much higher cutoff for kmer coverage. For these data I would recommend at least 100,000 (and possibly higher). This will help normalize the differences in coverage you have. But this this analysis gets tricky because there can be low levels of contamination (even phiX) that can throw things off.  This is usually (but not always) recognized by abnormal peaks in the very high coverage range. We will have to see how it looks
Good luck
Mike
Good luck!
Mike


fix: removing path hashing

This PR contains a:

[x] bugfix
[ ] new feature
[ ] code refactor
[ ] test update
[ ] typo fix
[ ] metadata update

Motivation / Use-Case
After updating karma-webpack to the 5 version, the bundles specified in the files option were not loaded and i received 404 error.
This got fixed by removing path hashing in preprocessor.js file.path = transformedFilePath; and setting optimization: {      splitChunks: false,      runtimeChunk: false, } in my karma.conf.js file
Breaking Changes

Additional Info

Sorry, I've had my hands full with buying a house!
I'm not sure I understand what was failing previous to this change, could you make a test case that demonstrates the issue?


test(bdd): add ana swap test

test(core): add env variable to setup random min ctrl id
Tidy up the nexus nvmf config a bit.
If the env var "TEST_NEXUS_NVMF_ANA_ENABLE" is set then the min controller
will be randomly generated.
NODE: This is only useful for the ana swap test as there is no other way
of influencing this.

test(bdd): add ana swap test
This tests the ana swap by:

enabling ana
publishing a volume to an ana host
running fio
killing the volume target (nexus)
republish the volume on another mayastor
connect to the new target
remove the old target
fio completes with no errors

bors merge


Success template in Prompt is never rendered

I'm not sure if this is intended or not but the Success template  in PromptTemplates is never rendered. I tried the custom_prompt example and had the same behavior.
I think in this line we could render success template instead. I can send a PR if you agree.
Thanks for this really cool package!

This was fixed in #71, thanks for the contribution!


Build nuget package and make it part of Build.cmd

We are creating the Nuget package to give us the ability to insert ourselves to the VS Setup Authoring, which currently external APIs as Nuget packages
tagging @dotnet/roslyn-analysis for review.

@davkean I have addressed your comments. Please take a look when you can

:+1:

Sorry, I thumbs up without seeing some of your comments, can you follow up with my new comments with a new PR?

@davkean sure. what other new comments you have?

Where's the manifest? Not sure I follow the reason for not adding the Editors/AppDesigner pkgdef? How is this different from the dll's themselves which are also duplicated in VS?
It's in the VSIX, we should copy to output given you're not using the VSIX. Basically, anything in the VSIX needs to be installed.


DatePicker type daterange allow input date from greater than date to

TuSimple/naive-ui version (版本)
2.34.4
Vue version (Vue 版本)
3.3.4
Browser and its version (浏览器及其版本)
116.0.5845.141
System and its version (系统及其版本)
Window10
Node version (Node 版本)
18.16.0
Reappearance link (重现链接)
https://www.naiveui.com/en-US/light/components/date-picker#daterange.vue
Reappearance steps (重现步骤)

find demo type daterange
click to date from input and try to typing date from greater than date to
blur input

Expected results (期望的结果)
cannot type date from > date to, or if typing wrong, it win reset to valid value  in DatePicker type range
Actual results (实际的结果)
accept wrong value if date from > date to
Remarks (补充说明)

Is this it?

Is this it?

yes, or u can set from date 2024 and to date 2023


Added bytesToHex for nsec and npub decoding

The data value for nsec was returning as an Uint8Array rather than a hex string because the bytesToHex conversion wasn't being applied.

But this is intentional! See the release notes: https://github.com/nbd-wtf/nostr-tools/releases/tag/v2.0.0
If you didn't see that you may wanna read it because other things have changed.


Data have rejected variables, but do not display in Warnings

Data have rejected variables, but do not display in Warnings
from pandas_profiling import ProfileReport
profile = ProfileReport(pd.DataFrame({"a": [1,1,1,1,1,1]}), minimal=True)

2.5.0

Thank you for reporting this. We invite interested contributors to create a pull request with this functionality. More details can be found in the contribution guide.

I noticed that four types of warning messages(Uniform,Unique,Rejected,Constant) are ignored when rendering. Since Rejected is always comes with other warnings, is it necessary to add all types of warnings above?
or it will end up like this:

v2.7.0 changes the behavior to report all warnings, except "rejected", as that would be redundant.


Remove api prefix from route

Hi!
I am encountering an issue while generating a C# client using NSwag, where I modify the OpenAPI document to remove the /api prefix from all paths. This is leading to an ArgumentException: An item with the same key has already been added during the client generation process when two paths become duplicates after the prefix is removed.
For example, paths like /api/roles and /roles both map to /roles after the prefix is removed, causing a key collision in the path dictionary. The client generation succeeds for some paths, but for others, I get the following error: System.ArgumentException: An item with the same key has already been added. Key: /roles
I would also like to customize the URL in my C# client because I plan to deploy the solution in the cloud, where the API will be behind Azure API Management (APIM). In my Swagger configuration, I can use the following solution to change the base URL:
// Swagger configuration
file sealed class AppDocumentFilter : IDocumentFilter
{
    public void Apply(OpenApiDocument swaggerDoc, DocumentFilterContext context)
    {
        var editedPaths = new OpenApiPaths();
        foreach (var (key, value) in swaggerDoc.Paths)
        {
            var newKey = key.Replace("api/", string.Empty);
            editedPaths.Add(newKey, value);
        }
        swaggerDoc.Paths = editedPaths;
        swaggerDoc.Servers.Add(new OpenApiServer { Url = "/api" });
    }
}

Is there a way to customize the NSwag configuration in a similar way to control the base URL used by the C# client (for instance, using /api prefix locally but customizing it for cloud environments)?
I have tried to configure nswag, but I'm getting duplicate keys error.
public class MyOperationProcessor : IOperationProcessor
{
    public bool Process(OperationProcessorContext context)
    {
        Dictionary<string, NSwag.OpenApiPathItem> editedPaths = [];
        foreach (var (key, value) in context.Document.Paths)
        {
            var newKey = key.Replace("api/", string.Empty);
            editedPaths.Add(newKey, value);
        }

        context.Document.Paths.Clear();
        foreach (var (key, value) in editedPaths)
        {
            context.Document.Paths.Add(key, value);
        }
        context.Document.Servers.Add(new NSwag.OpenApiServer { Url = "/api" });
        return true; // return false to exclude the operation from the document
    }
}

Error
1>EXEC : error : /api/roles
1>System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
1> ---> System.ArgumentException: An item with the same key has already been added. Key: /roles
1>   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
1>   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
1>   at MyProject.Web.Api.App.MyOperationProcessor.Process(OperationProcessorContext context) in C:\EDF\ext\e\Project\src\MyProject\MyProject.Web.Api\App\ConfigureSwagger.cs:line 106
1>   at NSwag.Generation.AspNetCore.AspNetCoreOpenApiDocumentGenerator.RunOperationProcessors(OpenApiDocument document, ApiDescription apiDescription, Type controllerType, MethodInfo methodInfo, OpenApiOperationDescription operationDescription, List`1 allOperations, OpenApiDocumentGenerator generator, OpenApiSchemaResolver schemaResolver)
1>   at NSwag.Generation.AspNetCore.AspNetCoreOpenApiDocumentGenerator.AddOperationDescriptionsToDocument(OpenApiDocument document, Type controllerType, List`1 operations, OpenApiDocumentGenerator swaggerGenerator, OpenApiSchemaResolver schemaResolver)
1>   at NSwag.Generation.AspNetCore.AspNetCoreOpenApiDocumentGenerator.GenerateApiGroups(OpenApiDocumentGenerator generator, OpenApiDocument document, IGrouping`2[] apiGroups, OpenApiSchemaResolver schemaResolver)
1>   at NSwag.Generation.AspNetCore.AspNetCoreOpenApiDocumentGenerator.GenerateAsync(ApiDescriptionGroupCollection apiDescriptionGroups)
1>   at NSwag.Commands.Generation.AspNetCore.AspNetCoreToOpenApiCommand.GenerateDocumentWithDocumentProviderAsync(IServiceProvider serviceProvider) in /_/src/NSwag.Commands/Commands/Generation/AspNetCore/AspNetCoreToOpenApiCommand.cs:line 245
1>   at NSwag.Commands.Generation.AspNetCore.AspNetCoreToOpenApiCommand.GenerateDocumentAsync(IServiceProvider serviceProvider, String currentWorkingDirectory) in /_/src/NSwag.Commands/Commands/Generation/AspNetCore/AspNetCoreToOpenApiCommand.cs:line 239
1>   at NSwag.Commands.Generation.AspNetCore.AspNetCoreToOpenApiGeneratorCommandEntryPoint.Process(String commandContent, String outputFile, String applicationName) in /_/src/NSwag.Commands/Commands/Generation/AspNetCore/AspNetCoreToOpenApiGeneratorCommandEntryPoint.cs:line 29
1>   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
1>   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
1>   --- End of inner exception stack trace ---
1>   at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
1>   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
1>   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
1>   at NSwag.AspNetCore.Launcher.Program.Main(String[] args) in /_/src/NSwag.AspNetCore.Launcher/Program.cs:line 132
1>System.InvalidOperationException: Swagger generation failed with non-zero exit code '1'.
1>   at NSwag.Commands.Generation.AspNetCore.AspNetCoreToOpenApiCommand.RunAsync(CommandLineProcessor processor, IConsoleHost host) in /_/src/NSwag.Commands/Commands/Generation/AspNetCore/AspNetCoreToOpenApiCommand.cs:line 195
1>   at NSwag.Commands.NSwagDocumentBase.GenerateSwaggerDocumentAsync() in /_/src/NSwag.Commands/NSwagDocumentBase.cs:line 270
1>   at NSwag.Commands.NSwagDocument.ExecuteAsync() in /_/src/NSwag.Commands/NSwagDocument.cs:line 67
1>   at NSwag.Commands.Document.ExecuteDocumentCommand.ExecuteDocumentAsync(IConsoleHost host, String filePath) in /_/src/NSwag.Commands/Commands/Document/ExecuteDocumentCommand.cs:line 76
1>   at NSwag.Commands.Document.ExecuteDocumentCommand.RunAsync(CommandLineProcessor processor, IConsoleHost host) in /_/src/NSwag.Commands/Commands/Document/ExecuteDocumentCommand.cs:line 33
1>   at NConsole.CommandLineProcessor.ProcessSingleAsync(String[] args, Object input)
1>   at NConsole.CommandLineProcessor.ProcessAsync(String[] args, Object input)
1>   at NSwag.Commands.NSwagCommandProcessor.ProcessAsync(String[] args) in /_/src/NSwag.Commands/NSwagCommandProcessor.cs:line 65
1>C:\ext\ed\Project\src\MyProject\MyProject.Web.Api\MyProject.Web.Api.csproj(46,3): error MSB3073: The command "dotnet "C:\Users\myuser\.nuget\packages\nswag.msbuild\14.1.0\buildTransitive\../tools/Net80/dotnet-nswag.dll" run nswag.json /variables:Configuration=Debug" exited with code -1.

NSwag versions:
<PackageReference Include="NSwag.AspNetCore" Version="14.1.0" />
<PackageReference Include="NSwag.MSBuild" Version="14.1.0">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.8.0" />

I found the solution, you just need to use IDocumentProcessor
file sealed class AppDocumentProcessor : IDocumentProcessor
{
    public void Process(DocumentProcessorContext context)
    {
        var editedPaths = context.Document.Paths
            .ToDictionary(item => item.Key.ReplaceApi(), item => item.Value);

        context.Document.Paths.Clear();
        foreach (var (key, value) in editedPaths)
        {
            context.Document.Paths.Add(key, value);
        }
        context.Document.Servers.Add(new NSwag.OpenApiServer { Url = "/api" });
    }
}

Registration:
services.AddOpenApiDocument((settings, _) =>
    settings.DocumentProcessors.Insert(0, new AppDocumentProcessor()));


spatialLDA preprocessing user improvements

Is your feature request related to a problem? Please describe.
The spatial LDA notebook requires the user to list all of the cluster IDs that will be included. We should have an option to take all of the cluster IDs, rather than requiring the user to list all of them

The name of the column containing the cluster IDs and cluster labels should be modifiable, and the defaults should be changed to match the pixel clustering output (cell_meta_cluster, cell_meta_cluster_rename)
We should ensure that clusters were specified if cluster featurization is selected, and that markers were specified if marker featurization is selected

Figure out if this is going to cause problems in the future. Either way, modify so we don't get the warning

fovs argument in visualize_difference_graphs should be pulled out and defined in separate cell with guidance for user that it must be names of fovs. Should validate that these names are correct

Defaults for kmeans output don't look great:

made a pr for these issues as they crop up

those warnings are on the spatial lda's end.  I'll silence them for now, but I'll look into if there's actually an issue and submit an issue/pr to callico's repo if so.

closed by #437


ModuleNotFoundError: No module named 'dotenv'

hi ryan.
do you know what causing this error ?
File "/opt/homebrew/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 541, in _run_script
exec(code, module.dict)
File "/Users/emanvmoh/Amazon-Bedrock-Document-Comparison-POC/app.py", line 4, in
from doc_comparer import doc_compare
File "/Users/emanvmoh/Amazon-Bedrock-Document-Comparison-POC/doc_comparer.py", line 6, in
from dotenv import load_dotenv
even though i installed python-dotenv.

this could be an issue with your environments, if you are running this locally, you can also configure the environment variables directly in the code :)


Update hooks-intro.md

Fix https://github.com/reactjs/reactjs.org/issues/1426

If we think it's important to fix then it would need to be changed on all pages, not just here.


Add a troubleshooting guide for common failures in CI services

Proposed changes
As the title states, this adds a new page under our Continuous Delivery category to help our users troubleshoot common CI/CD failures when running Pulumi. This guide will be linked to from the Pulumi Console as part of its workflow configuration wizard.
Unreleased product version (optional)
N/A
Related issues (optional)
N/A

I'll go ahead and merge this. I addressed all of the comments. Thank you, @jkisk and @cnunciato for your time reviewing this.  The guide looks much better now!


Question on named-functions-in-promises

So I understand the main motivation for named-functions-in-promises is testability. I also prefer named functions for readability in stacktraces/debugging.
However, I currently am of the opinion that using arrow functions to bind context is a bit more readable than just doing a .bind(). Adapting the example from the docs:
export default Component.extend({
  actions: {
    updateUser(user) {
      user.save()
        .then(user => this._reloadUser(user))
        .then(() => this._notifyAboutSuccess())
        .catch(err => this._notifyAboutFailure(err));
        // .then(this._reloadUser.bind(this))
        // .then(this._notifyAboutSuccess.bind(this))
        // .catch(this._notifyAboutFailure.bind(this));
    },
  },

  // ... Imagine there's a lot of other functions here ...

  _reloadUser(user) {
    return user.reload();
  },
  _notifyAboutSuccess() { /* ... */ },
  _notifyAboutFailure(err) { /* ... */ },
});

From my perspective, this still keeps the testability and debuggability (though it will add an extra call to an anonymous function). It has the added benefit of being able to read through the promise chain and know what parameters each function takes without having to jump up and down the file. I'm happy to be persuaded otherwise.
Currently, the rule disallows using the anonymous functions, including arrow function expressions. My proposal would be to also allow arrow function expressions where the body is a CallExpression. To be more strict, can ensure that the method being called belongs to the parent this. Thoughts?

Thanks for your PR! 🙂
This one comes back once in a while 😄 . I believe it's a good direction to go in, while not being 100% convinced that allowing only methods defined on this is the right idea. Most importantly, current rule perfectly allows i.e.:
this._loadUser()
  .then(somethingEntirelyFromTheOutside)
  .then(...);

... and breaking away with this seems both unnecessary and backwards-incompatible.
TL;DR I think that simply allowing one-line arrow functions as promise callbacks is the best option, likely as additional rule configuration option. WDYT?

I'll also leave here an example of case that I met with several times IRL, and would be solved by this proposed modification to named-functions-in-promises rule. Namely: passing additional parameters to promise callbacks.
export default Component.extend({
  getUser(id) {
    return get(this, 'store')
      .findRecord('user', id)
      .then(this._formatUser.bind(this, 'admin'));
  },

  _formatUser(userType, user, someExtraOptions) {
    ...
  },
});

See how:

weirdish .bind call is necessary to pass userType to _formatUser method
someOptionalParam is hard to pass, at all - it would require changing _formatUser method parameters order.

How it could look like instead:
// before:
.then(this._formatUser.bind(this, 'admin'));
// after:
.then((user) => this._formatUser('admin', user, { someExtraOptions }));

Yes, I've also definitely run into the .bind(this, partially, applied) and find the constraint on parameter ordering to be restrictive.
I'm happy to remove the check that the method must be called on this. I was trying to read between the lines in the docs/example and I thought that may have been what was desired.

Okay, I left some comments in your PR. I think we're almost there @sudowork  :)


feat(openresty) bundle Kong/lua-resty-events

This adds Kong/lua-resty-events to kong-ngx-build.

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


perlPackages.MojoliciousPluginOpenAPI: init at 2.17

Adds the Mojolicious::Plugin::OpenAPI Perl module.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @volth

Fails on macos (10.13):
building '/nix/store/h6jgxr0k1xa5p6hcrd7gj1mhkgvs0jlq-perl5.28.2-Net-IDN-Encode-2.500.drv'...
unpacking sources
unpacking source archive /nix/store/1j5xcpb25i1i7hc60gccimnfr72b5z3p-Net-IDN-Encode-2.500.tar.gz
source root is Net-IDN-Encode-2.500
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file Net-IDN-Encode-2.500/t/xtra_pp.t
patching sources
configuring
patching ./eg/hello_idn_email.pl...
patching ./eg/hello_idn.pl...
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Net::IDN::Encode
Writing MYMETA.yml and MYMETA.json
no configure script, doing nothing
building
ld: unknown option: -mmacosx-version-min=10.12
Warning: ExtUtils::CBuilder not installed or no compiler detected
Proceeding with configuration, but compilation may fail during Build

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Net-IDN-Encode' version '2.500'
Building Net-IDN-Encode
Error: no compiler detected to compile 'lib/Net/IDN/Punycode.c'.  Aborting
builder for '/nix/store/h6jgxr0k1xa5p6hcrd7gj1mhkgvs0jlq-perl5.28.2-Net-IDN-Encode-2.500.drv' failed with exit code 255

@risicle Thx for testing on macOS.
Since ExtUtils::CBuilder is a part of core modules, it could be related to the ld: unknown option: -mmacosx-version-min=10.12 error message. I'll locate a Mac and try to fix the problem.

@stigtsp you just need to add perlPreHook = "export LD=$CC"; to NetIDNEncode
And it will fixed a recurring failure on Hydra as a bonus :)

@c0bw3b I've added perlPreHook = "export LD=$CC"; in this commit. Would you rather have it as a separate commit/pr?

It's ok as-is.
@GrahamcOfBorg build perl528Packages.MojoliciousPluginOpenAPI perl530Packages.MojoliciousPluginOpenAPI perl528Packages.NetIDNEncode perl530Packages.NetIDNEncode


Request percent varaible of completed votes for the day

In Advanced reward there is "BossBar", which lets you set the percentage, could we please have a variable we can put into this that is the percent of voted sites you have voted on today, so if you have 10 voting websites and you have voted on 5, its 50%, then we can show a boss bar at how far they have completed voting for that day!

I can add something to do that.

http://ben12345rocks.com/job/VotingPlugin/
VoteBossBar:
  Enabled: true
  Message: '&aBossbar'
  # Bar Colors:
  # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarColor.html
  Color: 'BLUE'
  # Bar Styles:
  # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarStyle.html
  Style: 'SOLID'
  # Delay until bar goes away (in ticks)
  Delay: 30

Try that. I did a quick test of it already and it should work.

I'm currently doing all testing on 1.12.2 and don't have a quick to test 1.13+ sorry.
But this is awesome! I thought it would make it useful then, you can see progress as you vote throughout the day!
Thanks man.


Update optimizers to work with newer interface.

I will wait to review until https://github.com/zapatacomputing/z-quantum-core/pull/351 is settled.


Use setuptools_scm to track data files

This should fix https://github.com/econ-ark/HARK/issues/1276

going for the self merge.


issue-43

Looks good to me

@rbrcurtis Can you do a minor version bump and then I'll merge?

done.
On Tue, May 9, 2017 at 3:01 PM, Michael McAuley<EMAIL_ADDRESS>wrote:

@rbrcurtis https://github.com/rbrcurtis Can you do a minor version bump
and then I'll merge?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MyPureCloud/fixtable-angular/pull/44#issuecomment-300284375,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtzcL_MMi8jcuneZn2IFhOmLvSGx6zDks5r4MYJgaJpZM4NVzYq
.


Refactor _dump method and replaced range(len) with enumerate

Refactored the _dump method to lookup corresponding method based on the values current type. Prevents repeated type checks on a single variable.
Also replaced use of _range(len(sl)) with enumerate to iterate over the list sl storing the current value in item and index in i. This prevent repeated lookups of sl with sl[i].
Everything seems to work okay on my end after running and comparing the output with that of the master branch using:
python toml_test.py < examples/example-v0.4.0.toml
It could be the case that the PR completely crashes and burns when running the tests properly. Let me konw if that's the case as I might need some guidance running them correctly.
Cheers, Jack

Hi Jack,
Thank you for the pull request.
Testing for the repository is something which I am working on improving. The toml_test.py script is actually a harness for a language agnostic TOML testing library (which is, unfortunately, not as well maintained as I would hope). Automatic Travis CI has been added since you submitted your pull request. I am actively looking at ways to improve test coverage. I hope that the situation will be better in a month or two when I have a little bit more time to devote to improving the library.
While performing some manual testing of your patch, I ran into stack overflows. I believe that they are due to the issue I've pointed out via the code comment above.
-Will

Thanks again for the PR! I've rebased and merged it.


Dapr Components are currently breaking the build / generate process

🔥 Bug Description
If you have in your aspire manifest a resource that uses Dapr you're will get the following exception:
Error executing action 'SubstituteValuesAspireManifestAction':
System.NotSupportedException: Runtime type 'Aspirate.Shared.Models.AspireManifests.Components.V0.Dapr.DaprComponentResource' is not supported by polymorphic type
'Aspirate.Shared.Models.AspireManifests.Resource'. Path: $.
     System.NotSupportedException: Runtime type 'Aspirate.Shared.Models.AspireManifests.Components.V0.Dapr.DaprComponentResource' is not supported by polymorphic type
     'Aspirate.Shared.Models.AspireManifests.Resource'.
       at void System.Text.Json.ThrowHelper.ThrowNotSupportedException_RuntimeTypeNotSupported(Type baseType, Type runtimeType)
       at bool System.Text.Json.Serialization.Metadata.PolymorphicTypeResolver.TryGetDerivedJsonTypeInfo(Type runtimeType, out JsonTypeInfo jsonTypeInfo, out object typeDiscriminator)
       at JsonConverter System.Text.Json.Serialization.JsonConverter.ResolvePolymorphicConverter(object value, JsonTypeInfo jsonTypeInfo, JsonSerializerOptions options, ref WriteStack state)
       at bool System.Text.Json.Serialization.JsonConverter`1.TryWrite(Utf8JsonWriter writer, in T value, JsonSerializerOptions options, ref WriteStack state)
       at bool System.Text.Json.Serialization.Converters.DictionaryOfTKeyTValueConverter`3.OnWriteResume(Utf8JsonWriter writer, TCollection value, JsonSerializerOptions options, ref WriteStack state)
       at bool System.Text.Json.Serialization.JsonDictionaryConverter`3.OnTryWrite(Utf8JsonWriter writer, TDictionary dictionary, JsonSerializerOptions options, ref WriteStack state)
       at bool System.Text.Json.Serialization.JsonConverter`1.TryWrite(Utf8JsonWriter writer, in T value, JsonSerializerOptions options, ref WriteStack state)
       at bool System.Text.Json.Serialization.JsonConverter`1.WriteCore(Utf8JsonWriter writer, in T value, JsonSerializerOptions options, ref WriteStack state)
  at void System.Text.Json.ThrowHelper.ThrowNotSupportedException(ref WriteStack state, NotSupportedException ex)
  at bool System.Text.Json.Serialization.JsonConverter`1.WriteCore(Utf8JsonWriter writer, in T value, JsonSerializerOptions options, ref WriteStack state)
  at void System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.Serialize(Utf8JsonWriter writer, in T rootValue, object rootValueBoxed)
  at string System.Text.Json.JsonSerializer.WriteString<TValue>(in TValue value, JsonTypeInfo<TValue> jsonTypeInfo)
  at string System.Text.Json.JsonSerializer.Serialize<TValue>(TValue value, JsonSerializerOptions options)
  at JsonNode Aspirate.Shared.Extensions.JsonExtensions.TryParseAsJsonNode<T>(T instance) in /home/runner/work/aspirational-manifests/aspirational-manifests/src/Aspirate.Shared/Extensions/JsonExtensions.cs:42
  at void Aspirate.Processors.Transformation.ResourceExpressionProcessor.ProcessEvaluations(Dictionary<string, Resource> resources) in
     /home/runner/work/aspirational-manifests/aspirational-manifests/src/Aspirate.Processors/Transformation/ResourceExpressionProcessor.cs:12
  at Task<bool> Aspirate.Commands.Actions.Manifests.SubstituteValuesAspireManifestAction.ExecuteAsync() in
     /home/runner/work/aspirational-manifests/aspirational-manifests/src/Aspirate.Commands/Actions/Manifests/SubstituteValuesAspireManifestAction.cs:9
  at async Task<int> Aspirate.Commands.Actions.ActionExecutor.ExecuteCommandsAsync() in /home/runner/work/aspirational-manifests/aspirational-manifests/src/Aspirate.Commands/Actions/ActionExecutor.cs:65

The problem seems to be that the DaprComponentResource is not listed in the attribute list here.
Is this by intention or was this just forgotten with the latest release?
🔍 Steps to Reproduce the Bug

Create new Aspire project
Add to your API project as sidecar
run aspirate.exe generate
See error

🧯 Possible Solution
Add the attribute for DaprComponentResource to the Resource class

Sorry about that - it was overlooked, wasn't intentionally left out. Adding now, expect v0.6.4-preview in next ten mins with it added

Thank you for the fast fix 👍


Workspace config - folder specific files association not working

VSCode Version: 1.44.2
OS Version: Ubuntu 19.10

Steps to Reproduce:

Open a .code-workspace that has files.associations configured using the workspaceFolder variable like so:

{
  "folders": [
    {
      "name": "Base",
      "path": "."
    },
    {
      "name": "Other",
      "path": "../other"
    }
  ],
  "settings": {
    "files.associations": {
      "${workspaceFolder:Other}/**/*.c": "cpp"
    }
  }
}

Open a .c file located in the ${workspaceFolder:Other} location and observe that the language mode is displaying C, instead of the expected C++.

Does this issue occur when all extensions are disabled?: Yes

@bpasero Do you support variables in files associations?

I have never seen this syntax ${workspaceFolder:Other} and thought it was something you came up with. If not, then it explains why this does not work.

Configuration does not support any variables. Hence moving this to you if you are willing to support variables.

@nsgundy how did you encounter this syntax you are using? wondering what made you use it?

@nsgundy how did you encounter this syntax you are using? wondering what made you use it?

@bpasero See https://code.visualstudio.com/docs/editor/variables-reference#_variables-scoped-per-workspace-folder

@nsgundy that seems to be debug and task specific, not in general. You can use this in task.json and launch.json.

Is variable substitution not supported outside of tasks.json / launch.json? It surely would be useful to have.


C++ error

hello,When I run search.py,I find a error like this.

My pytorch version is 1.4.0. Thank you.

This is error of installing torch-encoding package. Could you follow the instructions at https://hangzhang.org/PyTorch-Encoding/notes/compile.html#detailed-steps to reinstall it?

@zhanghang1989 I reinstall torch-encoding as your instruction,but it cannot solve the problem.My gcc version is 4.9.2,do I need to update it?

Make sure ninja is installed properly with correct gcc version


use babel-plugin-import on @mui libraries

Related Issue
Solve #418

It should be tree shaken as far as I know and bit be pushed to the users


Convert the PDFPageProxy.intentStates property from an Object to a Map

Please refer to the individual commit messages for additional details.

/botio unittest

Looks better to me too. Thanks!


sys_reboot for native posix missing

sys_reboot is currently not implemented for native posix.
See also https://github.com/zephyrproject-rtos/zephyr/issues/6044

Hi @aescolar, my application has CONFIG_REBOOT enabled and uses it on the NRF board. For the Posix Native target, the compilation fails because the Posix Arch does not implement the following function
void sys_arch_reboot(int type);
void sys_clock_disable(void);

As a quick work-around I implemented mocks to make the code build. If there is interest I can upstream my mock implementation.
I have not looked into a "more useful" implementation of reboot on Posix.

If there is interest I can upstream my ..

You are welcome to.


Creating duplicate files on selecting opting "Add MVC Dependencies"?

From @nithinbandaru1 on https://github.com/dotnet/core/issues/514
Hi,
When I am trying to create new controller for first time it gives me option to add mvc dependencies with two options as shown in image below.

Now when I select full dependencies option it is adding duplicate files like:
ViewImport.cshtml though there is ViewImports.cshtml
Layout.cshtml though there is _Layout.cshtml
I think It should add those files only if the files are not present.
NOTE: This option doesn't popup when I create using Add -->New item-->Controller. It only happens when I do Add-->Controller(shortcut) .
Looks like a bug for me. Is it?

From @danroth27 https://github.com/dotnet/core/issues/514#issuecomment-285723019
Yeah, this dialog is super confusing when you already have MVC included in a project.
@barrytang @sayedihashimi Please take a look

From @olivier-voutat
https://github.com/dotnet/core/issues/514#issuecomment-287001601
And why entity framework is in the dependencies? I have a very special scenario where I just cannot use EntityFramework...
https://github.com/dotnet/core/issues/514#issuecomment-287002851
And in the scaffolding file it is written:
Add Scaffolding CLI tool to the project:

But when I try to do it, it says that is not supported.
https://github.com/dotnet/core/issues/514#issuecomment-287012135
My bad. Now I understood. Add manually to project file... :-P
But when I try to add manually "Microsoft.VisualStudio.Web.CodeGeneration.Design" I get this error.
Restoring packages for C:\Development\CustomerCenter\Assura.CustomerCenter.WebApp\Assura.CustomerCenter.WebApp.csproj...
Package Microsoft.Composition 1.0.27 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Microsoft.Composition 1.0.27 supports: portable-net45+win8+wp8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile259)
One or more packages are incompatible with .NETCoreApp,Version=v1.1.
Package restore failed. Rolling back package changes for 'Assura.CustomerCenter.WebApp'.
Time Elapsed: 00:00:00.8155988
========== Finished ==========
But the "Add MVC Dependencies" is able to install it.

@nithinbandaru1

Now when I select full dependencies option it is adding duplicate files like:
ViewImport.cshtml though there is ViewImports.cshtml
Layout.cshtml though there is _Layout.cshtml
I think It should add those files only if the files are not present.
NOTE: This option doesn't popup when I create using Add -->New item-->Controller. It only happens when I do Add-->Controller(shortcut) .
Looks like a bug for me. Is it?

Yes, the extra files added (ViewImport.cshtml and Layout.cshtml) is a bug in scaffolding.
@danroth27

Yeah, this dialog is super confusing when you already have MVC included in a project.

We do want to revisit the dialog to improve the experience. Right now the dialog is a shared dependency installer between the Empty web project and MVC/ Web API projects that do not have necessary dependencies for scaffolding to work.

@olivier-voutat

And why entity framework is in the dependencies? I have a very special scenario where I just cannot use EntityFramework...

The scaffolding packages have a dependency on EnitytFrameworkCore, hence the need for EF package.

But when I try to add manually "Microsoft.VisualStudio.Web.CodeGeneration.Design" I get this error.

For the Microsoft.VisualStudio.Web.CodeGeneration.Design package, you would need to also add the below to the csproj file manually:
<PropertyGroup>
  <PackageTargetFallback>$(PackageTargetFallback);portable-net45+win8</PackageTargetFallback>
</PropertyGroup>

The Add MVC dependencies adds this property to the csproj file before installing the package

@prafullbhosale Is this the same issue as described in https://github.com/aspnet/Scaffolding/issues/411?

Is this the same issue as described in #411?

Yes, that is correct. Closing this as a dupe of #411


Improve clarity around SPM installation instructions

Resolves #46

Hey @dalewking, would this make the documentation easier to follow? 😊

Friendly ping @dalewking 😄


Setting value for input type hidden

Hi,
I have a scenario in which on click of a Button I want to set the value to the input field of type hidden(list of users, from which one will be selected on click of a button). I have view like this:
<Button bsStyle="primary" bsSize="large" onClick={this.setInputHidden.bind(this,"UserSelecedText")} >
    Select User
</Button>
<input type="hidden" value={this.state.selectedUser} {...user} />

And in the method setInputHidden, I'm setting up the selectedUser state, which now becomes the value of input[type=hidden].
I could able to see the value is being set to input[type=hidden] in my console, however the redux-form, doesn't capture this an change!
Any guess how should I solve this issue?

@antoaravinth  Can you try calling the hidden fields onChange event directly? See #152.
Something like this in one of your event handlers, or in componentWillReceiveProps, etc. depending on where it makes sense for your use case.
user.onChange('value'); // assuming user is a redux form field contained at this.props.fields.user

I had to do something similar to normalize deep fields which is not currently supported. I had to set the value of the input and call the inputs onChange method. Alternatively you can call just onChange and next time a render happens the value should be updated.

Unless you are using some other library that depends on it, there is no reason to have a <input type="hidden"/> in your page. You can still include it in the fields array and just never assign it to an input element. To set the value, just call its onChange like @drouillard suggested.

@drouillard : Thanks for your response. I guess this way it works
@erikras: True, I guess I no need to assign it to an input element, rather directly handle in the fields array. I have one more question, in the console I often see "redux-form/DESTROY" action fired many times. I'm not sure, why this happens or when it should happen.
For example on doing :
user.onChange('value');

At times DESTROY event happens and at times it doesn't happen. Any help?

This is a usage question, and we encourage you to ask it on StackOverflow instead. We try to use the issue tracker for bug reports and feature requests, as well as some discussions, but this appears to be a very localized question.
This is the only way to ensure the same question doesn’t get asked many times in a row, and that folks who have the same question in the future will be able to find it.
I’m closing for these reasons.

You can still include it in the fields array and just never assign it to an input element. To set the value, just call its onChange like @drouillard suggested.

@erikras what's the suggested way to do this on v6?

you guy can use this.props.fields.name.onChange(nameValue)

@tugberkugurlu   same question

Came across the same issue, and I'm temporarily resolving with a hidden field. This is due to the new versions' reduxForm decorator doesn't take fields as a prop anymore.


Use cabin 0.7.2 instead of 0.8.0

This appears to fix issue #362.
The symptom: Cabin-related stacktrace during fpm invocation.
Cabin 0.8.0 changes its API such that it is incompatible with the
version of fpm in use in chef-bach.  Downgrading to cabin 0.7.2
resolves the API incompatibility.
Since Cabin is a log library, I expected to find an underlying
problem, but none presented itself.

This was probably an error with rubygems -- trying again now

Hmm, I may be doing something incorrect but I can't get the passwords for the bcpc-vms
quasiben@23server:~/Research/chef-bach$ VBoxManage list runningvms
"bcpc-bootstrap" {97223063-6c2c-499a-8cce-52c0863246fb}
"bcpc-vm1" {88c1b501-041e-4e0c-a7bf-f89eee55604c}
"bcpc-vm2" {6275076e-c442-4b37-b6e7-014023bc1604}
"bcpc-vm3" {f5ee9bb8-54d9-4f84-91f3-b993ab604b14}

root@bcpc-bootstrap:~# cobbler system list
   bcpc-vm1
   bcpc-vm2
   bcpc-vm3
root@bcpc-bootstrap:~# knife data bag show configs Test-Laptop
WARNING: No knife configuration file found
ERROR: Your private key could not be loaded from /etc/chef/client.pem
Check your configuration file and ensure that your private key is readable

Looks good

Ben, at some point the cobbler root pass was migrated to chef-vault.  It seems the wiki might be out of date.
try:
knife vault show os cobbler -F json -p all -m client

I get an error with that:
vagrant@bcpc-bootstrap:~$ knife vault show os cobbler -F json -p all -m client
FATAL: Cannot find sub command for: 'vault show os cobbler -F json -p all -m client'
Available subcommands: (for details, knife SUB-COMMAND --help)

Also, happy to move this discussion else where since this is an user error and unrelated to the PR


Config option to allow for knifing a knew host with a

My testing copy of .chef/knife.rb normally sets it this way, to use a local version (per chef config):
data_bag_keyfile         "#{current_dir}/data_bag_key"
More info in the mailing list post at http://lists.opscode.com/sympa/arc/chef/2011-11/msg00071.html.

Thank you for supporting Chef! Our process has a couple prerequisites before we can merge your contribution. We need to ensure you've completed a Contributor License Agreement (CLA) and a ticket on our ticket tracker for the release workflow. Please take a moment to review the below wiki page for the appropriate steps:
http://wiki.opscode.com/display/chef/How+to+Contribute
The Opscode Team

It looks like this is duplicate functionality of another contribution that already went into 0.10.6, so this can be dropped.


PostgreSQL unique constraint violation on concurrent load-app command

I use retzClient.load(app) in my code before I run retzClient.schedule(job) to ensure that the app exists. Even if the app already exists, this works fine. However, when I have two concurrent calls that load an app and then schedule a job, I get the following output in Retz:
2017-02-02 17:29:39.584 WARN  [qtp8270458-32] io.github.retz.cli.FileConfiguration - Authentication is disabled.
2017-02-02 17:29:39.586 WARN  [qtp8270458-29] io.github.retz.cli.FileConfiguration - Authentication is disabled.
2017-02-02 17:29:39.594 INFO  [qtp8270458-32] io.github.retz.web.AppRequestHandler - Registering application name=test-launcher owner=deadbeef
2017-02-02 17:29:39.594 INFO  [qtp8270458-29] io.github.retz.web.AppRequestHandler - Registering application name=test-launcher owner=deadbeef
2017-02-02 17:29:39.600 INFO  [qtp8270458-32] io.github.retz.web.WebConsole - 200 PUT http://mesos3:9090/app/deepmux-test-launcher null from <IP_ADDRESS> retz-client-0.2.2-SNAPSHOT (0.0.31-150-gf0fec04) Java/1.8.0_91
2017-02-02 17:29:39.620 ERROR [qtp8270458-29] io.github.retz.db.Database - org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "applications_pkey"
  Detail: Key (appid)=(test-launcher) already exists.
org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "applications_pkey"
  Detail: Key (appid)=(test-launcher) already exists.

I don't know what Retz does in the database, but I guess an atomic UPSERT or so is required here.

I thought I've already made UPSERT-ish code on loading applications, I'll take a look... Do you know this happens in H2 database, too?

Indeed, the database code looks very transaction-safe. Note that one reason why this may have happened is that I have changed the list of file URLs every time when I recreated the app, so maybe there were some other tables involved as well?
I have now removed the list of file URLs from the loadApp call and added a lock around it so the problem does not exist any more for me. Do you still want me to debug this further?


Configurable TSS pre-params target pool size

Closes: #474
Added the ability to configure the TSS pre-parameters target pool size.

Tested and works as advertised - once the two remaining comments are addressed I am happy to merge.


Receipts are sent multiple times for individual transactions

Describe the bug
Receipts are mailed multiple times, even though only one payment occurs. The receipts have differing IDs.
To Reproduce

Purchase something in the webshop, and observe that two receipt mails are received.
Add money to your wallet for the same behavior.

Probably also occurs when paying for events.
Additional context
My guess, I haven't checked that this is precisely the case: Receipts are sent when PaymentRelation objects are saved. Following the recent changes to payments using Stripe, payments get saved multiple times. Perhaps getting asked for 3D-Secure authentication results in a third mail?

I would suggest this stems from the receipts being created every time a transaction/relation is saved.
Receipts should rather be created when the transaction or relation changes updates status from SUCCEEDED and REFUNDED, as those are the only appropriate times to send them.

I don't think we send receipts for refunds? It's probably something we want, but it might belong in another issue entirely.


Remove leading dot from nullglob

I guess that the main reason for using the nullglob symbol was to suppress errors. However, using that with a leading dot . ignores symlinks as well.
Since all my dotfiles are symlinked, changing this was necessary.
The drawback is that directories are now also included.
I wonder if there's a way to exclude only them...

I fixed this a different way. See commit: https://github.com/mattmc3/zshrc.d/commit/3c56a870746dee24a682457fa4b59a96cf75701d
This should now resolve your issue of symlinks not working, and will also not grab directories as expected.


Misleading error when spreading properties in JSX

Reproduced on flow/try
We are building helper layout components with different Col types.  There is a base column we use, and then try to add another helper component like:
export const ColBroken: ComponentType<ColProps> = (props) => (
  <Col
    lg={12}
    {...props}
  />
)

The error is:
7:   lg?: ColSize,
          ^ boolean [1] is incompatible with number [2].
References:
7:   lg?: ColSize,
          ^ [1]
19:     lg={12}
            ^ [2]

I couldn't figure out what the problem was.  Then I found some workarounds.  But it was basically just playing around with the JSX that solved it.  But this should be valid.  I included several workarounds in the flow/try link.

Looks like this is fixed since v0.89 which refactored the handling React component types: https://medium.com/flow-type/supporting-react-forwardref-and-beyond-f8dd88f35544


Parse Error in Ray.php line 15

Installed ray v1.1.1 and laravel-ray v1.1.0
The app is open and I have placed a simple call, ray('hello world'), in one of my controllers. It fails and the following is dumped in my log file.
[2021-01-08 08:15:07] local.ERROR: syntax error, unexpected 'bool' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) {"userId":21094,"exception":"[object] (ParseError(code: 0): syntax error, unexpected 'bool' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) at C:\...\vendor\spatie\laravel-ray\src\Ray.php:15)
[stacktrace]
#0 C:\...\vendor\composer\ClassLoader.php(322): Composer\Autoload\includeFile('C:\\...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('Spatie\\LaravelR...')
#2 [internal function]: spl_autoload_call('Spatie\\LaravelR...')
#3 C:\...\vendor\spatie
ay\src\helpers.php(15): class_exists('Spatie\\LaravelR...')
#4 C:\...\app\Http\Controllers\MasterDataController.php(53): ray('hello world')

Please make sure you're running Ray on PHP7.4 or higher
https://freek.dev/1598-how-to-check-which-version-of-php-you-are-running

Please make sure you're running Ray on PHP7.4 or higher
https://freek.dev/1598-how-to-check-which-version-of-php-you-are-running

A syntax error makes me things that you did not have the right PHP version available.

A syntax error makes me things that you did not have the right PHP version available.


Is it able to update vertex color for key frame?

Hi,
I am using scenepic for visualizing and debugging my project, it is super cool!
Currently, I would like to visualize some error maps onto a mesh sequence via heat maps.
However I found either update_mesh_without_normals() or update_mesh() has no interface for changing per-vertex color.
Are there other ways to update per-vertex color for keyframes? Thanks a lot!

This isn't currently a feature, but I think it makes a lot of sense for precisely this kind of use case. I'll add it to the backlog.


Remove: LoLo TV [LV]

Channel ID (required)
LoloTV.lv
Reason (required)
Duplicate
Notes
Duplicate of Pingviins.lv

Needs to be fixed in epg


Re-enable guild owner check in punish

I forgot to reenable this method before pushing..

Resolved V0.2.5


Mac OS Keyboard Hotkeys should use Ctrl

When on a login page the user input field is focused right away (which is good) and I hit Alt+Shift+L to open up the browserpass popup, it does not do so but writes a ﬂ to the user input field, as Alt is the third layer keyboard switch in OSX. So for the browserpass hotkey on the Mac Ctrl+Shift+L would work better, I guess. Or an option to make it configurable, in user.js for example.

I dislike Alt+Shift+L for a different reason: often Alt+Shift is used to toggle keyboard language, so together with opening a popup I change the language.
The good thing is that in Chrome you can modify the hotkey on this page: chrome://extensions/configureCommands

Relates to #60

I'll close this as duplicate of #60 for cleanup purposes.


Flavour Aggregation

Added logic for node aggregation into flavours.

Hi @Iqqdd99 .
Thanks for your PR!
It looks like some checks have failed, more specifically the artifact generation one.
This happens when you modify the CRDs without building them through make (run make generate on your root repo directory).
Moreover, I see you pushed 4 commits and I would kindly ask you to squash your commit when opening PR so we can keep the history of the repository clean.
Thanks!


Add Keyblade Formchanges/ Shotlocks to Pool

I've found a couple references to these tables so far, but changing these have not altered them so far. But once these are accounted for and tested, de/re-compile like the other needed ones.
Files Needed:

TresShootFlowData
TresKeybladeAbilityData
Game\Blueprints\Player\p_ex001 - This directory holds a lot of info about abilities, formchanges and shotlocks on keyblades

This file may be useful in changing the formchange that's associated with keyblades - Looks like there are parameters here, so potentially a keyblade will send out a list of parameters and the situation command can change depending on what gets input.

The situation "display name" changes, but has no effect on the formchange.
May change this to just change formchange abilities and clothing for now
Issues:

Shotlocks

w_so010_ProjSet - lists all the different projectiles used per keyblade, though changing seems to break the projectiles causing them to not shoot out

w_so010_Equip - potential m_ReplaceProjectileSet able to change shotlocks at a larger level, but does the same as above

Neither seem to work, Sora shoots out nothing

Formchanges

p_ex001_WearformSet - changes clothes per form category

p_ex001_FormAbility - potential ability to change abilities

w_so010_Equip - potential m_OwnerWearForm potentially allows for different clothes per form

So far, nothing of note on changing what form changes to what


Serilog.Sinks.Slack.proj: Updated Serilog to latest, included need…

The current version is not working with latest Serilog, I think because PeriodicBatchingSink is now in different library: Serilog.Sinks.PeriodicBatching, so I updated the references.
Also I removed RestSharp dependency and used HttpClient which required Newtonsoft.Json, which made the number of dependencies the same regarding external stuff, but Newtonsoft.Json is much more common one, and in my case RestSharp was something that was used only here.
I did some small refactoring also.
I hope this makes sense to you, if not thank you for the sink anyway :)

Sorry for late response. Change looks good -  will take some time this or next week. Thanks

No problem. Thank you.

Cosmetic fixes and removed a test. Though I would like to put some time into it, this one wasn't testing much - thanks though.

all changes in Serilog.Sinks.Slack.1.0.20

Thank you.


etcd-dump-db: initial commit

@fanminshi @xiang90
etcd-dump-db inspects etcd db files.

Usage:
  etcd-dump-db [command]

Available Commands:
  list-bucket     bucket lists all buckets.
  iterate-bucket  iterate-bucket lists key-value pairs in the bucket.
  hash            hash computes the hash of db file.
  revert-revision reverts the db file by specified revision.

Flags:
  -h, --help[=false]: help for etcd-dump-db

Use "etcd-dump-db [command] --help" for more information about a command.

2016-10-21 20:58:50.474187 I | etcd-tester: all members are consistent with current revisions [revisions: map[http://<IP_ADDRESS>:2379:834236 http://<IP_ADDRESS>:2379:834236 http://<IP_ADDRESS>:2379:834236]]
2016-10-21 20:58:50.474225 I | etcd-tester: checking current storage hashes...
2016-10-21 20:58:50.474246 I | etcd-tester: [round#1 case#45] inconsistent hashes [map[http://<IP_ADDRESS>:2379:605767533 http://<IP_ADDRESS>:2379:1368123799 http://<IP_ADDRESS>:2379:605767533]]
2016-10-21 20:58:50.474256 W | etcd-tester: [round#1 case#45] functional-tester returning with tt.checkConsistency error (inconsistent hashes [map[http://<IP_ADDRESS>:2379:605767533 http://<IP_ADDRESS>:2379:1368123799 http://<IP_ADDRESS>:2379:605767533]])
2016-10-21 20:58:50.474275 I | etcd-tester: [round#1 case#45] cleaning up...

# same revision 834236
http://<IP_ADDRESS>:2379:834236
http://<IP_ADDRESS>:2379:834236
http://<IP_ADDRESS>:2379:834236

# different hash<PHONE_NUMBER>
http://<IP_ADDRESS>:2379:1368123799
http://<IP_ADDRESS>:2379:605767533
http://<IP_ADDRESS>:2379:605767533

# but all db files have the same hash value 605767533
etcd-dump-db hash ~/hash-20161021/test04-agent01/agent.etcd
etcd-dump-db hash ~/hash-20161021/test04-agent02/agent.etcd
etcd-dump-db hash ~/hash-20161021/test04-agent03/agent.etcd

# same last keys
etcd-dump-db iterate-bucket ~/hash-20161021/test04-agent01/agent.etcd --bucket=key --limit=3 --reverse
etcd-dump-db iterate-bucket ~/hash-20161021/test04-agent02/agent.etcd --bucket=key --limit=3 --reverse
etcd-dump-db iterate-bucket ~/hash-20161021/test04-agent03/agent.etcd --bucket=key --limit=3 --reverse

# tried to revert to the same revision 834236
etcd-dump-db revert-revision ~/hash-20161021/test04-agent01/agent.etcd --rev=834236
etcd-dump-db hash /tmp/test600288653.db

# still same hash 605767533

So some keys in lease bucket could have differed at the time we call Hash API. We need to find when we have this hash<PHONE_NUMBER>. Currently it's hard to reverse that since lease is just different bucket...

@fanminshi Can you please also review this? Thanks!

@xiang90 taking a look

@fanminshi I changed flag description on negative limit.
@heyitsanthony I dropped reverse flag. PTAL.

@xiang90 @fanminshi Just dropped revert subcommand and added it as TODO for now. PTAL

@fanminshi @heyitsanthony dropped all unused functions. PTAL.

@fanminshi @xiang90 Added README and changed backend function.
@heyitsanthony I just used Hash method from mvcc and expose DefaultIgnores.
PTAL. Thanks.

LGTM

LGTM


annotation support

same use case as https://github.com/ko-build/ko/issues/1090, pushing to ghcr registry. this PR adds ability to set annotations for both single/multi-arch builds, so they are nicely labelled on ghcr.io:
ko build --tags=v0.0.1 \
    --sbom=none --platform linux/amd64,linux/arm64 \
    --image-annotation org.opencontainers.image.source='https://github.com/foo/bar' \
    --image-annotation org.opencontainers.image.description='something about the package' \
    --push=true --bare \
    .

references:

https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#labelling-container-images
https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#adding-a-description-to-multi-arch-images

It would be really great to have this feature. I would love to build properly annotated multi-arch images with a downstream tool (goreleaser).


[ACR] Add Key Vault TSG for Transfer feature

In response to recent CRI, add Key Vault troubleshooting info to our Transfer TSG. This will help customers self-diagnose managed identity access issues.

Learn Build status updates of commit 4bae80d:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed]

Cannot sync git repo to specified commit because ref +refs/pull/100594/merge has been deleted or has been force pushed.
 If this is pull request, please ensure it is mergeable (no merge conflict) and open (not closed).

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


fix screenshot bottom color

Yeah this is something that annoys me as well, the bottom curves get moved when the nav bar is shown. For me though, the screenshot gets taken before this move happens. I'll have a look and see if there's anything straightforward I can do.

Ok, this should be fixed in ba84319cc0ad5a24ac7d941645a75274dc8807da.


Update CC80: Voice Chatbot with p5.Speech

Updated code to use promises
@shiffman This has a mixed usage of .then().catch() and async-await in order to keep the code as similar to the video as possible.
The file loading was earlier using callbacks so I changed it to .then(); whereas getting the reply was earlier completely synchronous and now returns promises, so I used await.
Let me know if this is fine or anything needs to be changed.

There are some minor differences with the sketch on the CT account.  The sketch links to the latest version of p5<EMAIL_ADDRESS>and the p5.speech CDN  and the rive script is named 'brain.txt'.

It's good to use brain.rive instead brain.txt (I think?) but the web editor won't allow for the rive file extension!


fix build_supported_mimetypes_table_rst.py script to show all extensions by mimetype instead of just one

Currently:
current script build_supported_mimetypes_table_rst.py create table with only one extension per mimetype which is not really clear when we have multiple file extension with same mimetype.
Expected:
We should update script to show multiple file extension per mimetypes if available.

fixed by #152


Rudy feature

Edited the style.css to remove comments. Completed the README.MD and added  imgs for the screenshots

Need to run the pull request into develop


Dummy/Invalid order settlement is no longer supported.

The latest ring settlement checks fill rate, and as before we write 0 in both S/B of dummy ring, so now, the dummy ring does not pass the fill rate check.
However, as we still need paddings, I think there are 2 ways:

Re-enable invalid rings.
Use real order and real ring. it seems ok, but Relay needs to do more things.
Way 1 seems impossible today as setup is on-going.
If we choose way 2, we also need to modify our unit test, now the invalid case is missed.
Any opinion??

As we also have [1,2,4,...,1024], the binary combination seems also an acceptable solution which needs no paddings, but cost maybe up a little bit.

https://github.com/Loopring/protocols/pull/690


Hybrid line numbers not working on Homebrew-ed Vim 7.4

When I use set rnu and set nu, hybrid line numbers (absolute on current line, relative everywhere else) works great on a Linux machine, but it's not working on my Mac. I installed Vim 7.4 on my Mac OSX El Capitan using brew install vim. On my Mac, set rnu and set nu just switch between absolute and relative numbers without the hybrid behavior. This still occurs even when I move my .vimrc file and .vim directory (where all my plugins are) to different locations. Here's the output of vim --version:
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr  6 2016 08:34:07)
MacOS X (unix) version
Included patches: 1-1707
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl             +farsi           +mouse_netterm   +tag_binary
+arabic          +file_in_path    +mouse_sgr       +tag_old_static
+autocmd         +find_in_path    -mouse_sysmouse  -tag_any_white
-balloon_eval    +float           +mouse_urxvt     -tcl
-browse          +folding         +mouse_xterm     +terminfo
++builtin_terms  -footer          +multi_byte      +termresponse
+byte_offset     +fork()          +multi_lang      +textobjects
+channel         -gettext         -mzscheme        +timers
+cindent         -hangul_input    +netbeans_intg   +title
-clientserver    +iconv           +packages        -toolbar
+clipboard       +insert_expand   +path_extra      +user_commands
+cmdline_compl   +job             +perl            +vertsplit
+cmdline_hist    +jumplist        +persistent_undo +virtualedit
+cmdline_info    +keymap          +postscript      +visual
+comments        +langmap         +printer         +visualextra
+conceal         +libcall         +profile         +viminfo
+cryptv          +linebreak       +python          +vreplace
+cscope          +lispindent      -python3         +wildignore
+cursorbind      +listcmds        +quickfix        +wildmenu
+cursorshape     +localmap        +reltime         +windows
+dialog_con      -lua             +rightleft       +writebackup
+diff            +menu            +ruby            -X11
+digraphs        +mksession       +scrollbind      -xfontset
-dnd             +modify_fname    +signs           -xim
-ebcdic          +mouse           +smartindent     -xsmp
+emacs_tags      -mouseshape      +startuptime     -xterm_clipboard
+eval            +mouse_dec       +statusline      -xterm_save
+ex_extra        -mouse_gpm       -sun_workshop    -xpm
+extra_search    -mouse_jsbterm   +syntax
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: /usr/bin/clang -c -I. -Iproto -DHAVE_CONFIG_H   -F/usr/local/Frameworks -DMACOS_X_UNIX  -Os -w -pipe -march=native -mmacosx-version-min=10.11 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: /usr/bin/clang   -L. -L/usr/local/lib -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names -o vim        -lm  -lncurses -liconv -framework Cocoa   -fstack-protector  -L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -lperl -framework Python   -lruby.2.0.0 -lobjc

As an update, I found that hybrid line numbers works just fine on my iMac with Homebrew-ed Vim 7.4, so it must be something specific about my laptop that causes problems, but I can't figure out what.

Are your sure, it is the vim 7.4.1707 that does not show the hybrid line numbers?

Aargh!  If I use vim then it's fine, but if I use vi, which I'm used to just pointing to the same place as vim, then I have my problem.

Thank you for your temporary pausing of the mind (aka what you said starting with 'i').  It helped me solve the same problem I thought I was having... solved in less than 1 min thanks to you.  - E

Glad this thread could be of use :)


dev: add list of architectures/operating systmes

@flatcap what do you think? (its slightly adapted)

Looks good.  Nice and simple.


The performances of pre-trained weights are lower than the paper

Hi, I notice that the performances of pre-trained weights you provided are lower than the paper. The results in the latest paper are obviously better. Do you have the plan to release the matched pre-trained weights?

Hi,
Thanks for reaching out!
Yes, I plan to release the weights for the latest version of the paper. I will try to do it by the end of the week.

It is the weight-sharing strategy that makes the performance improvements.
In Table 2. you can see that the "repeated" setting allows keeping good performance while significantly reducing the number of parameters. Hence, "repeated" weight-sharing can be seen as a form of regularization.
Moreover, this strategy seems to be even more beneficial for larger backbones (see Tab.14 - Swin-L).
Hope that it answers your question.


Website is down

I can not navigate to the example website http://typedoc.io/  | https://typedoc.io/

See #270


Any plans for open-sourcing？

Hello,
I'm interested in the progress of the open source code for TGS. I noticed that there hasn't been any recent activity on the repository and I was wondering if there are any plans for further development.

I have just released nvshare, a transparent GPU sharing mechanism without memory constraints for bare-metal and Kubernetes, based on my diploma thesis.
It is also based on Unified Memory.

With nvshare you can concurrently run multiple processes/containers on the same GPU safely, each process/container having the whole physical GPU memory available.
nvshare doesn't impose any memory limit for containers and respects security (unlike for example MPS), as each container runs in its own CUDA context, unchanged.

You can find it at https://github.com/grgalex/nvshare.


e2e test: add test case for testing the new "-manifest-dir" flag (recursive manifests)

Most of the changes are from the data layout changes required for having multiple source images and manifests (instead of just the 1 that we had previously).
/assign @justinsb
/hold

/lgtm

/hold cancel


fix(coverage): lcov avoid double reporting for line hit

Motivation
The line hit is reported doubled in lcov report. That can be repro with a contract
contract AContract {
    int256 public i;

    function foo() public {
        i = 1;
    }
}

and test
contract AContractTest is Test {
    function testFoo() public {
        AContract a = new AContract();
        a.foo();
    }
}

running
forge coverage --report lcov && genhtml lcov.info -o report  && firefox report/index.html will generate report below

That happens because the generated lcov report contains DA:8,1 line 2 times (DA: line number, hit count)

Solution

avoid adding line hit count twice (as a line and also as a statement)

Needs snapbox assertions

not sure how to do that since this one is LCOV report related only (that is to make sure certain line is not written twice in lcov.info file), do you have any suggestion? thanks

Just replace assert_eq with assert_data_eq

Just replace assert_eq! with assert_data_eq!, and use str![] for the string literal

done https://github.com/foundry-rs/foundry/pull/8400/commits/ba4d7594146ee257f72bcd4873b53541c77e01a7 thank you!


[BUG]

What is the bug?
I am dealing with an issue that goes like this "i have the /team chat toggle set to true, but idk why in-game that the members messages are still sent to global even if they toggled to team chat, they can do the /team chat (message) tho"
Expected Behaviour
when I do /team chat it should toggle on and when i type it should go to team chats not global chat
How to Reproduce
/team chat
Error message
No response
Output of /teama version

Additional Information
No response

I have tried to reproduce, but I get the expected behaviour instead of the behaviour you are describing, please can you provide screenshots and more detailed steps to reproduce.

This issue is being closed for inactivity. If you are still having problems feel free to open a new issue linking this one, make sure you answer any questions asked in the new issue.


consider a different license

MIT or Apache2 is more appropriate

More of GPL kinda guy myself

Implemented suggested license change


Chat /commands

Introduces 3 commands:
{
    cmd: "/new",
    description: "Start a new conversation",
  },
  {
    cmd: "/follow-up",
    description:
      "Follow-up with the assistant without performing a document retrieval",
  },
  {
    cmd: "/retrieve",
    description: "Perform a document retrieval without querying the assistant",
  },

Separates the Chat app in 2 sub-apps, also cleans-up the message structure to prepare for SQLization.

(post-merge review welcome :+1:)


Add a schema and tests suitable for testing dump.

Issue #985.
It's not yet fully complete, but I wanted to commit the stuff so far. I should get the rest of the features listed in the issue into the dump over the weekend.
Please look over it to see if you have any suggestions for additions.

Looks good, Victor.

This should cover all the points from #985 now.


[UI] IPv4, IPv6 and TOR stats added to Information tab

I think it's convenient to have this information inside the wallet instead from some suspicious external websites :-)
Looks like this:

Like the idea but the implementation can be improved imo - all "id"s and functions are already in place, see:
https://github.com/dashpay/dash/blob/v0.12.1.x/src/netbase.h#L35
https://github.com/dashpay/dash/blob/v0.12.1.x/src/netbase.h#L63
https://github.com/dashpay/dash/blob/v0.12.1.x/src/netbase.h#L64
https://github.com/dashpay/dash/blob/v0.12.1.x/src/netbase.h#L78

Thanks a lot, I didn't know the constants are all there already. Having ALWAYS a break statement is IMO good practice, someone might change the code and forget to put them back in. No problem the delete them here as it's just one line of code anyway, though.
I'll check whether the compiler gives a warning when I move the last return statement. If not, I'll make it the default of the switch

Done.
Squashing the commits is done by @schinzelh if I remember correctly.

utACK aaa320e
Yep, will squash on merge :)

Nice, utACK aaa320e :)


Heron support for CoAP

Hi,
I'm working on IoT project where I receive datastream in CoAP protocol.
I want to process the data in Heron by doing some transformations on top of it.
Is it possible to integrate CoAP protocol objects to heron?

Hi Naveen,
It is certainly possible to integrate CoAP protocol inside Heron. Heron Spouts/Sources are general enough that one can connect to any data source/data type/protocol.
Are you already looking at some CoAP libraries to integrate with? It should be a fairly straightforward thing to construct a Heron source from that library.

I'm looking at californium.
Can you suggest some good implementations? My CoAP server is running on NodeJS and I want to build a CoAP listener at heron side and pass it on spout.
Can you point me to some references for this if available?

I'm assuming that you are running the CoAP server in UDP setting? In that
case something like UDPConnector
https://github.com/eclipse/californium/blob/master/element-connector/src/main/java/org/eclipse/californium/elements/UDPConnector.java
could
work.
On Tue, Sep 19, 2017 at 12:28 PM, naveen marri<EMAIL_ADDRESS>wrote:

I'm looking at californium.
Can you suggest some good implementations? My CoAP server is running on
NodeJS and I want to build a CoAP listener at heron side and pass it on
spout.
Can you point me to some references for this if available?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/twitter/heron/issues/2323#issuecomment-330648182, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACabujNjdBNGSH3_TOJl6ndQGGQALuV-ks5skBXngaJpZM4PcsOs
.

Hi,
I'm able to pull data from coap server by observing the URI.
However I'm not able to get how to pass the URI configuration to the ISpout class.
Can you please help me on this or share some example how it is done?

You can put this uri information(assuming its a string), in the constructor
of the spout. For example take a look at
https://github.com/twitter/heron/blob/master/examples/src/java/com/twitter/heron/examples/TaskHookTopology.java
Here the AckingTestWordSpout is constructed without arguments. You can pass
the uri information here and then this will be carried over to the runtime.
On Sat, Sep 23, 2017 at 6:28 PM, naveen marri<EMAIL_ADDRESS>wrote:

Hi,
I'm able to pull data from coap server by observing the URI.
However I'm not able to get how to pass the URI configuration to the
ISpout class.
Can you please help me on this or share some example how it is done?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/twitter/heron/issues/2323#issuecomment-331680364, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACabuoG0i_SssIyqPWRTHf0EPUcBAnPgks5slbBOgaJpZM4PcsOs
.


IDs are still needed?

Hello. I thought that lookups are now supported and finding record ID's is not more needed?

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

ID: 459858dc-e016-b7e1-ee83-eb82bb220e99
Version Independent ID: ffe7c587-dfec-cf00-44b8-c505b9338672
Content: Create segments based on interactions (Dynamics 365 Marketing)
Content Source: ce/marketing/segments-interaction.md
Service: dynamics-365-marketing
GitHub Login: @kamaybac
Microsoft Alias: kamaybac

You are correct that lookups are now supported when creating segments. This page is in our backlog to update. Thanks for taking the time to verify the information!


Bolster Spell Metamagic

Describe the bug
Bolster Spell Metamagic additional splash damage doesn't work anymore (the  2 dmg per die roll around the target).
To Reproduce
Cast a spell modified by bolster magic like "Magic Missile" on an enemy target near another one.
Expected behavior
Enemies withing 5 ft. of the target should receive 2 damage per die roll of the spell.

Looks like I broke this when trying to remove friendly fire from it. Will be fixed in the next release.

Limited fix is in 1.3.6


datepicker flashes and uncheck form elements if I use some JS to add elements to form

Expected behaviour
should work normally
Actual behaviour
I am adding some checkboxes through JS to a form (on a modal) . When I click on datapicker, the whole modal flashes and all input:checkbox become unchecked. This not happens if elements are not added dynamically through JS
Datepicker version used
latest
Example code
$('.datepicker').datepicker();
var el = "hello world";
$('#checkBoxContainer').append(el);

Hi,
Something might be wrong in your application, could you attach some DOM example ?
Some DOM like this might produce what you're experiencing:
<div class="datepicker">
<input type="text" placeholder="type a date"/>
<input type="checkbox"/>
</div>


Merge BeeBase branch

added a module for downloading BeeBase consortium data sets
updated format module to handle BeeBase's formatting conventions
replaced a bash implementation of the filter script with a Python implementation giving more flexibility
added unit tests

Progress on #7.


[Cross-report] SUREFIRE-1194 Maven "reporter" configuration entry does not work

It looks like since a477952 has removed "reporterslist" command line argument. Maven surefire testng plugin stops working since it still tries to convert reporter to reporterslist where it does not exist anymore. [https://issues.apache.org/jira/browse/SUREFIRE-1194].
The offended line is https://github.com/apache/maven-surefire/blob/master/surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/TestNGMapConfigurator.java#L94

As it was removed for a long time, we can admit it is a surefire issue.
Then, surefire is using a deprecated method and will try to change this behavior.
Ping @Tibor17: What do you think?

Fix provided on surefire: https://github.com/apache/maven-surefire/pull/107

I agree with closing this issue due to surefire needs to adapted accordingly.


Conv2d crash

The following code crashes on 1.0.0-alpha
        int nIn = 1;
        int nOut = 1;
        int kH = 4;
        int kW = 3;

        int mb = 1;
        int imgH = 256;
        int imgW = 256;

        SameDiff sd = SameDiff.create();
        INDArray wArr = Nd4j.ones(nOut, nIn, kH, kW); //As per DL4J
        wArr = wArr.mul(3);
        System.out.println(Arrays.toString(wArr.shape()));

        INDArray inArr = Nd4j.ones(mb, nIn, imgH, imgW);
        inArr = inArr.mul(5);
        System.out.println(Arrays.toString(inArr.shape()));

        SDVariable in = sd.var("in", inArr);
        SDVariable w = sd.var("W", wArr);
//        SDVariable b = sd.var("b", Nd4j.create(1));

        //Order: https://github.com/deeplearning4j/libnd4j/blob/6c41ea5528bb1f454e92a9da971de87b93ff521f/include/ops/declarable/generic/convo/conv2d.cpp#L20-L22
        //in, w, b - bias is optional
        SDVariable[] vars = new SDVariable[]{in, w};
//        SDVariable[] vars = new SDVariable[]{in, w, b};

        Conv2DConfig c = Conv2DConfig.builder()
            .kh(kH).kw(kW)
            .ph(0).pw(0)
            .sy(1).sx(1)
            .dh(1).dw(1)
            .isSameMode(true)
            .isNHWC(false)
            .build();

        SDVariable out = sd.conv2d(vars, c);

        INDArray outArr = sd.execAndEndResult();
        System.out.println(Arrays.toString(outArr.shape()));

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000069545a2f, pid=9388, tid=0x0000000000003e2c
#
# JRE version: Java(TM) SE Runtime Environment (8.0_151-b12) (build 1.8.0_151-b12)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.151-b12 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [libnd4jcpu.dll+0xc5a2f][thread 9656 also had an error]

#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
[thread 14240 also had an error]
# An error report file with more information is saved as:
# C:\DL4J\Git\dl4j-examples\hs_err_pid9388.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

https://gist.github.com/AlexDBlack/2033e30aaf0feb6cc99a24a4e8dcd5f1

Hmm..
Quick analysis shows that one can avoid crash setting isSameMode = false

More detailed analysis showed that reason of crash was integer overflow (case when product of integers becomes > INT_MAX).
This overflow happened during shape permutation in following function:
https://github.com/deeplearning4j/libnd4j/blob/d340da4109c8175cd5e64704f42831c675416650/include/helpers/shape.h#L2699
and since your test provides large strides {786432, 786432, 196608, 65536, 256, 1},
function shape::prodLong
https://github.com/deeplearning4j/libnd4j/blob/d340da4109c8175cd5e64704f42831c675416650/include/helpers/shape.h#L2583
produces strides product which is definitely bigger then INT_MAX.
Because shape::functions code was written before I stared work in skymind, I informed raver about this issue.
He answered he is acquainted with this problem and already fixed it some time ago.
But unfortunately his fix hasn't survived during regular master branch updates somehow O_o.
Since raver is traveling currently, I provided another function which performs shape_info permutation (branch shyrma_refactoring_1)
and it fixes the problem of integer overflow:
https://github.com/deeplearning4j/libnd4j/blob/9da191a79fb74e9c536bf0872f867b904e285611/include/helpers/shape.h#L2654

@shyrma I'm assuming this isn't yet fixed on libnd4j master now?
i.e., it's still pending here: https://github.com/deeplearning4j/libnd4j/pull/862
If so, I'll keep this open until it's merged.
(also, when I closed issues, I like to add a link to the PR and a status updated - i.e., "fix merged here" or "fixed on branch X which will be merged soon")

Alex

I'm assuming this isn't yet fixed on libnd4j master now
Yes, that is true.
Now I understand  when the issue can be closed :-)
I simply thought one can close issue when it is fixed in some branch, not necessary in master.
So, ok, let wait until raver merges my branch into master.

Thanks. Yeah, by convention we usually close issues only when stuff is merged (with the occasional exception - i.e., "I'll be merging this in the next few hours"). Basically if you can still run into the problem on master, an issue should be open IMO.

https://github.com/deeplearning4j/libnd4j/pull/862


Docker Python Manifest

Hi! Great documentation - awesome customvision.ai app. I was cruising through this but encountered the following at the last step (deploying to my container registry):
Sending build context to Docker daemon  5.683MB
Step 1/7 : FROM python:3.6.8-windowsservercore-1709
3.6.8-windowsservercore-1709: Pulling from library/python
no matching manifest for unknown in the manifest list entries

The Docker resources are here: https://docs.docker.com/samples/library/python/ and it looks like 3.6.8-windowsservercore-1709 is valid. What am I missing here? Thanks!

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

ID: d10bd923-e9e2-3958-a9b9-1baac169b308
Version Independent ID: f78bdb47-e841-b612-6964-9a6f1fce293f
Content: Tutorial deploy Custom Vision classifier to a device - Azure IoT Edge
Content Source: articles/iot-edge/tutorial-deploy-custom-vision.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

@KingdomOfEnds Thanks for the feedback! We are currently investigating and will update you shortly.

@AshokPeddakotla-MSFT - Much appreciated! If it helps, the opening import statement in the generated Dockerfile I think is: FROM python:3.6.8-windowsservercore-1709.

Ah, solved. One must flag the "experimental: true" setting. Thanks!


Telework: Employee/user interface changes

As an employee with an IDIR signing on to complete my Telework form, I want to be clear about how to sign on (using the "IDIR") lin rather than "Google" or "password" etc.
See the link:  https://digital-journeys-test.apps.silver.devops.gov.bc.ca/form/6222539f0977ecf1ba31b62a

To confirm: I think we have solved this one as we have successfully tested and see the IDIR sign-on.
Please confirm by testing in all environments

DEV test successful?

TEST successful

PROD successful


[FEATURE REQ] Move IUtf8JsonSerializable into Azure.Core and make it public

Library or service name.
All
Is your feature request related to a problem? Please describe.
Each library has its own instance of IUtf8JsonSerializable and it's internal. So if we wanted to serialize objects ourselves we would not be able to.
One use case for this is generating a deployment template JSON from ARM entities.

Are these entities spread across libraries?

Yes, for example:

Azure.ResourceManager.Storage.Models.StorageAccount in Azure.ResourceManager.Storage
Azure.ResourceManager.KeyVault.Models.VaultAccessPolicyParameters in Azure.ResourceManager.KeyVault

Another compelling use case for exposing this interface - using an undocumented property by inheriting from a model and reimplementing IUtf8JsonSerializable.

As a side affect of not accessability  of IUtf8JsonSerializable we can't  use CustomScriptExtension because construct a proper object  VirtualMachineScaleSetExtension
If users use an anonymous type or my custom class for property Settings of VirtualMachineScaleSetExtension, they receive System.NotSupportedException.

@ellismg

I think it would be great to have a plan for how models would integrate with protocol method APIs. Today, to pass a model to a protocol methods, we are telling users to use RequestContent.Create(object). This is an OK solution, but an interface like IUtf8JsonSerializable would be more efficient as the implementation would use a writes and not a serializer. Similarly on the output side, it would be good to have an abstraction that allows avoiding serailization.

We already have a way to opt into generating a converter for each model that calls into IUtf8JsonSerializable implementation.
https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/AcsChatMessageReceivedEventData.Serialization.cs#L15
https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/eventgrid/Azure.Messaging.EventGrid/src/Generated/Models/AcsChatMessageReceivedEventData.Serialization.cs#L106-L116

Closing in favor of https://github.com/Azure/azure-sdk-for-net/issues/25045


bug(oom): Failed to run Nexmark Q1-Q20

Describe the bug
https://buildkite.com/risingwave-test/longevity-kubebench/builds/429#0188fb4e-838b-45f3-85ad-ae0b0e6f9277
Error message/log
No response
To Reproduce
No response
Expected behavior
No response
How did you deploy RisingWave?
No response
The version of RisingWave
No response
Additional context
No response

Reproduced with MemTable statistics. Seems that MemTable is not the cause.

Grafana Link

rdkafka takes so much memory?

cn.1.15.i15_04-47-01.heap.collapsed.zip

After I tweaked some rd_kafka parameters, the memory usage became quite stable:

(However, another bug #11170 came out... 🤣)
I am going to make it configurable in production.

Let me explain the problem and solution here.
The problem was discussed in https://github.com/confluentinc/librdkafka/issues/2076. In short, rdkafka keep the buffered messages in fetchq (fetch queue) more than queued.min.messages, while during this, the memory usage explodes.
I tried to decrease the queued.min.messages to 1/5 of default value but that reduced the performance drastically (basically 1/5).
I have a few ideas to continue the tweak, but that would be very time-consuming. Better to do it after we have statistics (#11187). For now, if users encounter this issue, they may use https://github.com/risingwavelabs/risingwave/pull/11203 as a work-around.

since https://github.com/risingwavelabs/risingwave/pull/11273 is merged, let's see if it helps

since #11273 is merged, let's see if it helps

Reran here: https://buildkite.com/risingwave-test/longevity-kubebench/builds/542

During the last test, it seems that CN can run without OOM, so let me close this for now.
https://buildkite.com/risingwave-test/longevity-kubebench/builds/550