Ruby versions

Add notice to README detailing ruby version support plan.
Add warning when unsupported/EOL ruby version detected.

Coverage decreased (-0.06%) to 98.566% when pulling 192aee1f22e97a2073fa0a493e385b7badf87a69 on ruby-versions into b03268d33f1fe70c8534beb2f9a54a32227b9f35 on master.

Coverage decreased (-0.06%) to 98.566% when pulling 192aee1f22e97a2073fa0a493e385b7badf87a69 on ruby-versions into b03268d33f1fe70c8534beb2f9a54a32227b9f35 on master.

Coverage decreased (-0.06%) to 98.566% when pulling 192aee1f22e97a2073fa0a493e385b7badf87a69 on ruby-versions into b03268d33f1fe70c8534beb2f9a54a32227b9f35 on master.

Coverage decreased (-0.06%) to 98.566% when pulling 192aee1f22e97a2073fa0a493e385b7badf87a69 on ruby-versions into b03268d33f1fe70c8534beb2f9a54a32227b9f35 on master.


Expose testingWriter using a new TestingWriter API.

Useful when consuming code needs to be able to set the logger of a
test raft instance not created directly with rafttest.

Coverage increased (+0.2%) to 77.885% when pulling e00f30f188b803e0b0705ecd373c59fca07b528d on expose-testing-writer into 44c856eb901b50f0e059ea0e1ac46afb0c934c84 on master.


Use lower-case module names everywhere

We currently have CamelCase class names inside CamelCase module files with the same name, and expose classes on module level by importing them in __init__.py, e.g.:
https://github.com/fmi-faim/faim-ipa/blob/f4191359d3f35144190188e59dcdb90eebcefb78/src/faim_ipa/hcs/cellvoyager/__init__.py#L1-L2
https://github.com/fmi-faim/faim-ipa/blob/f4191359d3f35144190188e59dcdb90eebcefb78/src/faim_ipa/hcs/imagexpress/__init__.py#L1-L5
This is problematic, as changing the order of imports such as:
from .ImageXpressPlateAcquisition import ImageXpressPlateAcquisition  # noqa: F401
from .ImageXpressWellAcquisition import ImageXpressWellAcquisition  # noqa: F401
+++ from .MixedAcquisition import MixedAcquisition  # noqa: F401
from .SinglePlaneAcquisition import SinglePlaneAcquisition  # noqa: F401
from .StackAcquisition import StackAcquisition  # noqa: F401
--- from .MixedAcquisition import MixedAcquisition  # noqa: F401

leads to errors like this:
ERROR tests/hcs/imagexpress/test_ImageXpress.py - TypeError: module() takes at most 2 arguments (3 given)

.. as we mix modules and classes with the same name.

We should instead use all-lower-case names for the module files, and CamelCase exclusively for the class names.
What do you think, @tibuch?

I don't know what the best practice is here.
I think I had the files in CamelCase because I wanted to name them like the class inside. Maybe this is a java thing which I tried to replicate.
But definitely in favor of fixing this.


Question. Binding scatter to boxPlot category position

What problem does this feature solve?
Hello, the current project requires to implement boxPlot caterogy, with the ability to impose scatter on them. Could not find any possibility to do this. Now points, lines are centered in their cell on the x-axis, but when the second category of boxPlot is enabled, there is a shift in the positioning of the candle and because of this is not displayed correctly for data analysis.
Is there any possibility to implement scatter overlay on boxPlot category in the current version of the library?
It looks like this now.

It is expected that with multiple categories the boxPlot will look something like this, only scatter is positioned to its own category.

What does the proposed API look like?
Haven't found a suitable api for the current situation.

Any movement on this?  Many libraries have the ability to display the underlying data (circle points) and also the ability to jitter.


Onload event

It would be nice if it fired an onload event when it had at least loaded the initial image. I'm trying to position a "hidden" visualisation dynamically but I need to know when it's loaded to position other elements and to then display it.

Thanks for the suggestion! I'll be adding this soon. It should land in a future release in first half of May.

Added custom events in v1.1.0.

https://tridi.lukem.net/examples/events.html
https://tridi.lukem.net/notes/api.html#events

Once finished loading Tridi executes 'onLoad' event. I also added events to majority of significant lifecycle moments.
Let me know if you have further questions / suggestions.

Thanks for adding all the events.
One thing I'm having trouble with is working out which event gets triggered when the first image of a visualisation is displayed. I tried onViewerImageGenerate but when it gets triggered and I query the image size I get 12x12 (when the image is 480x360). What is it that I'm missing?

onViewerImageGenerate is the one that should the trick. onLoad might be another bet.
I'll check what's up and get back to you.

I made some internal tweaks and ensured onViewerImageGenerate fires only when image is fully loaded. Check out v1.1.2 and let me know if that works for you.

It's getting better but if I do something like
elem.update({
location: "path/images/car/',
format:"jpg",
count: 36,
}, true);
onViewerImageGenerate is not triggered. I would expect that whenever a visualisation is updated with a change in the location of the images then onViewerImageGenerate would be reset and trigger again.

As a workaround in your stashImage method I added
    var n = new Image;
    if (!i) n.addEventListener('load', visualisationLoaded); // <-- this line
    n.src = e,

and it seems to do what I need.

Good point. My intention for onViewerImageGenerate was to trigger it only on first load. I may not have   stated it clearly in the docs but I clearly want it to keep this that way.
In v1.2.0 I added onViewerImageUpdate which works in a similar fashion to onViewerImageGenerate but it triggers only when viewer is updated with new options object.
Thoughts?

Ok, so I would need to track onViewerImageGenerate the first time a visualisation is created and then onViewerImageUpdate every time after that. To me when the first image of a visualisation has been displayed is the same whether the visualisation has just been created or has just been updated.
BTW thanks for creating Tridi.

Thank YOU for using it and taking time to raise the issue! In case of further questions or requests let me know.


xyzRow.cs; field; DefaultValue; dynamically set DefaultValue(xyz)

Hi JaiQ,
John Ranger here again :-)
I have a table named Costcenter which (among many other fields) has a field "isDefault" of type bit. (Only) one of the costcenter records has this bit set to true (because it is the Default costcenter).
In the Definition of ClientsRow.cs of the Costcenter_ID field which has a foreign key ref to the Costcenter table's field "Costcenter_ID", I can set the DefaultValue(1) which correctly fills in the costcenter_ID of 1 when doing an add Client Action.
I now want to dynamically populate the "x" in DefaultValue(x) but somehow only directly typed value are accepted (please forgive me my lack of knowledge as this seems a Basic knowledge theme).
How can I dynamically populate the DefaultValue(???)
Thanks again for your time and your valuable Feedback.
With Kind regards,
John

Hi Ranger,
DefaultValue attribute can't do that. You should have a lookup of that costcenter table with default column included (LookupInclude).
Then, override AfterLoadEntity of ClientsDialog, find default cost center from CostCenterRow.Lookup.Items, then set its id to form like
override AfterLoadEntity(...)
{
form.CostCenterId.Value = CostCenterRow.Lookup.Items.First(x => x.IsDefault).CostCenterId.ToString();
}

Hi JaiQ,
thanks for your very fast answer.
I have tried that but somehow... CostCenterRow.Lookup.Items doesn't have a method ".First" - at least not in my Environment.
My Environment:
Serenity Level: 1.9.2
Project based on Serene 1.8.20 or so
In the declaration part of xyzDialog.cs, I am using:
using CostCenterRow = ClientManagement.Stammdaten.CostcenterRow;
then my AfterLoadEntity method Looks like this:
protected override void AfterLoadEntity()
{
base.AfterLoadEntity();
        if (IsNew)
        {
            form.CostCenter_ID.Value = CostCenterRow.Lookup.Items.First(x => x.IsDefault).CostCenter_Id.ToString();
        }
    }

What do I have to do in order to have the ".first" method within items?
With Kind regards,
John

Did you include Linq?
using System.Linq;

Yes, Linq, plus IsDefault == true. Serenity rows are nullable.

Thanks ;-) that has resolved the ".First" Problem.
For the benefit of other Readers:
The Linq Expression (x => x.IsDefault) did complain that it cannot convert a 'bool?' to 'bool'.
I had to cast it like this:
form.Costcenter_ID.Value = CostCenterRow.Lookup.Items.First(x => (bool)x.IsDefault).CostcenterId.ToString();
@JaiQ: Thanks again for your great and precise help.
With Kind regards,
John

If in any way IsDefault is null, this will raise a cast exception, == true is on safe side.

Hi JaiQ,
How would I write then the whole Linq query correctly? I am a total novice to this... :-(
with Kind regards,
John

First(x => x.IsDefault==true)

Thanks JaiQ.
While testing the whole thing, I have seen that the whole Dialog does not Show up (on pressing the new button), when absolutely None of the records in the Costcenter table have the isDefault set to true.
I have split the command into two separate Statements but the dialog does not show up even  if only the first line is there.

var Costcenter_ID = CostCenterRow.Lookup.Items.First(x => x.IsDefault == true).CostcenterId.ToString();
if (Costcenter_ID != null) { form.Costcenter_ID.Value = Costcenter_ID; }
Although this Situation "should" never occur, by human error this could happen and I would like to make the Dialog more robust.
I have tried to put the two Statements within a try-catch block but this didn't impreove the Situation.
the Goal is to not modify the value of CostCenter_ID field within the delivery table in case the Costcenter-Table has no record where isDefault = true and so just Show the Standard "-select-" in the dialog. But the Dialog should not be blocked from appearing.
How would I "treat" this line of code in order to make it not block the Dialog?
Thanks again and
with Kind regards,
John

var Costcenter_ID = CostCenterRow.Lookup.Items.FirstOrDefault(x => x.IsDefault == true).CostcenterId.ToString();
if (CostCenter_ID != null)
form.XYZ.

Hi JaiQ,
many thanks for your Patient Support. I have definitely to study this Linq Thing.
Works perfectly.
I wish you a nice evening.
With Kind regards,
John.

For the benefit of other Readers:
The final - fully working code - which sets Default values for 3 fields Looks like this:
(within xyzDialog.cs)

    protected override void AfterLoadEntity()
    {
        base.AfterLoadEntity();

        if (IsNew)
        {

            var DefaultCostcenter = CostCenterRow.Lookup.Items.FirstOrDefault(x => x.IsDefault == true);
            if (DefaultCostcenter != null) { form.Costcenter_ID.Value = DefaultCostcenter.CostcenterId.ToString(); }

            var DefaultLifeCycleStatus = LifeCycleStatusRow.Lookup.Items.FirstOrDefault(x => x.isDefault==true);
            if (DefaultLifeCycleStatus != null) { form.LifeCycleStatusId.Value = DefaultLifeCycleStatus.LifeCycleStatusId.ToString(); }

            var DefaultLocation = LocationRow.Lookup.Items.FirstOrDefault(x => x.isDefault==true);
            if (DefaultLocation != null) { form.LocationId.Value = DefaultLocation.LocationId.ToString(); }

        }

    }


Support ini files

It would be great if Dasel could handle .ini files.
Cheers!

Hi @ngirard,
Thanks for your suggestion.
I'll look into this 🙂

Great, thanks !

The main ini parsing package I've found doesn't support the required format right now. I've commented on a feature request stating I'd like it too: https://github.com/go-ini/ini/issues/197
There's potential for me to write my own ini parser but I'm going to wait and see what the response on that feature request is first.

any news on this?

don't know if that helps: https://github.com/gookit/config

Yes it looks like that helps, thank you.
I want to finish up the changes I'm making to the existing parsers and then I can add support for this


Fix registry/nats, registry/mdns

Looking at this benchmark results shrugg
NATS:
BenchmarkGetServiceWithNoNodes         10         100362176 ns/op            6132 B/op        102 allocs/op
MDNS:
BenchmarkGetServiceWithNoNodes          2         500448438 ns/op          779908 B/op       1818 allocs/op
Consul:
BenchmarkGetServiceWithNoNodes      16141             70719 ns/op            6843 B/op         86 allocs/op

MDNS still open

Moved to experimental.


Discuss enhancements to support sidekiq-pro

You've got some valuable changes here, @meltingice. Let me know if you're interested in merging your changes upstream. Only issue I see is that Module#prepend isn't supported by ruby 1.9.3.

I unfortunately didn't get things to work properly with Sidekiq Pro due to it's dual queue setup and blocking pop/push. I can revisit in the future to see if I can get it to work, but right now it's not ready for merging.

Gotcha. I'm going to close this pull request for now then. Thanks for the info!


SwipeMenuLayout

How can i implement swipe menu like in IOS.
Is there a way using this library ?
And if not, this can be added feature to this library.

You can use this lib. https://github.com/chthai64/SwipeRevealLayout


use xargs -I{} instead of the deprecated xargs -i

Signed-off-by: Eric Lagergren<EMAIL_ADDRESS>

msan timed out, but shouldn't be affected. Merging without waiting.


feat: more holistic frontend-template deep-dive

This replaces soroban-contract-init-template. This is Step 1 in an effort to address:

https://github.com/stellar/stellar-cli/issues/1476

The goal is to create a DevRel initiative around creating frontend templates, maybe including bounties for creating and maintaining them. But first, we need a solid guide to help people create them. That's what this does.
The old document was mostly focused on helping someone author the initialize.js script. The new one advises people to copy-paste the one from the official template, without explaining every detail of what it does. However, the old page here made me think that a lot of people probably didn't find the initialize.js script particularly readable, so I've also improved it and added many comments:

https://github.com/stellar/soroban-astro-template/pull/10

Having a more readable, well-commented script means we can avoid such detailed explanation here.
Which is good, because there's lots of other details the old guide didn't get to!
As you can see in this new guide, it now leads you through searching for templates on GitHub, then explains how they work at a high-level. It has you build your own, and explains gotchas along the way, like that you should not commit the Cargo.toml file or hard-code a reliance on specific contracts (other than hello_world).
Direct preview link
I suggest reading the preview link, not the diff here, since this was a full rewrite and git is bad at showing those: https://developers-pr952.previews.kube001.services.stellar-ops.com/docs/build/guides/dapps/soroban-contract-init-template

Preview is available here:http://developers-pr952.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr952.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr952.previews.kube001.services.stellar-ops.com

Happy to get this merged when the open question to Elliot has been resolved.

Looks like this may have happened.  All good to merge @ElliotFriend?

Yes, we're looking good from my end. Let's merge it!!

It's. Happening.


add editor line range to which comment applies to comment widget's aria label

cc @alexr00, something we should do as a result of discussion with @jooyoungseo

this already happens when one uses the comments view to navigate👍

i think we should use alert or status to indicate this when going to next range since this info is otherwise just strictly visual.

@meganrogge so the idea is the following:

Run command go to next/previous commenting range
aria status: "Commenting range lines 4-10"

And:

Focus on a comment widget
aria status: "Comment on lines 3-7" or "Comment on line 3"

I think the latter works well enough already. It's the former that I think we need.

Actually, I wonder if the precise line number is important. Given a user isn't told what line number they're on when they move their cursor, perhaps instead we could say "spans 4 lines". Since a user has invoked this command, they know that it's a comment range, so we probably want to leave out "comment/commentable" to decrease noise

I will ask Roberto to confirm my suspicion.

@meganrogge IMO, the line reference could be useful when users want to backtrace later.

@jooyoungseo, shall we leave out the term 'Comment' here and just say 'lines 730-736' to reduce verbosity?

Or "Lines 1 to 5 have a comment range" as a screen reader user can disrupt it mid message via escape?

I am leaning toward just "Lines 1 to 5" given the user invoked the command so knows it's a comment range already.

Thanks for making the change!

@bhavyaus open an editor that has some commentable ranges. Turn on a screen reader. use the command jump to next /previous commenting range. verify you hear the range like "lines 123 to 128" as the cursor's position gets updated.

nothing is being announced for me with that commend, I have screen reader optimized and commenting verbosity on

@amunger depending on what you have going on otherwise, it will wait to say that since we're using status instead of alert here.

Hey @amunger are you seeing it jump to the commenting ranges?
https://github.com/microsoft/vscode/assets/29464607/97bce22f-44e5-46d4-925c-e36a83e5b3bb

works on my desktop, does not work on my surface laptop - neither the speech viewer nor through volume, nothing is read at all when running that command by NVDA. It is successfully navigating between commentable regions.

@amunger sounds like you've verified this works on your desktop. I'm curious to know if other aria alerts are working on your surface laptop - for example, the untitled editor hint


Need a New News Retrieval API.

NewsAPI doesn't provide full content, which makes summarisation redundant.

https://worldnewsapi.com/

Being fixed in #69 (to be merged). Nice.


Change JSON library to jsone, add JSON encoding/decoding API

Basically swapped ej with jsone (also had to tune jsone a bit, add support for pids, ports, refs, funs and multi element tuples). Now all JSON encoding and decoding should happen using epl_json:encode/2 and epl_json:decode/1.

@michalslaski I am not sure how this affects buliding a "release" escript (although local builds with make and ./bootstrap work fine). Im 99% sure it breaks epl_3d plugin.

@Baransu I'm going to merge that one. API changes involve:

epl:proplist_to_json/2 changed to epl_json:encode/2 (the same arguments)

this functions also accepts maps, so we can represent data as maps on Erlang side instead of proplists

It is possible that shape of messages which come from epl_dashboard have changed a bit. Let me know if there is something to fix. Also with those changes epl_3d will be probably stop working.

I'm not using epl_3d during development right now. I'm waiting for more progress with this part of app to implement it on frontend.
I'll test current version of erlangpl-ui against this branch and I'll let you know.

@arkgil I found problem with otp_release and version. Previously these values were strings, right now they are number arrays.

Ah, unfortunate encoding of charlists! I'll fix that.

@Baransu would you be able to provide me a list of keys which are used in UI to displays system info and ERTS settings? I mean the keys from first payload sent to dashboard on websocket connection init.

Keys are run via humps.camelizeKeysto match JS naming convention.
https://github.com/erlanglab/erlangpl-ui/blob/master/src/home/components/SystemInfo.js#L9#L29

Alright, should be fixed now. Let me know if everything works fine.

@arkgil It seems to looks fine.

@arkgil @Baransu let's not worry about epl_3d view for the time being. I'm very glad with the progress on all the refactorings as it will allow us to encode any Erlang terms and to build interesting views in the UI in the future.
The 3D visualization of a graph could be used to show spawns and exits, where vertex represents a process and edge represents parent-child relation between process spawning and process being spawned. I think such spawn-graph could help understand which parts of the system are extensively creating new processes. It could also help understand where most crashes happen. Overall it is an interesting area of performance analysis and I'm not sure it fits well other views we discussed so far, so I think it deserves a separate view.
We can get back to implementing it once we have dashboard, sup_tree and traffic views implemented and tested.
Many many thanks for your contributions so far!


tears.create_returns_tear_sheet

IndexError: invalid index

@junnl You still interested in getting this merged?

Fixed in the last commit.


[Feature request]: Export note hash to verbose log as a means of skipping a not on the fly

Suggestion
I have been upload a large notebook and I got one note that keeps causing the same import error. The problem is in order to skip this note I have to go back to Evernote, trim out all the ones that successfully uploaded, delete the failing note (or manually import as it were) and then re export the rest of the notebook again. I've got a bunch of large notebooks to do and this could be tedious if there are errors about.
So I noticed that the done file function just exports what seems to be a hash for each note uploaded. Is there a way to print that hash to the verbose log so that if I want to skip a note all I have to do is manually add it to the done file?

What import error are you getting?

Here is what I get:
Network error: 413 Client Error: Payload Too Large for url: https://www.notion.so/api/v3/submitTransaction
Then it retries a number of times, then you get this:
Traceback (most recent call last):
File "enex2notion\enex_uploader.py", line 28, in upload_note
File "enex2notion\enex_uploader_block.py", line 10, in upload_block
File "notion\block.py", line 141, in add_new
File "notion\client.py", line 469, in exit
File "notion\client.py", line 323, in submit_transaction
File "ratelimit\decorators.py", line 113, in wrapper
File "ratelimit\decorators.py", line 80, in wrapper
File "notion\client.py", line 275, in post
File "notion\client.py", line 298, in _post
File "requests\models.py", line 1021, in raise_for_status
requests.exceptions.HTTPError: 413 Client Error: Payload Too Large for url: https://www.notion.so/api/v3/submitTransaction
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "enex2notion_main_.py", line 4, in
File "enex2notion\cli.py", line 47, in main
File "enex2notion\cli.py", line 32, in cli
File "enex2notion\cli.py", line 42, in _process_input
File "enex2notion\cli_upload.py", line 56, in upload_notebook
File "enex2notion\cli_upload.py", line 79, in upload_note
File "enex2notion\cli_upload.py", line 103, in _upload_note
File "enex2notion\enex_uploader.py", line 35, in upload_note
enex2notion.utils_exceptions.NoteUploadFailException
[16124] Failed to execute script 'main' due to unhandled exception!

Also, the file isn't actually large. It's a web clip. When exported by itself as an ENEX it's only 354kb.
It seems to have linked images that either don't exist or that for whatever reason it shows as broken image links., I've noticed that that seems to cause the same error for a number of web clips.
Export flat patterns from SOLIDWORKS part or assembly components.txt
Here is the ENEX for that one note as a TXT  (github wont allow ENEX as an attachment)

This should be fixed now. I also added --skip-failed option to avoid crashes when upload error occurs. You can use --log option to keep track of failed notes.


Fix random bug separating Clang output text into multiple lines (fixes #42)

The issue was that clang output such as

blah.cpp:123:1: warning: some message
1 warning generated.

can result in an array something like
[ "blah.cpp:"
, "123:1: "
, "warning: some message\r\n"
, "\r\n\r\n"
, "1 "
, "warning generated.\r\n"
]
These array items must be concatenated without adding a newline (but keeping the existing "\r\n")

Hi,
There is a small problem with your pull request, when I run on a file that contains many errors, over one thousand, then all errors are written on a single line.

Hi,
That seems like a minor issue indeed ;-) Although I cannot reproduce the single-line output you mentioned.
I did just force-push a new solution, hope that one works correcly at your machine too.
It lets cmd.exe execute clang and apply the redirection, instead of PowerShell doing the redirection. PowerShell seems to have some issues with redirecting the error stream to standard output of external commands: the first error-line is OK, but consecutive error-lines are split up. By letting cmd.exe apply the redirection, this PowerShell seems to be gone (got my inspiration from https://stackoverflow.com/a/35980675)
Can you give it another look?

Hi @gerboengels ,
Looks like you changed strategy there :)
@hero101111 can you take a look at the new changes in the PR ?
Also, we need to re-test, of course.
Thanks.

Hi,
I just realised I misread the first comment a bit; I read it as if it always printed out on a single line, which is "a small problem" (a bit of an understatement) when you have, say, 1000 errors.
On re-reading it I see that the normal case was tested and OK, but only such an extreme case would brake my fix.
Just to clarify things, lets see what happens when compiling the following source code
int main() {
    x;
    y;
    return 0;
}

Running clang-build.ps1 before any changes to the script, results in the following output:
1: D:\Sandboxes\ConsoleApplication40-cpt\ConsoleApplication40-cpt\ConsoleApplication40-cpt.cpp
D:\Sandboxes\ConsoleApplication40-cpt\ConsoleApplication40-cpt\ConsoleApplication40-cpt.cpp:8:2: error: use of undeclared identifier 'x'
        x;
        ^

D:\Sandboxes\ConsoleApplication40-cpt\ConsoleApplication40-cpt\ConsoleApplication40-cpt.cpp
:9:2: error: use of undeclared identifier 'y'

        y;

        ^

2
 errors generated.

Got errors.

Note the newline before :9:2, before  errors generated, and in general that all newlines doubled starting from :9:2:.
Viewing what PowerShell captured when calling clang, I get
$callOutput[0]: "D:\sandboxes\consoleapplication40-cpt\ConsoleApplication40-cpt\ConsoleApplication40-cpt.cpp:8:2: error: use of undeclared identifier 'x'"
$callOutput[1]: "        x;\r\n        ^\r\n"
$callOutput[2]: "D:\sandboxes\consoleapplication40-cpt\ConsoleApplication40-cpt\ConsoleApplication40-cpt.cpp"
$callOutput[3]: ":9:2: error: "
$callOutput[4]: "use of undeclared identifier 'y'\r\n"
$callOutput[5]: "        y;\r\n"
$callOutput[6]: "        ^\r\n"
$callOutput[7]: "2"
$callOutput[8]: " errors generated.\r\n"

This explains those extra newlines.
My original commit (force pushed away) was something like below, which concatenated this output without adding any newlines (only using the \r\n already present)
    [string[]] $callOutputStrings = & $job.FilePath $job.ArgumentList.Split(' ') 2>&1 |`
                                    ForEach-Object { $_.ToString() }
    $callOutput = [System.String]::Join("", $callOutputStrings)

This yielded the following output:
1: D:\Sandboxes\ConsoleApplication40-cpt\ConsoleApplication40-cpt\ConsoleApplication40-cpt.cpp
D:\Sandboxes\ConsoleApplication40-cpt\ConsoleApplication40-cpt\ConsoleApplication40-cpt.cpp:8:2: error: use of undeclared identifier 'x'        x;
        ^
D:\Sandboxes\ConsoleApplication40-cpt\ConsoleApplication40-cpt\ConsoleApplication40-cpt.cpp:9:2: error: use of undeclared identifier 'y'
        y;
        ^
2 errors generated.

Got errors.

Note that all extra newlines are gone, but also that a newline is missing after undeclared identifier 'x'.
My new solution yields the expected results, as if calling clang directly:
1: D:\Sandboxes\ConsoleApplication40-cpt\ConsoleApplication40-cpt\ConsoleApplication40-cpt.cpp
D:\Sandboxes\ConsoleApplication40-cpt\ConsoleApplication40-cpt\ConsoleApplication40-cpt.cpp:8:2: error: use of undeclared identifier 'x'
        x;
        ^
D:\Sandboxes\ConsoleApplication40-cpt\ConsoleApplication40-cpt\ConsoleApplication40-cpt.cpp:9:2: error: use of undeclared identifier 'y'
        y;
        ^
2 errors generated.

Got errors.

Hope this helps for re-testing and release notes


DOC: forward port 1.6.0 relnotes

forward port the SciPy 1.6.0 release notes
following the final release

CI is green--standard release management doc work, so merging.

CI is green--standard release management doc work, so merging.


The option to set a default template

We have decided not to implement this. Thank you for the submission.


[FancyZones] RDP: new Device ID is created for each resize/new connection

The new Remote Desktop app available in the Windows Store, allows to dynamically resize the window. FancyZones currently creates a new Device ID for each new size of the remote screen.
Even when connecting using the same remote screen size, FZ creates multiple display IDs for the same user running the same remote configuration.
This causes FZ to not remember which zoneset has to be used.
The current algorithm generates different IDs at each new session.

Adding reference to https://github.com/microsoft/PowerToys/issues/723

Adding reference to https://github.com/microsoft/PowerToys/issues/723

/dup https://github.com/microsoft/PowerToys/issues/723


No window under mac

Hi, This is Tianxiao Jiang. I was searching for a real-time video palyer for matlab like yours that can run any platform for a while . I was planning to play back the video synchronized with some data. On windows I can easily achieve this by ActiveX control. But Mac OS is currently a dead end for me.
I was trying to run this on my Mac Computer. The problem  of your package is that everything seems to be playing at the background. I can see the frame number changed. However there is no visual output, no window that show the video being played. I discovered that, in your note, you said there is some problem with mac. You developed a helper library using Objective C. I am not sure how it works. Could you please described a bit more on what can I do with it ? I am not familiar with Objective-C. I am good at C++/C Matlab Java(kind of). If there is an alternative to do this, I would also like to hear. Thank you !

Hm, this is quite strange. Can I ask what versions of OSX, VLC, and Matlab you are using? The Objective-C part of this library is a tiny OSX application that opens a window, that's pretty much it. It should be automatically built by my build_mac.sh script if you have XCode installed. Did you get any errors from build_mac.sh?

I am using OS X EL Capitan 10.11.2 , Matlab 2015b and VLC 2.2.2. All of them are the most updated I guess. There was compiler error problem before with Matlab 2015b but I fixed it. Apart from it, there is no error message from build_mac.sh.

I haven't tested under El Capitan. It's possibly something changed. I'll
try to track down a machine for testing.
On Mar 2, 2016 5:17 PM, "Tianxiao Jiang"<EMAIL_ADDRESS>wrote:

I am using OS X EL Capitan 10.11.2 , Matlab 2015b and VLC 2.2.2. All of
them are the most updated I guess. There was compiler error problem before
with Matlab 2015b but I fixed it. Apart from it, there is no error message
from build_mac.sh.
—
Reply to this email directly or view it on GitHub
https://github.com/durka/vlc-matlab/issues/2#issuecomment-191457634.

Thanks, I have tested under my win7+matlab2015b. It works pretty well.

On Mar 2, 2016, at 5:31 PM, Alex Burka<EMAIL_ADDRESS>wrote:
I haven't tested under El Capitan. It's possibly something changed. I'll
try to track down a machine for testing.
On Mar 2, 2016 5:17 PM, "Tianxiao Jiang"<EMAIL_ADDRESS>wrote:

I am using OS X EL Capitan 10.11.2 , Matlab 2015b and VLC 2.2.2. All of
them are the most updated I guess. There was compiler error problem before
with Matlab 2015b but I fixed it. Apart from it, there is no error message
from build_mac.sh.
—
Reply to this email directly or view it on GitHub
https://github.com/durka/vlc-matlab/issues/2#issuecomment-191457634.

—
Reply to this email directly or view it on GitHub https://github.com/durka/vlc-matlab/issues/2#issuecomment-191492431.

I'm having the same problem on OS X El Capitan (10.11.6). No build errors. Everything works fine. I can hear the video playing but there is no visual interface. Either the video interface is zero pixels, is showing up somewhere off screen, or is not being displayed at all. Great work on everything else btw. This would be exactly what I'm looking for if it displayed video. Cheers.

Hi,
I am building a video annotator and found that this piece of software suites perfectly for me. However, I am facing an issue in Ubuntu 16.04+Matlab2016b+VLC-2.2.2
When I run the command: vp = vlc_wrapper('open',vh,'movie.avi') as in the example, I receive a message:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Error using vlc
Could not stat video file: No such file or directory
Error in vlc_wrapper (line 14)
[varargout{1:nargout}] = vlc(i, varargin{:});
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I do run the 'build_linux.sh' script and obtain the message:
"Building with 'g++'.
MEX completed successfully."
Hence, please let me know what the issue might be.
I really need this piece of software integrated in my project.

It seems that your video file does not exist (maybe it is in another
directory?). If that is not the problem, please open a new issue as it's
not related to this one.
On Wed, Feb 22, 2017 at 6:01 PM, Pradyumna<EMAIL_ADDRESS>wrote:

Hi,
I am building a video annotator and found that this piece of software
suites perfectly for me. However, I am facing an issue in Ubuntu
16.04+Matlab2016b+VLC-2.2.2
When I run the command: vp = vlc_wrapper('open',vh,'movie.avi') as in the
example, I receive a message:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Error using vlc
Could not stat video file: No such file or directory
Error in vlc_wrapper (line 14)
[varargout{1:nargout}] = vlc(i, varargin{:});
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I do run the 'build_linux.sh' script and obtain the message:
"Building with 'g++'.
MEX completed successfully."
Hence, please let me know what the issue might be.
I really need this piece of software integrated in my project.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/durka/vlc-matlab/issues/2#issuecomment-281833919, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAC3n1h8-_2ztXtWbNIQxk-CtdjxNVKDks5rfL5SgaJpZM4Hn4L-
.

I am using Ubuntu16.04+MATLAB2016b+vlc2.2.2
Previously I did not have the video in current folder. Now I do have the video file in current folder. However, I receive an error when I run the command: vp = vlc_wrapper('open',vh,'movie.avi')
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Error using vlc
Not a VLC instance
Error in vlc_wrapper (line 14)
[varargout{1:nargout}] = vlc(i, varargin{:});
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
What does "Not a VLC instance" mean?
Thank You

It means the handle, vh, is no longer valid. You need to call
vlc_wrapper('init') again to get a new one. Again, please open a new issue.
On Wed, Feb 22, 2017 at 6:13 PM, Pradyumna<EMAIL_ADDRESS>wrote:

I am using Ubuntu16.04+MATLAB2016b+vlc2.2.2
Previously I did not have the video in current folder. Now I do have the
video file in current folder. However, I receive an error when I run the
command: vp = vlc_wrapper('open',vh,'movie.avi')
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Error using vlc
Not a VLC instance
Error in vlc_wrapper (line 14)
[varargout{1:nargout}] = vlc(i, varargin{:});
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
What does "Not a VLC instance" mean?
Thank You
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/durka/vlc-matlab/issues/2#issuecomment-281836411, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAC3n6EkMUNba703sHDij5mNB0aSxV3cks5rfMEZgaJpZM4Hn4L-
.

Thank You for helping me out. It works perfectly now!


new issue

/critical

/kind good first issue

/kind question

/kind 'good first issue'

/retitle hi hello

/kind good-first-issue

/priority mid


Retrieve grafana address from log pipeline

Use-cases
I manage my logging pipeline with terraform but I am unable so far to retrieve the grafana url via terraform
Attempted Solutions
Currently I use ionosctl for that in second step after terraform but I want to have a terraform only deployment model
Proposal
Implement it as part of the output of the ionoscloud_logging_pipeline resource and/or data source

Hello and thank you for the suggestion! We will add this in the next release.

Should be fixed in latest release v6.4.18


map string to guid

i am trying to map string to Guid, and i also hope it could be deal with empty string, so i set the config like this
TypeAdapterConfig<string, Guid>.NewConfig()
                .Map(dest => dest, src => src == "" ? Guid.Empty : Guid.Parse(src));

but it still throw an exception System.FormatException:“Unrecognized Guid format.” when Adapt empty string var gid = "".Adapt<Guid>(); , is there a configuration i am missing?

just ignore this question, i had saw the MapWith for this case


refactor: use the new twitter (X) logo

Since twitter updated it's logo it makes sense to update it in the theme.

The theme is using disk icon with the logo inside... Could you provide something equivalent in size and shape? Thanks.

Graphics is far from my expertise... You want it smaller or in a disk? The GitLab logo isn't in a disk either I noticed...

The GitLab logo isn't in a disk either I noticed...

True, it's not a perfect system, but it still integrates nicely with the other icons. I guess my reluctance to approve this outright is triggered by the size and color of your proposition.

Twitter/X is probably on 80% of Ananke sites, so I want to tread lightly.
Thanks for your understanding.


Wrong email address in availability-and-pricing-faqs

In https://docs.microsoft.com/en-us/azure/spatial-anchors/spatial-anchor-faq#availability-and-pricing-faqs:

Q: Do you have any throttling limits in place?
A: Yes, we have throttling limits. We don’t expect you’ll hit them for typical application development and testing. For production deployments, we are ready to support our customers’ high-scale requirements. Contact us to discuss.

The mail address in Contact us does not work. Mail to<EMAIL_ADDRESS>just bounces.
Please update the contact information, or even better, add actual throttling limitations to the documents 😃

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

ID: c6c4d018-b95c-2d64-1620-bf47bf86ff65
Version Independent ID: 639519b8-bfd6-2a1a-e862-16438a94a54d
Content: Frequently asked questions - Azure Spatial Anchors
Content Source: articles/spatial-anchors/spatial-anchor-faq.md
Service: azure-spatial-anchors
GitHub Login: @msftradford
Microsoft Alias: parkerra

Thank you for letting us know about the issue. There is a Pull Request to address it - https://github.com/MicrosoftDocs/azure-docs-pr/pull/153175
For the time being, please use this email address to contact and discuss about questions or concerns regarding throttling -<EMAIL_ADDRESS>

@phamqduc Thanks for the PR.
@ChrisEke PR has been created to update the doc with correct email<EMAIL_ADDRESS>changes will go live once it has been peer reviewed and merged.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


forge 1.12 crash

The game crashed whilst there was a severe problem during mod loading that has caused the game to fail
Error: net.minecraftforge.fml.common.LoaderException: placebo Failed load class: shadows.placebo.Placebo

1.12 is not supported

nevermind it seems to be caused my some other incompatibility anyways


feat/license: change license to dual MIT/Apache-2.0

CLOSES #38

@homu r+

:pushpin: Commit a06b7c5 has been approved by hobofan

:zap: Test exempted - status


How to reach out in private/anonymous?

Recently found a critical vulnerability. Reserved a CVE for it.
However the vendor is threatening my client with breach of contract and tells me not to publish CVE.
I would like to warn about this vendor. However because of this hostile behaviour I want to discuss this in private with someone. How can I reach out to the maintainers?

I don't think we have a single email address set up to go to everyone, and I don't think we can lock this issue to just maintainers + you. Will defer to @sickcodes on establishing a comms channel for these. Once done, we need to add it to the readme here.

You can email me: info at sick.codes
You can also use my public key if necessary https://sick.codes/pgp-key/
Cheers @attritionorg for the mention!

Recently found a critical vulnerability. Reserved a CVE for it.
However the vendor is threatening my client with breach of contract and tells me not to publish CVE.
I would like to warn about this vendor. However because of this hostile behaviour I want to discuss this in private with someone. How can I reach out to the maintainers?

Once a CVE is reserved, it will be published. I am heavily interested, please email me:
info at sick.codes

re: CVE, no. It will only be published if the vendor or researcher disclose the information -and- someone informs MITRE that it has been published. If this is not resolved, the CVE will stay in RESERVED status for eternity unless someone contacts MITRE to REJECT it, but if a valid issue, that is not the correct course of action.

Mailed you both. Mitre confirmed that they can change the CVE to rejected.
The vulnerability is patched so all is fine. I'll get the CVE to be rejected I guess. And maybe you guys can include a warning somewhere on the list.
Just don't want others to get burned.

Hold off on REJECTing the CVE pending email discussion please?

We both spoke to the researcher and it's a complicated situation. Will update if required.


CanFilter and CanSort properties incorrectly documented in Tutorial

In the tutorial page (https://wrapt.dev/docs/tutorial#adding-a-new-bounded-context) there is a bounded context entity declaration that looks like this:
      - Name: ShoppingList
        Features:
          - Type: AddRecord
          - Type: GetRecord
          - Type: GetList
          - Type: UpdateRecord
          - Type: DeleteRecord
        Properties:
          - Name: Store
            Type: string
            CanFilter: true
            CanSort: true

Using the CanFilter and CanSort flags causes a deserialisation error - Error: (Line: 21, Col: 13, Idx: 532) - (Line: 21, Col: 13, Idx: 532): Exception during deserialization
Removing these fields fixes the issue - Also I can see the fields in the tutorial but not in the docs themselves, so might just be inconsistent docs rather than a real error.
Steps to reproduce
Create a file named poc.yml with contents:
DomainName: poc
BoundedContexts:
    - ProjectName: HumanContext
      Port: 8081
      DbContext:
        ContextName: HumanDbContext
        DatabaseName: HumanReadModel
        Provider: postgres
        NamingConvention: CamelCase
      Entities:
        - Name: Human
          Features:
            - Type: AddRecord
            - Type: GetRecord
            - Type: GetList
            - Type: UpdateRecord
            - Type: DeleteRecord
          Properties:
          - Name: PropertyName
            Type: string
            IsRequired: true
            CanFilter: true
            CanSort: true
          - Name: lastName
            Type: string
            IsRequired: true
          - Name: irdNumber
            Type: int
            IsRequired: false
          - Name: activeContracts
            Relationship: 1tomany
            ForeignEntityName: Contract
            ForeignEntityPlural: Contracts
        - Name: Contract
          Features:
            - Type: AddRecord
            - Type: GetRecord
            - Type: GetList
            - Type: UpdateRecord
            - Type: DeleteRecord
          Properties:
          - Name: jobTitle
            Type: string
            IsRequired: true
          - Name: hourlyRate
            Type: int
            IsRequired: true
          - Name: contractedHoursPerUnitTime
            Type: int
            IsRequired: false
          - Name: unitTime
            SmartNames:
                - week
                - month
                - year

Run craftsman new domain poc.yml
This yields Error: (Line: 21, Col: 13, Idx: 532) - (Line: 21, Col: 13, Idx: 532): Exception during deserialization
Comment out or remove
            CanFilter: true
            CanSort: true

Re-run craftsman new domain poc.yml (on Mac I get another error but based on another issue I think this is a post-codegen error and not related to the scaffolding itself). The command should succeed.
Further technical details
Craftsman 0.22.1
Mac Ventura 13.5.1

Thanks for the callout. This is a miss in the docs as those were removed last release. I'll push an update for this soon


Is it currently supported to generate property sheets based on property definitions?

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Description
This function is similar to the props component of docz: https://www.docz.site/docs/components-api#props
Usage:
<Props of={Button} />

Self-service

[ ] I'd be willing to address this documentation request myself.

Sorry, I don't quite understand what you are trying to do. Please don't use the issues tracker as a support forum—you can ask on Discord or stack overflow.

You can certainly make a similar React component in userland, but we don't provide this by default. Anything that's not in the documentation is not public API—there's nothing we need to improve on for documentation.

Sorry, I don't quite understand what you are trying to do. Please don't use the issues tracker as a support forum—you can ask on Discord or stack overflow.

It is also a function point for document use, useful when we want to show all the properties of a component.

It seems docz is using propTypes to generate it, which makes it technically trivial to implement in userland (because you can retrieve that metadata at runtime instead of hooking into some TypeScript build pipeline). Have you tried building it by potentially referencing docz's implementation?


Comments on the terminology used

I think some words should be more precise.
So I'll list them and put my suggestion and explain why.
Quick Launch --> Quick Launch Area
Desktop Overlay --> Dynamic Desktop Overlay
Toolbar --> Desktop Navigation Bar
Speaking of quick lauch makes me think of autostart or something, an action, not the place I would seek for icons.
Desktop overlay makes me think of an overlay, like FPS counter, that would display on top of the desktop, With this name, I don't expect the desktop itself to be the overlay (at least I would not if I did not knew the feature).
Toolbar is too generic, as it does not contain any tool, but is used for navigation, exclusively for the desktop.

I agree on all of your points and will implement these changes, thanks for the feedback.

Some more wording suggestions.
When you right click on a quick lauch icon, "Remove from menu" is inacurate as pointed out before
"Remove" would be sufficient, like it is done to unpin special folders (Documents, Download, etc.) on menu bar.
Or "Unpin" (?), to stick to the native Windows words.
If you remove Quick Lauch app, there is "Remove this app from the menu?" and """ will be removed from the Quick Lauch menu. This will not uninstall the program."
Same remarks as before concerning "menu" as not accurate.
The word "Special Folders" is generic.
The word "Places" is already used to group the same "Special Folders" in one menu on the menu bar.
So, maybe reuse this word ?
It is similar to Recent Places (?) so not so bad.
In Windows 7, there were a word for special folders, it's "Libraries", but this concept is disabled by default in Windows 10, not a good idea.

@mdmk Thanks, I've made some more updates with your comments in mind.


pin binutils to 2.40.0

Explanation of changes:

bump build number
set binutils to 2.40

Necessary because packages such as cmdstan have a run dependency on the compiler and end up pulling old 2.38 version of binutils.

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_a91fnu9cu8/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:93: host_section_needs_exact_pinnings: output "gfortran_linux-aarch64": Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:93: host_section_needs_exact_pinnings: output "gfortran_linux-s390x": Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:177: missing_description: The recipe is missing a description
clone/recipe/meta.yaml:93: host_section_needs_exact_pinnings: output "gfortran_linux-64": Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:93: host_section_needs_exact_pinnings: output "gfortran_linux-ppc64le": Linked libraries host should have exact version pinnings.

===== ERRORS =====

clone/recipe/meta.yaml:177: missing_dev_url: The recipe is missing a dev_url
clone/recipe/meta.yaml:177: missing_documentation: The recipe is missing a doc_url or doc_source_url
clone/recipe/meta.yaml:177: missing_license_family: The recipe is missing the about/license_family key.
===== Final Report: =====
3 Errors and 5 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_ff4hsvu_zx/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:93: host_section_needs_exact_pinnings: output "gfortran_linux-s390x": Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:93: host_section_needs_exact_pinnings: output "gfortran_linux-64": Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:93: host_section_needs_exact_pinnings: output "gfortran_linux-aarch64": Linked libraries host should have exact version pinnings.
clone/recipe/meta.yaml:177: missing_description: The recipe is missing a description
clone/recipe/meta.yaml:93: host_section_needs_exact_pinnings: output "gfortran_linux-ppc64le": Linked libraries host should have exact version pinnings.

===== ERRORS =====

clone/recipe/meta.yaml:177: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:177: missing_dev_url: The recipe is missing a dev_url
clone/recipe/meta.yaml:177: missing_documentation: The recipe is missing a doc_url or doc_source_url
===== Final Report: =====
3 Errors and 5 Warnings were found


Pingpong animations don't import properly for looping

Say I have a 3 frame pingpong animation, the way it would play in aseprite is: 1 2 3 2 1 2 3 2 1
But the way the importer will play the animation, if you turn on looping, is: 1 2 3 3 2 1 1 2 3 3 2 1
When importing the pingpong animation, it seems as though you just take the animation, duplicate it, then reverse and append it. The way to fix this should just be to do that, but without duplicating the first and last frame.

Actually i tested it in Aseprite and it does duplicate the first and last frames of the animation (you can clearly see it when you increase the frames duration).
But i guess it would be better if there was an option to enable the duplication or not.

If you look here, you can clearly see a difference between the animation in Godot vs in Aseprite.


SQL Server/TinyTDS Error for OCTET_LENGTH

Hello, and thank you for creating this gem - it has been very useful.
I am using ActiveStorageDB with SQL Server via TinyTDS. I'm aware that ActiveStorageDB currently specifies support for Postgres and MySQL only, but I figured I'd ask if SQL Server could be considered for future support, or if you have any insight into a possible workaround for my specific issue.
I am encountering errors when attempting to use ActiveStorage variants with ActiveStorageDB. I got an error related to AnalyzeJob after attaching images via ActiveStorage, but displaying images was ok. However, the same error occurs when attempting to display variants. The error displayed is:
ActionView::Template::Error (TinyTds::Error: 'OCTET_LENGTH' is not a recognized built-in function name.)

The SQL statement causing this issue is:
ActiveStorageDB::File Load (45.7ms)  EXEC sp_executesql N'SELECT OCTET_LENGTH(data) AS size FROM [active_storage_db_files] WHERE [active_storage_db_files].[ref] = @0 ORDER BY [active_storage_db_files].[id] ASC OFFSET 0 ROWS FETCH NEXT @1 ROWS ONLY', N'@0 nvarchar(4000), @1 int', @0 = N'wbcflekvut7wmxukoxa535n8hwfg', @1 = 1  [["ref", nil], ["LIMIT", nil]]

I think SQL Server has either LEN or DATALENGTH, though without deep diving into the code I'm not sure which would be better to use, if any, or if it could be easily patched in.
I understand that SQL Server is not officially supported but any guidance on how to fix this would be appreciated.

Hey @utsw-alex-williams,
thanks for your feedback.
I have no experience with MSSQL unfortunately so I can tell you little at the moment.
I have just opened an experimental PR here: https://github.com/blocknotes/active_storage_db/pull/38
If you check the test suite output I get the same error that you reported in a test and a second error that seems a syntax one.
I'll try something when possible 🤷

After checking the failing specs:

DATALENGTH in place of OCTET_LENGTH for MSSQL seems good to me (ref) because it returns the number of bytes also of binary fields;
the syntax error regards SUBSTRING

I added a new commit on the PR 38 to apply these changes.
Can you make a try using the branch feat/mssql-support ?

So far it looks like that worked perfectly. There were no problems displaying a variant with Vips transformations.
Thank you so much!

@utsw-alex-williams: I have just release the version 1.3.0 which includes the experimental MSSQL support, can you make a test and let me know?

Looks great!

A special thanks to @utsw-alex-williams for the support! 💪
FYI: I've also updated a test to include variants:
https://github.com/blocknotes/active_storage_db/pull/41/files#diff-0f99c3fbce9abb834c898a75e39473e2ab2a5b9b3db400f38ca458953e060374


A new release is required to software supply chain safety warnings

Fixes software supply chain safety warnings like on the bottom right of
https://github.com/cclauss/Personal-Digital-Assistant/actions/runs/8520371449
As discussed in

#5
#6

What do you mean by "a new release is required"? From what I see, we don't provide a version number for the action. Should we start doing that?

Something higher than v0.0.1 at https://github.com/facebook/pyre-action/releases

Done.


Ethereum transaction signing

This adds a function into zuse's ++ethereum arm for signing raw transactions with a private key.
Also implements supporting logic (++rlp encoding), an RPC call for sending such a signed transaction to a node, cleans up existing Ethereum code a little bit, and removed deprecated files.

I put in tests for both the RLP encoding by itself, and the transaction signing as a whole. Couldn't find official test cases for the latter, so I threw some data I had on hand into web3.js and used that as test case and result.

Thank you for adding tests!


adding in changing keyboard appearance

I've got a personal project which needs this

Hello
How can we remove the keyboard from appearing when not typing ? In my case, as soon as the app opens, the keyboard pops up. I would like to change that.
Thanks

@daveols I just saw this PR, which is quite similar to mine, and I wondered if it wouldn't be better to accept a textInputProps that would be spread ({...textInputProps}) to the TextInput together with the rest of the default properties.
This way each user could customize their own searchbars instead of explicitly supporting every single key.

@aviggiano I've thought about doing this for a while but haven't had time. It's definitely the right approach.

@sbdm05 look into focusOnLayout


Incorporate Disassembler0's Win10-Initial-Setup-Script

Although there's a lot of overlap, perhaps we can mine a few things from there.
https://github.com/Disassembler0/Win10-Initial-Setup-Script

@fepitre has already done this work (thanks!). However, as you said there is a lot of overlap so I don't think just dropping the whole thing in there is what we want to do. Also, I think it would be best to include the script as a Git submodule @fepitre if we do decide to include it. I just really don't like the way including that script locally makes the code language meter on GitHub say this project is over 85% PowerShell. I do put these projects on my resume so I would like the code language meter be an accurate representation of what it's actually written in.
Also, @iamahuman I must ask why this script in particular considering there are tons just like this.
Closing in favor of https://github.com/elliotkillick/qvm-create-windows-qube/issues/17. Please discuss all scripts further there.

@elliotkillick Perhaps the issue title was phrased in a misleading way.
By "incorporate" I meant to extract its knowledge of kill switches into this project, not bundle the script as a whole.
Anyway the script is no longer maintained so I don't think there's much to be done here.


🐛 Fix manager image in release 0.2 branch

V1alpha3 development is happening in master from now on

/test-v1a2-integration


tproxy + nginx

I wanted to use tproxy and nginx to serve static files. When I take my browser to tproxy url, most of the time the browser fail to show the page.
I got this in the console running tproxy with --log-level=debug
2011-05-10 23:04:17 [11337] [INFO] tproxy 0.5.3 started
2011-05-10 23:04:17 [11337] [INFO] Listening on <IP_ADDRESS>:5000
2011-05-10 23:04:17 [11338] [INFO] Booting worker with pid: 11338
2011-05-10 23:21:07 [11338] [DEBUG] Successful connection to <IP_ADDRESS>:8000
Traceback (most recent call last):
  File "/home/amirouche/ftv/hm2/lib/python2.7/site-packages/gevent/greenlet.py", line 390, in run
    result = self._run(*self.args, **self.kwargs)
TypeError: proxy_io() takes at most 4 arguments (5 given)
<Greenlet at 0x1eef160: <bound method Route.proxy_io of <tproxy.route.Route object at 0x1ed7c90>>(<socket at 0x1f61a10 fileno=15 sock=<IP_ADDRESS>:5000, <socket at 0x7fcf5f0081d0 fileno=16 sock=<IP_ADDRESS>, [], None)> failed with TypeError

2011-05-10 23:21:07 [11338] [DEBUG] got data from input
2011-05-10 23:21:07 [11338] [DEBUG] Close connection to <IP_ADDRESS>:8000
2011-05-10 23:21:07 [11338] [DEBUG] Successful connection to <IP_ADDRESS>:7999
Traceback (most recent call last):
  File "/home/amirouche/ftv/hm2/lib/python2.7/site-packages/gevent/greenlet.py", line 390, in run
    result = self._run(*self.args, **self.kwargs)
TypeError: proxy_io() takes at most 4 arguments (5 given)
<Greenlet at 0x1eef958: <bound method Route.proxy_io of <tproxy.route.Route object at 0x1ed7c90>>(<socket at 0x1f718d0 fileno=15 sock=<IP_ADDRESS>:5000, <socket at 0x1f79ed0 fileno=16 sock=<IP_ADDRESS>:5125, [], None)> failed with TypeError

2011-05-10 23:21:07 [11338] [DEBUG] Close connection to <IP_ADDRESS>:7999```

To make things more clear at localhost:8000 there is gunicorn, and at 7999 there is nginx.

here are the versions a used to do the test:```
gevent==0.13.6
greenlet==0.3.1
gunicorn==0.12.1
http-parser==0.3.3
-e git://github.com/benoitc/tproxy.git@0f32b5b0d8a1f004ed060db4729943b37a3306c1#egg=tproxy-dev
wsgiref==0.1.2```

there is an example setup at this repository https://bitbucket.org/abki/ftv/src.

I think it has to do something with nginx, since when I tried gunicorn+file served with tproxy (like in the readme example) it worked well.

I runned this tests on linux 2.6

closing this issue. Feel free to reopen it if the problem still happen.


Finish implementing the parser visitors for Expression in QsFmt

Issue
Before this PR, some expression rules defined in QSharpParser.g4 were not transferred into syntax tree nodes. This uncompleted implementation prevents formatting rules to be applied within the expressions. For example, the extra spaces inside
    7 *   1

and
Fun<Bool,    Double>(1,     2)

cannot be removed by the Q# formatter.
This pull request
In this PR, I have added parser visitors for all the expression rules. I have also added some syntax tree structures to hold the parsing results. The rewriting and reducing rules for these structures are created as well.
Testing
The above examples are added to the Removes extraneous spaces test case to demonstrate the improvement brought by this PR. In addition, several test cases are added to FixedPoints.fs to show that the implementation does not introduce errors.
Currently, the output of the testing is
Passed!  - Failed:     0, Passed:     5, Skipped:     0, Total:     5, Duration: 671 ms - Microsoft.Quantum.QsFmt.App.Tests.dll (netcoreapp3.1)
Passed!  - Failed:     0, Passed:   117, Skipped:     2, Total:   119, Duration: 1 s - Microsoft.Quantum.QsFmt.Formatter.Tests.dll (netcoreapp3.1)

Other notes

I think the word "rewritter" in Reducer.fsi is a typo. Therefore, I have changed it to "reducer".
Commit 3c61c58 introduces a bug regarding interpolated strings, which causes a test failure after merging 3f172fc in be5d941. However, this bug is fixed in commit 5ab4529. Now, all the test cases pass.

@samarsha Sorry, I did not see your changes to the code until now. Luckily, it seems that my code does not conflict with yours! The only common parted I can see is that we both implemented a curry3 function, and the implementation is the same 😄. Maybe I should submit small PRs in the future to avoid conflicts. Or, can you assign me some tasks? Q# is a nice project, and I feel excited to participate.

We definitely appreciate your contributions, and I'm glad the formatter is getting some attention. :) Do any of the issues with the area: formatter label look interesting, or can you think of any new issues that you'd like to work on?

Thank you. I think I can try the issue with the sanity test.

/azp run


User can see a dashboard with multiple reports in it

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/305
Originally created by @bencodezen on 2019-01-18 17:14:37

Goals:

Dashboards fetch reports from Python backend
Python exposes the list of reports via API
Vue fetches that list and renders out the list, with individual calls to each one to render the graphs accordingly
Discussion: Dashboards should be named and there should be a way to have multiple ones?

Tasks:

[x] Dashboard route and page
[x] Dashboard page - list dashboards
[x] Dashboard page - load specific on interaction
[x] Model page - allow report to be save to a specific dashboard (done via Dashboards page for now)
[x] Dashboard page - display associated reports

View 10 previous comments from the original issue on GitLab


Update numpy.i for SWIG 4.3 compatibility

Update numpy.i to the latest version, from
https://github.com/numpy/numpy/blob/v2.1.2/tools/swig/numpy.i, plus apply the changes from https://github.com/numpy/numpy/pull/27579.
An incompatibility with the upcoming SWIG 4.3 test was reported in Fedora Linux. I reported the issue to numpy in https://github.com/numpy/numpy/issues/27578 and proposed a fix in https://github.com/numpy/numpy/pull/27579. This PR circles back to where things started, copying in the latest numpy.i from numpy upstream, plus the changes from https://github.com/numpy/numpy/pull/27579.

fyi @diegoferigo

I'm wondering if there's a more robust approach, like downloading the revision of numpy.i matching the numpy version found in the system from git repository. I accept PRs if anyone wants to have a look at it.

That would not work for the specific case of SWIG 4.3.0 compatibility. For example, the latest numpy released does not contain this fix, so if you for example installed the latest numpy and swig from conda-forge, you will end up with swig 4.3.0 and numpy 2.1.2, but https://github.com/numpy/numpy/blob/v2.1.2/tools/swig/numpy.i does not contain the changes, that indeed are in https://github.com/numpy/numpy/pull/27579 .

I'm wondering if there's a more robust approach, like downloading the revision of numpy.i matching the numpy version found in the system from git repository. I accept PRs if anyone wants to have a look at it.

That would not work for the specific case of SWIG 4.3.0 compatibility. For example, the latest numpy released does not contain this fix, so if you for example installed the latest numpy and swig from conda-forge, you will end up with swig 4.3.0 and numpy 2.1.2, but https://github.com/numpy/numpy/blob/v2.1.2/tools/swig/numpy.i does not contain the changes, that indeed are in numpy/numpy#27579 .

Mmh it makes sense. I guess that there's no real workaround. Vendoring numpy.i and maintaining it aligned is and will remain a responsibility of downstream projects.


implement pro matches views

fixes #514

Adds a top-level navbar element called "Matches"
Lists last 100 pro matches
renamed some reducer exports for consistency

I was also thinking that we could add some sort of 'latest pro matches' feed to the homepage. One thing that I think we are lacking in right now is the only way to get to content (unless you are signed in) is to search players. It doesn't need to be right now, but I think it might be a cool thing to add in at some point in the future.


build后，修改nuxt.config.js axios配置中browserBaseURL后，重新start，此配置不启作用

Versions

nuxt: v2.14.7
node: v14.10.1

Reproduction

Additional Details

Steps to reproduce
What is Expected?
What is actually happening?

请去nuxt axios库提问。
Please ask in the nuxt-axios repo.


Consider attaching a .sha256.txt file to build results

For security purposes as, e.g., Erlang/OTP already does...

@wojtekmach, does this make sense to you? I remember seeing somewhere there was a "goal" about having a similar file, but I don't know if it's still required or was just a thought.
@starbelly, thoughts?

checksums are committed to builds/macos-{arch}.txt file using the second workflow, update_builds_txt.yaml.
I am not sure if we need another another file with checksums.

Yeah, maybe there isn't a security verification required, here.
When I discussed this previously with @starbelly we decided to split the SHA (separate file from...) and the CRC (in .txt), but  I can't remember the reasoning. (I believe we also discussed that if a malicious actor could intercept part of the traffic they could potentially intercept all the traffic - what's the builds.txt file different from the .sha256.txt file, really?).
I'll close, for now, but Bryan can still pitch in if he thinks something important's missing.


Add ZHA sensor tests

updates common test objects and adds tests for sensors

Yeah, maybe write a bit longer docstrings for the set up functions, and explain what is needed before executing the tests.

Want that in a separate PR or in this one?

You decide :+1:.

@MartinHjelmare I added a bunch of comments. LMK if they help at all.

The docstrings definitely help.


feature/#211 - click on food parameter in home page goes to specific dialog

Impacted files:

home_page.dart: click on food parameter in home page goes to specific dialog
product_preferences.dart: added helper method getAttributeGroup

Thank you @M123-dev for your comment!
Now if we go even further, the preferences could be much easier to read and modify - what do you think of that?

Other suggestion, with the same SmoothChips as in the home page.
More data is visible and easy to change.

@monsieurtanuki, its a good idea to mark the "cards" in the corresponding color but I am not a fan of opening a dialog from the preferences sheet. This kind of interrupts the navigation a bit.

Thank you @M123-dev for your comment!
I believe the main issue with the current food preferences is that it takes tons of space: many screen heights just for allergens. Plus the possible collapsed effect, where we cannot find/see the values.
And the idea of using sliders to change values is not perfect either: several times I accidentally changed a value while scrolling the screen.
I understand your point about interrupting the navigation, but the main issue is to find the attribute, which is currently a pain in the neck. And I don't see how we could display many data (attributes) while giving access to data modification without cluttering the screen (and taking to much space).
With my latest attempt (the one with SmoothChips):

everything is compact and easy to understand
you're only one click away from changing the value and getting more details (like the description of the attribute)
there's consistency with the home screen that also uses SmoothChips with the same click action and the same colors


Script does not work

Hey,
Your script does not work for me :( I installed it using:
setup.py install

and then I tried to execute the following command:
py -m bibtextomd -b refs.bib -o tst.html

where refs.bib is bib file from test folder in this repository. After executing the above command I got the following output:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\site-packages\bibtexparser\bibdatabase.py", line 102, in expand_string
    self.strings[name])
KeyError: 'aug'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Program Files\Python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "c:\users\tomasz\desktop\bibtextomd-master\bibtextomd\__main__.py", line 13, in <module>
    main()
  File "c:\users\tomasz\desktop\bibtextomd-master\bibtextomd\__main__.py", line 10, in main
    bib_main(args)
  File "c:\users\tomasz\desktop\bibtextomd-master\bibtextomd\bib.py", line 363, in main
    sort_dict = load_bibtex(bib_file_name)
  File "c:\users\tomasz\desktop\bibtextomd-master\bibtextomd\bib.py", line 303, in load_bibtex
    bp = BibTexParser(bib_file.read(), customization=convert_to_unicode)
  File "C:\Program Files\Python37\lib\site-packages\bibtexparser\bparser.py", line 75, in __new__
    return parse(data, **args)
  File "C:\Program Files\Python37\lib\site-packages\bibtexparser\bparser.py", line 31, in parse
    return parser.parse(data)
  File "C:\Program Files\Python37\lib\site-packages\bibtexparser\bparser.py", line 147, in parse
    self._expr.parseFile(bibtex_file_obj)
  File "C:\Program Files\Python37\lib\site-packages\bibtexparser\bibtexexpression.py", line 263, in parseFile
    return self.main_expression.parseFile(file_obj, parseAll=True)
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 2207, in parseFile
    return self.parseString(file_contents, parseAll)
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 1666, in parseString
    loc, tokens = self._parse( instring, 0 )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 1412, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 4094, in parseImpl
    return super(ZeroOrMore, self).parseImpl(instring, loc, doActions)
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 4023, in parseImpl
    loc, tokens = self_expr_parse( instring, loc, doActions, callPreParse=False )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 1412, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 3618, in parseImpl
    ret = e._parse( instring, loc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 1412, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 3483, in parseImpl
    loc, exprtokens = e._parse( instring, loc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 1412, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 3618, in parseImpl
    ret = e._parse( instring, loc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 1412, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 3483, in parseImpl
    loc, exprtokens = e._parse( instring, loc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 1412, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 3483, in parseImpl
    loc, exprtokens = e._parse( instring, loc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 1412, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 4094, in parseImpl
    return super(ZeroOrMore, self).parseImpl(instring, loc, doActions)
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 4033, in parseImpl
    loc, tmptokens = self_expr_parse( instring, preloc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 1412, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 3483, in parseImpl
    loc, exprtokens = e._parse( instring, loc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 1412, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 3805, in parseImpl
    return self.expr._parse( instring, loc, doActions, callPreParse=False )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 1412, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 3483, in parseImpl
    loc, exprtokens = e._parse( instring, loc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 1412, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 3618, in parseImpl
    ret = e._parse( instring, loc, doActions )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 1445, in _parseNoCache
    tokens = fn( instring, tokensStart, retTokens )
  File "C:\Program Files\Python37\lib\site-packages\pyparsing.py", line 1082, in wrapper
    ret = func(*args[limit[0]:])
  File "C:\Program Files\Python37\lib\site-packages\bibtexparser\bibtexexpression.py", line 260, in _string_expr_parse_action
    return self._string_expr_parse_action_fun(s, l, t)
  File "C:\Program Files\Python37\lib\site-packages\bibtexparser\bparser.py", line 184, in <lambda>
    BibDataStringExpression.expression_if_needed(t)))
  File "C:\Program Files\Python37\lib\site-packages\bibtexparser\bparser.py", line 178, in <lambda>
    maybe_interpolate = lambda expr: as_text(expr)
  File "C:\Program Files\Python37\lib\site-packages\bibtexparser\bibdatabase.py", line 223, in as_text
    return text_string_or_expression.get_value()
  File "C:\Program Files\Python37\lib\site-packages\bibtexparser\bibdatabase.py", line 184, in get_value
    return ''.join([BibDataString.expand_string(s) for s in self.expr])
  File "C:\Program Files\Python37\lib\site-packages\bibtexparser\bibdatabase.py", line 184, in <listcomp>    return ''.join([BibDataString.expand_string(s) for s in self.expr])
  File "C:\Program Files\Python37\lib\site-packages\bibtexparser\bibdatabase.py", line 150, in expand_string
    return string_or_bibdatastring.get_value()
  File "C:\Program Files\Python37\lib\site-packages\bibtexparser\bibdatabase.py", line 131, in get_value
    return self._bibdatabase.expand_string(self.name)
  File "C:\Program Files\Python37\lib\site-packages\bibtexparser\bibdatabase.py", line 104, in expand_string
    raise(UndefinedString(name))
bibtexparser.bibdatabase.UndefinedString: 'aug'

Do you know what might be wrong? Do I do something wrong?
I am using Windows 10 and Python 3.7.

Most likely the problem is a newer version of bibtexparser since I released this. Try pip install bibtexparser==0.6.2.

I'm going to reopen this so that I remember to either fix this or properly constrain the dependency version in setup.py


ClassNotFoundException: org.apache.spark.shuffle.rdma.RdmaShuffleManager

the spark-defaults.conf of both workers and master are
spark.shuffle.manager org.apache.spark.shuffle.rdma.RdmaShuffleManager
spark.driver.extraClassPath /home/rui/data/spark-rdma-3.1-for-spark-2.4.0-jar-with-dependencies.jar
spark.executor.extraClassPath /home/rui/data/spark-rdma-3.1-for-spark-2.4.0-jar-with-dependencies.jar

and I have placed libdisni.so in /usr/lib.
When I run TeraGen build from spark-terasort,I can run it with --master spark://master:7077 --deploy-mode client,which whole command is
spark-submit  --master spark://master:7077 --deploy-mode client --class com.github.ehiggs.spark.terasort.TeraGen  /home/rui/software/spark-2.4.0-bin-hadoop2.7/spark-terasort/target/spark-terasort-1.1-SNAPSHOT-jar-with-dependencies.jar  1g hdfs://master:9000/data/terasort_in1g

but failed with ClassNotFoundException while using --master spark://master:7077 --deploy-mode cluster,which whole command is
spark-submit  --master spark://master:7077 --deploy-mode cluster --class com.github.ehiggs.spark.terasort.TeraGen  /home/rui/software/spark-2.4.0-bin-hadoop2.7/spark-terasort/target/spark-terasort-1.1-SNAPSHOT-jar-with-dependencies.jar  1g hdfs://master:9000/data/terasort_in1g

the error info is
Launch Command: "/home/rui/software/jdk1.8.0_212/bin/java" "-cp" "/home/rui/software/spark-2.4.0-bin-hadoop2.7/conf/:/home/rui/software/spark-2.4.0-bin-hadoop2.7/jars/*" "-Xmx1024M" "-Dspark.executor.extraClassPath=/home/rui/data/spark-rdma-3.1-for-spark-2.4.0-jar-with-dependencies.jar" "-Dspark.driver.supervise=false" "-Dspark.submit.deployMode=cluster" "-Dspark.master=spark://master:7077" "-Dspark.driver.extraClassPath=/home/rui/data/spark-rdma-3.1-for-spark-2.4.0-jar-with-dependencies.jar" "-Dspark.jars=file:/home/rui/software/spark-2.4.0-bin-hadoop2.7/spark-terasort/target/spark-terasort-1.1-SNAPSHOT-jar-with-dependencies.jar" "-Dspark.rpc.askTimeout=10s" "-Dspark.app.name=com.github.ehiggs.spark.terasort.TeraGen" "-Dspark.shuffle.manager=org.apache.spark.shuffle.rdma.RdmaShuffleManager" "org.apache.spark.deploy.worker.DriverWrapper" "spark://Worker@<IP_ADDRESS>:43489" "/home/rui/software/spark-2.4.0-bin-hadoop2.7/work/driver-20190930101138-0006/spark-terasort-1.1-SNAPSHOT-jar-with-dependencies.jar" "com.github.ehiggs.spark.terasort.TeraGen" "5g" "hdfs://master:9000/data/terasort_in5g2"
========================================

Exception in thread "main" java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.spark.deploy.worker.DriverWrapper$.main(DriverWrapper.scala:65)
	at org.apache.spark.deploy.worker.DriverWrapper.main(DriverWrapper.scala)
Caused by: java.lang.ClassNotFoundException: org.apache.spark.shuffle.rdma.RdmaShuffleManager
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:348)
	at org.apache.spark.util.Utils$.classForName(Utils.scala:238)
	at org.apache.spark.SparkEnv$.instantiateClass$1(SparkEnv.scala:259)
	at org.apache.spark.SparkEnv$.create(SparkEnv.scala:323)
	at org.apache.spark.SparkEnv$.createDriverEnv(SparkEnv.scala:175)
	at org.apache.spark.SparkContext.createSparkEnv(SparkContext.scala:257)
	at org.apache.spark.SparkContext.<init>(SparkContext.scala:424)
	at com.github.ehiggs.spark.terasort.TeraGen$.main(TeraGen.scala:48)
	at com.github.ehiggs.spark.terasort.TeraGen.main(TeraGen.scala)
	... 6 more

How should I fix it?
What's more, in client deployment , when I generate 50GB data using teragen and use raw spark with no spark-defaults.conf, the transfer speed  between master and slave is about 270MB/s. However,when I change my spark-defaults.conf and replace spark.shuffle.manager to org.apache.spark.shuffle.rdma.RdmaShuffleManager, the speed is also 270MB/s.
Is this because I used hdfs storage but it has nothing to do with spark shuffle?
Can you recommed a workload for me to significantly improve completion time when using spark rdma?
Thanks a lot !

Hi, thanks for using SparkRDMA.

Make sure /home/rui/data/spark-rdma-3.1-for-spark-2.4.0-jar-with-dependencies.jar is accessible from both master and executor. You can run something like: ./spark/sbin/slaves.sh ls -al  /home/rui/data/spark-rdma-3.1-for-spark-2.4.0-jar-with-dependencies.jar

Can you please describe your cluster (how many nodes, how much CPU do you have, what the NIC you are using) ?

Thanks,
Peter

Hi, thanks for using SparkRDMA.

Make sure /home/rui/data/spark-rdma-3.1-for-spark-2.4.0-jar-with-dependencies.jar is accessible from both master and executor. You can run something like: ./spark/sbin/slaves.sh ls -al  /home/rui/data/spark-rdma-3.1-for-spark-2.4.0-jar-with-dependencies.jar
Can you please describe your cluster (how many nodes, how much CPU do you have, what the NIC you are using) ?

Thanks,
Peter

Thanks for replying to my question.

Yes, I sure.The result is

[rui@rdma-server-204 spark-2.4.0-bin-hadoop2.7]$ sbin/slaves.sh ls -al /home/rui/data/spark-rdma-3.1-for-spark-2.4.0-jar-with-dependencies.jar
master: -rwxr-xr-x 1 rui rui 478528 Nov 29  2018 /home/rui/data/spark-rdma-3.1-for-spark-2.4.0-jar-with-dependencies.jar
slave1: -rwxr-xr-x 1 rui rui 478528 Nov 29  2018 /home/rui/data/spark-rdma-3.1-for-spark-2.4.0-jar-with-dependencies.jar

There are two servers in my cluster. A server is both a master and a worker, and other one is a worker in the cluster. Master has 2*24 cores, worker has 2*12 cores. The detail information is

My Master node nic is

[rui@rdma-server-204 spark-2.4.0-bin-hadoop2.7]$ lspci | grep Mell
09:00.0 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX-5 Ex]
09:00.1 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX-5 Ex]

My worker node nic is
[rui@supervisor-1 ~]$ lspci | grep Mell
05:00.0 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5]
05:00.1 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX-5]
06:00.0 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX-5 Ex]
06:00.1 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX-5 Ex]

So, --deploy-mode cluster is for yarn deployment mode only. You are using standalone mode. So this parameter is not needed. Also, 2 nodes could be quite small to get the full benefit of RDMA. You could try first to run whether disni RdmaVsTCPBenchmark or UCX bandwith benchmark
BTW we're in progress of releasing Spark over UCX. It'll have all the functionality of SparkRDMA + better performance + support other transports (cuda, shared memory) and protocols. Keep in touch: https://github.com/openucx/sparkucx/

So, --deploy-mode cluster is for yarn deployment mode only. You are using standalone mode. So this parameter is not needed. Also, 2 nodes could be quite small to get the full benefit of RDMA. You could try first to run whether disni RdmaVsTCPBenchmark or UCX bandwith benchmark
BTW we're in progress of releasing Spark over UCX. It'll have all the functionality of SparkRDMA + better performance + support other transports (cuda, shared memory) and protocols. Keep in touch: https://github.com/openucx/sparkucx/

Oh，thank you very much.


Improve handling of long bot owner names in bot management modal

At present, we don't handle long bot owner names well in the bot management modal:

We should restrict the owner name field length so that it fits in the modal (on one line), abbreviating the name if necessary.

@zulipbot claim

Hey, @Rixant are you working on this issue?

@yogesh-sirsat , I was planning to. You can take it.

@zulipbot claim

@zulipbot claim

I am still actively working!

I have made a pull request titled "Issue 23266 - Improve handling of long bot owner names in bot management modal #23551". Are there other steps I should take to have this pull request merged?

@zulipbot claim

@zulipbot claim

Unassigning myself from this Issue to work on other Issues, since I have already raised a PR and it is under review, will continue working on the PR for any required changes, Thanks.


Save game doesn't load after updating from v1.4.0 to v1.5.0 or v1.6.0

After updating to v1.5.0 or v1.6.0 from v1.4.0 save game loads to 59% then quits to menu. Reverting to v1.4.0 allows me to play normally.
Logs: https://drive.google.com/file/d/1cdd4W6BMqKjnc0zrxW6NxcPlm4F4V7oP/view?usp=sharing

The log says TTT can't load armor training. It's probably due to my changing load order with TTT in 1.5.0
Do you use lore warden or warlord? If so, retraining the character in 1.4.0 into other classes might solve this

No, I do not use lore warden nor warlord. Regill is a fighter so I retrained him into other class but it still doesn't load. I have no mercs nor other fighter companions. https://drive.google.com/open?id=1--e4RtNO3b0ECL6dUum2W1cpEwovlgKh&usp=drive_fs

hmm, no idea then
there're 2 exceptions, one belongs to fire bird mod, the other says Failed to load blueprint by guid 0cfa35b0e58244e1926e5673e065392a
but I don't have any feature by that guid either
Try asking in the discord server (with the mew file)? lol other devs might know what happened here

I suspect changing load orders leads to unpredictable mod compatibility issues (especially old mods) so your mod list is also relevent

I have an idea. We can look at v1.4.0's logs and compare, the errors that appear in both are not relevent

v1.6.1 just reversed mod order changes made in v1.5.0, let's see what this does!


Arguments to test runner

[ ] --no-run should actually not run tests, and only forward this flag to cargo once
[ ] --target= should override our wasm32 default
[ ] -- <args> should forward args to test runner in browser
[ ] test runner output should be colored
[ ] print a . every 5 minutes so travis doesn't sleep?

This also affects builds on nightly(I think the issue is not specific to the test runner but more with passing flags):
wargo build -> cargo build --target=wasm32-unknown-emscripten
wargo +nightly build -> cargo +nightly build
Workaround: rustup override set nightly -> wargo build
rust-brotli compiles nicely. Thanks!
Time to play with some in-browser client-side Brotli decompression :smile:

Thanks for the catch! 😄 Glad it's working for you with the workaround, I'll try to get in a fix soon.

I found just now and seems that this project and stdweb's cargo-web try to reach about the same goals(just as a side note): https://github.com/koute/cargo-web
It does not seem to support wasm at the moment.


Request for hotfix : securityfiltering

I am requesting a hotfix for following issue :
In codeunit 12 "Gen. Jnl.-Post Line" our customer is having an issue when posting purchase invoice.
He's getting following error (translated from dutch) :
"There is a security filtering executed on Detailed Vendor Ledger Entry.  Records which are outside this filter,...
==> before the findlast the following code must be added : DtldCVLedgEntryBuf.SecurityFiltering := DtldCVLedgEntryBuf.securityfiltering::ignored;
codeunit 12 "Gen. Jnl.-Post Line"
procedure PostDtldVendLedgEntries(GenJnlLine: Record "Gen. Journal Line"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; VendPostingGr: Record "Vendor Posting Group"; LedgEntryInserted: Boolean) DtldLedgEntryInserted: Boolean
var
TempDimPostingBuffer: Record "Dimension Posting Buffer" temporary;
DtldVendLedgEntry: Record "Detailed Vendor Ledg. Entry";
AdjAmount: array[4] of Decimal;
DtldVendLedgEntryNoOffset: Integer;
SaveEntryNo: Integer;
IsHandled: Boolean;
begin
if GenJnlLine."Account Type" <> GenJnlLine."Account Type"::Vendor then
exit;
    if DtldVendLedgEntry.FindLast() then
        DtldVendLedgEntryNoOffset := DtldVendLedgEntry."Entry No."
    else
        DtldVendLedgEntryNoOffset := 0;

You are right, but hotfix should be requested using technical support, if you want to get it soon. We are not processing bug requests here and have no SLA for fixing such issues


Add non-chromium engine

We need to start working with less CPU\Memory consuming engines, like this one that utilizes only websockets

Added NOWEB engine - https://waha.devlike.pro/docs/how-to/engines/


setup has no effect

Description
I tried to update my config with:
require('telescope').setup{
  defaults = {
    file_ignore_patterns = { ".*.git/.*" },
    mappings = {
      i = {
        ["<C-j>"] = actions.move_selection_next,
        ["<C-k>"] = actions.move_selection_previous,
        ["<C-n>"] = actions.cycle_history_next,
        ["<C-p>"] = actions.cycle_history_prev,
      },
      n = {
        ["<C-j>"] = actions.move_selection_next,
        ["<C-k>"] = actions.move_selection_previous,
      }
    }
  },
  pickers = {
    find_files = {
      hidden = true
    },
    buffers = { path_display = { "tail" }, }
  } ,
  extensions = {
    file_browser = {
      theme = "ivy",
      mappings = {
        ["i"] = {
          ["<C-a>"] = fb_actions.create
        },
        ["n"] = {
          -- your custom normal mode mappings
        },
      },
    },
  },
}

But has 0 effects.
My config
https://github.com/otavioschwanck/nvim-on-rails
Telescope:
https://github.com/otavioschwanck/nvim-on-rails/blob/main/modules/telescope.vim
Neovim version
nvr 2.4.0
pynvim 0.4.3
psutil 5.8.0
Python 3.9.9 (main, Jan 19 2022, 10:45:05)

Operating system and version
MacOS Latest version
Steps to reproduce
Just press SPC ., nothing is changed
Expected behavior
C-a create a new file
Actual behavior
C-a paste his content
Minimal config
vim.cmd [[set runtimepath=$VIMRUNTIME]]
vim.cmd [[set packpath=/tmp/nvim/site]]
local package_root = '/tmp/nvim/site/pack'
local install_path = package_root .. '/packer/start/packer.nvim'
local function load_plugins()
  require('packer').startup {
    {
      'wbthomason/packer.nvim',
      {
        'nvim-telescope/telescope.nvim',
        requires = {
          'nvim-lua/plenary.nvim',
          'nvim-telescope/telescope-file-browser.nvim',
        },
      },
      -- ADD PLUGINS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
    },
    config = {
      package_root = package_root,
      compile_path = install_path .. '/plugin/packer_compiled.lua',
      display = { non_interactive = true },
    },
  }
end
_G.load_config = function()
  require('telescope').setup()
  require('telescope').load_extension('file_browser')
  -- ADD INIT.LUA SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
end
if vim.fn.isdirectory(install_path) == 0 then
  print("Installing Telescope and dependencies.")
  vim.fn.system { 'git', 'clone', '--depth=1', 'https://github.com/wbthomason/packer.nvim', install_path }
end
load_plugins()
require('packer').sync()
vim.cmd [[autocmd User PackerComplete ++once echo "Ready!" | lua load_config()]]

https://github.com/otavioschwanck/nvim-on-rails/blob/d3f55373340c029440e96b1118c8a4d5a33396b8/modules/telescope.vim#L52-L56
Please add require "telescope".load_extensioon "file_browser" below here. I've tried it with and without and as I was thinking, remappings don't work if you don't load the extension as configuration is not fully applied.

My bad, worked, thanks!


route helper acting weird since latest update

I just did a composer update and got the latest dev-master changes and I noticed a change in behavior.
In my scaffold view... the edit and show buttons that used to work properly are now sending me to the api route instead.
What I mean, let's say I have a model "State". By going to /states you see the scaffolding of all my states with the show, edit and destroy buttons.
Those buttons use route('states.show', [$data->id]) and route('states.edit', [$data->id]) to generate the route url.
Prior to composer update this would link to /states/1 and /states/1/edit, but after the update it now links to /api/v1/states/1 and /api/v1/states/1/edit
Which obviously doesn't work... Is this a bug you introduced or is there something I am missing?
The delete button also suffers from the same issue.

Can you post your generated files with config/infyom/laravel_generator.php and routes.php and api_routes.php ?

Tested everything and working fine.


add flush() and finish() methods to the Writer interface

Will require adding some concept of an IO wrapper/stream that will apply to the web or node. Probably part of a larger async IO refactoring.

Related to #396


Fix for property override for num_qubits() method

Fixes issue #4185.
NOTE: Breaks changes.

Thanks @paniash -
Feedback:

The PR description: "NOTE: Breaks changes." doesn't explain much, and typically it is the changes that break functionality in existing user code (not the other way around). Can you think of a better way to explain which users might be affected, what they should do to upgrade their code to the new version?

We almost never accept code changes without adding tests. Please add unit tests as needed and ensure that check/pytest succeeds (check/pytest-changed-files is a faster version that only checks changed files).

friendly ping @paniash - can you please fix the comments above? Thanks!

@balopat Sorry about the delay. I'm currently busy with my finals. I'd love to work on this but if it's urgent, please feel free to work on this issue and close my PR.

@balopat Sorry about the delay. I'm currently busy with my finals. I'd love to work on this but if it's urgent, please feel free to work on this issue and close my PR.

Good luck with your finals! There is zero urgency around this, you can pick it up after your finals.

Hi @paniash Thanks for working on this. I grabbed this and completed the test so that we have this fix in for the next release.  Sorry to have jumped the line but definitely finals are more important :)

Fixed in #4652


Add assignment property to DenyPolicyAssignmentResponseType

The DenyPolicyAssignmentResponseType communicates back to the user one of the three possible variants of DenyPolicyAssignmentType together with a unique id assigned by the server. The specification says to destructure the fields of the DenyPolicyAssignmentType into the response. In other words, those fields which are found in the subclasses of DenyPolicyAssignmentType must be placed directly into the DenyPolicyAssignmentResponseType instance.
This approach will work for dynamically typed languages but it definitely does not work for the statically typed ones. In a statically typed language, the compiler needs to know the fields of DenyPolicyAssignmentResponseType at compile time, i.e. those fields must be specified. If those fields are not specified, then the specification in its current form cannot be used for code generation.
Adding an assignment property makes automated code generation possible.

Change was rejected after review (currently not necessary)


[e2e]: generic workflow_dispatch main tagname slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3678903786
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.workflow_dispatch.main.tagname.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.workflow_dispatch.main.tagname.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Mon Dec 12 19:06:12 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3679012335
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.workflow_dispatch.main.tagname.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.workflow_dispatch.main.tagname.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Mon Dec 12 19:21:16 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3679080517
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.workflow_dispatch.main.tagname.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.workflow_dispatch.main.tagname.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Mon Dec 12 19:30:49 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3679186753
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.workflow_dispatch.main.tagname.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.workflow_dispatch.main.tagname.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Mon Dec 12 19:46:53 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/3679254000
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.workflow_dispatch.main.tagname.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.workflow_dispatch.main.tagname.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Mon Dec 12 19:56:39 UTC 2022