--disable-cpu-profiler leaves profiler-related files libprofiler.pc and include/google/profiler.h installed

It doesn't make sense to install libprofiler.pc when libprofiler.so isn't installed.
Same is with include/google/profiler.h.
It looks like perftools install 2 copies of header files: under include/google and under include/gperftools.
--disable-cpu-profiler disables include/gperftools/profiler.h but not include/google/profiler.h.

Good point. Fixed. Thanks.


added google hangout reponse && static analysis fixed

I did some static analysis(fixing for example trailing spaces....) with flake8
I added a class for managing google hanghout response(I tried it in my own project and it's working perfectly)

I set up github actions for python. This way github actions will failed if someone push something tha doesn't respect the PEP8 Standard
I highly recommend this because it's a best practise when it comes to write python code.


Windows Defender now detects Trojan:Win32/Zpevdo.B in Xenko.exe

I recently add it as a false positive for manually compiled version. Mainly because in that case assemblies and executables were not signed.
Never happened for the first installation of Xenko, but could after an update (because not everything was signed in the nuget package). Was it a new installation or an update in your case?
In the latter case, should be fixed by f6761691c7a6234d7cc9b216fa2719d174ebad7e and f6761691c7a6234d7cc9b216fa2719d174ebad7e. @xen2 would it be possible to cherry-pick those and release a new version?

New launcher (3.0.x) should not have this problem anymore.
Please reopen if it happens again.


Feat/vml grammar

This PR encompasses initial support for VML 2.0.11 editing. The grammar is based on DOC-000477 Rev C., with minor changes related to Bison vs Lezer differences, and some minor implementation choices when grammar appeared to have a typo.
VML capabilities are mapped to file extension.
Sample sequences and dictionaries are available from @joswig, but are not cleared for release, so treat as ITAR.
Follow up actions

More polish on context awareness on content assist, there's a minimal implementation to show potential capabilities. Low hanging fruit to add more, but trying to get this PR merged.
Add support for block library, once that's done then treat spawn and call statements in similar manner to issue
Consider moving CDL dictionary parsing code to the server. We should decide on XTCE path forward first, but the current implementation is inconsistent with rest of application
more testing, only 2 test sequences have been provided, will work with missions as part of User Acceptance Testing

There are some examples of grammar structures here
https://github.com/NASA-AMMOS/aerie-ui/blob/b3706bd3ce611b8a3bca2d86a136bee6476dd28f/src/utilities/codemirror/vml.test.ts#L88

I'm a little concerned with the vmlMode for SequenceEditor because it bypasses the adaptation flow. Can we do a follow up right after this is merged? I know there's a chance that this will be pulled out of core, but I just want to make sure that in the off chance that it does stay in, that it's integrated properly to work in conjunction with adaptations. For example, right now adaptations require an inputFormat. So if this is baked into Aerie, we should handle cases where they don't match or make the inputFormat drive vmlMode instead of the sequence name.

I'm a little concerned with the vmlMode for SequenceEditor because it bypasses the adaptation flow. Can we do a follow up right after this is merged? I know there's a chance that this will be pulled out of core, but I just want to make sure that in the off chance that it does stay in, that it's integrated properly to work in conjunction with adaptations. For example, right now adaptations require an inputFormat. So if this is baked into Aerie, we should handle cases where they don't match or make the inputFormat drive vmlMode instead of the sequence name.

That sounds good, I think it will be a couple of steps to get there and publishing the adaptation types is one of the next ones up.

Also will follow up with
https://github.com/NASA-AMMOS/aerie-ui/issues/1534


Label events (enterLabel and clickLabel)

We would like to implement hover and click event listeners for labels, because we have found that users often try to click on labels instead of nodes.
If you agree this should be a feature, we would be happy to put in a PR for it. If this is already achievable without any feature additions, please guide me on how to do this.
Thanks!

Here's a little demo of the above suggestion:
https://github.com/jacomyal/sigma.js/compare/main...cyclecycle:sigma.js:label-events
It kind of works: When running the 'events' example, I am able to trigger downLabel and clickLabel events correctly some of the time, depending on the exact position I click.
Let me know what you think. Cheers

What happened to this brilliant idea? :eyes:

Hi all,
Sorry about my silence on that topic. Basically, I understand that it would be very useful for many people. Here are some insights about labels management in sigma and why making them interactive is challenging:

We historically use Canvas to render labels (and their backgrounds), because it provides a decent API while being quite performant
All the interaction handling is now done with a custom picking WebGL layer, and cannot simply handle labels detection as well (because it's done with canvas)

The main solutions I have in mind to implement this are:

Add a canvas picking layer. This will have some cost when writing custom labels and hover renderers for people who want to detect these events, though.
Rewrite labels rendering using DOM. This will make interacting with labels much easier, as well as customizing labels and hovered nodes appearance. But it has to be done with much attention, since handling too much DOM labels at once might slow applications a lot.

Since both solutions are impactful, I'll flag this feature for version 4.


(579) Get reference data from the api and display in forms

To keep things consistent, we need to be able to get a list of all reference fields from the API, and present them to the user as radio buttons. This then allows us to know their IDs and also keep the naming consistent across both applications. This adds a reference data client to fetch different types of reference data, adds a service method to get the relevant reference data for a departure, and turns this reference data into a form that will work with nunjucks macros.
Screenshot

 Get reference data from the API and display in forms

Cool, thanks. I'll make sure any future PRs are easier to digest 👍


tx-generator: tx-generator.service for Plutus

tx-generator: Add Plutus support to JSON config.

Add payMode.PayToScript and spendMode.SpendScript
JSON-configurable execution units.
Use protocolParamPrices in tx-generator.
Better handling of collaterals in tx-generator.
Update tx-generator-service.nix and hard-coded test-scripts.
TODO: configurable ScriptRedemer and ScriptDatum.

bors r+

bors r+

bors r+


'Add import .. from' with keyboard

Is it possible to do this with keyboard via keybinding or something without mouse?
And probably another issue with Add import - it adds without using tslint config for example uses dobule quites "" instead of single and puts semicolon when not needed, worth the issue?

Try using  editor.action.quickFix which is bound to cmd + . by default to bring up a list of quick fixes which you can then select using the arrow keys
Using the existing file's quote style for the quick fix is tracked here: https://github.com/Microsoft/TypeScript/issues/13270 I'm not sure if we have one tracking whether to add a semicolon or not. Feel free to open a new issue against TypeScript to track that as well


Gradle 2.4 support

Hi,
When trying to use the plugin with Gradle 2.4, I'm facing two issues:

https://discuss.gradle.org/t/output-files-resolution-with-2-4/9495/1
StackOverflowError when setting a custom manifest (see here for a test https://github.com/youribonnaffe/gradle-one-jar-2.4/tree/manifest, gradle oneJar)

Caused by: java.lang.StackOverflowError
at org.gradle.api.tasks.bundling.Jar.manifest(Jar.groovy:29)
at com.github.rholder.gradle.task.OneJar.super$8$manifest(OneJar.groovy)
at org.gradle.api.tasks.bundling.Jar.manifest(Jar.groovy:29)
at com.github.rholder.gradle.task.OneJar.super$8$manifest(OneJar.groovy)

Unfortunately for now, I haven't find what could be the problem for both (could it be related to the fact that the Jar class changed from Groovy to Java? for the second issue)

Hi,
I resolved this problem with moving manifest to external block:
ext.sharedManifest = manifest {
attributes 'One-Jar-URL-Factory': 'com.simontuffs.onejar.JarClassLoader$OneJarURLFactory'
}
task epidCAFatJar(type: OneJar) {
[...]
manifest = project.manifest {
from sharedManifest
}
[..]
}
My inspiration was chapter 22.14. Jar from:
https://docs.gradle.org/current/userguide/java_plugin.html

Thanks! It works for me as well, I just defined the manifest outside the task.

I'm new to the issue and this solution that worked for others, doesn't seam to work here. As suggested by a colleague, I'm looking into ShadowJar now.
(Bumping the issue as it's not resolved and didn't get much attention it seams.)


[move vm][loader] Execute funciton should verify a missing module and function

Switches a missing module/function in 'load_function' to an invariant violation
Moved invariant check to the diem adaptor

Motivation

Makes room for an execute_script_function that uses the same loading functionality

Test Plan

@runtian-zhou, any ideas?

Related PRs

#7534

To test this, we might need to construct some e2e test cases (see those in e2e-testsuite) where we can directly invoke the execute_function/script/module functions. I found this in #7367 where I also made some changes to the loaded. But @runtian-zhou might have better solutions.

Tests would be cool, but we pretty much have no test coverage currently for dependency checking, so I don't think it should block this landing.
For e2e-testsuite, I am blocked by #7534. I say we should just land both of these independently and make another PR for tests (just given how split the development here is)

It looks like their are already some tests that check for the behavior of a missing module/function from execute_function (as I had to change them)
I think anything specific to the adaptor is outside of the scope of this PR

/land


A11y_Model Builder_Recommendation_Data_Contrast(Minimum): Color contrast ratio between the text and the background is 3.949:1 which is less than 4.5:1

GitHubTags
#A11ySev3; #A11yTCS; #A11yWCAG2.1; #DesktopApp; #Win11; #Visual Studio Client; #SH_ModelBuilder_Win32_May2023; #Contrast(Minimum); #Win32; #Benchmark; #WCAG1.4.3;
Environment Details
Application Name: Microsoft Visual Studio Enterprise 2022 (64-bit) - Current
Version 17.6.1
Microsoft Windows 11 Enterprise 10.0.22621 Build 22621
Repro Steps

Launch the Visual Studio with at least one of the .NET workload.
Tab till enable ML.NET Model Builder (Tools -> Options -> Environment -> Preview Features) and select it.
Create a new .NET project or open an existing .NET project.
Open context menu(Right-click) of the project in the solution explorer.
Tab till Add and then tab till Machine Learning Model and press enter.
Model Builder dialog will open. Tab till Scenario tab.
Select Scenario screen will appear.
Tab till "Recommendation" and press enter.
Setup environment screen will appear, Tab till Local CPU tile and select it.
Tab till Next button and press enter.
Data screen will appear.
Tab till Path after connecting to any server.
Turn on Color contrast analyzer.
Verify whether the color contrast ratio between the text and the background is 3.949:1 which is less than 4.5:1 or not.

Actual Result
Color contrast ratio between the text and the background is 3.949:1 which is less than 4.5:1
Expected Result
Color contrast ratio between the text and the background should be greater than or equals to 4.5:1
User Impact
Low vision user will not be able to get the information regarding the content.
Attachment

@Samhitha66, ready to validate by Model builder version <IP_ADDRESS>2602.

Regressed the issue in the below environment
Microsoft Visual Studio Enterprise 2022 (64-bit) - Current
Version 17.6.4
The issue is fixed. Hence closing the bug.
Please find the attachment for the reference.
#Regressed:06-30-23; #Closed;


Cache@2 renames a folder to PaxHeader after populating the Yarn cache

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Bug
Enter Task Name: Cache
Environment

Server: Azure Pipelines, Account: CareServices, Project: CDS 2 App, Pipeline: CDS 2 Build, Build Number: 789 (among others)
Agent: Hosted, Pool: Azure Pipelines, Image: windows-latest

Issue Description
Here's the part of my YAML that restores the Yarn cache and installs Yarn packages. This is using Yarn v1.
- task: Cache@2
  displayName: Restore Yarn cache
  inputs:
    key: 'yarn | "$(Agent.OS)" | **/yarn.lock,!**/node_modules/**'
    path: $(YARN_CACHE_FOLDER)

- pwsh: yarn install --cwd Source --non-interactive --frozen-lockfile
  displayName: yarn install

# For debugging
- pwsh: ls -Recurse Source\node_modules\@microsoft\applicationinsights-channel-js\dist-esm\TelemetryProcessors

When there is a cache miss, the TypeScript build succeeds, like it does on my local PC.
When there is a cache hit, the TypeScript build fails because the folder Source\node_modules\@microsoft\applicationinsights-channel-js\dist-esm\TelemetryProcessors\SamplingScoreGenerators has the name PaxHeader instead. This has happened every time there is a cache hit. From my Googling, it looks like PaxHeader has something to do with the tar format.

Task logs
logs_789.zip
Error logs
Here's the output from the pwsh step in the YAML above. This is when there is a cache hit.

  # Temporary workaround for https://github.com/microsoft/azure-pipelines-tasks/issues/13847
  - task: DeleteFiles@1
    inputs:
      sourceFolder: $(YARN_CACHE_FOLDER)
      contents: |
        **/*@microsoft-applicationinsights-channel-js*
    displayName: Prepare App Cache

we met the same problem


A sample for Magick.NET to create image

Hi
This is a sample to create image by Magick.NET
Demo-ImageMagick.zip

Thanks for the code. I've added it to the repo.


Integrate miscellanious documents

We currently have several document dumps that come from miscellaneous sources -- like the Bennington collection, except not just from one school, and not as organized -- and need to be processed in the pipeline somehow.  Given current design, this would probably involve the creation of a "MiscDocument" model/bucket/source, though some code could probably be shared with the Bennington model.

What are these and where are they from? How/where are they stored?
On Feb 19, 2018 2:22 AM, "jodizzle"<EMAIL_ADDRESS>wrote:
We currently have several document dumps that come from miscellaneous
sources -- like the Bennington collection, except not just from one school,
and not as organized -- and need to be processed in the pipeline somehow.
Given current design, this would probably involve the creation of a
"MiscDocument" model/bucket/source, though some code could probably be
shared with the Bennington model.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/opensyllabus/osp-pipeline/issues/147, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAe2AAngkGDThoyceX41k_I27V6Jhkg_ks5tWSE7gaJpZM4SKIp9
.

@wearpants They are documents collected by Joe from various sources.  They aren't WARCs or any special file format, just raw docs.
Currently, they're just in zipfiles that I have copies of.

Maybe stick them in a bucket on S3, with filenmaes based on md5 of contents?
How many we talking about?
On Feb 19, 2018 10:57 AM, "jodizzle"<EMAIL_ADDRESS>wrote:

@wearpants https://github.com/wearpants They are documents collected by
Joe from various sources. They aren't WARCs or any special file format,
just raw docs.
Currently, they're just in zipfiles that I have copies of.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/opensyllabus/osp-pipeline/issues/147#issuecomment-366734109,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAe2AHWT2DTGp1ztOH9HTWdRfxMuKhNAks5tWZn5gaJpZM4SKIp9
.

It's probably around 20k documents, though there may be more trickling in as time goes on.  Most/all of them are syllabi.
The documents already have filenames, and some of them are organized into subfolders (the archive isn't "flat"), so I think it would make the most sense to unzip and store them in an S3 bucket as-is.  Then we can ID them by a path, similar to BenningtonDocument, and then store data and data_md5 like normal.  I don't think any other fancy fields or file modifications would be required.

it's appealing to use md5 as a name if there are conflicting
paths/filenames, if we get the same file a 2nd time, etc..
Subfolders are a tremendous pain with our current architecture and I'd like
to avoid them.
Check out https://en.wikipedia.org/wiki/Content_addressable_network for the
theory here
On Mon, Feb 19, 2018 at 1:18 PM, jodizzle<EMAIL_ADDRESS>wrote:

It's probably around 20k documents, though there may be more trickling in
as time goes on. Most/all of them are syllabi.
The documents already have filenames, and some of them are organized into
subfolders (the archive isn't "flat"), so I think it would make the most
sense to unzip and store them in an S3 bucket as-is. Then we can ID them by
a path, similar to BenningtonDocument, and then store data and data_md5
like normal. I don't think any other fancy fields or file modifications
would be required.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/opensyllabus/osp-pipeline/issues/147#issuecomment-366769938,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAe2AB3oBc20DhV9jvuoi8-SPzt1jNxsks5tWbr0gaJpZM4SKIp9
.

So I think I understand your idea here, but what makes handling subfolders a pain?  All the paths in the bucket would be collected up by bucket.list_paths(), as is done in load_bennington_documents.py, and I'm pretty sure we would have to call that method (or a method like it) even if the bucket didn't have subfolders.  (Technically, S3 buckets are already "flat" and the "subfolders" are just part of the keys, but that's kind of a pedantic point.)
Also, while I don't think there's a current need for the filenames or paths, I'd err towards not destroying metdata and just leaving the files as-is.


A easier way to make skyboxes

At this moment it is very difficult to add a skybox to the game. Maybe Noa can make this easier?

Here's some code that adds a skybox:
const box = Mesh.CreateBox("SkyBox", 1000.0, scene, true, Mesh.BACKSIDE);
box.material = new SkyMaterial("sky", scene);
box.material.inclination = 0;
box.material.turbidity = 5;
box.infiniteDistance = true;
box.material.disableLighting = true;
box.material.luminance = 1;
box.backFaceCulling = false;

noa.rendering._octree.dynamicContent.push(box);

You'll need @babylonjs/materials for SkyMaterial:
import { SkyMaterial } from "@babylonjs/materials";


机器人开始骂自己是傻逼助手啦！

What operating system are you using?
Mac
What browser are you using?
Chrome
Describe the bug

What prompt did you enter?
No response
Console Logs
No response
Participation

[ ] I am willing to submit a pull request for this issue.

笑出声😂

xs，我这边它直接说自己是傻逼哈哈哈哈


Add CF CLI v8

Add the new CF CLI v8 to the release automation.
I think the initial blob adding needs to be done by someone having the power :D

@dennisjbell @ramonskie can someone check this one? If necessary I can also upload the blob already


Enhancement: iOS getDuration()

Add the correct functionality to iOS for getDuration()

I think I got it #39

Looks good, thanks @juanmcampos will publish in a minute.


⚠ Bofrost.at has degraded performance

In 2e6d05b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 997 ms

Resolved: Bofrost.at performance has improved in ee905c9 after 55 minutes.


Add the location of the secondary backup

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

Travis not triggered for this PR?
Checked manually and merging.


feat(maker): add support for Windows Store (appx) packages

This PR adds a new make type for Windows, "appx", which generates Windows Store packages
TODO:

[x] Build AppX packages
[x] Generate appropriate defaults from package.json as best we can
[x] Get tests working
[x] Add documentation

Fixes #27

Argh, merge commit, argh 😢

I'll squash it.

I should've just ignored the warning and just rebase+merged.

That's what I do as long as it isn't too far behind 👍


Update ISC permutation doc to clarify pairwise groups

This addresses the confusion with issue #449 (via @mcdoar9). The documentation was unclear on how to supply pairwise ISCs for two groups to the permutation test. The documentation is now updated to make it more clear that pairwise ISCs must be computed on both groups at once (such that between-group ISCs are included in the pairwise ISC matrix) prior to this ISC matrix being supplied to permutation_isc.

Oops accidentally created this branch off the isc-boot-fix branch at PR #475. Hopefully won't cause problems...?

Great, Tristan volunteered for this

@tristansyates good point! I fixed the tense. I think I'll leave the somewhat redundant input shape descriptions... the earlier one is intended to clarify that pairwise ISCs should have been computed in such a way as to produce a distance matrix containing both groups; the latter more specifically describes the input shapes (which for the pairwise approach should be distance vectors, not square).

@snastase, the current changes look off. If you try to fix the code, start with a pull from GitHub because I used the update branch from master button.

@snastase, the current changes look off. If you try to fix the code, start with a pull from GitHub because I used the update branch from master button.

@mihaic—not sure I totally understand. Does something in particular look off to you? It looks correct to me... The only weirdness is that the changes from #475 are also part of the diff here. If we merge #475, this will only have a small diff—i.e. the only real diff in this PR is the two added lines 1070-1071 in the docstring.

I thought the main change of this PR was introduced in commit
https://github.com/brainiak/brainiak/pull/476/commits/8e557d48c54d6118e678415bc0f60930f95fa1b7
I thought that change was missing in the current diff. However, I noticed that change was actually merged with PR #477.
If you only need lines 1070-1071, we can merge them right away if you remove the changes from #475. Or we can wait for #475.


Including a SiteConfig on an App Service fails creation in specific scenarios

Was testing out the C# client today and added a SiteConfig block to an AppService definition:
SiteConfig = new AppServiceSiteConfigArgs()
{
   Http2Enabled = true
}

Resulting in:
Plan apply failed: Error creating App Service "..." (Resource Group "..."): web.AppsClient#CreateOrUpdate: Failure sending request: StatusCode=0 -- Original Error: autorest/azure: Service returned an error. Status=<nil> <nil>

Appears to be due to an terraform bug that hasn't been fixed in over a year: https://github.com/terraform-providers/terraform-provider-azurerm/issues/1560
In my case the issue went away by bumping the app service plan to at least Basic/B1, however the issue thread does mention other cases where this happens. Unsure if there's anything you guys can do about it, but I thought it should be noted somewhere.

Thanks for reporting this @Hawxy
We likely need to contribute a fix to the terraform provider here.

@mikhailshilkov what are your thoughts on what the correct fix that we need to send upstream is?

@stack72 Fix https://github.com/terraform-providers/terraform-provider-azurerm/issues/1560

@mikhailshilkov LOL I understand that part :) There are like 5 bug reports in the comments of different parameters causing issues - do we know what the actual bug is or is it a combination of them all (i.e. due to default values)

Sorry for being a Captain Obvious :)
I do not know the details of what exactly goes wrong, we still need to investigate that if we want to contribute.

Oh I see, I thought you had a fix in mind already! My bad :)

Hi All, I also faced this issue today. I hope the fix will soon release as this is a blocker of my project.
Cheers.

If it helps anyone who actually wants to have a Free F1 plan for some purposes, I have found a configuration that works to create a Free App Service Plan (F1) (I am using Linux/Docker).
azure.appservice.Plan with sku.tier = 'Free' and sku.size = 'F1'
azure.appservice.AppService with siteConfig.alwaysOn: false and siteConfig.use32BitWorkerProcess: true
Below is the full code if it helps anyone:
// Create App Service Plan
...
const appServicePlan = new azure.appservice.Plan(appServicePlanName, {
  name: appServicePlanName,
  resourceGroupName: resourceGroup.name,
  kind: 'Linux',
  reserved: true, // Required to be true for Linux
  sku: {
    tier: 'Free',
    size: 'F1',
  },
});

// Create App Service
...
const appService = new azure.appservice.AppService(appServiceName, {
  name: appServiceName,
  resourceGroupName: resourceGroup.name,
  appServicePlanId: appServicePlan.id,
  httpsOnly: true,
  siteConfig: {
    alwaysOn: false, // Set to true when scaling up to B1 size or greater, needs to be false for F1 size
    linuxFxVersion: pulumi.interpolate`DOCKER|${containerRegistryLoginServer}/service-tag:${pipelineBuildNumber}`,
    use32BitWorkerProcess: true,
  },
  identity: {
    type: 'SystemAssigned',
  },
  appSettings: {
    WEBSITES_ENABLE_APP_SERVICE_STORAGE: 'false',
    DOCKER_REGISTRY_SERVER_URL: pulumi.interpolate`https://${containerRegistryLoginServer}`,
    DOCKER_REGISTRY_SERVER_USERNAME: containerRegistryAdminUsername,
    DOCKER_REGISTRY_SERVER_PASSWORD: containerRegistryAdminPassword,
    APPINSIGHTS_INSTRUMENTATIONKEY: appInsightsInstrumentationKey,
  },
  logs: {
    httpLogs: {
      fileSystem: {
        retentionInMb: 35,
        retentionInDays: 7,
      },
    },
  },
});

If it helps anyone who actually wants to have a Free F1 plan for some purposes, I have found a configuration that works to create a Free App Service Plan (F1) (I am using Linux/Docker).
azure.appservice.Plan with sku.tier = 'Free' and sku.size = 'F1'
azure.appservice.AppService with siteConfig.alwaysOn: false and siteConfig.use32BitWorkerProcess: true
Below is the full code if it helps anyone:
// Create App Service Plan
...
const appServicePlan = new azure.appservice.Plan(appServicePlanName, {
  name: appServicePlanName,
  resourceGroupName: resourceGroup.name,
  kind: 'Linux',
  reserved: true, // Required to be true for Linux
  sku: {
    tier: 'Free',
    size: 'F1',
  },
});

// Create App Service
...
const appService = new azure.appservice.AppService(appServiceName, {
  name: appServiceName,
  resourceGroupName: resourceGroup.name,
  appServicePlanId: appServicePlan.id,
  httpsOnly: true,
  siteConfig: {
    alwaysOn: false, // Set to true when scaling up to B1 size or greater, needs to be false for F1 size
    linuxFxVersion: pulumi.interpolate`DOCKER|${containerRegistryLoginServer}/service-tag:${pipelineBuildNumber}`,
    use32BitWorkerProcess: true,
  },
  identity: {
    type: 'SystemAssigned',
  },
  appSettings: {
    WEBSITES_ENABLE_APP_SERVICE_STORAGE: 'false',
    DOCKER_REGISTRY_SERVER_URL: pulumi.interpolate`https://${containerRegistryLoginServer}`,
    DOCKER_REGISTRY_SERVER_USERNAME: containerRegistryAdminUsername,
    DOCKER_REGISTRY_SERVER_PASSWORD: containerRegistryAdminPassword,
    APPINSIGHTS_INSTRUMENTATIONKEY: appInsightsInstrumentationKey,
  },
  logs: {
    httpLogs: {
      fileSystem: {
        retentionInMb: 35,
        retentionInDays: 7,
      },
    },
  },
});

The upstream issue has been fixed a long time ago, so I'm closing this one too


Separating Model Specifics from Chat History

With this refactoring, it is possible for a user to implement their own OpenAiChatProvider (or Groq or Bedrock etc) with relatively little effort. The ChatProvider is where we make a number of choices around how we invoke the model, with what SDK, how we configure a bunch of things, how we do logging, error handling, etc. That's the part a user (for a production application) likely wants to control. The rest is already generic enough (like the Model or bindings) or can be fully generalized.


api: display repository forks

Lists the forks of a repository at the /:user/:repo/forks endpoint.
Signed-off-by: Dennis Chen<EMAIL_ADDRESS>

Please sign the CLA.


Rename Error to avoid generic naming

EeiError better describes the purpose, and allows the user to use the name Error in contract code.
Yes this can also be handled by the user explicitly accessing ewasm_api::Error instead, but this would still be a confusing compiler error if the user naively inserts use ewasm_api::*; in their contract.

@jakelang is this really a problem? It is scoped to the module.

No, after some time using Rust I think that it should be fine if it is in
this scope.
On Thu, Nov 15, 2018, 14:52 Alex Beregszaszi<EMAIL_ADDRESS>wrote:

@jakelang https://github.com/jakelang is this really a problem? It is
scoped to the module.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ewasm/ewasm-rust-api/pull/19#issuecomment-439168601,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHEQhxLDjKmK0Cco03gI9dJv8v9qMrXFks5uvcXsgaJpZM4WWZVv
.

Closing this now then.


The OpenXmlPartContainer.DeletePart will throw exception when the id not found

Before submitting an issue, please fill this out
Is this a:

[x] Issue with the OpenXml library
[ ] Question on library usage

Description
As we can see the OpenXmlPartContainer.DeletePart can delete the part, but this API will throw ArgumentOutOfRangeException when the part with the specified id does not exist.
Because the DeletePart call the DeletePartCore which will call the GetPartById to get the part.
https://github.com/OfficeDev/Open-XML-SDK/blob/0f1764a866e36d615e22d247e780fb7675046e9a/src/DocumentFormat.OpenXml/Packaging/OpenXmlPartContainer.cs#L1762
But the GetPartById will throw ArgumentOutOfRangeException when the part with the specified id does not exist.
https://github.com/OfficeDev/Open-XML-SDK/blob/0f1764a866e36d615e22d247e780fb7675046e9a/src/DocumentFormat.OpenXml/Packaging/OpenXmlPartContainer.cs#L529-L547
Yes, it means that the branch will never enter when the id not found
https://github.com/OfficeDev/Open-XML-SDK/blob/0f1764a866e36d615e22d247e780fb7675046e9a/src/DocumentFormat.OpenXml/Packaging/OpenXmlPartContainer.cs#L1764-L1768
Information

.NET Target: All
DocumentFormat.OpenXml Version: 2.10.1

Repro
public static void Delete(this string id, OpenXmlPart part)
{
     part.DeletePart(id);
}

Observed
The part.DeletePart will throw the exception when the part with the specified id does not exist.
Expected
As the other API design, the delete method should not throw exception the element does not exist.

Can you point to other APIs in the SDK that do not throw when deleting? I agree we would want consistency, just want to document where else that is occuring.

@twsouthwick Thank you. And my question is

We can not sure the OpenXmlPartContainer contain the part with the specified id.
The OpenXmlPackage.DeleteRelationship do not throw exception when the deleted item not found. But the other API like OpenXmlPartContainer.DeleteExternalRelationship will throw exception.

https://github.com/OfficeDev/Open-XML-SDK/blob/c595b4bb4a4733093e2295d7902145b8c82364a5/src/DocumentFormat.OpenXml/Packaging/OpenXmlPart.cs#L753-L758
https://github.com/OfficeDev/Open-XML-SDK/blob/0d0f40da29ac29adb5243189f53f95aa345c8b47/src/DocumentFormat.OpenXml/Packaging/OpenXmlPartContainer.cs#L249-L273
Assuming that the correct way to use it is to throw an exception when deleting a nonexistent element, I think it is necessary to provide a general method to determine whether an element exists

And the other type like List and so on in dotnet will not throw exception when the item not found
https://github.com/dotnet/runtime/blob/0ab835c0b27280b87db4385740107bf878f1c491/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/List.cs#L832-L842

Thanks for the research. Can you make a list of the APIs that throw and submit a PR to just exit instead of throwing?

@twsouthwick Thank you. And sorry I do not how to solve it. What I'm worried about is that this change will change the behavior of the SDK.
Sorry, I just point the problem and I do not know how to solve it.

@twsouthwick After https://github.com/OfficeDev/Open-XML-SDK/pull/714 merged, we can use this API to check whether the OpenXmlPartContainer contain the part with the specified id. So, there are ways to avoid this problem.
if (container.TryGetPartById(id, out _)
{
        part.DeletePart(id);
}

It's merged so that should be available :)

Just making sure, do you want to provide a PR? Your code snippet using TryGetPartById would be the pattern to use.

@twsouthwick I do not want to provide a PR because I do not know how to do

@twsouthwick I'd be interested in picking this up, seems like a straight forward change to start with


[ACM-8547] Added service and servicemonitor to collect MCH operator metrics

Description
Updated MCH operator to create a service and servicemonitor to allow OCP to begin collecting controller-runtime metrics for the operator.
Related Issue
https://issues.redhat.com/browse/ACM-8547
Changes Made
Updated MCH operator to deploy metrics service and servicemonitor to collect controller-runtime metrics.
Screenshots (if applicable)

Checklist

[x] I have tested the changes locally and they are functioning as expected.
[x] I have updated the documentation (if necessary) to reflect the changes.
[x] I have added/updated relevant unit tests (if applicable).
[x] I have ensured that my code follows the project's coding standards.
[x] I have checked for any potential security issues and addressed them.
[x] I have added necessary comments to the code, especially in complex or unclear sections.
[x] I have rebased my branch on top of the latest main/master branch.

Additional Notes
Add any additional notes, context, or information that might be helpful for reviewers.
Reviewers
Tag the appropriate reviewers who should review this pull request. To add reviewers, please add the following line: /cc @reviewer1 @reviewer2
/cc @cameronmwall @ngraham20
Definition of Done

[ ] Code is reviewed.
[ ] Code is tested.
[ ] Documentation is updated.
[ ] All checks and tests pass.
[ ] Approved by at least one reviewer.
[ ] Merged into the main/master branch.

/hold

/lgtm


Bot gets stuck in OAuthCard dialog

The Microsoft Bot Framework team prefers that "How To" questions be submitted on Stack Overflow. The official Bot Framework GitHub repository  is the preferred platform for submitting bug fixes and feature requests.
Bot Info

SDK Platform: .NET
SDK Version: 3.15.3
Active Channels: Direct Line
Deployment Environment: Azure App Service

Issue Description
I am trying to switch my bot's authentication to the new OAuthCard flow, following this.
I am presented with the OAuth card and when I click Sign In, it redirects me to the login page. After entering my credentials, this tab closes and my bot just sits there. If I try to type any commands, I get a 504 timeout. If I refresh the page and type the command to kick off the OAuth card, it recognizes that I am already signed in, so I know it is getting the correct token.
An F12 trace doesn't show any errors (apart from the 504 timeouts after coming back from authentication) and Fiddler also doesn't show any errors that I could see. It seems as though the OAuth process is stuck in a dialog.
Code Example
I launch my bot using a token because the OAuth card would still prompt for a magic number when launching using a secret:
var link = '';
if (refreshToken) {
	link = '/Bot/RefreshToken?token=-1';
	link = link.replace("-1", tokenVal);
}
else {
	link = '/Bot/GetToken';
}
$.ajax({
	url: link,
	success: function (result) {
		$("#botToken script").html("");
		tokenVal = result;
		$("#botToken script").html("BotChat.App({ directLine: { token: tokenVal }, user: { id: userid }, resize: 'detect' }, document.getElementById('botDiv'));");
	},
	error: function (result) { }
});

Below is how I call the OAuth dialog. The ListMe function just has a simple context.PostAsync which never gets printed to the screen. This makes me think that the OAuth flow is not returning properly.
context.Call(await CreateGetTokenDialog(), ListMe);
private static async Task<GetTokenDialog> CreateGetTokenDialog()
{
     return new GetTokenDialog(
     ConfigurationManager.AppSettings["ConnectionName"],
     $"Please sign in to {ConfigurationManager.AppSettings["ConnectionName"]} to proceed.",
     "Sign In",
     1,
     "Hmm. Something went wrong, let's try again.");
}

private static async Task ListMe(IDialogContext context, IAwaitable<GetTokenResponse> tokenResponse)
{
     var token = await tokenResponse;
     await context.PostAsync("Signed In");
}

Expected Behavior
After authenticating, the dialog should return to the bot and continue where it left off.
Actual Results
The bot does not continue, and any subsequent messages to the bot result in a timeout:

If I refresh the page and type the command to kick off the OAuth card, it recognizes that I am already signed in and prints the message contained in my ListMe function

Hi @mandreab Thanks for reporting this, we are looking into this.

When there is no magic code (such as using the Emulator or when configured for WebChat), the token comes back as an Activity with type Event. Look in this sample (in the MessageController):
https://github.com/Microsoft/BotBuilder/blob/master/CSharp/Samples/AadV2Bot/Controllers/MessagesController.cs
If you look at lines 57-64, you see that EventActivities need to be passed back into the Dialog stack for the GetTokenDialog to finish. You can set a breakpoint where messages first come into your bot (in the MessageController) and see if this breakpoint is hit.

@Jeffders Sorry for not including that in my code samples. I do have that exact same code (lines 57-64) in my MessageController. My code never breaks there. In fact, I put a breakpoint at the very start of my MessageController and it never hits it. So as far as I can tell, once I hit the sign in button, it never returns back to the MessageController.

When you say the breakpoint never gets hit, do you mean actually never gets hit or do you mean that you are not seeing the event activity returned?

Hi @JasonSowers After I hit the signin button, nothing comes back to the MessageController.

I did some more digging and it appears to be a bug with using Azure SQL for state storage. If using Azure SQL, it won't ever return to the MessageController. If I change my bot to use Azure table storage instead, it will return with the token event activity.
However, even with using table storage, it still failed when forwarding to my root dialog. It wouldn't go anywhere, it would just fail with the "Sorry, my bot code is having an issue" error. I switched my controller with the one from the AADv2Bot example, and it started working. The only change I've made to the MessageController is adding this piece of code, taken from here:
if (activity.Type == ActivityTypes.ConversationUpdate)
{
     ConversationUpdateActivity update = activity;
     var client = new ConnectorClient(new Uri(activity.ServiceUrl), new MicrosoftAppCredentials());
     if (update.MembersAdded != null && update.MembersAdded.Any())
     {
           foreach (var newMember in update.MembersAdded)
           {
                 if (newMember.Id == activity.Recipient.Id)
                {
                    // display specific messages on launch
                }
            }
     }
}

I've removed these lines and instead launch the messages via js in my default.html, which resolves that issue:
<script>
// bot launch code

// display messages on bot launch
	botConnection
		.postActivity({
			from: user,
			name: 'WelcomeMessage',
			type: 'event',
			value: ''
		})
		.subscribe(function (id) {
			console.log('"trigger WelcomeMessage" sent');
		});
</script>

So it looks like the remaining issue is why it won't return back to the MessageController when using Azure SQL for state storage.

Let me try to plug in SQL as my state store and see what behavior I get this afternoon. Can you try another channel using SQL and see if the issue persists in skype or something. With or without the magic code (depending on channel)

I am not seeing the same behavior as you, I am able to use SQL data store for state and it works well.  If you are able to get me a reproduction project I will be happy to help troubleshoot it with you.

Unfortunately, I am unable to share my code. After discussing this with my team, we switched to using table storage and haven't run into any issues since.


Fix DiskANN Access Invalid Address when Query with Bitset (#798)

issue: #797
Signed-off-by: Patrick Weizhi Xu<EMAIL_ADDRESS>(cherry picked from commit 7156af0619417902a6ff51c6a17a891193e2f9e6)

/lgtm
/approve
Thanks for this change


add use of "entries" for "files" in tar

This is a pass at explaining the concept of opaque files and their role in the specification. Provides recommendations that implementations should generate explicit format, but accept opaques.
cc @vbatts @runcom @philips
Closes #144
Signed-off-by: Stephen J Day<EMAIL_ADDRESS>

LGTM

LGTM

see https://github.com/opencontainers/image-spec/pull/282


rootless: fix rootless for case net=none

When kata-runtime was invoked as rootless by podman with
net=none, an empty net namespace path is provided.
kata-runtime was then trying to create a new network namespace
and bind-mounting it under /var/run/netns, resulting in a permission error.
Instead, with this commit, the runtime checks if it is
running rootless and instead creates network namespace bind mount
under rootless directory instead.
Fixes #2319
Signed-off-by: Archana Shinde<EMAIL_ADDRESS>

/test

@egernst @jodh-intel Once I submit another PR to reduce some of the setup required, I am planning to add a  test to verify rootless with podman, just a single test to verify that a container is started to begin with.

Will backport to stable once this is merged.

ping @kata-containers/runtime

/test-ubuntu

I see that kata-containers/SoB-check Expected — Waiting for status to be reported may be not reported @chavafg @GabyCT  where could I re-trigger ?

@jcvenegas - the 'trick' is to find an SoB (or WIP) that worked, and that will have a link to the guidance page, such as: https://github.com/kata-containers/community/wiki/The-SoB-check
For the SoB, you need an:
/zuul-recheck
(for WIP, you have to wiggle the labels....)

Having said that, the checks have been fairly steady at updating for some time now - I suspect maybe there is some Zuul outage or planned maintenance (I've not seen anything though - /cc @ttx just in case he knows...)

/test

/zuul-recheck

There were a couple of Zuul restarts on Monday/Tuesday which may be the root cause for the glitch here.

/test

/lgtm

/test


Introducing a password handler authored by @DASPRiD

This issue has been moved from the zendframework repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html

Original Issue: https://api.github.com/repos/zendframework/zendframework/issues/6925
User: @macnibblet
Created On: 2014-11-25T15:01:28Z
Updated At: 2015-03-06T17:03:50Z
Body
Whats left be done

[ ] What key to use for the Zend\Crypt\Password\HandlerManager
[ ] Integrate the HandlerManager into the mvc service listener factory
[ ] Documentation

Comment
User: @weierophinney
Created On: 2014-11-25T15:06:17Z
Updated At: 2014-11-25T15:06:17Z
Body
Would love to see some description and rationale for the additions...

Comment
User: @macnibblet
Created On: 2014-11-25T15:11:39Z
Updated At: 2014-11-25T15:11:39Z
Body
@weierophinney In short this component will help developers migrate their users passwords to more secure algorithms.

Comment
User: @ojhaujjwal
Created On: 2015-01-19T11:12:01Z
Updated At: 2015-01-19T11:12:01Z
Body
I like the overall idea. :+1:

Comment
User: @padraic
Created On: 2015-01-20T22:06:23Z
Updated At: 2015-01-20T22:06:23Z
Body
Note to monitor https://github.com/zendframework/zf2/pull/7141 which is effectively proposing a new default (a minor twist on plain bcrypt to preserve entropy from >72 byte passwords).

Comment
User: @weierophinney
Created On: 2015-02-19T20:34:56Z
Updated At: 2015-02-19T20:34:56Z
Body
@macnibblet What remains to be done? Can this be ready for 2.4?

Comment
User: @macnibblet
Created On: 2015-02-19T20:38:55Z
Updated At: 2015-02-19T20:38:55Z
Body
@weierophinney Everything that is listed in the task list, if i don't manage to look into it on sunday i'm doubtful that I will have time to finish it before the 2.4 release.

Comment
User: @weierophinney
Created On: 2015-02-19T21:35:58Z
Updated At: 2015-02-19T21:35:58Z
Body
@macnibblet I'll give you until the end of the first week of March to get code ready. :)

Comment
User: @malukenho
Created On: 2015-03-05T18:14:34Z
Updated At: 2015-03-05T18:14:34Z
Body
@macnibblet just to remember /cc @weierophinney

Comment
User: @moderndeveloperllc
Created On: 2015-03-06T16:25:31Z
Updated At: 2015-03-06T16:25:31Z
Body
@macnibblet I'm concerned that the MCF identifiers that you are using for SHA1 and MD5 are not the standard identifiers that are used in the standard Modular Crypt Format. $1$ is standard for MD5. SHA1 is not 'standard' (mainly because it's not strong enough), but I have seen a few implementations that use $sha1. At least adding these to the checks with what you have will help developers who have to integrate with other languages that use the standard C crypt() library.

Comment
User: @DASPRiD
Created On: 2015-03-06T16:29:49Z
Updated At: 2015-03-06T16:29:49Z
Body
@moderndeveloperllc do you have a reference for the $1$ marker? Apart from that I'd agree to use those instead. Also we may want to remove the "simple-" part from the classes. No clue why I had chosen those names.

Comment
User: @moderndeveloperllc
Created On: 2015-03-06T17:03:50Z
Updated At: 2015-03-06T17:03:50Z
Body
@DASPRiD The $1$ is from the crypt() library docs. It also lists $5$ for SHA256 and $6$ for SHA512 along with the $2$ series for bcrypt.
I might actually take back what I've said in my previous comment, because $1$ usually refers to an md5 where you are storing the salt - kinda like: $1$fauihdfaoihfad$caeioanceoi039rasi09. The code in these files are looking for a plain - single round MD5 with nothing but the hashed value itself stored. In the real world, would these even have an MCF?
FYI, The best explanation/reference I found was with Python's PassLib documentation. As far as I can tell, there is no "standard" in that there are no IEEE or RFC standards out there. Most links I've seen refer to the PassLib docs. For instance, in the scrypt module I built, I decided to use $s0$ because the leading Java scrypt library used that.

@GeeH I'm closing this PR for inactivity.


Make ShareButton styled-able

Close #583 - ShareButton is not theme-able enough
The problem is that as it is, the button doesn't allow for one-off customizations. A simple solution is to add className to the button props, which allows us to use styled to create custom versions of it.

@mikelehen probably, although most components can be more easily manipulated using the theme or are styled-able already, but that's a good point, I'm going to make a note to confirm.

ooh this def works. one reservation though is that it nixes the ability to pass an anchor other than a button that says Share with the icon. i think its worth giving flexibility in terms of what the anchor element is


Basic example of multilingual

@regisphilibert I have a basic example set up for review. Let me know if there is anything else you'd like to see here.

Thanks @AdamChlan I just added a blog post and the homepage. Thanks!

Thanks @AdamChlan I just added a blog post and the homepage. Thanks!

Okay, you are welcome. I'll plan on reviewing the other open tasks to see if there are any that seem like good candidates to move on.

Okay, you are welcome. I'll plan on reviewing the other open tasks to see if there are any that seem like good candidates to move on.

Thanks please make sure they're not in the 3.0.0 milestone as we'll address those then.

Thanks please make sure they're not in the 3.0.0 milestone as we'll address those then.


[BUG] /api/notice/rules   409

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
An exception occurred while calling convertToEntityAttribute on converter class org.apache.hertzbeat.common.entity.manager.JsonLongListAttributeConverter with value
Expected Behavior
No response
Steps To Reproduce
No response
Environment
HertzBeat version(s):v1.6

Debug logs
No response
Anything else?
No response

You can check whether the receiver_id field of the hzb_notice_rule table conforms to the JSON format and change it manually first. It would be better if you could explain the operation in detail

我是老版本升级，然后打开“告警通知”就报错了。receiver_id 为1

post：/api/notice/rule
参数：{"enable":true,"filterAll":true,"templateId":null,"name":"开启钉钉推送","receiverId":[2],"receiverName":["dingding-DingDing"],"templateName":null,"tags":[]}
响应：{"data":null,"msg":"Could not commit JPA transaction","code":4}

pr #2090

同步一下数据库结构就OK了


Many cpuset related functions and definitions could be replaced with k8s.io/utils/cpuset package

Is your feature request related to a problem? Please describe:
Currently to parse cpuset files (with format http://man7.org/linux/man-pages/man7/cpuset.7.html#FORMATS) we use https://github.com/kubevirt/kubevirt/blob/v1.0.0/pkg/util/hardware/hw_utils.go#L42-L73. Exactly the same functionally can be achieved by using https://pkg.go.dev/k8s.io/utils/cpuset#Parse function. This also returns a struct CPUSet which we could use to easily manipulate and check various things, right now we pass list of ints ([]int).
Describe the solution you'd like:
Make use of k8s.io/utils/cpuset in places where we manipulate and do things with cpusets/cpulists.
Additional context:
https://github.com/kubernetes/utils/pull/267 started to live as separate package in k8s.io/utils as it was taken out from k8s.io/kubernetes/.../kubevirt/.../cpuset.

/label good-first-issue

What would be the expected outcome?

As described, ideally we should rely on the package provided by the k8s.io/utils instead of having the code that does similar thing. Less code to test and maintain 😄.

/remove-lifecycle stale


mgmt/imgr: Add support to resume image upload

1st chunk of data can include "datahash" field which is simply SHA256
computer over all data to be uploaded. This hash is stored in upload
state so in case transfer was interrupted we can detect this on next
attempt and simply resume transfer at previous location by replying
with latest offset from upload state.
"datahash" field is not mandatory so if it is missing we'll just start
new upload as usual.

corresponding change in newtmgr: https://github.com/apache/mynewt-newtmgr/pull/89

Looks good to me.
I wonder if we should have done image management differently.  Rather than automatically erase the image slot, the user would have to manually erase it.  Then, any attempt to upload to a partially-filled slot would could be assumed to be a resumption of an incomplete upload.  Then the  client wouldn't need to decide whether to include a hash or not; it would just try to upload the image and react to the response.
Anyway, I think it is too late to change any of this.  Just musing :).

Actually it would be possible to do this without datahash because upload state keeps track of both offset and size, so we could use this information to resume. However, the reason why I decided to add extra field is to make sure that client tries to upload exactly the same image so it's safe to resume transfer - adding hash seems like an easy and clean solution for this which is also fully backwards compatible.


Support larger json metric payloads

We are reaching 400KB limit for geoprocessing function output.  Specifically in situations where you have

many sketches in collection ~140 sketches
metrics are being calculated by protection level as well as not

Temp solution:

Make all metric ID's optional (e.g. geographyId) and strip out unused
Strip out use of "extra"
Make property names smaller

Possible solutions:

compress and uncompress the JSON before putting into dynamodb (gzip?)

Support for multipolygon sketches could also alleviate this.  The project bringing this to light has to break out the sketches, mangrove area, where it would be sufficient to represent them as a single multipolygon.

Consider refactoring to use a lighter weight JSON payload.  Where dimensions are listed once in array form, and then one or more metrics are returned in 2D array form, matching the order of the dimensions.
For example current form:
[{
    metricId: "metric1'
    classId: "Madracis Reef",
    value: 0.65
},{
  metricId: "metric1",
  classId: "Montastraea Reef",
  value: 0.896
}]

becomes:
{
  dimensions: ['metricId', 'classId', 'value']
  data: [
    ['metric1', 'Madracis Reef', 0.65],
    ['metric1', 'Montrastraea Reef', 0.896]
  ]
}

Think about how much smaller the payload will be if dimension names are not duplicated for every metric record.  And can still convert between the two different forms


Include operational transactions first

Proposer can cut off transactions while building a block when reached deadline. To avoid excluding important transactions we should make sure that we put them into the block first.

Actually this is done in #3102 by setting the maximal priority for those.

Though I should mention that:
You (and/or @andresilva) recently brought up also the BABE time slots being potentially too short to fill a saturated block. Looks like we currently have three bounds to create a block and whichever gets exhausted first, will cause failure in including further transactions.
Runtime checked.

block size (5MB)
weight (custom quantity --for now the values are such that you can fit a few thousand instances of most transactions in it, I don't assume it will be the bottleneck).

Consensus checked.

Block proposer time limit: 1.6 seconds IIRC.

Ideally, in my opinion, the entire first group should have values that respect the consensus expected time to author a block. For now, we assumed that a node has 2 seconds to bake a block. We also took 1 second out of it as emergency time. Though', I did this because there some indications that out benchmarking is a bit too optimistic (e.g. indicating a few nanoseconds as the execution time of some transactions which I think is impossible).
In other words, I think most of the time authoring code should be warned and stopped by the runtime checks that the block can no longer get bigger. The author then seals and finalizes baking the block.
While the opposite, to my understanding, should be avoided. If the author runs out of time, it misses its slot and it will be completely wasted effort, right?
If the above is true, I suppose the authoring code could actually stop the pipeline of validating transactions and adding them to the baking block at some point near the end (t - 0.10 seconds?).


Acknowledgement Text

Question:
Dear All... I would like to properly acknowledge portainer in the documentation i am building internally. Is there any predefined text we could include?
Thank you
Goncalo

You mean when reusing our code in your own project; ala the license text to insert within your license under OSS rules?
Or simply a credit to Portainer?
For the former, we can help as its well defined.. for the later, we don’t have anything to date, but can help.
From: GoncaloBorges<EMAIL_ADDRESS>Sent: Monday, 13 August 2018 7:59 p.m.
To: portainer/portainer<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [portainer/portainer] Acknowledgement Text (#2154)
Question:
Dear All... I would like to properly acknowledge portainer in the documentation i am building internally. Is there any predefined text we could include?
Thank you
Goncalo
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_issues_2154&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=RcvUzyYTCna99mXgAmPxCbS6mtGVRiAeD4WsEjHEnRc&s=muvpadgNZHMu9REPBreQNtIyJ8vr23KaVZ8KZd7k7nw&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWGrldQ1krSlw996AJum1W17zI1gTFYnks5uQTG0gaJpZM4V6C9-5F&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=RcvUzyYTCna99mXgAmPxCbS6mtGVRiAeD4WsEjHEnRc&s=vvny1tHyNj6KKJ1DHRvFtTW6mZgU9YygpodUP89ekN0&e=.

Ah, so then just a simple thanks to the Portainer.io team is sufficient 😊 We appreciate the gesture.
And if you are using this in production, feel free to join our “portainerfutures” channel in Portainer.io/slack, and share your needs to help form the future.
Neil
From: GoncaloBorges<EMAIL_ADDRESS>Sent: Monday, 13 August 2018 8:19 p.m.
To: portainer/portainer<EMAIL_ADDRESS>Cc: Neil Cresswell<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [portainer/portainer] Acknowledgement Text (#2154)
Currently we are not changing any code but just deploying it as it is. But
we are leveraging puppet and the APIs to provide ldap integration and
deploy some custom apps and volumes.
I just want to give credit to the team which is developing the product and
the brand
On Mon, 13 Aug 2018 at 6:13 pm, Neil Cresswell <notifications<EMAIL_ADDRESS>wrote:

You mean when reusing our code in your own project; ala the license text
to insert within your license under OSS rules?
Or simply a credit to Portainer?
For the former, we can help as its well defined.. for the later, we don’t
have anything to date, but can help.
From: GoncaloBorges <notifications<EMAIL_ADDRESS>Sent: Monday, 13 August 2018 7:59 p.m.
To: portainer/portainer <portainer<EMAIL_ADDRESS>Cc: Subscribed <subscribed<EMAIL_ADDRESS>Subject: [portainer/portainer] Acknowledgement Text (#2154)
Question:
Dear All... I would like to properly acknowledge portainer in the
documentation i am building internally. Is there any predefined text we
could include?
Thank you
Goncalo
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_issues_2154&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=RcvUzyYTCna99mXgAmPxCbS6mtGVRiAeD4WsEjHEnRc&s=muvpadgNZHMu9REPBreQNtIyJ8vr23KaVZ8KZd7k7nw&e=>,
or mute the thread<
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWGrldQ1krSlw996AJum1W17zI1gTFYnks5uQTG0gaJpZM4V6C9-5F&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=RcvUzyYTCna99mXgAmPxCbS6mtGVRiAeD4WsEjHEnRc&s=vvny1tHyNj6KKJ1DHRvFtTW6mZgU9YygpodUP89ekN0&e=>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/portainer/portainer/issues/2154#issuecomment-412441303,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD_5MG3GMczkA8Nj7XIzCSVDr6KotuaEks5uQTUygaJpZM4V6C9_
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_issues_2154-23issuecomment-2D412442633&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=vfF05uQH-H7l7RS18-kzESdG7p2QvM0Sp1OZW6__rIA&s=_d79cssqsxrsohyEm2Nr0iMWGoVs3pLno7zmuUP1VJk&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWGrlUtAby3D5OQU-2DH9sgLsUBHki6L48ks5uQTaFgaJpZM4V6C9-5F&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=vfF05uQH-H7l7RS18-kzESdG7p2QvM0Sp1OZW6__rIA&s=CaLBiaRRCtKu__4tKAlEvqs2XwsiybXnWZWAjzpL9FQ&e=.


Generate Code from comments, inline and without having to select the comment

Describe the feature
Would it be possible to replicate Github Copilot's functionality of generating code from just a comment?
This would essentially mean:

We would have to be able to paste code inline directly (without it appearing in the genie sidebar)
We would have to be able to run the generate code command without selecting text (Perhaps by hitting a special shortcut?)

+1

+1


Windows terminal quake v1.6

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree

Hi @flyingpie,
Microsoft.WindowsTerminal appears to be a dependency:

Hi @flyingpie,
There was a 2nd error, but this was cleared by opening Windows Terminal. Now, when running, there is this error:

@stephengillie Thank you! I'm gonna do some more extensive testing, are you on Win10 or 11?

We use Windows 10 by default, but can specify Windows 11 with the MinimumOSVersion field.

https://github.com/microsoft/winget-pkgs/issues/128252

[Package Issue]: Microsoft.UI.Xaml.2.8 #128252

Although the app works along side Windows Terminal, people can also install Terminal through other means.
Could we go with a version for now that does not have Windows Terminal as a dependency?
There might be a version in the future that works with other terminals even, so it could be considered more "correct" anyway.

/AzurePipelines run

If I'm understanding correctly, this is normal program operation.


tf.lite not support Merge, RandomUniform, Switch

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): CentOS 7
TensorFlow installed from (source or binary): binary
TensorFlow version (or github SHA if from source): 1.14.0

Provide the text output from tflite_convert
2019-09-29 11:27:27.677102: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before Removing unused ops: 4963 operators, 8473 arrays (0 quantized)
2019-09-29 11:27:28.107098: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] After Removing unused ops pass 1: 4959 operators, 8467 arrays (0 quantized)
2019-09-29 11:27:28.858936: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before general graph transformations: 4959 operators, 8467 arrays (0 quantized)
2019-09-29 11:27:29.762413: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] After general graph transformations pass 1: 4823 operators, 8044 arrays (0 quantized)
2019-09-29 11:27:30.695850: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before Group bidirectional sequence lstm/rnn: 4823 operators, 8044 arrays (0 quantized)
2019-09-29 11:27:31.376652: I tensorflow/lite/toco/graph_transformations/graph_transformations.cc:39] Before dequantization graph transformations: 4823 operators, 8044 arrays (0 quantized)
2019-09-29 11:27:31.590536: I tensorflow/lite/toco/allocate_transient_arrays.cc:345] Total transient array allocated size: 19328 bytes, theoretical optimal value: 2048 bytes.
2019-09-29 11:27:31.918181: E tensorflow/lite/toco/toco_tooling.cc:456] We are continually in the process of adding support to TensorFlow Lite for more ops. It would be helpful if you could inform us of how this conversion went by opening a github issue at https://github.com/tensorflow/tensorflow/issues/new?template=40-tflite-op-request.md
 and pasting the following:

Some of the operators in the model are not supported by the standard TensorFlow Lite runtime and are not recognized by TensorFlow. If you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: ADD, CAST, CONCATENATION, FLOOR, FULLY_CONNECTED, GATHER, GREATER_EQUAL, LOGISTIC, MUL, PACK, REDUCE_PROD, RESHAPE, SELECT, SHAPE, SLICE, STRIDED_SLICE, SUM, TILE, UNIQUE, WHERE, ZEROS_LIKE. Here is a list of operators for which you will need custom implementations: Merge, RandomUniform, Switch.
Traceback (most recent call last):
  File "/home/user/.local/bin/toco_from_protos", line 11, in <module>
    sys.exit(main())
  File "/home/user/.local/lib/python3.6/site-packages/tensorflow/lite/toco/python/toco_from_protos.py", line 59, in main
    app.run(main=execute, argv=[sys.argv[0]] + unparsed)
  File "/home/user/.local/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 40, in run
    _run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
  File "/usr/local/lib/python3.6/site-packages/absl/app.py", line 299, in run
    _run_main(main, args)
  File "/usr/local/lib/python3.6/site-packages/absl/app.py", line 250, in _run_main
    sys.exit(main(argv))
  File "/home/user/.local/lib/python3.6/site-packages/tensorflow/lite/toco/python/toco_from_protos.py", line 33, in execute
    output_str = tensorflow_wrap_toco.TocoConvert(model_str, toco_str, input_str)
Exception: We are continually in the process of adding support to TensorFlow Lite for more ops. It would be helpful if you could inform us of how this conversion went by opening a github issue at https://github.com/tensorflow/tensorflow/issues/new?template=40-tflite-op-request.md
 and pasting the following:

Some of the operators in the model are not supported by the standard TensorFlow Lite runtime and are not recognized by TensorFlow. If you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: ADD, CAST, CONCATENATION, FLOOR, FULLY_CONNECTED, GATHER, GREATER_EQUAL, LOGISTIC, MUL, PACK, REDUCE_PROD, RESHAPE, SELECT, SHAPE, SLICE, STRIDED_SLICE, SUM, TILE, UNIQUE, WHERE, ZEROS_LIKE. Here is a list of operators for which you will need custom implementations: Merge, RandomUniform, Switch.

Also, please include a link to a GraphDef or the model if possible.
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
converter = tf.lite.TFLiteConverter.from_saved_model(
    model_path, input_arrays=input_arrays, output_arrays=output_arrays)
converter.post_training_quantize=True
converter.target_ops = [tf.lite.OpsSet.TFLITE_BUILTINS,
                                       tf.lite.OpsSet.SELECT_TF_OPS]
tflite_quantized_model = converter.convert()
open("quantized_model.tflite", "wb").write(tflite_quantized_model)

Hi There,
We are checking to see if you still need help on this, as you are using an older version of tensorflow which is officially considered end of life . We recommend that you upgrade to the latest 2.x version and let us know if the issue still persists in newer versions. Please open a new issue for any help you need against 2.x, and we will get you the right help.
This issue will be closed automatically 7 days from now. If you still need help with this issue, please provide us with more information.


Package uploading is completely unsecured

Right now, anyone can register an account (without passing any kind of CAPTCHA or anything, so bots will overrun the place quickly on a live site) and upload new packages to their heart's content. This is a major risk for several reasons (package installation can do evil stuff with custom build types, easy to use up tons of disk space, etc.)
Of course, nothing can truly solve the security issue, but I suggest the following:

A simple but Hackage-specific CAPTCHA on the registration page (e.g. "What language are HackageDB packages written for?") — it's unlikely that spambots will target it specifically, and a simple but unique CAPTCHA will be stronger than a generic solution like reCAPTCHA which has a lot of effort going into breaking it (e.g. someone being paid to fill out CAPTCHAs isn't going to have any idea that the answer is "Haskell")
Limit package uploading to members of a group which only admins can add to

This should be a simple change to the code. The workflow for a package uploader would be:

Register an account
Email the maintainer asking for a package upload

This is basically the same as the Hackage1 registration process, but a bit easier for the maintainer.
<dcoutts> bgamari, cmccann, elliott: so the auth system in the new design copes ok with package
uploaders, what it does not cover well is casual users who might want to post reviews, vote etc,
but not upload packages
<dcoutts> since you probably want self-registration for those users
<dcoutts> but for uploaders it's sensible to have a human in the loop
<bgamari> Certainly
<dcoutts> like we do in the current system
<dcoutts> so there's an admin user group who can edit other groups
<dcoutts> ie grant permissions
[...]
<dcoutts> elliott, cmccann: right, plus in the new system since there's a per-package uploader
group then unknown users cannot subvert well known names (ie packages)
<dcoutts> so in the new system malicious people can still upload *new* malicious packages
<dcoutts> but cannot subvert e.g. base

An ideal solution would be something like:

Reasonable per-user quotas (liftable on request) for disk usage, to stop people spamming the system
Users by default can upload packages, but they're in a quarantine: not visible on the site or installable
Whenever a user uploads their first package, the maintainer gets an email and can check it out and approve the user (making their packages public) if it looks OK

That would be nicer, but probably require a lot more coding than the simpler solution.

This is being tracked on the Cabal trac at http://hackage.haskell.org/trac/hackage/ticket/911


Add fix bad iPXE script, add retry delay:

Description

The iPXE kernel and initrd retries didnt work. This fixes them and adds a configurable retry delay.
Why is this needed

Fixes: #
How Has This Been Tested?

Tested via manual deployment and network booted a machine.
How are existing users impacted? What migration steps/scripts do we need?

Checklist:
I have:

[ ] updated the documentation and/or roadmap (if required)
[ ] added unit or e2e tests
[ ] provided instructions on how to upgrade

there seems to be an issue with the GitHub action reporting. I'm going to close and reopen this.


Do the GitHub actions work if I move them to different folders?

Purpose/implementation Section
What changes are being implemented in this Pull Request?
Related to #345 I'm testing whether we can put github actions in their own directories. I want to figure this out before we start further digging into how to customize github actions more.

No. The answer is no, they don't work if you move them into subfolders.


‘Run’ button on home page stopped working

The run button on the home page stopped working.
The output window reports:
rustc 1.15.0-beta.3 (a035041ba 2017-01-07)

timeout triggered!

A minor issue, but important from a PR standpoint.

Still seeing this now. I wonder why it's trying to run on a beta?

This is still happening.

@alexcrichton do you know what's up here? this seems bad :(

This is just an intermittent error, should be fixed now


Initial commit of terasort benchmark using spark service intrastructure.

Future commits:

AWS support
PKB-built cluster support
Allow machine type specs rather than just strings for cluster creation

I named the new benchmark terasort; the pre-existing one was hadoop_terasort.  Would "hadoop_terasort_v2" or "hadoop_service_terasort" be better names?
spark_benchmark was also modified to allow running hadoop jobs.  For example, to run BailyBorweinPlouffe:
./pkb.py --benchmarks=spark --spark_job_type=hadoop --spark_jarfile=file:///usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar --spark_classname=org.apache.hadoop.examples.BaileyBorweinPlouffe --spark_static_cluster_id=pkb-hildrum  --spark_job_arguments=1,1000,10,bbp
@pmkc, your thoughts would be welcome.

LGTM

Added AWS support.  Renamed the benchmark to terasort.  @ehankland, PTAL.

@ehankland, PTAL.

Now all the vm management is in benchmark spec; the spark service just gets a handle on those VMs to do the necessary installation of packages.

@ehankland I think I addressed your comments.


d3.json causes mouse cursor always busy

I am fairly new to d3 and just found that after retrieving some data using d3.json it somehow sets the mouse cursor always busy; it appears as if something is continuously running behind the scene though nothing is running anymore. I have to manually set the cursor back to default. Is this the expected behaviour?
e.g.I have a service in which one of the functions is something like:
function getData(callback) {
     d3.json('someUrl', callback)
         .header('content-type', 'application/json')
        .send('POST', someParameters);
}

then in my view, I call this getData function passing in a callback which will either give me some data back or an error; my view will then handle either case. When I do get the data back and then load the data into my view, the mouse cursor becomes busy all the time.

d3.json doesn’t set the mouse cursor. Internally d3.json uses XMLHttpRequest. I’ve never heard of that setting the mouse cursor, since requests are typically processed asynchronously in the background and in parallel. It’s possible that you’re asking the browser to load and parse a particularly large JSON file, and since parsing of JSON is processed synchronously (i.e., it stalls the JavaScript thread and the user interface during the call to JSON.parse), that might hang the browser. And of course you can hang the browser in other ways by processing whatever data you load. But these are not issues that are specific to D3, so please try Stack Overflow or the d3-js Google group if you’d like help improving performance and debugging.


Stylesheet not loading in latest Safari

It looks like setting the rel="stylesheet" attribute onload does not work in the most recent Safari. Changing this to simply declare rel by default correctly loads the stylesheet, but am unsure if preloading works as intended.
<link rel="preload" as="style" href="/6b2bede60756eb41/bundle.css" rel="stylesheet">

https://developer.mozilla.org/en-US/docs/Web/HTML/Preloading_content#The_basics

Yeah, i think we are trying to redeclared this.rel. perhaps we need to clear it first?

perhaps useful, this is an example of the type of async css we're trying to achieve. It runs in most recent Safari, but that is because there is a polyfill in the source
https://master-origin-loadcss.fgview.com/test/preload.html

@yoshuawuyts - it looks like the polypill is already in there. It just appears that the script block is not getting processed, and I think its the nomodule and integrity attributes on the generated script tag.
when I remove them from https://github.com/choojs/bankai/blob/master/lib/graph-document.js#L111 locally, the polypill works for me and my css loads in mobile safari.
I don't think those attributes belong on an inline script tag. I will put together a pull request.


Specifying usage examples in the spec

The dokku project uses some faux reflection and fancy footwork to generate cli help output as well as markdown docs from files. One thing that is nice is that we can show examples to users for usage.
I'm wondering if that would be possible to somehow spec out. Examples have a cli command as well as a description of the command, and are shown in the section for that particular subcommand.

Those are neat examples, and I think it's related to the problem I kind of need usage for—which might be helpful for you.
I want the ability to "mount" clis into mise-en-place, specifically for tasks so you can do mise run sql --help and see output for some defined "task"—which is itself a CLI—but also generate MD docs for the project README and shell completions. Seems like you have a similar problem.
What would be useful, of course, is if we had a library of common CLIs like psql. I've actually found at least a couple of good places I think we can use to seed the data—AI might actually help a lot here too.

https://github.com/withfig/autocomplete/tree/master/src
https://github.com/sigoden/argc-completions

But I'm not totally sure what you're asking here, are you asking for example usage specs that use some common CLIs so people reading the docs know what to expect? Or are you asking about examples of using a CLI to put into documentation like this:
USAGE mycli

DESCRIPITON
....

EXAMPLES
    $ mycli foo
    ...

there is support for examples: https://github.com/jdx/usage/blob/3f0f16c9b4fc2ff346a97644e97878916c1fa630/src/parse/cmd.rs#L32
though I'm not sure if I have documented it or not

Yeah if you could provide an example of usage/output, I can figure out if this would be suitable for my usage or propose spec changes.


chore: switch from Update() to Patch()

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #151
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
Release note:

- Switch from Update() to Patch()

/ok-to-test
/approve

/lgtm


brave: fix wayland video encoding acceleration

Description of changes
Fix for https://github.com/NixOS/nixpkgs/issues/302054
Removed --enable-features=WaylandWindowDecorations  with NIXOS_OZONE_WL.
Append WaylandWindowDecorations to previous --enable-features instead.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 302056 run on x86_64-linux 1

1 package built:

brave


Outdated marker location for 46.80782,-92.06189

The credit union business referenced in the leaflet map is outdated and a new business has occupied the space.
Leaflet's outdated business name: https://drops.tribus.com/Kouwxrx8
For 46.80782,-92.06189
Here's how Google displays the building now: https://drops.tribus.com/NQu1Lg8k, which is correct (https://www.google.com/maps/place/2516+London+Rd,+Duluth,+MN+55812/@46.8077689,-92.0624793,19z/data=!4m13!1m7!3m6!1s0x52afaccca16f0271:0x6d742e0623d9371!2s2516+London+Rd,+Duluth,+MN+55812!3b1!8m2!3d46.8077689!4d-92.0619321!3m4!1s0x52afaccca16f0271:0x6d742e0623d9371!8m2!3d46.8077689!4d-92.0619321)
Google lists it as un-named, but the actual latest occupant is RE/MAX Results

Duplicate of #3896 (and #7004, #6989, #6925, #4661, #4332, #4819, #5056, and #6284).


mkl root is not /opt/intel/mkl in latest version

I downloaded the version 2021.3 Intel Math Kernel Library (MKL), which is under a big pacakge called oneapi. After installation I found that mkl path is now
/opt/intel/oneapi/mkl/latest/

macOS 11.4


Updating the version shield to show Swift 4

The alt text has already been updated, but not the URL.

thanks :)


Start CSI Chapter / Ideas to revive ACM chapter

Not sure how much it would help but I have seen other colleges with a CSI chapter do well in terms of research. We might want to look into it.
cc @hdidwania @shivank01 @ayush1999

@palash25 The fee to open the chapter is Rs.5000 .  Will college give this amount to open the chapter?

@shivank01 They should if we pressurize them. Seeing how Jena spends, I don't think 5000 would be a big amount for him.

Okay, then we will try to open this chapter as it is really good.

I had contacted the CSI bbsr head this semester. He was really willing to open up a chapter here. He also said that they will fund any events if we are organising and they find them to be quite good and helpful. I hadn't told u guys but this chapter is going to be opened next semester somehow.

Why don't you people take over the ACM chapter.It will be a good platform too.You will be connected to student chapters across all over India and even organize competitions at All India Level.We didn't have a big team this session but you can have a look at ACM chapters of BITS Pilani and others.They have an impressive team.You can make a big team for upcoming sem and it is well funded by Placement Cell.?
http://bitsacm.acm.org/

That too. Ankit and I was planning to have some of you in ACM and both these clubs should work together.

Sounds like a great idea. @ankitjha97 . What do think @shivank01 @hdidwania ?

yeah great

Also instead of opening up many chapters, focusing on the existing and making them more active will be better, i suppose.

Look, there are many competitions organized at All India Level among the ACM chapters and they award the best ACM chapters.If we have a good team, then we can surely make a mark and get known which can attract a lot of attention to our college.Last year ACM Bits Pilani won the prestigious award for best ACM.This year, if you have a strong, then you will surely win this award.

@ankitjha97 I saw the BITS-ACM site and the events that they conduct. Its something that we could do too.
@sr6033 is right about reviving existing chapters but even if we have multiple chapters two or more chapters can work in tandem to conduct events that way all the chapter will have activities to showcase on their websites and none of them will go dormant. We can also organize a few programming society events in association with our ACM chapter.
If we could set up Papers We Love #17 chapter we can have talks & discussion about research papers under that chapter and these will be organized by ACM chapter
I also saw that the folks at BITS conduct quizess as one of their sessions and as far as I know quizerrati is an independent group right know if the quizerratis can organize tech quizess under the ACM banner with would have another event to add to ACM's activity. Maybe quizerrati can be a SIG under ACM related issue #8
cc @nawedx your thoughts on this
Their flagship event were talks by experienced software devs and researchers I'm not sure we currently have the resources to organize large scale talks or not but this can be doable if we can get an OWASP chapter (they provide a funding of $500-$1000 for events iirc and can also contact security experts to deliver a talk)
Related issue #6
This way we might be able to have the best of both worlds i.e. existing chapters stay active and new chapters bring in their benefits and add to our activities as a community.
Just one question do we have an ACM website? If yes then can you give me a link. Maybe a redesign of the ACM website can also be a good project.

I think we should setup Papers we love Bhubaneswar chapter #17  as it is quite different from others.

I think we can maintain a hierarchy for smooth functioning. Under TeSoc, we have two wings: the hardware and robotics wing- Technetronic, and the coding and software wing- PSoc. We both must collaborate and work together for smooth functioning as well as the improvement of Tech culture in college as a whole. Any other bodies, like some student chapter, can act as a supporting body to these wings. ACM can support coding wing in all of it events. And I guess hardware people are thinking to reactivate the IEEE student chapter of college too. Any other student chapter which we are able to set up, can support the two clubs and tesoc as a whole, and the perks and benefits availed by this chapter can be shared by the whole tech community of the college.
Lets form a single body of us, a single body for tech. From there we can divide/recognize ourselves as part of different wing, and as someone responsible for a particular student chapter or SIG. This will help us work as a whole, as well as focus on specific bodies we represent.

I think we should setup Papers we love Bhubaneswar chapter #17 as it is quite different from others.

@shivank01 would you be willing to lead that effort. I can help you with (founding the chapter) it whenever you want but I need someone to take the initiative. If you want to do it then keep me posted.

I think we can maintain a hierarchy for smooth functioning. Under TeSoc, we have two wings: the hardware and robotics wing- Technetronic, and the coding and software wing- PSoc

Do we come under the tech society I thought we were independent and unrecognized? I used to think that technotronics and T-Soc are two separate official bodies recognized by the college and we are unofficial. @hdidwania

@palash25  yeah I am ready to take the initiative to open the chapter.

There is nothing official in technetronic, as far as I understand. There is only one officially recognized club i.e. the tech society which receives all the funds from the college for the tech related stuff. Similarly, we PSoc, are not an official body as per the college and not completely independent, because as far as my understanding goes, we need to take funds from TeSoc for conducting events.
I am suggesting that under this official umbrella body of TeSoc, let us have two independent bodies which work in collaboration with each other, as two separate wings, supported by various student chapters.

Yeah that's a better idea ,in my opinion, we should take the benefits of all the chapters and collaboratively contribute to the tech culture of the college, since different chapters will have certain parameters to keep them active on a national level (i.e report submission, event summaries, annual awards etc.), that part can be taken care by the heads of those chapters.

And the college can grow on all the platforms at all level collectively.
Resources + Activities +Outreach + National Recognititon  --->> Full Growth

Resources + Activities +Outreach + National Recognititon --->> Full Growth

Very well put together :clap: @arijeetsat

If we can get enough technical writers this year then maybe we can start our own tech magazine.
I've seen IITR do it. Under their ACM they run an online magazine called Geek Gazette https://geekgazette.org/about/

@palash25, @shivank01, @ayush1999, @arijeetsat, if you people want to be the part of ACM next session, you can make a team of approx 10 members by tomorrow and give the names to me so that I can forward it to Debashish Sir.
It can be good opportunity because you can organize events under the umbrella of ACM without worrying about funding and compete with other chapters.It's quite fun and with good team it's amazing.

I'm in favour of that I think we should conduct events under both ACM and the programming society

Exactly, the main idea is to create an interactive and productive environment.ACM has many resources which can be properly utilized to organize diverse events.

@palash25, @shivank01, @ayush1999, @arijeetsat, if you people want to be the part of ACM next

session, you can make a team of approx 10 members by tomorrow and give the names to me so that I can forward it to Debashish Sir.
It can be good opportunity because you can organize events under the umbrella of ACM without worrying about funding and compete with other chapters.It's quite fun and with good team it's amazing.

Ok.. We'll give you the list by tomorrow

I'm in.

Lets decide over here how many are in to be the part of the next ACM team.
I asked @knrt10 he is in (we need a webdev lead any way to build and maintain the ACM site)
@ayush1999 @shivank01 and I are in.
I think @arijeetsat would also like to be a part of the team (we would need his awesome management during all the events)
What about you folks @hdidwania @AbhiRepository @bkhanale @swap1108 @IamRaviTejaG  ?

Me too

I am also a researcher as well, this year the management part is supposed to be a group task ,unlike last year.

Duly noted. I wasn't aware about your interest in research too :sweat_smile: .

Plan out and include those who will work actively.

I'm in too!

By now, the team is:
@palash25
@ayush1999
@arijeetsat
@shivank01
@AbhiRepository
@IamRaviTejaG

@knrt10 is also there.
If anyone else wants to join, please write here.

I'm in too!
On Wed 9 May, 2018, 12:06 PM ankitjha97<EMAIL_ADDRESS>wrote:

@knrt10 https://github.com/knrt10 is also there.
If anyone else wants to join, please write here.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/p-society/goals/issues/18#issuecomment-387635566, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AWMcltwQfKq1U_hyEnKfzU8AEOoUkD1yks5two6GgaJpZM4TtvW5
.

can someone ask @swap1108 too ?

I want to join!

Sorry for the delay, haven't been getting a good signal for the last few days

Now its 10 of us

I didn't see this earlier bros.
Count me in too. :)

11

Count me in as well.
Sorry for the delay

12 I hope this is final now.

I'm in too. Sorry for the delay. Hadn't noticed this before.

Lol maza aa rha hei. Now I waiting for PP's reply

How many of you are part of other societies?
Since ACM and Programming Society will be collaborating together, I think it would be better to make sure that anyone of you is not over-burdened.
So please wisely put forward your names.

I think with the exception of 2 or 3 who have put forth their names all the rest are programming society members.


Fix #670 and #570. Add 'clear()' to CacheStatTracker

This PR adds the clear() method to CacheStatTracker. Without this Django will raise subclasses of BaseCache must provide a clear() method whenever cache.clear() is called.
Cheers! :beers:

I added a test to verify the clear method can be called as well. Thank you for the PR!


INVALID_FIELD error for parsing receivedRedirectUri

This isn't related to the react-plaid-link SDK, but instead is related to using the Link in a webview, but wasn't sure where else to post.
I'm using a webview for the OAuth flow and testing in Sandbox, but hitting an issue with plaidRedirectUri being parsed. Here's an example of a the plaid URL I'm hitting along with the query params (I'm using ngrok to proxy my local machine): https://cdn.plaid.com/link/v2/stable/link.html?isWebview=true&token=link-sandbox-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&receivedRedirectUri=https://xxxx-xx-xx-xx-xx.ngrok.io/oauth_redirect.html?oauth_state_id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
It appears that I'm passing everything correctly, so I'm unsure why I'm hitting this error. My flow is basically:

Pass the ngrok redirect_uri to link token creation on my server
Render the Link in a webview using a link token generated in my app
When the redirect URI is hit, it navigates to a deeplink to my app, passing along the oauth_state_id
App intercepts the deeplink, uses window.open to open the link I specified above in the webview
Get this error and webview is closed

Not really sure what's going on, have spent a few hours trying to figure this out to no avail. Apologies if this isn't the right place to post this.

Figured out what's going wrong, I was using encodeURI to encode the receivedRedirectUri parameter when instead I should have been using encodeURIComponent. Closing this out.


Crosscompile python aarch64 wheels with dockcross

Enables building of aarch64 wheels via crosscompilation.
Uses similar tricks (overriding plat-name and EXT_SUFFIX) as https://github.com/protocolbuffers/protobuf/pull/8280.
Some limitations:

currently twine check and auditwheel repair is being skipped
still need to doublecheck whether the wheels work well

The nice thing is that crosscompilation isn't slower than the regular build (unlike building under emulation).
FTR a very similar technique could be used to crosscompile the armv7 and armv6  (currently under "linux_extra" and being built under an emulator which takes ages).

@lidizheng  @gnossen this is not ready for merge yet, but good enough for first review pass.

@janaknat please review as well.

Artifact build results (for aarch64)

passing for python3.8 and 3.9
failure for python3.7 (tools/run_tests/artifacts/build_artifact_python.sh: line 26: /opt/python/cp37-cp37/bin/pip: No such file or directory) https://source.cloud.google.com/results/invocations/1bcb1668-6aa9-4916-9748-f291ec40d08e/targets/github%2Fgrpc/tests;query=manylinux2014;passed=true;group=tasks;test=build_artifact.python_manylinux2014_aarch64_cp37-cp37;row=6

built wheels can be downloaded here:
https://console.cloud.google.com/storage/browser/grpc-testing-kokoro-prod/test_result_public/prod/grpc/core/pull_request/linux/grpc_build_artifacts/22486/20210212-055319

Manual run of auditwheel show on arm64 machine:
python -m auditwheel show grpcio-1.37.0.dev0-cp38-cp38-manylinux2014_aarch64.whl

grpcio-1.37.0.dev0-cp38-cp38-manylinux2014_aarch64.whl is consistent
with the following platform tag: "manylinux_2_24_aarch64".

The wheel references external versioned symbols in these system-
provided shared libraries: libpthread.so.0 with versions
{'GLIBC_2.17'}, libm.so.6 with versions {'GLIBC_2.17'}, libc.so.6 with
versions {'GLIBC_2.17'}, libstdc++.so.6 with versions
{'GLIBCXX_3.4.17', 'GLIBCXX_3.4.15', 'GLIBCXX_3.4.14',
'GLIBCXX_3.4.18', 'CXXABI_1.3.5', 'GLIBCXX_3.4.11', 'GLIBCXX_3.4.9',
'GLIBCXX_3.4.20', 'CXXABI_1.3', 'GLIBCXX_3.4'}

This constrains the platform tag to "manylinux_2_24_aarch64". In order
to achieve a more compatible tag, you would need to recompile a new
wheel from source on a system with earlier versions of these
libraries, such as a recent manylinux image.

So looks like some work is still needed.  Not sure if the problem could be the too-new version of gcc being used (we do use 4.9.4 instead of the default 4.8 because gRPC doesn't compile under gcc 4.8 - see the dockerfile)

Manual run of auditwheel show on arm64 machine:
python -m auditwheel show grpcio-1.37.0.dev0-cp38-cp38-manylinux2014_aarch64.whl

grpcio-1.37.0.dev0-cp38-cp38-manylinux2014_aarch64.whl is consistent
with the following platform tag: "manylinux_2_24_aarch64".

The wheel references external versioned symbols in these system-
provided shared libraries: libpthread.so.0 with versions
{'GLIBC_2.17'}, libm.so.6 with versions {'GLIBC_2.17'}, libc.so.6 with
versions {'GLIBC_2.17'}, libstdc++.so.6 with versions
{'GLIBCXX_3.4.17', 'GLIBCXX_3.4.15', 'GLIBCXX_3.4.14',
'GLIBCXX_3.4.18', 'CXXABI_1.3.5', 'GLIBCXX_3.4.11', 'GLIBCXX_3.4.9',
'GLIBCXX_3.4.20', 'CXXABI_1.3', 'GLIBCXX_3.4'}

This constrains the platform tag to "manylinux_2_24_aarch64". In order
to achieve a more compatible tag, you would need to recompile a new
wheel from source on a system with earlier versions of these
libraries, such as a recent manylinux image.

So looks like some work is still needed. Not sure if the problem could be the too-new version of gcc being used (we do use 4.9.4 instead of the default 4.8 because gRPC doesn't compile under gcc 4.8 - see the dockerfile)

An attempt to auditwheel repair:
python -m auditwheel repair grpcio-1.37.0.dev0-cp38-cp38-manylinux2014_aarch64.whl || echo FAILED
INFO:auditwheel.main_repair:Repairing grpcio-1.37.0.dev0-cp38-cp38-manylinux2014_aarch64.whl
usage: __main__.py [-h] [-V] [-v] command ...
__main__.py: error: cannot repair "grpcio-1.37.0.dev0-cp38-cp38-manylinux2014_aarch64.whl" to "manylinux2014_aarch64" ABI because of the presence of too-recent versioned symbols. You'll need to compile the wheel on an older toolchain.

Artifact build results (for aarch64)

passing for python3.8 and 3.9
failure for python3.7 (tools/run_tests/artifacts/build_artifact_python.sh: line 26: /opt/python/cp37-cp37/bin/pip: No such file or directory) https://source.cloud.google.com/results/invocations/1bcb1668-6aa9-4916-9748-f291ec40d08e/targets/github%2Fgrpc/tests;query=manylinux2014;passed=true;group=tasks;test=build_artifact.python_manylinux2014_aarch64_cp37-cp37;row=6

built wheels can be downloaded here:
https://console.cloud.google.com/storage/browser/grpc-testing-kokoro-prod/test_result_public/prod/grpc/core/pull_request/linux/grpc_build_artifacts/22486/20210212-055319

The python3.7 failure seems to be caused by a typo that's now fixed.

Looks like the only problematic symbol is
0000000000000000      DF *UND*<PHONE_NUMBER>000000  GLIBCXX_3.4.20 _ZSt24__throw_out_of_range_fmtPKcz (and it seems to be used by absl`

So far I haven't figured out how to make sure that the GCC 4.9 crosscompiler in the dockcross image uses symbols that are compliant with manylinux2014 (as discussed in https://github.com/grpc/grpc/pull/25418#issuecomment-778569369), but I used a workaround instead:

when crosscompiling linux aarch64 wheels, use -static-libstdc++ after which no libstdc++ are referenced (because they are linked statically) and the resulting wheels are manylinux2014 compatible (confirmed with manual run auditwheel)
this approach increases the size of the binary wheels slightly (increase of size approx. 23MB to ~25MB), but that seems reasonable since we currently don't have a better way of crosscompiling for aarch64. The plan is to remove the workaround in the future, but for now having a set of aarch64 wheels is the priority.

@lidizheng  @gnossen   I think this PR is now ready to merge. PTAL

known failures:
https://github.com/grpc/grpc/issues/25594