'NoneType' object is not subscriptable

I am attempting to setup oauth2ms to work with mbsync, and while troubleshooting ran into the following error:
Traceback (most recent call last):
  File "~/.local/bin/oauth2ms", line 247, in <module>
    token = fetch_token_from_cache(app_state)
  File "~/.local/bin/oauth2ms", line 181, in fetch_token_from_cache
    return result["access_token"]
TypeError: 'NoneType' object is not subscriptable

This occurs when executing both mbsync -a and oauth2ms --encode-xoauth2. I am not sure what is producing this as it seemed to be working fine, albeit with the incorrect base64.

If the code has entered fetch_token_from_cache, then it has found the credentials file and loaded it. It seems like the credentials file might be corrupted.  Could you dump the accounts variable here? Also the result variable here? It will help with debugging.
Please use pp.pprint(...) to dump the variables.

Thanks for the response. I added pp.print(accounts) and pp.print(result) and this was the output (with some changes to the ids):
[   {   'authority_type': 'MSSTS',
        'environment': 'login.microsoftonline.com',
        'home_account_id': '1a0b0b01-e0a3-4f97-9d7f-4a2908607c6a.d54d65af-91e2-44b4-b9cb-0gg38e55eb41',
        'local_account_id': 'e9181b38-8eb4-4398-8ed2-761dd1830400',
        'realm': 'ca6554cd-1d6c-4328-98ee-84214b1a7d9c',
        'username': '<email-address>'}]
None
Traceback (most recent call last):
  File "~/.local/bin/oauth2ms", line 249, in <module>
    token = fetch_token_from_cache(app_state)
  File "~/.local/bin/oauth2ms", line 183, in fetch_token_from_cache
    return result["access_token"]
TypeError: 'NoneType' object is not subscriptable

The accounts output looks okay. It is possible that the token cache is corrupted. Could you try deleting the file in $XDG_DATA_HOME/share/oauth2ms/credentials.bin and trying again?

That seems to have done the trick for the TypeError, but it is still not properly authenticating. Running mbsync -Dna gets me:
Reading configuration file ~/.mbsyncrc
Channel <channel-name>
Opening master store <master-store-name>...
Resolving outlook.office365.com... ok
Connecting to outlook.office365.com (<IP_ADDRESS>:143)...
Opening slave store <slave-store-name>...
* OK The Microsoft Exchange IMAP4 service is ready. [UfB.....AG4]
>>> 1 CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 LOGINDISABLED STARTTLS SASL-IR UIDPLUS ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+
1 OK CAPABILITY completed.
>>> 2 STARTTLS
2 OK Begin TLS negotiation now.
Connection is now encrypted
>>> 3 CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 AUTH=PLAIN AUTH=XOAUTH2 SASL-IR UIDPLUS ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+
3 OK CAPABILITY completed.
Logging in...
Authenticating with SASL mechanism XOAUTH2...
>>> 4 AUTHENTICATE XOAUTH2 dRN.....ALQ
4 NO AUTHENTICATE failed.
IMAP command 'AUTHENTICATE XOAUTH2 dRN.....ALQ' returned an error: NO AUTHENTICATE failed.

I guess this is not a problem with oauth2ms. Perhaps I didn't correctly install cyrus-sasl-xoauth2. What do you think?

Few things to remember/try:

Don't use --encode-xoauth2 in the mbsyncrc
In AUTHENTICATE XOAUTH2 dRN.....ALQ check that the dRN.....ALQ part matches the output from oauth2ms --encode-xoauth2
run echo dRN.....ALQ | base64 -d and copy the output after auth=Bearer and paste it in https://jwt.ms. Check if there are any mistakes in email, client and other details.

Everything seems ok. If the issue is not with cyrus-sasl-xoauth2 it might be related to how I set up the Azure application. I was unable to access Azure active directory with my work email, so used a personal email address. This lead to me setting up a tenant and adding my work email as a user, and then creating the application from there.
Do you have any suggestions for how to resolve this? I am determined to get this working, but am aware this has strayed beyond your code.

AFAIK, fetching and sending emails is tied to the client, tenant, and application. All these three must be part of the same org for it to work. I am not sure if creating a separate tenant will permit you to access mailboxes that are part of the other tenant.
I think the best option is to ask your organization to enable azure portal access.
That said, if you find a solution using this method, please do open a PR to update the docs :)

Thanks for your help. I will see if I can get them to enable Azure for the account.

In case others find their way here. I just had this "'NoneType' object is not subscriptable" error pop-up on two of my computers using mbsync for IMAP with my organization's Outlook email. Removing credentials.bin and re-running mbsync took me to a webpage to reauthorize. Now I'm getting email again. Thank you for oauth2ms.


Update Entities.java

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

[ ] 🍕 Addition
[ ] ⌨ Productivity
[x] 🐛 Bug Fix
[ ] 🔥 Optimization
[ ] ⚙ Configuration
[ ] 🌟 Quality Of Life
[ ] ✨ Enhancement
[ ] 📝 Documentation

📝 Description

🧐 The Rationale

🎯 Key Objectives

🚦 Testing

⏮ Backwards Compatibility

📚 Related Issues & Documents

🖼 Screenshots/Recordings

📖 Added to documentation?

[ ] 📜 README.md
[ ] 📓 Javadoc
[ ] 🍕 Comments
[ ] 🙅 no documentation needed

😄 [optional] What gif best describes this PR or how it makes you feel?

Nice troll, but GitHub is not the place for it, you are warned now


[FLINK-15919][core][mem] MemoryManager shouldn't allow releasing more memory than reserved

What is the purpose of the change
Currently MemoryManager allows to release more memory than the left reserved size and this PR aims at fixing the problem.
Brief change log
Change the MemoryManager.releaseMemory method, recording the actual memory to release during the reservedMemory computation and use it for releasing budgetByType.
Verifying this change
This change added a new testMemoryReleaseMoreThanReserved test in MemoryManagerTest to cover the issue case.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

Thanks for the review @tillrohrmann !


GestureDetector onTapDown not being triggered on fast tap, tab tap, back btn tap or fast swipe

Steps to Reproduce

Create a new app
Create a statefulwidget like this one:

void onTabChanged(int selectedIndex) {
    setState(() {
      this._selectedIndex = selectedIndex;
    });
  }

@override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTapDown: (tapDownDetails) {
        _onTapDown();
      },
      child: DefaultTabController(
        length: myList.length,
        initialIndex: _selectedIndex,
        child: Scaffold(
          appBar: AppBar(
            title: Text('title'),
            bottom: buildTabBar(myList, onTabChanged),
          ),
          body: buildTabBarView(myList),
        ),
      ),
    );
  }

Test tapping really fast either on emulator or real device. Fast taps don't trigger. Tapping on a tab won't trigger. Fast swipes won't trigger. Android back button won't trigger. Longer gestures seem to work fine. Shouldn't onTapDown be triggered on any touch to the screen?

Logs

No issues found! (ran in 7.1s)

[√] Flutter (Channel beta, v1.9.1+hotfix.2, on Microsoft Windows [Version 10.0.17763.737], locale pt-BR)
    • Flutter version 1.9.1+hotfix.2 at D:\DEV\flutter
    • Framework revision 2d2a1ffec9 (9 days ago), 2019-09-06 18:39:49 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\dpedr\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 39.0.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[!] VS Code (version 1.37.1)
    • VS Code at C:\Users\dpedr\AppData\Local\Programs\Microsoft VS Code
    X Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (1 available)
    • Android SDK built for x86 • emulator-5558 • android-x86 • Android 5.1.1 (API 22) (emulator)

! Doctor found issues in 1 category.

Hello @dpedrinha !
Thank you for posting an issue.
Can you please also attach the flutter analyze command output to your report?
Thank you.

I did. For some reason it's not showing. But the result is: No issues found! (ran in 7.1s)

Hi @dpedrinha  @maxlapides  @dpedrinha

OnTap fast seems working fine.
Tab Tap won't because it has it's click event to switch between tabs
Back button tap is also like Tab Tap, it has it own click to navigate to previous screen
Fast Swipe isn't by on onTapDown

Here you can learn about the events in GestureDetector's Gestures
Code Sample
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/material.dart';

class TabbedAppBarSample extends StatefulWidget {
  @override
  _TabbedAppBarSampleState createState() => _TabbedAppBarSampleState();
}

class _TabbedAppBarSampleState extends State<TabbedAppBarSample> {
  int _selectedIndex = 0;

  void onTabChanged(int selectedIndex) {
    setState(() {
      this._selectedIndex = selectedIndex;
    });
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: GestureDetector(
        onTapDown: (tapDownDetails) {
          print("onTapDown");
        },
        onPanStart: (details) {
          print("onPan started");
        },
        onPanEnd: (details) {
          print("onPan ended");
        },
        onTapUp: (details) {
          print("onTapUp");
        },
        child: DefaultTabController(
          length: choices.length,
          child: Scaffold(
            appBar: AppBar(
              title: const Text('Tabbed AppBar'),
              bottom: TabBar(
                isScrollable: true,
                tabs: choices.map((Choice choice) {
                  return Tab(
                    text: choice.title,
                    icon: Icon(choice.icon),
                  );
                }).toList(),
              ),
            ),
            body: TabBarView(
              children: choices.map((Choice choice) {
                return Padding(
                  padding: const EdgeInsets.all(16.0),
                  child: ChoiceCard(choice: choice),
                );
              }).toList(),
            ),
          ),
        ),
      ),
    );
  }
}

class Choice {
  const Choice({this.title, this.icon});

  final String title;
  final IconData icon;
}

const List<Choice> choices = const <Choice>[
  const Choice(title: 'CAR', icon: Icons.directions_car),
  const Choice(title: 'BICYCLE', icon: Icons.directions_bike),
  const Choice(title: 'BOAT', icon: Icons.directions_boat),
  const Choice(title: 'BUS', icon: Icons.directions_bus),
  const Choice(title: 'TRAIN', icon: Icons.directions_railway),
  const Choice(title: 'WALK', icon: Icons.directions_walk),
];

class ChoiceCard extends StatelessWidget {
  const ChoiceCard({Key key, this.choice}) : super(key: key);

  final Choice choice;

  @override
  Widget build(BuildContext context) {
    final TextStyle textStyle = Theme.of(context).textTheme.display1;
    return Card(
      color: Colors.white,
      child: Center(
        child: Column(
          mainAxisSize: MainAxisSize.min,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: <Widget>[
            Icon(choice.icon, size: 128.0, color: textStyle.color),
            Text(choice.title, style: textStyle),
          ],
        ),
      ),
    );
  }
}

void main() {
  runApp(TabbedAppBarSample());
}

If you're still experiencing this issue on latest stable, please create a new issue and provide necessary details
Thank you

I'm facing the same problem using a high-end flagship Android phone, the problem occurs only in Release mode, the solution I found was moving onTap: () {} to onTapDown: (TapDownDetails details){}

use onPanDown it's instantly triggerd


Add ‘Supplier News’ to hamburger menu

 Adding Supplier news to the hamburger under "Resources" on each site.


prevent mouse wheel from changing input on add liquidity step

What is the purpose of the change:
We want to prevent the liquidity input from changing when user uses the mouse scroll
Linear Task
https://linear.app/osmosis/issue/FE-1187/disable-mouse-scroll-wheel-for-liquidity-amount-input
Brief Changelog

disable mouse scroll for add liquidity amount

Testing and Verifying
This change has been tested locally by rebuilding the website and verified content and links are expected

So happy this is getting in


Better Caching Ability

Currently Logiks supports only default caching facility, which happens to be less efficient then some recent caching engines like memcached and PHP cache. Should give developer a choice to select what to use for caching.
Further more, Logiks can actually cache all the request based outputs in general cases (off course should be able to switch of) combined with better template integration for improved response time per request.

Resolved in Logiks 4.0. Logiks 4.0 has awesome Caching capabilities ranging from MetaCache, DataCache, RequestCache and MediaCache (coming). Caching Drivers include Files, MemCached. Redis And APC coming.


Weird long help output

Hi,
I'm using  builtin_metadata!() macro from bash-builtins = "0.3.1" and its short_doc and long_doc options:
builtin_metadata!(
    name = "cpubind",
    create = CpuBind::default,
    short_doc = "cpubind [-i identifier]",
    long_doc = "
    Prints information about the task and it's cpu affinity

    Options:
        -i identifier used to identify that particular task
    ",
);

#[derive(BuiltinOptions)]
enum Opt {
    #[opt = 'i']
    Identifier(String),
}

With this as is, when I invoke bash help command I get:
$  help cpubind
cpubind: cpubind [-i identifier]
    Prints information about the task and it's cpu affinity
    Project-Id-Version: bash-5.2-rc1
Report-Msgid-Bugs-To:
PO-Revision-Date: 2022-06-19 10:44+0200
Last-Translator: Frédéric Marchal<EMAIL_ADDRESS>Language-Team: French<EMAIL_ADDRESS>Language: fr
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Bugs: Report translation errors to the Language-Team address.
Plural-Forms: nplurals=2; plural=(n >= 2);

    Options:
        -i identifier used to identify that particular task

If I just delete the blank line in long_doc variable I get:
$  help cpubind
cpubind: cpubind [-i identifier]
    Prints information about the task and it's cpu affinity
    Options:
        -i identifier used to identify that particular task

It seems that blank lines without any blank spaces are replaced by some other text that may be available somehow in the memory. I managed to get it work correctly using a non-breaking white character to keep the alignment and a non blank line (my editor won't let me save a blank line).
The whole code is available at https://github.com/dupgit/cpubind-bash-builtin.

I tested https://github.com/dupgit/cpubind-bash-builtin, after removing the line with the non-breaking space, but I can't reproduce the issue:
$ LC_ALL=C git diff
diff --git a/src/lib.rs b/src/lib.rs
index 9e42efc..fc4f1f8 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -12,7 +12,7 @@ builtin_metadata!(
     // prints other lines from bash's memory instead.
     long_doc = "
     Prints information about the task and it's cpu affinity
-    <C2><A0>
+
     Options:
         -i identifier used to identify that particular task
     ",

$ cargo build --release

$ enable -f target/release/libcpubind_bash_builtin.so cpubind

$ help cpubind
cpubind: cpubind [-i identifier]
    Prints information about the task and it's cpu affinity

    Options:
        -i identifier used to identify that particular task

I tested it against Bash 5.2.15 (Debian Stable) and 5.2.26 (Nix unstable), both with Rust 1.76.
What environment are you using?

As you said, the problem is that Bash is reading memory from another place. Bash expects the long_doc field as an array of strings (one item per line). An empty line should be just "\0", which seems to be problematic in the Bash version you are using.
cargo expand can be used to check the generated output:
$ cargo expand

// ...
pub static mut cpubind_struct: ::bash_builtins::ffi::BashBuiltin =
    ::bash_builtins::ffi::BashBuiltin {
        name: "cpubind\u{0}".as_ptr().cast(),
        function: __bash_builtin__func_cpubind,
        flags: ::bash_builtins::ffi::flags::BUILTIN_ENABLED,
        short_doc: "cpubind [-i identifier]\u{0}".as_ptr().cast(),
        long_doc: (&[
            "Prints information about the task and it's cpu affinity\u{0}".as_ptr().cast(),
            "\u{0}".as_ptr().cast(),
            "Options:\u{0}".as_ptr().cast(),
            "    -i identifier used to identify that particular task\u{0}".as_ptr().cast(),
            ::std::ptr::null(),
        ]).as_ptr(),

Without debugging, the only explanation I can see is that Bash is ignoring the \0 character if it is at the beginning of the line.

Hi, thanks for taking the time to look at this. I think I have found what causes this behavior thanks to your remarks:
I use bash 5.2.15 from debian bookworm (stable):
$ bash --version
GNU bash, version 5.2.15(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2022 Free Software Foundation, Inc.
Licence GPLv3+ : GNU GPL version 3 ou ultérieure <http://gnu.org/licenses/gpl.html>

Ceci est un logiciel libre ; vous être libre de le modifier et de le redistribuer.
AUCUNE GARANTIE n'est fournie, dans les limites permises par la loi.

Note that the license is translated in French. I should have noticed that from my first message as the inserted message is somehow a .po translation file header.
Invoking bash help command with C LANG does not reproduce the problem:
$  LANG=C help cpubind
cpubind: cpubind [-i identifier]
    Prints information about the task and it's cpu affinity

    Options:
        -i identifier used to identify that particular task

The problem seems to happen with any locale:
$ LANG=es_ES.UTF-8 help cpubind
cpubind: cpubind [-i identifier]
    Prints information about the task and it's cpu affinity
    Project-Id-Version: bash-5.2-rc1
Report-Msgid-Bugs-To:
PO-Revision-Date: 2022-06-19 10:44+0200
Last-Translator: Frédéric Marchal<EMAIL_ADDRESS>Language-Team: French<EMAIL_ADDRESS>Language: fr
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Bugs: Report translation errors to the Language-Team address.
Plural-Forms: nplurals=2; plural=(n >= 2);

    Options:
        -i identifier used to identify that particular task

May be bash behavior is different in that case because it is trying to find a translation for the long_doc in the specified locale ?
Indeed invoking help command on bind builtin gives me an help message in French !

That must be the problem.
The gettext documentation seems to confirm that empty strings must not be used here:

An empty untranslated-string is reserved to contain the header entry with the meta information (see Filling in the Header Entry). This header entry should be the first entry of the file. The empty untranslated-string is reserved for this purpose and must not be used anywhere else.

So the crate must not generate empty strings in the array of the long_doc field.

Built-ins in the Bash sources are defined in a very particular way:

Built-ins are implemented in .def files.
These are regular C files, with some special directives to define the metadata, like $BUILTIN or $SHORT_DOC.
After $END, the file contains the implementation for that directive until another $BUILTIN (or EOF) is found.
For example, break.def defines break like this:
$BUILTIN break
$FUNCTION break_builtin
$SHORT_DOC break [n]
Exit for, while, or until loops.

Exit a FOR, WHILE or UNTIL loop.  If N is specified, break N enclosing
loops.

Exit Status:
The exit status is 0 unless N is not greater than or equal to 1.
$END

// C code

A preprocessor implemented in mkbuiltins.c reads the .def files and generates the final C code.

When I wrote the initial version of this crate I assumed that each line of the documentation was in its own array element; but I just checked the generated C file, and it is writing a single string with the whole documentation. For example, for break:
char * const break_doc[] = {
#if defined (HELP_BUILTIN)
N_("Exit for, while, or until loops.\n\
    \n\
    Exit a FOR, WHILE or UNTIL loop.  If N is specified, break N enclosing\n\
    loops.\n\
    \n\
    Exit Status:\n\
    The exit status is 0 unless N is not greater than or equal to 1."),
#endif /* HELP_BUILTIN */
  (char *)NULL
};

In that snippet, N_ is just a gettext macro to indicate that the string can be translated.
I changed the implementation in a13dc2cff25c3a8860235b32d9f71a78e0d5afda. Now, the generated string is identical to what mkbuiltins.c is emitting.
I just released a new version of the crate. Can you test the version 0.4 to verify that the issue is fixed? Thanks!

Thank you very much for this fix and release: it works like a charm :-)
Just corrected my own builtin https://github.com/dupgit/cpubind-bash-builtin/commit/693a330d5695b1dd5ea3a94cd308ece2e60d8414.
Thank you very much for this crate and your support.


Samples and Tutorials Abort

I have successfully built the engine on vs2017, win10. When I run any of the samples or tutorials, the main window context starts and the aborts before any content is started. No messages are displayed on the command prompt window.

If you run applications from the command line, the assets folder must be made current directory
https://github.com/DiligentGraphics/DiligentEngine#win32

move the assets folder for Tutorial00_HelloWin32 into the release folder where the executable is. cd to assets and run the exe from the release folder (..\tutorial00_hellowin32) . Still had the same result. BTW, the assets folder for the 00 tut was blank. it looks like the engine is having an exception.

built in debug, exception is no suitable graphics adapter found.  dxdiag reports dx12 is installed.

What GPU do you have? Do other backends work?

Could be that you have 2 graphics adapters ? , and the onboard adapter that
initialized first is not working .
On Fri, 26 Jul 2019 at 17:18 DiligentGraphics<EMAIL_ADDRESS>wrote:

What GPU do you have? Do other backends work?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DiligentGraphics/DiligentSamples/issues/18?email_source=notifications&email_token=ABGFAB52BLSNHJY3ILW5ZVLQBMBULA5CNFSM4IG7WUM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD24XX7A#issuecomment-515472380,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABGFAB2QZO37DHR5BMQY52LQBMBULANCNFSM4IG7WUMQ
.

Apparently, my graphics card does not support dx12 even though it loads and tests ok. I'll try making a test program from scratch. Ok to close

@fredlangva You can also try to run Microsoft D3D12 samples:
https://github.com/microsoft/DirectX-Graphics-Samples/tree/master/Samples/Desktop


Add methods to store Mleap bundles to and load from streams

This can be helpful as this will let people load and save to multiple data sources. Mleap will not have to handle multiple stores like S3, hadoop just the streams. This will bring mleap somewhat on par with spark as it allows storing to multiple datastores transparently
Workaround is to download from datastore to a temporary file which is then loaded using local file system

@anshbansal
We currently support storing to any Java NIO FileSystem. The reason we don't support streams is that MLeap Bundles are directory based and are more than one file. Spark works in the same way, except a Spark FileSystem is required in place of an NIO FileSystem.
Your method of saving locally to a temporary file then loading is a good one.

Hollin

Closing this for now, will reopen if it comes up again.

How do we load the Zipfile from the  stream  into MLeap library , Is there any overloaded method is available for load the stream into Bundle


Including example of AdoptBot

Adding an example of how to use AdoptBot

Docs Build status updates of commit 0ad57a0:
:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/samples/app-templates.md
:warning:Warning
View
Details

msteams-platform/samples/app-templates.md

Line 28, Column 512: [Warning-file-not-found] Invalid file link: 'aka.ms/theadoptionhub'.

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

Docs Build status updates of commit 759da60:
:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/samples/app-templates.md
:warning:Warning
View
Details

msteams-platform/samples/app-templates.md

Line 28, Column 512: [Warning-file-not-found] Invalid file link: '~/aka.ms/theadoptionhub'.

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

Docs Build status updates of commit 8814306:
:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/samples/app-templates.md
:warning:Warning
View
Details

msteams-platform/samples/app-templates.md

Line 28, Column 512: [Warning-file-not-found] Invalid file link: 'aka.ms/theadoptionhub'.

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


Default style is not rendered back after clicking on more than 1 auto-style buttons without unchecking them

Steps to Reproduce

Add a layer.
Add 2 widgets from that layer.
Click on auto-style
Without unchecking, click in auto-style on the other widget
Uncheck auto-style

Current Result
Style from prev. selected widget is shown
Expected result
Default style should be shown.

Picking this :cowboy_hat_face:

This only happens in Builder btw.

Deployed


after double click , no response display , can not open

as the title
windows 10 x64

yuhaiin_<IP_ADDRESS>beta_windows_amd64_2.zip

yuhaiin_<IP_ADDRESS>beta_windows_amd64_2.zip


OWNERS: add janeliul as a reviewer

Per @damemi  @ingvagabund adding myself as a code reviewer
Sig Projects: https://github.com/kubernetes-sigs/descheduler
PR: https://github.com/kubernetes-sigs/descheduler/pulls?q=is%3Apr+is%3Aclosed+janeliul
Issues: https://github.com/kubernetes-sigs/descheduler/issues?q=is%3Aissue+janeliul
Org issue: https://github.com/kubernetes/org/issues/3306

/assign @damemi

/ok-to-test

/verify-owners

/lgtm

/retest

Both tests are failing due to the same bug. Getting fixed through https://github.com/kubernetes-sigs/descheduler/pull/760.

/retest

/retest

https://github.com/kubernetes-sigs/descheduler/pull/761 for the other panic

/retest

/retest

/retest


slow training in single GPU

Huge thanks for implement! I have a question regarding the training time in the single GPU you mentioned.
I did the same training procedure in batch size 96 on the RTX 2080Ti GPU as you did, but it took a lot longer than the training time you mentioned (12hrs to ~10k training iterations).
I have no idea the cause of this issue at all. Could you explain your training environment precisely?
Please refer to my working environment at the bottom.
Docker environment with
CUDA 10.1
cuDNN v7
ubuntu 18.04
python 3.8

@ivanvovk I'm facing the same problem. Have tried running it on an 8x A100 server too but it has taken me 9 days to reach 200 iterations. Any pointers would be greatly appreciated.


Clone with SSH instead of HTTP (better for the privates xc-custom forks)

Closing, outdated project


unable to display options

I'm using rasa-ui in the context of this project https://github.com/pradeepmvn/rasa_stack_quickstart
Everything seems to work fine and looking very promising, but:

When the bot asks "feel free to try these options" nothing appears
struggles to identify the buttons in the upper right corner in chrome (okeish in safari)

Closing this here. Will keep it active in the other repo. Can you please respond there..


Add a document about how to implement a Mars operand

What do these changes do?

[x] Add a document about how to implement a Mars operator in development guidelines.
[x] Translation

Related issue number

Fixes #2269

This PR explains how to implement an operand, from the developer perspective. What is your opinion, is that clear to you? @perfumescent


Cleared up babel plugins and presets in express-es7-examples

I tried to apply the enhancement described in issue #573 as a first contribution to the project. I added the env preset to the package.json and removed the explicit plugin imports and it still seems to work.
I also removed the note about the imports in the README.md

Coverage remained the same at 95.809% when pulling 5abc0d5e24f4aba0dac72f6feab0df842c02a1bd on AnianZ:babel-plugin-express-es7-examples into bfd3ab47edce35f3d867234594e7d7f79eb832de on Vincit:master.


Use headings instead of bold text

https://trello.com/c/X4vKC3Bv/112-2-apply-govuk-frontend-styles-to-frameworks-content-for-the-create-a-dos-opportunity-journey
We shouldn't really be using bold text in the places that we are, really - the Design System says "use bold sparingly".
I've converted the examples below to headings, as that will give the same font size/weight as the other headings on the page (which is what we have currently anyway).

My review checklist
I've:

[ ] looked at the code
[ ] tested locally
[ ] run functional tests locally


223 send page

Fixes #223
Description
We need a visual component for the send page, following the new wallet design. This PR includes that component and implements some minor buttons like clicking on the Available amount or selecting a token from a hard-coded list.
Test scenarios

go to this link
login with Metamask
press the Send button on the page header

you should see a send form like the screenshot shows

press the available amount link on top of the input

the available amount text should be copied to the input

press the cancel btn

you should be redirected to the previous page

Screenshots

Checklist:

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have cleaned up the code in the areas my change touches
[ ] My changes generate no new warnings
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have checked my code and corrected any misspellings
[ ] I have removed any unnecessary console messages
[ ] I have included all english text to the translation file
[ ] I have created a new issue with the required translations for the currently supported languages
[ ] I have added appropriate test coverage

Please make the following changes:

follow balance ordering
reduce icon size to 24px
reduce space between icon and token to 8px

on the Send page, when you click on the balance amount, the token symbol is input together with the quantity, I think we should only have numbers on that input box. It seems weird to have to delete TLOS if you want to for example click on balance to have input amount and then edit it by clicking on input and havi]ng to delete the letters TLOS. Can we change design and implementation @karynemayer ?


@conda-forge-admin please add user @pseudo-rnd-thoughts

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @pseudo-rnd-thoughts in conda-forge/gymnasium-feedstock#5.


QA - Shixie's fixes

Closes

component overview images #1043
form validation gif #882 #957

Hey @shixiedesign -- i'm not sure the latest overview images were up on the shared drive, just wanted to see where you got them! thanks!

I just worked from the current svgs on the site, just open svg & edit then save, with the exception of the UI Shell which i had made from scratch.


Add "Unmark Private"

Now you able to push to existing private change and make it "public"

@Mystic-Mirage: Thank you - very nice work!
If you would be interested in improving the push a bit more, there are some issues almost on the top of the issues list you could work on ;)


Hively

Add Hively buttons and feedback link to Support ticket replies.

Coverage decreased (-0.01%) to 26.409% when pulling ddd4429232d2aa44a67260fdaa61cb1c1deeacd0 on Jskobos:hively into 1e3c36e1033330846a64e5a4b3dce92b15e577e1 on linode:develop.


Provide tools for coding user-defined rules

Related to https://github.com/objectionary/normalizer/issues/288.
Try Rascal.

[ ] generate a VS Code extension for the DSL

We are good with YAML for now. Also see #432.


[FEA] Create platform-independent diagnostic tool

We currently have a diagnostic tool specific for Dataproc.  We should add a generic diagnostic tool that only takes the Spark driver/master node as input and then we can run appropriate diagnostics.

That's a good question.  We can get product guidance on that for exact interface details.  To start, we can focus on implementing the functionality given the input of a Spark driver/master node.

If only using the address of Spark driver/master node, we need to define the features clearly. Some original feature on Dataproc may not be able to support.

For now, until more requirements are given, you can focus on what is possible to do if only given the driver/master node.  Example: can you figure out worker nodes from driver node to then run diagnostic steps on each worker?

This task is complete per the defined scope of 23.06

Complete!


Ability to reference lambda layers by ARN

Normally you have to create a lambda LayerVersion object to reference an existing public lambda layer but I think it's more convenient to use a simple ARN string.
Lets me write
const functionOptions: FunctionOptions = {
  bundling: {
    minify: true,
    sourceMap: true,
    externalModules: ["typeorm", "pg"], // from layer
  },
  layerArns: ["arn:aws:lambda:us-east-1:898466741470:layer:TypeORMPgLayerBD740AF5:3"],
}

Which is nice if you're really lazy

I would like to start working with this setup.

Please give it a go https://github.com/jetbridge/typescript-cdk-template https://github.com/jetbridge/freezy-backend


Optifabric not working with Origins.

Hi ya, not sure if this is meant to be posted here or on Optifabric, have also posted on the Optifabric issue tracker.
when running optifabric with optifine and origins mod it crashes, exit code 0
Mods installed
Fabric API 0.44
Optifabric 1.12.10
Optifine 1.18.1 HD U H4
Origins 1.18-1.3.1
latest.log

Hopefully we can get a update to this. So many resource packs don't work without Optifine/fabric and I rather not choose between the two.
Been looking everywhere for a workaround.

there are some mods that makes CIT and CEM into minecraft with out optifine
https://www.curseforge.com/minecraft/mc-mods/cit-resewn
https://www.curseforge.com/minecraft/mc-mods/custom-entity-models-cem


Fix PagerDuty Notifier

[x] Tick to sign-off your agreement to the Developer Certificate of Origin (DCO) 1.1

What

Stop using undocumented api for getting alerts
Migrate to /incidents and /incidents/{id}/alerts apis

Why
The _get_alerts method is currently using an undocumented api for getting alerts for a service. This API at current just hangs when called and does not time out. This means that auditree will fail to page if needed and travis will fail to fully complete.
How
Replaces the /alerts api call with a call to /incidents to get all incidents for a service and then calls to /incidents/{id}/alerts to get the alerts for said incidents. Only alerts that have a source_origin of the passed accreditation will be selected.
Test
I have locally ran our compliance checks both before and after the change. Before the notifier would just hang and after it would page.
It was also tested that if there is a current alert it would not make a new one. And if we resolved the incident then a new one would get created.
Context
Fixes #127

You'll need to sign your commit so that the build can proceed.


Enable GenericSpecializer on OSSA by default

This was already supported, but was under a flag. Enabled by default and converted left over tests.

@swift-ci test

Build failed
Swift Test OS X Platform
Git Sha - b44640361c2299de502b1d54a15f49d4d7d1f3a0

@swift-ci test OS X platform

LGTM


Optional user fields

Going to just merge and release this to unblock users but feel free to leave comments and I'll address them retroactively.


fix: uses issuerBackendUrl if present before trying to calculate a keycloak url

Which problem does the PR fix?
fixes #1679
Our current implementation of identity.issuerBackendUrl does not take into account the explicitly defined values that users define in values.yaml under global.identity.auth.issuerBackendUrl. Instead, the implementation before this PR would try to generate a keycloak url and append the realm to the end.  This logic is valid if the user is using keycloak, but now we need to account for users connecting their own OIDC provider and identity pulling information from that.

What's in this PR?
This PR  make use of global.identity.auth.issuerBackendUrl if it's provided.

Checklist
Please make sure to follow our Contributing Guide.

Before opening the PR:

[x] In the repo's root dir, run make go.update-golden-only.
[x] There is no other open pull request for the same update/change.
[ ] Tests for charts are added (if needed).
[ ] In-repo documentation are updated (if needed).

After opening the PR:

[x] Did you sign our CLA (Contributor License Agreement)? It will show once you open the PR.
[ ] Did all checks/tests pass in the PR?

@upgradingdave verified that this PR worked for his use case in the linked issue.

I just realized that the behavior of using global.identity.auth.issuerBackendUrl if it's available is something that camundaPlatform.authIssuerBackendUrl already does, and it would be duplicate logic if I did that in identity.issuerBackendUrl.

I'm checking to see if Terratest has a way to test a tpl file without it being in a manifest template. otherwise, I can add a test for a manifest template.

I added some tests


spike placeholder: details TBD

User Story
platform arch team will be providing us with a spike to work on. details tbd.

https://github.com/chef/platform/issues/18

https://github.com/chef/platform/issues/25 - completed.


Sonoff Bridge Devices Show Unavailable on HA but work on Ewelink after Core Update

My bridge is a default factory bridge. No flash of Tasmota. Immediately after I performed the latest core update, all bridge devices went to unavailable. I readded them to ewelink and verified they are all working. Went back to HA and still same issue. Please look into and find where the communication is failing.

https://github.com/AlexxIT/SonoffLAN/releases/tag/v3.1.0


Add CodeWars to Coding Practice for Beginners section

This change adds CodeWars.com to the "Coding Practice for Beginners" section.
This site is a great place to sharpen your coding skills by completing challenges, reviewing other's solutions, and receiving instant feedback.

Thanks for your contribution, kindly review the contributions guidelines


Feature/model tests getter setter

Tests for the non-trivial getters and setters of the model classes.

Rejected on grounds of trying to merge into the wrong branch. Please pull new features into the "develop" branch.


godoc.org: there is no bugs link

What version of Go are you using (go version)?
This is a godoc.org issue, so whichever version gddo is running at the moment (go1.6?)

What operating system and processor architecture are you using (go env)?
This is a godoc.org issue, probably linux.

What did you do?
Browse to https://godoc.org/encoding/xml and compare with https://golang.org/pkg/encoding/xml/

What did you expect to see?
A link reasonably high up on the page linking to the single BUG section.

What did you see instead?
No link.

It would be nice to either reflect the behaviour of golang.org/pkg, or IMO preferably have a link next to "Index | Examples | Files".

This should be reported on the golang/gddo issue tracker.

https://github.com/golang/gddo/issues/new


Redis 6.0.0 released

https://raw.githubusercontent.com/antirez/redis/6.0/00-RELEASENOTES

Related: https://github.com/NodeRedis/node-redis/issues/1502

Related: #1517

6.0.0 Native tls support instead of connecting via stunnel - https://redis.io/topics/encryption

Related #1535

A new redis client that supports resp3: https://github.com/camarojs/redis

A new redis client that supports resp3: https://github.com/camarojs/redis


[ryml] build failure on x64-windows

Operating system
Windows 11
Compiler
Visual C++ 2022
Steps to reproduce the behavior
`

Failure logs
Installing 19/20<EMAIL_ADDRESS>Elapsed time to handle c4core:x64-windows: 17.7 ms
c4core:x64-windows package ABI: b4a69090769a0d6f4f8cbe7fb718eec76c2f58fe3cda1f54cad0b29a0a00ff2d
Installing 20/20<EMAIL_ADDRESS>Building<EMAIL_ADDRESS>D:\a\1\s\custom-triplets\x64-windows.cmake: info: loaded overlay triplet from here
-- Note: ryml only supports static library linkage. Building static library.
-- Downloading https://github.com/biojppm/rapidyaml/archive/v0.5.0.tar.gz -> biojppm-rapidyaml-v0.5.0.tar.gz...
-- Extracting source D:/a/1/s/thirdparty/vcpkg/downloads/biojppm-rapidyaml-v0.5.0.tar.gz
-- Applying patch cmake-fix.patch
-- Using source at D:/a/1/s/thirdparty/vcpkg/buildtrees/ryml/src/v0.5.0-406ae178a5.clean
-- Downloading https://github.com/biojppm/cmake/archive/fe41e86552046c3df9ba73a40bf3d755df028c1e.zip -> cmake-fe41e86552046c3df9ba73a40bf3d755df028c1e.zip...
-- Extracting source D:/a/1/s/thirdparty/vcpkg/downloads/cmake-fe41e86552046c3df9ba73a40bf3d755df028c1e.zip
-- Using source at D:/a/1/s/thirdparty/vcpkg/buildtrees/ryml/src/deps/55df028c1e-bc82d887ab.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
Command failed: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
Working Directory: D:/a/1/s/thirdparty/vcpkg/buildtrees/ryml/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
D:\a\1\s\thirdparty\vcpkg\buildtrees\ryml\config-x64-windows-rel-CMakeCache.txt.log
D:\a\1\s\thirdparty\vcpkg\buildtrees\ryml\config-x64-windows-out.log
Call Stack (most recent call first):
D:/a/1/s/build/out/x64-Release-CI/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:252 (vcpkg_execute_required_process)
ports/ryml/portfile.cmake:38 (vcpkg_cmake_configure)
scripts/ports.cmake:175 (include)
error: building ryml:x64-windows failed with: BUILD_FAILED
Elapsed time to handle ryml:x64-windows: 7.8 s
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+ryml
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[ryml]+Build+error+on+x64-windows&body=Copy+issue+body+from+D%3A%2Fa%2F1%2Fs%2Fbuild%2Fout%2Fx64-Release-CI%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
You can also submit an issue by running (GitHub CLI must be installed):
gh issue create -R microsoft/vcpkg --title "[ryml] Build failure on x64-windows" --body-file D:/a/1/s/build/out/x64-Release-CI/vcpkg_installed/vcpkg/issue_body.md
-- Running vcpkg install - failed
CMake Error at thirdparty/vcpkg/scripts/buildsystems/vcpkg.cmake:899 (message):
vcpkg install failed.  See logs for more information:
D:\a\1\s\build\out\x64-Release-CI\vcpkg-manifest-install.log
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.29/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:14 (project)
CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
##[error]PowerShell exited with code '1'.
Finishing: Configure
config-x64-windows-out.log
config-x64-windows-rel-CMakeCache.txt.log
stdout-x64-windows.log
Additional context
No response

This looks like the CMake 3.29.1 issue as described in #37968

Don't use CMake 3.29.1: https://github.com/microsoft/vcpkg/issues/37968
Replace CMake, and reinstall all packages that were built with this version.

Duplicate of https://github.com/microsoft/vcpkg/issues/37968


Keep getting the OSError

I tried to reproduce the training, I extracted the PDBBind folder and put it in the data folder.
And use the command "python train.py --config=configs_clean/RDkitCoords_flexible_self_docking.yml"
Then I get the errors listed below：
Traceback (most recent call last):
File "train.py", line 304, in
main_function()
File "train.py", line 295, in main_function
train_wrapper(args)
File "train.py", line 141, in train_wrapper
return train(args, run_dir)
File "train.py", line 169, in train
train_data = PDBBind(device=device, complex_names_path=args.train_names,lig_predictions_name=args.train_predictions_name, is_train_data=True, **args.dataset_params)
File "C:\Users\Equibind\datasets\pdbbind.py", line 127, in init
self.process()
File "C:\Users\Equibind\datasets\pdbbind.py", line 227, in process
remove_hs=self.remove_h)
File "C:\Users\Equibind\commons\process_mols.py", line 1223, in read_molecule
supplier = Chem.SDMolSupplier(molecule_file, sanitize=False, removeHs=False)
OSError: File error: Bad input file data/PDBBind\3dpf\3dpf_ligand.sdf

how did you solve the problem?


Chef Infra Client FIPS mode support for RHEL on Power PC is broken

Description
https://github.com/chef/customer-bugs/issues/394
The release notes for version 17.0 of the Chef Infra Client claim to support FIPS mode for RHEL systems running on PowerPC hardware. After testing version 17.1.35 in Kitchen with PPC image templates with FIPS enabled we see the following error:

/opt/chef/embedded/lib/ruby/gems/3.0.0/gems/chef-config-17.1.35/lib/chef-config/config.rb:1262:in `fips_mode=': This version of OpenSSL does not support FIPS mode (OpenSSL::OpenSSLError)

Chef Version
chef-client version 17.1.35
Platform Version

RHEL 7 PPC node
Replication Case
Install chef-client version 17.1.35 on a RHEL 7 PPC node.
Set `fips true` in client.rb.

Test kitchen should be a success
Expected Output
chef-client run completes in fips mode
Actual Behaviour
chef-client fails with "This version of OpenSSL does not support FIPS mode (OpenSSL::OpenSSLError)"
https://docs.chef.io/release_notes_client/#powerpc-rhel-fips-support states "PowerPC RHEL FIPS Support"

Closing this issue as it was reported on wrong repo. Opened a new issue on chef repo https://github.com/chef/chef/issues/11712


Polish the angular-2 branch

As you can see in the result page of the recent Google Summer of Code done by @magarcia[1], the port to Angular 2 is almost done, but some things were left behind. Specially these can be considered "regressions" when compared with the current master branch:

Speak detected icon don't works properly.
Show if one participant is set as "sticky".
Add embeded links, images, emojis into chat.
Reenable gridster (resizable areas) support for videoroom.
Fix Pushtotalk key sequence record.
Add hotkeys cheatsheet support.

We would like version 0.5.0 of jangouts to be based on that Angular 2 branch. Not only because of the new version of Angular, the branch also includes unit tests, better documentation, some small refactoring here and there...
But first we need to fix the six mentioned regressions.
[1] https://thingsofgeek.com/gsoc2016/

I plan to start working on this issue. The first step will be to update to the latest Angular version and make it work for a basic use case.

I am wondering if you guys are experienced this same issue while serving the angular-2 branch in  a chrome browser? the camera permission is reacting and the page is having an overlay pointing to reload the page as you can see in attached image. but every thing is working in firefoxe I am using chrome: Version 57.0.2987.110 (64-bit)

@Leo-14 The screenshot shows that you're trying to run Jangouts simultaneously on both chrome and firefox. In my system, once the camera is accessed by firefox, I cannot use it on chrome (or vice versa). Your's might be the similar case. Please check this out. This might help.

@code-master5 Thanks for your reply,
I think that the problem is the browser version because i am still having the same thing even though I am using chrome only.
this is what other people are saying
https://www.google.cm/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=chrome+57+not+allow+camera+to+be+shared

The version I'm using is 57.0.2987.133 (64-bit). Jangouts (angular-branch) is working fine. I can't understand what's going wrong with your browser.
But, after readings those red errors in your browser console, I guess the problem is not with your browser. Have you placed config.json inside src folder? Your browser doesn't seem to load this file. If you haven't, take hint from src/config.json.sample file. This might help!

okay thanks i will give a try.

We are dropping the Angular 2 port and going for React/Redux. See the project for more details.


Revert "Fixed #25417 -- Added a field check for invalid default values."

This reverts commit 71ebcb85b931f43865df5b322b2cf06d3da23f69.

(missing the release note revert)

If we don't get more support today I'm going to merge this. Nothing prevent us from revisiting it in the future if we ever get model level validation fixed.

I concur. It's certainly not critical for 1.9.


Allow combined documentation of multiple targets

Feature Request: Allow combined documentation of multiple targets
Description:
Transferred from https://github.com/apple/swift-docc-plugin/issues/12#issuecomment-1125603230.
Allow generating the documentation for multiple targets into one bundle, to make it easier to host the documentation for multi-target packages in a central place.
Motivation:
Currently, docc only supports generating the documentation for one target at at time. Generating documentations for multiple targets results in separate documentation bundles. This makes it hard to host the documentation for a package that contains multiple targets.
For example our color-components package has multiple targets, which makes hosting its documentation in a central place a bit complicated.
Importance:
It's not uncommon to have packages with multiple targets. Apple's own SwiftNIO has many targets and (almost) all of them have documentation. However, with docc it's currently hard to generate and host this documentation in a central place (like GitHub Pages).
With a bit of trickery, it's possible to merge the documentation pages together, but it's far from optimal.
Alternatives Considered:
Manually develop an 'index' page which links to sub-pages containing the documentation of each target separately. This would require quite a bit of work to have a great "look and feel" so that the index page looks similar to the documentation pages.

With a bit of trickery, it's possible to merge the documentation pages together, but it's far from optimal.

We've actually done this for our packages with this GitHub Actions workflow.
It generates the documentation for all targets, merges them together (since currently it's essentially only data/documentation/${TargetName} and documentation/${TargetName} that differs and those folders can easily be placed next to each other. The only thing that cannot easily be merged is the metadata.json in the root of the bundle.

This would be an awesome option!

This will require design discussions on several topics, both to determine what use-cases to prioritize and to determine how this fits into other tools and workflows and if any new configuration needs to be surfaced and how.

+1 for this, although I can see how it would need careful design consideration!

We've been having some discussions about this and would like the community's feedback. I've created this topic in the Swift Forums to talk about goals and use cases so that upcoming discussions in the forums can focus solving the right problems.


[Minput] native attribute autofocus is required

Native attribute autofocus is required to support automatic focusing.

todo: web-component needs this too.


Material Theme Builder - infinite save (completely unusable)

Material Theme Builder can't be used on my chrome/figma as it infinitely saves

That happens to me too. I copied Material 3 Design Kit but when I try to customize colors via  Theme Builder, it gets stuck on saving...

That happens to me too. I copied Material 3 Design Kit but when I try to customize colors via Theme Builder, it gets stuck on saving...

This plugin is almost impossible to use, as riddled with bugs as it is... primary colour used as a background for full buttons gets a different colour than the one chosen, state layers colours (used as background for outlined buttons) are not updated, infinite saving and the plugin not reflecting the current chosen palettes (has to be restarted after each change), and the documentation on how to use colours is almost non-existent and no rationale given on why there's so many palettes and styles.

Thanks for the feedback. MTB has been updated. Figma may time out with large files, but it shouldn't get stuck on instances.
For more on M3 color system check out https://m3.material.io/styles/color/the-color-system/key-colors-tones

Thanks Margeeta. I guess the update to the Figma plugin would be pushed automatically, correct? I didn't see any notification. I've sent an email to the team, I think the documentation on how to use colours is insufficient. It's a very long list of styles with no rationale and examples given, and the tokens are inconsistent with the styles I see on the Figma MD 3 kit.


Sort streams in "manage streams"

Hi all-
Feature request: it can be difficult to know which streams to subscribe to. One thing that might help would be providing more controls over how the list of streams is displayed in "manage streams." Possible places to start are letting the user sort by number of subscribers or by number of messages sent in the past 30 days. All credit to @lkuper for the original idea on RC Zulip. Thanks for continuing to make Zulip better!

This is definitely something I'd love to see happen.  Obviously for sorting by subscribers someone just needs to do the UI work for it; for recent messages sent, we recently finished the analytics backend work that makes it easy to expose that data without any performance impact.
Thoughts on what the right structure is for the sorting UI?

Hi, I would like to work on this.
@timabbott Please give me some lead by providing me possible files to be looked into for this stream-filter feature.
Regarding UI, I would request you to let me understand and improve the functionalities once and then you can suggest improvements in UI and related implementation.
Also, how to access the analytics data that you mentioned in your comment?
Thanks!

For the UI, the simplest thing that could work would be a dropdown like what you see on Amazon or other online shopping websites. It might have three options, say "A-Z", "Number of subscribers", and "Recently Active", and some text to the left of it that says "sort by:". I guess one question is where it might go on the page...

One idea is a caret menu to the right of "filter streams" that pops out an additional row of search/sorting controls if we want to do something fancier.

Closing this in favor of the more current #8659, since I think that's more likely to get actually worked on.  Will add a backlink.


Extend the library to glitch any DOM element

This would require a rewrite of the top-level animateDiv / glitch functions
Suggested changes:
API

Remove imageUrl option, replace with html of type string | undefined
If html is given, this will be used as the glitched content. Otherwise, the innerHTML property of the element will be used

Code changes for PowerGlitch.glitch(element, options)

Each layer will deeply clone the inner content of element
A container will be created and replace in place element with relative positioning
Source element will be put as first child of container using absolute positioning (will be used to keep app event listener, if any)
Additional layers will be animated on top, with pointer events and user select to false, also absolutely positioned

Intuitively, it should work at least for simple UI elements (images, buttons, paragraphs)

This would mean publishing a v2.0.0 of the library, including also these changes:

Consolidate hover-triggered and hover-once play modes into hover. (Remove hover-once for now. If implemented in the future, should be done in a separate option once: boolean)
Add a click play mode to trigger glitch on click
Adding support for passing an array of elements to PowerGlitch.glitch(..)


What do head.created and head.modified mean?

It is unclear what the created and modified fields are for. Do they refer to creation and modification times of a particular font file (which would usually be around the same value) or of the font (which could be a project with multiple versions spanning many years) or of something else?

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

ID: f3ee780c-6509-ae67-2223-7c0468dc745c
Version Independent ID: 907dff3d-e18f-e9c9-3ff6-7cf7f05aa7be
Content: head - Font header table (OpenType 1.9) - Typography
Content Source: typographydocs/opentype/spec/head.md
Product: typography
GitHub Login: @PeterCon
Microsoft Alias: alib

I don't know that there's one right answer.


The new algorithm with multiple and layered 100% code coverage tests.

The tests represent high-level API scenarios in order to get the coverage and roughly document the what-if scenarios.
What remains:

The dispatcher and eventing relationship needs some discussion.
Names for things could be changed
There was some discussion about special cases for changing networks for a service.
The tests need some work to fix the descriptions, round out checks and fix legibility

Sorry I haven't reviewed this yet. It's very thick. I've looked at it now, though, and it looks good to me.


Enquire, mediaMatch support, Respond & IE 8

The past 10 minutes I was trying to get Enquire working on IE8 alongside media-match and Respond. Here is my solution if other people are having trouble.
Only after reading through "Support & Caveats" I got to understand that if you already have a mediaMatch polyfill in place you will not need Respond if you are also using Enquire. At least this is what made it work here.

Browsers that natively support CSS3 Media Queries are opted-out of running this script as quickly as possible. In testing for support, all other browsers are subjected to a quick test to determine whether they support media queries or not before proceeding to run the script. This test is now included separately at the top, and uses the window.matchMedia polyfill found here: https://github.com/paulirish/matchMedia.js . If you are already including this polyfill via Modernizr or otherwise, feel free to remove that part.

I had Respond, media-match and Enquire loading and that gave me the following error.

Message: Object doesn't support this property or method
Line: 7
Char: 572
Code: 0
URI: http://work.webdev/Domain/js/vendor/enquire.2.1.2.min.js

Be removing Respond it started to work flawless with media-match and Enquire.
By removing media-match and and leaving Respond and Enquire it did not work and gave me above error.
Heads up!

This issue has popped up many times. It is because Respond includes it's own polyfill for matchMedia, which clashes with any other polyfill for matchMedia (e.g. media-match as you are using). You should edit Respond and remove the polyfill from the top of the file (the Respond docs mention this).

Here things work completely without Respond native IE8 upwards. So media-match and Enquire are all it basically takes. Or would you suggest still using Respond with the removed polyfill alongside Enquire and the standalone media-match polyfill?


buildGoModule: prefer go mod vendor -v

The -v flag causes vendor to print the names of vendored modules and packages
to standard error.

The -v flag helped me debug a buildGoModule derivation yesterday evening.
Description of changes

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)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

The -v flag causes vendor to print the names of vendored modules and packages
to standard error.

Doesn't this also spam the build log with lots of useless lines?

It's not spam when go mod vendor breaks imo :man_shrugging:

A arg called something like goModFlags would be better

It's not spam when go mod vendor breaks imo man_shrugging

The problem is that we add thousands of log lines which are 99.9% percent of the time not useful and significantly increase the log size.

A arg called something like goModFlags would be better

Having the option to set this when debugging is IMO a better and universal solution.

A arg called something like goModFlags would be better

Done :)

Sorry, forgot about this. I've changed flags to goModVendorFlags to remove any ambiguity.


New option: Local storage

Remember last state in Local Storage =)

Maybe. I'll think on it. Might be something that should be implemented by the user with the callbacks.

For the user to implement save they kinda need some info on the drag events and this requires changing split.js
I did it here (plus all my other recent changes).
http://plnkr.co/edit/Q0dvKbmQJ3CFrcV4q58M?p=preview
Put a limiter on the drag saving, using requestAnimationFrame.
And since I was throwing em round put one on adjust in split.js aswell.
The drag event can fire like nuts, this stops dom thrashing.
Prolly wnna check its ok i guess.
Got a problem of a flick on load, wonder if its partly that, could add a force optoin to adjust only need it at the beginning.

This can be done using the new APIs in v1.2.0:
var sizes = localStorage.getItem('split-sizes') || [50, 50]

var split = Split(sizes, {
    onDragEnd: function () {
        localStorage.setItem('split-sizes', split.getSizes());
    }
})

I'm having problems triying to access the sizes for saving.
localStorage.setItem('split-sizes', split.getSizes());
split.getSizes() is undefined


Implement sparse image flashing using libsparse

Based on original work from https://github.com/andersson/qdl/pull/5
Signed-off-by: Christopher Obbard<EMAIL_ADDRESS>

cc @blenk92 @abozhinov444 @andersson @jwinarske @ndechesne

thanks for sending this PR.. support for sparse support is very much needed.. I am wondering if using libsparse is really a great thing though. First the distribution of libsparse in distro is not always great (I don't think Archlinux has it), and hardcoding the lib path like you did is problematic. Also, I think it complicates the main loop when processing the file quite a bit.. how difficult (or wrong?) would it be to implement a small 'unsparse' algorithm directly in qdl? would that be a bad idea?

@ndechesne I agree.  It would be better to not pull in library dependency, and implement the sparse algorithm directly.

Right, using the library is a bit of a pain. The other two open PRs vendor in libsparse. If that is acceptable, I can do that here too?


Help cannot $ping

Hi
I configure ts3 server in my linuxbox and minecraft server too.
I put username and password (the nickname and password used to claim the admin token  in ts3). restart minecraft and receive the message in console:
[UltimateTs] Enabling UltimateTs v2.1.4
[UltimateTs] (TeamSpeak) Bot Online!
[UltimateTs] (Sql) Connection successfully.
[UltimateTs] UltimateTs | v2.1.4 | Author: DiscowZombie.
[UltimateTs] Using 1.11.2-R0.1-SNAPSHOT | git-Spigot-3fb9445-6e3cec8 (MC: 1.11.2) | v1_11_R1.
[UltimateTs] Your perms system is Vault.
[UltimateTs] You can links ranks with Vault.
[UltimateTs] Using SQL as storage type.
When I log into ts3 I have 2 client online.
In minecraft I digit /ts link and then log in ts3 with the same nick as minecraft name. Nothing happen.
command $ping not working
Comand $info not working
Help please

Now work (not $ping or $info) but /ts broadcast works.
Just create a query login in ts server and put the username and password with the query login (create it with the server admin account).
:)

Cannot link help!!
Now $ping and $info work. I try to use /ts link receive the message Your mc account...
log into ts3 server with the same username as minecraft and nothing happen..

Hi,
probably you haven't read the Insall part...
`Before start installing, you need:
A minecraft server off ;
A TeamSpeak server running ;
You Admin Query password (gived when you start your TeamSpeak server for the first time!) ;

If you have any question about Admin Query on TeamSpeak, read this: http://media.teamspeak.com/ts3_literature/TeamSpeak 3 Server Query Manual.pdf.
Warning: To avoid losing access to your TeamSpeak server, it is highly recommended that you create a privilege key BEFORE you start the bot for the first time (key you can use in case of problems).
Now you can start:
First, download the plugin ;
Drag and drop the plugin into your /plugins folder ;

Start your server. It's possible that UltimateTs generated error, it's normal. Now, stop your server.
Now, a new folder will be created (plugins/UltimateTs).
You can now go to the configuration file (plugins/UltimateTs/config.yml). You need to add you TeamSpeak server IP & your password:

Code (Text):
login:
#Change by your TeamSpeak server IP (WITHOUT PORT)
ip: localhost
username: serveradmin
password: password
#Port of your TeamSpeak server
port: 9987
bot:
#A name for the bot !
name: UltimateTs
You can choose to use a database (to save your linked players in database) or to save in this file. If you want to use a database, enter your informations here:

Code (Text):
database:
enable: false
host: localhost
name: databaseName
user: root
password: password
Else, leave this.
You can choose if players were kicked when they joined the TeamSpeak and aren't registered by changing this:

Code (Text):
config:
#Kick players if they haven't linked her account
kickNotRegister: false
Now, you need to change the value of

Code (Text):
defaultGroupId
by the value of your default group on TeamSpeak (My default rank on TeamSpeak is guest with the id 8).
[IMG]
If you want all your linked players to get a special rank on TeamSpeak, you can by changing:
Code (Text):
asignWhenregister
by the id of your TeamSpeak ranks.
Now, you need to define linked TeamSpeak ranks for your players. The ranks system is baised on permissions. Add this:
Code (Text):
perms:
exemplePerms: 10
exemplePerms is your permission and 10 is the ranks to link. In each permissions plugin, all ranks had the permission group. (or rank. depend on your PemissionSystem). Then, to link your ranks, add the permission group. (or rank. depend on your PemissionSystem) and the id of your TeamSpeak ranks.
You can add an infinit numbers of permissions !
When you are finish configs all ranks and messages (you can modify all messages in UltimateTs/messages.yml), you can save and run you server !

To be sure that the Bot is online, there are several solutions:

You can check the console, if she said "Bot online!" when starting the server, it's ok !
[IMG]

Click on your TeamSpeak server. If "Current Query" equals one, it's ok.
[IMG]

Go to the default channel and type $ping. If the bot reply with "pong!", it's ok.
[IMG]

That's perfect, your players can now link there accounts. If you have any problem, question or sugest, open a new issues on github: https://github.com/DiscowZombie/UltimateTs/issues.`

I put username and password (the nickname and password used to claim the admin token in ts3)
You need to use a ADMIN SERVER QUERY ACCOUNT, NOT YOUR MYTEAMSPEAK ACCOUNT.

Just create a query login in ts server and put the username and password with the query login (create it with the server admin account).
Please use the default admin server query account or ensure that this query has "server query admin" rank else commands will not working because of miss permissions !

log into ts3 server with the same username as minecraft and nothing happen..
The same username is not needed, just have the same IP (should also work with a VPN)

I use luckperms

[UltimateTs] Your perms system is Vault.
[UltimateTs] You can links ranks with Vault.
Verify that Vault is up-to-date.
What version of Minecraft do you use?
Also, keep in mind this :

IMPORTANTE NOTE - Monday 28/08/17 : Unfortunately, my disponibility doesn't allow me to update and fix issues of this plugin. Updates will be rare, as like fixes (But the project isn't abandoned. I make updates when I get more times). Source code remains accessible and I would continue to accept "Pull Request" and commits them to the master branch. I thank, in advance, all the people who participate in the source code to make the plugin better.

Minecraft server 1.11.2, vault latest query account made, I can make $ping and $info but no link account (I have a linux with mc server andts server working) try login via internal network (maybe this?) now I try to log in ts and minecraft outside the lan (internet).

Solved....outside the lan all works fine thanks a lot :)

Ok, fantastic !


feat: import and use penumbra eslint config everywhere.

fixes https://github.com/prax-wallet/web/issues/103

will integrate config from npm via https://github.com/penumbra-zone/web/issues/1762

superseded by https://github.com/prax-wallet/prax/pull/228


Add a way to expose the native map object

In v3 we had .getNativeMap() function, but it's now deprecated. We need to access the native map object in order to allow partners and final users to integrate CARTO within their existing frontend, with added features like this

I'm tracking this in https://github.com/CartoDB/cartodb.js/issues/1280. Thanks @AbelVM.


Fixed the table names in down() method

not really a "fix" seeing both ways work.

It won't work when you change the table names in the config file. That's where this fix is for.


re-adding fieldVisitMeasurements (discharge measurements) if they are…

… in the JSON. Will only put them in the JSON if there is a discharge series selected. https://internal.cida.usgs.gov/jira/browse/AQCU-717

Coverage decreased (-0.02%) to 87.16% when pulling d54acb22a376e99feccc413cd7d0e7abb6930483 on mhines-usgs:master into 87cfc4b47fe825c316618b670a0845b7fd61a654 on USGS-R:master.


"Maximum update depth exceeded" error and Is library will be upgraded version?

I met this error after I change Chrome's size:

Do have anyone met this error? Please help me.
Just for author:
HI @StephenChou1017 ,
First of all, I appreciate you library. It's very useful. I hope it will be upgraded more about version, apply react hook, etc.
And I see have many pull request. So, I am curious to know that you have a plan for next release.
Hope to see your response because I though many many developers like and need "react-big-scheduler".
Thanks

Hi @tranquanglk94, did you managed to solve this issue? Any tips will be appreciated


Electron Beaker does not run with Anaconda IPython 2.7

On OSX Sierra.
Seems this should be straightforward but when I run /Applications/Beaker.app/Contents/MacOS/Electron I get:
(electron) companyName is now a required option to crashReporter.start
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
Using port 32326 for main thread IPC
starting nginx instance (/Applications/Beaker.app/Contents/Resources/dist/nginx)

Beaker hash b7c81a9
Beaker listening on http://<IP_ADDRESS>:8801/
note: probing until backend is ready, an error here is normal

Running
0: /Applications/Beaker.app/Contents/Resources/dist/config/plugins/eval/ipythonPlugins/ipython/ipythonPlugin
1: 8804
Done starting IPython
nginx-stderr>2016/11/14 16:23:51 [error] 4356#0: *53 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /b7c81a9/ipython.497244850543/login HTTP/1.1", upstream: "http://<IP_ADDRESS>:8804/login", host: "<IP_ADDRESS>:8801", referrer: "http://<IP_ADDRESS>:8801/beaker/"
nginx-stderr>2016/11/14 16:23:51 [error] 4356#0: *53 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /b7c81a9/ipython.497244850543/login HTTP/1.1", upstream: "http://<IP_ADDRESS>:8804/login", host: "<IP_ADDRESS>:8801", referrer: "http://<IP_ADDRESS>:8801/beaker/"
nginx-stderr>2016/11/14 16:23:51 [error] 4356#0: *53 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /b7c81a9/ipython.497244850543/login HTTP/1.1", upstream: "http://<IP_ADDRESS>:8804/login", host: "<IP_ADDRESS>:8801", referrer: "http://<IP_ADDRESS>:8801/beaker/"
nginx-stderr>2016/11/14 16:23:51 [error] 4356#0: *53 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /b7c81a9/ipython.497244850543/login HTTP/1.1", upstream: "http://<IP_ADDRESS>:8804/login", host: "<IP_ADDRESS>:8801", referrer: "http://<IP_ADDRESS>:8801/beaker/"
nginx-stderr>2016/11/14 16:23:51 [error] 4356#0: *53 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /b7c81a9/ipython.497244850543/login HTTP/1.1", upstream: "http://<IP_ADDRESS>:8804/login", host: "<IP_ADDRESS>:8801", referrer: "http://<IP_ADDRESS>:8801/beaker/"
nginx-stderr>2016/11/14 16:23:51 [error] 4356#0: *53 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /b7c81a9/ipython.497244850543/login HTTP/1.1", upstream: "http://<IP_ADDRESS>:8804/login", host: "<IP_ADDRESS>:8801", referrer: "http://<IP_ADDRESS>:8801/beaker/"
nginx-stderr>2016/11/14 16:23:51 [error] 4356#0: *53 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /b7c81a9/ipython.497244850543/login HTTP/1.1", upstream: "http://<IP_ADDRESS>:8804/login", host: "<IP_ADDRESS>:8801", referrer: "http://<IP_ADDRESS>:8801/beaker/"
nginx-stderr>2016/11/14 16:23:51 [error] 4356#0: *53 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /b7c81a9/ipython.497244850543/login HTTP/1.1", upstream: "http://<IP_ADDRESS>:8804/login", host: "<IP_ADDRESS>:8801", referrer: "http://<IP_ADDRESS>:8801/beaker/"
nginx-stderr>2016/11/14 16:23:52 [error] 4356#0: *53 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /b7c81a9/ipython.497244850543/login HTTP/1.1", upstream: "http://<IP_ADDRESS>:8804/login", host: "<IP_ADDRESS>:8801", referrer: "http://<IP_ADDRESS>:8801/beaker/"
nginx-stderr>2016/11/14 16:23:52 [error] 4356#0: *53 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /b7c81a9/ipython.497244850543/login HTTP/1.1", upstream: "http://<IP_ADDRESS>:8804/login", host: "<IP_ADDRESS>:8801", referrer: "http://<IP_ADDRESS>:8801/beaker/"
nginx-stderr>2016/11/14 16:23:53 [error] 4356#0: *53 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /b7c81a9/ipython.497244850543/login HTTP/1.1", upstream: "http://<IP_ADDRESS>:8804/login", host: "<IP_ADDRESS>:8801", referrer: "http://<IP_ADDRESS>:8801/beaker/"
nginx-stderr>2016/11/14 16:23:54 [error] 4356#0: *53 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /b7c81a9/ipython.497244850543/login HTTP/1.1", upstream: "http://<IP_ADDRESS>:8804/login", host: "<IP_ADDRESS>:8801", referrer: "http://<IP_ADDRESS>:8801/beaker/"
IPython-stderr>[TerminalIPythonApp] WARNING | Subcommand `ipython notebook` is deprecated and will be removed in future versions.
IPython-stderr>[TerminalIPythonApp] WARNING | You likely want to use `jupyter notebook` in the future
IPython-stderr>[W 16:23:58.601 NotebookApp] Unrecognized alias: '--ipython-dir=/Users/sturvey/.beaker/v1/nginx416306369548488313', it will probably have no effect.
IPython-stderr>[C 16:23:58.611 NotebookApp] Bad config encountered during initialization:
IPython-stderr>[C 16:23:58.611 NotebookApp] Invalid argument: '--ipython-dir=/Users/sturvey/.beaker/v1/nginx416306369548488313'
IPython-stdout>The Jupyter HTML Notebook.
IPython-stdout>This launches a Tornado based HTML Notebook Server that serves up an
IPython-stdout>HTML5/Javascript Notebook client.
IPython-stdout>Subcommands
IPython-stdout>-----------
IPython-stdout>Subcommands are launched as `jupyter-notebook cmd [args]`. For information on
IPython-stdout>using subcommand 'cmd', do: `jupyter-notebook cmd -h`.
IPython-stdout>list
IPython-stdout>    List currently running notebook servers.
IPython-stdout>Options
IPython-stdout>-------
IPython-stdout>Arguments that take values are actually convenience aliases to full
IPython-stdout>Configurables, whose aliases are listed on the help line. For more information
IPython-stdout>on full configurables, see '--help-all'.
IPython-stdout>--script
IPython-stdout>    DEPRECATED, IGNORED
IPython-stdout>--pylab
IPython-stdout>    DISABLED: use %pylab or %matplotlib in the notebook to enable matplotlib.
IPython-stdout>--debug
IPython-stdout>    set log level to logging.DEBUG (maximize logging output)
IPython-stdout>--no-browser
IPython-stdout>    Don't open the notebook in a browser after startup.
IPython-stdout>-y
IPython-stdout>    Answer yes to any questions instead of prompting.
IPython-stdout>--no-mathjax
IPython-stdout>    Disable MathJax
IPython-stdout>    MathJax is the javascript library Jupyter uses to render math/LaTeX. It is
IPython-stdout>    very large, so you may want to disable it if you have a slow internet
IPython-stdout>    connection, or for offline use of the notebook.
IPython-stdout>    When disabled, equations etc. will appear as their untransformed TeX source.
IPython-stdout>--no-script
IPython-stdout>    DEPRECATED, IGNORED
IPython-stdout>--generate-config
IPython-stdout>    generate default config file
IPython-stdout>--certfile=<Unicode> (NotebookApp.certfile)
IPython-stdout>    Default: u''
IPython-stdout>    The full path to an SSL/TLS certificate file.
IPython-stdout>--ip=<Unicode> (NotebookApp.ip)
IPython-stdout>    Default: 'localhost'
IPython-stdout>    The IP address the notebook server will listen on.
IPython-stdout>--pylab=<Unicode> (NotebookApp.pylab)
IPython-stdout>    Default: 'disabled'
IPython-stdout>    DISABLED: use %pylab or %matplotlib in the notebook to enable matplotlib.
IPython-stdout>--log-level=<Enum> (Application.log_level)
IPython-stdout>    Default: 30
IPython-stdout>    Choices: (0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL')
IPython-stdout>    Set the log level by value or name.
IPython-stdout>--port-retries=<Integer> (NotebookApp.port_retries)
IPython-stdout>    Default: 50
IPython-stdout>    The number of additional ports to try if the specified port is not
IPython-stdout>    available.
IPython-stdout>--notebook-dir=<Unicode> (NotebookApp.notebook_dir)
IPython-stdout>    Default: u''
IPython-stdout>    The directory to use for notebooks and kernels.
IPython-stdout>--keyfile=<Unicode> (NotebookApp.keyfile)
IPython-stdout>    Default: u''
IPython-stdout>    The full path to a private key file for usage with SSL/TLS.
IPython-stdout>--client-ca=<Unicode> (NotebookApp.client_ca)
IPython-stdout>    Default: u''
IPython-stdout>    The full path to a certificate authority certificate for SSL/TLS client
IPython-stdout>    authentication.
IPython-stdout>--config=<Unicode> (JupyterApp.config_file)
IPython-stdout>    Default: u''
IPython-stdout>    Full path of a config file.
IPython-stdout>--port=<Integer> (NotebookApp.port)
IPython-stdout>    Default: 8888
IPython-stdout>    The port the notebook server will listen on.
IPython-stdout>--transport=<CaselessStrEnum> (KernelManager.transport)
IPython-stdout>    Default: 'tcp'
IPython-stdout>    Choices: [u'tcp', u'ipc']
IPython-stdout>--browser=<Unicode> (NotebookApp.browser)
IPython-stdout>    Default: u''
IPython-stdout>    Specify what command to use to invoke a web browser when opening the
IPython-stdout>    notebook. If not specified, the default browser will be determined by the
IPython-stdout>    `webbrowser` standard library module, which allows setting of the BROWSER
IPython-stdout>    environment variable to override it.
IPython-stdout>To see all available configurables, use `--help-all`
IPython-stdout>Examples
IPython-stdout>--------
IPython-stdout>    jupyter notebook                       # start the notebook
IPython-stdout>    jupyter notebook --certfile=mycert.pem # use SSL/TLS certificate
nginx-stderr>2016/11/14 16:24:02 [error] 4356#0: *53 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /b7c81a9/ipython.497244850543/login HTTP/1.1", upstream: "http://<IP_ADDRESS>:8804/login", host: "<IP_ADDRESS>:8801", referrer: "http://<IP_ADDRESS>:8801/beaker/"
nginx-stderr>2016/11/14 16:24:03 [error] 4356#0: *53 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /b7c81a9/ipython.497244850543/login HTTP/1.1", upstream: "http://<IP_ADDRESS>:8804/login", host: "<IP_ADDRESS>:8801", referrer: "http://<IP_ADDRESS>:8801/beaker/"
nginx-stderr>2016/11/14 16:24:04 [error] 4356#0: *53 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /b7c81a9/ipython.497244850543/login HTTP/1.1", upstream: "http://<IP_ADDRESS>:8804/login", host: "<IP_ADDRESS>:8801", referrer: "http://<IP_ADDRESS>:8801/beaker/"
nginx-stderr>2016/11/14 16:24:06 [error] 4356#0: *53 kevent() reported that connect() failed (61: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: , request: "GET /b7c81a9/ipython.497244850543/login HTTP/1.1", upstream: "http://<IP_ADDRESS>:8804/login", host: "<IP_ADDRESS>:8801", referrer: "http://<IP_ADDRESS>:8801/beaker/"

The ipython-examples.bkr just then spins its wheels "Initializing IPython" before finally giving up with an error and directing me back to the docs.
My current beaker.pref.json contains:
{
    "languages" : {
        "IPython" : {
            "path" : "/Users/sturvey/anaconda/bin"
        },
    },
    "autocomplete-parameters" : "true",
    "pref-format" : "1",
    "allow-anonymous-usage-tracking" : true,
    "edit-mode" : "default"
}

hi thanks for the report.  what version of ipython do you have (run
ipython --version

ipython is 5.1.0 - that's what's installed in /Users/sturvey/anaconda/bin (which I assume maps to the anaconda 'root' env?)
which ipython finds that one in my default shell (which is zsh with paths in .zshrc). My reading of the docs was that my prefs file should overrule any potential shell misunderstandings anyway?

be the first to try v1.7 which should fix this:
http://d299yghl10frh5.cloudfront.net/beaker-notebook-v1.7-0-g4c05020-electron-mac.dmg
:)

And just like that, things work! That's great - thanks! Any chance of a one-liner on what the root cause was? Just curious.

you are welcome. ipython APIs changed...


VisualForce Says Failed

I am pretty sure I did everything right but after I select a class I get a pop up error 'umlcanvas.na81.visual.force.com says failed[]'
The class and methods will show up on the canvas but I am not able to show any relationships.

@bdJohnson72 did you add the Remote Site?


fix update map with table name

will fix #771

Codecov Report

Merging #888 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #888   +/-   ##
=======================================
  Coverage   53.69%   53.69%
=======================================
  Files          41       41
  Lines        7537     7537
=======================================
  Hits         4047     4047
  Misses       2974     2974
  Partials      516      516

Impacted Files
Coverage Δ

statement.go
66.79% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bfdf773...8636506. Read the comment docs.


Only display necessary scrollbars in some docs at /api.

In some docs like https://chat.zulip.org/api/register-queue#arguments, there are as many as 7 scrollbars. We should remove the unnecessary vertical and horizontal scrollbars created by browser and only display simple bar scrollbars.

This actually appears to be due to a JavaScript error that appears at https://chat.zulip.org/api/register-queue#arguments but not at https://chat.zulip.org/api/register-queue.
help.js:60 Uncaught TypeError: Cannot read property 'top' of undefined
    at n (help.js:60)
    at Module.417 (help.js:163)
    at i (bootstrap:79)
    at Object.416 (help.f800413e83f444bdc01d.js:1)
    at i (bootstrap:79)
    at t (bootstrap:45)
    at bootstrap:253
    at help.f800413e83f444bdc01d.js:1
jquery.js:10099 POST https://chat.zulip.org/json/report/error 403


Update README.md

Thank you for taking the time to work on a Pull Request for this project!
To ensure your PR is dealt with swiftly please check the following:

[X ] Your submissions are formatted according to the guidelines in the contributing guide
[X ] Your additions are ordered alphabetically
[X ] Your submission has a useful description
[X ] The description does not end with punctuation
[ X] Each table column should be padded with one space on either side
[ X] You have searched the repository for any relevant issues or pull requests
[ ] Any category you are creating has the minimum requirement of 3 items
[ ] All changes have been squashed into a single commit

In this case, you'll want to use apiKey.

Thanks!


coding guide line

Basically follow the OCaml coding guidelines. https://ocaml.org/learn/tutorials/guidelines.html

type annotation with function name
consistent variable names with our document (e.g., c_0 + \Sigma c_i x_i,  d_0 + \Sigma d_i y_i)
insert assert false on unreachable paths for debugging
follow Infer's naming conventions (e.g., pp_*)
...

adding type

done itv.ml


Allow the homeless to describe their residence

The SBE provides strict fields for entering a residence address, but the accompanying note says "If rural address/homeless describe residence." That is not possible with validated data entry. Provide a text input area for non-address-bound residence descriptions.

If this input box is completed, I guess just write it over the entire area of the "Residence Address" section?

[ ] add this field to the schema
[ ] if this field exists in the data, write it to the PDF

The best way to write this will be with mPDF's MultiCell, which will wrap the text (if I follow the docs).


PageHeader with a button in extra and title is not aligned

Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-start-rcgr6u
Steps to reproduce

Add nz-page-header
Add nz-page-header-title
Add nz-page-header-extra with a button only (normal size tested)

What is expected?
The button in extra should be aligned to the text horizontally.
What is actually happening?
The button in extra is not aligned and looks ugly. With small button looks ok.

My fix:
&-page-header {
    &-title-view {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;

      &-extra {
        position: unset;
        top: unset;
        right: unset;
      }
    }
  }

https://github.com/ant-design/ant-design/issues/15680

fixed via antd v4
https://stackblitz.com/edit/angular-3mxtsv?file=src%2Fapp%2Fapp.component.ts


Data Race with Incorrect Username or Password

I tracked down the root cause to this PR that was merged in 1.34.0 https://github.com/Shopify/sarama/pull/2234/files
Versions
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.

Sarama
Kafka
Go

v1.37.2
2.13-2.7.1
go version go1.18.2 darwin/amd64

Configuration
What configuration values are you using for Sarama and Kafka?
config.Producer.Flush.Bytes = 0
config.Producer.Flush.Frequency = 5 * time.Second
config.Producer.Flush.MaxMessages = 0
config.Producer.Idempotent = true
config.Producer.RequiredAcks = sarama.WaitForAll
config.Producer.Retry.Max = 3
config.Producer.Retry.Backoff = 100 * time.Millisecond
config.Producer.Return.Successes = true
config.Producer.Return.Errors = true

Logs
kafka server: SASL Authentication failed: Authentication failed: Invalid username or password

==================
WARNING: DATA RACE
Write at 0x00c00012e768 by goroutine 74:
  github.com/Shopify/sarama.(*Broker).Open.func1()
      /go/pkg/mod/github.com/!shopify/sarama@v1.37.2/broker.go:248 +0x1a44
  github.com/Shopify/sarama.withRecover()
      /go/pkg/mod/github.com/!shopify/sarama@v1.37.2/utils.go:43 +0x48
  github.com/Shopify/sarama.(*Broker).Open.func2()
      /go/pkg/mod/github.com/!shopify/sarama@v1.37.2/broker.go:178 +0x39

Previous read at 0x00c00012e768 by goroutine 72:
  github.com/Shopify/sarama.(*Broker).responseReceiver()
      /go/pkg/mod/github.com/!shopify/sarama@v1.37.2/broker.go:1160 +0x555
  github.com/Shopify/sarama.(*Broker).responseReceiver-fm()
      <autogenerated>:1 +0x39
  github.com/Shopify/sarama.withRecover()
      /go/pkg/mod/github.com/!shopify/sarama@v1.37.2/utils.go:43 +0x48
  github.com/Shopify/sarama.(*Broker).Open.func1.2()
      /go/pkg/mod/github.com/!shopify/sarama@v1.37.2/broker.go:251 +0x39

Goroutine 74 (running) created at:
  github.com/Shopify/sarama.(*Broker).Open()
      /go/pkg/mod/github.com/!shopify/sarama@v1.37.2/broker.go:178 +0x566
  github.com/Shopify/sarama.(*client).LeastLoadedBroker()
      /go/pkg/mod/github.com/!shopify/sarama@v1.37.2/client.go:776 +0x1a7
  github.com/Shopify/sarama.(*transactionManager).initProducerId.func2()
      /go/pkg/mod/github.com/!shopify/sarama@v1.37.2/transaction_manager.go:514 +0xe5
  github.com/Shopify/sarama.(*transactionManager).initProducerId.func1()
      /go/pkg/mod/github.com/!shopify/sarama@v1.37.2/transaction_manager.go:496 +0x139
  github.com/Shopify/sarama.(*transactionManager).initProducerId()
      /go/pkg/mod/github.com/!shopify/sarama@v1.37.2/transaction_manager.go:508 +0x7aa
  github.com/Shopify/sarama.newTransactionManager()
      /go/pkg/mod/github.com/!shopify/sarama@v1.37.2/transaction_manager.go:872 +0x3cb
  github.com/Shopify/sarama.newAsyncProducer()
      /go/pkg/mod/github.com/!shopify/sarama@v1.37.2/async_producer.go:117 +0x92
  github.com/Shopify/sarama.NewAsyncProducer()
      /go/pkg/mod/github.com/!shopify/sarama@v1.37.2/async_producer.go:99 +0x84

Goroutine 72 (finished) created at:
  github.com/Shopify/sarama.(*Broker).Open.func1()
      /go/pkg/mod/github.com/!shopify/sarama@v1.37.2/broker.go:251 +0x1c09
  github.com/Shopify/sarama.withRecover()
      /go/pkg/mod/github.com/!shopify/sarama@v1.37.2/utils.go:43 +0x48
  github.com/Shopify/sarama.(*Broker).Open.func2()
      /go/pkg/mod/github.com/!shopify/sarama@v1.37.2/broker.go:178 +0x39

Problem Description
Our unit tests validate the behaviour of invalid usernames and passwords. It's running into a data race with go test -race. Which was not the case with v1.30.0

I can reproduce this in v1.41.2

The lines of code identified by the race detector are:
https://github.com/IBM/sarama/blob/610514edec1825240d59b62e4d7f1aba4b1fa000/broker.go#L248
And
https://github.com/IBM/sarama/blob/610514edec1825240d59b62e4d7f1aba4b1fa000/broker.go#L1160
So it seems the problem relates to the Broker's done channel.
I was initially puzzled as to how this could be a race, as the go-routine that reads from the done channel (by closing it) is launched from the go-routine that initializes the value of the done channel.  From The Go Memory Model:

The go statement that starts a new goroutine is synchronized before the start of the goroutine's execution.

It then occurred to me that the instance of the Broker struct could be being re-used. So closing the done channel as a result of a failed first connect request could be run at the same time as a second call to Broker.Open made on the same instance of the Broker struct.
If I hack the broker code to always go down the V1 SASL authentication failure path then the race can be re-produced with a short test-case:
func TestRace(t *testing.T) {
	b := NewBroker("localhost:9092")
	cfg := NewConfig()
	_ = b.Open(cfg)

	// Block until first open completes
	for atomic.LoadInt32(&b.opened) == 1 {
	}

	_ = b.Open(cfg)
}

I suspect the fix is to update the SASL authentication failure path to try and read from the done channel after closing the responses channel - mimicking the way that Broker.Close() ensures the go-routine running responseReceiver() completes before proceeding. However, first I'd like to try and write a test-case that re-produces this behavior using the MockBroker.

Frustratingly, I'm unable to write a testcase that consistently re-produces the issue. If I add a milliseconds sleep just before the call to close(b.done) here, then I can reliable re-produce in a test. I wonder if the data race occurs very infrequently, or perhaps is affected by system load?
With the millisecond sleep hacked in to the code, I've been able to confirm that adding a <-done just after the call to close(b.responses) here reliably prevents the data race from occurring.


Search editor isRegex argument

Command id
Regular expression flag

workbench.action.findInFiles
isRegex

search.action.openNewEditor
isRegexp

They should use the same name.

The search.action.openNewEditor command can also use
"regexp"  as the flag, which I assume will be deprecated at some point?

also editor.actions.findWithArgs should use query

Command id
query flag

workbench.action.findInFiles
query

search.action.openNewEditor
query

editor.actions.findWithArgs
searchString

Related: editor.actions.findWithArgs should use "query" and "replace" args
and
Intellisense is incorrect for editor.actions.findWithArgs