bug: invalid node type at position for language vim

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the exsiting issues of plugins related to this issue

Neovim version (nvim -v)
v0.8.3
Operating system/version
MacOS 12.6.1
Describe the bug
I'm using the latest version of lazy-git. Whenever I interact with the cmd dialog and error notification pops up. Running checkhealth gave me this results:
## Parser/Features         H L F I J
  - bash                ✓ ✓ ✓ . ✓
  - c                   ✓ ✓ ✓ ✓ ✓
  - help                ✓ . . . ✓
  - html                ✓ ✓ ✓ ✓ ✓
  - javascript          ✓ ✓ ✓ ✓ ✓
  - json                ✓ ✓ ✓ ✓ .
  - lua                 ✓ ✓ ✓ ✓ ✓
  - luap                ✓ . . . .
  - markdown            ✓ . ✓ . ✓
  - markdown_inline     ✓ . . . ✓
  - python              ✓ ✓ ✓ ✓ ✓
  - query               ✓ ✓ ✓ ✓ ✓
  - regex               ✓ . . . .
  - tsx                 ✓ ✓ ✓ ✓ ✓
  - typescript          ✓ ✓ ✓ ✓ ✓
  - vim                 x ✓ ✓ . ✓
  - yaml                ✓ ✓ ✓ ✓ ✓

  Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections
         +) multiple parsers found, only one will be used
         x) errors found in the query, try to run :TSUpdate {lang}

## The following errors have been detected:
  - ERROR: vim(highlights): ...im/0.8.3/share/nvim/runtime/lua/vim/treesitter/query.lua:219: query: invalid node type at position 2765 for language vim
    vim(highlights) is concatenated from the following files:
    | [ERROR]:"/Users/sebastianullrich/.local/share/nvim/lazy/nvim-treesitter/queries/vim/highlights.scm", failed to load: ...im/0.8.3/share/nvim/runtime/lua/vim/treesitter/query.lua:219: query: invalid node type at position 2765 for language vim

Steps To Reproduce

Using latest lazy-vim

Expected Behavior
healthcheck should not promt any errors.
Repro
No response

This is clearly not a LAzyVim issue. Check the docs at https://github.com/nvim-treesitter/nvim-treesitter

Specifically this: https://github.com/nvim-treesitter/nvim-treesitter#i-get-query-error-invalid-node-type-at-position


Make line wrapping, numbers, and matching brackets per-editor settings.

It's really frustrating having line wrapping a global setting when you trying to edit different files.

This doesn't quite solve all the issues, because it doesn't check to see if an editor currently has focus. So if you are working in an editor, and the switch to lots of other activities, the toggle applies to the last focused editor. I think it should be a no-op unless you are actually focused on an editor.

Why not have all/current versions of all these things?  The palette can handle it ;).

Yes, fair enough. Let's make it a different ticket.

That would be quite a proliferation. I think the most common use-case is per-buffer settings for these. I think settings should handle anything more than that. But let's discuss it on a different ticket.

  This looks good, thanks!

Issue for implementing a settings system: #515

This doesn't quite solve all the issues, because it doesn't check to see if an editor currently has focus. So if you are working in an editor, and the switch to lots of other activities, the toggle applies to the last focused editor. I think it should be a no-op unless you are actually focused on an editor.

This is #516.

By the way, I noticed this bug in Codemirror when changing matchBrackets on a per-editor basis, which Marijn just fixed: https://github.com/codemirror/CodeMirror/issues/4128


How the final explanations are generated? They seem not to be a simple stack of the selected sentences

Hi,
Very interesting and impressive work.  However, I wonder how the explanations are generated.
Based on your code and description in your paper, it seems you selected the appropriate sentences based on the criteria.  Nevertheless, the selected sentences are not processed any further so it is more like a stack of the selected sentences.
However, from the content regarding case studies presented in your paper, the generated explanations seem to be some summarized facts with reasons and logic, which are not simple combinations of these sentences.
Therefore, I wonder how the final explanations are generated?
Don't know if I make the question clear, please tell me if I don't. Looking forward to your reply!

Sorry for the late response.  The explanations in case studies denote the ground truth, and the final generated explanations were not further processed.


Invalid XML characters causing JsonResult failure

When 0x08 (or any invalid xml character) is included in an xml block sent to JsonResult action, an error occurs.  Other than changing this to ContentResult and returning the json text, is there some way to work around this?
public class MyController : Controller {
public JsonResult Data()
{
    var dt = new DataTable();
    dt.Columns.Add("abc");
    dt.Rows.Add("ac");
    var ds = new DataSet();
    ds.Tables.Add(dt);
    XDocument doc;
    using (var stream = new MemoryStream())
    using (var xmlWriter = XmlWriter.Create(stream,
        new XmlWriterSettings { CheckCharacters = false }))
    {
        ds.WriteXml(xmlWriter);
        xmlWriter.Flush();
        stream.Position = 0;
        using (var reader = XmlReader.Create(stream,
            new XmlReaderSettings { CheckCharacters = false }))
        {
            doc = XDocument.Load(reader);
        }
    }
    return Json(doc);
}
}

Stack trace:

System.ArgumentException: '', hexadecimal value 0x08, is an invalid character.
at System.Xml.XmlEncodedRawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)
at System.Xml.XmlEncodedRawTextWriter.WriteString(String text)
at System.Xml.XmlEncodedRawTextWriterIndent.WriteString(String text)
at System.Xml.XmlWellFormedWriter.WriteString(String text)
at System.Xml.Linq.ElementWriter.WriteElement(XElement e)
at System.Xml.Linq.XElement.WriteTo(XmlWriter writer)
at System.Xml.Linq.XNode.GetXmlString(SaveOptions o)
at System.Xml.Linq.XNode.ToString()
at <>f__AnonymousType1`2.ToString()
at Microsoft.AspNetCore.Mvc.Formatters.Json.Internal.MvcJsonLoggerExtensions.JsonResultExecuting(ILogger logger, Object value)
at Microsoft.AspNetCore.Mvc.Formatters.Json.Internal.JsonResultExecutor.ExecuteAsync(ActionContext context, JsonResult result)
at Microsoft.AspNetCore.Mvc.JsonResult.ExecuteResultAsync(ActionContext context)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResultExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Builder.RouterMiddleware.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.d__7.MoveNext()

Thanks for contacting us, @meyerovb.
This is an intentional limitation from System.XML and it's not controlled by us in any way.

So why is it i can create an xml entity like that in the first place?


GET /v1/parties API

Regarding the update we've made for the party Identity, that it would be composed of an internal identifier of the platform + Platform domain, rather than any global identifier, I think that we could use the GET /v1/parties API originally proposed. Why? Because as the internal identifier would be a "random" id of the platform and not a known global identifier, this would make it almost impossible to scan the other platform parties.
Having this API enabled would give the sender platform the chance to check whether the user has input the internal identifier correctly and verify the receiving party information before transferring it to the other platform, in short, the reason this API was created in the first place.
Another benefit is that there will not be needed to send any additional identifiers such as the LEI, DID, etc... just for checking purposes, as this will already be checked and verified with this API.

Hi @enriquesempe I indeed see the value of an API that would retrieve party information in order to exchange identities that are used in the transfer. I do however recall during the workshop it was decided that for the initial version of the PoC the identity of the user containing the internal identifier and the platform domain would be transferred out of bands (e.g. via email) to reduce the scope of the initial version and concentrate on the actual transfer.


An exception of type 'System.Exception' occurred in mscorlib.dll but was not handled in user code

Been trying out your code in a project of mine (it's been super helpful, thanks!) and keep coming across the above error when starting it up. Line it occurs on is below:
this.NotificationSourceCharacteristic.ValueChanged += NotificationSourceCharacteristicOnValueChanged;

Full error:
An exception of type 'System.Exception' occurred in mscorlib.dll but was not handled in user code

Additional information: Incorrect function. (Exception from HRESULT: 0x80070001)

Any ideas?

did you figure this out yet?


-Wstringop-overflow warning from gcc-14

As inlined below
In file included from /SDL_image/src/IMG_stb.c:58:
/SDL_image/src/stb_image.h: In function 'stbi__parse_png_file.constprop':
/SDL_image/src/stb_image.h:5323:56: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 5323 |                   for (k = 0; k < s->img_n; ++k) tc[k] = (stbi_uc)(stbi__get16be(s) & 255) * stbi__depth_scale_table[z->depth]; // non 8-bit images will be larger
      |                                                  ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/SDL_image/src/stb_image.h:5230:25: note: at offset 3 into destination object 'tc' of size 3
 5230 |    stbi_uc has_trans=0, tc[3]={0};
      |                         ^~

Others have reported the issue to mainstream already: https://github.com/nothings/stb/issues/1642
Should we close this as WONTFIX?


Compilation errors when running pose tracking cpu on windows

Hello.
I am trying to run pose tracking example (Mediapipe.Net.Examples.Pose) but I have following errors when compiling samples.
2>C:\Users\xxxDownloads\MediaPipe.NET-0.9.2(1)\MediaPipe.NET-0.9.2\Mediapipe.Net.Examples.Pose\Program.cs(11,21,11,30): error CS0234: The type or namespace name 'Solutions' does not exist in the namespace 'Mediapipe.Net' (are you missing an assembly reference?)
2>C:\Users\xxxDownloads\MediaPipe.NET-0.9.2(1)\MediaPipe.NET-0.9.2\Mediapipe.Net.Examples.Pose\Program.cs(23,33,23,48): error CS0246: The type or namespace name 'PoseCpuSolution' could not be found (are you missing a using directive or an assembly reference?)
Please help.

The solutions class were removed around 0.9.x, downgrade to 0.8.x or you can contribute the solutions class back if you're able to, I'd do it but I do not have time to re-port it again.


Enhance 'Uploaded files' sorting.

Problem
Initially, the list of files in the #settings/uploaded-files menu is unsorted. They can be sorted by clicking on one of the info column titles. However, these titles don't provide any visual feedback that indicates their funcionality
Enhancement

[ ] Initially sort all files by date
[ ] Visually indicate the functionality of the info titles (provide a feedback on hovering, clicking, etc.)

@brockwhittaker FYI.

I'm thinking ascending/descending arrows would work for this.


Add initial code handling certificate

Tracking issue: https://github.com/paritytech/substrate/issues/9162
This is an initial implementation of a serializer, parser and verifier of x509 certificates with libp2p extension.
cc @tomaka, @mxinden

Thanks for the ping @kpp. In case you want to continue @tomaka 's work in branch https://github.com/tomaka/libp2p-rs/tree/quiccc-again you might want to cherry pick the commits from my fork https://github.com/mxinden/rust-libp2p/tree/quiccc-again "fixing" the unit tests.

Issues I found so far: x509-parser::X509Certificate::verify_signature:

not aware of all signature algorithms we can actually support (like ed25519),
supports signatures with SHA1 (which is a big NO).

Shall I fix it in the current PR or shall I file issues and fix them in the future before actually integrating in the https://github.com/libp2p/rust-libp2p repo?

Will do in the next PR because we need to verify TLS certs & handshakes.


[Backport] [2.x] Bump codecov/codecov-action from 2 to 3 (#10209)

Backport of https://github.com/opensearch-project/OpenSearch/pull/10209 to 2.x

@owaiskazi19 pushing my luck here once again, please :)

@owaiskazi19 pushing my luck here once again, please :)

Ah. Conflicts..


Pal 390 resource service springboot cacheable

Applied changes to HadoopResourceService made within common
Requires PR in common to be merged before a successful build

closing while design issues are resolved that have come up from this work


PF firewall support

From @basepi on March 7, 2017 22:55
From @grimamethyst on May 5, 2016 3:14
Extend the existing firewall module to support PF (versus creating a separate module).
Copied from original issue: hubblestack/nova#119
Copied from original issue: hubblestack/hubble-salt#51

From @cedwards on May 13, 2016 17:29
If there is no existing pf execution module, perhaps we should put that first. I realize that will be a bigger project, but we also don't need this right away.

From @avb76 on May 13, 2016 16:52
@grimamethyst, it looks like there is no salt execution module for pf.
Do you know if there is a pf command that checks the existence of a rule given as parameter? I'm leaving grep over pf.conf as a last solution. I don't have any experience with pf, but I guess a rule that does a certain thing might come under different formats, so grep wouldn't work that well. Please, correct me if I'm wrong.

pf rules work by fundamentally different principle compared to iptables - in iptables, first match wins, in pf last (which is generally more specific) match wins.
Systems running pf (OpenBSD, FreeBSD, Mac OS X, etc.) come with pfctl command line tool that allow controlling the firewall. Speficially, pfctl -s rules outputs all currently active rules. pf also has a concept called anchors which are basically points to attach more rules but in a more dynamic fashion compared to the normal pfctl -f /etc/pf.conf. (See the pf man page for complete coverage.)
In my opinion, since the feature set of pf is larger and generally better integrated compared to iptables coming up with an exhaustive method of rule auditing is going to take some work. However, simple goals are worth going for - for example, checking for if the pf firewall is enabled at all, values of options like block-policy, or for the value of the first rule* would be definitely doable without too many problems.

rules starting with lines like block all are generally good indicators that policy is to deny everything at first and allow more specific pass exceptions later.

https://jira.corp.adobe.com/browse/CSTTEAM-44040


How to change format of logger? for example time and verbose level name and etc

For example:
10-08-2017 15:30:25 [DEBUG] src/ilo/mod.:61 - Hosts to build: ["xxx-local"], total: 1
10-08-2017 15:30:25 [ERROR] src/ilo/ilo_builder/mod.rs:108 - Host: xxx-local Error Msg: [6] Couldn't resolve host name (Could not resolve host: xxx-local)
10-08-2017 15:30:25 [ERROR] src/ilo/mod.rs:73 - Host: xxx-local
10-08-2017 15:30:25 [DEBUG] src/ilo/mod.rs:79 - Total hosts were built:

Hello :
Will the use of vs2015 compiler error, how to solve

@xiaodongkirin your comment doesn't seem related to this issue, and you seem to be spamming all issues.

@yoni386 I looked, and while I don't think you can supply a custom format string, it looks like you can set the log_prefix flag to prepend some information.

I see. Thank you
On Tue, 15 Aug 2017 at 7:03 Andrew Schwartzmeyer<EMAIL_ADDRESS>wrote:

@yoni386 https://github.com/yoni386 I looked, and while I don't think
you can supply a custom format string, it looks like you can set the
log_prefix flag
https://github.com/google/glog/blob/master/src/logging.cc#L1269 to
prepend some information.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/glog/issues/229#issuecomment-322372164, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALrs2pGtEZ9CudbDb9FLglCZ_q9zw5krks5sYRiVgaJpZM4OzW8b
.

--
Best Regards,
Yoni Shperling

Note log_prefix is true by default.
Customizable format is unnecessary feature for Google (internal tools depend on this particular format) but I'm happy to accept a PR if someone make this customizable as long as the default code path is kept unchanged.

#554 contains a possible way of adding support for this.

@shinh: any chance you could take a look at #554 to see what you think of that solution?

As a workaround, we are currently disabling glog's prefix altogether by writing to the FLAGS_log_prefix global variable (this has the benefit of not requiring gflags), and wrapping glog's macros to attach our own prefix.


'Create Note' Not Working (Sketch 3.8.2)

'Create Note' -feature doesn't seem to work in Sketch 3.8.2.

Make a new text layer on an artboard
Plugins > Measure > Create Note
Nothing happens ???

(sorry for the crappy gif, but I think you get the point)

last version of plugin???

Yeeeep, ok so updating to the latest version of the plugin fixed this 😅  k thanx bye


Allow null-terminated strings as element IDs

The current length of object ids is limited to 32 characters. It would be nice to increase this length to 128 characters to allow the usage of UUIDs as object ids.

good idea ... redefining MAXID is easy, but maybe a further step would be to allow null-terminated strings of arbitrary length.

I also like this suggestion, using UUIDs as network ids would a useful feature.

Redefining MAXID is not enough, the id length is encoded in some of the input[n].c files as well

is there a face-palm emoji?

could be done but might be important to do it in a way which won't break old code (backward compatibility). Also, 128 characters would defiantly break compatibility with EPANET 2.0 GUI, would be good idea to talk about this with the new GUI people.

good item for the roadmap, anyway. the future may look like migrating to a new set of apis, and adapt current functions to wrap the extended set for compatibility.

The new GUI we are building does not currently enforce a maximum ID length, it is just treated as an arbitrary Python string.

I've updated the title of this Issue to be more general. Thinking that the inp parser can have its own limits, but no need to impose those on the toolkit user.

Since EPANET stores network IDs along with other network data in the fixed length section of the binary output file, this would also affect the layout of binary file and retrieval of model element ID's via the output API.

Moving to 2.3


MessageBubbleTopLabel different heights in each cell

I'm trying to display user name only on some cells but I get an Autolayout Issue. I think it's because cell are reused and it's trying yo use a cell with a different height. I get this auto layout issue:
(
    "<NSAutoresizingMaskLayoutConstraint:0x7fa971fe5ba0 h=--& v=--& V:[UIView:0x7fa971fd2050(38)]>",
    "<NSLayoutConstraint:0x7fa971fd2490 V:[JSQMessagesLabel:0x7fa971fd21c0(30)]>",
    "<NSLayoutConstraint:0x7fa971fd2d60 V:[JSQMessagesLabel:0x7fa971fd2a00(20)]>",
    "<NSLayoutConstraint:0x7fa971fddb90 V:[JSQMessagesLabel:0x7fa971fdd890(0)]>",
    "<NSLayoutConstraint:0x7fa971fde200 V:|-(0)-[JSQMessagesLabel:0x7fa971fd21c0]   (Names: '|':UIView:0x7fa971fd2050 )>",
    "<NSLayoutConstraint:0x7fa971fde2f0 V:[JSQMessagesLabel:0x7fa971fd21c0]-(0)-[JSQMessagesLabel:0x7fa971fd2a00]>",
    "<NSLayoutConstraint:0x7fa971fde390 V:[JSQMessagesLabel:0x7fa971fd2a00]-(0)-[UIView:0x7fa971fd30e0]>",
    "<NSLayoutConstraint:0x7fa971fde430 V:[UIView:0x7fa971fd30e0]-(0)-[JSQMessagesLabel:0x7fa971fdd890]>",
    "<NSLayoutConstraint:0x7fa971fde4d0 V:[JSQMessagesLabel:0x7fa971fdd890]-(0)-|   (Names: '|':UIView:0x7fa971fd2050 )>"
)

Seems like NSAutoresizingMaskLayoutConstraint is ignoring MessageBubbleTopLabel height. If I return 12 instead of 0 in heightForMessageBubbleTopLabelAtIndexPath when user name is not displayed it works without issues but I get an empty space between each cell.
Any idea why this happens?

closing as duplicate of #817


Package request: vscode-extensions.almenon.arepl

Project description: VS Code Extension: AREPL for python
This VS Code extension allows for near real-time evaluation of python code within the editor in a 'preview' panel.
Metadata

homepage URL: https://github.com/almenon/arepl-vscode
source URL: https://github.com/Almenon/AREPL-vscode
license: MIT License
platforms: VS Code Extension: runs on all platforms

Have a look in:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vscode/extensions/
Read the README.md:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vscode/extensions/README.md
Edit:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vscode/extensions/default.nix
Build as:

nix build .#vscode-extensions.publisher-name.extension-name


Create devcontainer.json

Summary
A clear and concise description of what the problem or opportunity is. Link to an issue if relevant.
Changes
Describe the changes this pull request introduces.
Task list

[ ] For workflow changes, I have verified the Actions workflows function as expected.
[ ] For content changes, I have reviewed the style guide.

@jlaustill it looks like you haven't filled out our pull request template describing what issue this problem solves. I'm going to close this out. If you still would like to make a change, please follow our pull request template with information about the change and what problem or issue it resolves.


Migrate MacOS notifications to latest OS framework

The Chore
When you install the desktop wallet, OS notifications are disabled by default. We should let the user know that it is possible to turn them on in their OS settings.

We will have to update our mac os implementation using the user notification kit
https://developer.apple.com/documentation/usernotifications/asking_permission_to_use_notifications?language=objc

I managed to migrate to the UserNotification framework, but for obscure reasons I couldn't make it work. Something blocks the request for authorization.
In order to give a way out to users, I made sure the application is brought to front when internal requests interactions are raised.


Why std::endl is used in code examples?

Case and point, Logical AND operator: &&, we have in code
cout  << boolalpha
         << "The true expression "
         << "a < b && b < c yields "
         << (a < b && b < c) << endl
         << "The false expression "
         << "a > b && b < c yields "
         << (a > b && b < c) << endl;

Why this code show using std::endl , which according to this page trigger flushing of the stream? It most cases we don't want flushing stream and many people don't even have idea what this mean (my included).
Recommended way that I know is to use '\n' instead. If Microsoft team also thinks that in most cases '\n' I suggest to replace std::endl with '\n' everwhere we can, to encurage better coding practices. I volunteer to rewrite all this code, just give me a time.

I also consider using namespace std; to be a bad practice, but this is separate topic.

@KZiemian
These two areas, whether to flush output immediately, and whether to use entire namespaces, are not universally agreed upon as good or bad programming practices. The use of both using namespace std; and std::endl isn't consistent in our documentation because different authors have had different opinions on their usage in context.
Regarding std::endl, it's appropriate to flush when writing to stdout if interacting with a user. You want your output to be displayed before accepting the next user input. On the other hand, when writing to a file stream, performance considerations may argue against flushing with every line. You may want to flush once per page, per record, or per transaction. So, in response to your question, flushing is sometimes important for interactive code, and avoiding flushing is sometimes important for performance, and there may be exceptions to both cases.
As for using namespace std;, the main argument in favor is because it's less typing. The main argument against is to avoid potential namespace collisions and programmer confusion. In small projects that don't use anything other than the standard library, there's no reason to worry about namespace collisions. The compiler will raise error messages in that case. If you like to see the fully qualified names for functions everywhere because you find it reassuring to know exactly which functions you're calling, then don't import namespaces wholesale. The IDE knows where and how each symbol is declared, and it will tell you the fully qualified name if you just hover over the symbol. So, the confusion issue is overblown. It's also safe to add qualifications only when you have actual collisions.
We'd consider changes to either of these uses when they're clearly wrong in our examples, but not if it's just a style preference. We use both styles to avoid picking sides in battles when there isn't true consensus on good engineering practice.


(mini.starter) Feature: exposed path string configuration via path_modifier parameter

Feature:
This patch adds a path_modifier parameter to MiniStarter.sections.recent_files which changes the way path is displayed. This defaults to nil, which is redefined as function(x) return x end.
By exposing the path variable via the path_modifier parameter, one can change how the path for each file is displayed, such as shortening the path. See below for a potential use case:
local function path_modifier(str, max_count)
    -- can use vim.regex() for this...
    local tail = vim.fn.fnamemodify(str, ":t")
    local head = vim.fn.fnamemodify(str, ":h")
    local new_str = ""
    local count = 0
    if head == nil or #head <= max_count then
        return str
    else
        for c in string.gmatch(head, '.') do
            if c == "/" then
                count = 0
            end
            if count < max_count then
                new_str = new_str .. c
                count = count + 1
            end
        end
    end
    new_str = new_str .. "/"
    return new_str .. tail
end
require("mini.starter").setup({
    items = {
        starter.sections.recent_files(.., .., .., function(x) return path_modifier(x, 4) end),
    },
})

[x] I have read CONTRIBUTING.md
[x] I have read CODE_OF_CONDUCT.md

Thanks for the PR!
I am not sure if this fits nicely with current design. I'll take some time to think about it and get back to you.

Understood. A more friendly API may be to use a gen_hook. If this is desired, I can modify this PR / submit a new one.

Hi again after a long time! I've finally made an effort to revisit the backlog.
What this PR achieves with new path_modifier is now possible on main branch with callable show_path. See this part of help.
Nevertheless, thanks for your effort doing this PR!


WIP - Updating example to use beacon properly.

The code compiles and runs, but it has exposed an issue where the beacon doesn't work.  The example should now be able to be run without args.  The first such instance will know it's the first node of a new network.  The second instance should fall back to use the beacon to connect to the first, but this fails.
Even though this probably could be merged safely, I've left this marked as WIP since I've started diagnosing this error rather than completing the example.  The only part missing from the example is the sending of random data at a fixed rate.  This is commented out and shouldn't take long to re-enable.  (I also need to remove some debug printlns).

Coverage decreased (-0.21%) to 88.3% when pulling 32de500552612ec4a50a2cf24298cef7d2ee2ca1 on Fraser999:node_example into d7a0872d36b90b4153310827cda65ada35912fc8 on dirvine:master.


Solve the problem that the user-defined authentication class cannot r…

Support user-defined authentication class to retry after session expiration and reconnection.

https://github.com/python-zk/kazoo/issues/602

I see this is opened against the release/2.6 branch... typically we aren't cutting bigfix releases against minor releases as we'd rather spend our limited volunteer time moving the project forward... please upgrade to 2.7 and if you still see an issue than open a PR against master.


Error handling for getGitHubApiResponse

Describe the bug
When you don't have SSL installed, getGitHubApiResponse() returns false
To Reproduce
Steps to reproduce the behavior:

Composer start
No SSL certificate installed
Try http://localhost:8000/?user=DenverCoder1
See error

Expected behavior
It should make a normal request to Git.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser Chrome
Version 20H2

Additional context
Add to documentation

I can deal with this.


Revert "fix(dependency): add origin to the provided base branch"

Checking out detached HEAD does not have any implication on the remote.
If a base branch is provided in shorthand without the remote, it will check locally for the branch followed by on the remote if it doesn't exist locally.
This reverts commit 8c2a1b3624acd00c035b0cb8e0cd91f169237142.

Will raise new PR


Terminal window: visible path in dropdown

Issue Type: Feature Request
Path info in dropdown, relative path visible and full path in tooltip and on dropdown opened
When multiple terminal windows are opened, that would let developer to see which one is running something in wich path.
Personally I find that it would be even more relevant that the number of window, which does not apport much information when > 4 windows opened.
VS Code version: Code 1.32.2 (e64cb27b1a0cbbc3f643c9fc6c7d93d6c6509951, 2019-03-13T01:56:08.693Z)
OS version: Darwin x64 18.2.0

/duplicate https://github.com/Microsoft/vscode/issues/29816


Could you kindly explain how you chose the parameter for integrator?

Hi, thank you for the helpful code.
In this following code, I wonder why you chose this parameter "1.2"? Is there any motivation?
https://github.com/zhixinshu/DeformingAutoencoders-pytorch/blob/master/DAENet.py#L484
self.warping = self.integrator(self.diffentialWarping)-1.2
Is this parameter introduced so that parts of the deformation fields could be of negative value?
And is the model performance sensitive to this number?
Thanks so much.

I think I got the answer. Thanks any way.

@pxiangwu Could you explain a bit to me about why 1.2 is used here? I still did not get it.

Hi @zhixinshu, @pxiangwu and @xwjabc
I am also curious about why we need to subtract 1.2 in the integrator, is it used as a kind of normalization? Could you please explain more?
Thanks!


Report functions

Hi,
In current version, we don't have report function. Example:

Rack using in site
Free unit
Total unit using
...

Could you please add more detail to this issue? This isn't sufficient to mark as a feature request.

Hi jeremystretch,
I think report function helpful in Netbox. Example, my manager want to know: rack using statistics in site or rack group ( total u used in rack 24u, total free u in site/rack group), total device in site/rack group, total ip used...

You can create your own reports for most objects using export templates. NetBox doesn't include any default reports because everyone is bound to want different data in different formats. Export templates allow each user to extract precisely the information they want.


Create decoder.min.js

The current v3 stack has a limitation on uplink decoder file size, something with 4Kb while the current decoder.js script is about 7Kb.
This minifies the JavaScript so it's accepted by the stack.

@aparcar thanks for your contribution 😄


Add retry connection logic to handle failures when consuming messages

Purpose

Add retry logic to handle connection failures when consuming messages from RabbitMQ

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

@suhothayan Can you please merge this?


Show the contents of a sidebar entry on hover

What's the Problem?
No response
Solution/Idea
I feel like having the entries show up on hover would make it easier to view what's inside each sidebar category. This could be a sidebar setting.

Alternatives
Clicking on the category to show the menu. Attempting to use keyboard shortcuts to transverse the sidebar (when collapsed). Only clicking really works but is not the best.
Priorities

Capability
Priority

This proposal will allow end users to accomplish faster sidebar navigating
Could

Files Version
No response
Windows Version
Windows 11 22H2 22621.1
Comments
No response

Merging with #3201

Any additional info on not planned?

Any additional info on not planned?

It's a duplicate of #3201, I'm not sure what GitHub added the not planned for but it doesn't mean anything

But that feature request doesn't really seem to be the same as mine. It seems like it's more about the expanding of the entire sidebar, as that's how edge works, and not about just the expanded menu (from my screenshot)

@RagingLink I think I have a better idea what you're looking for, this is a behavior that will have to come to the WinUI library before we implement it in Files. Can you open an issue on the WinUI repository and link it here?


please updata 1.21

描述你希望添加的功能。 Describe the feature you'd like.
please updata 1.21
其他 Other
please updata 1.21

We are waiting for Folia currently.Please wait for a moment.


Sast/script service v2

Are you a customer of Octopus Deploy? Please contact our support team so we can triage your PR, so that we can make sure it's handled appropriately.
Background

Results

Fixes https://github.com/OctopusDeploy/Issues/issues/... (optional public issue)
Fixes https://github.com/OctopusDeploy/ResearchAndDevelopment/issues/... (optional private issue)
See How we use GitHub Issues (including this flowchart
Before

After

How to review this PR

Quality :heavy_check_mark:

Pre-requisites

[ ] I have read How we use GitHub Issues for help deciding when and where it's appropriate to make an issue.
[ ] I have considered informing or consulting the right people, according to the ownership map.
[ ] I have considered appropriate testing for my change.

[sc-46274]

+semver: minor

Fixes: https://github.com/OctopusDeploy/Issues/issues/8229


Skip ImplementsFactoryInterfaceToPsrFactoryRector when $requestedName and/or $options is used

Q
A

Bugfix
yes

Description
Skip ImplementsFactoryInterfaceToPsrFactoryRector when $requestedName or $options (for whatever reason) is used.

Fixed 🎉

All green 🎉

I am merging it ;)


Tolerate thrift IDL annotations

r @malandrew @leizha @Raynos

LGTM. The only comment is if there are a lot more places in which type annotations are relevant. Is it only structs and fields or are type annotations supported on a lot more types. IIRC correctly the answer is yes.

LGTM

@malandrew Let’s revisit and make sure that we’ve covered all the annotatable terms in another pass. Also: in a future pass, thread annotations through.


Please invite me to the GitHub Community Organization

Name
Raj Parekh
Discord Username (if applicable)
shroud
Additional Context
I came across eddie on youtube when I was searching about open-source, then I asked him about my doubts via commenting on his tweet to which he replied back here... https://twitter.com/eddiejaoude/status/1485544173868810240,
I want to learn and grow myself while giving back to the awesome and supportive tech community for which open source is the best way and since Eddie is the torchbearer in the open-source world, what better way than to work under his guidance!!

How and where do I start? What should I do? I only know Java and DSA problem solving... I haven't built any major projects.

Join the EddieHub Discord and you can chat in there with the community
Here is a video I created that might help https://www.youtube.com/watch?v=8B_JWf7pG20


Add desktop

Adding variants for C++,  .NET and an all inclusive

This is great work, thank you @crutkas
Am gonna try in a VM and then will merge.


docs[minor]: Fix broken link used in quickstart

The URL to the overview page used in the Retrieval Chain section of the quick start page returns a 404 not found error
This PR will replace the URL with a link to the user guide page instead.

Thank you! Going to patch a few other instances as well.


ZelHash Implementation

ZelHash implemented
Public Testnet compatible
Protocol version 170012

Co-Authored-By: lolliedieb @Lolliedieb

I will be back in office on Monday and check full code then so we can do
public testnet and mainnet release asap :)
Jeremy Anderson<EMAIL_ADDRESS>schrieb am Fr., 17. Mai 2019,
13:42:

@blondfrogs commented on this pull request.
In src/crypto/equihash.cpp
https://github.com/zelcash/zelcash/pull/36#discussion_r285223039:

     memcpy(personalization, "ZelProof", 8);

 else
     memcpy(personalization, "ZcashPoW", 8);
 memcpy(personalization+8,  &le_N, 4);
 memcpy(personalization+12, &le_K, 4);
 return crypto_generichash_blake2b_init_salt_personal(&base_state,
                                                      NULL, 0, // No key.

                                                    (512/N)*N/8,

                                                    (512/N)*((N+7)/8),

okay. sounds good. Lets make sure it is implemented in the correct spots
when you get back
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zelcash/zelcash/pull/36?email_source=notifications&email_token=AJS63R3NAKRDNLMC6WMB47LPV3U6RA5CNFSM4HNXAEM2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOBY72GGI#discussion_r285223039,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJS63R7JD5WZAV442IEF6XDPV3U6RANCNFSM4HNXAEMQ
.

utACK - Code looks good. Can't wait to test it. We will need to remember, that will a new testnet, we will want to upgrade the seed nodes quickly, also, mining a new genesis block might be required.

@blondfrogs Not sure if I included the seed nodes I added on my fork. Will double check and we might want to create a new spork key pair for the new testnet as well.


Page titles too small

Are you requesting a feature, reporting a bug or asking a question?
Asking a question
What is the current behavior?
Page titles seem very small in comparison to my panel titles. How and where exactly should I modify the css fie of the survey in order to make the font of the page titles larger? Thank you

.sv_main .sv_container .sv_body .sv_p_root .sv_page_title {
  font-size: 40px;
}

Here is the sample - https://next.plnkr.co/edit/2EHtjoH5g7zvAU6B

.sv_main .sv_container .sv_body .sv_p_root .sv_page_title {
  font-size: 40px;
}

Here is the sample - https://next.plnkr.co/edit/2EHtjoH5g7zvAU6B

Yeah, that works, thank you very much! :D


Support Matrix parameters

Please add support for matrix parameters: http://www.w3.org/DesignIssues/MatrixURIs.html

What is the status on this feature guys?
Quite eager to use Matrix Parameters in my URIs and your library would be a perfect fit if it had the support :)

the status is: we have figured out what "Matrix Parameters" are supposed to be. There is no clear specification, only a thought-document.
as far as I know nobody has started implementing anything yet

Could the matrix function take a few optional configuration options with the contrived edge-cases so that the user decides if they want for example to use last parameter wins or alternatively treat it as a list in the same way the query parameters would do? Similarly so there could be options to configure other edge cases like that, there can't be that many?

The problem with that is that two users would interpret the same string as different resources - something that we already see happening with query strings. You want to avoid these situations. like the plague. (that said, I'd go with the proposed comma and be done with it.)
You're welcome to try implementing this. I'll not get around to it for quite some time.

what is the website of URL Matrix? Someone supports me to use it so that i can check My site http://vuanhhospital.com.vn/detal/kham-suc-khoe-tong-quat-svvmmqpnxv , but i cannot find out the site. :(

Angular 2 use Matrix URL notation.
https://angular.io/docs/ts/latest/guide/router.html
Angular is very popular and sure Angular 2 is another game changer. Really great is URI.js can support Matrix notation.

As the author of one of the documents referenced by @rodneyrehm I figured I'd weigh in. (Thanks @Laurian for alerting me.)
It is true, per @annevk that path parameters (aka matrix parameters) look like something thought up by timbl but never really put into practice. We probably have the early-90s work on CGI and cgi-lib.pl (and its descendants) to thank for that. Consider:

Before there was a key-value QUERY_STRING environment variable, the query parameters were the argv of the script. This behaviour still exists (e.g. ?one+two+three generates ["one", "two", "three"].)
Query strings have been amenable to manipulation by HTML forms (with method="GET") since forever.
There is a clean mapping between argv and QUERY_STRING; not so for path parameters, because there's one list of them for every path segment. (Moreover the / delimiter supersedes sub-delimiters, so you can't have a literal / in a path parameter.)
So what does it mean for, e.g., the second-to-last path segment to have parameters?
Moreover, what does it mean to have a system of parameters in general which is completely orthogonal to the system of query parameters?

(Aside: For the longest time, there was no effective distinction, from the point of view of the CGI-and-its-descendants API, between parameters which came in from the URI, and parameters which came in from the request body. I am happy to see that many frameworks have finally teased these back apart.)
URI query parameters are historically meant to manipulate a resource's response. We imagine the resource to be a function (hopefully with no side effects under GET) and the parameters tell the function how to produce representations. This way it's possible (in theory, less in practice) to conceive of a 1:1 mapping of the domain (the set of query strings) to the range (the set of, e.g., byte segments) of the resource.
So that position is filled. What role should path parameters play, then? There's a set for each path segment, they aren't manipulable by ordinary HTML, and there is already a perfectly good infrastructure around query strings.
In my own work, I've used path parameters to represent successive operations over resource representations. So I already have a resource which generates some representation by whatever indiscriminate means (could be a file, script, framework, etc.), and the path parameters represent functions which take these representations as input, along with a list of arguments (unlike query parameters which represent lists of arguments by repeating the parameter key). Here is an example of a picture being turned into a black and white avatar:
/a-picture;crop=100,100,400,400;scale=32;desaturate

We can imagine the picture's pixel data passing through the crop function with the given parameters, say x1 y1 x2 y2 (defined elsewhere), then scale with w (an optional h being omitted because the scaling is square), and finally desaturate, which takes no additional arguments. Not only does the URI path segment indicate that the resource is a derivation, but it also tells the story of what the derivation is. Furthermore, you would be able to clip off the individual parameters at ; and see the penultimate state of the resource's representation, in a manner analogous to clipping off path segments at the / to see the "directory" under it.
Anyway, that was the best I could come up with for path parameters.

Similarly with @doriantaylor, I'm looking into matrix params as sequence of operations in two specific case:

composition of Media Fragment URIs into a playlist: /base/video1.mp4;t=0,10/video2.mp4;t=23,56 as the query string format will limit me to one fragment per URL http://www.w3.org/TR/media-frags/#standardisation-URI-queries
parameters for a Capability URL segment which would enable some operations on the resource past that segment: /edit;key=ab;ttl=100;hmac=cafebabe/folder/file.extension similar with Tahoe-LAFS example from http://w3ctag.github.io/capability-urls/#tahoe-lafs

As far as I understand Parsing matrix URLs, @doriantaylor's image manipulation example is in conflict with at least two of three implications cited:
/a-picture;crop=100,100,400,400;scale=32;desaturate

attributes can only occur once - not sure
there must be a syntax for removing an attribute - violated by ;desaturate
attributes are unordered - I'm pretty sure ;crop=…;scale=… generates a different image than ;scale=…;crop=…

Correct me if I'm wrong, but this seems to be using the syntax without the semantics. Which is fine, I'm not judging. It does, however, point out how different interpretations make this a tough topic.

Regardless of Matrix URLs I have problems reconciling @Laurian's playlist example (/base/video1.mp4;t=0,10/video2.mp4;t=23,56) with the hierarchical nature of the path. Technically this is not an illegal use of the path segment, but it does feel wrong. (I'd probably have preferred : as the file delimiter, mostly because it's the delimiter in linux, e.g. PATH=some-path:$PATH)

The last section of https://www.w3.org/DesignIssues/MatrixURIs.html covers most of these points.

@rodneyrehm indeed if I saw that document (I can't remember), it would have been over eight years ago when I wrote mine, and I would have disagreed with it just as much then. ;)
When I reread timbl's Matrix URIs document, I'm basically seeing a description of query string parameters as they already are, with the exception of constraints 1 and 2.
Constraint 1, that an attribute ought only occur once, actually contradicts TBL himself when he wrote that URIs should only ever need to be compared lexically (source forthcoming; see also Fielding). Constraint 3, as well as query parameters, which can vary as n! of the number of keys (to say nothing of semantically-equivalent lexical perturbations in the values), also already violate this other constraint.
Constraint 2, that there must be syntax for removing an attribute, is presumably to be analogous to ../ in relative path URIs. My comment there is: good luck retrofitting that into $EVERYTHING. You can already do relative URIs with query strings; you just have to supply the entire query string, à la href="?foo=bar". In other words, it isn't clear to me what is gained by the ability to prune a path parameter through a relative URI, especially considering what it would cost to realize it.
When I did my original path-parameter work, my motivation stemmed from the fact that I had a bunch of resources that were related in ways that were both purely deterministic, and parametrized, so I was initially looking for a reasonable, less ad-hoc way to generate an addressing scheme. I later came up with the idea that they could represent functions over representations (including things like @Laurian's time slicing). The other cool thing would be that you could develop these filter functions separately from the application.
A side note on parameter sequence: If you really wanted to, you could treat the sequence of query parameters as significant—it's just an (almost universally-held) implementation convention that they aren't. Indeed web browsers append query parameters to form target URIs in the order they appear in the document. (Of course the HTML specs have admonished us for aeons not to bank on that.)
So, I may have read that document 8-9 years ago, I may not have. (I did read several TBL dispatches around then). It's definitely interesting, but in the 20 years since it was slapdashed out, a lot of code has been written.
If the world survived for two decades without matrix parameters as described in that document, then there probably wasn't a serious need for them. The syntax, however, has been sitting patiently all this time waiting for a useful semantics. But then, I suppose to paraphrase Andreessen, "running code wins".

Anyway, for my immediate purposes I will play with URI.parseQuery on uri.segment() and I will make a transcoding operation from matrix params to query string format. I will report back.

Hi guys,
I recently had to use matrix URIs at my internship. I found this particular thread extremely informative. Seeing that there wasn't much support out there for Matrix URIs in Node, I've developed an express-compliant npm module (matrix-parser) for this purpose.
Its fully functional (although not optimized, but I'm working on it) and I've tried my best to implement the rules discussed by @rodneyrehm and @cowwoc. Since I'm not so experienced with JS, I'd appreciate if you could have a look at the module and give me feedback.
I've written lots of tests to cover side-cases, you can see their descriptions to understand what rules I'm following.
If you think that this is something URI.js could use, please let me know. I'd like to make a contribution to this repo as well :)
Here's the repo

One of my colleague is trying to passing an ISO timestamp value to the server which I developed.
For following paths
.../someThings;min=yyyy-MM-ddTHH:mm:ssZ/someOtherThings

The colons of the time part, HH:mm:ss, is escaping.
Can anybody please help me to help him?


Session not created successfully

I've tried login in with my google account without success, the pic works fine tho.

Nevermind, I had a special character in my password. I had to escape it with a backslash "".


Publish to Maven Central

It's currently quite difficult to use this library without jumping through operations hoops to host the library

Thanks for the suggestion! We're not going to make this change right now, but we appreciate the feedback and will consider this going forward.


Add multiple descriptions to several classes

This pull request adds several descriptions to multiple different classes.
This improves the completeness of the documentation.

Thanks!

Cherry-picked for 3.4.

Cherry-picked for 3.3.3.


Improve error message when auth fails

I did not have my environment variables set correctly when running terraform import ....  While I can guess that the 401 in the unexpected response is because of missing auth, it would probably be better to handle this and return an error that gives the user an action they can take.
cyral_repository.xyz_mysql: Refreshing state... [id=xyz-mysql]

Error: unexpected response from resourceCyralRepositoryFindByName; status code: 401; body: &{%!q(*http.body=&{0xc0000b23a0 <nil> <nil> false false {0 0} true false false <nil>}) {'\x00' '\x00'} %!q(bool=false) %!q(*errors.errorString=&{EOF}) %!q(func(error) error=<nil>) %!q(func() error=0x702640)}

Some examples of error handling that would improve the experience:

if AUTH0_CLIENT_ID is required, then it should error out saying AUTH0_CLIENT_ID is missing
if AUTH0_CLIENT_SECRET is required, then it should error out saying AUTH0_CLIENT_SECRET is missing
if they are set and auth fails, then it should report back that "authentication has failed, please check ..."

@wcmjunior It has definitely improved.  I now get errors that help me know what to do to correct them.
use provider variable 'client_secret' or environment variable
'CYRAL_TF_CLIENT_SECRET'

then
Error: Unable to read credentials

  on terraform.tf line 10, in provider "cyral":
  10: provider "cyral" {

use provider variable 'client_id' or environment variable 'CYRAL_TF_CLIENT_ID'

The error when the client id or secret are incorrect could still be improved a bit.  A 500 seems like a server error - so I wouldn't think to check my client id and secret to fix the issue.
❯ terraform plan

Error: Unable to create Cyral client

  on terraform.tf line 10, in provider "cyral":
  10: provider "cyral" {

keycloak requisition fail. Response status code 500. Response body:
&{0xc0000a0640 {0 0} false <nil> 0x1308300 0x1308280}


Binary search tree python implementation is not in list

GitMate.io thinks possibly related issues are https://github.com/NITSkmOS/Algorithms/issues/43 ([Algo] Binary Search [Python]), https://github.com/NITSkmOS/Algorithms/issues/51 ([Data Structure] Binary Search Tree [Python]), https://github.com/NITSkmOS/Algorithms/issues/234 ([Data Structure] Skip List [Python]), https://github.com/NITSkmOS/Algorithms/issues/188 (binary-search in c), and https://github.com/NITSkmOS/Algorithms/issues/50 ([Data Structure] AVL Tree [Python]).

please assign to me. I want to work on this

Duplicate of https://github.com/NITSkmOS/Algorithms/issues/52


Need to bind to port 8080 in development mode

Describe the bug
assumption that vue is on port 8080 in development mode,when in fact it may be on another port, eg 3001
Expected behaviour
bind to port 8080 in development mode
Environment

Version: version 2.x
Platform: Web App
OS: any
Browser: any

To Reproduce
use NODE_ENV=development environment
observe that Vue may use port 3000, 3001, etc
run various OAuth tests, observe the use of http://localhost:8080
Any additional context, screenshots, etc

Fixed in pull request #477


'license.header' file detected in contrast to documentation

Given LICENSE and license.header (for use with https://github.com/mycila/license-maven-plugin) in the root directory, I get the following output from licensee:
License: Other
Matched files: ["LICENSE", "license.header"]
LICENSE:
  Content hash: d7bc6f56cd49606d0134945d4b91ae47d3cee458
  Confidence: 100.00%
  Matcher: Licensee::Matchers::Exact
  License: Apache License 2.0
license.header:
  Content hash: 6a65d7401913f8c9df6b72ddf98ff0b1ca32e80b
  License: Other

According to the documentation, it shouldn't look at license.header. Is this a bug? What is a good way to work around it?
An additional question is if it wouldn't be best to select the most precise match: in this case, there is a perfect match with Apache 2.0, so why not pick that rather than something that looks like noise?

(BTW, the documentation I was referring to is https://github.com/benbalter/licensee/blob/master/docs/what-we-look-at.md).

I renamed license.header to apache2.header and that seems to have solved it, at least when running licensee locally. It still doesn't work on github.com but I expect that's because some cache needs to expire before it tries again.

@pettermahlen Can you explain a bit more about what the license.header file does and how widely it's used? We don't look at license headers, meaning comments on the first few lines of a code file, but we do look for all license.* files in the root.

The mycila Maven license plugin can be configured with a header to use, and will then ensure that all code files in a repo have the correct license header. I had chosen to put the header in a file named license.header, and had no idea of the reason why the github.com API failed to detect a license despite everything looking correct. After a lot of searching, I ended up here, checked the documentation and concluded that everything was correctly set up (the only file type that should be checked according to the documentation was LICENSE, and that had identical contents to another one). Github's API provided no information about what went wrong, so eventually I installed licensee locally and noticed that it was detecting two license files.
I don't think license.header is likely to be a commonly used file name. But it would have saved me some time if the documentation stated that licensee in fact looks for licenses in all license.* files, and that if it finds two files matching the name pattern, it'll always report 'Other', which Github translates to 'no license found'. Or, perhaps, to change behaviour so that licensee only considers at files that seem to have licenses in them and does the fallback to 'Other' only if there are more than one of those?

https://github.com/search?q=filename%3Alicense.header gets 17k results. Maybe just exclude license.header by modifying
https://github.com/benbalter/licensee/blob/e32df8c0330f886ed0a96551f39b6db6a14e93f3/lib/licensee/project_files/license_file.rb#L10-L11


update ci workflows

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
238

Relevant Lines:
251

💛  - Coveralls

@tversteeg @RDWimmers
It was a bit of a hassle to figure out the confusing github workflow logic, but I have a new github workflow, I think we should in all github repos:

Test
Actions: Unit-test & test-docs
Trigger: push event OR pull_request event

Release
Actions: Unit-test & test-docs > deploy docs > deploy pypi
Trigger: create tag event

I made the 'test' workflow callable, so that we also run it in the deploy workflow.


Enhance RegistryClient tests

We should have tests around the RegistryClient network requests.  Maybe can make TestWebServer take a list of expect-response pairs.
Originally posted by @briandealwis in https://github.com/GoogleContainerTools/jib/pull/1793/review_comment/create

Sounds good. Just don't start working on this now; I have a branch modifying TestWebServer that I was planning to push at some far point in the future, and I think I should push that now.

@louismurerwa some tests we can add:

RegistryClient.pullManifest()
RegistryClient.pushManifest()
RegistryClient.checkBlob()
RegistryClient.pullBlob()
RegistryClient.pushBlob()


Cannot launch zppy from batch job on chrysalis

Follow-up to https://github.com/E3SM-Project/mache/issues/58.
I was hoping to be able to bypass the issue by just specifying
machine = chrysalis
in the cfg file, but that doesn't work either.

The issue is that we need MachineInfo to get the Unified path at https://github.com/E3SM-Project/zppy/blob/main/zppy/main.py#L80
We currently have the below code block after the MachineInfo block:
    config["default"]["machine"] = machine
    if config["default"]["environment_commands"] == "":
        config["default"]["environment_commands"] = environment_commands
    if config["default"]["account"] == "":
        config["default"]["account"] = account

Perhaps we could do something like the following:
if tmp:
  if config["default"]["environment_commands"] == ":
        machine_info = MachineInfo()
        unified_base = machine_info.config.get("e3sm_unified", "base_path")
  ...

Then, MachineInfo would only get called if we don't have the environment_commands

You need to call MachineInfo with the machine argument. It should default to None if the machine is unknown but should use zppy's machine config option if it is provided.

I also think you should be using mache to figure out what machine you're on rather than having your own logic in zppy to figure this out right after mache has just done it.

    # Determine machine to decide which header files to use
    if "machine" in user_config["default"]:
        machine = user_config["default"]["machine"]
    else:
        machine = None
    machine_info = MachineInfo(machine=machine)
    if machine is None:
       machine = machine_info.machine
    # this will be different for cori, so we should figure that out...
    config["default"]["machine"] = machine
    unified_base = machine_info.config.get("e3sm_unified", "base_path")
    environment_commands = (
                f"source {unified_base}/load_latest_e3sm_unified_{machine}.sh"
            )
    account, partition, constraint, qos = machine_info.get_account_defaults()
    ...


Add small COCO as tfrecord file with index

Signed-off-by: Albert Wolant<EMAIL_ADDRESS>

Please add this TFRecord as LFS file.

Done


Test build and deploy via Travis-CI.

Run flake8 and npm install.

@peterbe so this now has succeeded and we have travis testing the builds, checking the python with flake8, and deploying to heroku if all is well \o/
You should still be able to manually deploy as well if you so choose.

That's fantastic!


ExistentialSpecializer Test Case

Test case for ExistentialSpecializer https://github.com/apple/swift/pull/13991/

@slavapestov This is the test case for testing ExistentialSpecializer.

This should be part of the other PR.

Thanks @slavapestov. Will merge.

@rajbarik asked me to close


Fix notice when exchange type not provided

Since v1.8.0, the consumer factory makes a notice if the exchange type is not provided.
The exchange class accept the name only if the exchange is already created.
@mente

That's strange. There's a test for this particular case and it passes (with consumer_1)

Ok from my side


Fix typo in virtualenv

Ending ; was causing tests to not pass, amending that.

Tests were not passing, i did a typo. I didn't expect that to be merged so fast, thx for it and sorry for the bug.


EDPUB-1222: Update submission table to handle auto steps.

Description
Update submission table to handle auto steps.
A flag can be added to the object this function creates to gray out the next step button for given request.
In addition a reload flag can be added that would be set true in the event of a step having an action_id and its last updated timestamp is less than 2 minutes old.  If this flag is true it should cause the active endpoint the be required after a brief delay (~30 Sec).  This would prevent a user from trying to progress an automated step as well as trigger an auto refresh to check and see if the auto step is complete.  The refresh function should set the refresh flag to its default state of false and the filter should only be able to set the flag to true.
Spec
See Ticket: EDPUB-1222

Validation
In home page and in requests page if the next action is [Map Question Response To Ummc] or if actionid exists then until the background task is completed we see a greyed out button which can not be clicked.

I don't think it's an issue, but the refresh attempts will reset any time the page is refreshed meaning that if you have a step stuck in an action step, your dashboard will attempt refreshing 4 times every time you load to the home or requests page. Given the limited memory of the front-end, though, I believe this method makes the most sense.


gitAction

update to master,

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6003e9e). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #286   +/-   ##
=========================================
  Coverage          ?   74.57%
=========================================
  Files             ?       20
  Lines             ?      889
  Branches          ?        0
=========================================
  Hits              ?      663
  Misses            ?      226
  Partials          ?        0

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 6003e9e...54e8256. Read the comment docs.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6003e9e). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #286   +/-   ##
=========================================
  Coverage          ?   74.57%
=========================================
  Files             ?       20
  Lines             ?      889
  Branches          ?        0
=========================================
  Hits              ?      663
  Misses            ?      226
  Partials          ?        0

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 6003e9e...54e8256. Read the comment docs.


Update README.md

Hi,
This small PR adds a button to get your app on F-Droid 👍
close #2

Thank you 👍


How do you run the generated linux output?

I apologise if this is a simple question, I rarely use Linux but wanted to add support for it as a platform.
Now I am using electron version 0.30.2 and the package generated contains all the *.so files and the main Electron file, but when I put them on linux (I installed ubuntu on a VM) it doesnt seem to know how to open the Electron file.
There seems to be very little information online around this, and I know that this library basically gets the electron files and just copies and renames them but just wanted to see if there was some common way to just run these outputs on a fresh linux install. I have seen references saying there should be an Electron.app which there isnt, and some snippets here and there mention python bootstraps but I cannot find any solid information on how to build in windows and deploy on linux anywhere... which is baffling as I assume this would be a common thing.
Any help/advice would be great

Electron.app is for OSX.
To run the app in Linux:

Open up a terminal, cd to the output directory of your app.
Run: ./Electron (though, I think the name of the executable should have changed to $appname.)

I tried doing this but I just get "Command not found", in reality the actual output is MyAppName not Electron but if I were to do ./MyAppName it just gives the error above.

Does MyAppName exist in the output directory?

Yeah, Here is a screenshot:
https://dl.dropboxusercontent.com/u/98595151/ShareX/EMBERSOFT1/electron-linux.jpg

What platform did you actually run electron-packager on?  IIRC, Windows eats the proper permissioning of the Linux executable which should be executable.  If you do ls -l and see no x bits on MyAppName, that's your problem.

I ran it via grunt with these settings:
electron: {
    windows: {
        // Lets not care about this
    },
    linux: {
        options: {
            dir: "./app",
            name: "MyAppName",
            platform: "linux",
            arch: "all",
            asar: true,
            overwrite: true,
            version: "0.30.2",
            icon: "resources/my-app-icon.ico",
            out: "_packages/raw",
            "app-version": appPkg.version   // appPkg is just a reference to the package.json
        }
    }
},

Using windows 10, latest Grunt (as of like a week ago) and latest version of this lib.

HUZZAH! ok so if I right click there is a check box "Allow Running As Executable", clicked that and boom runs like it should do.
So I guess the next question is as briefly mentioned above, is there a way to preset these permissions?

You might have to build your app inside a Linux VM to do so. (You can build Electron-based apps for all platforms on Linux.)

Yeah, I just didnt want to have to start hopping between O/S to build stuff, although I heard somewhere that I would need to do that for Mac OS anyway, as apparently you can only sign stuff with XCode.

Any update of this?

I don't know how to fix this on Windows hosts. This would be a good bug for someone in the community to research and see if a fix is even possible.


UK House Names Parsing issue

I've done as much debugging as I can on this one. Data appears in OSM, house names linked with postcode (no road in OSM). If a road name is in the address string the parser will not determine the house correctly and instead everything ends up in road. Perfect example below
Fernlea, Leigh Street, Leigh Upon Mendip, Radstock, BA3 5QQ,
{   "road": "fernlea leigh street",   "city": "leigh upon mendip radstock",   "postcode": "ba3 5qq",   "state": "england" }
If the road name is removed:
Fernlea, Leigh Upon Mendip, Radstock, BA3 5QQ
{   "house": "fernlea",   "city": "leigh upon mendip radstock",   "postcode": "ba3 5qq",   "state": "england" }

That's probably not a case that can be fixed very easily. Remember that even with the millions of examples from OSM, etc. libpostal still has an error rate of 0.5% on held-out (not seen during training) examples from its own corpus, and road vs. house is the most frequent class of mistakes. These cases will improve as OSM improves, and it seems like almost none of the houses on that street include the addr:street tag, so it might be worth adding tags/addresses to OSM whenever you see a mistake. Every edit will eventually get incorporated into our training data.
I'll also note that this doesn't happen currently in all cases involving house followed by road (for example, if you changed the street name here to something like "High Street" where the first word is more commonly associated with the beginning of a street name, libpostal will get the above case correct, but "Leigh" is a little ambiguous as it is also commonly a surname).
One way we could (maybe, no promises) improve performance in these cases would be to reverse geocode everything that doesn't have a street tag to OSM ways, similar to what Nominatim does.
As I suggested in #255, if you know that most of your data will have commas a priori, one way to improve parsing without waiting on any release is to try parsing the string in two parts: split the string at the first comma and parse the two strings separately: first everything up to the first comma (could be house_number + road, could be house), which libpostal should almost always be able to identify, and then the remainder of the string.

I see, I dont have a great understanding of the internals of libpostal, I've been having a look over but its highly complex and I'm not a C developer so the learning curve is sharp.
It seems to me in terms of UK addresses the most logical solution, is that postcode and street is a one to one relationship. If the parser determined the post code first and used the training data to match this with house names in the string which are at the start. The string could be simplified down to Leigh Street Leigh Upon Mendip Radstock and then parsed normally which should result in:
{ "house": "fernlea", "road": "leigh street", "city": "leigh upon mendip radstock", "postcode": "ba3 5qq", "state": "england" }

I'd say the main complexity in libpostal is not necessarily the use of the C language but is related to the fact that machine learning is a different animal than writing deterministic code like a regex, which is what most developers would be accustomed to in this scenario. In machine learning, when we evaluate a particular model/algorithm, we usually work with aggregate statistics (accuracy, F1 score, etc.) rather than individual test cases. I recognize that developers have varying degrees of familiarity with machine learning, so I try to at least offer an explanation for why an individual test case might not perform as expected, and if possible, to fix the classes of examples where libpostal is not performing well, but in some cases it's not always immediately apparent what can be done.
The major benefit of machine learning is that instead of me having to think of and write down every possible address parsing rule as code, libpostal essentially reads a billion examples of how various addresses should be parsed around the world and writes its own program with various weights on different word and tag combinations (you can see the input variables it uses for each token in the string by typing .print_features into the parser client - helpful for debugging) and can use the same model to generalize to addresses in Japanese or Arabic or Russian as well as it can to addresses in English in the UK or Jamaica or India or the US. Further, it can improve as people add more addresses to OSM. As long as the examples in the training set bear some resemblance to reality, the runtime parser will do a good job on real addresses. That's quite cool, and not something that I nor anyone else could possibly hope to write out as a rule-based program. The drawback to this approach is that when libpostal gets something wrong, which happens in about 0.5% of addresses at present, it may not always be simple to fix by modifying some code. While most of the rule-based parsers get significantly more cases wrong than libpostal, they do offer the developer a greater sense of control, which can be valuable to some people. With libpostal, you have to be able to tolerate having less direct control over the results, and the possibility of mistakes, but overall many users of this project find that tradeoff acceptable because the results are much better than whatever they were using previously.
When it's clear there's a class of errors that can be fixed by amending the training data (usually a particular style of address we haven't accounted for or a missing toponym) or making changes to how we extract the features or input variables, we fix them, but in practice there are some errors we have to "write off" as part of the small fraction the parser gets wrong, and this case is probably one of them. As there's a suggested, simple workaround for this case and many others like it, I think that will have to be my answer for the moment.
Keeping a runtime index of postal codes->road names for the UK would significantly increase the memory requirements for the parser (there are two million postcodes in the UK, and who knows how many streets - and it only helps in one country whereas everyone would have to pay for it), so that's not really something we can consider. What I was referring to is instead reverse geocoding to the nearest street when building the OSM training set, which happens on AWS and can use more resources than the average user has on their machine. No promises on implementing that for v1.1 or that it will improve this case. I'd recommend using the comma heuristic anyway.


Merge Images Feature

Pretty straightforward idea. Create a cog that merged two images into one.
Something like !merge <image_1_url> <image_2_url> [<merge_orientation>] [<rescaling>]
Arguments in [ ] are optional.
Merge orientation can be: vertical (1st image on top, 2nd image on bottom) or  horizontal (1st image on left, 2nd image on right) or auto (automatically choose orientation based on which created at “more square” image (the ideal format for balancing view-ability on both phones and computers). This will need to be implemented in a way that can account for how rescaling is done.
Rescaling can be: shrink (to resize the larger image to that of the smaller), expand, or none. By default, the cog should use “shrink” to minimize file sizes.
This could be expanded into a collage feature as well as a broader image manipulation tool.

This seems like very odd ux to write tbh. because you can only upload one image at once

Wdym? I can upload multiple images at the same time.

My thought was this would be used for images that had already been uploaded and that were referenced by URL, idk how feasible to do this when uploading images at the same time as calling the command.


Clean up requirements; consider flit/poetry/PEP

I considered it. Not moving to Poetry, or Hatch, or PDM at the moment.


Set eliminate=False per default in hyper()

Not sure how common cancellation is to affect performance badly.  Hence, here is a simplest solution for #349.
Except one test, nothing seems to be affected in your test suite.  But please note, that moderate amount of docstrings - not tested.
Also readme update about Code of Conduct.

Could you please revert the addition to the README? I don't think it needs to be said that contributions will be judged by their technical merit, and a link to someone's opinion piece on codes of conduct (even if I largely agree with the sentiment behind it) is plainly off topic.

The performance issue matters, but I can easily fix it later if you don't want to bother with it.

I don't think it needs to be said that contributions will be judged by their technical merit

So, you wont formalize your words (quoted in the commit message) in project docs, in any from?

So, you wont formalize your words (quoted in the commit message) in project docs, in any from?

I don't think it belongs.

Ok, sorry.  Lets wait if someone else will come with better solution.


An error occurred during the conversion process: Inkscape executable not found

Hi! Please help me.
Error in streamlit app after upload a Jupyter Notebook file: An error occurred during the conversion process: Inkscape executable not found.
OS Windows 10, 64 bit

Hey, were you using the Docker Version or installing the dependencies manually?


fix(plugins/plugin-k8s): don't fail if plugin-core-support is not ava…

…ilable
Fixes #2793

Description of what you did:

My PR is a:

[ ] 💥 Breaking change
[ ] 🐛 Bug fix
[ ] 💅 Enhancement
[ ] 🚀 New feature

Please confirm that your PR fulfills these requirements

[ ] Multiple commits are squashed into one commit.
[ ] The commit message follows Conventional Commits, which allows us to autogenerate release notes; e.g. fix(plugins/plugin-k8s): fixed annoying bugs
[ ] All npm dependencies are pinned.

bad change set


修复redis配置相关问题

tls及tlsSkipVerify配置不生效
在使用aws这类单endpoint的集群时，会错误地判定为单节点服务。故添加cluster配置项用于强行指定为集群服务。

Codecov Report
Patch coverage: 75.92% and project coverage change: -0.10% :warning:

Comparison is base (74bf1b4) 79.15% compared to head (de92dae) 79.05%.
Report is 7 commits behind head on master.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2936      +/-   ##
==========================================
- Coverage   79.15%   79.05%   -0.10%
==========================================
  Files         638      639       +1
  Lines       52570    52612      +42
==========================================
- Hits        41611    41592      -19
- Misses       8892     8947      +55
- Partials     2067     2073       +6

Flag
Coverage Δ

go-1.18-386
?

go-1.18-amd64
?

go-1.19-386
?

go-1.19-amd64
79.05% <75.92%> (-0.06%)
:arrow_down:

go-1.20-386
?

go-1.20-amd64
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

container/gmap/gmap_hash_str_any_map.go
97.30% <ø> (-0.90%)
:arrow_down:

contrib/nosql/redis/redis.go
83.90% <0.00%> (-5.12%)
:arrow_down:

database/gdb/gdb.go
68.34% <ø> (ø)

database/gdb/gdb_result.go
36.00% <ø> (+3.85%)
:arrow_up:

database/gredis/gredis_config.go
77.41% <ø> (ø)

internal/instance/instance.go
100.00% <ø> (ø)

os/gcache/gcache.go
96.77% <ø> (ø)

os/gtime/gtime.go
86.93% <ø> (ø)

text/gregex/gregex_cache.go
100.00% <ø> (ø)

text/gstr/gstr_slashes.go
100.00% <ø> (ø)

... and 22 more

... and 11 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


(fix): Extra timeout is not cleared when the checkbox is unchecked

There was one extra setTimeout which needs to be cleared when the checkbox is unchecked.
See the issue below:

Ah good catch! Thanks!

👍

BTW, in https://meowni.ca/font-style-matcher/ the issue still exist. This is because the app.js is served from the Service worker cache.
Probably need to update the Service worker version too


Fixed playback reset on resizing

This is a fork from V2 (next).
I removed the call to .empty()when handling the resize of the container when responsiveis set to true.
This allow the playback to keep going when resizing the container.
I'm not sure about the side effects this could have in edge cases but it seems to work. Please have a look and tell me what you think.

@quentinhayot can you post a screenshot or sample code using this ?

@entonbiba on this codepen, click play and resize your window. Playback will stop. It uses the current 2.0.0-beta01
On this one, resizing won't stop playback. It uses my fork.

@quentinhayot I can't seem to open these codepen links, keeps refreshing?

It seems to work well for me on Chrome on different computers/networks.
It will fail in Safari as described on #1099 (unrelated to this PR).

@quentinhayot I forked the code since opening your codepen links never stops refreshing for some reason.

Weird :|
Let me know if you need more info.

@entonbiba Were you able to check the edit ?

I've removed the tag v2 since its redundant now.


Error with Drive video.

Checklist

[ ] I'm reporting a broken site support issue
[X ] I've verified that I'm running youtube-dl version 2019.07.02
[X ] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ ] I've searched the bugtracker for similar bug reports including closed ones
[ ] I've read bugs section in FAQ

Verbose log

sudo youtube-dl --verbose --cookies cookies.txt -f 22 'https://drive.google.com/file/d/1-jVtoMFDEFPaGZEZTBWeJZJ-pMMLLg4-/view?ts=5d1ba252'
[sudo] password for gustavo:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'--cookies', u'cookies.txt', u'-f', u'22', u'https://drive.google.com/file/d/1-jVtoMFDEFPaGZEZTBWeJZJ-pMMLLg4-/view?ts=5d1ba252']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.07.02
[debug] Python version 2.7.12 (CPython) - Linux-4.15.0-54-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: none
[debug] Proxy map: {}
[GoogleDrive] 1-jVtoMFDEFPaGZEZTBWeJZJ-pMMLLg4-: Downloading webpage
ERROR: Unable to extract OpenGraph title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/googledrive.py", line 179, in _real_extract
    default=None) or self._og_search_title(webpage)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1117, in _og_search_title
    return self._og_search_property('title', html, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1105, in _og_search_property
    escaped = self._search_regex(og_regexes, html, name, flags=re.DOTALL, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1005, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract OpenGraph title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

I was able to download another video hosted on Drive, but I could not do it.
I have already verified the link to the video and it works perfectly.
Use Ubuntu 16.04 LTS.

Either you don't have access to the video or cookies are expired. In any case you must provide reproducible environment for any work on this.


Texture loading rewrite

Rewrite the texture loading system to fix a lot of the bugs that are currently had with the system how it is now.

Textures are now loaded as a custom resource pack


Laravel 8.51.0 Shift

This pull request includes updates for the recent minor version release of Laravel as well as updates to your package dependencies. Feel free to commit any additional changes to the shift-ci-v8.51.0 branch.
Before merging, you need to:

Checkout the shift-ci-v8.51.0 branch
Review all pull request comments for additional changes
Run composer update
Test your application (no tests?)

:warning: You are running version 4.6.0 of spatie/laravel-translatable. The latest version is 5.0.1. You should review this dependency to see if you can upgrade to the latest version.

:warning: The Shift build servers run PHP 8. If you are still running PHP 7.4 or lower you should run composer update locally to ensure you have the proper versions of your dependencies to reflect your PHP 7 environment.


added yarn completions

This repo is licensed under MIT license. However, I have taken permission from the original author
https://github.com/dsifford/yarn-completion/issues/44

As outlined in my comment here, I'm not a fan of adding more copy/paste code to Bash-it. It will lead to licensing concerns, increased maintenance for out-of-date completion scripts, etc.
The yarn completion repo contains instructions on how to install it into the existing Bash completion infrastructure, I'd prefer that - this would not require to add another copy/paste file to Bash-it.

as you wish

I would request you to add Scope of Contribution so that we could open PRs regarding the same

@nwinkler what type of contributions are you expecting? Like regarding themes, plugins, more completions or what else...


don't set node_env to production

When opening terminal it sets node_env to production, which is a pain as lot of npm and app command will not work correctly.
I use latest atom in windows 7

I have the same issue on ubuntu 14.04 @ :(


datetime_convert.py

Description A clear and concise description of what the issue/bug is. Improper date formatting
Expected Behavior A clear and concise description of what you expected to happen. Print incorrect date
Actual Behavior A clear and concise description of what actually happened. Printed incorrect date
Additional Information
Possible Solution If you have any suggestions for a possible solution, please include them here. Fix formatting

Fixed


Document app-measurement.com

Might be helpful:
https://larihaataja.com/firebase-ga4-app-measurement-com-calls/
https://github.com/lari/firebase-ga4-app-measurement-protobuf

There is also https://github.com/googleapis/google-cloudevents/blob/5f13f0984facb99cf9f31569e0e3cf5bf4e04aad/proto/google/events/firebase/analytics/v1/data.proto#L121, which according to the README is supposed to be the proto schema for "Google Analytics for Firebase". But I can't pass our known requests with that, and comparing the schema against them manually, it doesn't appear to make sense…

Also: https://github.com/doug-leith/android-protobuf-decoding/blob/main/app_measurement.proto3


[FR] - Providing an appropriate accessor to retrieve EraSummary from opaque Interpreter type

Internal/External
Data type Interpreter defined in Ouroboros.Consensus.HardFork.History.Qry is only exposed as an opaque type.
It may sometimes be required to access the EraSummary embedded in this type when developing DApps or to facilitate debugging.
It is therefore proposed to either provide an appropriate accessor to retrieve the EraSummary info from Interpreter or to fully export Interpreter in module Ouroboros.Consensus.HardFork.History.Qry

What do you intend to use the EraSummary for?


FancyZones actual zone sizes don't match those in editor

Microsoft PowerToys version
0.57.0
Running as admin

[ ] Yes

Area(s) with issue?
FancyZones, FancyZones Editor
Steps to reproduce
After recent update, the zone sizes of some of my layouts no longer match my screen size. Zone layout is the same but the overall dimensions are too small for my monitor. When I attempt to fix it in the editor, the editor shows the zones reaching to the edges of the monitor. But after saving, the zones are still too small.

✔ Expected Behavior
Zone sizes are saved. Ideally, responsive to the size of the monitor. Zone sizes in editor match those in window layout selection.
❌ Actual Behavior
Zone sizes shrink and cannot be fixed using editor.
Other Software
No response

Thank you for reporting. It looks like there was a problem with the canvas layout creation on some of the previous versions. It just was revealed with the new one. Recreation the layout from scratch solves this problem. Please let me know if it doesn't help you. Thanks! /dup of #17382

https://github.com/microsoft/PowerToys/issues/17472#issuecomment-1088913338
Also, may I ask why you are using a Canvas style layout, and not a Grid style? I advise the latter.

Thanks for letting me know! Happy to recreate the layouts as long as I know
that there's a reasonable chance that it will fix the issue!
I'm using a Canvas layout because I have effectively created a "side panel"
of windows for reference apps. Depending on the application, I want to be
able to either fit two windows into the "side panel" - one above the other

or one single window taking up the full height of the display.

On Tue, Apr 5, 2022 at 10:51 AM Jay @.***> wrote:

Thank you for reporting. It looks like there was a problem with the canvas
layout creation on some of the previous versions. It just was revealed with
the new one. Recreation the layout from scratch solves this problem. Please
let me know if it doesn't help you. Thanks! /dup of #17382
https://github.com/microsoft/PowerToys/issues/17382
#17472 (comment)
https://github.com/microsoft/PowerToys/issues/17472#issuecomment-1088913338
Also, may I ask why you are using a Canvas style layout, and not a Grid
style? I advise the latter.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/17544#issuecomment-1089114892,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKCMJ3HJ4RNP3FVORSXLELTVDR4TZANCNFSM5STOKXTA
.
You are receiving this because you authored the thread.Message ID:
@.***>

No problem.
I'd still recommend a Grid layout for this. You can easily drop a window in one, two or even more zones :) Drop it on the border between zones or try holding down CTRL for even more zones.

Good to know! Thanks.
On Tue, Apr 5, 2022 at 10:58 AM Jay @.***> wrote:

No problem.
I'd still recommend a Grid layout for this. You can easily drop a window
in one, two or even more zones :) Drop it on the border between zones or
try holding down CTRL for even more zones.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/17544#issuecomment-1089122973,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKCMJ3GK7LMKXRFWIVVRWX3VDR5NZANCNFSM5STOKXTA
.
You are receiving this because you authored the thread.Message ID:
@.***>


[Bug]: Action Redesign: Show Bindings is not available in the query kebab menu, and hence not available as an option in split panes mode in query form view

Is there an existing issue for this?

[X] I have searched the existing issues

Description
In a Query Form - in the kebab menu, we do not see the Show Bindings option. When we move to split panes mode, there is no way we can access Show Bindings
Steps To Reproduce

Create a new query
Check the options in the kebab menu
Show Bindings is missing
Hence there is no way we can access Show Bindings when we are in the split panes mode query form view

https://jam.dev/c/ca212f3a-8e2b-48a5-b5fc-e7709b10ffb1
Public Sample App
No response
Environment
Release
Severity
High (Blocker to building or releasing)
Issue video log
No response
Version
Cloud

Fourth point is misleading. There is, in fact, a way to access the same context menu from explorer which is hidden under burger menu. With that said, this issue seems more like a moderate, but not a high/blocker. @btsgh


Service YAML validation in deployment create

Description
When I want to create a deployment with an exposed service, the service YAML Editor has to be validated and disable Create button for example without the Service name.

Expected result
Create button is disabled when YAML for service is wrong.

Actual result
I can click create without the Service name in create deployment YAML.

Steps to reproduce

Go to Deployments
Click Create Deployment
Go to YAML
Fill in the deployment fields
Click Expose Separate Service
Click Create

Troubleshooting

I'll Close this, as we plan to remove the services creation from Deployment


Since 4.1.23, metrics-bom manages dependencies that are not part of Dropwizard

The changes made in https://github.com/dropwizard/metrics/commit/f069a88a24f141e04e181270f8dab1b83268aeb4 have resulted in metrics-bom managing non-Dropwizard dependencies. We noticed the problem when trying to upgrade Spring Boot to Dropwizard 4.1.23 from 4.1.22. It resulted in AssertJ jumping from 3.19.0 to 3.20.1.
Can metrics-bom please be restored to its previous state so that importing it only manages the versions of Dropwizard's own modules?

@wilkinsona Thanks for reporting this!
Could you please elaborate on the issue? io.dropwizard.metrics:metrics-bom:4.1.23 doesn't list any dependency in its dependencyManagement section which is not part of Dropwizard Metrics 4.1.23 itself and the commit you've linked to (#1967) only explicitly added the respective dependencies to the non-BOM sub-modules.
https://github.com/dropwizard/metrics/blob/v4.1.23/metrics-bom/pom.xml

Ah, it looks like the change came in via metrics-parent.
https://github.com/dropwizard/metrics/commit/f069a88a24f141e04e181270f8dab1b83268aeb4#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8

@wilkinsona @snicoll Dropwizard Metrics 4.1.24 and 4.2.2 should be available on Maven Central soon.

Thank you!

Thanks @joschi, Spring Boot 2.4.x and 2.5.x have upgraded to that version.


debug db location

When attempting to connect the VS Code debugger to a simulation, what do I point to for the debug.db file? I am running xcelium and have added the following switches:
		-loadvpi libghdb.so:initialize_hgdb_runtime
		+DEBUG_PORT=8888
		+DEBUG_LOG=1

As well as adding the library to LD_LIBRARY_PATH.
Can I start the debugger before the simulation so it can stop with a breakpoint, or do I need to stop it myself and attach the debugger?

You need to specify the symbol table when you attach the debugger to the simulation, using either VSCode or the console. You can see more instructions here.

Can I start the debugger before the simulation so it can stop with a breakpoint, or do I need to stop it myself and attach the debugger?

If the library is loaded properly, it will automatically pause the simulation when it starts. You can then attach the debugger and  set breakpoints afterwards.

I guess my question is: where do I find the symbol table? Is that something that is automatically generated by the simulation compilers and somewhere in the work directory?

Similar to software, the symbol table is produced by the compiler, not by the debugger. You can check out a list of supported hardware generator frameworks here. Depends on what framework it is, you might need to apply a custom patch, use a plugin, or use a post-processing program.
If you are using an unsupported framework, please send me a link and I can take a look to see if it's possible to extract symbol table out.

I see, so because we are doing custom RTL design and verification, I will need to wait for progress on hgdb-rtl then? Since I currently compile with xcelium.

That is right. hgdb-rtl needs to rewrite the RTL so that the simulation matches with what hgdb expects. Mostly it's SSA and loop unrolling passes. Unfortunately I haven't gotten much time working on it. I will let you know once I have a semi-working prototype.

I've released an experimental version of hgdb-rtl here. Feel free to open issues there if you encounter any problems.