[aws-json] Migrate SQS DeleteMessageBatch

I think this one needs a commit squash too btw.

Yes, we are working on your comments, please wait a moment 👍

Awesome work to you and your team!  Really appreciate it as always!  Let's do this one next if that's ok, and then we can rebase others and get them in too?
I'm closing in on Publish and I see you guys took the rest, so we're about there.  Heroic effort on this project - happy to see the light at the end of the tunnel!


adding yarn as a requirement to use create-app

following the tutorial with a fresh node installation and noted that yarn is necessary in order to create the app
Hey, I just made a Pull Request!

added yarn as requirment on the create an app tutorial
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

following the tutorial with a fresh node installation and noted that yarn is necessary in order to create the app


notify_future needs to be resolved on the disconnect callback

https://github.com/kaechele/bonaparte/blob/73280db4186f1565f2471a0dd9c18bfa0a0175cb/src/bonaparte/device.py#L305
The future should probably set an exception on disconnect so it doesn't block forever

Thanks! That makes sense. I have pushed a possible fix to a branch that I'm going to test hopefully later today.


Who can help me? I want to use opencv dnn, I need compiler opencv-python wheel with cuda-10.2

Expected behaviour
I need compiler opencv-python wheel with cuda-10.2
Actual behaviour
In file included from /usr/local/cuda/include/cuda_runtime.h:83,
from :
/usr/local/cuda/include/crt/host_config.h:138:2: error: #error -- unsupported GNU version! gcc versions later than 8 are not supported!
138 | #error -- unsupported GNU version! gcc versions later than 8 are not supported!
|  ^~~~~
Steps to reproduce

git clone --recursive https://github.com/opencv/opencv-python.git

docker run -it --gpus all --privileged=true --user root -v /home/dnn/opencv-python:/opencv-python -v /usr/local/cuda-10.2:/usr/local/cuda --name test02 quay.io/opencv-ci/opencv-python-manylinux2014-x86-64:20230628 /bin/bash

export ENABLE_HEADLESS=1
export VERBOSE=1
export CMAKE_ARGS="-DWITH_CUDA=ON -DWITH_CUDNN=ON -DOPENCV_DNN_CUDA=ON -DBUILD_opencv_python2=OFF"
export ENABLE_CONTRIB=0

/usr/local/bin/python3.8 -m pip wheel . --verbose

Does the CMAKE_ARGS is error? Or cuda-10.2 with the lasted opencv-python.git repo is not compatible？Who can help me?

#error -- unsupported GNU version! gcc versions later than 8 are not supported!

This is CUDA 10.2 limitation. You need to update CUDA or downgrade the compiler.


[Snyk] Security upgrade moment from 2.29.1 to 2.29.4

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `yarn` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

components/package.json
components/yarn.lock

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

696/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Regular Expression Denial of Service (ReDoS) SNYK-JS-MOMENT-2944238
No
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)

Opa, este é um comentário de teste =)


[Event Request]  codeunit 4509 "Email - Outlook API Helper" - OnAfterEmailMessageToJson

Can we please get the following event?
procedure EmailMessageToJson(EmailMessage: Codeunit "Email Message"; Account: Record "Email - Outlook Account"): JsonObject
var
	EmailMessageJson: JsonObject;
	EmailAddressJson: JsonObject;
	FromJson: JsonObject;
	MessageJson: JsonObject;
	EmailBody: JsonObject;
begin

	....
	OnAfterEmailMessageToJson(EmailMessage, Account, MessageJson);
	exit(MessageJson);
end;

[IntegrationEvent(false, false)]
local procedure OnAfterEmailMessageToJson(EmailMessage: Codeunit "Email Message"; Account: Record "Email - Outlook Account"; var MessageJson: JsonObject)
begin
end;

Could you explain what you would need that event for? Intercepting the email sending process at this stage is rather late. Also, this event would only work if the email is sent through Exchange. If SMTP or any other connector would be used, this event would never be raised. A little context would be needed before we proceed here :-)

We want to have to possibilty to enable a test mode, where e-mails are sent to a fixed e-mail.
Escpecially for test instances that are copies of a production environment.
In a test environment Mails should never being sent to real customers.
Therefore I requested one event for this default connector and one for the SMTP Connector (#9557);

@pri-kise would consider using a mock connector instead?
You can see how ConnectorMock was implemented and how it's used. It might help.

I thought about using a "Test/Mock Connecot", but to work with a copy of production environment as  test environment I would need any possiblity to bulk change the connector of existing email outbox entries.
At the moment it isn't possible to change the connector of still existing
Since there might be still some when the database gets copied.
Or some way to change the connector that is used for any email outbox entry (https://github.com/microsoft/ALAppExtensions/blob/2ce8069cae5e9ac3929998b57d6b2785a59e4572/Modules/System/Email/src/Email/EmailDispatcher.Codeunit.al#L39)

Hi again @pri-kise
So in SaaS, when copying production to sandbox environment, all the email outbox and sent email entries are deleted.
You can achieve the same, calling OnAfterCopyEnvironmentToSandbox from codeunit Environment Triggers. (see Sandbox Cleanup module).
And for tests you can generate email outbox entries that use the mock connector.
Let me know if I missed something!

Also related to #9557.

Hi @pri-kise,
Does Maria's suggestion work for you? and would that work for you in regards to #9557 as well?

I haven't had the time to test this workaround, but I guess it should work.
I'm still struggling to find the the best place to replace the current connector of any E-Mail Scenario with a "Mock Connector".

Doing some house keeping... As the workaround should work, I will go ahead and close this issue. If the issue persists, could you open a new issue for us? Then we'll give it another go. Will also close related issue #9557 for now.


Dm rapportags

As thegoodcloud isn't open (yet) and we want to be able to reference these reports

We won't upload these docs to the repository


Remove a device and delete its object if it returns false from a callback

This would require changing the data storage technique so that devices could register themselves and provide an object (pointer and deleter), so we know what to call when they fail.

Yeah, I think to do this best would require an API break. So, should be lumped with other api breaks.


I installed this plugin, but then my girlfriend guessed my password

Without my consent, she now knows that I secretly love the sound of bluegrass music while lovemaking, especially when combined with the smell of dusty woodshop.
Could you please talk to her and tell her that's not polite and I would have liked to have told her that in my own time?
(kidding, love the idea for this plugin and your README is funny. Thanks for publishing 😄)

@SimplGy  Aha, you are first audience, thank you very much for your compliment! 😄

Good kidding.


Top level error handling

Currently the top level handler of the plugin relies on a high level try/catch to handle errors coming from the obfuscateCode function. This makes it hard for the internal build process to distinguish between user errors and bugs, given the top level catch will re-throw all the errors using failBuild() which is used to convey user errors.
https://github.com/iamanishroy/netlify-plugin-js-obfuscator/blob/ca7d29c28849b0066756dc0e6f43c2dae1a3ca6b/index.js#L43-L57
We would like to suggest removing this top level try/catch and instead keep these blocks as close as possible to the functions that may throw errors that we want to handle. Specifically for this case, your use of the readdirp package will make sure the files are in place, so any errors that come from file reading/writing would probably mean there's a problem with the build system (so no need to handle those). In the end we're left with validating the JavaScriptObfuscator package. Picking up on the suggestions from #2, for the obfuscateCode functions we could have:
// Reading the files -> obfuscating the code -> Writing the obfuscated code
const obfuscateCode = async (filePath, custom) => {
 const file = await readFile(filePath, "utf8");

  try {
    const obfuscationResult = JavaScriptObfuscator.obfuscate(file, {
      compact: custom[0],
      controlFlowFlattening: true,
      controlFlowFlatteningThreshold: 1,
      numbersToExpressions: custom[1],
      simplify: custom[2],
      shuffleStringArray: custom[3],
      splitStrings: custom[4],
    });
  } catch (error) {
    return utils.build.failBuild("Failed to Obfuscate JS .", { error });
  }
  await writeFile(
    filePath,
    obfuscationResult.getObfuscatedCode(),
  );
};

Edit: Changed this suggestion based on some input from @ehmicky 🙏

FYI I've ended up editing this suggestion ☝

FYI I've ended up editing this suggestion ☝

Removed try/catch block from top level
Thank for explaining issue 👍

Removed try/catch block from top level
Thank for explaining issue 👍


Adding kotlin sources to built *-sources.jar

Does not containing kotlin sources in built *-sources.jar currently, it's make using wechaty more diffcult.

 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.

 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.

Link to https://github.com/wechaty/PMC/issues/16

请问有成员帮忙合并这个PR吗

I can help you merge this PR because @diaozxin007 has approved it.

Thank you very much for your contribution!
You are welcome to join Wechaty Contributor Program
1. Join Wechaty Organization

You've invited Bo He to Wechaty! They'll be receiving an email shortly. They can also visit https://github.com/wechaty to accept the invitation.

I have invited you to join our Wechaty GitHub Organization, please accept it by following the above message. (See also: wechaty/PMC#16)
2. Update Your Wechaty Contributor Profile

Please open Contributor Hall of Fame and add yourself to the end of the list, so that other contributors will know you better!
Please add yourself to our Website Contributors by creating a PR and refer to this PR link as well.

3. Join The Contributor Only WeChat Room
We also have a WeChat room for contributors only which can discuss Wechaty at a deeper level, you are welcome to join and if you are interested.
Please add @lijiarui wechat: ruirui_0914 and send her this pr link. She will invite you into Wechaty Contributor Room
Cheers!


Update device-portal-hololens.md

Adding info that IPD can't be set on Hololens 2.

@magdavuko : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Karl-Bridge-Microsoft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Let driver own pcollections

Signed-off-by: Jiajun Yao<EMAIL_ADDRESS>With this PR, driver will own all the data of pcollections and handle the object lose automatically.
Closes #34

thanks everyone : )

@iasoon, sorry for the late reply.
I'll apply https://github.com/ray-project/ray/pull/28291 to this PR so we no longer need to calculate num_returns beforehand.


Change mutable public collections to immutable versions

public static final List<String> entries = Arrays.asList("A","B");

public static final List<String> entries = Collections.unmodifiableList(Arrays.asList("A","B"));

While List.of is also an option, it is important to note that List.of throws NPE for null access patterns (like contains) and that can be problematic.

var a = Collections.unmodifiableList(Arrays.asList("A","B"));
var b =Arrays.asList("A","B");
var c = List.of("A","B");

a.contains(null) // false
b.contains(null) // false
c.contains(null) // NPE

Could you please assign it to me? I would attempt it in coming weeks...

I have some doubts if this recipe could do harm in certain situations. Consider something like:
@Test
void doNotWrapIfSet() {
    rewriteRun(
      java("""
        import java.util.Arrays;
        import java.util.List;

        class A {
            public static void main(String[] args) {
                List<String> entries = Arrays.asList("A", "B");
                entries.set(0, "C");
                System.out.println(entries);
            }
        }
        """
      )
    );
}

This is allowed currently, as changing an element of the backing array does not change the size of the list.
But this recipe could convert that into Collections.unmodifiableList(Arrays.asList("A", "B")), which no longer allows entries.set(0, "C").

You could use data flow to determine if entries is ever used with set


table "ref_commits" does not have column "commit_hash"

Trying to executing the following query:
mysql> SELECT files.blob_hash,files.file_path, ref_commits.commit_hash from files NATURAL JOIN commit_files NATURAL JOIN ref_commits where ref_commits.ref_name = 'HEAD' and ref_commits.index = 0;

I have the next error:
ERROR 1105 (HY000): unknown error: table "ref_commits" does not have column "commit_hash"

ref_commits table:
mysql> describe table ref_commits;
+---------------+-------+
| name          | type  |
+---------------+-------+
| repository_id | TEXT  |
| commit_hash   | TEXT  |
| ref_name      | TEXT  |
| index         | INT64 |
+---------------+-------+
4 rows in set (0,00 sec)

Closed by #260


TypeError: Converting circular structure to JSON when enabling LangSmith

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain.js documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain.js rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
The issue occurs when enabling Langsmith on this sample, in particular the Azure path: https://github.com/Azure-Samples/serverless-chat-langchainjs
The issue seems to come from the AzureCosmosDBVectorStore. I'm trying to investigate what could be the cause of the circular structure, do you have any hint on how to debug which object is the root cause?
Error Message and Stack Trace (if applicable)
[api] [2024-04-23T15:11:38.138Z] TypeError: Converting circular structure to JSON
[api] [2024-04-23T15:11:38.138Z]     --> starting at object with constructor 'Socket'
[api] [2024-04-23T15:11:38.138Z]     |     property 'parser' -> object with constructor 'HTTPParser'
[api] [2024-04-23T15:11:38.138Z]     --- property 'socket' closes the circle
[api] [2024-04-23T15:11:38.138Z]     at JSON.stringify (<anonymous>)
[api] [2024-04-23T15:11:38.138Z]     at Client.batchIngestRuns (/Users/sinedied/projects/serverless-chat-langchainjs/node_modules/langsmith/dist/client.cjs:637:51)
[api] [2024-04-23T15:11:38.138Z]     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[api] [2024-04-23T15:11:38.139Z]     at async Client.drainAutoBatchQueue (/Users/sinedied/projects/serverless-chat-langchainjs/node_modules/langsmith/dist/client.cjs:477:17)

Description
Trying to enable Langsmith, but the app crashes when trying to send the report.
System Info
npm ls langchain @langchain/comm
unity
<EMAIL_ADDRESS>/Users/sinedied/projects/serverless-chat-langchainjs
└─┬<EMAIL_ADDRESS>-> ./packages/api
├──<EMAIL_ADDRESS>-> ./packages/api
└─┬<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>deduped -> ./packages/api
platform mac, node v20.11.0, npm 10.2.4

Ok, removing entirely AzureCosmosDBVectorStore from the chain did not solve the issue. I still get that error, but it cannot be reproduced all the time. Not sure how I should go to debug this or help debugging this?

Heyhey, can you provide the code sample for this? What does your wrappedFunc look like?

Yes, I could reproduce the error on this sample/branch: https://github.com/Azure-Samples/serverless-chat-langchainjs/tree/mongodb-vcore
I'm currently off till next week, I'll try to create a simpler repo for reproducing the issue.

Faced the same issue when trying to implement my custom cache Class.
TLDR: with Langsmith tracing I get error, without tracings works well.
The error:
Error in handler LangChainTracer, handleChainEnd: TypeError: Converting circular structure to JSON
     --> starting at object with constructor 'ni'
     |     property 'client' -> object with constructor 'PrismaService'
     --- property '_requestHandler' closes the circle

The problem appears when there is a class prop with PrismaClient
class PrismaCache extends BaseCache {
   constructor(
     private prisma: PrismaClient,
     private options: { ttl: number },
   ) {
     super();
   }
...
}

Temporal workaround: pass an object to the constructor that holds a reference to the PrismaClient in the closure.
{
      get: async (key: string) => {
        const entry = await this.prisma.llmCache.findUnique({
          where: {
            key,
            expiresAt: {
              gt: new Date(),
            },
          },
        });

        if (!entry) {
          return null;
        }

        return entry.value;
      },
      set: async (key: string, value: any, ttl: number) => {
        await this.prisma.llmCache.upsert({
          where: {
            key,
          },
          create: {
            key,
            value: value as any,
            expiresAt: new Date(Date.now() + ttl),
          },
          update: {
            value: value as any,
            expiresAt: new Date(Date.now() + ttl),
          },
        });
      },
    }

I'm experiencing this issue as well -- it seems like Langsmith tries to blindly serialize the arguments and return values of traced functions, and if those values happen to be rich objects that reference one another, they can't be safely serialized like that. Could we get an API added to allow a transform of the values before being serialized? Some of the objects that my functions use are also quite big if serialized -- maybe it's the wrong default to serialize everything blindly?

Another option would be to use one of the circular-safe serialization libraries

Any update on this? I have enabled MongoDBSaver for checkpointing in langgraph and now langsmith is broken with the following error:
TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'MongoClient'
    |     property 's' -> object with constructor 'Object'
    |     property 'sessionPool' -> object with constructor 'ServerSessionPool'
    --- property 'client' closes the circle
    at JSON.stringify (<anonymous>)
    at Client.batchIngestRuns (file:///var/www/app/node_modules/langsmith/dist/client.js:612:51)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Client.drainAutoBatchQueue (file:///var/www/app/node_modules/langsmith/dist/client.js:451:17)

Thanks for reporting - will identify and patch as soon as possible!

PR opened here: https://github.com/langchain-ai/langsmith-sdk/pull/985

This should be fixed although in the latest LangSmith version I'd still recommend avoiding circular references for performance issues.


Looking for a procedure to replace images in Architecture center

Hi!
I'm looking for a way to replace existing images in Architecture Center (and also Azure NetApp Files related) articles. Ed Price used to help me with this, and he used to replace an image for me, and also make the originating Visio or Powerpoint diagrams available through the download button underneath the image.
Kindly advise how this can be done, or who can assist me with this.
I currently have refreshed images ready for https://learn.microsoft.com/en-us/azure/architecture/example-scenario/file-storage/data-protection-kubernetes-astra-azure-netapp-files
Many thanks in advance.
[Enter feedback here]

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

ID: 6af2c4c0-687c-849f-9ce1-cfc3fbe3b374
Version Independent ID: 6af2c4c0-687c-849f-9ce1-cfc3fbe3b374
Content: Overview of editing documentation on Microsoft Learn - Contributor guide
Content Source: Contribute/content/how-to-write-overview.md
Product: non-product-specific
GitHub Login: @carlyrevier
Microsoft Alias: cahublou

Hi @arntdg - Thanks for reaching out. Ed Price is no longer with Microsoft, but let me check with the Architecture Center team for who might be the right contact to help you with this.

@arntdg - Closing this issue as I've replied internally.


No source maps running skeleton esnext webpack in development mode in certain browsers

I'm submitting a feature request

Aurelia Skeleton Version
skeleton-esnext-webpack

When running webpack skeleton in development mode, there are no sourcemaps, so code breakpoints or debugger statements don't work.
Old skeleton had
{devtool: '#inline-source-map'}

entries in the webpack.config.js files.  Not sure how to add similar to the new webpack.config.babel.js file to turn on the sourcemaps.

Ah - I see it now:
  ENV === 'test' || ENV === 'development' ?
    envDev(ENV !== 'test' ? {} : {devtool: 'inline-source-map'}) :

should be:
  ENV === 'test' || ENV === 'development' ?
    envDev(ENV === 'test' ? {} : {devtool: 'inline-source-map'}) :

Turn on source maps for development, not for test.

Actually no, the behavior is correct. inline-source-map has to be used for test because of coverage reporting. Putting {} doesn't disable the devtool, just uses the default one (see the related easy-webpack). But it might be that the default sourcemap tool doesn't work in your browser. Both Chrome and FF has an issue with one or another I think, so it's hard to get it working consistently across browsers.
I'd love a pull request to easy-webpack with a better default, if you can find out which one works best.

New skeletons should have solved this.


scrum-2100 fix html for italics

Looks good to me... I was able to get authors in both areas with non-standard characters and they displayed correctly.


Uncaught Error: The specified module could not be found./?~\AppData\Local\atom\app-1.42.0\res...

[Enter steps to reproduce:]

...
...

Atom: 1.42.0 x64
Electron: 4.2.7
OS: Unknown Windows version
Thrown From: Atom Core
Stack Trace
Uncaught Error: The specified module could not be found.
\?\C:\Users\MAKTUM\AppData\Local\atom\app-1.42.0\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
At ELECTRON_ASAR.js:160

Error: The specified module could not be found.
\\?\C:\Users\MAKTUM\AppData\Local\atom\app-1.42.0\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:160:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:722:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:169:18)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:1:728962)
    at get_KeyboardLayoutManager (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:14:2779770)
    at get_manager (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:14:2779872)
    at Object.getCurrentKeyboardLayout (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:14:2779998)
    at e.keystrokeForKeyboardEvent (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:14:1083872)
    at KeymapManager.keystrokeForKeyboardEvent (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:11:1249484)
    at KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:11:1247469)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:11:284591)

Commands

Non-Core Packages
platformio-ide-terminal 2.9.4
script 3.25.0

Thanks for taking the time to contribute!
We noticed that this is a duplicate of https://github.com/atom/atom/issues/21285. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Please review and fix this RDCV which has reported in fluxv2 kuztom image

Please review and fix this RDCV which has been reported in the fluxv2 kuztom image
CVE-2024-32002
CVE-2024-24790
CVE-2024-6197
CVE-2024-6387

See my answer here: https://github.com/fluxcd/helm-controller/issues/1061


[feature request] _canceled parameter for some cleanup tasks

Hi all,
I have a feature request. I want _canceled parameter for some cleanup tasks.
When a workflow is canceled, we cannot hook any tasks currently. Sometimes I define a stateful workflow that cannot be defined by one task like using temporary storage. I want to clean up the storage in any case.
ref. https://github.com/treasure-data/digdag/blob/29ef4c68e719940c940b9fdcc35151f2c1bae6bc/digdag-core/src/main/java/io/digdag/core/workflow/WorkflowExecutor.java#L993-L995

@civitaspo Thanks for your proposal. It will be useful.
I don't know we can implement _canceled easily, but I guess we should consider how to support cancelling _canceled tasks. ( normal cancel and forced cancel may be required).
Anyway thanks.


Atom 1.2.0 Type error

when i upgrade Atom to 1.2.0-beta , something happen ,found that Atom display a black grid, I use Enter and delete and type something，It does'nt work!

Are you using one of the default themes, or a custom one?

@oxygen16 Would you mind reporting what the solution was in case somebody comes across this in the future?

@Arcanemagus  Sorry , I use github not a long time so some rule I don't know, yep , just like you say ,When I change my Syntax Theme to another, It's solve . and then you can replace Syntax Theme you used before


other characters will not be entered when I type quickly on the TextField

Steps to Reproduce

source code

import 'package:flutter/material.dart';

void main() => runApp(AppScene());

class AppScene extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text('title'),
        ),
        body: Center(
          child: TextField(
            obscureText: true,
          ),
        ),
      ),
    );
  }

}

screen capture

Like the image, other characters will not be entered when I type quickly on the TextField.
I'm not sure if this is a bug.
Is there a way I can fix it?
Thx.

**Target Platform: Android
**Target OS version/browser:  Android 8.0
**Devices: honor 8
Logs

[√] Flutter (Channel stable, v1.9.1+hotfix.4, on Microsoft Windows [Version 6.1.7601], locale zh-CN)
    • Flutter version 1.9.1+hotfix.4 at E:\tools\Android\flutter
    • Framework revision cc949a8e8b (5 weeks ago), 2019-09-27 15:04:59 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at E:\tools\Android\Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = E:\tools\Android\Sdk
    • Java binary at: E:\tools\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[√] Android Studio (version 3.3)
    • Android Studio at E:\tools\Android\Android Studio
    • Flutter plugin version 34.0.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[√] IntelliJ IDEA Ultimate Edition (version 2017.3)
    • IntelliJ at E:\tools\IntelliJ IDEA 2017.3.5
    • Flutter plugin version 29.0.1
    • Dart plugin version 173.4700

[√] IntelliJ IDEA Ultimate Edition (version 2019.2)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2019.2.3
    • Flutter plugin version 40.2.4
    • Dart plugin version 192.7402

[√] Connected device (1 available)
    • FRD AL00 • WTK7N16C13001996 • android-arm64 • Android 8.0.0 (API 26)

• No issues found!

I has the same problem and can not find the solution how to fix it.
My OS version is Android 8.0
My device is samsung Galaxy S8

how to deal with it?!
It's normal on the device of IPhone 8+，but it's unuseful on the device of Anfroid .
It is ok with full keyboard input the words on the password TextField.But it is not work well with nine palace keyboard.

Hi @isabadguy
Not able to reproduce with issue when typed quickly
Are you still experiencing the issue with latest stable?
if yes,  can you please provide your flutter doctor -v and flutter run --verbose?
Also, to better address the issue, would be helpful if you could post a minimal code sample to reproduce the problem
Thank you

Same issue on Sony Xperia XZ1 Compact (SO-02K). No other devices around me does not reproduce the issue (even on same generation Xperia devices).

I think this is caused by the POBox Plus IME that is installed in Xperia.
Workaround from https://github.com/flutter/flutter/issues/22828#issuecomment-509092147 :
TextField(
  keyboardType: TextInputType.emailAddress,
  ...
);

However, this is not so good as it will open the keyboard for email.

I think this is caused by the POBox Plus IME that is installed in Xperia.
Workaround from https://github.com/flutter/flutter/issues/22828#issuecomment-509092147 :
TextField(
  keyboardType: TextInputType.emailAddress,
  ...
);

However, this is not so good as it will open the keyboard for email.

Without additional information we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Search for bookmarks without typing browser name?

Is it possible to choose a default chromium-based browser to look for bookmarks without typing browser name?
I am interested in MS Edge and it would be great to just start typing bookmark name without providing edge prefix first. Like it is implemented for Chrome in Alfred out-of-the-box.
Sorry if it is a dumb question, I am new to Alfred. I bought it recently to use this workflow and open MS edge bookmarks with it

You could add a hotkey setting before chromium action, and set a hotkey you like. When you click the hotkey, alfred search box will show off, and you just typing the bookmark without 'chromium'.

You could add a hotkey setting before chromium action, and set a hotkey you like. When you click the hotkey, alfred search box will show off, and you just typing the bookmark without 'chromium'.

Thanks for the suggestion @kerraway.
Another way I found for faster access is changing default keyword by editing workflow. Instead of "edge" I just use "e".

Thanks for the suggestion @kerraway.
Another way I found for faster access is changing default keyword by editing workflow. Instead of "edge" I just use "e".

Thanks for the suggestion @kerraway.
Another way I found for faster access is changing default keyword by editing workflow. Instead of "edge" I just use "e".

I do the same thing! I change 'chrome' to 'ce', 'chromium' to 'cm'. But I think hotkey is the fastest way.

Thanks for the suggestion @kerraway.
Another way I found for faster access is changing default keyword by editing workflow. Instead of "edge" I just use "e".

I do the same thing! I change 'chrome' to 'ce', 'chromium' to 'cm'. But I think hotkey is the fastest way.


Need better diagnostics when a ProtocolDecoderException occurs or other unexpected transport exception

If for example a WebSocket protocol error is detected, the WebSocket connection is closed, but unless log level is set to debug or finer, the only message in the Gateway log file indicating there was an issue is the generic "java.io.IOException: Early termination of IO session", which gives no indication of the underlying cause. We should include the underlying cause in this message when there is one.
To reproduce:
Run any of the failure scenario tests in org.kaazing.gateway.transport.wsn.specification.ws.connector.FragmentationIT, for example, shouldFailWebSocketConnectionWhenServerSendBinaryFrameWithPayloadFragmentedButNotContinued, after tweaking the test to print out log messages (simplest way is to force test failure by adding the line "throw new Exception();" at the end of the test method. This causes trace level of messages to be printed out. But by examining only the INFO level messages one can see that the only one indicating it was an issue is
540  transport.wsn.connect [New I/O worker #1] INFO  connect  - [wsn#3 /<IP_ADDRESS>:56462] EXCEPTION: java.io.IOException: Early termination of IO session

which does not indicate the cause of the problem (which was
ProtocolDecoderException: Expecting CONTINUATION frame, but got BINARY frame

)
The full trace level log output from running the above test is available at:
issue_384_out.txt
It is easy to see from this, by scanning for "ProtocolDecoderException", that the only log messages mentioning that exception are DEBUG or TRACE level (exception stack traces are always part of the preceding log message).

I would suggest we add a cause exception in these cases to the IOException that we throw, and enhance LoggingFilter to into the cause exception in the EXCEPTION message when available

This was fixed by PR https://github.com/kaazing/gateway/pull/396

@cmebarrow Can you please guide how logging level was increased?


feat: 4996 - reordering product languages

What
Now we sort the product languages so that the more interesting languages are displayed first in the language selector:

the languages that are currently used for this product field
the latest languages used locally in the app
the current app language
the product main language
the languages used for the product

names
images
packages
ingredients
labels
categories
countries

Screenshot
Spanish is close to the top as it's the app language:

Fixes bug(s)

Closes: #4996

Impacted files
New file:

language_priority.dart: Helper around the language priority.

Impacted files:

add_basic_details_page.dart: minor refactoring
dao_string_list.dart: now storing the latest languages used locally in the app
edit_ocr_page.dart: minor refactoring
language_selector.dart: now showing app and product languages as first languages
multilingual_helper.dart: minor refactoring

Thank you @M123-dev for your review!
@alexgarel I hope that will solve most of your "Italian" problems.


[Candidate 1v1 Battleship Bay ZH v1] Soldier cannot capture Oil Derrick in flood zone from all directions equally

Observed behavior
Soldier cannot capture Oil Derrick in flood zone from all directions equally. There is impassable terrain underneath it, to prevent units from going through.
Expected behavior
Soldier can capture Oil Derrick in flood zone from all directions equally. Impassable terrain underneath Oil Derrick is just large enough to prevent units from passing through the structure.
Videos
https://github.com/TheSuperHackers/GeneralsRankedMaps/assets/4720891/804d9e52-3258-487b-9feb-7d2a24507c25

Is not fixed. Closing.


Issue with XML validation against XSD file with online imported XSD files

In my XML schema, many online XSD files have been imported in. When I tried to make the validation of an XML against XSD file with the following code:
 URL url = MachineXMLServiceImpl.class.getResource(xsdFilePath);
 SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
 Schema schema = sf.newSchema(url);

 JAXBContext jaxbContext;
 jaxbContext = JAXBContext.newInstance(Class.forName(className));

 Unmarshaller unmarshaller = jaxbContext.createUnmarshaller();
 unmarshaller.setSchema(schema);
 unmarshaller.unmarshal(xmlReader);

The following error occurred.
Invalid XML file. An issue occurred in parsing with the following error message.

org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'type_from_import_online_xml_schema' to a(n) 'element declaration' component.

I can't download all referred XSD files manually, as these are more than forty XSD files.
By searching, I found two solutions.
The first solution is to download all the XSD files and change manually all the online URLs of schemaLocation to the local relative paths. But as that change need to be done in more than 300 places. It is not a very practical solution for us.
The second solution is to follow this code. Which I found it here.
SchemaFactory schemaFactory = SchemaFactory
                    .newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);

InputStream impFis = BR0301.class.getClassLoader()
                .getResourceAsStream("imported.xsd");
InputStream mainFis = BR0301.class.getClassLoader()
                .getResourceAsStream("main.xsd");

Source main = new StreamSource(mainFis);
Source imp = new StreamSource(impFis);
Source[] schemaFiles = new Source[] {imp, main};
Schema schema = schemaFactory.newSchema(schemaFiles);
schema.newValidator().validate(new DOMSource(ervBericht));

But the refferred code isn't very sufficient either because we need for all XSD files to create an InputStream and Source object and finally add all of them in the schema.
During generation of Java classes we create the catalog.cat file to rewrite system id  like the following code.
REWRITE_SYSTEM "http://www.exampleUrl.com/test/1.0"  "test/1.0"
SYSTEM "http://www.example.com/xsdFile.xsd" "imports/xsdFile.xsd"

Is there any way to use the catalog file also for the validation of the XML file against XSD file?

Dear @Tomas-Kraus and @Express85 ,
I have the same problem .
Have you found any solution for this problem ?
My logged error is

src-resolve: impossibile risolvere il nome "ext:UBLExtensions" in un componente element declaration.

Thanks


Make Spark reads distributed

Currently reads from Spark are just single threaded.  This is because the intention is to distribute reads throughout the cluster by splitting up token ranges of keys.  scanSegments is passed some parameters, which are empty right now.
We would need a method to distribute ranges of tokens based on the # of nodes and node info, possibly piggyback on Calliope.

Filed this issue for Phantom:  https://github.com/websudos/phantom/issues/330
Phantom right now does not really support token scans, esp from multiple partition keys.  One workaround is that we could directly work with the CQL Java Driver, and pass in a CQL query.
Also going forward, we will want to efficiently filter chunkMaps based on version and projection id.  Thus we should explore having secondary indexes or Stargate.

This is now implemented on master using direct CQL queries with token ranges.  Tests all pass.
A new parameter in Spark, splits_per_node, determines the read parallelism on each node.
No node locality has been implemented yet.  The information is returned from C*, but not yet acted upon, but at least the reads on each Spark partition should be directed to only one C* node.


Print a warning if FindAssembliesWithReferencesTo cannot find file

Missing assemblies will fail the build, but since FindAssemblyWithReferencesTo gets first dibs, it throws the exception rather than csc. We should instead consider printing a warning and letting later parts in the build fail.

We went with using LogFromException, so the outcome looks like what csc prints when it cannot find an assembly (instead of a stack trace). Much better.

Reviving this, the plan here is to print a pretty warning and let the task not fail in the event assemblies are missing. Usually this is indicative of other build issues and we want to avoid getting flooded with issues for random problems.


PHP 7

Hello! How I can create connection to mongoDB server with PHP 7. I run test script, and it doesn't work actualy. How it's possible to monitor db with current scripts?

@OSidorenkov I'm sorry, but there is are no "official" support is available for PHP 7 currently. I think (for my work this is sure, but I guess it's true for the other's work too) the script were developed and tested with older versions of PHP only. If you have experience with PHP 7 could you please create a change request fixing the script for PHP 7? (Please also keep it backward compatible to make sure it will not brake for others using older versions of PHP).


Add support for ackermann_msgs AckermannDrive and AckermannDriveStamped

Desired behavior

Add support for the AckermannDrive and AckermannDriveStamped messages
Additional context
I am keen to add it in.
I am writing an AckermannSteering plugin based on the gz-sim version. To accept this message

Hi @retinfai,
feel free to open a PR, happy to review it.

cc @bperseghetti

Closing issue, as discussed in downstream PR


Tool not working

Hi there,
Thought I'd try out your tool. As I currently have some seperate homebrew scripts to do something like this.
The problem is that I can't seem to run the tool as it gives me an error:
└─$ python ntlm_relay_gat.py --smb-shares -t 10
⠀⠀⠀⠀⠀⢀⣀⡀
⠀⠀⢀⡀⣈⡉⠻⣿⣿⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ __________________.____       _____
⠀⢀⣾⣧⣉⠁⣠⣿⣿⣿⣧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ \      \__    ___/|    |     /     \
⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⡟⢸⣷⡀⠀⣀⣀⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀ /   |   \|    |   |    |    /  \ /  \
⠀⠈⢿⣿⣿⣿⣿⣿⣿⡟⢁⣾⣿⣿⣦⠈⢿⠀⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀/    |    \    |   |    |___/    Y    \
⠀⠀⠀⠙⠛⠛⠛⠛⢉⣴⣿⣿⣿⣿⣿⠇⢸⠀⠁⠶⢀⡀⠀⠀⠀⠀⠀⠀\____|__  /____|   |_______ \____|__  /
⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣉⡉⠙⠛⢁⣠⣿⠀⡇⣴⠄⣁⠀⠀⠀⠀⠀⠀        \/                 \/       \/
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠉⠉⠉⠀⠑⢠⡤⢉⠀⠀⠀⠀⠀⠀⠀__________       .__
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢀⣄⠉⢉⣠⠈⠛⠒⣤⡈⠛⠀⠀⠀⠀⠀⠀\______   \ ____ |  | _____  ___.__.
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣾⠋⠀⡄⢻⣧⠀⠀⠈⣴⠙⣂⠀⠀⠀⠀⠀ |       _// __ \|  | \__  \<   |  |
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⡿⠃⠀⠀⢸⡄⠹⣇⠀⠀⢠⣦⠈⡁⠀⠀⠀⠀ |    |   \  ___/|  |__/ __ \\___  |
⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⡿⠁⠀⠀⠀⠀⠟⠀⠹⣆⠀⠀⠠⣦⠈⣀⠀⠀⠀ |____|_  /\___  >____(____  / ____|
⠀⠀⠀⠀⠀⠀⠀⠀⣰⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⣆⠀⠀⠀⣶⠄⠀⠀⠀⠀       \/     \/          \/\/
⠀⠀⠀⠀⠀⠀⠀⠈⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⠁⠀⠀⠀⠶⠀⣠⡀⠀   ________        __
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠁⠀  /  _____/_____ _/  |_
"Relay Gat go brrrrrrrrrrrrrr" /   \  ___\__  \\   __\
                               \    \_\  \/ __ \|  |
 By ad0nis (Aaron Pohl)         \______  (____  /__|
 and fin3ss3g0d (Dylan Evans)          \/     \/

Attempting to retrieve list of active relays from 'http://localhost:9090/ntlmrelayx/api/v1.0/relays'.
Please ensure that you have ntlmrelayx.py running with active relays showing in 'socks' command output.
Traceback (most recent call last):
  File "/home/kali/Tools/impacket/examples/ntlm_relay_gat/ntlm_relay_gat.py", line 275, in <module>
    main()
  File "/home/kali/Tools/impacket/examples/ntlm_relay_gat/ntlm_relay_gat.py", line 47, in main
    handle_relay_info(relay_info)
TypeError: handle_relay_info() missing 1 required positional argument: 'args'

Any idea? http://localhost:9090/ntlmrelayx/api/v1.0/relays gives me a list of relays, so that seems to be configured correctly.

Hey, thank you for pointing this out! Sorry I didn't get back to this sooner, I didn't have notifications turned on for this repository. I found the issue and fixed it. Re-open if it does not work, cheers!

Hi there,
Tested it out again.
I would advice to use proxychains with the -q parameter, to keep proxychains quiet.
And for smb-shares maybe use smbmap to get read/write status as well and some colors.


Fix DNS SC

Context
*Describe / explain why we should do this: motivations, context or other info.
User flow
*Describe the user flow using user stories so the end result is super clear
How to
*List the step-by-step to get it do if needed (optional)
Technical details
*For Dev: give the technical insights so anyone in the team can tackle the tasks
QA testing
*For Dev: does this task require some QA tests?
If yes, explain how to validate it

@peterjah Do you know if this Issue is outdated ?


Move cloud_automation code from 'mixer' to 'tools' repo

This is a copy from commit: https://github.com/datacommonsorg/mixer/commit/dfbea7a

This change is

thx!


Rename old service name

VSTS -> Azure DevOps Services
refs: https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/migrate/contoso-migration-tfs-vsts.md
Contoso migration: Refactor a Team Foundation Server deployment to Azure DevOps Services, for that reason, I unified it from the old service name to the new service name.

@changeworld : Thanks for your contribution! The author, @, has been notified to review your proposed change.

Merging style change


Fix check-for-reproducer action not adding Missing Repro comment

Summary:
This PR fixes a bug where GitHub Actions bot didn't add a comment when "Needs: Repro" label was present in an issue.
When a maintainer adds the label manually the bot comments with "Missing Reproductible Example" as normally.
It seems like the problem occurred because of a difference in a sandbox repository and the proper facebook/react-native repo environment.
My sandbox that I used to test https://github.com/facebook/react-native/pull/38338 had an "bot" account with Personal Access Token setup to reply to issues. Turns out that bots using PAT have more permissions and can trigger one action from the other.
The solution is to send the comment directly from the checkForReproducer action. This won't collide with other actions but sadly will duplicate the sending logic into two actions.
This PR also makes the bot respect when a maintainer removes and adds a label by hand and won't alter the maintainer decision.
Related to ☂ https://github.com/facebook/react-native/issues/35591
Changelog:
[INTERNAL] [FIXED] - Fix check-for-reproducer action not adding Missing Repro comment
Test Plan:

When issue is added

Bot adds comment and "Needs: Repro" label when no reproducer is present in the issue body

Bot adds comment and "Needs: Repro" label when a repository not connected to the user's name was submitted

Bot doesn't trigger when Snack is present in issue body

Bot doesn't trigger when Github Repo under the user's name is present in the issue body

When issue body is edited

Bot removes the comment and "Needs: Repro" label when user edits the issue and adds a link to snack

Bot removes the comment and "Needs: Repro" label when user edits the issue and adds a GitHub repo under user's name

Bot triggers when user removes the reproduction from issue body

When comment is added

Bot removes the comment and the Needs Repro label when user submits a repo under their name

Bot removes the comment and the Needs Repro label when any user submits a snack

Bot removes the comment and the Needs repro label when other user submits a repo under their name

When maintainer changes the label

When maintainer changes the label it turns off the action, needs repro bot won't interfere with the issue anymore

If having a bot with a PAT can solve this, I'll gladly set up one for @react-native-bot and add the token to the setup

I'm afraid of a case where there would an infinite loop somewhere I haven't tested yet (or 20 max invocations as GitHub docs says) so maybe it's better to have it that way

so maybe it's better to have it that way

What do you mean with "that way" here?

@cortinico sorry, I meant without the PAT so loops in GH action invocation wouldn't be possible. I think it's safer

@cortinico I coded it so it when a non-author (a maintainer) alters the "Needs: Repro" label it turns off the action completely
Q: Do you think it should attempt to remove the "Missing Repro" comment when a maintainer removes the label before it turns off?

Q: Do you think it should attempt to remove the "Missing Repro" comment when a maintainer removes the label before it turns off?

Not necessarily. Let's keep it as it is for now, and we can refine it afterwards


Add ability to make states public

Closes #149
Waiting on some frontend changes here and on some testing

[ ] Need to add Switch from material ui to creation screen with "public" label
[ ] Need to update requests for PUT and POST state to use new params

[ ] Made the changes.
[ ] fixed the alerts (I think?). There should be success/failure alert at the bottom of the interface upon clicking confirm.
[ ] The button also disables if there is no input for state name.

Things I noticed:

no timeout for snack bar (can we add one so it doesn't just persist until closed?
making state cleared the states list (on internal server error, works on success)

My TODOs:

[ ] Test that public states are available to all
[ ] Test that private states are not available to all

the snacker timeout is a minute. maybe 5 seconds instead?


Bump revision to 1.8.0, add github-changelog-generator

@jkeiser Can you updated https://github.com/chef/chef-provisioning/blob/master/CONTRIBUTING.md#release-process to run the rake task instead of manually running the generator, and then update the generator flags to match what is already specified in the CONTRIBUTING doc?


Copy to clipboard functionality on website copies name of file as well

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
Copy to clipboard functionality on website code snippets copies name of file at the top as well as the code itself.
Proposed Solution:
Fix javascript that does that to not include the name of the file? :)
Page to Update:
Any page with a code snippet on the website. Example:
https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/

Example from page above:
pods/storage/redis.yaml
apiVersion: v1
kind: Pod
metadata:
  name: redis
spec:
  containers:
  - name: redis
    image: redis
    volumeMounts:
    - name: redis-storage
      mountPath: /data/redis
  volumes:
  - name: redis-storage
    emptyDir: {}

/assign

is the ask to only copy the code snippet/ innerText and not the file name ?
or is the ask to copy only the file name and exclude the innerText/ code snippet ?

The ask is to exclude the filename and keep the content.


Convert from Switch to new TV accessory in iOS 12.2

This will require iOS 12.2. As such, it probably shouldn't be merged until 12.2 is released.

Some discussion on these changes occurred in #19 beginning with https://github.com/ToddGreenfield/homebridge-onkyo/issues/19#issuecomment-462225897

I've made significant changes to this PR:

Plugin is now a Platform.
Support an optional Dimmer switch for separate volume control.
Restore legacy Switch service for those who haven't upgraded to iOS 12.2 yet.

With these changes, I'd feel comfortable recommending merging this before iOS 12.2's public release.

created a new devel branch for testing-

I am unable to use the legacy switch via the PR. "Error: The requested accessory 'Onkyo-tv' was not registered by any plugin."

Yeah, you still have to convert it to a platform and not accessory in your config. But with the “switch_service” flag in the config it will add it as a switch instead of tv. I updated the ReadMe with an example.

Sorry, doing too many things at once- Yes, I converted to a platform and was able to restart without error, however no switch (re)appeared.

And you set ”switch_service”: true?
Sent with GitHawk

Something like this, using the example, should work. Note that ”switch_service” is true.
+        "platform": "Onkyo",
+        "name": "Onkyo",
+        "receivers": [
+            {
+                "model": "TX-NR609",
+                "ip_address": "<IP_ADDRESS>",
+                "poll_status_interval": "3000",
+                "max_volume": "55",
+                "map_volume_100": true,
+                "name": "Receiver",
+                "inputs": {
+                    "dvd": "Blu-ray",
+                    "video2": "Switch",
+                    "video3": "Xbox",
+                    "video6": "Apple TV",
+                    "video4": "AUX",
+                    "cd": "TV/CD"
+                },
+                "volume_dimmer": false,
+			        "switch_service": true
+            }
+        ]
+    }]```

Sent with GitHawk

Yes. I left the dimmer to false though-

I’ve tested it and it worked for me. Maybe try deleting your homebridge/accessories/ directory and restart homebridge.
Sent with GitHawk

Removed both accessories and persist, restarted… same thing, doesn’t show up.
Config-
"platforms":[
{
"platform": "Onkyo",
"name": "Onkyo",
"receivers": [
{
"model": "TX-NR609",
"ip_address": "<IP_ADDRESS>",
"poll_status_interval": "3000",
"default_input": "net",
"default_volume": "10",
"max_volume": "40",
"map_volume_100": true,
"name": "Stereo",
"inputs": {
"net": "Network",
"video2": "Switch",
"video3": "Xbox",
"video6": "Apple TV",
"video4": "AUX",
"cd": "TV/CD"
},
"volume_dimmer": false,
"switch_service": true
}
],

On Feb 24, 2019, at 11:27 AM, solowalker27<EMAIL_ADDRESS>wrote:
I’ve tested it and it worked for me. Maybe try deleting your homebridge/accessories/ directory and restart homebridge.
Sent with GitHawk http://githawk.com/
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/ToddGreenfield/homebridge-onkyo/pull/21#issuecomment-466791668, or mute the thread https://github.com/notifications/unsubscribe-auth/AXguGwBqwIxhNK6yBfFmK3tQPpx-eFbiks5vQr2LgaJpZM4a1a8_.

I fixed it. Something was wrong with my config.json but homebridge was not throwing an error on startup. Works now-

Glad to hear it. I was just trying to debug again and I couldn't figure out what might be wrong; it even was working fine on my wife's iPhone on iOS 12.1 and my Mac on 10.14.3.
But, digging in I did notice that I accidentally left the logging pretty noisy. If that bothers you or anyone else I'm happy to turn it down, to change so info to debug.

I have this in my config file but input not showing on home app.
    "accessories": [{
            "accessory": "Onkyo-tv",
            "name": "Onkyo",
            "model": "TX-NR609",
            "ip_address": "<IP_ADDRESS>",
            "poll_status_interval": "900",
            "default_input": "cbl",
            "max_volume": "100",
            "map_volume_100": true,
            "zone": "zone2",
            "inputs": {
                    "bd": "APTV 4K",
                    "cbl": "APTV JP",
                    "pc": "FireTV"

I try platform to but in the input selection on the app is empty.
{
"bridge": {
"name": "Homebridge Pi3BPlus",
"username": "CC:22:3D:A3:AE:FA",
"port": 51826,
"pin": "031-45-155"
},
"platforms": [{
	"platform": "Onkyo",
	"name": "Onkyo",
	"receivers": [{
		"model": "TX-NR609",
		"ip_address": "<IP_ADDRESS>",
		"poll_status_interval": "3000",
		"max_volume": "55",
		"map_volume_100": true,
		"name": "Receiver",
		"inputs": {
			"dvd": "Blu-ray",
			"video2": "Switch",
			"video3": "Xbox",
			"video6": "Apple TV",
			"video4": "AUX",
			"cd": "TV/CD"
		},
		"volume_dimmer": false,
		"switch_service": false
	}]
}]

}

hi @ToddGreenfield I see your comment "I do not have 12.2 yet but created a new devel branch for others to test-". where is this devel branch for testing?

@toshibochan my first guess is your input list would be empty because the input map you provided doesn’t use the expected names for the inputs, I’d imagine. Try it without the input map on your config first and see if it works and the default inputs are populated.
Sent with GitHawk

I was able to do with this config.
but now how to add zone2 and zone3 ? I try to add ("zone" : "zone2"), after  ("name": "Receiver"), but didn't work.
    "platforms": [{
            "platform": "Onkyo",
            "name": "Onkyo",
            "receivers": [{
                    "model": "TX-NR609",
                    "ip_address": "<IP_ADDRESS>",
                    "poll_status_interval": "3000",
                    "max_volume": "100",
                    "map_volume_100": true,
                    "name": "Receiver",
                    "inputs": {
                            "dvd": "APTV 4K",
                            "video2": "APTV JP",
                            "video6": "FireTV"
                    },
                    "volume_dimmer": true,
                    "switch_service": false
            }]
    }]

}

I tried the but didn't work.
{
"bridge": {
"name": "Homebridge Pi3BPlus",
"username": "CC:22:3D:A2:AE:FB",
"port": 51826,
"pin": "031-45-155"
},
"platforms": [{
	"platform": "Onkyo",
	"name": "Onkyo",
	"receivers": [{
		"model": "TX-NR609",
		"ip_address": "<IP_ADDRESS>",
		"poll_status_interval": "3000",
		"max_volume": "100",
		"map_volume_100": true,
		"name": "Receiver",
		"inputs": {
			"dvd": "APTV 4K",
			"video2": "APTV JP",
			"video6": "FireTV"
		},
		"volume_dimmer": true,
		"switch_service": false
	}, {
		"platform": "Onkyo",
		"name": "Onkyo",
		"receivers": [{
			"model": "TX-NR609",
			"ip_address": "<IP_ADDRESS>",
			"poll_status_interval": "3000",
			"max_volume": "100",
			"map_volume_100": true,
			"name": "Receiver zone2",
			"zone" : "zone2",
			"inputs": {
				"dvd": "APTV 4K",
				"video2": "APTV JP",
				"video6": "FireTV"
			},
			"volume_dimmer": true,
			"switch_service": false
		}]
	}]
}]

}

I try run second Homebridge doing (homebridge -U ~/.homebridge2) and I was able to control zone2 but main zone lose connection. and if I restart main zone homebridge zone 2 lose connection. is the any way to use main zone and zone2 same time?

Unfortunately only one zone is supported at a time. So EITHER zone1 OR zone2 OR zone3... not all of them simultaneously will work. I am thinking only one active connection at a time is the problem. I personally don’t use multiple zones.
The devel branch is selected up at the top of github where it says master.


patches BABEL_TRANSFORM_ENTRY_KEY >= CRA 2.1.0

CRA 2.1.0 added support for typescript https://github.com/facebook/create-react-app/releases/tag/v2.1.0 so now the BABEL_TRANSFORM_ENTRY_KEY is https://github.com/facebook/create-react-app/blob/88aef1100f349f1718874f8263684fac6fa77a07/packages/react-scripts/scripts/utils/createJestConfig.js#L50.

Hey @cj thanks for the contribution.  Can you make sure your commit doesn't change the whole file?  It's hard to diff the changes when every line is removed and added again.

@yohanb I've updated it so that it's just the line with the change.
I want to point out that the previous commit was based on the https://github.com/sharegate/craco/blob/master/.prettierrc.js and https://github.com/sharegate/craco/blob/master/.editorconfig files located in this project;  using any editor that uses these files will format it the way it was previously.  So it might be worth removing them or updating them to behave how you'd like 😄


live stream is down loop

I'm setting up a HLS live stream. I want to show a loop when the live stream is down. I don't want to be re-directed since I want the stream to show up when its being published to nginx-rtmp.
Is there a way to do this?
Thanks

I was thinking of using the nginx built-in try_files for the m3u8 playlists for the same thing and have a vod type playlist with a short loop to run at least once. Then you would only need to take care of inserting x-discontinuity tags in case the live stream comes back (it might work anyway, YMMV depending on the player implementation). I think it can also be done using stream redirects - you'd have to hack an internal rtmp redirect based "Master Control Room router" signalled by on_publish and on_publish_done events and have an auto transcoding publishing point to which you redirect either an "intermission" stream (ie. ffmpeg -c copy on a catlooped mpeg-ts file) or the incoming live stream. I'll be doing something similar in the following days, so I'll get back with the results.

thanks.. I was going to look into this and haven't had the time.. any results?


<input type="checkbox" checked={ undefined } defaultChecked={ true } />

The checkbox in the title is rendered unchecked in Dio.js and checked in React.
MUICSS creates a wrapper over the checkbox, rendering it like <input type="checkbox" checked={ props.checked } defaultChecked={ props.defaultChecked } />.
Could you please make Dio.js behave like in React?

Can you link to the repro you had for this here.

[note: I've updated the link in the previous comment] If you're accessing the link directly from the notifications by e-mail, here you are: https://codesandbox.io/s/x9997158pp (CodeSandbox has its own bugs that will prevent me to update the code sometimes)


3 tests fail when VS 2010 is installed

If any of the Visual Studio 2010 products are installed, three tests fail.
The failed tests are listed here:
https://github.com/Microsoft/msbuild/pull/61#issuecomment-98394867
Detailed troubleshooting of the issue is here:
https://github.com/ctaggart/msbuild/issues/1

I'm closing this for now as we don't hit it directly.  We are going to improve the unit tests as soon as the new .NET Core SDK is ready.


Troubleshooting guide

What type of PR is this? (check all applicable)

[x] 📝 Documentation Update
[x] 📖 Content

Description

This PR adds a section to include common errors people run into and possible solutions - for search and SEO discovery.
Related Tickets & Documents

Resolves #
Mobile & Desktop Screenshots/Recordings

Added code snippets?

[ ] 👍 yes
[ ] 🙅 no, because they aren't needed

Added tests?

[ ] 👍 yes
[x] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

No tests? Add a note

Added to documentation?

[ ] 📜 readme
[ ] 📜 contributing.md
[x] 📓 general documentation
[ ] 🙅 no documentation needed

No docs? Add a note

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1205785590232344

Thanks for starting this!!!


Update http4s-core to 0.22.0

Updates org.http4s:http4s-core from 0.21.25 to 0.22.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Applied Migrations

github:http4s/http4s/v0_22?sha=v0.22.0

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s", artifactId = "http4s-core" } ]

labels: library-update, semver-minor, scalafix-migrations

Superseded by #12.


Two questions about save track_detection result to npy file.

Hi, olly
By the way, i still have two questions about saving npy.
Q1: Velocity calculate?
For t-29 ~ t frames, we just only save t-24 ~ t?
In fame t-24, velocity_x is calculate by (x[25] - x[29]) / 4 or (x[24] - x[29] ) / 5?
Q2: Save order?
Assuming that the current frame is t, what is the order in which you save frames t-24~t? My approach is to find a frame (labeled = 1), read a total of 30 frames from t-29 to t, t-24 is the first frame that needs to be saved, and save it until t in chronological order. I wonder if there is a problem with my approach?
My save order is just like this: t-24, t-23.....t(just in time order)

Q1: Yes, just t-24 to t.  The velocity is computed using 5 frames, so (x[24] - x[29] ) / 5
Q2: Yes, that's the same approach I used.

Great!
After i have saved optical flow pictures, the next thing is to use DTP to save dtp_feature. The previous frames and future frames setteing are different between DTP and MOF, is anything i need to change to make DTP meets MOF's need?
By the way, why dtp_feature's size is 2048?
Thanks again.

I'm not sure what you mean by "The previous frames and future frames setteing are different between DTP and MOF", could you elaborate?
A feature size of 2048 was chosen as any other hyperparameter would be, using cross-validation.

Because DTP uses previous 10 frames to predict next 15 frames, and MOF uses 30 frames to predict next 60 frames, I think i need to change some hyperparameters.


Multiple table headers

Hi @xaksis is it possible to use multiple table headers on vue-good-table. This will be required for column headers grouping. I feel I have come across something like that, but don't know where to find it on VGT. Please correct me if am wrong. Your response is highly appreciated, thanks

hey @nwaughachukwuma. Unfortunately, there's no way of doing col-spans (grouped headers) currently in VGT. I can chalk this up as an enhancement but there wouldn't be an ETA on this just yet.


updated the VT section

The program doesn't print a deep level of neatness correctly. See the following examples:

The printed result depends on the level of nesting. I guess it can't print more than 10 levels

Also, I mentioned that it doesn't print the "example" stroke in the VT section, despite it correctly printing in the section, like https://docs.spot.io/api/#tag/Elastigroup-Azure-Spot-VMs/operation/elastigroupAzureSpotVmsUnProtect


root: connect to testbed on any page

This fixes an annoying bug where you need to go to the home page to connect to testbed. The init is now done in the root component instead, so workspace will connect automatically even if you open, e.g. the profile page first.

If a user wants to manually disconnect, can he do it?

Yeah, this is oneshot since root is only rendered once


Plugin doesn't work when wrapped inside a service on iOS

Bug Report
Problem
We use Ionic 4 with Angular for our application.
When I wrap the plugins functionality inside a service, everything works fine on Android. On iOS though, no location can be obtained.
When I copy the methods from the used service 1:1 into the component that uses the service, everything works as expected on Android and iOS.
What is expected to happen?
Geolocation can be obtained through a centralized service inside the application
What does actually happen?
On iOS, no location usage permission request is fired. The only thing that is returned from the plugin is code: 2.
Information

Command or Code

I wrapped the watchPosition method inside of a simple Angular service. Basically it executes the following method:
  private startPositionWatching () {
    if (this.positionWatchSubscription == null) {
      this.positionWatchSubscription = this.geolocation.watchPosition({ enableHighAccuracy: true, maximumAge: 15000 }).subscribe(async (position: any) => {
        // do something with position
      }, (error) => {
        console.error('watch position error', error);
      });
    }
  }

Environment, Platform, Device

iOS 12 / 13 (didn't test older versions).
Can be reproduced on physical device and in the simulator.
Version information

Ionic:

   Ionic CLI                     : 5.4.12 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.11.5
   @angular-devkit/build-angular : 0.803.20
   @angular-devkit/schematics    : 8.3.20
   @angular/cli                  : 8.3.20
   @ionic/angular-toolkit        : 2.1.1

Cordova:

   Cordova CLI       : 9.0.0<EMAIL_ADDRESS>   Cordova Platforms : android 8.0.0, ios 5.1.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.0.1, (and 16 other plugins)

Utility:

   cordova-res (update available: 0.8.1) : 0.6.0
   native-run (update available: 0.3.0)  : 0.2.2

System:

   ios-deploy : 1.9.4
   ios-sim    : 8.0.2
   NodeJS     : v12.13.1 (/usr/local/bin/node)
   npm        : 6.12.1
   OS         : macOS Catalina
   Xcode      : Xcode 11.2.1 Build version 11B53

cordova-plugin-geolocation 4.0.2 "Geolocation"

Checklist

[x] I searched for existing GitHub issues
[x] I updated all Cordova tooling to most recent version
[x] I included all the necessary information above

I would assume this is a timing issue.
Your service is probably starting, before the plugin is ready, and should be wrapped inside of platform ready. If you are using Ionic, you could use the platform.ready https://ionicframework.com/docs/angular/platform
if you are using basic cordova, you could use cordova deviceready
https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-device/index.html

hey @sithwarrior ,
that's a good idea, I'll try to start the position watching when platform.ready() is fired!

this indeed solved the problem, thank you!


Openinfrra Live - CMS integration

Refactoring openinfra-live template to work with data on markdown file
Integration with the CMS

Signed-off-by: Tomás Castillo<EMAIL_ADDRESS>

All of these fields are required for the page before publishing, but it doesn't look like they are populating the page. I haven't checked if that's true for the SEO fields, but the "Hero" fields don't seem to affect the page. Should they be optional?

Browser metadata
Path:      /admin/#/collections/openinfra-live-page/entries/index
Browser:   Safari 14.1 on Mac OS 10.15.7
Viewport:  1440 x 735 @2x
Language:  en-us
Cookies:   Disabled

View on BrowserStack

Open Deploy Preview · Mark as Resolved

When an episode is collapsed as shown, this arrow isn't opening the episode details. Should it?

Browser metadata
Path:      /admin/#/collections/openinfra-live-page/entries/index
Browser:   Safari 14.1 on Mac OS 10.15.7
Viewport:  1440 x 735 @2x
Language:  en-us
Cookies:   Disabled

View on BrowserStack

Open Deploy Preview · Mark as Resolved

Is it possible to change this to 24-hour clock so that the person adding the episode can select "1400 UTC" in the dropdown, rather than having to convert it to 12-hours?

Browser metadata
Path:      /admin/#/collections/openinfra-live-page/entries/index
Browser:   Safari 14.1 on Mac OS 10.15.7
Viewport:  1440 x 735 @2x
Language:  en-us
Cookies:   Disabled

View on BrowserStack

Open Deploy Preview · Mark as Resolved

Is it possible to open the new episode UI at the top of the list? And sort the episodes desc from most recent (top) to earliest (bottom) by default?

Browser metadata
Path:      /admin/#/collections/openinfra-live-page/entries/index
Browser:   Safari 14.1 on Mac OS 10.15.7
Viewport:  1440 x 735 @2x
Language:  en-us
Cookies:   Disabled

View on BrowserStack

Open Deploy Preview · Mark as Resolved

Should this hero section control the page hero? Looks like they're different text now.

Browser metadata
Path:      /admin/#/collections/openinfra-live-page/entries/index
Browser:   Safari 14.1 on Mac OS 10.15.7
Viewport:  1440 x 735 @2x
Language:  en-us
Cookies:   Disabled

View on BrowserStack

Open Deploy Preview · Mark as Resolved

What's the best way to handle this scenario, when there is not a future episode in the system (or the episode is hidden)? Can we remove "The Next Episode..." and "While you're waiting..." text and replace it with an h2 that reads "Check out the most recent episodes"?

Browser metadata
Path:      /admin/#/collections/openinfra-live-page/entries/index
Browser:   Safari 14.1 on Mac OS 10.15.7
Viewport:  1440 x 735 @2x
Language:  en-us
Cookies:   Disabled

View on BrowserStack

Open Deploy Preview · Mark as Resolved

Hide "Add to Calendar" UI when a file has not been added to the episode

Browser metadata
Path:      /admin/#/collections/openinfra-live-page/entries/index
Browser:   Safari 14.1 on Mac OS 10.15.7
Viewport:  1440 x 735 @2x
Language:  en-us
Cookies:   Disabled

View on BrowserStack

Open Deploy Preview · Mark as Resolved

Hide "Featuring" when speakers input is blank

Browser metadata
Path:      /admin/#/collections/openinfra-live-page/entries/index
Browser:   Safari 14.1 on Mac OS 10.15.7
Viewport:  1440 x 735 @2x
Language:  en-us
Cookies:   Disabled

View on BrowserStack

Open Deploy Preview · Mark as Resolved

Can we add a clickable label or similar in/around this field to say "Create a calendar invite at https://ical.marudot.com"

Browser metadata
Path:      /admin/#/collections/openinfra-live-page/entries/index
Browser:   Safari 14.1 on Mac OS 10.15.7
Viewport:  1440 x 735 @2x
Language:  en-us
Cookies:   Disabled

View on BrowserStack

Open Deploy Preview · Mark as Resolved

Can we change when the featured/next episode switches, so it changes after the current episode has aired? For example, we're showing the June 24th episode at the top, but there is an episode currently streaming. Let's change it to switch at 16:00 UTC (one hour after the current episode ends).

Browser metadata
Path:      /admin/#/collections/openinfra-live-page/entries/index
Browser:   Safari 14.1 on Mac OS 10.15.7
Viewport:  1440 x 735 @2x
Language:  en-us
Cookies:   Disabled

View on BrowserStack

Open Deploy Preview · Mark as Resolved


Failed to upgrade Dapr: release name is invalid

Expected Behavior
successfull dapr upgrade from 1.0.0.-rc4 to 1.0.1 via cli
Actual Behavior

dapr upgrade terminates with the following message.

Release Note

RELEASE NOTE:

Hi @javageek79 I am seeing that the error you are getting is related to the release name. Could you check what release name you have for the environment?

we tried to run the upgrade via helm directly. So the actual error was revealed.

@javageek79 Thanks for bringing this up.

replicas can be changed if you switch between HA mode on/off in your flags. See the Helm chart template below:

{{- if eq .Values.global.ha.enabled true }}
  replicas: {{ .Values.global.ha.replicaCount }}
{{- else }}
  replicas: {{ .Values.replicaCount }}
{{- end }}

template can be modified based on multiple params you might set, see https://github.com/dapr/dapr/blob/master/charts/dapr/charts/dapr_placement/templates/dapr_placement_deployment.yaml

updateStrategy is not in the template above, so it is unlikely to be the root cause.

If the parameters being passed via helm have changed, then this error might occur. To force the update (with outage in actor invocation), try deleting placement service before the upgrade.

@javageek79 can this issue be closed?

Yes


Bloat Control

Cloudflare truncates all log messages that exceed 16kb. This should normally not be a problem,
but in some cases we have seen truncation messages. This PR will apply a couple of tweaks to
the logged JSON object to keep size in check:

limit all string properties to 1024 characters
cast most CWVs to integers, as we don't need the fake accuracy nor the floating point length mismatches

feat(utils): add bloat control utility to ensure JSON strings don't get too long
feat(logger): control bloat of JSON logs for Cloudflare

LGTM!

:tada: This PR is included in version 2.26.0 :tada:
The release is available on:

v2.26.0
v2.26.0
GitHub release

Your semantic-release bot :package::rocket:


How to disable omnisharp without uninstalling?

We have old projects that have not been converted to core yet, when i open these in vscode, i just get a bunch of errors. How to disable?

I guess the answer is to uninstall it, which is unfortunate.

Sorry for the delay here. That's not a great answer, but I think it's probably the state of things today.

its alright, i stopped using vscode altogether. Why not use the thing that this is written on?

Why not use the thing that this is written on?

Sorry, I don't follow.

Vscode is based on atom, I switched to using atom.
From: Dustin Campbell <notifications<EMAIL_ADDRESS>Reply-To: OmniSharp/omnisharp-vscode <reply<EMAIL_ADDRESS>Date: Friday, August 26, 2016 at 2:12 PM
To: OmniSharp/omnisharp-vscode <omnisharp-vscode<EMAIL_ADDRESS>Cc: Edward Meshuris <emeshuris<EMAIL_ADDRESS>Author <author<EMAIL_ADDRESS>Subject: Re: [OmniSharp/omnisharp-vscode] How to disable omnisharp without uninstalling? (#472)
Why not use the thing that this is written on?
Sorry, I don't follow.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/OmniSharp/omnisharp-vscode/issues/472#issuecomment-242852997, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AOqKsTArEdDrTzMFR5MuNHuOPBWZSOq6ks5qj1bOgaJpZM4I_hZ_.


Upgrade to libgmp 6.1.1; version 2.0.0

So this is interesting.

My Ubuntu binary (b3f6dda) won't run on CentOS
My CentOS binary (8ee3c81) will run on Ubuntu
Neither seems to run on Travis :(

@dekobon

If this works, then let's rebuild the Solaris binary with the new Makefile as well.

Wow, so that fixed it!  For the uninitiated, do you know what change in the Makefile is responsible for the fix?  I assume it wasn't debug symbols.

When I built without a modified makefile on the Google VM, it built a binary that worked on my Linux workstation. I think there was something wrong with the binary that was generated in the initial build, but I'm not sure what the root cause was.
The notable changes are:
Running configure with the following flags:
--enable-fat --enable-alloca=malloc-reentrant --disable-static

You can find documentation on them here.
My rationale for enabling fat binaries is that is was a default option when compiling on x86 when I looked at the Debian package configuration.
My rationale for enabling malloc-reentrant was that it was the only temporary memory allocation scheme documented that was thread safe.
My rationale for disabling static binaries was that JNA requires shared (dynamic) libraries and they aren't being installed, so I see no reason to even build them.

Those all sound great.  Although the doc for --enable-alloca has this to say:
‘reentrant’ - alloca if available, otherwise ‘malloc-reentrant’. This is the default.
[...]
alloca is reentrant and fast, and is recommended. It actually allocates just small blocks on the stack; larger ones use malloc-reentrant.

Seems like we'd want reentrant for performance reasons rather than always allocating on the heap?

Yes, we totally want the default value for that. Let's deleted that from the configure line. I misread the documentation.

Giving that a whirl now

Boom.  Okay, I'm going to respin binaries on all these platforms and get a good series of commits merged into master.
Thanks a ton!!!

@dekobon mac and linux rebuilt, would you like to provide the sunos binary?

I think this is really ready to merge now.
@dekobon and @batmaninpink does it look good to you?

Let me get in the Makefile change and well go for it.

CFLAGS=-g might not be what we want since this was for performance increase to start with

We may want the -Og flag. I'm very cautions of releasing binaries without debugging symbols because it makes debugging problems with production systems quite hard.

Seems like it should be possible to have some debugging symbols in without destroying optimizations.  Anyone care to test the performance and compare benchmarks?
Might be worth comparing:

no extra flags
-g
-Og
-g -O2

It may not have a large effect since a lot of the inner loops are hand written assembly.

What is the best way to run a benchmark? I found this: https://gmplib.org/gmpbench.html
Or would it be best to benchmark it via the JNA interfaces?
Also, if we want to benchmark it on a cloud service, we will need to run it a bunch of times because instances are on shared compute nodes and will see very different results when looking at these types of microbenchmarks.

I was just planning to run the Java benchmarks when I get a chance if no one's gotten to it before me.

Here are some raw results I got on my Mac.  Doesn't seem to make much difference for me.
-Og wasn't supported for me on Mac so I didn't test that.
No flags
------------
Testing 40000 512-bit private rsa's NativeInsecure
40000 512-bit private rsa's in 1.931s
20714.66 ops/s
Testing 8000 1024-bit private rsa's NativeInsecure
8000 1024-bit private rsa's in 1.446s
5532.50 ops/s
Testing 1600 2048-bit private rsa's NativeInsecure
1600 2048-bit private rsa's in 2.147s
745.23 ops/s

Testing 30000 512-bit private rsa's NativeSecure
30000 512-bit private rsa's in 1.561s
19218.45 ops/s
Testing 6000 1024-bit private rsa's NativeSecure
6000 1024-bit private rsa's in 1.38s
4347.83 ops/s
Testing 1200 2048-bit private rsa's NativeSecure
1200 2048-bit private rsa's in 1.77s
677.97 ops/s

Using -g
------------
Testing 40000 512-bit private rsa's NativeInsecure
40000 512-bit private rsa's in 1.682s
23781.21 ops/s
Testing 8000 1024-bit private rsa's NativeInsecure
8000 1024-bit private rsa's in 1.35s
5925.93 ops/s
Testing 1600 2048-bit private rsa's NativeInsecure
1600 2048-bit private rsa's in 1.856s
862.07 ops/s

Testing 30000 512-bit private rsa's NativeSecure
30000 512-bit private rsa's in 1.439s
20847.81 ops/s
Testing 6000 1024-bit private rsa's NativeSecure
6000 1024-bit private rsa's in 1.29s
4651.16 ops/s
Testing 1200 2048-bit private rsa's NativeSecure
1200 2048-bit private rsa's in 1.648s
728.16 ops/s

Using -g -O2
------------
Testing 40000 512-bit private rsa's NativeInsecure
40000 512-bit private rsa's in 1.577s
25364.62 ops/s
Testing 8000 1024-bit private rsa's NativeInsecure
8000 1024-bit private rsa's in 1.327s
6028.64 ops/s
Testing 1600 2048-bit private rsa's NativeInsecure
1600 2048-bit private rsa's in 1.835s
871.93 ops/s

Testing 30000 512-bit private rsa's NativeSecure
30000 512-bit private rsa's in 1.398s
21459.23 ops/s
Testing 6000 1024-bit private rsa's NativeSecure
6000 1024-bit private rsa's in 1.339s
4480.96 ops/s
Testing 1200 2048-bit private rsa's NativeSecure
1200 2048-bit private rsa's in 1.736s
691.24 ops/s

Using -O2
------------
Testing 40000 512-bit private rsa's NativeInsecure
40000 512-bit private rsa's in 1.55s
25806.45 ops/s
Testing 8000 1024-bit private rsa's NativeInsecure
8000 1024-bit private rsa's in 1.309s
6111.54 ops/s
Testing 1600 2048-bit private rsa's NativeInsecure
1600 2048-bit private rsa's in 1.922s
832.47 ops/s

Testing 30000 512-bit private rsa's NativeSecure
30000 512-bit private rsa's in 1.452s
20661.16 ops/s
Testing 6000 1024-bit private rsa's NativeSecure
6000 1024-bit private rsa's in 1.247s
4811.55 ops/s
Testing 1200 2048-bit private rsa's NativeSecure
1200 2048-bit private rsa's in 1.683s
713.01 ops/s

Something to consider, I stripped out the explicit setting of CFLAGS and ran a build with the default configure, and I noticed these seem to be the in default CFLAGS: -O2 -pedantic -fomit-frame-pointer -m64 which all get replaced if we try to set any explicit flags.
Contrast a run with CFLAGS='-g'
gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_dcpi1_divappr_q -g -c dcpi1_divappr_q.c  -fno-common -DPIC -o .libs/dcpi1_divappr_q.o

with a stock run
gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_divrem -O2 -pedantic -fomit-frame-pointer -m64 -c divrem.c  -fno-common -DPIC -o .libs/divrem.o

Honestly, this makes me want to not set explicit CFLAGS and trust the libgmp folks picked reasonable defaults.

Yeah don't mess with the CFLAGS... I ran a quick benchmark:
GMPbench/rsa (CFLAGS=-g): 6980.3
GMPbench/rsa (stock CFLAGS): 7598.8

Alright, I'm going to re-spin things without CFLAGS.

For what it is worth, I just did a benchmark of modpow operations as used in RSA signing. I pitted jnagmp 1.1.0 against the new branch with debug symbols and a version without any CFLAGS set. I see no noticeable difference (at millisecond resolution) in performance for the 100k or so operations that I've tried.
I don't know what everyone else is using GMP for, but modpow for RSA done in Java was my primary use case.

Is there some way to get configure to just add -g to the existing default CFLAGS without completely overwriting them?  I'd feel more comfortable if we could do that.

Yup we can do that. I also asked some of the C experts at Joyent about this and this is what they had to say. This would preserve the other optimization flags. I'll have a PR out in a jiffy.

I just read through the configure.ac. It is best that we don't set -g. Could you just delete the CFLAGS line and respin?

Will do.

@JakeWharton I think we're ready to do a 2.0.0 release.  Are you still the right trigger man for that?  I prepped CHANGELOG.md, but you'll need to fill in the exact release date.

Many thanks to everyone who contributed to this release!  In no particular order:
@dekobon
@batmaninpink
@jacobwil
@ruescasd
@wilko77
I think 2.0.0 is gonna be great.

Yep. Will do tonight or at worst tomorrow.
On Mon, Nov 21, 2016 at 3:58 PM Scott Blum<EMAIL_ADDRESS>wrote:

Many thanks to everyone who contributed to this release! In no particular
order:
@dekobon https://github.com/dekobon
@batmaninpink https://github.com/batmaninpink
@jacobwil https://github.com/jacobwil
@ruescasd https://github.com/ruescasd
@wilko77 https://github.com/wilko77
I think 2.0.0 is gonna be great.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/square/jna-gmp/pull/19#issuecomment-262065137, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAEEEQzScKBtQlqYuLEKwuNdWHReIlHNks5rAgYFgaJpZM4K19RB
.

Released!
On Mon, Nov 21, 2016 at 4:02 PM Jake Wharton<EMAIL_ADDRESS>wrote:

Yep. Will do tonight or at worst tomorrow.
On Mon, Nov 21, 2016 at 3:58 PM Scott Blum<EMAIL_ADDRESS>wrote:
Many thanks to everyone who contributed to this release! In no particular
order:
@dekobon https://github.com/dekobon
@batmaninpink https://github.com/batmaninpink
@jacobwil https://github.com/jacobwil
@ruescasd https://github.com/ruescasd
@wilko77 https://github.com/wilko77
I think 2.0.0 is gonna be great.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/square/jna-gmp/pull/19#issuecomment-262065137, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAEEEQzScKBtQlqYuLEKwuNdWHReIlHNks5rAgYFgaJpZM4K19RB
.

Thanks @JakeWharton !!


qa_crowbarsetup: Look for errors in glance-scrubber log

It seems glance-scrubber doesn't always exit with non-0 on failures, so
also look at the logs for errors.
Note that we filter out glance_store errors because they're not
relevant, and always happen with the default config:
ERROR glance_store._drivers.filesystem [-] Specify at least 'filesystem_store_datadir' or 'filesystem_store_datadirs' option

+1 (if gating passes)

+1

Gating (expectedly) fails due to this in https://ci.suse.de/job/openstack-mkcloud/17523/console
We will have to restart gating once the scrubber fix from https://github.com/crowbar/crowbar-openstack/pull/301 is in the package to see if it passes with a working glance-scrubber.

+1 (and retriggered gating)

Gating is green with the fix in the package.

@vuntz Is there an upstream bug against glance-scrubber for this? If not, should there be?

@vuntz Is there an upstream bug against glance-scrubber for this? If not, should there be?

Now there's https://bugs.launchpad.net/glance/+bug/1548289

Cool thanks :)


Razor page convention SampleApp projects have the wrong handler method names

The razor page handler methods need to be renamed in the 2.x and 3.x SampleApp projects.
Currently they are Get() but need to be OnGet() for the samples to work as indicated in the documentation. Only the *Async() handlers on the Index page currently work as described.

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

ID: e66c32c8-ec27-1771-bb62-71d6aa55b1d6
Version Independent ID: 99dc76fb-8762-20a6-d7b1-df3ce6e6fc4d
Content: Razor Pages route and app conventions in ASP.NET Core
Content Source: aspnetcore/razor-pages/razor-pages-conventions.md
Product: aspnet-core
Technology: aspnetcore-razorpages
GitHub Login: @guardrex
Microsoft Alias: riande

NP @guardrex, you are fast with the fix, I was going to attempt the PR (my first) but you beat me to it.
BTW You also need to update the About and Contact pages #16876 only modifies the OtherPages/

Yeah ... bugs 🐞 bother me. If I left it to tomorrow, I wouldn't sleep easy! :smile:


Java JDK issue on MacOS

MacOS Version: Yosemite (10.10), El Capitan (10.11), Sierra (10.12), High Sierra (10.13), Mojave (10.14)
Brackets Version: 1.13 and prior
Plugin Version: 1.10
Java Version: 10.0.2, maybe 8u181 (anything other than Apple's Java 6 I'm guessing)
To use the “java” command-line tool you need to install a JDK.

This error usually means that you are tied to the Apple version or Java which has been deprecated since Yosemite (something like 4 years ago).

This extension requires Java 8 or later and a JDK from Oracle must be installed instead of the JRE according to Oracle System Requirements for Installing the JDK and JRE on macOS.


SR-300

librealsense
2.54.2 RELEASE

OS
Windows

Intel RealSense Viewer / Depth Quality Tool has crashed with the following error message:
Unhandled exception escaping from a worker thread!
Error type: Access Violation!

Hi @sakurarare  Please first check whether permission to access the camera hardware and permission for applications to access the camera are both set to 'On' in the Windows camera privacy settings.  This can be done using the instructions at https://github.com/IntelRealSense/librealsense/issues/3381#issuecomment-503424789

Hi @sakurarare  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


RAILS_ENV=test yarn run cypress run opens cypress

Is there a way to run cypress in a headless mode for CI?
RAILS_ENV=test yarn run cypress run

seems to open the window.

that's weird. It should run headless by default.
maybe try adding --headless
https://docs.cypress.io/guides/guides/command-line#cypress-run


python3Packages.gocardless-pro: init at 1.45.0

Description of changes
An official client for the GoCardless Pro API.
Package used by frappe/erpnext (packaging ongoing).

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] 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

[x] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 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

[x] Fits CONTRIBUTING.md.

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

2 packages built:

python310Packages.gocardless-pro
python311Packages.gocardless-pro

nixpkgs-fmt for formatting

Copy-paste oversight from a different repo with different policy, fixed in force-push. Thx!

@ofborg build python310Packages.gocardless-pro


RuntimeError: Attempted to use a closed Session.

I'm trying to train the model on Ubuntu 16.04  with GPU Tesla K80 and CUDA 9,  CUDNN 7 and tensorflow-gpu==1.12, having this issue whey try to train the model
UnknownError (see above for traceback): Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
         [[node model/inference/encoder_cbhg/conv_bank/conv1d_1/conv1d/conv1d/Conv2D (defined at /home/virtuoso_irfan/tacotron/models/modules.py:106)  = Conv2D[T=DT_FLOAT, data_format="NCHW", dilations=[1, 1, 1, 1], padding="SAME", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](model/optimizer/gradients/model/inference/encoder_cbhg/conv_bank/conv1d_1/conv1d/conv1d/Conv2D_grad/Conv2DBackpropFilter-0-TransposeNHWCToNCHW-LayoutOptimizer, model/inference/encoder_cbhg/conv_bank/conv1d_1/conv1d/conv1d/ExpandDims_1)]]
         [[{{node model/inference/decoder/while/BasicDecoderStep/decoder/output_projection_wrapper/output_projection_wrapper/multi_rnn_cell/cell_0/cell_0/output_projection_wrapper/output_projection_wrapper/concat_output_and_attention_wrapper/concat_output_and_attention_wrapper/decoder_prenet_wrapper/decoder_prenet_wrapper/attention_wrapper/assert_equal/Equal/Enter/_635}} = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_7546_...qual/Enter", tensor_type=DT_INT32, _device="/job:localhost/replica:0/task:0/device:CPU:0"](^_cloopmodel/inference/decoder/while/BasicDecoderStep/decoder/output_projection_wrapper/output_projection_wrapper/multi_rnn_cell/cell_0/cell_0/output_projection_wrapper/output_projection_wrapper/concat_output_and_attention_wrapper/concat_output_and_attention_wrapper/decoder_prenet_wrapper/decoder_prenet_wrapper/attention_wrapper/assert_equal/Assert/Assert/data_0/_5)]]

Traceback (most recent call last):
  File "/home/virtuoso_irfan/tacotron/datasets/datafeeder.py", line 74, in run
    self._enqueue_next_group()
  File "/home/virtuoso_irfan/tacotron/datasets/datafeeder.py", line 96, in _enqueue_next_group
    self._session.run(self._enqueue_op, feed_dict=feed_dict)
  File "/home/virtuoso_irfan/tacotron/.t1/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 929, in run
    run_metadata_ptr)
  File "/home/virtuoso_irfan/tacotron/.t1/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1075, in _run
    raise RuntimeError('Attempted to use a closed Session.')
RuntimeError: Attempted to use a closed Session.

try to increase the value of max_iters and make sure the values of batch_size and output_perstep are appropriate.

Well, it was related to CUDNN version issue. I had 7.0 but tacotron required 7.1.4. After updating CUDNN I'm getting this error
heckpoint path: ./logs-tacotron/model.ckpt
Loading training data from: ./training/train.txt
Using model: tacotron
Hyperparameters:
  adam_beta1: 0.9
  adam_beta2: 0.999
  attention_depth: 256
  batch_size: 32
  cleaners: english_cleaners
  decay_learning_rate: True
  decoder_depth: 256
  embed_depth: 256
  encoder_depth: 256
  frame_length_ms: 50
  frame_shift_ms: 12.5
  griffin_lim_iters: 60
  initial_learning_rate: 0.002
  max_iters: 200
  min_level_db: -100
  num_freq: 1025
  num_mels: 80
  outputs_per_step: 5
  postnet_depth: 256
  power: 1.5
  preemphasis: 0.97
  prenet_depths: [256, 128]
  ref_level_db: 20
  sample_rate: 20000
  use_cmudict: False
Loaded metadata for 850 examples (1.81 hours)
Initialized Tacotron model. Dimensions:
  embedding:               256
  prenet out:              128
  encoder out:             256
  attention out:           256
  concat attn & out:       512
  decoder cell out:        256
  decoder out (5 frames):  400
  decoder out (1 frame):   80
  postnet out:             256
  linear out:              1025
Starting new training run at commit: None
Generated 32 batches of size 32 in 46.279 sec
Step 1       [60.680 sec/step, loss=0.82188, avg_loss=0.82188]
Step 2       [32.100 sec/step, loss=0.81987, avg_loss=0.82088]
Step 3       [22.420 sec/step, loss=0.82569, avg_loss=0.82248]
Step 4       [17.712 sec/step, loss=0.81703, avg_loss=0.82112]
Exiting due to exception: Incompatible shapes: [32,1285,80] vs. [32,1000,80]
         [[node model/loss/sub (defined at /home/virtuoso_irfan/tacotron/models/tacotron.py:118)  = Sub[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"](datafeeder/input_queue_Dequeue/_21, model/inference/Reshape)]]
         [[{{node model/optimizer/gradients/model/inference/post_cbhg/highway_2/H/Tensordot/Reshape_grad/Shape/_461}} = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_4962_...grad/Shape", tensor_type=DT_INT32, _device="/job:localhost/replica:0/task:0/device:CPU:0"]()]]

The issue is fixed after updating max_iters=300 in hparams.py


DOC: implement image gallery for docs, fixes #533

[CHANGED] ipynb files for visualisation capabilities converted to py files,
They are also now under "draw_examples" perviously "draw".
This allows Sphinx Gallery to generate a directory named "draw"
as to remain consistent to pervious documentation structure.
Note that use of gallery subsections incompatible with Plotly render,
html files needs to be written to base gallery directory instead of
subsection directory.
Static require.js file used by nbsphinx is blocked from loading.

There are some serious problems with this PR.

There's a doc/api/draw directory with 612 0 byte items! There are no references to that directory under api/index. Please remove them all.
From my understanding, the doc/draw directory is now generated by sphinx. In which case it should not exist in the repo. Please remove it.

I suggest you remove the commits that added all those files. Add a new ignore pattern(s) to the .gitignore that stops them from being added in future and submit a new PR.


Add google slides presentation to the repo

Done by @npch in 392c5a515d0bb87b20758d0afee59ce68fce43ac (also, including some extra pages)