Could not resolve dependencies

I got an error message saying that "Could not resolve dependencies for ..." when running the following magic in a Scala notebook.
%classpath add mvn org.apache.spark spark-sql_2.11 2.2.1

do you have the latest version of BeakerX (0.13.0)?

Yes, I'm using the latest version (0.15) but same issue still exists!

I'm not seeing it, can you please better document how to reproduce this?

i just tried on mybinder and it worked there.  can you see it here?
https://mybinder.org/v2/gh/twosigma/beakerx/0.15.0?filepath=StartHere.ipynb

Below is the information of notebook that run into issues.
OS: Ubuntu 16.04
Notebook server: 5.4.1
Python: 3.5.2 [GCC: 5.4.0] installed using apt-get and packages managed by pip3
BeakerX 0.15.2
Scala 2.11.12
hash e46e2de
I tried to install Jupyter Notebook and BeakerX using conda and everything works well.
OS: Ubuntu 16.04
Notebook server: 5.4.1
Python: 3.6.4 |Anaconda, Inc.| [GCC 7.2.0] installed using conda and packages managed by conda
BeakerX 0.15.2
Scala 2.11.12
hash e46e2de
So my question is does BeakerX rely on Python 3.6 or/and conda to work?

I had the same issue, in my case the cause was that my conda environment did not include maven.
Fixed it by running conda install maven (java maven already installed) in my beakerx conda environment (after running source activate beakerx)

@scottdraves
%classpath add mvn com.google.code.gson gson 2.2.4
new com.google.gson.GsonBuilder().create().toJson("Hello", System.out)

generates the following error message and output.

@scottdraves Can you reopen this issue?


fix: FluentSelect doesn't render properly when changing both Value and Items

🐛 Bug Report

Have a FluentSelect component and a button click causes it to change both the Value and Items of the select. When this is done more than once, the FluentSelect no longer displays the selected item without clicking on the dropdown to show the list of items.
💻 Repro or Code Sample
Create a new project using the 'Fluent Blazor Web App' template. Replace the contents of the 'Counter.razor' file, in the Client project, with this.  Run the project, navigate to the 'Counter' page and click on 'Click me' several times.
@page "/counter"
@rendermode InteractiveAuto

<PageTitle>Counter</PageTitle>

Counter

    Current count: <FluentBadge Appearance="Appearance.Neutral">@currentCount</FluentBadge>

<FluentButton Appearance="Appearance.Accent" @onclick="IncrementCount">Click me</FluentButton>
<FluentSelect Items="@FruitList" Value="@Fruit" />
<FluentTextArea Value="@Fruit"/>

@code {
    private int currentCount = 0;

    private string Fruit = "Orange";
    private List<string> FruitList = new List<string>() { "Apple", "Grape", "Orange", "Kiwi" };

    private void IncrementCount()
    {
        currentCount++;
        if (Fruit.Equals("Orange"))
        {
            FruitList = new List<string>() { "Watermelon", "Blueberry", "Lemon", "Peach" };
            Fruit = "Blueberry";
        }
        else
        {
            FruitList = new List<string>() { "Apple", "Grape", "Orange", "Kiwi" };
            Fruit = "Orange";
        }

    }
}

🤔 Expected Behavior
The value of the FluentSelect and the list of items should change each click, alternating between 'Orange' being selected and displayed on the FluentSelect control and 'Blueberry'.
😯 Current Behavior

The first time the 'Click me' button is clicked, the FluentSelect properly shows 'Blueberry' as the selected item. However, subsequent clicks show the FluentSelect with no text visible on the component but when clicking on the drop down arrow, I can see the proper items and that the correct item is selected.

I will note that the FluentCombobox component (simply change FluentSelect to FluentCombobox) works properly.
💁 Possible Solution

🔦 Context

I have a requirement to dynamically change the list of options in a drop down box depending on the value of other components.
🌍 Your Environment

OS & Device: Windows 11
Browser Edge and Firefox are all I've tested.
.NET 8.0.8 and Fluent UI Blazor library Version 4.9.3

It is a timing issue. The underlying web component needs to have a tiny amount of time to 'catch up' with the items being changed. If you change the IncrementCount to
private async Task IncrementCountAsync()
{
    currentCount++;
    if (Fruit.Equals("Orange"))
    {
        FruitList = new List<string>() { "Watermelon", "Blueberry", "Lemon", "Peach" };
        await Task.Delay(1);
        Fruit = "Blueberry";
    }
    else
    {
        FruitList = new List<string>() { "Apple", "Grape", "Orange", "Kiwi" };
        await Task.Delay(1);
        Fruit = "Orange";
    }
}

It will work then:

This "work around" does indeed solve it for my simple example.
However, for my application which relies on getting the select list and selected item via an Http api, it still doesn't work.
My guess is that the timing intricacies are more complex than a simple Task.Delay can fix.

I'm not sure that the timing is very different.
Once your API call is done and the data is returned (which I assume is not like thousands of options) your situation should not be really different than in this simple example. You set the items, give the component some room to catch up and then set the selected item.


Agents staged via http_hop always appear as orphaned..... not fixed !!

Empire Version
OS Information (Linux flavor, Python version)
after remove agent it stays orphaned and  give non stop message ""agent orphaned ...........""
i had to exit to stop this message ..
any idee how can i fix this?

Any additional information

here you see that i have a lot of agents and can ot kill them ..i tried "" kill all ""   and "" remove all ""
but nothing works and i dont understand why i have all the those agents ??

@mateo24xx I figured out the issue. The php code does not contain any logic to return the HTTP response code. Simply, if the return value is false, it will return nothing. So if an agent needs to re-stage after being removed, it never will.

xorrior thank you for your reply..
you right it's better to use other alternatives like you mentioned


ARROW-15295: [R] Add 6.0.0 to our old versions to check

Adds 6.0.0 (which should have been done just after the last release) to our backwards compatibility matrix

@github-actions crossbow submit test-r-arrow-backwards-compatibility

@github-actions crossbow submit test-r-arrow-backwards-compatibility

@wjones127 @paleolimbot @thisisnic would any of you mind taking a look at this?


[2.x] Fix the support of RestClient Sniffer for OpenSearch 2.0 and update tests

Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Maybe we don't need to add test for es version 7.10.2, since the GET _nodes/http API response in es 7.10.2 is almost the same with opensearch 1.0.0.


Fix command line arguments for worker getting overridden

PR #583 changed the order or registering configuration sources so that environment variables will be registered before command line arguments. This change fixed issues where the environment variables were overriding the command line argument values (ex: port number for GRPC communication) and that causes worker failing to start.
Looks like this issue was impacting our Linux use cases.
https://github.com/Azure/azure-functions-host/issues/7555
https://github.com/Azure/azure-functions-dotnet-worker/issues/524
The fix was made to the worker code. But this does not prevent the issue completely because customer can add environment variables as a configuration source after the "ConfigureFunctionsWorkerDefaults" method call in the worker main code.
var host = new HostBuilder()
.ConfigureFunctionsWorkerDefaults()
.ConfigureAppConfiguration(builder => builder.AddEnvironmentVariables())
.Build();

This code causes worker to fail when trying to GRPC handshake. (in Linux + VNet use case)
The workaround is to swap the order as below
var host = new HostBuilder()
.ConfigureAppConfiguration(builder => builder.AddEnvironmentVariables())
.ConfigureFunctionsWorkerDefaults()
.Build();

#1500 is an issue where customers ran into this situation.
There were few ideas discussed in the hallway conversations, updating the worker code to check for command line arguments with FUNC prefix (Ex: FUNCTIONS_GRPC_PORT) and use that value if present, else fallback to existing implementation (using PORT argument). Another approach is to pass this information worker needs via environment arguments.

With proper IConfiguration and IOptions usage, we can make the cmd line or environment variable approaches both work and be completely interchangeable. Infact, the root cause is less what mechanism we use to get the values into functions, and more that we used very generic values. If we switch to FUNCTIONS__HOST__URI or FUNCTIONS__GRPC__URI, then these automatically map into IConfiguration as "functions:host:uri" and "functions:grpc:uri". We then have enough insolation on those variables to avoid collisions - which is what was happening. As "HOST" and "PORT" are very generic env vars that are much more likely to already be set.


⚠ Plex has degraded performance

In 8261a62, Plex ($SITES_URL_PLEX) experienced degraded performance:

HTTP code: 523
Response time: 3368 ms

Resolved: Plex performance has improved in 20a090e after 24 minutes.


site down

site is not opening

It looks like it's working here. The error you're getting is also a connection reset error. It might have been an intermittent issue, can you confirm it is still not working for you?

yeah still i am facing same issue
On 18 January 2016 at 18:59, Justin Baker<EMAIL_ADDRESS>wrote:

It looks like it's working here. The error you're getting is also a
connection reset error. It might have been an intermittent issue, can you
confirm it is still not working for you?
—
Reply to this email directly or view it on GitHub
https://github.com/oneclick/rubyinstaller/issues/304#issuecomment-172527337
.

--
Thanks & Regards,
Suresh Babu
Phone:9177389695

downforeveryoneorjustme.org reports site is up:
http://www.downforeveryoneorjustme.com/rubyinstaller.org
Most likely the issue you're facing is a corporate proxy or our internet provider is blacklisting RubyInstaller.
I recommend check from another connection and if that still persist, please reply back.
Cheers.


[CHORE] put Join us links in footer

Description
Having the links, where it's currently located, is taking too much space unnecessarily. It would be nice if it could be placed in footer.

Hey @rupali-codes , I just submitted a PR. Let me know if this is not exactly what you were referring to.


Emacs: neil.el should work with compound commands

[x] This PR corresponds to #245

[x] I have updated the CHANGELOG.md file with a description of the addressed issue.

[x] I have considered whether I should add more tests covering the code I've changed.

Could you maybe explain the fix? Why is there a specific regex about clj/clojure?
Does another command like bb -Sdeps '...' -m babashka.neil not work?
In lsp-mode you can define lsp-clojure-custom-server-command to be a list of strings, would something similar not work here?
https://github.com/emacs-lsp/lsp-mode/blob/c3be413f8545a26ad0334e1dd2b7e65c448d9f22/clients/lsp-clojure.el#L41

Hmm... good point. So, basically, I'm trying to resolve the executable path, i.e. if it's set to "clj -M:neil", it should become something like "/usr/bin/clj -M:neil". But (executable-find "clj -M:neil") => nil - it is not smart enough. So I need to resolve only the first part and then stitch the cmd-line string together.
I suppose I can make it work for any generic command - trying to resolve the first part of it.

@agzam Just in case, shell-command-to-string works even if I use a command name without the full path, it has to be in $PATH though (as well as with executable-find case), so the solution looks a bit overcomplicated to me.

the solution looks a bit overcomplicated to me.

executable-find pattern is quite common for this kind of cases, shell-commands may fail if:

The executable isn't in the current PATH
The PATH env in Emacs differs from your shell's PATH
The executable is found but lacks permissions

executable-find helps with:

avoiding ambiguity with shell aliases
resolving to the actual binary file, avoiding shell-level abstractions like aliases, functions, or built-ins

This isn't an overcomplication worth simplifying.

The executable isn't in the current PATH

in this case, most likely it isn't in exec-path either

The PATH env in Emacs differs from your shell's PATH

exec-path-from-shell helps with that a bit

minimizing ambiguity, resolving to the actual binary file, avoiding shell-level abstractions like aliases, functions, or built-ins, symlinked executables, systems with multiple Python/Node/etc. versions

Ok, but if we want to avoid the ambiguity and other shell-related problems, shell-command isn't the best solution either, why not call-process for example?

you get the same binary regardless of PATH order or shell configuration

or you don't get it at all :)
An alternative solution would be to use two defcustoms - one for the command itself and another for (optional) args. Like some other Emacs packages do.

Like I said: "I don't think it's an overcomplication worth simplifying.". If you disagree, please make another PR, we can even hold off merging this one until then. If it makes simpler, you can even do it in a nested PR.
You do know how the saying goes: "Talk is cheap, send patches". I already spent a good chunk of my Saturday to fix a problem you pulled out of thin air, if the proposed solution is still not bringing any joy, please do improve it, I have no emotional attachment to this code, nor do I have any privilege to dictate how it should be structured.

@a13 upon revisiting my own comment, I just realized how awfully angry it may sound for the reader on the other side. I'm sorry, never was my intent. I just want to emphasize, there's no reluctance from me for any change - if you feel anything can be improved, of course, I will happily review any proposals, I just don't like mincing words when something can be better expressed with code.


FullScreen with Scene Delegate not working

Hi,
I created a new project with Xcode 11 and i'm using MMplayer with Scene delegate but it's not working for full screen when screen is rotated.Please check and fix it.

Use swiftU

disable SceneDelegate


Feature request: Weather at video location

Description of issue / Feature request
I was thinking, and that was widely considered a bug...
Anyway, the current weather is not very useful to me, mainly because I find it easy enough to look out the window to figure it out. It would have been more useful to me if it was the weather prognosis, but that would probably be such a complex UI widget that I don't think it is within the scope of this software.
So, my second thought was that it would be much nicer instead if I cold get the current weather at the location of the current video.
I guess that would mean extending the manifest format somehow, and some like the space ones may not be feasible.
Thanks!

Hey @NiklasBr !
Interesting idea I have to say. But I've just learned that Yahoo is shutting down it's weather API in a month (!), so I'm afraid I may have to remove weather altogether.
I wanted to offer more stuff (forecasts/low/max etc) to make it more useful but that may not be possible unless I find a plan B for a free API.

Ohno, that's not good news.
Upon a cursory research it seems a lot of API:s still have a free tier with a few thousand requests per months, so you could potentially offer my feature suggestion if you also add a a proxy. Because the Apple video locations are known you could poll them X times a day and then serve that to the individual screen savers.
Insert Archer meme: "Do you want complexity? That's how we get complexity"


startScan returns duplicated devices.

Hi, thanks for the great library.
I tried scan with below code.
            (async () => {
                const config = {
                    "deviceName": "XXXXX",
                    "bufferSize": 1024,
                    "characterDelimiter": "\n"
                }
                let res = EasyBluetooth.init(config);
                console.log('[BT init]', res);

                res = await EasyBluetooth.startScan();
                console.log('[BT startScan]', res);
            })();

It returns 26 objects but the problem is that they are all same objects.
I'm not testing in a special place but just in the house.
The address and name of them are all same.
Any help?
Thanks.

This is expected. The library returns what you bluetooth device finds.
If you note, the device is the same, but the NAME and the RSSI can be updated.
So, you need to handle this, if the mac address is the same, just update the NAME and the RSSI values.

Thanks very much for your quick answer.
Yes right, mac address is same but RSSI is being updated as you said.
It's still kind of odd to me because it's too many that I got 26 same devices at single scanning call.
But I got it.
Thanks.

I looked again at your question, and I saw that repeating devices are being returned in startScan, right?
I think we can handle this in the library.
Initially I thought you were talking about the onDeviceFound event.

Right.
By the way, I will try other methods today too, such as onDeviceFound.
startScan was only one I tried so far.
Thanks.

why is it that it can only find laptops and iphones but not android

Devices returned are found by the Android Bluetooth API itself. The library makes no interference at this point.
@aidooyaw1992, Please create a new issue for your question, do not pollute other issues with unrelated messages.


Feedback coraline

Hi @NhuPham254
Hope this comments find you well.  This is my initial comments and feedback about your research project.
I added some feedback about the code, I hope it will be helpful to you! (because I don't know how to use your way to write the latex function in quarto, so I try to use $$ citation to make the comments, please just focus on the contents between the $$

[x] In your extension model, I feel a little bit confuse of the formula of y^{+} and  y^{++} , I try to make it more clear like this  3e31a2855c3f13ca73d5d5dd8e9839e97c437e31
[x] I try to make the matrix form clear to read c7a5c784032eb33bae8da59cb411a89af381ccdb
[x] Here is a typo of widetilde A fb00cb4ce78724534a39dbfb0bb03c9c21cde6cb

All in all, this is a great algorithms. I like its clear logic and topic and I look forward to your future research!

Hi @cora1ine,
Thank you for your feedback.
I have added the suggested notation and fixed the typo.


Build Failure

Hi All,
I am trying to build and getting an error concerning explicit type casting.
This is just to give a heads-up on this.

Hi @dAgbeve ,
Thank you for opening this issue.
In order to help you, could you let me know which version of facil.io you are using (or which branch)? Which compiler?
Thanks,
Bo.
P.S.

It would be better if you pasted the log as a code block rather than an image.

I think these errors are lying to you. There's little wrong with the casts, as I made sure the suctions use intptr_t where casting between a function that accepts a number to one that accepts a pointer.

@boazsegev  thank you for the prompt response.
The 0.7.x branch was cloned and for the compiler, GCC version 10.2.0.
P.Ses are well noted.
Thank you,
aAgbeve.

Hi @dAgbeve ,
Thanks for the quick reply.
GCC 10.2.0... this might take me a while. I'll need to install it and test with it.
I'll get back to you as soon as I can.
Bo.

I'm installing GCC 10.2 today... (mine was 5.x, and I was happily coding away with abandoned disregard).
Just one more question - it seems to me, from the log, that all warning are treated as errors (perhaps you are building it with DEBUG set)...
Does the build fail when DEBUG is unset (or warnings are allowed to call out without turning to errors)?
FYI: GCC's own code doesn't compile without warnings, so this flag will prevent GCC from compiling as well.

Great!
Yes, the $(WARNING)  flags are what is preventing the compilation, as that is what they were meant to do. Taking that out, compilation was successful.


Use .mp4 for video extension

This stops ffmpeg spamming MPEG related errors at me. (Yes, I'm actually using the video recording stuff...)

The extra step required to actually use the videos anywhere has kept me using OBS, but I've at least tried to use the record functionality. Always thought it was a useful addition so I'm glad someone's using it.

 Usually have to re-encode either way for Discord's tiny size limit though.
Hmm, may have a problem if I ever get sound in my games...


Added note that lists require blank lines before them

One tip added to Best Practices.

Thank you!


Ulebekebek

I don't know the meaning but I encountered the word from the story of 'Bkais Chemrungel'.
Ma lebong er Ngarchelong, e ng ulebekebek a medal a Delemumu. Ma lebochang eng merang el mlo keklebokel el obang bechil el me ra klengit el reng.

Pretty sure it comes from blekebek
On Mon, Apr 3, 2023, 4:21 PM John Bent @.***> wrote:

I don't know the meaning but I encountered the word from the story of
'Bkais Chemrungel'.
Ma lebong er Ngarchelong, e ng ulebekebek a medal a Delemumu. Ma
lebochang eng merang el mlo keklebokel el obang bechil el me ra klengit el
reng.
—
Reply to this email directly, view it on GitHub
https://github.com/tekinged/missing/issues/409, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXYSPXSFPEJHOCDMVQDVQMDW7NEOPANCNFSM6AAAAAAWR43U74
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Update tapir-core, tapir-http4s-server, ... to 0.19.1

Updates

com.softwaremill.sttp.tapir:tapir-core
com.softwaremill.sttp.tapir:tapir-http4s-server
com.softwaremill.sttp.tapir:tapir-json-circe
com.softwaremill.sttp.tapir:tapir-openapi-circe-yaml
com.softwaremill.sttp.tapir:tapir-openapi-docs
com.softwaremill.sttp.tapir:tapir-refined
com.softwaremill.sttp.tapir:tapir-swagger-ui

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.tapir" } ]

labels: library-update, early-semver-minor, semver-spec-patch

Codecov Report

Merging #224 (9224d63) into develop (51800ee) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #224   +/-   ##
========================================
  Coverage    50.58%   50.58%
========================================
  Files            5        5
  Lines           85       85
========================================
  Hits            43       43
  Misses          42       42

Continue to review full report at Codecov.

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


Use grandparent block colours for number picker dropdowns

Resolves
No issue, just came up in passing
Proposed Changes
Set dropdown colours based on grandparent block colours for the number picker dropdown, making it match the behaviour of other dropdowns.
Reason for Changes
Looks nicer
Test Coverage
Tested in the vertical playground.
Old:

New:

LGTM


feat(mat-form-field): Option to allow MatHint to persist alongside MatError

Feature Description
On every Angular Material project I've worked on, our accessibility team has flagged that the mat-hint disappears when mat-error appears. To be accessible, it is required that the mat-hint continues to persist somehow. Currently, the mat-hint element is fully removed from the DOM: https://github.com/angular/components/blob/master/src/material/form-field/form-field.html#L83
This has been brought up on SO several times:

https://stackoverflow.com/questions/60185384/keep-the-displaying-of-both-error-and-hint-if-error
https://stackoverflow.com/questions/47166694/angular-material-input-with-hint-text-and-error-text-at-the-same-time

To compensate, on each project we:

Write a wrapper component around MatLabel, MatHint, and MatError, as well as MatInput, MatSelect, MatCheckbox, etc, duplicating all of their inputs, or
Write a wrapper component around MatLabel, MatHint, and MatError, using content projection for the form controls, which breaks the synchronization between all the elements.

I propose we hide mat-hint with CSS (e.g. display: none) instead of fully removing it from the DOM. This will allow users to easily continue to persist mat-hint as they see fit, simply by overriding the CSS.
(Alternatively, or in addition, we could add e.g. @Input('persistHint') to mat-form-field, but this would require more of a reworking of mat-form-field's logic, and would also require making some design decisions about how mat-hint should look when displayed alongside errors, for which the Material guidelines don't give instruction AFAIK.)

We're following the behavior specified in the Material Design specification:

Error message
When text input isn't accepted, an error message can display instructions on how to fix it. Error messages are displayed below the input line, replacing helper text until fixed.

I suspect that it was done this way, because it'll be cramped if there's both an error and hint text.

@crisbeto Understood, but would it be possible to simply hide the hint text with CSS instead of removing it from the DOM altogether? That way it would still adhere to the Material spec, but our users with screen readers would be able to still access the hint text.

Wouldn't that be confusing for users because the input would have an aria-describedby pointing both to the error and the hint? E.g. if you had an email input, a screen reader might read out "Enter your email, This isn't a valid email".

I agree there are some implementation details to work out. But this always comes up in accessibility testing, and so think it would be prudent to address.

@crisbeto Thanks for letting me know! I actually have a PR in progress for this, just need to wrap up the test cases. Want me to give it a whirl before you guys start dedicating your time?

Sure, go for it.

@crisbeto Here's the PR, although there's this random e2e test is failing but seems unrelated? Would love it if you could set me straight on that! https://github.com/angular/components/pull/24441


missing RESTORE option

Hi,
this is a CR and not a real issue and is related to the “restore” option.
The main idea is to be able to restore data from a specific backup version.

Development for this is already in progress and will probably end with 'time machine' type integration (sliding in time to find backup that fits), most probably initially for https://vifm.info/. I expect it in month or two to be ready.
Manual command to do the same will probably appear sooner, no ETA at the moment but it is in the plans.

Resolved and completed in saf 0.16 with saf revisions and Vifm plugin integration.
https://github.com/dusanx/saf#saf-revisions--h---quiet----verbose-012----debug-target-name-path
https://github.com/dusanx/saf#file-manager-integration


Add integration coverage

Checklist

General Contributing

[ ] Have you read the Code of Conduct and signed the CLA?

Is This a Code Change?

[ ] non-code related change (markdown/git settings etc)
[ ] auto-generated code change
[ ] non-auto-generated code change

Validation
{Add language specific validation steps i.e. how to build/test/documentation/etc}

Codecov Report

Merging #8 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #8   +/-   ##
=======================================
  Coverage   48.68%   48.68%
=======================================
  Files           6        6
  Lines         684      684
=======================================
  Hits          333      333
  Misses        351      351

Flag
Coverage Δ

#unit
48.68% <ø> (ø)

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

Continue to review full report at Codecov.

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


Weaken the circularity re-delay assertion when errors have been emitted.

We don't finalize declarations when there's been an error, which means
we might never assign types to the stored properties/cases of a nominal
type from another file, which means that circularity checking for types
using those types be re-delayed.
Resolves SR-4594.

@swift-ci Please smoke test and merge.


index.md

title: Trying out the new projects experience
shortTitle: Projects (beta)
intro: 'Build customized projects to track your work in {% data variables.product.company_short %}.'
versions:
fpt: ''
ghec: ''
topics:

Issues
Projects
children:
/about-projects
/quickstart
/creating-a-project
/customizing-saengsom-project-views
/using-the-api-to-manage-projects
/automating-projects
/managing-the-visibility-of-your-projects
/managing-access-to-projects
/best-practices-for-managing-projects

Why:
Closes [issue link]

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[x] This pull request impacts the contribution experience

[x] I have added the 'writer impact' label
[x] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

gh pr checkout 16095

gh pr checkout 16095


Fix import of resolver mappings and order configuration for older rel…

…ANNIS versions.

bors r+

bors r+


Allow to install desired version of NRPE and reelated packages.

By default latest version found in repositories will be installed.
Node or recipes in the runlist can override the attribute for a specific version

@tas50, I think now it is OK after I rebased.. Can you please have a look ? By the way, I did not upped version. Do you prefer me to up?  (in another community cookbook, owner requested not to up so why I am asking ;) )

CLosing this one. Will create a new PR from Schuberg Philis account


Issue 48 Favicon not showing

I think favicon should be visible now, please check. fixes #48
I have checked it on the following devices and browers:
On safari:

on Chrome:

on iPhone 11:

on Android:

Hey @DhairyaBahl ! Please review it.

@dig9074vijay FIles are conflicting ! and what this PR is about ?? Is it about the messenger favicon ? then it is already fixed !

@dig9074vijay FIles are conflicting ! and what this PR is about ?? Is it about the messenger favicon ? then it is already fixed !

Yes it was for favicon, since it's fixed already I can close this PR or I can fix the merge conflicts and then you can merge it. What do you want me to do?

@DhairyaBahl I have fixed the conflicts

@dig9074vijay I am afraid to say that there is no need to merge the changes that are already there. As per the guidelines of GSSOC, strict action will be taken on spammy pull requests. So, I won't be merging this PR. Sorry for inconvenience caused. Do check out other issues.
Thanks and Regards ! Really Appreciate the effort.

@DhairyaBahl Thanks for pointing that out.


apt-get install is failing on github action workflow

Describe the bug
apt-get install is failing on github action workflow because the mirror list is not updated
To Reproduce
Execute ci or release workflow
Platform (please complete the following information):
N/A
Expected behavior
Have the workflow executed without errors
Screenshots
N/A
Additional context
apt-get install may fail if it is used directly without update the mirror list with apt-get update

done by #35


Multiplayer: Latency issue for other player

Describe the bug
Multiplayer: Latency issue for other player
Steps to reproduce the behavior

Navigate to https://arcade.makecode.com/beta#
Finish a multiplayer game or go to this project https://arcade.makecode.com/S72175-85939-49606-07425
Host the multiplayer game
Share the join link and other player join
Player1 (host) click button A to see how long it takes for the player1 to jump up
Plyer2 click button A to see how long it takes for the player2 to jump up

Actual behavior
Player2 jumps after pressing button A. But player1(host) jumps almost as soon as the button A is pressed.
Expect behavior
No latency issue for other player.
Screenshot
Player1(host) jumps almost as soon as the button A is pressed.

Player2 jumps after pressing button A.

Additional context
1.OS: Windows11
2.arcade version: 1.13.28
7.Microsoft MakeCode version: 9.1.5

related: https://github.com/microsoft/pxt-arcade/issues/5393 should mitigate this to some degree by cutting out about half the network (guest -> server -> host goes down to just guest -> server), at the cost of making host face a bit of network lag as well.


Max context setting - minor bugs

A couple small things to be ironed out with the max content setting calculations.
max_token calculation
If I'm understanding this correctly, the API considers max_tokens to be the context and the response combined. So there shouldn't be a need to subtract the max context setting from the max token setting.
Currently we are calculating the parameter like this:
max_tokens = (maxTokenSetting - maxContextSetting)
We should simply do this before each request:

set the maxTokenSetting directly as the parameter in the request
trim the messages by the maxContextSetting

Or, to calculate on the fly similar to this, we'd have to introduce a third setting, like I described in another issue:
max_tokens = (maxContextSettings - desiredMaxResponseSetting)  (with the maxTokenSetting still serving to cap this at a maximum)

Other likely manifestations of this bug:

Sometimes requests are sent with a max_token value that is too large to be allowed:

(response is an error because the maximum value for max_token on gpt4 is ~8000).

Yardanico brought this up a few hours before you did lol, just in #34.
I just fixed this in 2.0.3.


Ci refactor

Closes #38
Use reusable workflows to make testing and deployment simpler.
Also deprecated the devcontainer image. I'll have to add that to the README

Looks like we can't yet load an multi-arch build. Looks like build and test will be on GH runners only for now

I can also setup buildx with SSH endpoints easier: https://docs.docker.com/build/ci/github-actions/configure-builder/#ssh-authentication

Just found out https://github.com/docker/build-push-action/issues/738: looks like we can't use local images as base images with Docker buildx.
I'm going to try using a local registry and see if that works, i don't think I can afford not to use Buildx atm

It seems like nesting a matrix build inside a reusable workflow inside another matrix build results in the innermost matrix build executing sequentially instead of in parallel.
This isn't a huge deal but this means our tests will run sequentially which is pretty slow and annoying. The issue with this is that my current setup with a reusable workflow scoped to a specific idris version tag is probably the most organized I can have so far, so I'm not sure how else I could change it

ci failed because there is no more disk space on my oracle server 💀


Document Ott’s Best Practices from 1 hour session

Design or Research
Document Ott’s Best Practices from 1 hour session on 10/10/2024.
Tasks

[x] Document session in notion.

Additional Context
https://www.notion.so/flexion-cdc-ti/Ott-s-Best-Practices-11c5955365f580569842d47539f5af9b#11f5955365f5800c87a2fad35c5481ad

James reviewed and approved.

Follow up session scheduled for 10/17/2024 at 3:00 PM EDT.
Ott's message:
" I just completed the  documentation for ReportStream and ETOR.  And, I also have another good advice of how to generate and test message locally without going to Azure.  I use it.  It is very affective and good to know.  Would you like to get together again once more session meeting?  I will go over the doc and demo it to you all."

@pluckyswan reviewed and left a comment. Once that's addressed, it's good to go from my POV.


I want a Semantic Token Provider for the VSCode Extension

As an AaC VSCode user, I want a Semantic Token Provider for the VSCode Extension, so that the AaC VSCode plugin can provide dynamically registered keywords, types, and enums.
References:
https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide
Tokens are classified into types noted here: https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide#standard-token-types-and-modifiers
AC:

[x] The LSP supports the DocumentSemanticTokensProvider
[x] The VSCode Extension provides a dynamic list of keywords for the currently defined root keys as namespace tokens.
[x] The VSCode Extension provides a dynamic list of types based on the currently defined definitions' names as class tokens.
[x] The VScode Extension provides a dynamic list of enums based enum-defined values as enumMember
[ ] The VScode Extension provides a dynamic list of field names such as name: or type: based on the declaration of schema-defined field names as struct (maybe an alt?)

I did some testing with the Scope/Token inspector and after some refactoring and clean up it looks like VSCode isn't really sending the cancellation requests anymore.


吾思虑再三，若备一转换之工具，甚美呓。吾之工程，尽为文言呓！

That would be really nice, but would also need a huge amount of work to implement. Think about all the various nuances and tricky details of other languages, and the fact that other languages (especially JavaScript) are constantly evolving themselves. I imagine it could be quite a pain to keep up. Perhaps one day there would be a large enough community of wenyan developers to support this kind of project. I look forward to that day :)

LLVM might be helpful. There is emscripten (https://github.com/emscripten-core/emscripten) which can compile C/C++ to js. Given the simiarlirties between Wenyan and js, it would be possible to translate js to Wenyan.

Given the simiarlirties between Wenyan and js, it would be possible to translate js to Wenyan.

This might be possible, because it's hard to convert the JavaScript to LLVM IR, however reverse is possible to be done.
Thus the LLVM IR to wenyan is meaningful a use case that C/C++ into wenyan, but that won't work for converting JS to wenyan.

@yorkie Let me rephrase: we can convert c/c++ to LLVM IR. And we also know that we can convert LLVM IR to js (using emscripten). Since js shares some similarities with Wenyan, it is possible to modify emscripten and generate Wenyan, instread of js.

it would be possible to translate js to Wenyan.

You actually said it as it's possible, aha but never mind :)
And yes, we can output "wenyan" from LLVM IR, IMHO I'm a little bit -1 on this idea, the "wenyan"'s good part is to represent a program in Classical Chinese, that means what a programmer now think about the solution to problems in Classical Chinese language model, I'm very inspired on this part :)

Yep, your idea definitely worths checking out.
I, and the person who starts this thread, wish to compile existing programs to Wenyan. For example, we can have OpenSSL in Wenyan. Then people from 1000 years ago can securely communicate with us. I would say this idea to trans-compile, as well as the Wenyan itself, is more for recreational and research purposes rather than actual usage.

How about developing a tool to take a JS/Java source code, and explain it in Wen Yan. That will make programming or learning how to programming fun. Users can also learn JS/Java etc at the same time improve their Wenyan.

Isn't it exactly what the title mentions?

@LingDong-  I'm working on one. https://github.com/zxch3n/wenyanizer
You can play it online http://zxch3n.github.io/wenyanizer
There are still some basic js grammars that are not parsed correctly. But I'm optimistic 😄.
When making it, I met some obstacles resulting from the current syntax. I hope the incoming specifications will include the following two things.

typeof keyword. For example, a[b] = 3 is hard to implement since in Wenyan Lang index starts from 1. If b is a number, we should index a by b + 1; however, when b is of string type, we should index a by b. Though it can be polyfilled by using data, it will look bad.
this keyword. I really need this one to make things better. But I guess it's a hard problem due to the weird behavior of JS' this.

PS: I guess we need not keep up with the development of JS specifications. We might only need es5, and use babel to compile all the new things down to es5.

It turns out I can actually use 「this」 directly right now. Though weird, but it works.
Currently, I'm using the following way to make new working.
function A(arg){
    this.arg = arg;
}

const a = new A(123);

=>
吾有一術。名之曰「A」
欲行是術。必先得一物。曰「arg」。
乃行是術曰。
    昔之「this」之「「arg」」者。今「arg」是矣。
是謂「A」之術也。

吾有一術。名之曰「造物」
欲行是術。必先得一物。曰「蓝图」。
乃行是術曰。
    乃得  new 蓝图(...Array.prototype.slice.call(arguments, 1))
是謂「造物」之術也。

施「造物」於「A」。於一百二十三。
名之曰「a」。

@zxch3n . Nice tricks! Glad you figured it out. I think you can also use 今有一數 to generate this.. Hopefully the language will evolve soon enough that we wouldn't need hacks anymore :)


[UpdatePlugin]  SmoothHacker TypeLib-Exporter v2.1

I added a few things in my plugin since the v1.0 release.

BNTLs are now properly exported in the correct path
Users can now apply BNTLs to existing type libraries

Author: SmoothHacker
Repo name: TypeLib-Exporter
Release: v2.1

Done.


Add an index to README.md

If by an index you meant a table of contents. #16

Thanks for the contribution


Message cannot be unscheduled from Azure Service Bus when in-memory outbox is used

Is this a bug report?
Yes
Can you also reproduce the problem with the latest version?
Yes
Environment

Dotnet version: 3.1
Operating system: Windows
IDE (Rider, VS Code, Visual Studio): N/A

Steps to Reproduce

Configure Azure functions to use the MassTransit Azure Functions transport
Configure MassTransit to use the in-memory outbox (.UseInMemoryOutbox())
Attempt to unschedule a message

Expected Behavior
The scheduled message should be unscheduled from Azure Service Bus
Actual Behavior
A CancelScheduledMessage is sent to the queue instead of unscheduling the message from Azure Service Bus.
I had to attach the debugger to figure this out. But when MassTransit schedules a messages on Azure Service Bus it encodes a sequence number into to the Token ID:

00000220-0000-0000-a6e1-de45e154a675
00000223-0000-0000-a6e1-de45e154a675
00000233-0000-0000-a6e1-de45e154a675

This sequence number is stored in the Saga state in the database. However, when the in-memory outbox is used the token ID in the database is different:

c99f0000-e33c-482a-d0fe-08d8be46f843
c99f0000-e33c-482a-86b5-08d8be470302

I'm assuming this is because the saga is persisted before the message(s) in the outbox are actually scheduled.

Seems like a catch-22 since the sequence number is returned by Azure Service Bus after the message is scheduled

Seems like a catch-22 since the sequence number is returned by Azure Service Bus after the message is scheduled

Yeah, it's a really weird thing about Azure Service Bus, since it is actually the only transport-specific scheduler that supports cancellation. And it's been a constant source of headaches because of it. I'm not entirely sure how to address it, but I'm guessing it is because the tokenId isn't valid and therefore it opts to send the CancelScheduledMessage rather than just discarding it.

Yeah, it's a really weird thing about Azure Service Bus, since it is actually the only transport-specific scheduler that supports cancellation. And it's been a constant source of headaches because of it. I'm not entirely sure how to address it, but I'm guessing it is because the tokenId isn't valid and therefore it opts to send the CancelScheduledMessage rather than just discarding it.

Yeah, it's a really weird thing about Azure Service Bus, since it is actually the only transport-specific scheduler that supports cancellation. And it's been a constant source of headaches because of it. I'm not entirely sure how to address it, but I'm guessing it is because the tokenId isn't valid and therefore it opts to send the CancelScheduledMessage rather than just discarding it.

Yes, that is exactly what happens. The Token ID is a NewId.NextGuid() instead of the sequence number encoded into the Token ID. Though from the InMemoryOutboxMessageSchedulerContext it seems that the message should just be scheduled and then canceled when the message in the outbox are discarded. The scheduling itself does work as expected so it must be something with setting the Token ID in combination with the InMemoryOutbox.

Yeah, it's a really weird thing about Azure Service Bus, since it is actually the only transport-specific scheduler that supports cancellation. And it's been a constant source of headaches because of it. I'm not entirely sure how to address it, but I'm guessing it is because the tokenId isn't valid and therefore it opts to send the CancelScheduledMessage rather than just discarding it.

Yes, that is exactly what happens. The Token ID is a NewId.NextGuid() instead of the sequence number encoded into the Token ID. Though from the InMemoryOutboxMessageSchedulerContext it seems that the message should just be scheduled and then canceled when the message in the outbox are discarded. The scheduling itself does work as expected so it must be something with setting the Token ID in combination with the InMemoryOutbox.

Related issue to when the scheduling was added to the outbox: https://github.com/MassTransit/MassTransit/issues/1550

Related issue to when the scheduling was added to the outbox: https://github.com/MassTransit/MassTransit/issues/1550

So, something is clearly broken with Azure Service Bus, at least in my testing.
This is WITHOUT the Outbox configured:
12:11:16.494-D SEND sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-6572-08d8c2eef027 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartItemAdded
12:11:16.588-D SAGA:MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState:dc3a0000-ebb8-e450-5bb6-08d8c2eef07e Created MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartItemAdded
12:11:16.594-D SAGA:MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState:dc3a0000-ebb8-e450-5bb6-08d8c2eef07e Added MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartItemAdded
12:11:16.617-D Create send transport: sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue
12:11:16.716-D Queue: MassTransit.Azure.ServiceBus.Core.Tests/input_queue (dead letter)
---12:11:16.945-D SCHED sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-180c-08d8c2eef094 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartExpired 01/27/2021 18:11:28 00000048-0000-0000-a6e1-de45e154a675
12:11:16.953-D RECEIVE sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-6572-08d8c2eef027 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartItemAdded MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState(00:00:00.3754326)
12:11:17.019-D SEND sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-d660-08d8c2eef0b8 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.OrderSubmitted
12:11:17.027-D SAGA:MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState:dc3a0000-ebb8-e450-5bb6-08d8c2eef07e Used MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.OrderSubmitted
---12:11:17.133-D Canceled scheduled message 72 MassTransit.Azure.ServiceBus.Core.Tests/input_queue
12:11:17.145-D Create send transport: sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs/CartRemoved
12:11:17.242-D Topic: MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs/CartRemoved ()
12:11:17.444-D SEND sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs/CartRemoved dc3a0000-ebb8-e450-52cc-08d8c2eef0e4 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartRemoved
12:11:17.450-D SAGA:MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState:dc3a0000-ebb8-e450-5bb6-08d8c2eef07e Removed MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.OrderSubmitted
12:11:17.450-D RECEIVE sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-d660-08d8c2eef0b8 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.OrderSubmitted MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState(00:00:00.4289401)
12:11:17.462-D RECEIVE sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs/CartRemoved/Subscriptions/second_queue dc3a0000-ebb8-e450-52cc-08d8c2eef0e4 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartRemoved MassTransit.MessageHandler<MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartRemoved>(00:00:00.0006327)
---12:11:28.628-D RECEIVE sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-180c-08d8c2eef094 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartExpired MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState(00:00:00.0018134)

CLEARLY the message was canceled in advance of the time, yet it will still delivered.
And yet, here is with the Outbox enabled:
MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.Scheduling_a_message_from_a_state_machine.Should_cancel_when_the_order_is_submitted

12:15:10.026-D SEND sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-7a8c-08d8c2ef7b5d MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartItemAdded
12:15:10.119-D SAGA:MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState:dc3a0000-ebb8-e450-6030-08d8c2ef7bb0 Created MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartItemAdded
12:15:10.125-D SAGA:MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState:dc3a0000-ebb8-e450-6030-08d8c2ef7bb0 Added MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartItemAdded
12:15:10.149-D Create send transport: sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue
12:15:10.247-D Queue: MassTransit.Azure.ServiceBus.Core.Tests/input_queue (dead letter)
---12:15:10.458-D SCHED sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-157e-08d8c2ef7bc6 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartExpired 01/27/2021 18:15:22 0000004c-0000-0000-a6e1-de45e154a675
12:15:10.465-D RECEIVE sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-7a8c-08d8c2ef7b5d MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartItemAdded MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState(00:00:00.3568689)
12:15:10.537-D SEND sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-9e32-08d8c2ef7be8 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.OrderSubmitted
12:15:10.544-D SAGA:MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState:dc3a0000-ebb8-e450-6030-08d8c2ef7bb0 Used MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.OrderSubmitted
12:15:10.558-D Create send transport: sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs/CartRemoved
12:15:10.562-D SAGA:MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState:dc3a0000-ebb8-e450-6030-08d8c2ef7bb0 Removed MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.OrderSubmitted
12:15:10.562-D RECEIVE sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-9e32-08d8c2ef7be8 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.OrderSubmitted MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState(00:00:00.0229161)
12:15:10.658-D Topic: MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs/CartRemoved ()
12:15:10.873-D SEND sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs/CartRemoved dc3a0000-ebb8-e450-ce36-08d8c2ef7c04 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartRemoved
12:15:10.898-D RECEIVE sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs/CartRemoved/Subscriptions/second_queue dc3a0000-ebb8-e450-ce36-08d8c2ef7c04 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartRemoved MassTransit.MessageHandler<MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartRemoved>(00:00:00.0007477)
---12:15:11.029-D Canceled scheduled message 76 MassTransit.Azure.ServiceBus.Core.Tests/input_queue

In this case, it was canceled and ultimately wasn't sent.

So, something is clearly broken with Azure Service Bus, at least in my testing.
This is WITHOUT the Outbox configured:
12:11:16.494-D SEND sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-6572-08d8c2eef027 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartItemAdded
12:11:16.588-D SAGA:MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState:dc3a0000-ebb8-e450-5bb6-08d8c2eef07e Created MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartItemAdded
12:11:16.594-D SAGA:MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState:dc3a0000-ebb8-e450-5bb6-08d8c2eef07e Added MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartItemAdded
12:11:16.617-D Create send transport: sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue
12:11:16.716-D Queue: MassTransit.Azure.ServiceBus.Core.Tests/input_queue (dead letter)
---12:11:16.945-D SCHED sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-180c-08d8c2eef094 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartExpired 01/27/2021 18:11:28 00000048-0000-0000-a6e1-de45e154a675
12:11:16.953-D RECEIVE sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-6572-08d8c2eef027 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartItemAdded MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState(00:00:00.3754326)
12:11:17.019-D SEND sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-d660-08d8c2eef0b8 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.OrderSubmitted
12:11:17.027-D SAGA:MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState:dc3a0000-ebb8-e450-5bb6-08d8c2eef07e Used MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.OrderSubmitted
---12:11:17.133-D Canceled scheduled message 72 MassTransit.Azure.ServiceBus.Core.Tests/input_queue
12:11:17.145-D Create send transport: sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs/CartRemoved
12:11:17.242-D Topic: MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs/CartRemoved ()
12:11:17.444-D SEND sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs/CartRemoved dc3a0000-ebb8-e450-52cc-08d8c2eef0e4 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartRemoved
12:11:17.450-D SAGA:MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState:dc3a0000-ebb8-e450-5bb6-08d8c2eef07e Removed MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.OrderSubmitted
12:11:17.450-D RECEIVE sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-d660-08d8c2eef0b8 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.OrderSubmitted MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState(00:00:00.4289401)
12:11:17.462-D RECEIVE sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs/CartRemoved/Subscriptions/second_queue dc3a0000-ebb8-e450-52cc-08d8c2eef0e4 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartRemoved MassTransit.MessageHandler<MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartRemoved>(00:00:00.0006327)
---12:11:28.628-D RECEIVE sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-180c-08d8c2eef094 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartExpired MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState(00:00:00.0018134)

CLEARLY the message was canceled in advance of the time, yet it will still delivered.
And yet, here is with the Outbox enabled:
MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.Scheduling_a_message_from_a_state_machine.Should_cancel_when_the_order_is_submitted

12:15:10.026-D SEND sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-7a8c-08d8c2ef7b5d MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartItemAdded
12:15:10.119-D SAGA:MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState:dc3a0000-ebb8-e450-6030-08d8c2ef7bb0 Created MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartItemAdded
12:15:10.125-D SAGA:MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState:dc3a0000-ebb8-e450-6030-08d8c2ef7bb0 Added MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartItemAdded
12:15:10.149-D Create send transport: sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue
12:15:10.247-D Queue: MassTransit.Azure.ServiceBus.Core.Tests/input_queue (dead letter)
---12:15:10.458-D SCHED sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-157e-08d8c2ef7bc6 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartExpired 01/27/2021 18:15:22 0000004c-0000-0000-a6e1-de45e154a675
12:15:10.465-D RECEIVE sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-7a8c-08d8c2ef7b5d MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartItemAdded MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState(00:00:00.3568689)
12:15:10.537-D SEND sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-9e32-08d8c2ef7be8 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.OrderSubmitted
12:15:10.544-D SAGA:MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState:dc3a0000-ebb8-e450-6030-08d8c2ef7bb0 Used MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.OrderSubmitted
12:15:10.558-D Create send transport: sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs/CartRemoved
12:15:10.562-D SAGA:MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState:dc3a0000-ebb8-e450-6030-08d8c2ef7bb0 Removed MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.OrderSubmitted
12:15:10.562-D RECEIVE sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests/input_queue dc3a0000-ebb8-e450-9e32-08d8c2ef7be8 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.OrderSubmitted MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.TestState(00:00:00.0229161)
12:15:10.658-D Topic: MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs/CartRemoved ()
12:15:10.873-D SEND sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs/CartRemoved dc3a0000-ebb8-e450-ce36-08d8c2ef7c04 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartRemoved
12:15:10.898-D RECEIVE sb://masstransit-build.servicebus.windows.net/MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs/CartRemoved/Subscriptions/second_queue dc3a0000-ebb8-e450-ce36-08d8c2ef7c04 MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartRemoved MassTransit.MessageHandler<MassTransit.Azure.ServiceBus.Core.Tests.ScheduleTimeout_Specs.CartRemoved>(00:00:00.0007477)
---12:15:11.029-D Canceled scheduled message 76 MassTransit.Azure.ServiceBus.Core.Tests/input_queue

In this case, it was canceled and ultimately wasn't sent.

FWIW, I was unable to reproduce this and will be closing the issue soon without a consistently reproducible example. Also I was not using Azure Functions, which doesn't really use a MassTransit transport to consume messages – I'm not sure of what differences may exist in that scenario.

FWIW, I was unable to reproduce this and will be closing the issue soon without a consistently reproducible example. Also I was not using Azure Functions, which doesn't really use a MassTransit transport to consume messages – I'm not sure of what differences may exist in that scenario.

I'll deploy an Azure function soon that has scheduling configured without the in-memory outbox. I added some extra tracing to app insights so I can let you know how it behaves soon.

I'll deploy an Azure function soon that has scheduling configured without the in-memory outbox. I added some extra tracing to app insights so I can let you know how it behaves soon.

Any updates on this one?

Not yet, I have been preoccupied with other things the past few days. I'm hoping to get it out before the end of this week 🙏

Had it running for a bit now and it seems to be working as expected I haven't seen any events in application insights yet that are triggered by the scheduled messages being delivered which is what I would expect because the messages are unscheduled ahead of time.

So, this should actually work as expected with v8. You might give it a shot with one of the pre-release packages.


Request is always empty

Hi @johntitus
First of all thank you for the great piece of code.
I am encountering following issue
var Horseman = require('node-horseman');
var horseman = new Horseman();
horseman.on('resourceRequested', function(data, request) {
    console.log(JSON.stringify(request, null, 4));
});
horseman.open('http://www.google.com');

Log always gives me {}
EDIT: I can see it's broken in node-phantom-simple

This is solely because of node-phantom-simple. Horseman cannot fix it. You should open an issue of node-phantom-simple for this if there is not one already.

I will am closing this issue because of this
https://github.com/baudehlo/node-phantom-simple/issues/98

@lukaszblacha In [v3][] there is an .at action (same arguments as .on) which runs when the event is happening (.on runs after).
You could use it to access the request parameter, but be aware that the callback given to .at runs in PhantomJS not in Node.js.
[v3]: https://github.com/johntitus/node-horseman/tree/wip-v3


Migration from ethers to viem

What do you think about migrating to Viem, a new alternative to ethers.js and web3.js from the creators of wagmi?
Why Viem

Thanks for bringing this Rinat! Just saw it the other day, and it's in my list to download and test it.

It's unclear how mature Viem already is. In the wagmi project, I see they still use ethers (so even they haven't switched over yet to their own library). So it looks like a cool new lib, and their goal sounds really nice, but I'm unsure if it is stable enough to already switch over to it.

+1
I've seen before how trying to use the shiny new libraries can ruin the stability of the project. As a rule, I'd never use a library that is so new, specially when the existing lib does the job well and the "only" benefit is "performance / bundle size "....where we don't really have a problem. The only thing that I don't like about ethers, is their DOCS haha
In any case, we should definitely use it outside of SE-2, get a feel of it, and when wagmi intregrates it (in their v1.0 I think) we can reconsider.

I've seen before how trying to use the shiny new libraries can ruin the stability of the project.

I'm too conservative to do that too most of the time, don't even remember when I did that. But for some reason, I decided to give Viem a try. Agree with you guys, let's test it outside of SE-2 and wait for integration to wagmi (yes, it will be 1.0)

Closing this for now.... but let see how we feel about it in a few months or when wagmi v1.0 is out ;)

How do you feel about it now? 😀

@jxom Good enough to re-open the issue :)


Spread & rest over intersection and unions

Fixes https://github.com/Microsoft/TypeScript/issues/12520 and https://github.com/Microsoft/TypeScript/issues/12534
//CC @sandersn

@ahejlsberg can you take a look

:+1


Small error in quickstart mandatory objects documentation

Within the mandatory object entries of the quickstart documentation, the table row for identity object 1018h subindex 0h holds a wrong value (1). This value should be 4, because we provide entries for subindex 1 to 4 (Note: source code is correct).

Another small typo in the quickstart guide:
CO_TMR_TICK_PER_SEC should be CO_TMR_TICKS_PER_SEC.


variable "may be used uninitialized in this function"

When selecting ILI9488
On function sh1107_set_px_cb
CONFIG_LVGL_DISPLAY_ORIENTATION_LANDSCAPE
or
CONFIG_LVGL_DISPLAY_ORIENTATION_PORTRAIT
is not defined, so
uint16_t byte_index;
uint8_t  bit_index;
are not initialized.

Hi @KammutierSpule, it shouldn't raise a warning because only the source file for the chosen display is included into the build. What commit of the repo are you working on?
Anyways, I will initialize those variables to 0 if necessary.

sorry, you're right.. it was some issues with updating to the latest repo version.

No problem, have fun and let us know if you have more issues :)


Modify adv remote-watcher to informer

Description
In this PR the remote-watcher in the broadcaster has been upgraded to use an informer.

Pull Request Test Coverage Report for Build 270349868

31 of 52 (59.62%)  changed or added relevant lines in 2 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.04%) to 49.783%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

api/sharing/v1alpha1/advertisementClient.go
10
12
83.33%

internal/advertisement-operator/remote-watcher.go
21
40
52.5%

Files with Coverage Reduction
New Missed Lines
%

internal/kubernetes/endpoints.go
4
73.96%

Totals

Change from base Build 270188307:
-0.04%

Covered Lines:
6769

Relevant Lines:
13597

💛  - Coveralls

/rebase


Windows: fix test failure - TestShardWriter_Write_ErrDialTimeout

Windows does not timeout when the timeout is set to 1Nano sec. This causes TestShardWriter_Write_ErrDialTimeout to fail in Windows.
=== RUN TestShardWriter_Write_ErrDialTimeout
[cluster] 2016/02/10 09:32:30 Starting cluster service
[cluster] 2016/02/10 09:32:30 accept remote connection from <IP_ADDRESS>:57034
[cluster] 2016/02/10 09:32:30 unable to read type-length-value read message type: WSARecv tcp <IP_ADDRESS>:57033: use of closed network connection
[cluster] 2016/02/10 09:32:30 close remote connection from <IP_ADDRESS>:57034
[cluster] 2016/02/10 09:32:30 cluster service accept error: network connection closed
--- FAIL: TestShardWriter_Write_ErrDialTimeout (0.00s)
	shard_writer_test.go:162: expected error <nil>, to contain i/o timeout

As a fix I added 1 nano sec sleep in WriteShard, hopefully it won't cause any major performance impacts in Linux environments. Otherwise we will have to go for platform specific patch.

@mvadu this doesn't seem like a good way to fix this issue. If the test is consistently failing on Windows (I assume because of the Go runtime's time precision on that platform?), then the way to fix this test is to rewrite the test, such that it introduces an artificial delay to the Dial.
Does that make sense?

@e-dard agreed. But the problem here is timeout is passed as part of constructor, and used in WriteShard routine. There is no way to introduce the delay to the Dial from the test routine.
Shall I make the delay a conditional one, to add 1ns delay only if timeout duration is 1Nanosec? but then the cost of evaluating the condition may be longer than 1NS. Suggestions?

@mvadu Adding a sleep isn't the right fix here.  Agree w/ @e-dard.  Probably need to restructure the code to be able to force Dial to return a timeout error.

@e-dard , @jwilder is there any reason why we use io.Writer interface in WriteTLV, where as the connection is actually a net.Conn? I am seeing many instances in golang google group about SetWriteDeadline not timing out properly. One of the theories given (e.g. https://groups.google.com/forum/#!topic/golang-nuts/L0igp3tax1w) is sending too small data packet which might not block for the deadline time, causing it not to throw timeout.
I explored that, and added prints to get return value of w.Write in WriteTLV.
=== RUN TestShardWriter_Write_ErrDialTimeout
[cluster] 2016/02/11 07:19:12 Starting cluster service
1
54
[cluster] 2016/02/11 07:19:12 accept remote connection from <IP_ADDRESS>:52797
1
2
[cluster] 2016/02/11 07:19:12 unable to read type-length-value read message type: WSARecv tcp <IP_ADDRESS>:52796: use of closed network connection
[cluster] 2016/02/11 07:19:12 close remote connection from <IP_ADDRESS>:52797
[cluster] 2016/02/11 07:19:12 cluster service accept error: network connection closed
--- FAIL: TestShardWriter_Write_ErrDialTimeout (0.00s)
	shard_writer_test.go:166: expected error <nil>, to contain i/o timeout

As you can see actual io.Writer interface implementation did not throw any error here, it returned actual bytes being written to. As per documentation "Write must return a non-nil error if it returns n < len(p).". I am assuming it wrote all 54 bytes without any error. I changed the test to have 1000 points, and got around 52k bytes written to socket without any errors.
I removed the delay, and made a change to WriteTLV. Can you please try running a test on Linux where we know the test works, and share the results?

@jwilder @e-dard I think the issue is with how net.DialTimeout (used at #153) is implemented in Windows. I got lost in dial source. Finally the fix seems to be using 0 which basically treats it as if no timeout, and it works on both Windows and Linux (verified on Raspbian Jessie).

@e-dard done!! Sorry for the mess before.

LGTM :+1:
/cc @jwilder

:+1:

Thanks!


Reverse IP parameter missing for ROS2 driver

In certain situations (e.g. driver running in a docker container) it is useful to specify the IP address injected into the script code where the reverse interface is reachable from the robot. (See for example https://forum.universal-robots.com/t/real-robot-is-not-moving-with-moveit/22183/3)
The ROS2 version currently does not support setting this manually.

This has been implemented in #466


Add Base.show for CplState object.

Base.show for coupler object will output a table of registered fields and their relevant information.

@jb-mackay this looks good. Just pushed to see if this fixes dependencies for CI (Random and maybe something in Mainifest and PrettyTables?) .

Looks great -


Update Gruyere Space Program

Hi! I updated the links about GSP as we updated our website.

Thank you for your contribution!


Bundle.module should be a constant.

rdar://94565594

@swift-ci please smoke test

Should this also be nominated for 5.7?  Seems safe enough...

Windows failure is unrelated:
C:\Users\swift-ci\jenkins\workspace\swiftpm-PR-windows\swift\lib\Sema\CodeSynthesis.cpp(854): error C2065: 'CheckDefaultInitializer': undeclared identifier


Fix/dygraph doc code

This PR fix the indent error for Dygraph usage introduction

Please add the PR to http://wiki.baidu.com/pages/viewpage.action?pageId=917662867

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

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


Remove pycairo install docs

Pycairo now has wheels published to PyPi for Windows. So users no need to the these.
Ref:
https://github.com/pygobject/pycairo/pull/191
https://github.com/ManimCommunity/manim/pull/517

@Tony031218 could you merge this?


Add Marconi runtime view in documentation

Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[ ] Commit sequence broadly makes sense and have useful messages
[ ] Important changes are reflected in changelog.d of the affected packages
[ ] Relevant tickets are mentioned in commit messages

PR

[ ] (For external contributions) Corresponding issue exists and is linked in the description
[ ] Targeting main unless this is a cherry-pick backport
[ ] Self-reviewed the diff
[ ] Useful pull request description
[ ] If relevant, reference the ADR in the PR and reference the PR in the ADR
[ ] Reviewer requested

Ah, figured out why the uml diagrams aren't showing, I'm getting the following error in my terminal: /home/ana/IOG/marconi/doc/read-the-docs-site/architecture/runtime-view.rst:38: WARNING: plantuml command 'plantuml' cannot be run

@ana-pantilie Weird. Did you enter a Nix shell? What command did you run to launch the docs?

@koslambrou Yes, I'm in the nix shell. I ran develop-rtd-site, should I have done something else?

@ana-pantilie Weird... I'll create a separate issue for that.


Construct git diff

I have list of lines which I know their status based on time, (deleted, added) now I want to construct something like bellow:

Any idea how to do this?

To be more specific I am asking about the line numbers.

There are 4 margins in Scintilla and you can display whatever you want in them. Haven't tried it in ScintillaNET specifically, but try repurposing margins 0 and 1 (they display ordinary line numbers and some symbols by default) and fill them manually with your line numbers the diff algorithm. You will need to set the margin types to text (SCI_SETMARGINTYPEN/SC_MARGIN_TEXT) and then use SCI_MARGINSETTEXT to set the text. (Or rather, the ScintillaNET equivalents, hopefully these exist on the control's Margin member).
http://www.scintilla.org/ScintillaDoc.html#Margins

What @jonandr is describing can be done in ScintillaNET by following the documentation on custom line numbers.
https://github.com/jacobslusser/ScintillaNET/wiki/Displaying-Line-Numbers

Thanks for the response.
I managed to do the custom numbering on the Margin.
How do I change the forecolor in margin? I do see MarginStyle in each line, but cannot understand how does that work.
Thanks,

I found the answer,
codeViewer.Styles[10].ForeColor = System.Drawing.Color.Red;

And then you set MarginStyle = 10 for example.
Cheers,


GUACAMOLE-793: validateTicket() returns the CASAuthenticatedUser instance

This is a revision of the pull request by @siacali at https://github.com/apache/guacamole-client/pull/454 which provides a functioning solution to this PR. The revised approach is to modify validateTicket() to return the CASAuthenticatedUser instance rather than just a token so CAS Provider can return Group - like LDAP Provider. This alleviates the need for a new class which was the objection to the previous pull request.
This is my first pull request to this project so please feel free to help me comply with your standards. I've tried to incorporate changes that address all of the comments in the previous pull request but may still need to address other issues I may have overlooked. Thanks for any feedback.

Closed by #579


[SPARK-10292][SQL][WIP] make metadata query-able by adding meta table

To begin with, we can set up 2 meta tables: catalog_tables and catalog_columns.
catalog_tables have 3 columns: name, database, is_temporary.
catalog_columns have 5 columns: name, table, database, data_type, nullable.
TODO:

add dataframe version
add more comments
add more tests
add more metadata

Merged build triggered.

cc @rxin

Merged build started.

Test build #41626 has started for   PR 8461 at commit f798060.

Test build #41626 has finished for   PR 8461 at commit f798060.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class BinaryClassificationMetrics @Since("1.3.0") (
class MulticlassMetrics @Since("1.1.0") (predictionAndLabels: RDD[(Double, Double)])
class MultilabelMetrics @Since("1.2.0") (predictionAndLabels: RDD[(Array[Double], Array[Double])])
class RegressionMetrics @Since("1.2.0") (
class FPGrowthModel[Item: ClassTag] @Since("1.3.0") (
  class FreqItemset[Item] @Since("1.3.0") (
  class FreqSequence[Item] @Since("1.5.0") (
class PrefixSpanModel[Item] @Since("1.5.0") (
class DenseMatrix @Since("1.3.0") (
class SparseMatrix @Since("1.3.0") (
class DenseVector @Since("1.0.0") (
class SparseVector @Since("1.0.0") (
class BlockMatrix @Since("1.3.0") (
class CoordinateMatrix @Since("1.0.0") (
class IndexedRowMatrix @Since("1.0.0") (
class RowMatrix @Since("1.0.0") (
  case class TableInfo(name: String, database: Option[String], isTemporary: Boolean)
  case class ColumnInfo(

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41626/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #41630 has started for   PR 8461 at commit 5dce9e7.

Test build #41630 has finished for   PR 8461 at commit 5dce9e7.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
  case class TableInfo(name: String, database: Option[String], isTemporary: Boolean)
  case class ColumnInfo(

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41630/
Test FAILed.

retest this please.

Merged build triggered.

Merged build started.

Test build #41636 has started for   PR 8461 at commit 5dce9e7.

Test build #41636 has finished for   PR 8461 at commit 5dce9e7.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
  case class TableInfo(name: String, database: Option[String], isTemporary: Boolean)
  case class ColumnInfo(

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/41636/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #43927 has started for PR 8461 at commit 5465d3d.

Test build #43927 has finished for PR 8461 at commit 5465d3d.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):\n  *   case class TableInfo(name: String, database: Option[String], isTemporary: Boolean)\n  *   case class ColumnInfo(\n  * trait MetaDataCatalog extends Catalog \n

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/43927/
Test PASSed.

Merged build finished. Test PASSed.

What do you have in mind "add dataframe version"? Maybe it is ok to just ask users to do table("...").

Merged build triggered.

Merged build started.

Test build #44063 has started for PR 8461 at commit 1be7f24.

Test build #44063 has finished for PR 8461 at commit 1be7f24.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):\n  *   case class TableInfo(name: String, database: Option[String], isTemporary: Boolean)\n  *   case class ColumnInfo(\n  * trait MetaDataCatalog extends Catalog \n

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44063/
Test FAILed.

Merged build finished. Test FAILed.

retest this please

Merged build triggered.

Merged build started.

Test build #44065 has started for PR 8461 at commit 1be7f24.

Test build #44065 has finished for PR 8461 at commit 1be7f24.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):\n  *   case class TableInfo(name: String, database: Option[String], isTemporary: Boolean)\n  *   case class ColumnInfo(\n  * trait MetaDataCatalog extends Catalog \n

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44065/
Test FAILed.

retest this please.

Merged build triggered.

Merged build started.

Test build #44107 has started for PR 8461 at commit 1be7f24.

Test build #44107 has finished for PR 8461 at commit 1be7f24.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):\n  *   case class TableInfo(name: String, database: Option[String], isTemporary: Boolean)\n  *   case class ColumnInfo(\n  * trait MetaDataCatalog extends Catalog \n

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44107/
Test FAILed.

Merged build triggered.

Merged build started.

Test build #44141 has started for PR 8461 at commit eb59d63.

Test build #44141 has finished for PR 8461 at commit eb59d63.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):\n  *   case class TableInfo(name: String, database: Option[String], isTemporary: Boolean)\n  *   case class ColumnInfo(\n  * trait MetaDataCatalog extends Catalog \n

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44141/
Test FAILed.

Merged build finished. Test FAILed.

@cloud-fan Close this one for now?

will revist it when I have time...


add first throw of custom object cms

Is it ready to be reviewed? I noticed a System.err.println and I'm not sure if it's already in production quality. Let me know if I should review it nonetheless :)

I just want to drop it here, don't know if we should officially support it. Plus, tests are missing.

To me it makes sense to support it, it's very convenient. Then it's not sure that we can put it in default Sunrise because for showcases I would need to ask what is more convenient (as custom objects are not easy to modify ATM, besides your editor). But then let's better remove the PR while you and @katmatt  implement the tests.


Packages for target distributions

This issue tracks the wanted distributions. Target distros are OpenSUSE, Ubuntu, Debian and Arch. Any others are currently not supported through packages and users are encouraged to compile theirselves. Any whishes for further packages can be expressed here.

Would like to try this, but the Ubuntu 17.10 package won't install on Ubuntu 18.04 (a Long Term Support release). Have tried to build from source, but am running into too many missing .h files to make much progress. Any hope of an 18.04 package, or has development stopped?

Ive tried to compile myself too on ubuntu 18.04. I had to install several libraries first.
Try this
`$sudo apt-get inatall libjson-c-dev libsdl-image1.2-dev libsdl-image1.2:amd64  libsdl1.2-dev libcurl4-openssl-dev libvlc-dev libvlccore-dev libconfig-dev libwebkit2gtk-4.0-dev   libglib2.0-dev
$ make
$ sudo make install
$/usr/bin/iptvx`


After modifying Terminal colour's + transparency the terminal gets corrupted

Installed the latest version of PowerShell 7 on a Windows 10 Professional desktop PC with the latest .NET Core and Framework SDK's already installed.
Starts up fine however when I then go into the settings and modify the background colour for example and then I try installing a module for example the terminal gets itself into a mess with the cursor appearing in a phantom location and terminal updates not appearing in the right place

I can not repo. Please add more info.
Please start pwsh -NoProfile and try to repo your issue.
Also you could do Remove-Module PSReadline and try to repo.

I can not repo.

Same here. I cannot repro. Some additional repro steps would be helpful.

Also please share your Windows 10 version.


🚀[Release v.2.8.0] Merge into Develop

Whats's New?

🐜[Bugfix] Refactor strings files (#122)
Refactors version name and code to BRConstants (#121)
Task - Reduce country iso exception (#118)
reduce emissions of "java.lang.IllegalArgumentException: Unsupported ISO 3166 country: en"
Feature - Show Litecoin Card as Webview (#82)
Feature - donation disclaimer modal (#75)

Yet another evil self-merge


Reduce the sizes of Event.Kind, Issue.Kind, and Runner.Plan.Action.

Right now, all cases in the Event.Kind, Issue.Kind, and Runner.Plan.Action enums are direct, i.e. stored inline in instances of those enums. That requires that the enums be at least as large as their largest associated values, which turns out to be a fair bit:

Type
Size (Bytes)

Event
464

Event.Kind
345

Issue
225

Issue.Kind
160

Runner.Plan.Action
225

Nearly half a kilobyte for an event is excessive. We can reduce the space needed by storing the associated values of these enums indirectly (using the indirect keyword.) There are cases of both enums that don't have any associated values, so let's just make all associated values indirect. We end up with:

Type
Size (Bytes)

Event
120

Event.Kind
8

Issue
73

Issue.Kind
8

Runner.Plan.Action
8

The tradeoff is that indirect storage is basically a pointer dereference, so we lose locality—but the frequency with which events and issues are raised doesn't make the performance cost worth worrying about.
Checklist:

[x] Code and documentation should follow the style of the Style Guide.
[x] If public symbols are renamed or modified, DocC references should be updated.

@swift-ci please test

@swift-ci please test

For my education, how did you measure the sizes to produce those tables?

For my education, how did you measure the sizes to produce those tables?

@Test func f() {
  func p<T>(_ t: T.Type) {
    print(T.self, ": ", MemoryLayout<T>.size)
  }
  p(Event.self)
  p(Event.Kind.self)
  p(Issue.self)
  p(Issue.Kind.self)
}

Then prettified them with Markdown.

@swift-ci please test

@swift-ci please test Linux


User Story 22783- Missing References To ALZ-Bicep

You want to use only Azure native tools. Your organization might have prior ARM template deployment experience.
Propossed: You want to use only Azure native tools. Your organization might have prior ARM or Bicep template deployment experience.

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

ID: b81454c5-f535-1421-5e0c-d686310d10ee
Version Independent ID: b81454c5-f535-1421-5e0c-d686310d10ee
Content: Infrastructure as Code - Cloud Adoption Framework
Content Source: docs/ready/considerations/infrastructure-as-code.md
Service: cloud-adoption-framework
Sub-service: ready
GitHub Login: @emguzman13
Microsoft Alias: emguzman

#please-close


Stopped vertical movement of scrubber

The scrubber would sometimes move vertically when dragging. This enforces setting y to 0.
Mentioned in #313.

I cannot reproduce the problem with the old scrubber but this still workes and I assume it will fix the problem with the new one. Merging.


[BUG] Custom Oauth initially does not fetch the username on the client

Description
eric.rosenthal 11:07 AM
I'm testing the Custom Oauth crash fix. I can confirm that it does not crash anymore, but I am seeing a new issue. After logging in with my custom Oauth, I am asked for a RC username (as expected). But when first logged in as that user, the profile page in android client never populates the username. For example "val myselfUsername = userHelper.username()" returns null in this case. Is anybody else seeing this?
rafael.kellermann Rocket.Chat Team 11:09 AM
@eric.rosenthal If you close the app and open again, does it show it to you?
eric.rosenthal 11:16 AM
yes it does
@eric.rosenthal Gotcha, maybe the app needs to force a /me request over there. (cc @filipe.brito)

@rafaelks Do you have any thoughts about how to fix this?  Maybe point me in the right direction?
I can see where presenter.loadCurrentInfo() get's called in the MainActivity.kt file, and I'm sort of assuming that's where the username gets populated in the local repository.   I just don't understand why after logging in with customOauth that the username info is not available.
Thanks.

@ear-dev I think we can force a /me request on the profile screen or after user authenticates in the app. 🤔

A bounty has been opened for this: https://www.bountysource.com/issues/65139855-bug-custom-oauth-initially-does-not-fetch-the-username-on-the-client

@filipedelimabrito does your latest note here indicate that you are currently working on this?


İ want only change noResult text. İts not working

Hello to everyone ;
https://jsbin.com/kelalub/1/edit?html,js,output
in my example I just want to change the value of "noResults". Because I use a special language option. However, if you specify "noResults" after specifying the language, the language is automatically English.

I still couldn't figure out exactly what you are trying but lloking at the code in jsbin I see that you had set the language attribute twice in select2 options. From what I understand, You want the internationalization set for tr while you want to specify a particular string/HTML for noResults. Try something like this:
$.fn.select2.defaults.set('language', $.fn.select2.amd.require("select2/i18n/tr"));
$('.js-example-basic-single').select2({
    width: 300,
    minimumInputLength: 1,
    escapeMarkup: function (markup) { return markup; },
    language: {
        noResults: function() {
            return '<button id="no-results-btn" onclick="noResultsButtonClicked()">İ Want Only Here Change</a>';
        },
    }
});

By the way, a simple search also showed #3799 (discussion on) which I believe will give you a better idea of how to do the this in different ways

Hello @canerd7u
I think I found solution that will work for you, at least it works for me :)
https://jsbin.com/pipeposuha/edit?html,js,output


Project Retrieve does not respect ignored files for multiple package directories projects

Summary
If ignoring a file placed in a non-default package directory, sfdx project retrieve does not respect the ignore. This is a problem for projects that provision scratch orgs with preinstalled metadata as duplicate files are created when retrieving metadata.
Steps To Reproduce:
Repository to reproduce: dreamhouse-lwc

Create a new non-default package directory ignored-retrieve-bug and list another directory default as default ("default": true) in sfdx-project.json
Add a file to the local ignored-retrieve-bug directory, e.g. a LoggerAdmin permissions set
Ignore the file in .forceignore using *LoggerAdmin.permissionset-meta.xml
Create an empty scratch org
Create a new permission set in the scratch org with the same API name: LoggerAdmin
Run sfdx project retrieve preview and verify that the file is ignored
Run  sfdx project retrieve start

Expected result
No changes or new files are retrieved
Actual result
A duplicate LoggerAdmin permission set is retrieved into the default directory
System Information
{
  "cliVersion": "sfdx-cli/7.200.6",
  "architecture": "darwin-arm64",
  "nodeVersion": "node-v18.16.0",
  "osVersion": "Darwin 22.4.0",
  "shell": "zsh",
  "rootPath": "/Users/user/.local/share/sfdx/client/7.200.6-d8413f2",
  "pluginVersions": [
    "@dxatscale/sfpowerscripts 20.30.5 (user)",
    "@eon-com/eon-sfdx 1.13.3 (user)",
    "@oclif/plugin-autocomplete 2.1.9 (core)",
    "@oclif/plugin-commands 2.2.14 (core)",
    "@oclif/plugin-help 5.2.9 (core)",
    "@oclif/plugin-not-found 2.3.23 (core)",
    "@oclif/plugin-plugins 3.0.1 (core)",
    "@oclif/plugin-search 0.0.17 (core)",
    "@oclif/plugin-update 3.1.13 (core)",
    "@oclif/plugin-version 1.3.3 (core)",
    "@oclif/plugin-warn-if-update-available 2.0.36 (core)",
    "@oclif/plugin-which 2.2.19 (core)",
    "1commerce 0.0.10 (user)",
    "apex 2.2.15 (core)",
    "auth 2.7.14 (core)",
    "community 2.2.11 (core)",
    "custom-metadata 2.1.19 (core)",
    "data 2.3.14 (core)",
    "deploy-retrieve 1.8.18 (core)",
    "info 2.6.10 (core)",
    "limits 2.3.13 (core)",
    "org 2.8.1 (core)",
    "packaging 1.16.11 (core)",
    "schema 2.3.10 (core)",
    "settings 1.4.6 (core)",
    "signups 1.4.14 (core)",
    "source 2.10.7 (core)",
    "telemetry 2.2.0 (core)",
    "templates 55.4.13 (core)",
    "trust 2.4.14 (core)",
    "user 2.3.10 (core)",
    "@salesforce/sfdx-diff 0.0.6 (user)",
    "@salesforce/source-tracking 3.1.1 (user)",
    "sfdmu 4.26.13 (user)",
    "sfdx-cli 7.200.6 (core)",
    "sfpowerkit 6.1.0 (user)"
  ]
}

Additional information

This bug also existed with sfdx force source pull, so it has not been introduced with sfdx project retrieve

Hey @petter-eikeland, thank you for the excellent repro. I am seeing the same. Curious, are you seeing the same behavior with any other metadata types or just permissionsets? I just tried something similar with a CustomObject and it seems like it was properly ignored.

Hi @iowillhoit, thanks!
Good question. Not sure, however after speaking with my devs they say they often get customObjectTranslations, fieldRestrictionRules & customindex Metadata Types even though we have ignored them (no idea how they retrieve the last 2 😅)

Ok, good to know! Thanks again and we'll look into this