QUESTION. Debugging, tracing, observability?

Hey, i like how minimalistic txtai is, a way better to get started with then competitors.
Thinking about debbuging, i don't find txtai's solution such as langchain debugging or llamaindex tracing have.
Does txtai provide with something like advanced logging or whatever to see all the steps in Workflow, Pipeline, etc. ?

Debugging through txtai would be more similar to llamaindex using standard Python logging. There is some logging built in but nothing too verbose. It's a fair point to consider though, thank you for bringing up the idea.

Debugging through txtai would be more similar to llamaindex using standard Python logging. There is some logging built in but nothing too verbose. It's a fair point to consider though, thank you for bringing up the idea.

Ok, thank you.

Ok, thank you.

You're welcome. If you end up using txtai more and have specific areas where you think more logging would help, please let me know.

You're welcome. If you end up using txtai more and have specific areas where you think more logging would help, please let me know.

How about adding Arize Phoenix ?

Just closing the loop on this question. Unfortunately, the license for Arize Phoenix isn't compatible with txtai.


[BUG] Servers show up as Incompatible in multiplayer if better F3 Forge is installed client side

Description
This mod is client only but it is not configured as such, as a consequence the multiplayer servers show up as incompatible in the server list.
To Reproduce

Install Forge and the Better F3 mod on client.
Create a forge 1.16.5 Minecraft server.
Add the server in multiplayer menu.
The server will show up as incompatible with a big red X.

Expected behavior
There should be a green checkmark besides the server marking it compatible.
Screenshots

Version Information

OS Windows 10
Java Version: Java 8
Minecraft Version: . 1.16.5
Minecraft Forge Version: 36.1.4
Mod Version: BetterF3 Forge v1.1.2 (1.16.2-1.16.5)

Additional context
DISPLAYTEST extension point needs to be overridden to configure IGNORESERVERONLY.

Client log as requested
latest.log

Thank you for merging the pull request.
Any plans or releasing the an update with the fix?
Please let me know.

Yeah I'll do that tonight


Document manual setup

blocked on:

[ ] Document zdb deployment for qsfs
[ ] Document how to setup Yggdrasil

manual setup docs are done, ygg is done, qsfs deployment via clients exist on the manual

They are not published on manual.grid.tf yet  so I can't add the links yet.


Remove proc command from proctor CLI

As a user,
I don't want to type the redundant word proc everytime I list/describe/execute procs.

This issue makes sense because currently proctor doesn't have any other functionality than procs. We'll support both ways of using procs for now. We'll deprecate the proc command in a major release. And introduce it back in future when namespacing is needed for multiple features of proctor.


negative pixel values for ssim input?

ssim, and ms_ssim take images as input and max_val which is defined as the dynamic range, implying that images can be eg in [-1,1] with maxval = 2. however they call convert_image_dtype() which assumes pixels are in [0,?]. so it is not clear whether ssim, ms_ssim can take images with negative pixel values.

@eyaler Please provide details about what platform you are using (operating system, architecture). Also include your TensorFlow version. Also, did you compile from source or install a binary?
Make sure you also include the exact command if possible to produce the output included in your test case. If you are unclear what to include see the issue template displayed in the Github new issue template.
We ask for this in the issue submission template, because it is really difficult to help without that information. Thanks!

the issue is not platform dependent, however: tf-gpu 1.12, windows 64. pip installed.
given img1 and img2 in [0,1] you can compare:
ms_ssim_op1 = tf.image.ssim_multiscale(img1, img2, 1) # reference images in [0,1]
ms_ssim_op2 = tf.image.ssim_multiscale(img1*2, img2*2, 2) # scaling to [0,2] will give same result
ms_ssim_op3 = tf.image.ssim_multiscale(img1*2-1, img2*2-1, 2) # scaling to [-1,1] will give different result
ms_ssim_op3 = tf.image.ssim_multiscale((source/2+1)*2, (target/2+1)*2, 2)

So this is a documentation problem? Want to send a PR clarifying that negative values are not allowed?

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

i think we should give a warning


No response
The version of RisingWave
No response
Additional context
No response

How can I find which table causes this, is table ID part of the pk that I need to decode?

let me explain the query plan in the slack channel as it is a user query

there is a new one #14263


Does go2rtc pass metadata streams (PTZ, event and analytics stream) to clients?

Hi,
Currently my cameras are serving streams to two clients:

Synology NAS for recording via Surveillance Station
go2rtc for Home Assistant / Frigate

I'm wondering if go2rtc passes metadata streams (ptz and event such as people/car or motion detection etc...) to clients? If so, this would allow Synology to consume the stream via go2rtc and record events based on camera detection and free up the camera's network bandwidth by having one less client.

go2rtc pass only streaming protocols and streaming data

Please let me know if the problem is relevant


Add CC license

Maybe some spacing between the author and the CC license?

Wrapped the license in a footer.
// I assumed we don't have a style.css yet when I saw there was only an html file in ./output (just writing down my expectation for a static site generator)

Ah, right. Well it's using the tumblr styles from here - https://github.com/NoRedInk/eng-blog/blob/master/style.css

along with code highlighting from here -> https://github.com/NoRedInk/eng-blog/blob/master/default.css

+added margin between author and content
+updated screenshot


Up to date with fb graph?

Hi,
Wanted to check if you still keep this updated? Some breaking changes from fb-graph at the moment. For example our app stopped being able to load peoples profile pics.
From Facebook:
Your App, xxx, currently has access to Graph API v2.4 which will reach the end of its 2-year lifetime on 09 October, 2017. To ensure a smooth transition, please migrate all calls to Graph API v2.5 or higher.

The extension should work with any graph-version.
You can change the version in the Facebook Developer settings for your app: https://developers.facebook.com
And then in your app set the graph version in GDXFacebookConfig.
config.GRAPH_API_VERSION = "v2.x";


[WIP] index: fetch: cache collected files

Rough POC
dvc fetch noop in dvc-bench goes from ~30sec down to ~10sec for me.
Next step is to also cache remote index, so we don't have to waste those ~10sec checking files in the remote.

Codecov Report
Patch coverage: 75.60% and project coverage change: +0.22 :tada:

Comparison is base (07f5eb8) 61.10% compared to head (07b8c46) 61.32%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #376      +/-   ##
==========================================
+ Coverage   61.10%   61.32%   +0.22%
==========================================
  Files          54       54
  Lines        3733     3757      +24
  Branches      665      566      -99
==========================================
+ Hits         2281     2304      +23
+ Misses       1317     1313       -4
- Partials      135      140       +5

Impacted Files
Coverage Δ

src/dvc_data/index/fetch.py
65.93% <74.35%> (+2.69%)
:arrow_up:

src/dvc_data/index/index.py
65.21% <100.00%> (+1.22%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Boolean attributes are not handled correctly

For instance, if you set rz-slider-always-show-bar="false", the bar will be visible. The reason is that attributes are strings and not the real value.
So this:
this.alwaysShowBar = !!attributes.rzSliderAlwaysShowBar;

should be replaced by
this.alwaysShowBar = !!this.scope.rzSliderAlwaysShowBar;

This is fixed in #158 .


Ensure all required Jetty packages are present in container-disc's ma…

…nifest
Add explicit jdisc_jetty dependency so that bundle-plugin can generate
necessary import-package statements for all Jetty bundles.
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

FYI @gjoranv


fix getting members list for a project to include all members

…not just the first page

how did the code coverage go down on this change? Is this something I should do something about? I don't think writing a completely unrelated unit test would make this PR any better

Thanks for the fix @trissanen !

how did the code coverage go down on this change? Is this something I should do something about? I don't think writing a completely unrelated unit test would make this PR any better

Sorry for that, it is not cause by your PR. The code coverage has dropped because the tests running from a fork don't have access to the secrets in this repo and we keep a GitLab license in it to run the tests using Premium features. On one hand we do want to know that these features are covered by the tests but on the other we do not want to see false drops in coverage from the PRs. I don't know how to handle this yet. :(


Readme support in BMS chart (*.txt)

This feature when created as help file but including multi-file text inside BMS charts

I think, add load delay after selecting song wheel

In latest action build when scrolling too long and fps drops down to ~30 frame per seconds


[stable/artifactory] Small fix for ingress

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:

/joke

/meow


DEV: Check if materialized view exists before querying against it

Why this change?
Previously, we were querying against the materialized view even when it
does not exists and rescues the ActiveRecord::StatementInvalid error.
However, ActiveRecord relies on that error being raised to decide if a
transaction should be rolled backed. Since we swallow the error, the
transaction ends up not being rolled back and left in an aborted state
which is not ideal.
What does this change do?
We check for the existence of the materialized view before querying
against it to prevent unnecessary errors.

Thank you @davidtaylorhq !


Take items out of crate and use them without keys

Describe the bug
When you view a crate, hold shift and click on crate item, then click escape once real quick, item will stay in inventory. Players can use the item until as much as they like until they try and move it around in inv.
Versions (please complete the following information):

Minecraft Server Version: 1.13.2
Plugin Version: 1.10

This glitch works every time!

Makes no sense. Please send a video. This shouldn't happen in survival, in creative yes i agree it is possible

how to do it?

is there a way of keeping the actual item and not the inmage? because its is normaly a chest and visualy a crate


Updates to workspace tutorial 2

@LindsayBert Please resolve conflicts. Always check in Github if your fork is still in sync and do a fetch+pull before pushing.


Add support for loong64

Similar to #38, adding support for loong64.
LoongArch is a new RISC ISA developed by loongson. There are already a lot of community support and testing about it.
This a successful buildlog for sfizz on a loong64 machine.
Thanks

Thank you for your contribution.


Gutter highlights issues: Highlights appear on subsequent line after clicking line number in gutter or selecting multiple lines

monaco-editor version: 0.17.0
Browser: 75.0.3770.100 (Official Build) (64-bit)
OS: Mac OS X 10.14.4
Steps or JS usage snippet reproducing the issue:
Gutter highlighting appears to be strictly based on cursor position. This leads to two unexpected behaviors:

After clicking a line number in the gutter, the line is highlighted and the cursor moves to the subsequent line. As a result, the gutter highlight moves to the subsequent line. If the user clicks on the current line number, the cursor moves the another line. That seems mildly surprising.

When dragging to highlight several lines of text, only the final line's gutter is highlighted (because that's where the cursor ended up). In some other editors (like Atom), the gutters for all selected lines are highlighted, not just the final line in the selection.

This shows both (minor) issues:

Compare behavior with multiple line gutter highlighting in Atom:

Current line highlighting should be disabled when having a selection, can you reproduce at https://microsoft.github.io/monaco-editor/ ?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Typo in install command

Tiny issue:
npm intall --save-dev gulp-watch-sass
install is missing an s. It causes an error if you copy/paste the install command.

Nice catch, thanks for commenting!


Auto-escape detected code in Commonmark mode

Is your feature request related to a problem? Please describe.
New users that are unfamiliar with Commonmark syntax are pasting code into the editor and becoming frustrated when it does not render as they expected. Additionally, rich-text mode will auto-escape restricted characters when serializing to commonmark. This makes the editing experience more frustrating when users try to fix the post's formatting.
Describe the solution you'd like
Text containing code pasted into Commonmark mode should be wrapped in code fences. Text is already parsed to detect code in rich-text mode, so we may be able to extend that functionality to commonmark mode.
The largest issue is that Commonmark mode uses a completely different schema than rich-text mode, which has no idea about node parsing. For every paste, we'd need to spin up a copy of the rich-text schema, parse the paste as nodes, then serialize it back to commonmark. The upside of this is that any pasted html (such as from Google Docs, etc) will get auto-translated to commonmark on paste. The downside is that users may be expecting a plain text paste. The native work around to that problem is for users to use the OS native plain text paste shortcut (ctrl-shift-v on Windows, cmd-shift-v on macOS), which strips out all non-text clipboard entries before pasting.
Additional context
User flow issue described on MSO was used as the basis of this feature request..

Does this include "Putting each line of code in a separate code block e.g. Codemirror searchfilter" as mentioned here

@yellis Regarding the first issue... I'm not sure. That post is using inline code formatting (\``), not _code block_ formatting (````). I'm not sure exactly how that came to be, but I think that is different behavior than what is being addressed here.
Regarding the second, yes, that seems to be covered under this feature enhancement.

@b-kelly The first one is reported here with replication instructions there.

@yellis Hmm... yeah, that post is what prompted me to create this issue (see my response there). The inline code syntax is the wrong tool for the job, as it is intended for placing code inline with other text. Imo, this enhancement will hopefully alleviate the confusion, but ultimately, we try to adhere to the Commonmark spec as possible (extending vs overriding when able).


Azure static web apps support certificate instead of secret for custom AAD authentication.

Is your feature request related to a problem? Please describe.
Static web apps can be configured with custom authentication. But that requires creation of a secret on the Entra ID application.  as described here
Describe the solution you'd like
Similar to key vault if we can use a certificate and the certificate can be directly requested form the key vault (similar to secret) then rotation becomes simpler.
Describe alternatives you've considered
No alternatives.
Additional context
For example we cannot use Azure Static web Apps as Microsoft 1st Party app because 1st party apps only support certificates but not secrets.

I second @duggaraju's request above, this would remove the need for secrets on the Entra ID app registration. Without this feature we cannot satisfy security policy requirements to eliminate Entra ID app secrets.

second this. even better would be federated credentials

Yes, agreed. Seeing as this was just released for managed identities in general, it should be possible for SWA without major implementation efforts (I would hope)

not sure about that, the documentation shows the following code for Microsoft.Identitiy.Web:
{
  "AzureAd": {
    "Instance": "https://login.microsoftonline.com/",
    "ClientId": "YOUR_APPLICATION_ID",
    "TenantId": "YOUR_TENANT_ID",

   "ClientCredentials": [
      {
        "SourceType": "SignedAssertionFromManagedIdentity",
        "ManagedIdentityClientId": "YOUR_USER_ASSIGNED_MANAGED_IDENTITY_CLIENT_ID",
        "TokenExchangeUrl":"api://AzureADTokenExchange"
      }
   ]
  }
}

Anything like this is currently unsupported by the staticwebapp.config.json of Azure Static Web Apps...


Features/pointer

Added pointer feature

Coverage decreased (-0.7%) to 90.526% when pulling 685d52a125f00072302c07a330acb4816b73f2e4 on features/pointer into 0fa8b03b0ce1cfcb7aa112eb45f3cb5ff2a95f05 on master.


Update Ogone DirectLink gateway: Fix Doc, New signature procedure, tested with v4.87

This pull request contains 3 previous fixes + update error message to support the newly released update of Ogone platform v 4.87
Additions :

Update error message on invalid authentication
Fix Ogone#Parse from https://github.com/Shopify/active_merchant/pull/64 (author rymai)
Support for new signature procedure used by all accounts created after May 10 2010. (backward compatible)
Updated documentation describing aliases usage

This as been unit and remote tested.

This pull request has been improved and updated at #198 . A merge in Shopify/master would be more than welcome.


Equality for list expressions unimplemented

The code in ops.ml doesn't handle equality for VTuple.
Tests failing:

examples/checker_tests/good/list-compare.p4

Implemented on my branch but untested.


docs: Automated Changelog Update for v5.0.0-beta5.44

copilot:all
Automated changes by create-pull-request GitHub action

🤖 Generated by lychee action
Summary

Status
Count

🔍 Total
1277

✅ Successful
371

⏳ Timeouts
0

🔀 Redirected
0

👻 Excluded
905

❓ Unknown
0

🚫 Errors
0

Full action output
Full Github Actions output


fsharp-giraffe

If you're considering F#, I'd highly recommend using Giraffe over Suave since performance is a concern. Giraffe runs on top of asp.net core/kestrel so it inherits all of its great performance.
Changes:

fsharp-giraffe: Basically a copy/paste of the sync suave project with suave swapped out for giraffe
fsharp-giraffe-async:

Async version of suave
Uses tasks instead of async so no conversions have to be done. F# had an async programming model before C# did. C# got async/await later on and has a different implementation via Tasks.
Checks if an Expr requires any async calls. If not (fizzbuzz), it runs synchronous method calls and avoids the overhead of Tasks. This was just a quick hack to get it working. There's a lot of code duplication and poor names.

Cleaned up the suave projects so they can run without modification (just a few small things like case sensitivity of project names).

I'm by no means an F# expert (lot's of .net experience though) so I can't really critique the F# itself. I just wanted to make sure you had a giraffe benchmark so you can make a more informed decision. If you do decide on F#, you might also consider using Saturn which is an opinionated web framework that runs on top of Giraffe.
I wasn't able to run the ocaml projects without modification. I didn't include those changes in the branch though. Dune wouldn't build on my machine (arch linux) so I had to use v2.7.0. I also needed to rename ocaml-sync.opam to ocaml-httpaf.opam. The exe symlink was missing in the ocaml-httpaf-lwt project as well.
Here are the results of each on my machine.

If you're considering F#, I'd highly recommend using Giraffe over Suave since performance is a concern. Giraffe runs on top of asp.net core/kestrel so it inherits all of its great performance.

Yes, I can see what a difference this makes. I just want to take the best performance from each language, so long as it doesn't mess with the programming model (as is, we don't have the write terrible code to get excellent performance). So I'd suggest we remove the suave benchmarks entirely.

Uses tasks instead of async so no conversions have to be done. F# had an async programming model before C# did. C# got async/await later on and has a different implementation via Tasks.

Great, this aligns nicely with the goals.

Checks if an Expr requires any async calls. If not (fizzbuzz), it runs synchronous method calls and avoids the overhead of Tasks. This was just a quick hack to get it working. There's a lot of code duplication and poor names.

This is an interesting optimization, similar to the partial async options. If I think of the programming model I want to support in Dark (which cause the "rules" of the benchmark), I think it would be better for a benchmark to only have a single eval function, not two (also if you look at the logic of the real dark eval function, it is much more complicated and so duplicating it would be risky).
I'd suggest breaking this into three benchmarks:

sync: not async/tasks/etc
async: simple async/task/etc
optimized async (see below)

By the optimized version, I mean having two stdlib function types, sync and async, like you have here. I'd be very interested to see if they have performance benefits, so having them as a separate benchmark vs the "plain" async would be super interesting.

Cleaned up the suave projects so they can run without modification (just a few small things like case sensitivity of project names).

Appreciate it! Though, I think best to remove them all the same.

I'm by no means an F# expert (lot's of .net experience though) so I can't really critique the F# itself. I just wanted to make sure you had a giraffe benchmark so you can make a more informed decision. If you do decide on F#, you might also consider using Saturn which is an opinionated web framework that runs on top of Giraffe.

Thanks. As a complete newbie in F#, this advice is appreciated!

I wasn't able to run the ocaml projects without modification. I didn't include those changes in the branch though. Dune wouldn't build on my machine (arch linux) so I had to use v2.7.0. I also needed to rename ocaml-sync.opam to ocaml-httpaf.opam. The exe symlink was missing in the ocaml-httpaf-lwt project as well.

I'll take a look at fixing these, thanks. Might add docker or CI now there are contributors (also, matches the deployment model).

Oh, one more thing to add. The important thing on the benchmark is not how high the fizzbuzz results go, but about making the fizzboom results go up.  I'm working on that in the OCaml versions at the moment - if you know how to enable it in the F# version that would be great!

I might be misunderstanding what you mean, but I believe the giraffe-async version already works that way. The current benchmark runs 10 connections with a minimum response time of one second making the ideal result 10 requests/sec, right? The giraffe-async is at 8.99 with an average time of 1.03s. Dropping the benchmark duration down to two seconds still results in more than 2 requests/sec meaning each request isn't waiting for the previous to finish the httpbin request.
Regarding the simple/optimized async versions, there is a significant performance penalty wrapping all the eval return values in tasks when there isn't any async work to be done. That's how I first tried it when I just ported over the suave code. I believe it resulted in ~9k requests/sec vs the ~19k in its current form on my machine. There may be a simple way around that by skipping the execution bubble with the unsafe versions of the computation expressions (uvtask, uply). I'm not too familiar with that though so I can't say for sure. It may also not matter depending on what Dark users generally use. How common/rare is it that user's expressions will only have non-IO bound code? If it's rare, it may be worth it to take the performance hit in order to keep the code easier to maintain (assuming uvtask and/or uply can't make up for it).

I might be misunderstanding what you mean, but I believe the giraffe-async version already works that way. The current benchmark runs 10 connections with a minimum response time of one second making the ideal result 10 requests/sec, right? The giraffe-async is at 8.99 with an average time of 1.03s. Dropping the benchmark duration down to two seconds still results in more than 2 requests/sec meaning each request isn't waiting for the previous to finish the httpbin request.

Yes, you're correct here. I've realized there's a problem in how I'm benchmarking. I'm working on improving that.

Regarding the simple/optimized async versions, there is a significant performance penalty wrapping all the eval return values in tasks when there isn't any async work to be done. That's how I first tried it when I just ported over the suave code. I believe it resulted in ~9k requests/sec vs the ~19k in its current form on my machine. There may be a simple way around that by skipping the execution bubble with the unsafe versions of the computation expressions (uvtask, uply). I'm not too familiar with that though so I can't say for sure. It may also not matter depending on what Dark users generally use. How common/rare is it that user's expressions will only have non-IO bound code? If it's rare, it may be worth it to take the performance hit in order to keep the code easier to maintain (assuming uvtask and/or uply can't make up for it).

I'm setting up the rules of the game such that maintenance is paramount. I can see arguments in the other direction but having only 1 eval definition is the rule I'm working with :) If it can be made work with a single eval and without greatly complicating the code, I think that's a fair implementation though.
I saw similar slowdowns with the suave version, and the fsharp-suave-partial-async was an attempt to workaround that which was surprisingly effective.

I hand merged this in and I can address the issues I raised. Thanks again for the great PR!

@Rfvgyhn I have some questions about the code here. After benchmarking it, I realized that it didn't have the right semantics. Fizzboom should always take 6s minimum, but as you can see in the results, this has a much lower average runtime.
This is because it's running all the Fizzboom's requests in parallel, see:
https://github.com/darklang/fizzboom/blob/974f95e56e391f383614fbc3332cef6946d21e4f/fsharp-giraffe-async/src/LibExecution/Interpreter.fs#L260
https://github.com/darklang/fizzboom/blob/974f95e56e391f383614fbc3332cef6946d21e4f/fsharp-giraffe-async/src/LibExecution/Interpreter.fs#L331
The intended way is for them to block (and instead process other computation while blocking), see the OCaml version:
https://github.com/darklang/fizzboom/blob/83d323c69bf670304ef7a71906c35606c7ce2ac8/ocaml-httpaf-lwt/lib/execution_engine.ml#L250
https://github.com/darklang/fizzboom/blob/83d323c69bf670304ef7a71906c35606c7ce2ac8/ocaml-httpaf-lwt/lib/execution_engine.ml#L339
Do you know how I'd do that with Tasks?

I completely overlooked that. I'm not sure how it works in OCaml, but one of the main differences between Task<T> and Async<T> is that tasks are hot and asyncs are cold. As far as I understand, once you have a collection of tasks, all of them are already started. As long as none of the tasks throw exceptions or are cancelled, the resulting collection will be in the same order as the initial collection of tasks though (see remarks section). If you need to run things sequentially for reasons beyond preserving order, you might have to switch back to async.

one of the main differences between Task<T> and Async<T> is that tasks are hot and asyncs are cold

I'm not sure what hot and cold mean here. Do you mean that the thread running a task does not move to other work during IO?

I'm not sure what hot and cold mean here. Do you mean that the thread running a task does not move to other work during IO?

nvm, found a definition, thanks

@pbiggar Just wanted to mention you might want to download RC1 of .net 5 (which is scheduled for full release in November) and run your benchmarks against that. Big performance gains for giraffe. https://nitter.net/ben_a_adams/status/1309139564099964936

@pbiggar Just wanted to mention you might want to download RC1 of .net 5 (which is scheduled for full release in November) and run your benchmarks against that. Big performance gains for giraffe. https://nitter.net/ben_a_adams/status/1309139564099964936

Thanks!
Also, fyi, I figured out how to do in-order execution with tasks: https://github.com/darklang/fizzboom/commit/db50aa1db3baad39a4057ce690b3427ba705a061

@pbiggar Just wanted to mention you might want to download RC1 of .net 5 (which is scheduled for full release in November) and run your benchmarks against that. Big performance gains for giraffe. https://nitter.net/ben_a_adams/status/1309139564099964936

Before:
  Measuring fizzbuzz
    Reqs/s:       12861.75
    Avg:          8.84ms
    Errors:       N/A
    Slowest:      119.27ms

After:
fsharp-giraffe-async/measure_fizzbuzz
    Reqs/s:       12861.75
    Avg:          8.84ms
    Errors:       N/A
    Slowest:      119.27ms


fix: remove unnecessary entry title

Addresses issue number 3 in #245

Thanks for doing this so quickly 🙌


Tabs inserted instead of spaces in makefiles

Issue Type: Bug
I have an issue where, even though Editor: Insert Spaces is true and Editor: Detect Indentation is false, it keeps inserting actual tabs when I press Tab in a makefile (.mk).  I have even added the "editor.insertSpaces": true, option for the overwriting settings for makefiles, restarted the IDE, and still it inserts tabs instead of spaces.  The "editor.detectIndentation": false, was already in the settings for makefiles.
Version: 1.64.2 (user setup)
Commit: f80445acd5a3dadef24aa209168452a3d97cc326
Date: 2022-02-09T22:02:28.252Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22000
VS Code version: Code 1.64.2 (f80445acd5a3dadef24aa209168452a3d97cc326, 2022-02-09T22:02:28.252Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz (8 x 2112)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.75GB (3.70GB free)

Process Argv
--crash-reporter-id a1a7a1da-a69b-47dd-b768-38c15a4c3e53

Screen Reader
no

VM
0%

Extensions (18)

Extension
Author (truncated)
Version

doxdocgen
csc
1.4.0

vscode-pull-request-github
Git
0.36.2

better-cpp-syntax
jef
1.15.13

python
ms-
2022.2.1924087327

vscode-pylance
ms-
2022.3.0

jupyter
ms-
2022.1.1301854968

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.6

remote-containers
ms-
0.224.2

remote-ssh
ms-
0.76.1

remote-ssh-edit
ms-
0.76.1

remote-wsl
ms-
0.64.2

cmake-tools
ms-
1.9.2

cpptools
ms-
1.9.2

cpptools-extension-pack
ms-
1.1.0

vsliveshare
ms-
1.0.5418

vsliveshare-audio
ms-
0.1.91

cmake
twx
0.0.17

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30433507
vsclayoutctrc:30437038
vsrem710:30416614
vscop841:30438915
dsvsc008:30440022
pythonvspyt640:30442238
vsbas813:30436447
vscscmwlcmt:30438805
helix:30440343
vsnot107:30443614

@kowalski5233 Extensions can also tweak the current text editor's indentation settings. Does this problem reproduce when disabling extensions Code.exe --disable-extensions ?

Hi @alexdima , thanks for the reply.  This still appears to be the case, even with extensions turned off.  However, I wonder if it's not overwritten by VS entirely, because makefiles uses spaces for indentations and tabs for recipes, something I didn't really think of at the time.  So perhaps it overrides any preference so that tab is always tab, and space is always space, for makefiles?

@JDdeVilliers You're right, it looks like we ship with a language override for editor.insertSpaces for makefile. This can be seen when running F1 > Open Default Settings (JSON). Unfortunately default language specific settings trump language agnostic user settings, so to change this setting for makefile, you will need to use a language specific setting: i.e.:
	"[makefile]":  {
		"editor.insertSpaces": true
	},


[ARM] az deployment sub/group what-if：Add new commands to support What-If for ARM template deployment

Description of PR (Mandatory)
The PR adds new commands for ARM template deployment What-If (in preview):

az deployment sub what-if
az deployment group what-if

which can tell users what will happen when they deploy a template if it is valid.
A new flag --confirm-with-what-if was also added to the existing deployment * create commands to allow users to review and acknowledge resource changes and execute deployment with one operation.
Here's a sample output:

Testing Guide
(Example commands with explanations)
History Notes:
(Fill in the following template if multiple notes are needed, otherwise PR title will be used for history note.)
[ARM] Add template deployment What-If commands

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

add to S168

@shenglol Why doesn't az deployment mg, az deployment tenant have what-if?

I suggest that it might be better to change the PR title, like: [ARM] az deployment sub/group/... what-if：Add new commands to support What-If for ARM template deployment
PR title writing guide: link

@shenglol Why doesn't az deployment mg, az deployment tenant have what-if?

Currently the What-If back-end doesn't support mg-level and tenant-level deployment.

I suggest that it might be better to change the PR title, like: [ARM] az deployment sub/group/... what-if：Add new commands to support What-If for ARM template deployment
PR title writing guide: link

Thanks. I changed the title.

Is the az deployment what-if mentioned in the PR description not done? If not, please delete it in the PR description.

Do we need to consider adding tests for the new parameters confirm_with_what_if and what_if_result_format ?

Is the az deployment what-if mentioned in the PR description not done? If not, please delete it in the PR description.

Removed it. az deployment what-if was implemented at the beginning, but later I realized that the az deployment group will be deprecated, so I removed it from the code. Not sure why I added it to the description though...

Do we need to consider adding tests for the new parameters confirm_with_what_if and what_if_result_format ?

I thought about it, but the challenge is that when --confirm-with-what-if is set, the deployment sub/group create command will print out formatted What-If results and then prompt to ask users to confirm before it continues execution. I'm not sure if it's worthy verifying console output, and if there's a way to mock user behavior in a e2e test. We do have unit tests to very formatted What-If results. Please let me know if that's enough.

@jiasli to help review the colorama related code in custom.py

Hi @zhoxing-ms @qianwens @jiasli is there any other changes I need to make to merge this PR?

@shenglol Hi, we have other reviewers need to review your PR, please wait for their review first

@zhoxing-ms @jiasli do you mind helping merge it once the build pipe line passes? It would be great if we can still catch the next release.

@zhoxing-ms @jiasli do you mind helping merge it once the build pipe line passes? It would be great if we can still catch the next release.

Absolutely!

@Juliehzl could you take another look at the PR when you get a chance? Thanks!

@Juliehzl could you take another look at the PR when you get a chance? Thanks!

LGTM in general but curious about the fantastic function you add. 😊


Use hint_location upon hint failure

Depends on https://github.com/lambdaclass/cairo-rs/pull/673

[ ] Updated cairo-rs toml version to main

Codecov Report

Merging #195 (1a3fc35) into main (70a4025) will decrease coverage by 0.12%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #195      +/-   ##
==========================================
- Coverage   95.20%   95.08%   -0.13%
==========================================
  Files          14       14
  Lines         709      712       +3
==========================================
+ Hits          675      677       +2
- Misses         34       35       +1

Impacted Files
Coverage Δ

src/cairo_runner.rs
96.45% <100.00%> (+0.01%)
:arrow_up:

src/instruction_location.rs
95.23% <100.00%> (-2.39%)
:arrow_down:

src/vm_core.rs
96.66% <100.00%> (+0.07%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


neovim nightly configuration w/lua

https://github.com/nix-community/neovim-nightly-overlay
todos:

set up neovim nightly
port configuration to lua
try using internal tree-sitter and lsp features

i could just wait for neovim 5.0 to come out... maybe this issue will get old by then when i feel like working on it

https://github.com/siduck76/NvChad is good to look into for the future but i can always find it again - no more patience for now.


Pixi v4 - iOS flickering spritesheets

Hi there,
I have an issue on ios with the latest pixi build (dev branch): playing a spritesheet on ios either by setting the frame of the texture manually or by using the built-in PIXI.MovieClip is making the sprite flicker each frame. The problem doesn't happen on desktop or any other devices not running on iOS. You can see this issue there if you are on iOS : https://dl.dropboxusercontent.com/u/29261094/pixi-spritesheet/index.html

Try this one please: https://dl.dropboxusercontent.com/u/46636530/pixijs/multutex/pixi.js

Hey @ivanpopelyshev I've just tried it and put it there : https://dl.dropboxusercontent.com/u/29261094/pixi-spritesheet2/index.html
The problem is remaining on iOs devices

pasting from the other issue, try it
PIXI.glCore.VertexArrayObject.FORCE_NATIVE = true;

That is looking better: https://dl.dropboxusercontent.com/u/29261094/pixi-spritesheet3/index.html
thanks a lot for that, it is still flickering though but less than previously

And if you use both my pixi.js and that line?

yes absolutely, that's what happen on the last link

Can you retest this with the latest dev build and see if that has fixed your issue?
You can see how to download the latest build in the FAQs.
Thanks!

@guilanier as above.. could you check if this is still an issue on the latest PIXI please? Thanks

@guilanier as above.. could you check if this is still an issue on the latest PIXI please? Thanks

Hi there! Closing this issue for now due to its inactivity. Feel free to give us a poke if you would like this issue reopened. Thanks 👍


Connecting to Oasis

Is it possible to connect to Oasis with this library? It would be nice if there could be one example in the documentation, if that is possible. (On Oasis they have an example that uses PyArango).

Hi @milko,
Could you please give me the link to the example? Thanks.

I cannot send you the link, because it is a page in my account, but I am sending you the connection example they provide.
The thing is that I find python-arango driver has much better documentation and features than PyArango, so I would like to use it. The problem is that there is nowhere mentioned how to use certificates, which are required to connect to the Oasis ArangoDB cluster.
I am sending you the print-screen of the example they provide.
Thanks
Milko

On 15 Mar 2020, at 20:30, joowani<EMAIL_ADDRESS>wrote:
Hi @milko https://github.com/milko,
Could you please give me the link to the example? Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/joowani/python-arango/issues/125#issuecomment-599253861, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK2NZBRU3PVI3JMTTOSLKLRHUUGRANCNFSM4LK3KGCQ.

For some reason the screen shot didn't get it here. The example they had was for PyArango, here it is:
import pyArango.connection as ADB
encodedCA = "<the encoded certificate>"
cert = ADB.CA_Certificate(encodedCA, encoded=True)
connection = ADB.Connection(
	arangoURL = '<the database URL>',
	username = "root",
	password = "<get-from-dashboard>",
	verify = cert
)
print( "ArangoDB:", connection.getVersion() )
Hope it helps, would be very nice to use python-arango driver.

Hi @milko,
I'll take a look and see if I can add this in the next release (probably in a couple of weeks). Thanks.

Thanks a lot, this will be very useful!


clean up debug logs for netpolmgr

Currently, in debug, we are logging the entire array of nodes then printing them one by one. The array is unnecessary to view and in larger clusters is difficult to grok at all and is duplicated.
So this just now outputs the length of the array as that seems like it could be correlated to cluster node count.
I also removed the entire node output except in the case where there is an error. I also added node name to the pod error when the cidr fails just for clarity.

LGTM


Breakpoints 'red dots' not shown in editor

VSCode Version: Code - Insiders 1.19.0-insider (8a12b294de610aab61c32c02c7c148d981cf07e4, 2017-12-04T06:14:18.360Z)
OS Version: Linux x64 4.13.15-300.fc27.x86_64
Extensions:

Extension
Author (truncated)
Version

xml
Dot
1.9.2

vscode-docker
Pet
0.0.22

dot
Ste
0.0.1

vscode-nsp
ada
1.0.1

markdown-mermaid
bie
0.1.1

markdown-preview-github-styles
bie
0.1.0

vscode-svgviewer
css
1.4.3

vscode-eslint
dba
1.4.3

pgsql
dou
0.0.8

scala-lsp
dra
0.2.2

gitlens
eam
6.3.0

vscode-npm-script
eg2
0.3.3

auto-close-tag
for
0.5.5

kubernetes-snippets
ipe
0.1.3

plantuml
jeb
2.3.3

Go
luk
0.6.69

python
ms-
0.8.0

cpptools
ms-
0.14.3

github-issues-prs
ms-
0.9.0

js-atom-grammar
ms-
0.1.14

typescript-javascript-grammar
ms-
0.0.24

debugger-for-chrome
msj
3.5.0

vscode-code-outline
pat
0.0.12

vscode-jscpd
pau
0.2.0

polymer-ide
pol
0.6.0

java
red
0.15.0

shellcheck
tim
0.2.1

vscode-java-debug
vsc
0.4.0

Steps to Reproduce:

Open a NodeJS project
Try to create a breakpoint by clicking into the space next to the line number
Observe that the breakpoint is added to the list of breakpoints, but no 'red dot' appears

Reproduces without extensions: No

@ankon

can you reproduce this for any javascript file?
Can you reproduce if you disable all extensions?
Can you reproduce if you add breakpoints while you are not in a debug session?
Can you provide a small reproducable sample so we investigate? Thanks

Can you reproduce if you disable all extensions?

I did that that (see report): indeed, the issue disappears (i.e. the dot appears) when running with --disable-extensions. What is even weirder: after that test I now restarted vscode without that switch, and now things also look alright for my initial setup.

Can you reproduce if you add breakpoints while you are not in a debug session?

I could at that time, it didn't matter whether I was in a session or not. What I did notice was also that the detached toolbar for debugging commands (does that thing have a name? :D) wouldn't show up, even though hotkeys for debug commands would still work. This problem is similarly gone now :(
So, TL;DR: I cannot reproduce this anymore since I once started with --disable-extensions and then restarted again with extensions enabled. My extensions now:

Extension
Author (truncated)
Version

xml
Dot
1.9.2

vscode-docker
Pet
0.0.22

dot
Ste
0.0.1

vscode-nsp
ada
1.0.1

markdown-mermaid
bie
0.1.1

markdown-preview-github-styles
bie
0.1.0

vscode-svgviewer
css
1.4.3

vscode-eslint
dba
1.4.3

pgsql
dou
0.0.8

scala-lsp
dra
0.2.2

gitlens
eam
6.3.0

vscode-npm-script
eg2
0.3.3

auto-close-tag
for
0.5.5

kubernetes-snippets
ipe
0.1.3

plantuml
jeb
2.3.3

Go
luk
0.6.69

python
ms-
0.8.0

cpptools
ms-
0.14.3

github-issues-prs
ms-
0.9.0

js-atom-grammar
ms-
0.1.14

typescript-javascript-grammar
ms-
0.0.24

debugger-for-chrome
msj
3.5.0

vscode-code-outline
pat
0.0.12

vscode-jscpd
pau
0.2.0

polymer-ide
pol
0.6.0

java
red
0.15.0

shellcheck
tim
0.2.1

vscode-java-debug
vsc
0.4.0

Closing this since you cannot reproduce anymore.
Please let us know if you see this again and give us some reproducable steps so we can investiagte.
Thanks


no such table: LdapManager_ldapuser on POST/Saving of ldap user or group

I'm running a setup with three database sources.
Opening The ldap group directory and opening a specific ldap entry works fine.
Since commit 6930a8d6e67289335d6340ed049558dbddff8c58 I only have the problem with adding new ldap entries. Saving existing now works.
The error message is the same.
OperationalError at /admin/LdapManager/ldapuser/add/
no such table: LdapManager_ldapuser
I'm using ldapdb form within the admin interface. Maybe that's something the issue in combination with multiple databases?
In short it tries to use the default database 'sqlite' to lookup the LdapManager_ldapuser table.
This is part of a self.full_clean() sanity check, where it checks if the value is unique.
Sorry, I can't pinpoint where this is going wrong. There is no ldap reference in the trace.
Any idea how to get around this?
Settings:
	DATABASES = {
	 'default': {
		'ENGINE': 'django.db.backends.sqlite3',
		...
	 },
	 'serviceCatDb' : {
		"ENGINE" : 'ibm_db_django',
		...
	 },
	 'ldap': {
		'ENGINE': 'ldapdb.backends.ldap',
		...
	  }
	 }

Model:
class AccessGroup(ldapdb.models.Model):
'''
Class for representing ldap access group entry.
'''
class Meta:
    managed = False
    verbose_name = "AccessGroup"

base_dn = "ou=Groups,dc=sview,dc=domain,dc=nl"
object_classes = ['groupOfNames','top']

name = CharField(db_column='cn', max_length=200, primary_key=True)
members = ListField(db_column='member', default=[])
description = CharField(db_column='description',blank=True,null=True,max_length=200)

def __str__(self):
    return self.name

def __unicode__(self):
    return self.name

Admin:
class MultiDBModelAdmin(admin.ModelAdmin):
# A handy constant for the name of the alternate database.
using = 'ldap'

def save_model(self, request, obj, form, change):
    # Tell Django to save objects to the 'other' database.
    obj.save(using=self.using)

def delete_model(self, request, obj):
    # Tell Django to delete objects from the 'other' database
    obj.delete(using=self.using)

def get_queryset(self, request):
    # Tell Django to look for objects on the 'other' database.
    return super(MultiDBModelAdmin, self).get_queryset(request).using(self.using)

def formfield_for_foreignkey(self, db_field, request=None, **kwargs):
    # Tell Django to populate ForeignKey widgets using a query
    # on the 'other' database.
    return super(MultiDBModelAdmin, self).formfield_for_foreignkey(db_field, request=request, using=self.using, **kwargs)

def formfield_for_manytomany(self, db_field, request=None, **kwargs):
    # Tell Django to populate ManyToMany widgets using a query
    # on the 'other' database.
    return super(MultiDBModelAdmin, self).formfield_for_manytomany(db_field, request=request, using=self.using, **kwargs)

class AccessGroupAdmin(MultiDBModelAdmin):
    class Meta:
        model = AccessGroup

    form = LdapGroupForm
    list_display = ('name','members','description')
    search_fields = ['name']
    exclude = ['dn']

Don't think the form is very relevant.
class LdapUserAdmin(MultiDBModelAdmin):
	class Meta:
		model = LdapUser

	list_display = ('userid', 'common_name', 'surname','display_name','mail')
	search_fields = ['userid','common_name','surname','display_name','mail']
	exclude = ['dn']

Full Trace:
Environment:
Request Method: POST
Request URL: http://localhost:8080/admin/LdapManager/ldapuser/add/

Django Version: 1.7
Python Version: 2.7.9
Installed Applications:
('django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'ServiceCatalogue',
 'LdapManager')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware')

Traceback:
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\core\handlers\base.py" in get_response
  111.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\contrib\admin\options.py" in wrapper
  567.                 return self.admin_site.admin_view(view)(*args, **kwargs)
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\utils\decorators.py" in _wrapped_view
  105.                     response = view_func(request, *args, **kwargs)
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\views\decorators\cache.py" in _wrapped_view_func
  52.         response = view_func(request, *args, **kwargs)
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\contrib\admin\sites.py" in inner
  204.             return view(request, *args, **kwargs)
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\contrib\admin\options.py" in add_view
  1437.         return self.changeform_view(request, None, form_url, extra_context)
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\utils\decorators.py" in _wrapper
  29.             return bound_func(*args, **kwargs)
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\utils\decorators.py" in _wrapped_view
  105.                     response = view_func(request, *args, **kwargs)
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\utils\decorators.py" in bound_func
  25.                 return func.__get__(self, type(self))(*args2, **kwargs2)
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\db\transaction.py" in inner
  394.                 return func(*args, **kwargs)
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\contrib\admin\options.py" in changeform_view
  1380.             if form.is_valid():
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\forms\forms.py" in is_valid
  162.         return self.is_bound and not bool(self.errors)
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\forms\forms.py" in errors
  154.             self.full_clean()
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\forms\forms.py" in full_clean
  355.         self._post_clean()
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\forms\models.py" in _post_clean
  430.             self.validate_unique()
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\forms\models.py" in validate_unique
  439.             self.instance.validate_unique(exclude=exclude)
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\db\models\base.py" in validate_unique
  799.         errors = self._perform_unique_checks(unique_checks)
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\db\models\base.py" in _perform_unique_checks
  894.             if qs.exists():
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\db\models\query.py" in exists
  606.             return self.query.has_results(using=self.db)
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\db\models\sql\query.py" in has_results
  445.         return compiler.has_results()
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\db\models\sql\compiler.py" in has_results
  757.         return bool(self.execute_sql(SINGLE))
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\db\models\sql\compiler.py" in execute_sql
  786.             cursor.execute(sql, params)
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\db\backends\utils.py" in execute
  81.             return super(CursorDebugWrapper, self).execute(sql, params)
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\db\backends\utils.py" in execute
  65.                 return self.cursor.execute(sql, params)
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\db\utils.py" in __exit__
  94.                 six.reraise(dj_exc_type, dj_exc_value, traceback)
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\db\backends\utils.py" in execute
  65.                 return self.cursor.execute(sql, params)
File "D:\Users\user\.virtualenv\BSM\lib\site-packages\django\db\backends\sqlite3\base.py" in execute
  485.         return Database.Cursor.execute(self, query, params)

Exception Type: OperationalError at /admin/LdapManager/ldapuser/add/
Exception Value: no such table: LdapManager_ldapuser

I don't think Django makes any use of the "using = 'ldap'" statement in the ModelAdmin definition.
Did you add "DATABASE_ROUTERS = ['ldapdb.router.Router']" in your settings?

Yes i'm also getting that idea. Is there anyway around that? Maybe some
overwrite?
Yes i put that in my settings. Really dont know if it has any effect?
Op 26 jul. 2015 9:14 AM schreef "Philippe May"<EMAIL_ADDRESS>
I don't think Django makes any use of the "using = 'ldap'" statement in
the ModelAdmin definition.
Did you add "DATABASE_ROUTERS = ['ldapdb.router.Router']" in your settings?
—
Reply to this email directly or view it on GitHub
https://github.com/jlaine/django-ldapdb/issues/78#issuecomment-124952460
.

On 07/27/2015 12:09 AM, Rogier wrote:

Yes i'm also getting that idea. Is there anyway around that? Maybe some
overwrite?
Yes i put that in my settings. Really dont know if it has any effect?

It absolutely should have an effect:
https://docs.djangoproject.com/en/1.8/ref/settings/#std:setting-DATABASE_ROUTERS

Well I've finally got it to work. The problem was the order of the routers.
This works:
DATABASE_ROUTERS = ['ldapdb.router.Router',
'Db2App.db2approuter.Db2appRouter',
'projectname.defaultrouter.DefaultRouter']
This gave the error as described:
DATABASE_ROUTERS = ['projectname.defaultrouter.DefaultRouter',
'Db2App.db2approuter.Db2appRouter',
'ldapdb.router.Router']
So I don't know if I stumbled on a django or ldapdb bug? At least for me it's working now!

Good you found the problem.
It's not a bug:
https://docs.djangoproject.com/en/1.8/topics/db/multi-db/#using-routers

It might not be a bug in the code. But then it's a bug in documentation. Because even now when I know what to look for, and have the documentation in front of me, it's still not totally clear why it's working like this.
I agree, i'm still a beginner in django, and also pretty much novice in python alround. But I can't image i'm the only one spending allot of hours on an issue like this.

The doc says: "Django then tries each router in turn until a database suggestion can be found". Maybe not very explicit, but quite precise actually once you figure out what the "in turn" formulation means.
Off topic: that said, i never really liked the way Django implemented the multiple databases routers, and other design choices. Django as a whole has a monolithic approach first that works well out of the box in simple cases, and extended little by little. But, one needs to dig in the code and class hierarchy so much for doing "simple" things: eg querysets, forms, generic views, can be actually a pain to deal with. In other words, for me, Django is not what it claims anymore: "The web framework for perfectionists with deadlines".


dtfClient commands not working on some Marshmallow devices

I'm noticing issues with the dtf client execute on some devices, including emulators. This is holding up on device integration testing and AOSP data bundling.

Need to implement: https://github.com/android-dtf/dtf/issues/63

This seems to be a localized issue (ZTE ZFIVE2) due to SEAndroid. Not sure I can work out a solution, unless maybe allowing you to pick between unix/inet for socket type. Not something I want to support right now.
shell@guardian:/data/local/tmp $ ./socat abstract-client:dtf_socket -
2017/11/11 18:23:13 socat[28522.24670208] E connect(3, AF=1 "\0dtf_socket", 13): Permission denied

I added several checks to the various do_* calls in dtf.client (https://github.com/android-dtf/dtf/commit/e2665a91fc5560002c05252537327724a20601c1) that should safely handle this issue going forward (no more stack trace, at least).


Azurerm support

Adding AzureRM support

@broomyocymru Awesome! This is great. 👍

Anything else required to get it merged?

Hey @BrianHicks can we get this merged? Tests are added and passing.

@rossedman I'm an external contributor and while I technically could merge this, I no longer have the authority to do so.
@cnguyen2, could you please route @rossedman's request to the appropriate party within Cisco?

@BrianHicks ah thanks, I didn't realize you didn't have that authority any more. Thanks a lot. Will ping @cnguyen2 to understand process more.


Update isMobilePhone.js

Added Pakistan's phone number regex for validation

Coverage remained the same at 98.84% when pulling 2b92393a920b235cf5c534fc9a19a865fc398ddf on thabung:patch-1 into cd92fb3e8e70109e35a564ce633ebe893c444df9 on chriso:master.

Thanks.


Add testing for mbeans processing

Solr 7 changes the key names in the JSON for mbeans metrics. This adds
testing, in conjunction with the exported JSON from different solr
versions, for mbeans processing that will fail if any version of solr
output doesn't work for the mbeans processing. This can serve as a
framework for writing tests against solr output for different versions
for other metric categories as well.
These test currently fail for solr 7 because the keys changed to be more
dynamic. I haven't found a good way resolve that yet since dynamic JSON
in golang can be challenging.

Thanks !

I've done fixes for solr7 support thanks for your tests it helped me a lot.

Really glad to hear it! I'm excited to get this new version deployed in my environment to cut out all the errors in the log!


visionOS SDK not installed on macOS 13 runner when using Xcode 15

Description
When using the macOS 13 runner with Xcode 15, the visionOS SDK is not installed.
When attempting to run a command like xcodebuild build -scheme MyScheme -destination generic/platform=visionOS, it fails with the following error (example failure):

{ platform:visionOS, id:dvtdevice-DVTiOSDevicePlaceholder-xros:placeholder, name:Any visionOS Device, error:visionOS 1.0 is not installed. To use with Xcode, first download and install the platform }

This is because the visionOS SDK is not included by default in Xcode 15, and has to be downloaded separately (like the iOS and tvOS SDKs).
Platforms affected

[ ] Azure DevOps
[X] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[X] macOS 13
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
Image: macos-13
Version: 20230821.3
Included Software: https://github.com/actions/runner-images/blob/macos-13/20230821.3/images/macos/macos-13-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-13%2F20230821.3
Is it regression?
No
Expected behavior
I expect the visionOS SDK to be installed by default on the macOS 13 runner when using Xcode 15, like other Apple platform SDKs (iOS, tvOS, watchOS).
Actual behavior
I expect the visionOS SDK to be installed by default on the macOS 13 runner when using Xcode 15, like the other Apple platform SDKs.
Repro steps
Attempt to build an Xcode project for the visionOS destination (-destination generic/platform=visionOS), for example:
xcodebuild build -scheme "Lottie (visionOS)" -destination generic/platform=visionOS -workspace Lottie.xcworkspace
https://github.com/airbnb/lottie-ios/actions/runs/5956146043/job/16156293405?pr=2152

Hello @calda, we will take a look.

we install SDKs as xcodebuild -downloadAllPlatforms, seems visionOS needs to be downloaded separately as xcodebuild -downloadPlatform visionOS
also, XCode 15 Beta 7 was released. Hopefully, we'll release visionOS SDK together with Beta 7

@calda ,can you help me to check ?
I created test image with visionOS SDK.
git clone https://github.com/airbnb/lottie-ios
cd lottie-ios/
xcodebuild build -scheme MyScheme -destination generic/platform=visionOS

output
Command line invocation:
    /Applications/Xcode-15.0.0-Beta.7.app/Contents/Developer/usr/bin/xcodebuild build -scheme MyScheme -destination generic/platform=visionOS

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Resolve Package Graph

Fetching from https://github.com/pointfreeco/swift-snapshot-testing.git

Fetching from https://github.com/krzysztofzablocki/Difference

Creating working copy of package ‘Difference’

Checking out 1.0.2 of package ‘Difference’

Creating working copy of package ‘swift-snapshot-testing’

Checking out 0c2826f26d00ff5ddf2de92cb6b2139b0dd3d1ee of package ‘swift-snapshot-testing’

Resolved source packages:
  swift-snapshot-testing: https://github.com/pointfreeco/swift-snapshot-testing.git @ 0c2826f
  Difference: https://github.com/krzysztofzablocki/Difference @ 1.0.2

2023-08-25 08:53:39.219 xcodebuild[5652:28389] Writing error result bundle to /var/folders/rt/x00qb5ls0zb9nhklqtxg4qy40000gn/T/ResultBundle_2023-25-08_08-53-0039.xcresult
xcodebuild: error: The project named "Lottie" does not contain a scheme named "MyScheme". The "-list" option can be used to find the names of the schemes in the project.

did I miss some build step ?

Yeah, that one works. Other options include:

bundle exec rake build:package:visionOS
xcodebuild build -scheme "Lottie (visionOS)" -destination generic/platform=visionOS -workspace Lottie.xcworkspace

Hi all, given that the xcodebuild -downloadAllPlatform invocations seems yet to be buggy in Xcode 15.0 the only alternative would be to install it via xcodes utility in runtime (beware that it is a 3rd party package so nobody guarantees its overall stability).
1 brew install xcodesorg/made/xcodes
2 xcodes runtimes install 'visionOS 1.0 Beta 2'
we will continue tracking Xcode changes to make vision OS a part of the image (hopefully before macOS 13 goes GA)

I see the Xcode 15.0 release candidate has been published. Unlike the betas, the RC doesn't include the visionOS SDK. Perhaps this is why the behavior of xcodebuild -downloadAllPlatform hasn't been updated yet.
In the meantime, we've started using the xcodes runtimes install workaround @mikhailkoliada suggested.
To enable folks to continue using the visionOS SDK in GitHub actions jobs, could the team leave an Xcode 15 beta available on the macOS 13 image, in addition to the Xcode 15 RC / production version? That would be very helpful for us.

some news from our side, we've found better way of installing visionOS, currently we are going to release updated image with visionOS added.
thanks for bringing that to attention, Apple indeed says
Xcode 15 Release Candidate enables you to develop, test, and distribute apps for all Apple platforms. You can download the platforms you would like to develop for directly from Xcode. For development with the visonOS 1 SDK, continue to use Xcode 15 beta 8.

@calda, as for software policy we install only three latest avaiable versions. sorry, no "rc" is possible together with "beta 8"

As of https://github.com/actions/runner-images/issues/8282 it is no longer possible to build for the visionOS SDK using the above workaround

Any updates here? Maybe we can have Xcode-beta.app deployed alongside Xcode 15 so we can still build for visionOS?

@vfilyakov , do you know what is the official Apple support for visionOS ? will it eventually be added to XCode 15 ?

Any updates here? Maybe we can have Xcode-beta.app deployed alongside Xcode 15 so we can still build for visionOS?

I would ask @mikhailkoliada  if that is possible or not

We are going to provide Xcode versions according to our software policy, eventually visioonOS will be included in the release too by apple

Looks like Xcode 15.1 Beta has support for visionOS:
https://developer.apple.com/documentation/xcode-release-notes/xcode-15_1-release-notes
Considering that Apple plans to release Vision Pro in Q1 2024, we should have the release version of visionOS 1.0 in some release version of Xcode 15.x before that (hopefully). But for now we will have to deal with betas, looks like.

We are going to provide Xcode versions according to our software policy

@mikhailkoliada What is the official policy here in regard to Xcode betas? Would be beneficial to hear the plan for this...

btw, I installed XCode 15.1, visionOS was installed together with XCode.

We can't predict with certainty what Apple will release in the future, but my expectation currently (based on the Xcode 15.0 release) is that:

the Xcode 15.1 betas will include the visionOS SDK beta (like the Xcode 15.0 betas)
the final Xcode 15.1 release will not include the visionOS SDK beta (like the final Xcode 15.0 release).

Adding the Xcode 15.1 beta to GitHub actions would allow us to use the visionOS SDK again, up until when that beta is removed from the macOS runner.

For those who stumble upon this in the future:
defaults write cxcodebuildt.Xcode AllowUnsupportedVisionOSHost -bool YES
defaults write com.apple.CoreSimulator AllowUnsupportedVisionOSHost -bool YES
xcodebuild -downloadPlatform visionOS

Shove this in your script before you do anything and it'll work, at least it did when I tested against Xcode 15.2.

Oops, yes. Not sure how I messed that up…

This saves for me.
But oneday I'll consider to move to paid macos-13-xlarge runner...Currently no


tiny build has no feat diff

only use 'plines_nofill' when FEAT_DIFF || PROTO is defined
issue was introduced in 7.4.856
Signed-off-by: BlackEagle<EMAIL_ADDRESS>

fixed, thanks for contributing


Fix async components diffing

We have to define the class constructor, else async components are recreated everytime the parent rerenders.
Technical details: if not defined on the Async class, the property constructor is inherited from Component, and preact does not find the actual Async constructor in buildComponentFromVNode, so it doesn't find the component owner, so the component is recreated.
I made a gist if you want to reproduce 😄 https://gist.github.com/BenoitZugmeyer/67b44e172a44d013290d25b62052f207

hah! I knew that would catch up with me. Thanks for the PR and great explanation.


Building via docker on GitHub actions?

Currently when I try to run sls deploy on github actions it fails with:
Serverless: Zipping the gemfiles and native libs to /home/runner/work/repo/repo/.serverless/ruby_layer/gemLayer.zip

 Exception -----------------------------------------------

  [OperationalError: EACCES: permission denied, scandir '/home/runner/work/repo/repo/.serverless/ruby_layer/build/ruby/2.7.0/gems/pg-1.2.3/ext/.gem.20210317-1-q5o5ls'] {
    cause: [Error: EACCES: permission denied, scandir '/home/runner/work/repo/repo/.serverless/ruby_layer/build/ruby/2.7.0/gems/pg-1.2.3/ext/.gem.20210317-1-q5o5ls'] {
      errno: -13,
      code: 'EACCES',
      syscall: 'scandir',
      path: '/home/runner/work/repo/repo/.serverless/ruby_layer/build/ruby/2.7.0/gems/pg-1.2.3/ext/.gem.20210317-1-q5o5ls'
    },
    isOperational: true,
    errno: -13,
    code: 'EACCES',
    syscall: 'scandir',
    path: '/home/runner/work/repo/repo/.serverless/ruby_layer/build/ruby/2.7.0/gems/pg-1.2.3/ext/.gem.20210317-1-q5o5ls'
  }

My serverless config contains:
custom:
  rubyLayer:
    use_docker: true
    docker_file: Dockerfile
    native_libs:
      - /usr/lib64/libpq.so.5
      - /usr/lib64/libldap_r-2.4.so.2
      - /usr/lib64/liblber-2.4.so.2
      - /usr/lib64/libsasl2.so.3
      - /usr/lib64/libssl3.so
      - /usr/lib64/libsmime3.so
      - /usr/lib64/libnss3.so

OS: ubuntu-latest
NodeVersion 15.10.0
Ruby version 2.7.1
Bundler version 2.2.6

Thanks Nihad for rising the issue.
I will check this issue with simple example from my side. Meanwhile please share your gemfile that you have used.

The same error. Was checked on all ubuntu versions on Github actions.


Include numbering in PDF bookmark

Description
Have the PDF outline bookmark contain the numbering.
Use Case
Common in other software.

See also: https://github.com/typst/typst/discussions/1163

Does PDF have a dedicated feature for bookmark numbering, or would it have to be part of the bookmark itself?

I think it would need to be part of the bookmark / outline entry itself.

That would be really useful for us as well, we have the same heading names in the appendix to add more information to a few topics. Our normal headings are numbered normally (1,2,3...) and our appendix is using letters (A,B,...). But sadly this doesn't show up in the bookmarks, but it works in the outline.

And the corresponding output:

Copied from #2306

Description
For example suppose you just want numbers in your heading: align(center, pad(heading(numbering: "1", ""))). Then the title of the heading is technically blank. When the PDF is exported, these blank titles are copied into the outline.
Looking at how textbooks do things, I believe the correct implementation would be to make the PDF heading match the rendered title (i.e. it would be the concatenation of the numbering and title). This improves readability of your typical titles as a corollary fixes the issue with blank PDF outlines because they will still have numbers.

Hi! I'm new to the code base. I've been trying to look at this but the finalized number added as a prefix to the heading text doesn't seem to be a part of the HeadingElem, so I haven't found a way to retrieve it with Introspector::query. Instead, it seems to be dynamically created using Counter::at and Counter::display. However, these require an instance of Engine which afaik isn't available in the phase where Document is turned into a pdf.
Do you have any ideas on how the number should be retrieved? Should it be stored in the HeadingElem somehow? @laurmaedje

@voidiz This is indeed tricky. I don't immediately see a clean way to solve this, I need to think more about it.

Hello, I'm interesting to contribute to typst, since this issue is in the Good first issues, so I did some research, please have a look the screenshot, for my understanding is that we should add page number with the bookmark.

add page number with the bookmark

Hi! What we want is to include section numbers, instead of page numbers.
Example: Manual of the amssymb (LaTeX) package.

I've removed the good first issue label since it turns out to be a bit trickier to resolve the numbering. I'll try to look into what would be necessary to fix this (this time for real).

The problem is that in the export stage we don't have access to the World/Engine etc. which is needed to resolve numbers + a numbering pattern or function into a concrete string/content.
I see two possible avenues to deal with this:

Only support numbering patterns, not functions, as those can be resolved without an engine (the engine is only needed to call the numbering function)
Resolve the numbering into an #[internal] field in the heading's Synthesize implementation and use that. It's a bit hacky, but I think it should work.

Hi @laurmaedje sorry I spend some time to learn typst and try to resolve the issue so I didn't check your comments, my idea is just add numbers in typst-pdf/src/outline.rs write_outline_item function. I did basic testing seems is working fine. If you don't mind I can create PR for this issue.

@unclebean how did you create the numbers? The big challenge is to have it properly interact with both counter(heading) updates and user-defined numberings.

Hi @laurmaedje I have created one PR for it.
My assumption is that in the same level user may define the header like this
#set heading(numbering: "A.")
= Introduction
= Background
== History
== State of the Art
then in the write_outline_item function we can get Numbering::Pattern from HeaderElem since the iteration is following header sequence so we can create the numbers to call Numbering::Pattern apply function:
= Introduction             -> [1]
= Background             -> [2]
== History                   -> [2, 1]
== State of the Art     -> [2, 2]
after that we will get the number with bookmark like this:

The problem is that this will ignore counter updates. Try putting counter(heading).update(1) somewhere in between the headings. The output will be different between PDF and #outline().

That probably works quite often, but is too brittle in my opinion. I think we should aim for a proper solution, which will likely involve a synthesized field, as said above. (I updated my comment to reflect that actually the counters are also a problem, not just non-pattern numberings.)

I see, when I learn typst and try to find out the way to resolve the issue, I think may should have easy way to store number value rather than only have Pattern in Numbering. If my PR is not good to merge may I check with you any other issue I can pickup?


Inconsistent cron job status indication

Cron status are indicated differently depending on if the page is loaded via URL or if using the refresh button.
Version Information

OS: Apache/2.4.62 (Debian)
PHP:  	8.3.12
MySQL/MariaDB: 11.5.2-MariaDB-ubu2404
Wavelog: 1.8.6
Docker Image: ghcr.io/wavelog/wavelog@e10139c03457

Steps to Reproduce
Case 1

Visit /cron
See failed jobs with correct translation highlighted in red
Press "Aktualisiere Liste"
See failed jobs with English text highlighted in yellow.

Case 2

Visit /cron
See failed jobs with correct translation highlighted in red
Edit a job
See failed jobs with English text highlighted in yellow.

Case 3

Visit /cron
See failed jobs with correct translation highlighted in red
Enable or disable a job
See failed jobs with English text highlighted in yellow.

Expected Behavior

Language does not switch
Consistent status colors

Screenshots
On initial load

after refresh

Desktop Information:

OS: macOS 14.6.1 (23G93)
Browser: Firefox
Version: 131.0.2 (64-Bit)

Additional Context
Relates to https://github.com/wavelog/wavelog/discussions/1076

@corvus-ch
Should be fixed in dev branch :)

What is the best way for me to test and verify this? It is probably a bad idea to just update my production instance. Is there even a container image available for the dev branch?

What is the best way for me to test and verify this? It is probably a bad idea to just update my production instance. Is there even a container image available for the dev branch?

There is a docker container available for the dev instance :) instead latest just choose dev. See our Docker Wiki for more informations (here)
To test this there are multiple ways. To verify the fix set up a local instance of Wavelog and play around. You could prohibit internet access to this container (the cron runs against localhost in docker) and see if the jobs fail. Also set the instance to german and see if the text is still german after hitting the reload button.

probably this month


Socket close while disposition batcher sends causes dead lock

Observed when the server socket is closed (e.g. toxiproxy down, management disconnect, etc.) while a batched disposition is sending. ReceiveMessage hangs forever after this. kill -3 response:
goroutine 1355 [select, 918 minutes]:
runtime.gopark(0xc001f3be50?, 0x2?, 0xc8?, 0x23?, 0xc001f3be24?)
      runtime/proc.go:363 +0xd6 fp=0xc001f3bcb0 sp=0xc001f3bc90 pc=0x43d2b6
runtime.selectgo(0xc001f3be50, 0xc001f3be20, 0x20?, 0x1, 0x28?, 0x1)
      runtime/select.go:328 +0x7bc fp=0xc001f3bdf0 sp=0xc001f3bcb0 pc=0x44d1fc
github.com/Azure/go-amqp.(*Conn).sendFrame(...)
      github.com/Azure/go-amqp@v0.18.0/conn.go:809
github.com/Azure/go-amqp.(*Session).txFrame(0x0?, {0x7778360?, 0xc002594360?}, 0x40e127?)
      github.com/Azure/go-amqp@v0.18.0/session.go:188 +0xaa fp=0xc001f3be80 sp=0xc001f3bdf0 pc=0x3469d8a
github.com/Azure/go-amqp.(*Receiver).sendDisposition(0xc0004e0000, 0x251c, 0xc001cd6ad0, {0x7778240?, 0xb7e0040})
      github.com/Azure/go-amqp@v0.18.0/receiver.go:341 +0x116 fp=0xc001f3bec8 sp=0xc001f3be80 pc=0x34628d6
github.com/Azure/go-amqp.(*Receiver).dispositionBatcher(0xc0004e0000)
      github.com/Azure/go-amqp@v0.18.0/receiver.go:300 +0x25d fp=0xc001f3bfc8 sp=0xc001f3bec8 pc=0x34624bd
github.com/Azure/go-amqp.(*Session).NewReceiver.func1()
      github.com/Azure/go-amqp@v0.18.0/session.go:216 +0x26 fp=0xc001f3bfe0 sp=0xc001f3bfc8 pc=0x3469fc6
runtime.goexit()
      runtime/asm_amd64.s:1594 +0x1 fp=0xc001f3bfe8 sp=0xc001f3bfe0 pc=0x46f181
created by github.com/Azure/go-amqp.(*Session).NewReceiver
      github.com/Azure/go-amqp@v0.18.0/session.go:216 +0x10a

goroutine 1742 [select, 918 minutes]:
runtime.gopark(0xc0026c6998?, 0x2?, 0x11?, 0xe0?, 0xc0026c696c?)
      runtime/proc.go:363 +0xd6 fp=0xc0026c67f8 sp=0xc0026c67d8 pc=0x43d2b6
runtime.selectgo(0xc0026c6998, 0xc0026c6968, 0x100c0026c6ca8?, 0x1, 0x0?, 0x1)
      runtime/select.go:328 +0x7bc fp=0xc0026c6938 sp=0xc0026c67f8 pc=0x44d1fc
github.com/Azure/go-amqp.(*Conn).sendFrame(...)
      github.com/Azure/go-amqp@v0.18.0/conn.go:809
github.com/Azure/go-amqp.(*Session).txFrame(0xc0026c6e78?, {0x77783a0?, 0xc0017f6780?}, 0x0?)
      github.com/Azure/go-amqp@v0.18.0/session.go:188 +0xaa fp=0xc0026c69c8 sp=0xc0026c6938 pc=0x3469d8a
github.com/Azure/go-amqp.(*Session).mux(0xc000966640, 0xc0022f2000)
      github.com/Azure/go-amqp@v0.18.0/session.go:553 +0xfc5 fp=0xc0026c6fc0 sp=0xc0026c69c8 pc=0x346b0a5
github.com/Azure/go-amqp.(*Session).begin.func2()
      github.com/Azure/go-amqp@v0.18.0/session.go:161 +0x2a fp=0xc0026c6fe0 sp=0xc0026c6fc0 pc=0x34699aa
runtime.goexit()
      runtime/asm_amd64.s:1594 +0x1 fp=0xc0026c6fe8 sp=0xc0026c6fe0 pc=0x46f181
created by github.com/Azure/go-amqp.(*Session).begin
      github.com/Azure/go-amqp@v0.18.0/session.go:161 +0x1df

goroutine 1353 [select, 918 minutes]:
runtime.gopark(0xc001f38f20?, 0x2?, 0xa0?, 0xec?, 0xc001f38e54?)
      runtime/proc.go:363 +0xd6 fp=0xc001f38c90 sp=0xc001f38c70 pc=0x43d2b6
runtime.selectgo(0xc001f38f20, 0xc001f38e50, 0xc002100338?, 0x1, 0x4c6fc5df00000000?, 0x1)
      runtime/select.go:328 +0x7bc fp=0xc001f38dd0 sp=0xc001f38c90 pc=0x44d1fc
github.com/Azure/go-amqp.(*Conn).connReader(0xc0017da2c0)
      github.com/Azure/go-amqp@v0.18.0/conn.go:692 +0x589 fp=0xc001f38fc8 sp=0xc001f38dd0 pc=0x345bb69
github.com/Azure/go-amqp.(*Conn).start.func1()
      github.com/Azure/go-amqp@v0.18.0/conn.go:334 +0x26 fp=0xc001f38fe0 sp=0xc001f38fc8 pc=0x345a1a6
runtime.goexit()
      runtime/asm_amd64.s:1594 +0x1 fp=0xc001f38fe8 sp=0xc001f38fe0 pc=0x46f181
created by github.com/Azure/go-amqp.(*Conn).start
      github.com/Azure/go-amqp@v0.18.0/conn.go:334 +0x5a

goroutine 1752 [select, 918 minutes]:
runtime.gopark(0xc001f37e68?, 0x2?, 0x9?, 0x18?, 0xc001f37dd8?)
      runtime/proc.go:363 +0xd6 fp=0xc001f37c60 sp=0xc001f37c40 pc=0x43d2b6
runtime.selectgo(0xc001f37e68, 0xc001f37dd4, 0xc001f37e08?, 0x1, 0x0?, 0x1)
      runtime/select.go:328 +0x7bc fp=0xc001f37da0 sp=0xc001f37c60 pc=0x44d1fc
github.com/Azure/go-amqp.(*Conn).mux(0xc0017da2c0)
      github.com/Azure/go-amqp@v0.18.0/conn.go:537 +0x868 fp=0xc001f37fc8 sp=0xc001f37da0 pc=0x345b3c8
github.com/Azure/go-amqp.(*Conn).start.func2()
      github.com/Azure/go-amqp@v0.18.0/conn.go:353 +0x26 fp=0xc001f37fe0 sp=0xc001f37fc8 pc=0x345a146
runtime.goexit()
      runtime/asm_amd64.s:1594 +0x1 fp=0xc001f37fe8 sp=0xc001f37fe0 pc=0x46f181
created by github.com/Azure/go-amqp.(*Conn).start
      github.com/Azure/go-amqp@v0.18.0/conn.go:353 +0x15b

goroutine 1354 [select, 918 minutes]:
runtime.gopark(0xc00185cf70?, 0x4?, 0x60?, 0xbe?, 0xc00185cf08?)
      runtime/proc.go:363 +0xd6 fp=0xc00185cd88 sp=0xc00185cd68 pc=0x43d2b6
runtime.selectgo(0xc00185cf70, 0xc00185cf00, 0xc0017d3900?, 0x0, 0xc0000fe501?, 0x1)
      runtime/select.go:328 +0x7bc fp=0xc00185cec8 sp=0xc00185cd88 pc=0x44d1fc
github.com/Azure/go-amqp.(*Receiver).mux(0xc0004e0000)
      github.com/Azure/go-amqp@v0.18.0/receiver.go:580 +0x388 fp=0xc00185cfc8 sp=0xc00185cec8 pc=0x3464208
github.com/Azure/go-amqp.(*Receiver).attach.func3()
      github.com/Azure/go-amqp@v0.18.0/receiver.go:534 +0x26 fp=0xc00185cfe0 sp=0xc00185cfc8 pc=0x3463c26
runtime.goexit()
      runtime/asm_amd64.s:1594 +0x1 fp=0xc00185cfe8 sp=0xc00185cfe0 pc=0x46f181
created by github.com/Azure/go-amqp.(*Receiver).attach
      github.com/Azure/go-amqp@v0.18.0/receiver.go:534 +0x13c

rax    0xca
rbx    0x0
rcx    0xffffffffffffffff
rdx    0x0
rdi    0xb7e2d40
rsi    0x80
rbp    0xc0002f1718
rsp    0xc0002f16d0
r8     0x0
r9     0x0
r10    0x0
r11    0x286
r12    0xc0000c0500
r13    0x4
r14    0xc000dcb380
r15    0x7fb5d33eb5a9
rip    0x4710c1
rflags 0x286
cs     0x33
fs     0x0
gs     0x0

And on the main thread
goroutine 92 [select, 918 minutes]:
runtime.gopark(0xc001e438f0?, 0x3?, 0xf8?, 0x38?, 0xc001e438ca?)
      runtime/proc.go:363 +0xd6 fp=0xc001885750 sp=0xc001885730 pc=0x43d2b6
runtime.selectgo(0xc0018858f0, 0xc001e438c4, 0xc0000f27d8?, 0x0, 0x7fb5fa6ae5b8?, 0x1)
      runtime/select.go:328 +0x7bc fp=0xc001885890 sp=0xc001885750 pc=0x44d1fc
github.com/Azure/go-amqp.(*Receiver).Receive(0xc0004e0000, {0x77e54c8, 0xc000b5c400})
      github.com/Azure/go-amqp@v0.18.0/receiver.go:125 +0x212 fp=0xc0018859d8 sp=0xc001885890 pc=0x3461a72

1355 & 1742 - attempting to send a frame via conn.sendFrame() to connWriter which is dead
1353 - connReader() attempting to send a frame to conn.mux (conn.mux is blocked in 1752)
1752 - conn.mux attempting to send a frame to a session mux (presumably dead)
1354 - receiver.mux waiting for an incoming frame
main thread - receiver.Receive() waiting

@mcardy how easy is this for you to repro?  I believe that some of these issues have been fixed (I need to fix the third bullet).

It is not easy at all to reproduce. In our scenario, we send about 10 million messages to a receiver all the while connecting and disconnecting the socket. I can try with the head of main if that contains #173 and you think that is a potential fix?

It looks like we are unable to reproduce this with the merge of #173. #218 also looks good to me to further reduce this possibility. Closing this as resolved by #173.

Hey @jhendrixMSFT, happy new year! Not to sound like a broken record but do you have a target date for a release with #173 merged?

@mcardy happy new year!  Our POR is to get this, and other pending PRs, released within the next few weeks.


Deprecation Notice for "Create API Token"

Hi,
New installation of Jenkins 2.233 and ghprb-plugin 1.42.1.
Manage Jenkins -> Configure System -> GitHub Pull Request Builder ->
Click the "Create API Token" button.
Enter username and password.
A token is successfully created and appears in Github.   (Settings -> Developer settings -> Personal access tokens)
Immediately received an email from<EMAIL_ADDRESS>:

Hi @__,
On April 22nd, 2020 at 17:47 (UTC) you or an application you used recently accessed the deprecated Authorizations endpoint on the GitHub API with the useragent Java/1.8.0_242.
We will remove the Authorizations API endpoint on November 13, 2020. If you accessed the API via password authentication, then we recommend you use the web flow to authenticate. Please check that your app uses the web flow for authentication https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow
You can learn more about these changes by visiting our developer blog https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/
Thanks,
The GitHub Team

And now deprecation has moved on to removal, and this functionality is just broken :(
Seems like the plugin is abandoned?

And now deprecation has moved on to removal, and this functionality is just broken :(
Seems like the plugin is abandoned?


Scidata 'rights' limited to 1 entry

Currently, the 'rights' section is limited to 1 entry. Functionality for adding multiple rights entries would be advantageous.

Needs to change to a JSON array of objects / Python list of dicts from JSON object / Python dict


Using solid as the main DOM engine in Atom (replacing etch)

Plan
I plan to use solid for Atom projects. Atom has its own DOM library called etch, which is used in the core of Atom as well as many of its packages. etch has some limitations, it has an average performance, and forces a certain style of programming.
https://github.com/atom/etch
Implementation
To make the transition seamless, I want to make a drop-in replacement library that uses solid as its backend but has the same API as etch.
The documentation of etch gives an overview of the API
https://github.com/atom/etch
These are the source code of the API (initialize, update, destroy):
https://github.com/atom/etch/blob/master/lib/component-helpers.js
and here the dom function:
https://github.com/atom/etch/blob/9b90d6ad88b90b8a273992c540879b915d9967a2/lib/dom.js#L4
P.S: The other approach is to use meta-programming to transpile etch code to solid code. However, this can be complex, but I am open to that approach too. Something like this babel plugin or this transformer
Benchmarks
In the benchmarks, etch is behind solid so this can be beneficial in general (~25% improvement). This can enhance the responsiveness of the editor.
https://krausest.github.io/js-framework-benchmark/2020/table_chrome_84.0.4147.89.html

The last dramatic change for improving the performance happened back in 2017 by introducing etch. Now it is the time to replace that with a faster modern framework. Even if we do not use it for text rendering, other parts of the Atom can benefit from it.
https://blog.atom.io/2017/06/22/a-new-approach-to-text-rendering.html
https://blog.atom.io/2018/01/10/the-state-of-atoms-performance.html
P.S:

I have made an issue in the solid framework: https://github.com/ryansolid/solid/issues/206
etch was removed last month from the benchmarked frameworks due to its inactivity

I have made a demo of this etch-solid library:
https://codesandbox.io/s/etch-solid-pwonz?file=/src/index.jsx

I want to register that I've seen this PR but feel unqualified to give aproper technical review. If somebody more versed with JS could give a review, you'd have my appreciation.
As with any performance increasing change, if this is faster and not buggy, then I don't see why not.
@aminya if you can direct me to somemspecific things to testbI should be able to contribute testing if/when I get the time. (Probably not this week!)

The discussion is being followed here: https://github.com/ryansolid/solid/issues/206

I'm very picky about my frontend frameworks, but no-vdom + jsx ❤  I'm basically already sold on the switch.

etch solid is written and if you notice it is a tiny wrapper around solid. I have made etch-solid to be as backward compatible as possible.
https://github.com/atom-ide-community/etch-solid/blob/master/src/index.ts
The remaining are these:
https://github.com/atom-ide-community/etch-solid/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
etch-solid also does not have manual scheduling like etch does.


Front End Developer - HTML, JS & CSS Wellington, New Zealand Full-time

Company Description
The SG Digital Group (a division of Scientific Games) leads the global gaming market, providing innovative software that powers the world’s most successful operators.
We pride ourselves on product innovation and technical excellence and are constantly adding new applications and new functionality to our product suite, used by billions of end users. And, while many other companies have been downsizing, we continue to see growth across our business.
Want to be part of our story?
Job Description
The project utilises the latest in frontend technologies including React, Redux, HTML5, CSS and responsive web design. The solution supports a number of online channels i.e. desktop, mobile, native app.
These are just some of the tasks you may work on:
Developing innovative new betting features for the platform
Working with the customer's BAs to design new features
Investigating and developing performance improvements to the platform
Coaching and Mentoring less experienced members of the team
Answering business stakeholders's queries about the platform
Qualifications
Required skills:
Extensive experience building web applications using HTML5, Javascript and CSS
Understanding of modern CSS development techniques
Ability to create robust web application UIs from visual concepts, wireframes, and interactive product design sessions
Expertise with modern CSS frameworks
Good working knowledge of Javascript. Experience with React.js beneficial.
Great communication and collaboration skills; solid attention to detail
Experience with agile development
Additional Information
Why would you enjoy working with us at SG Digital?
Competitive benefits, an open and supportive environment as well as a modern and exciting workplace
The opportunity to interact with global teams on a regular basis and the possibility to switch teams and projects as you and our business continues to develop and grow
Tangible and genuine development - at SG Digital, you can take your career where you want it to go!
Exposure to real work, business-critical projects and the chance to develop some of the world’s leading e-commerce sportsbooks whilst working on exciting client projects and interact with lots of code!
contact-info<EMAIL_ADDRESS>

🖐

This position is closed


Add Marathon 0.11 rc 1 into Multiverse

While apps are in rc or experimental mode and in an effort to drive to "ship it" which means it is part of dcos, marathon should be deployed to the Multiverse https://github.com/mesosphere/multiverse/
let me know if you need any support!

There is an RC for the final Release in universe.


Optional named parameters in routes produces wrong result

Laravel Version: 5.8 and before
See https://github.com/laravel/framework/issues/7881 and https://github.com/laravel/framework/pull/7892

@taylorotwell Is this going to be fixed in Laravel 6.0? The original patch was rejected because there's no backward compatible solution

I think I understand your description from issue #7881.
You have the route /list/{f_catid?}/{f_name?} and want to use the route /list?f_sort=price, right? The two things I don't understand: where does the parameter f_sort comes from and what prevents you to just call the route /list?f_sort=price? As all parameters of /list are optional, you can just redirect to it with a query string.
If I understand correctly, your interpretation of optional parameters is to put them all in the query string. Is that correct?

Example route: /list/{f_catid?}/{f_name?}
Parameter: Only an additional parameter f_sort=price
Expected: /list?f_sort=price
Actual: /list/price
I've talked to @taylorotwell at Laracon.eu 2018 in Amsterdam about that problem. It can't be fixed in 5.x because it would break existing REST routing code (route /product/id? automatically gets populated with first parameter regardless of its name). Question is if it will get fixed in 6.0 where breaking changes can be made.

I see. And what exactly prevents you form linking to /list?f_sort=price? The parameter f_sort is in the query string so it has nothing to do with routing.
What function do you call that generates your actual result but should be the expected result? I guess if we fix that function call that will solve everything and be backward compatible^^

We use \Illuminate\Contracts\Routing\UrlGenerator -> route( $routename, $params )
where $params contains ['f_sort' => 'price']

Hey @aimeos. Because the changes for this will break quite a few things for existing apps we don't consider this to be a bug but rather a behavioral change. Feel free to open up an issue in the ideas repo to discuss this change and maybe attempt a PR to the master branch again. Make sure you add enough tests and cover the scenarios discussed in the original pr as well: https://github.com/laravel/framework/pull/7892
Thanks!


[Docs] Add a tidbit about Cycles to the docs in 'Customizing Plots'

I wanted to change the color cycle for a plot, as the default color cycle of hv.Overlay only spans 5 colors.
I talked to @jlstevens on gitter and got it resolved very quickly but we figured out that Cycles are only mentioned in the Customizing Plots.html docs, however no example of their use is given.
I prepared a minimal example below, with and without Cycle specified in plot opts:
This example shows why the color cycle can be problematic, as this issue also details; as soon as you get to more than 5 curves, the color cycle repeats.
xs = np.linspace(-np.pi,np.pi,100)
hv.Overlay([hv.Curve((xs, xs*(i+1))) for i in range(6)])

%%opts Curve (color=Cycle('Blues'))
#^ This will change the color cycle to the palette Blues
xs = np.linspace(-np.pi,np.pi,100)
hv.Overlay([hv.Curve((xs, xs*(i+1))) for i in range(6)])

There is now a whole sections on Cycles and Palettes here.


MarksToggleSigns is unreliable

Since the last update, MarksToggleSigns does not work reliably. It doesn't hide all marks in the buffer anymore. Also, set_next doesn't work reliably anymore. I've attached a video of  the issue.
Video
https://user-images.githubusercontent.com/273399/140695597-dfa393f5-db91-480f-80a1-c93c4ff74135.mp4
Config
    -- marks
    use({
      "chentau/marks.nvim",
      config = function()
        require("marks").setup({
          default_mappings = false,
          force_write_shada = false,
          refresh_interval = 1250,
          builtin_marks = { ".", "<", ">", "^", "[", "]", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", [[']], [["]], },
          mappings = {
            next = "m]",
            prev = "m[",
            set_next = "m,",
            delete_line = "m<bs>",
            delete_buf = "m<space>",
          },
          excluded_filetypes = {
            "NeogitCommitMessage",
            "NeogitCommitPopup",
            "NeogitPopup",
            "NeogitStatus",
            "TelescopePrompt",
            "help",
            "packer",
          },
        })

Neovim version
NVIM v0.6.0-dev+560-g1fdbd29df
Build type: Release
LuaJIT 2.1.0-beta3

I can’t seem to be able to view your attached gif. Can you provide a concrete repro?

I can’t seem to be able to view your attached gif. Can you provide a concrete repro?

I think this was a configuration issue on my part. After reinstallation, I can't reproduce the issue.


Find website broken links

Description
This PR implements the functionality of detecting broken links withing a website, both in anchor and image elements.
Closes #118
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added screenshots(if any) that prove my fix is effective or that my feature works

All set

@all-contributors please add cyrilico for code, doc


fix: remove default paragraph font size in product pages

Fix #
Test URLs:

Before: https://main--moleculardevices--hlxsites.hlx.page/products/clone-screening/mammalian-screening/cloneselect-imager
After: https://product-p-font--moleculardevices--hlxsites.hlx.page/products/clone-screening/mammalian-screening/cloneselect-imager

@lydiapuric @mhaack another small PR for font size on product pages.


Detect unused parameters

Having the ability to detect parameters that are set but unused would greatly simplify debugging, but also allow for doing "validated" computation, which could raises if a parameter is not used.
As we may want to compute only an intermediate result (which would typically not depend on all parameters) this should not be enforced or enabled by default. That is, provide another helper, or argument.

Might also want to check for unused providers. This should probably be an independent flag.

Maybe we could just extract a graph from the pipeline
and use other packages to detect missing parameters or providers,
instead of checking them manually (with if or for statement).
Something like
import networkx as nx
G = nx.Graph()
G.add_nodes_from([1, 2, 3, 4, 5])
G.add_edge(1, 2)
G.add_edge(1, 3)
list(nx.connected_components(G))

# [{1, 2, 3}, {4}, {5}]

And then we can easily find all of the disconnected components and do something about them, finding unused params or providers or missing providers etc....
Is there an easy way to retrieve edges and nodes from graphviz.Digraph.....?

Is there an easy way to retrieve edges and nodes from graphviz.Digraph.....?

If we implement several diagnostic tools, we should have a way of directly constructing a graph (networkx directly or a custom representation). Going for networkx directly might be the best choice because it gives us access to a lot of tools like @YooSunYoung showed.


[RefactoringRequest] oauth2_token_verify method renaming

First of all - Thank you for all what you are doing.
We are debugging mod_oauth2 module and faced with misunderstanding.
Initially, we expected that oauth2_token_verify will validate jwt token, but instead code verifying only json compatibility. Agree, name don't include jwt, but it's what we assumed.
Maybe you can modify the name to reflect json validation in a naming?

actually oauth2_token_verify  does verify JWTs: a token is not always a JWT, but if it is you'd use something like:
OAuth2TokenVerify jwks_uri <jwks_uri>`

depending on where you get the key material from

We are talking about the same method? This method don't know anything about JWT validation (for me JWT validation is - verification of signature)

Also -I'm not wanna write code, we are debugging why we our Azure AD application account can't authorize.

ptr->callback calls into https://github.com/zmartzone/liboauth2/blob/master/src/jose.c#L1109`when configured for JWT based access tokens

thank you for an explanation.