Panic caused by runtime.gopark

Go version: 1.19.4
Reproduces with latest: Yes
PC info: Windows / amd64
Problem: I have a program that utilizes the net/http package to make thousands of network requests. This program is intended to be run for long periods of time and somewhere between 5 - 20 hours of running, it will eventually hit an odd panic regarding the runtime.gopark function. Here's what I am doing:
var client http.Client
var wg[] sync.WaitGroup

func main() {
    for i: = 0; i < 1000; i++ {
        wg = append(wg, sync.WaitGroup {})
        go loopPremium(i)
    }
}

func loopPremium(index int) {
    for {
        randomUri: = globals.ProductLists[0].Premium[rand.Intn(len(globals.ProductLists[0].Premium))]
        scrape(index, randomUri)
    }
}

func scrape(index int, uri string) {
    response: = make(chan http.Response, 10)
    for i: = 0; i < 10; i++{
        wg[index].Add(1)
        go multiRequest(response, index, uri)
    }
    wg[index].Wait()
    close(response)

    var passedRes http.Response
    for res: = range response {
        if res.StatusCode == 200 {
            passedRes = res
            break
        } else if res.Body != nil {
            res.Body.Close()
        }
    }

    if passedRes.StatusCode != 200 {
        // No successful response, return
        return
    }

    // Continue with rest of code
}

func multiRequest(c chan http.Response, index int, uri string) {
    defer wg[index].Done()

    req, _: = http.NewRequest("GET", uri, nil)
    resp, _: = client.Do(req)

    // If we lose connection, response will be nil. If this is the case, return an empty response instead
    if resp != nil {
        c < - * resp
    } else {
        c < -http.Response { }
    }
}

Explanation: The idea here is that I have a website that may or may not give me a response. What I want is to create an array of 1,000 worker groups and each one will call the scrape function that will pick a random URL and send it 10 requests back to back. If any of them finish successfully, continue with the code. Otherwise return. This is working as intended, however I am getting this call stack reported back to me as well as a crash after a few hours of running.
I am unable to tell if this is a bug or if I simply have a bad implementation. I realize that this is kind of a crazy amount of network requests, but it does work for hours on end, so in theory I should be able to do this. The reason I'm posting it as a possible bug is because I've already got feedback from other gophers and they don't see why this would be happening either. The panic is occurring in the Go runtime, so I think it's reasonable to think it might possibly be a bug. I suspect the go scheduler or http.client is not managing its resources properly? Does anybody have any ideas what could be going on here and how I can prevent these crashes? Thanks

i don't see anything pointing to the runtime, importantly, the top of the output appears to be cut off. is it possible to get the complete output?

Of course, here is another screenshot I managed to get the other day. Perhaps I'm misinterpreting it, but the call stack mentions runtme.gopark a lot, so I assumed it had something to do with that.

That just means a goroutine is parked, waiting for an event (in your case, channel communication). It doesn't mean it's the cause of the crash.

I see. I'm sorry but this problem has me quite lost and I've spent a long time trying to identify it. Is there anything you can see that I should be investigating?

no, the important part is the beginning, which will tell you what sort of issue you're dealing with, but you've left that out.
closing as this doesn't appear to be in issue with go itself.
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions

there's a header you've left out that comes before the stack traces.
Though the last goroutine dumps points to the program running out of memory.

Ah I see. Sorry, the screenshots are hard to get since the error doesn't happen very often. But, I discovered something just now and it seems you're right. Looking through the call stack, I noticed this line here:

After looking at the file and line number, this is what it says:

I find it interesting though that I couldn't find the text "out of memory" mentioned anywhere in the console log, not sure why that might be, but either way it seems I have a memory leak. That should be enough for me to work with, thank you very much for your time. Have a great day.


Make search work in all browsers

Sometimes e.key can be undefined, which results in a currentValue containing the string undefined. For jQuery events e.which should always be set and can be converted using String.fromCharCode.

@patrick-rodgers Any chance to get this merged?


[OneExplorer] Hide from command palette

This commit hides unnecessary commands in command palette
Related issue #839
ONE-vscode-DCO-1.0-Signed-off-by: dayo09<EMAIL_ADDRESS>

Why does @dayo09 add this code?

https://github.com/Samsung/ONE-vscode/issues/839#issuecomment-1166783562

/cc @Samsung/one-vscode


Inquiry on the dataset

Hi Tobias,
Thanks for your fantastic work! Recently I want to use the dataset to run some experiments on depth completion. Thus I need sparse lidar depth, corresponding image, and annotated depth map. I downloaded the dataset and the folder "rgb_left_8bit" I believe contains the color images, but may I check which folder contains the corresponding sparse lidar readings and dense depth map?
Thanks and best Regards

The section Sensor Setup in the README.md of this repository contains all information about how to load the sparse lidar depth, corresponding image and annotated depth map.

Thanks for your prompt reply.
my confusion comes from that both the rgb and sparse lidar have 10 frames for each scene and each weather, may I know whether all of these correspond with the same scene1 for groundtruth? So that for each scene there is only 1 ground truth.
Thanks for your kind answer!

There are 10 frames for each scene for the measuring sensors (camera and lidar) in order to include multiple measurements of the same scene. However, the ground truth for a single scene was only acquired once because this measurement was very cumbersome and cannot be done in real-time. I hope I could help you!


Screen size nil for iPad 7th Gen

using:
let screenSize: Double = UIDevice.current.dc.screenSize.sizeInches
on the iPad 7th gen is returning nil instead of the expected 10.2

#50 should fix the issue, tested using iPad 7th gen simulator.


Lategame Store/LGU is not recognized.

LogOutput.log
(Code to ModPack; 019385e7-c2f6-8d45-a7b5-92a0e504412a) ----Still doing some tweaks with what mods to enable/disable and also add to this ongoing modpack, so it may vary by the time you answer.
So I've been making a modpack for my friends and I, LGU seemed really intriguing since we would constantly have a bunch of money with nothing to spend it on. The issue lies in the modpack for sure, as when I download LGU in R2ModMan by itself and all of the dependencies it works fine. Though when I enable it on this modpack and try to play when I go into the terminal and type Lategame or Lategame store/LGU, literally any of the LGU commands it says "There was no action supplied with the word.". Though Lategame (the command not the store) still appears. It should prove that the issue lies within a different mod in the modpack just stopping it from working? I cannot tell which mod is doing this. Any help would be greatly appreciated, thank you!

There have been reports that CustomTranslatorCharLimit does not work well with LGU, rendering the shop access command unusuable. It's very likely you will have to remove it if you wish to access the shop.

Thank you for the recommendation! Though it hasn't solved the issue, is there any other mods you can think of that would cause this?
I might have to do some long testing of adding the mods a few at a time to see what causes it. I'm happy to get rid of any other mods that you think can cause it while I go through

From my research after installing every mod from my modpack into the one where LGU was actually working. It seems you have to install LGU or anything related with it FIRST, then you can install other mods on top of it. As I never got the issue while doing this except for once which was because I added the mod you told me to remove for no reason, I don't know why I added it again.
The solution was simply remaking the entire modpack but having LGU installed first. Not sure why it works like that, but it all works now!

I just saw that AdvancedTerminalAPI stopped some executions of the terminal's code, one of which is patched by InteractiveTerminalAPI to check if any application is associated to the given input. It could explain why you couldn't bring up the store before as the relevant code was never executed.
But if you managed to find a solution to your problem, glad it worked out! I will be closing this then.


[v0.22.0] Backport PR 563

Backporting knative-sandbox#563. And knative-sandbox#476 as it was required, too.
Original backport was done to 0.21 release in #215
It uses afd67ca to restore manually changed vendor files.

/retest
Infra

/lgtm


Investigate existing formal grammar parsers and how then can be use for a meta language

This task is a about the Shogun example meta language GSoC project.
http://shogun-toolbox.org/page/Events/gsoc2014_ideas#meta_language
After #1882 is done, we want to parse the created grammar. That means we want to give a program in the meta language to the parser and it first checks whether the program is syntactically correct (checking whether it can be expressed in our grammar) and then represent it internally in some easy way (say xml) to translate it to the target modular source code.
The is a very vague entrance task as we are not totally sure how this will end up, but interesting.

Solved by @sorig last year


Add action dropdown to fs and fs detail pages.

Signed-off-by: Joe Grund<EMAIL_ADDRESS>

This change is

iml-gui/crate/src/lib.rs, line 547 at r1 (raw file):

We performing two consecutive clicks on one page and then immediately on another page. This looks strange.

Can you post a gif of what you're seeing?

iml-gui/crate/src/lib.rs, line 547 at r1 (raw file):
Previously, nlinker (Nick Linker) wrote…
Sorry, I've got troubles with vagrant, I am to rebuild it from clean state.
Anyways, if you are sure that the scenario is right, then I'm ok too.

These messages proxy to the corresponding page message. Since only one page can be loaded at a time, all the other messages will effectively be a noop (and they all may be noops if none of these pages are currently active).

iml-gui/crate/src/lib.rs, line 698 at r1 (raw file):
Previously, nlinker (Nick Linker) wrote…

            model,
            page::filesystems::view(&model.records, page, &model.locks)
                .els()
                .map_msg(Msg::FilesystemsPage),
        )
        .els(),

The same could be moved into page::filesystems::view using a function parameter, like you did for modals:
pub fn content_view<T>(p_msg: fn(Msg) -> T, children: impl View<T>) -> Node<T> {...}

It seems, that using the function as the parameter the pattern matching case could be written then as
Page::Filesystems(page) => main_panels(model, page::filesystems::view(Msg::FilesystemsPage, page, &model.records, &model.locks).els(),
// or
Page::Filesystems(page) => main_panels(model, page::filesystems::view(Msg::FilesystemsPage, page, model).els(),

(although in the second variant it could be unwanted dependency on the parent model)
Have I forgotten something?

Yes, It could be done that way, however, the map_msg call is preferred because it doesn't "leak" knowledge of the parent msg into the child component.
I passed the parent message into the modal because in that case we need to leak the parent msg as we don't know all possible variants of things people will want to do inside a modal.


Timeseries, machine learning links

Added some articles on time-series (shamelessly, some are mine :) ), some machine learning links, a video and some more major users (CERN + NASA)

Thank you @polyfractal . You are awesome!


HHH-13846 Fix TemplateRenderer's param index parsing bug

https://hibernate.atlassian.net/browse/HHH-13846
Initially I thought this was an easy fix, but ...

@NathanQingyangXu but does this really completely fix the problem? With this change don't you get a mismatch between the length of chunkList and the length of the paramList?

TBH, I'm not even sure I think this is a bug. If there's a strong need to allow literal ? in patterns, I would introduce a well-defined syntax for it (?? perhaps) but really I would say the main problem here is just the exception:
java.lang.NumberFormatException: For input string: ""

If we caught that and produced a better message, I think we would be good...

@NathanQingyangXu but does this really completely fix the problem? With this change don't you get a mismatch between the length of chunkList and the length of the paramList?

Good catch! Yeah, it is much more complicated than I've thought initially. If '?' doesn't follow digit, it should be included in some chunk. I updated the code to make that happen, but I feel it is becoming more and more complicated...

TBH, I'm not even sure I think this is a bug. If there's a strong need to allow literal ? in patterns, I would introduce a well-defined syntax for it (?? perhaps) but really I would say the main problem here is just the exception:
java.lang.NumberFormatException: For input string: ""

If we caught that and produced a better message, I think we would be good...

Good point! Yeah, this seems a really edgy case and it seems not worthwhile to fix it ending up with making the code complicated (there is no foolproof solution following the existing direction).
I enriched the testing case but I am afraid it might not be worthwhile. @sebersole , what do you think?

TBH, I'm not even sure I think this is a bug. If there's a strong need to allow literal ? in patterns, I would introduce a well-defined syntax for it (?? perhaps) but really I would say the main problem here is just the exception:
java.lang.NumberFormatException: For input string: ""

If we caught that and produced a better message, I think we would be good...

Yeah, I have to admit you have a good point. I found I am stuck somewhere. @sebersole is providing more meaningful exception in constructor is acceptable here?

This bugfix is more complicated than I originally thought. For that reason, I decided to close the PR and create a new one when I am ready. Thanks for excellent comments from @gavinking

@NathanQingyangXu ,  I think this can solve:
public TemplateRenderer(String template) {
    this.template = template;

    final List<String> chunkList = new ArrayList<String>();
    final List<Integer> paramList = new ArrayList<Integer>();
    final StringBuilder chunk = new StringBuilder( 10 );
    final StringBuilder index = new StringBuilder( 2 );

    int i = 0;
    final int len = template.length();
    while ( i < len ) {
        char c = template.charAt( i );
        if ( c == '?' ) { // Is it a parameter or literal? We will see ...

            while ( ++i < template.length() ) {
                c = template.charAt( i );
                if ( Character.isDigit( c ) ) {
                    index.append( c );
                }
                else {
                    if (index.length() > 0) { // the '?' represent an argument
                        chunkList.add( chunk.toString() );
                        chunk.delete( 0, chunk.length() );

                        paramList.add( Integer.valueOf( index.toString() ) );
                        index.delete( 0, index.length() );
                    } else { // the '?' represent a literal
                        chunk.append( '?' );
                    }
                    chunk.append( c );
                    break;
                }
            }

        }
        else {
            chunk.append( c );
        }
        i++;
    }

    if ( chunk.length() > 0 ) {
        chunkList.add( chunk.toString() );
    }

    chunks = chunkList.toArray( new String[chunkList.size()] );
    paramIndexes = new int[paramList.size()];
    for ( i = 0; i < paramIndexes.length; ++i ) {
        paramIndexes[i] = paramList.get( i );
    }
}

Diff (before / after)

I believe that if the '?' is followed by a digit should always be treated as a parameter
I tested it for the test case you created and it worked as expected
Unfortunately my resources are limited at the moment and therefore I have no way to run the Hibernate tests

What do you think?

Thanks for following up. TBH, I think the second comment from Gavin King
makes sense and I don't think there is fool-proof fix following the current
direction. For that reason, I closed my PR. Is the issue really serious
without bypassing?
As to the code change, I think it is becoming unnecessarily complicated.
For example, if the template ends with '?', seems it will be ignored. I
made similar code changes in my closed PR, but I doubt it is correct
direction. Suppose there is a digit after the '?', it seems we cannot say
it is intended param. Maybe a more complete syntax design is needed.
That being said, you are welcome to create PR on top of my code. But I
would think more on the best solution.
On Fri., Feb. 7, 2020, 20:47 mhagnumdw<EMAIL_ADDRESS>wrote:

@NathanQingyangXu https://github.com/NathanQingyangXu , I think this
can solve:
public TemplateRenderer(String template) {
this.template = template;
final List<String> chunkList = new ArrayList<String>();
final List<Integer> paramList = new ArrayList<Integer>();
final StringBuilder chunk = new StringBuilder( 10 );
final StringBuilder index = new StringBuilder( 2 );

int i = 0;
final int len = template.length();
while ( i < len ) {
    char c = template.charAt( i );
    if ( c == '?' ) { // Is it a parameter or literal? We will see ...

        while ( ++i < template.length() ) {
            c = template.charAt( i );
            if ( Character.isDigit( c ) ) {
                index.append( c );
            }
            else {
                if (index.length() > 0) { // the '?' represent an argument
                    chunkList.add( chunk.toString() );
                    chunk.delete( 0, chunk.length() );

                    paramList.add( Integer.valueOf( index.toString() ) );
                    index.delete( 0, index.length() );
                } else { // the '?' represent a literal
                    chunk.append( '?' );
                }
                chunk.append( c );
                break;
            }
        }

    }
    else {
        chunk.append( c );
    }
    i++;
}

if ( chunk.length() > 0 ) {
    chunkList.add( chunk.toString() );
}

chunks = chunkList.toArray( new String[chunkList.size()] );
paramIndexes = new int[paramList.size()];
for ( i = 0; i < paramIndexes.length; ++i ) {
    paramIndexes[i] = paramList.get( i );
}

}
Diff (before / after)
[image: image]
https://user-images.githubusercontent.com/17688846/74077025-38fdd680-49fb-11ea-9170-95bd74840fa6.png

I believe that if the '?' is followed by a digit should always be
treated as a parameter
I tested it for the test case you created and it worked as expected
Unfortunately my resources are limited at the moment and therefore I
have no way to run the Hibernate tests

What do you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hibernate/hibernate-orm/pull/3225?email_source=notifications&email_token=AB6UYAWKQ675DZ6WI4ALXH3RBYFMRA5CNFSM4KRIHSQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELFFYZY#issuecomment-583687271,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB6UYAUJZHNGBVJZU2OLWVLRBYFMRANCNFSM4KRIHSQQ
.


feat(translations ru patient add missing)

locales->tu->patient missing translations

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

Closed for the same reason https://github.com/HospitalRun/hospitalrun-frontend/pull/2660#issuecomment-825574141


Sign in conditional render bugfixes

Added conditional rendering for sign in on for testifiers page and goals and mission page.
Fixes for soft launch issues #1006 and #1008

good to go! 🚀


MySensors 2.2.0

Hi
When version 2.2.0 will be available in Home Assistant ? On webpage i only see version support: 1.4, 1.5 and 2.0
I need use 2.2.0 and it no working correct on HA 0.63.3
I can only one time switch light on relay... again i can not change status.
Please help me...

Mysensors 2.2.0 should be compatible with home assistant as there are no breaking changes that I'm aware of.
Please provide debug logs where the problem can be seen. Preferably a serial log from the node in question and a parallel log from home assistant with debug level set for mysensors package and mysensors component.

I also describe on forum my problem. Problem is with controlling relay on node. On Domoticz Home Automation works ok.


Refactor analyzer for .NET Core support

We want to be able to build and run the out-of-proc analyzer on .NET Core as well as .NET Standard.
This will likely require separating out interfaces such as the Python registry service and much of the default interpreter implementation.
We could either end up with two assemblies (like Common/VSCommon), or move types into VSInterpreters (though the backwards compatibility implications of this may be more complicated). Alternatively, the builds could produce fundamentally different assemblies between .NET Standard and Core, provided the stdin/out interface is identical (extensions that directly depend on the assembly need to be rebuilt for Core anyway).

Ping @brettcannon

Is the worry .NET Standard versus .NET Core, or more .NET Standard/Core versus .NET Framework? (Still learning my way around the .NET universe so this might be a silly question 😄, but I know Framework is very much Windows-centric while Standard is portable on top of Core, but I also know Standard is new so maybe the worry is it's too new?)

@brettcannon You could be right... I lost track of all the renames they did there. Probably .NET Standard vs .NET Framework

.NET Standard is a way to run C# code as-is on supported CLR runtimes. It addresses issues with previous portable assemblies attempt which were very limiting.
.NET Standard 2.0 should be the way to go, but what is the benefit in PTVS to run on .NET Core, if VS itself is not ported?

The announcement of .NET Standard helps clarify things; basically it's an API spec that all .NET platforms are expected to implement (.NET Framework and Core included). So basically you code for .NET Standard APIs and you know that it will work whether you're executing on top of .NET Framework, .NET Core, or Xamarin (as long as those platforms support that version of .NET Standard you're using).

what is the benefit in PTVS to run on .NET Core, if VS itself is not ported?

Many possibilities, but primarily for cross-platform code analysis. For example, we would need this for true remote environment support (i.e. Intellisense for a Linux or macOS system while using VS), and we'd need this to make a portable language server that could then be integrated with any editor that supports the protocol.

Okay, then in that case we should aim to refactor the assembly to match the standard.

https://github.com/Microsoft/vscode-python/blob/master/CONTRIBUTING - PYTHON_ANALYSIS.md


Remove version: CrystalDewWorld.CrystalDiskInfo version 8.8.9

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

For moderators or/and anyone else

[!Caution]
As a result of several personal problems I've had over the last few months + my final exams coming up very soon, I'm currently unable to look at my GitHub notifications every day and maintain my executions correctly.
If you detect a certain problem on a certain pul request:

Either you can close the pull request directly without mentioning me.
Or you can send me a message on X (Twitter): @Exorcism0666

Thank you for your understanding, and I'm sorry if some pull requests can't be approved due to the situation I'm in.

This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

URL: - https://osdn.net/frs/redir.php?m=auto&f=crystaldiskinfo%2F73507%2FCrystalDiskInfo8_8_9.exe
Invalid URI: The URI scheme is not valid.
(Automated message - build 912)

https://github.com/microsoft/winget-pkgs/pull/164995#issuecomment-2256196015

URL: - https://osdn.net/frs/redir.php?m=auto&f=crystaldiskinfo%2F73507%2FCrystalDiskInfo8_8_9.exe
Invalid URI: The URI scheme is not valid.
(Automated message - build 912)

URL: https://osdn.net/frs/redir.php?m=auto&f=crystaldiskinfo%2F73507%2FCrystalDiskInfo8_8_9.exe
Status Code: 200
(Automated message - build 887)

URL: https://osdn.net/frs/redir.php?m=auto&f=crystaldiskinfo%2F73507%2FCrystalDiskInfo8_8_9.exe
Status Code: 200
(Automated message - build 887)

Close with reason: Package still available;


Horizontal list group feature suggestion

I've been playing around the list group component recently in some projects. One thing I'd like to see in Bootstrap 4.2 is possibly to have a horizontal list group or the ability to make any of the list groups provided (https://getbootstrap.com/docs/4.1/components/list-group/#basic-example) horizontal by adding a class. Technically, I don't know if it would be too difficuilt to add. I was playing around in the inspector and changed two things:
.list-group {
    // originally flex column
    flex-direction: row;
}

.list-group-item {
    // originally margin-bottom
    margin-left: -1px;
}

By making these relevant changes, you'd get the following:

And if we remove the max-width from the documentation:

I was thinking we could have a modifier class to the list-group-* something like:
-horizontal
-vertical
Thoughts?

Agreed. I came here to suggest this. You can add flex-direction: row and it almost works out of the box. The corner rounding needs to be handled though.


Get a blob

Hi,
I need to consume a REST service that returns binary data. I need, using phonegap, to get this data and write it in a file. Is there any way I can get a blob as as the content of the HttpClient response?

This should just work. The content property of the response will hold the binary data, which you can construct to a Blob or Uint8Array or whatever you need.


Confusing oxTrust API prompt in create.sh

There are:

Enable oxTrust Api
Enable oxTrust Test Mode.

I am not sure what 'oxTrust Test Mode' is, talked to Gasmyr and he suggested it's wrong. Please talk to Gasmyr and remove which is not necessary.

Hey this is a feature not something that is wrong. It allows UMA and Testmode to be enabled upon installation and use the API directly without going to the GUI.
https://github.com/GluuFederation/enterprise-edition/issues/15


Using NER for running HuggingFace Pipeline

I tried using this model with HuggingFace's transformers.pipeline  to establish baseline on doing NER some data that I have but I was running into index errors based off the fact the the id2label dictionary in the config for the model has only 2 labels in it currently, {0: 'LABEL_0', 1: 'LABEL_1'}. Do you have a full set of labels or should i go about getting these predictions in another way?

We've exchanged over email, but posting here for the community:
Unfortunately, you won't be able to use the ClinicalBERT model out of the box without fine-tuning it on the NER task. We released the clinical BERT models that were pretrained via masked LM and NSP on MIMIC data, but did not release any of the models that we fine tuned on the i2b2 or MedNLI tasks.
You can easily finetune clinicalBERT on NER for the labels you care about. Finetuning ClinicalBERT on any downstream task is relatively cheap compared to the time it took us to do the pretraining on MIMIC. Check out the run_ner.py script in the Huggingface repo for an example on how to do this.


Add fallback

Changes
Adds a check for state_dict since some merged models don't have it and the method fails with:
Traceback (most recent call last):
  File "main.py", line 719, in <module>
    model = load_model_from_config(config, opt.actual_resume)
  File "main.py", line 31, in load_model_from_config
    sd = pl_sd["state_dict"]
KeyError: 'state_dict'

@nachoal remade your PR here: https://github.com/JoePenna/Dreambooth-Stable-Diffusion/pull/172


Unit test for unsuccessful receive calls

Hard part is enumerating all of the possible failure paths.

Issue https://github.com/intel/tpm2-tss/issues/607
Got a segmentation fault while running unit-tests of tpm2-tss-1.x on a Raspberry Pi 3 board.
When running test/unit/tcti-device
[ RUN      ] tcti_device_receive_success
Could not run the test - check test fixtures
[  ERROR   ] tcti_device_receive_success

https://github.com/intel/tpm2-tss/blob/0eb606568d5a4f42ad04213a1b2d25c1d1f31a29/test/unit/tcti-device.c#L200-L220
$ git clone https://github.com/intel/tpm2-tss
$ cd tpm2-tss
$ git checkout fb93568596419c4ac20031db898963abb0aca0ec
$ ./bootstrap && ./configure --enable-unit
$ make check

...
PASS: test/unit/UINT32-marshal
PASS: test/unit/CommonPreparePrologue
PASS: test/unit/CopyCommandHeader
PASS: test/unit/GetNumHandles
PASS: test/unit/UINT8-marshal
./test-driver: line 107:  6473 Segmentation fault      "$@" > $log_file 2>&1
FAIL: test/unit/tcti-device
PASS: test/unit/tcti-socket
...

$ cat test-suite.log
==========================================
   tpm2-tss 2.0.0-dev: ./test-suite.log
==========================================

# TOTAL: 15
# PASS:  14
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test/unit/tcti-device
===========================

[==========] Running 7 test(s).
[ RUN      ] tcti_device_init_all_null_test
[       OK ] tcti_device_init_all_null_test
[ RUN      ] tcti_device_init_size_test
[       OK ] tcti_device_init_size_test
[ RUN      ] tcti_device_init_log_test
[       OK ] tcti_device_init_log_test
[ RUN      ] tcti_device_log_called_test
[       OK ] tcti_device_log_called_test
[ RUN      ] tcti_device_init_null_config_test
[       OK ] tcti_device_init_null_config_test
[ RUN      ] tcti_device_receive_success
Could not run the test - check test fixtures
[  ERROR   ] tcti_device_receive_success
[ RUN      ] tcti_device_transmit_success
FAIL test/unit/tcti-device (exit status: 139)

Currently we have these:
test/unit/tcti-device.c:tcti_device_receive_null_size_test (void **state)
test/unit/tcti-device.c:tcti_device_receive_eof_test (void **state)
test/unit/tcti-device.c:tcti_device_receive_buffer_lt_response (void **state)
test/unit/tcti-mssim.c:tcti_socket_receive_null_size_test (void **state)
test/unit/tcti-mssim.c:tcti_mssim_receive_eof_first_read_test (void **state)
test/unit/tcti-mssim.c:tcti_mssim_receive_eof_second_read_test (void **state)
test/unit/tcti-swtpm.c:tcti_swtpm_receive_null_test (void **state)
test/unit/tcti-swtpm.c:tcti_swtpm_receive_null_size_test (void **state)
test/unit/tcti-swtpm.c:tcti_swtpm_receive_eof_first_read_test (void **state)
test/unit/tcti-swtpm.c:tcti_swtpm_receive_eof_second_read_test (void **state)
test/unit/tcti-swtpm.c:tcti_swtpm_receive_timeout_try_again_test (void **state)


conflicts of cblas APIs definition between OpenBLAS and Eigen 3.3.4

Hi guys,
I hope to use OpenBLAS as a backend of Eigen 3.3.4 on Android/ARMv7. Compiling environment is ubuntu 16.04 + Android NDK r15c. When trying to compile the project, I encountered errors as follow(I picked one to paste here),
In file included from ././gemm.cpp:4:
In file included from /home/yangfan/workspace/study/openBLAS/cblas.h:5:
In file included from /home/yangfan/workspace/study/openBLAS/common.h:751:
/home/yangfan/workspace/study/openBLAS/common_interface.h:105:9: error: functions that differ only in their return type cannot be overloaded
void    BLASFUNC(dcopy) (blasint *, double *, blasint *, double *, blasint *);
/home/yangfan/workspace/study/openBLAS/common.h:185:24: note: expanded from macro 'BLASFUNC'
#define BLASFUNC(FUNC) FUNC##_
                       ^
<scratch space>:83:1: note: expanded from here
dcopy_
^
/home/yangfan/workspace/study/eigen-3.3.4/Eigen/src/Core/util/../../misc/blas.h:44:8: note: previous declaration is here
int    BLASFUNC(dcopy) (int *, double *, int *, double *, int *);
~~~    ^
/home/yangfan/workspace/study/eigen-3.3.4/Eigen/src/Core/util/../../misc/blas.h:9:24: note: expanded from macro 'BLASFUNC'
#define BLASFUNC(FUNC) FUNC##_
                       ^
<scratch space>:37:1: note: expanded from here
dcopy_

in common_interface.h of OpenBLAS,
void    BLASFUNC(scopy) (blasint *, float  *, blasint *, float  *, blasint *);
void    BLASFUNC(dcopy) (blasint *, double *, blasint *, double *, blasint *);
void    BLASFUNC(qcopy) (blasint *, xdouble *, blasint *, xdouble *, blasint *);
void    BLASFUNC(ccopy) (blasint *, float  *, blasint *, float  *, blasint *);
void    BLASFUNC(zcopy) (blasint *, double *, blasint *, double *, blasint *);
void    BLASFUNC(xcopy) (blasint *, xdouble *, blasint *, xdouble *, blasint *);

in misc/blas.h of Eigen,
int    BLASFUNC(scopy) (int *, float  *, int *, float  *, int *);
int    BLASFUNC(dcopy) (int *, double *, int *, double *, int *);
int    BLASFUNC(qcopy) (int *, double *, int *, double *, int *);
int    BLASFUNC(ccopy) (int *, float  *, int *, float  *, int *);
int    BLASFUNC(zcopy) (int *, double *, int *, double *, int *);
int    BLASFUNC(xcopy) (int *, double *, int *, double *, int *);

My Android.mk looks like this,
----------------------------------------------------------------------------------------------------
LOCAL_PATH := $(call my-dir)

#build a test executable
include $(CLEAR_VARS)

LOCAL_MODULE := gemm
LOCAL_C_INCLUDES := /home/yangfan/workspace/study/eigen-3.3.4
LOCAL_C_INCLUDES += /home/yangfan/workspace/study/openBLAS
LOCAL_SRC_FILES := $(LOCAL_PATH)/gemm.cpp
LOCAL_CFLAGS += -DEIGEN_USE_BLAS

LOCAL_CFLAGS += -fPIC -frtti -fexceptions -lz -O3
LOCAL_LDLIBS += -lm -llog -lz
LOCAL_LDLIBS += $(LOCAL_PATH)/openblas-libs/libopenblas.a

Can somebody give some guides for using openblas in Eigen?

Cheers,
yangfan

Eigen has documentation on usage of blas backends.
-l -L should suffice as that document does not state to add any header files to compilationnflags.

Thanks @brada4 for your quick feedback.

i.e you have to provide location of F77 BLAS library, enable macro variable to use it and then use eigen-provided cblas.h if at all, because BLAS backend will be called by functions mentioned in addition to provide own cblas over fortran blas wrapper (not a recommendation but few megabytes of cblas built by default into openblas library thus become completely unused)

Got it.
Normally, two interface styles are supported in openblas (fortran-style and cblas-style). But Eigen seems to only support fortran-style function calls, i.e. dgemm_( ). In the case we don't need to provide header file.

compilation based on android-ndk-r15b only generates cblas-style function calls without built-in fortran compiler. But I still puzzle the issue.  May I get my answer on Eigen forum.

openblas offers int32 and int64 calling convention on x86_64, apparently eigen does not allow to switch right away.
blas.h is not official netlib blas api header. you have to use one of cblas.h files.

Thanks. It makes sense.
The issue can be closed if needed.

Thanks for the feedback, closing now.

@yang0773 I am having GeneralMatrixMatrix_BLAS.h:106: error: undefined reference to 'dgemm_' problem when using openblas in eigen for android armv7.
android.mk
`#build a test executable
include $(CLEAR_VARS)
LOCAL_MODULE := test_qsml
LOCAL_C_INCLUDES += $(LOCAL_PATH)/Eigen/
LOCAL_C_INCLUDES += $(LOCAL_PATH)/openblas/install/include
LOCAL_SRC_FILES := $(LOCAL_PATH)/test_qsml.cpp
#LOCAL_SHARED_LIBRARIES := qsml
LOCAL_CFLAGS += -DEIGEN_USE_BLAS
LOCAL_CFLAGS += -fPIC -frtti -fexceptions -lz -O3 -std=c++11
LOCAL_LDLIBS += -lm -llog -lz
LOCAL_LDLIBS += $(LOCAL_PATH)/openblas/install/lib/libopenblas.a
include $(BUILD_EXECUTABLE)`
my cpp
`#include
#include
#include <Eigen/Dense>
using namespace Eigen;
using namespace std;
int main()
{
MatrixXd m = MatrixXd::Random(300,300);
MatrixXd n = MatrixXd::Random(300,300);
MatrixXd k;
std::chrono::steady_clock::time_point t1 = std::chrono::steady_clock::now();
//for(int i=0; i<10;i++){
k = m*n;
//}
std::chrono::steady_clock::time_point t2 = std::chrono::steady_clock::now();
double timeSpent =std::chrono::duration_cast<std::chrono::duration>(t2-t1).count();
std::cout << "time used: " << timeSpent <<", " << k(0,0) << endl;
return 0;
}`
could you share your android.mk and how you setting eigen to use openblas


Offset for the first labels

Hi, I have a DMPickerView from 0 to 99. The offset of the first labels seems a little bit strange. From 3 to 99, everything works fine, but labels 0, 1 and 2 are cutted off. Do you know why this is happening? What am I doing wrong?

(this is how I wanted all labels to appear)

Hi again, I think I found the problem: on your layoutSubviews method, you're calculating the frame for all labels, according to their initial position. As labels 1, 2, 3, ..., etc, are scaled down, width and height are smaller. You're calculating the Y position (in VERTICAL case) assuming this smaller frame. The frame of the label should always be the frame as if the label is selected, regardless it's scale down or not. I managed to get this working by overriding the frame's height on layoutSubviews (for the VERTICAL picker)

Fixed by @hackstuces pull request.


AWS Elasticache package

Just tried the Package out and got it to deploy successfully. I was able to confirm that an elasticache instance came up in the AWS console and that 2 x bindable Secrets were created - one for the reader and one for the writer user.
I'm now using the redis-cli to attempt to test the service out but I don't seem to be able to connect to the server ... I have confirmed basic connectivity using netcat, so I can reach the service, however I can't seem to login using the redis-cli and the username/password from the bindings. I wonder if perhaps it's something to do with SSL? Are we missing certs/keys or something? Have you been able to test the service end-to-end?

I'm now using the redis-cli to attempt to test the service out but I don't seem to be able to connect to the server ... I have confirmed basic connectivity using netcat, so I can reach the service, however I can't seem to login using the redis-cli and the username/password from the bindings. I wonder if perhaps it's something to do with SSL? Are we missing certs/keys or something? Have you been able to test the service end-to-end?

It is related to SSL, we've already experienced this problem using the official redis:6.2 container. First of all you have to force SSL conection using the --tls flag, but, as the redis container does not have the ca-certificates package installed, it cannot verify the ssl chain. So either you add the --insecure flag or you install the above apt package.
The CA that signed the Elasticache instance's certificate is public, therefore you don't need to specify any private certificate for it.

Ah yep that was it - after installing the ca-certificates package and providing the --tls flag I was able to establish a connection to service instance. Nice! I experimented a bit first by using the writer user credentials - I SET and GET a test value and confirmed it worked. I then logged in with the reader user credentials and confirmed that I could not SET a test value, but that I could still GET the value.


Can't cross compile to armv7 from Fedora36 + podman

Checklist

[X] I've looked through the issues and pull requests for similar reports

Describe your issue
I'm trying to setup a cross compile setup for my to ease my development of a raspberry pi project.
But after the initial clone / setup all I get is this
Error: lsetxattr /nix/store/.links: operation not permitted
Looking around it seems to be a SELinux issue but I'm not sure how to go about fixing it
What target(s) are you cross-compiling for?
armv7-unknown-linux-gnueabihf
Which operating system is the host (e.g computer cross is on) running?

[ ] macOS
[ ] Windows
[X] Linux / BSD
[ ] other OS (specify in description)

What architecture is the host?

[X] x86_64 / AMD64
[ ] arm32
[ ] arm64 (including Mac M1)

What container engine is cross using?

[ ] docker
[X] podman
[ ] other container engine (specify in description)

cross version
cross 0.2.4 (47df5c7 2022-08-30)
Example
git clone --branch cross https://github.com/tmayoff/lgaircon.git

cross build --target armv7-unknown-linux-gnueabihf

Additional information / notes
No response

Does it affect any other targets, just wondering? Also, I don't think it should be using /nix/store, as we don't create it if it isn't provided nor do we pass NIX_STORE as an environment variable if it isn't provided. If the directory doesn't exist and NIX_STORE or NIX_STORE_DIR is provided, we should fail fast with a permissions error, so this wouldn't reproduce the above error.
lsetxattr definitely is an SELinux issue, however. Can you try aarch64-unknown-linux-gnu and aarch64-linux-android just to test? Can you also report if /nix/store exists, and if NIX_STORE or NIX_STORE_DIR is set? Also, can you report the value of getenforce (to see if SELinux is set to enforcing or permissive mode)?
Thanks.

Pinging @otavio, do you know anything about this? I know /nix/store/.links is actually a valid part of the Nix store for NixOS, which seems odd given the Fedora host.

Okay so it does happen with the other targets you suggested, /nix/store exists but the environment variables don't I do however remember doing something NIX related (I don't remember what) which might be causing this. I remove /nix and solved this.
However I'm now getting some other errors (happens for a bunch of dependencies):
--- stderr
  /target/debug/build/typenum-e88f9767296c4856/build-script-main: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /target/debug/build/typenum-e88f9767296c4856/build-script-main)
  /target/debug/build/typenum-e88f9767296c4856/build-script-main: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /target/debug/build/typenum-e88f9767296c4856/build-script-main)
  /target/debug/build/typenum-e88f9767296c4856/build-script-main: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /target/debug/build/typenum-e88f9767296c4856/build-script-main)
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `serde v1.0.144`

Small question is it possible to cross compile when relying on C libraries, like sqlite3 and lirc_client
I get these errors
= note: /usr/lib/gcc-cross/aarch64-linux-gnu/9/../../../../aarch64-linux-gnu/bin/ld: cannot find -llirc_client
          /usr/lib/gcc-cross/aarch64-linux-gnu/9/../../../../aarch64-linux-gnu/bin/ld: cannot find -lsqlite3
          collect2: error: ld returned 1 exit status

Okay so it does happen with the other targets you suggested, /nix/store exists but the environment variables don't I do however remember doing something NIX related (I don't remember what). I remove /nix and solved this.

So then the issue is it's trying to mount a directory it doesn't have permissions to modify as the current users, which is odd.... We might need to change the SELinux labels.
As for the glibc errors, see the pinned issue #724. For the other ones with external dependencies, we've documented this on the wiki. Let me know if anything is unclear.

Closed in favor of #1012, which details this issue more precisely and generally.


Unable to create the enum from the vector of strings.

Do current version has support of adding enum values from the vector of strings?
If yes? How to use that?

You may be able to do it in C++20. At least, as I understand it, operator [] on std::vector is now constexpr. The string would also have to be a compile-time value.


Merkury A21 10W MI-BW210-999W DATE:2004

Before opening a new issue, please read the following
Are you reporting a successful flash?
No, the newer seems like I might have a newer version of the bulbs that are currently supported. I have a bunch of these that are version number 1906 and they flash just fine. I have tried the development branch like others have reported that it resolves the issues however mine no success.
I have attached the logs from the attempted flashing of the light bulbs and it keeps on trying to resend smartconfigration packets.
The bulb is responding to the initial communication to flash, however it's not going through the flashing process.
======================================================
Starting smart config pairing procedure
Waiting for the device to install the intermediate firmware
Put device in EZ config mode (blinking fast)
Sending SSID                  vtrust-flash
Sending wifiPassword
Sending token                 00000000
Sending secret                0101
................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
................
SmartConfig complete.
Resending SmartConfig Packets
..............
Device did not appear with the intermediate firmware
Check the *.log files in the scripts folder
Do you want to try flashing another device? [y/N] y
IMPORTANT

Connect any other device (a smartphone or something) to the WIFI vtrust-flash
This step is IMPORTANT otherwise the smartconfig may not work!
Put your IoT device in autoconfig/smartconfig/pairing mode (LED will blink fast). This is usually done by pressing and holding the primary button of the device
Make sure nothing else is plugged into your IoT device while attempting to flash.
Press ENTER to continue

======================================================
Starting smart config pairing procedure
Waiting for the device to install the intermediate firmware
Put device in EZ config mode (blinking fast)
Sending SSID                  vtrust-flash
Sending wifiPassword
Sending token                 00000000
Sending secret                0101
................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
.................
SmartConfig complete.
Resending SmartConfig Packets
................
SmartConfig complete.
Resending SmartConfig Packets
..............
Device did not appear with the intermediate firmware
Check the *.log files in the scripts folder
Do you want to try flashing another device? [y/N]
Did you have issues getting a device to flash?
The device used for flashing: Raspberry Pi 3
normal cell phone to piggie off the vflash ap
Bulb: Merkury A21 10W MI-BW210-999W DATE:2004
Please remember to close your issue when the problem has been addressed!

smarthack-psk.log
smarthack-udp.log
smarthack-web.log
smarthack-wifi.log
smarthack-mqtt.log

Give those a shot Kueblc, I am sorry I didn't know you could just drag and drop like that in the window to attach the files. Please let me know if you need anything else additionally.

Unfortunately this device is not based on the ESP82xx and thus incapable of running ESP firmware like Tasmota. We do not support non ESP devices in tuya-convert.


Missing a "}"

Isn't it closed on line 149~150 ?

Isn't it closed on line 149~150 ?

https://github.com/LycheeOrg/Lychee/issues/1166

Isn't it closed on line 149~150 ?

Yes

LycheeOrg/Lychee#1166

Your configuration there has an extra line.


Accept multiple MIME types?

I would like my instance of Dropzone to only accept images, is there a way to do that? Since accept should be a string, therefore a single MIME type is supported.

The solution is: image/*, but it can also be a comma delimited list of MIME types if necessary.


Sign multiple files

I cant seem to sign multiple files at the same time like i can with regular signtool, is there some special syntax or do i have to add a new task for each file?
I tried using the same syntax as signtool with only spaces between each file.
Thanks

Hi @schh sorry for the delay.
I am already testing the version of this tool internally. Since this involves a breaking change I need some more time to test but I expect a release until the end of March.
Cheers

As mentioned v2.0.0 has been released and comes along with support for wildcards! Hope you will like the new feature. If you have any further ideas please let me know!

That is absolutely lovely. Thank you! ☺
Med vänliga hälsningar,
Robert Petersson
Utvecklare
<EMAIL_ADDRESS>EDP
Järnvägsgatan 93
245 34  Staffanstorp
Reception 046-23 45 50
<EMAIL_ADDRESS>www.edp.sehttp://www.edp.se/
Från: Stefan Kert<EMAIL_ADDRESS>Skickat: den 29 mars 2019 16:41
Till: StefanKert/azuredevops-codesigning-task<EMAIL_ADDRESS>Kopia: Robert Petersson<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Ämne: Re: [StefanKert/azuredevops-codesigning-task] Sign multiple files (#5)
As mentioned v2.0.0 has been released and comes along with support for wildcards! Hope you will like the new feature. If you have any further ideas please let me know!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/StefanKert/azuredevops-codesigning-task/issues/5#issuecomment-478045428, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AWRfkQ546Cf0y043SWrRPpOH59b4cqfRks5vbjQZgaJpZM4Zd0q8.

Would be great to make a "File(s) to sign" field "multiline". Now you can't set multiple files patterns. So, we need a task per pattern.


Explicitly specify the sdk and arch when building for an iOS device

This fixes the application crashing on the device when built with the command line tools but is fine when building for the device.
cc @devoncarew @mpcomplete

:+1: lgtm

lgtm


Tasks disappear/reappear

Description
Sometimes tasks will disappear or reappear, and the cause is unclear.
After they disappear the last active task is commonly still visible as the active task in the top bar, even if there is a visible task listed as active.
In this screenshot "Friday" is listed as the active Task, but is not present in the list

Reproduction

Open save https://drive.google.com/file/d/1dxFljR_T0zyXxaSp7dgIk1g46R4OuTRy/view?usp=sharing
Observe task list

I have a custom version of a mod here:
https://drive.google.com/file/d/17qZNUQbe-MWYebDsSIpSTRi7wiiCIa-U/view?usp=drive_link

My tasks reappeared after removing a handful of mods from the save:
Train Log
Rocket Log
LTN
LTN Manager
LTN Combinator
Simple Landfill Mining
Save with tasks back:
https://drive.google.com/file/d/1qRnQSu3v2HuqVfLdmGF4Fcc4WcjkuTBE/view?usp=sharing

Unfortunately, when I load that save, the GUI looks perfectly fine. Are you able to consistently reproduce it?

I have the same problem in a reproducible way. (I think)
Here is the world: https://mega.nz/folder/XocTjBzI#zn93_5vIKvtn9EXlWfObDQ (I edited the info.json file of the mod included)
Here is the "toogle mod": https://mods.factorio.com/mod/electricboiler
Note: I'm using factorio 1.1.91 - Task List 4.7
Behaviour:

if you enter the first time with setting and everything syncted you should see this:

if you disbale "electric boiler" from the mod list and enter teh world again you should see this

Hope this is of some help

Thanks @Wip-Sama, I have successfully reproduced the issue with your save file and instructions! I can finally fix this.

@TheRealBurgersNFries Do you have any mods that change which force you're on? In Wip-Sama's case the issue stems from the player changing between the Blueprint Sandboxes force and the Player force. I have a feeling your issue might be related.

I'm going to assume that they are the same issue and merge the fix. Please let me know if you encounter this again.


Substat optimization on TC page

[x] Persist optimizationTarget across page reloads
[x] UI for input of number of substats to optimize for
[x] UI for outputting the results
[ ] Translation
[ ] Multithreading
[ ] Show warning if the set maximum is larger than the maximum possible due to main stats

From Discord:

[ ] The substat maximum should be the substat maximum, not the distributed max
[ ] set all substats to integers -> remove RV

[x] tooltip is very annoying (will be remedy by removing RV)

[x] a way to set all substats/max globally for quick use

[x] add a new row among substats with slider and max input that will change all substats at once
[ ] default distributed to 40 substat to maximum allowed 40

[ ] Lack of feedback once the distribution of substat is complete

[ ] add a green section like the loading bar in optimizer that shows distribution status
[ ] 0 distributed -> yellow
[ ] distributed not ticking down if only assigned partially

[ ] mainstat max level not respected in some cases
[ ] Add min/avg/max for 4* substat rolls

I can add the translation if you wanna

I can add the translation if you wanna

wait until we are finished with the UI, there is still some work to be done here.


Add a configuration setting to suppress error messages

Is your feature request related to a problem? Please describe.
I share my dotfiles across several platforms, Windows 10 and 11 included. Among them is .wslconfig with several options that work only on Windows 11 (e.g. nested virtualization, DNS tunneling); and so, whenever I turn on WSL, I see the following (translated):
> wsl
wsl: Nested virtualization is not supported on this machine.
wsl: DNS tunneling is not supported
user@wsl:/c/Users/user$

I'm perfectly aware, and I'd prefer to not be reminded every time as it's distracting (especially when the reminder is a native notification).
Describe the solution you'd like
A configuration setting that, upon starting WSL, would suppress both errors on the command line (if run through a terminal) and native notifications, similar to --quiet/--silent found in many CLI utilities. Something along those lines would be preferable:
# ~/.wslconfig
[wsl2]
silent = true

Describe alternatives you've considered

wsl 2>nul - suppresses all output.
Turning off WSL notification sender in Notifications & Actions - has no observable effect.

Additional context
> ver
Microsoft Windows [Version 10.0.19045.4651]

/feature

/feature

@mataha: This can be done by exporting set WSL_DISABLE_WARNINGS=1. We can't have that in .wslconfig because warnings can be emitted during parsing.
Closing since this can be done via an env variable.

That solves my problem, thanks. Is that variable documented anywhere? This is the first time I'm hearing about it.


please add a Ukrainian language

files are present in the project

but there is no language menu

The languages could be changed on the app.ini file.

So this can be closed, right?

@daviian no, the site does not have the opportunity to choose the Ukrainian language

@andruwa13 ok, now I get it. You want try.gitea.io to enable Ukrainian.

@daviian with a new installation, there is also no Ukrainian language by default

@andruwa13 Like @lunny said you can adjust the list of languages in app.ini

@bkcsoft I think this is not a bug, it's a new language of gitea.

closed by #4036

not work :(

The PR only modified the app.ini.sample. The actual app.ini used in the try.gitea.io deployment would need to be updated too.

new install Gitea, there is also no Ukrainian language :(

You have to configure it in your custom app.ini to take effect. The file changed in the PR is not the default that your clean install will use, only a sample of what you could use.
The actual default is loaded in modules/setting/setting.go#L1090:
Langs = Cfg.Section("i18n").Key("LANGS").Strings(",")
if len(Langs) == 0 {
	Langs = defaultLangs
}

and defaultLangs is defined in modules/setting/defaults.go:
var (
	defaultLangs     = strings.Split("en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP,sv-SE,ko-KR", ",")
	defaultLangNames = strings.Split("English,简体中文,繁體中文（香港）,繁體中文（台灣）,Deutsch,français,Nederlands,latviešu,русский,日本語,español,português do Brasil,polski,български,italiano,suomi,Türkçe,čeština,српски,svenska,한국어", ",")
)

So if you create another PR that modifies this file, ukrainian should appear in the menu by default.


Improve Performance of Visual Studio Extension

This may require finding a new basic template and recreating the extension.  There are lots of warnings in the existing codebase as well.
It makes sense to make the operations to call DevSkim lib actually asynchronous even if wrapping in tasks to improve responsiveness.

Fixed in the latest 0.8 by using the language server protocol and an async extension.


[BUG] Pixel spacing

This is pretty much fixed by https://github.com/COMP523TeamD/NeuroRuler/pull/60, but we should add some (a, b, c) data (especially where a and b are very different from each other) to the repo and unit test specifically on (a, b, c) data.


UI Web App Link does not work

Installation process was successful but:
IMPORTANT ->: https://script.google.com/a/macros/google.com/s/AKfyc....
Link does not work: Page cannot be opened...

Are you accessing the app with the same Google account you deployed it with? (please try in a private / incognito window)
Also, have you enabled the Apps Script API as mentioned in step 3 of https://github.com/google-marketing-solutions/vigenair#get-started ?

I followed all of the steps above, same error. Could there be an issue because I am trying to open the url from Europe while everything was deployed for US?
https://script.google.com/a/macros/google.com/s/AKfycbzOme1oRcTLN-AfKnVJet3l2JSXO8YOnW98rs7zMiMH7bsMPL1nkKu5HkSVinAoL2BO6g/exec
johnedoe@OnAMac12345

No, where the backend cloud function is deployed does not influence where the UI web app is accessible from.
Perhaps the link you're using is outdated?
You might try to access the app via the Apps Script home page instead as described here: https://github.com/google-marketing-solutions/vigenair#managing-apps-script-deployments


feat(client): Support MSSQL prepared statements in $queryRaw & $executeRaw

Closes #3861

I think the SQL generation is correct, but the request keeps timing out out during testing (manual and automated)
Here are logs:
  prisma-client prisma.queryRaw(SELECT * FROM User WHERE email=@P1, <EMAIL_ADDRESS>+25ms
  prisma-client Prisma Client call: +0ms
  prisma-client Prisma Client call: +26ms
  prisma-client prisma.queryRaw({
  prisma-client   query: 'SELECT * FROM User WHERE email=@P1',
  prisma-client   parameters: {
  prisma-client     values<EMAIL_ADDRESS>  prisma-client     __prismaRawParamaters__: true
  prisma-client   }
  prisma-client }) +1ms
  prisma-client Generated request: +0ms
  prisma-client mutation {
  prisma-client   queryRaw(
  prisma-client     query: "SELECT * FROM User WHERE email=@P1"
  prisma-client     parameters<EMAIL_ADDRESS>  prisma-client   )
  prisma-client }
  prisma-client  +1ms

Following up on our chat: I added a 'types' test; an integration test for $queryRaw & $executeRaw already exists in https://github.com/prisma/prisma/blob/master/src/packages/client/src/tests/integration/happy/blog/test.ts#L78, albeit  only for SQLite & Postgres.
Once we have MSSQL running on Buildkite, I can add a few integration tests for MSSQL as well (If Emily hasn't done that already :D)

Added more integration tests in #3978, it will be merged after this (since it is a WIP)


Migrate everything to .NET Core 2 (.NET Standard 2.0)

In the end it was easier for me to start from scratch, so I didn't use the branch you had prepared (hopefully that's ok).
Here are a few things from the migration that I thought I should mention:

I disabled the "auto-generate AssemblyInfo" feature of the new .csproj files so that existing AssmeblyInfo.cs continue to be used.
I left the old .nuspec files in place.  These take precedence over the NuGet info in the new .csproj files.
Updated the SerializationString value used in the GenericBinarySerializer_Serialize and GenericBinarySerializer_Deserialize tests to reflect the .NET Core behaviour of the BinaryFormatter.

Related to #8.

:white_check_mark: Build SharpLearning 1.0.146 completed (commit https://github.com/mdabros/SharpLearning/commit/cef7c07517 by @)

:white_check_mark: Build SharpLearning 1.0.147 completed (commit https://github.com/mdabros/SharpLearning/commit/f36069e166 by @)

Perfectly fine to start the work from scratch, and thanks alot for contributing with this migration!
A few comments after reviewing:

Allow unsafe code seems to be missing for release builds for projects; SharpLearning.Containers, SharpLearning.Containers.Test, SharpLearning.DecisionTrees. I am unsure how this passed the appveyor build, but I will need to update the CI process after this merge anyway.
Update the AssemblyVersion to <IP_ADDRESS>. Currently, all projects share the same assembly version.
I guess that SharpLearning.Neural will only work on .NET Desktop/Windows until .net standard 2.0 is supported by math.net (https://github.com/mathnet/mathnet-numerics/issues/386).

If you fix "allow unsafe code" and update the assembly version, I will merge the PR into the master branch, update the CI process and get the updated packages on nuget.

:white_check_mark: Build SharpLearning 1.0.148 completed (commit https://github.com/mdabros/SharpLearning/commit/b7d110a6cc by @)

That's strange about the unsafe flag not failing the Release builds...  It completely slipped my mind to test the Release build config when I was making the code changes (sorry!).
I've updated AssemblyVersion, AssemblyFileVersion, and AssemblyInformationalVersion to <IP_ADDRESS>.
I also hadn't noticed SharpLearning.Neural*'s failing dependencies.  It may be time for me to update my VS2017 as this isn't the first time I've noticed missing error/warning messages.

@MetaFight Thanks for committing the changes.
Regarding SharpLearning.Neural, it is only a warning that the dependency (math.net) was not restored using .net core 2.0, so might not be fully compatible. On windows it works, but it probably won't work on linux and mac until math.net adds support for .net core.
I am merging the pull request and I will have the nuget packages online as soon as possible.

Is there a chance for a signed netstandard version of the package? The current Signed package is behind the non-Signed one.


Auto-Lock fail

"When I start Paik, run through the on-boarding, then set it aside for a period, I'll get asked to enter my password to re-open it.  This will happen even if I did NOT set the auto-lock parameter.   This latter means I'm trapped - I have to delete the app.
The requirement here is that if the user never sets a lock/password -- and this is the default now -- the app never times out."

I'll look at this today

I went through all of the possible ways this could happen and double checked everything I could think of.
Really not sure why this is happening, but if happens again, try force-quitting the app via the task switcher, and then relaunching.


Evaluator Meta Issue

I have a first working implementation but there is still some work to get a "usable" kernel.
Here are the important issues that need to be fixed :

[ ] #18 : Multiple lines prompted into the client in jupyter console
[ ] #19 : Remove annoying warnings
[x] #20 : Can't execute code after error
[ ] #21 : Kernel not working in lab but working in notebook and console
[ ] #23 : Don't display the "Out" cell when result is null

Once those critical issues are fixed I can start focus on fun features : https://github.com/hadim/scijava-jupyter-kernel/issues?q=is%3Aissue+is%3Aopen+label%3APriority%3AMedium
@ctrueden If you have sometime to try it that woul be appreciated. Your input is always super helpful :-)

Also for now Beaker need to be installed manually :
https://github.com/twosigma/beakerx.git
cd beakerx/kernel/base/
gradle publishToMavenLocal

That will install everything you need in your local Maven repo.

Most of the issue here are or fixed or need and upstream fix and are also non-blocking issue. So I will downgrade their priorities to Medium.


inventory script

Hi
I am new to aws i need help do we have a bash script to get all the information like

  all VMs and their properties

  all storage and snapshots

  all network interfaces and IP addresses – which VM has been given which ones etc

  all VPC (AWS) or network security group  configurations

  all load balancers

or commands by which i would get the infomations

No, sorry, if you want such a script you must put it together on your own


Add TUS support information on FileInfo object

Whenever a list() or fileInfo() call response contains TUS headers,
return these through the fileInfo.getTusSupport() method.
If no TUS headers are found, that method returns null.
Fixes https://github.com/owncloud/owncloud-sdk/issues/458

[x] unit tests
[ ] test against actual backend

I've re-read the spec and apparently only "Tus-Version" MUST be set and not the others.

[ ] rely on "Tus-Version" instead of "Tus-Resumable" to detect if TUS is set at all

adjusted, please review


Lots of updates

Coverage remained the same at 100.0% when pulling 87f59d978fae255ac61c204118a27ba7b5fe9fe9 on lots-of-updates into 3e1e7ceaffcf192b08f80e6f0f5a00db4058e727 on master.


Fixed typo

name: :memo: Documentation Fix
about: Fixing a problem in an existing docs page
Checklist

[ ] Is there an existing issue for this PR?

No

[ ] Have the files been linted and formatted?

yes

What docs page needs to be fixed?

Attempt #6: Naively Applying the Middleware:
Middleware:

What is the problem?
Small typo Naïvely -> Naively
What changes does this PR make to fix the problem?
Fixes the type

Thanks for the PR, but this isn't a typo. Naïvely


may be it better to add explanation popups (title) when hovering above icons button

PR opened

may ti can be good to ad link to the PR?

may ti can be good to ad link to the PR?

https://github.com/chess-mazes/chess-mazes/pull/14

Merged and closed, thanks 🙂


Can't use custom eo:platform metadata value

I'm trying to create eo3 dataset metadata for some MODIS data with the DatasetAssembler, and I'd like to include whether the data is from Terra or Aqua. The best fit in the metadata definition I've found is the eo:platform property.
But when I try to pass in a platform code, I get a NotImplementedError, raised in:
https://github.com/GeoscienceAustralia/eo-datasets/blob/e07a3e87e6d6990ef3a6045784930bbb49455bfd/eodatasets3/model.py#L337
and likely also in
https://github.com/GeoscienceAustralia/eo-datasets/blob/e07a3e87e6d6990ef3a6045784930bbb49455bfd/eodatasets3/model.py#L356
meaning I can't use any platform name that doesn't start with sentinel-1, sentinel-2 or landsat.
Is there any reason the DatasetAssembler can't just use the user defined platform code if it doesn't match S1/S2/LS ?

Thanks for the report @valpesendorfer .
In devlop, built-in abbreviations are now extensible.
You can also set abbreviations manually:
p.names.platform_abbreviated = "ls"
p.names.instrument_abbreviated = "e"


chore(helm-chart): chart release for v0.6.0

Signed-off-by: mayank<EMAIL_ADDRESS>Why is this PR required? What issue does it fix?:
This PR updates the helm chart to use the latest release https://github.com/openebs/dynamic-nfs-provisioner/releases/tag/v0.6.0.
What this PR does?:
Does this PR require any upgrade changes?:
If the changes in this PR are manually verified, list down the scenarios covered::
Any additional information for your reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs
Checklist:

[ ] Fixes #
[ ] PR Title follows the convention of  <type>(<scope>): <subject>
[ ] Has the change log section been updated?
[ ] Commit has unit tests
[ ] Commit has integration tests
[ ] (Optional) Are upgrade changes included in this PR? If not, mention the issue/PR to track:
[ ] (Optional) If documentation changes are required, which issue on https://github.com/openebs/openebs-docs is used to track them:

@mynktl - can you update the following as part of this PR please.
Replace the references to nfs-operator.yaml in docs/introduction.md and main README.md to use https://openebs.github.io/charts/nfs-operator.yaml in the kubectl apply commands.

Codecov Report

Merging #91 (d34eed6) into develop (f462591) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #91   +/-   ##
========================================
  Coverage    46.85%   46.85%
========================================
  Files           29       29
  Lines         2356     2356
========================================
  Hits          1104     1104
  Misses        1174     1174
  Partials        78       78

Continue to review full report at Codecov.

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


Add snapshot PR integration back

1. Issue, if available:
2. Description of changes:
Fixed an auth issue resulting from credentials not being set when id-token: write is not explicitly defined.
3. How was this change tested?
4. Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: link to issue
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/snapshot

seems like this requires the approval message to be /snapshot not just a comment on a PR that is already approved.  Not a huge deal, but something to note


fix: fix web ui request error for udf feature and datasource feature

What is the purpose of the change
fix web ui request error for udf feature and datasource feature
Checklist

[x] I have read the Contributing Guidelines on pull requests.
[ ] I have explained the need for this PR and the problem it solves
[ ] I have explained the changes or the new features added to this PR
[ ] I have added tests corresponding to this change
[ ] I have updated the documentation to reflect this change
[ ] I have verified that this change is backward compatible (If not, please discuss on the Linkis mailing list first)
[ ] If this is a code change: I have written unit tests to fully verify the new behavior.

LGTM


Segfault in gc_mark_children

I'm unsure this is a mruby bug, but I'm submitting here as per the README.
I embed mruby (version 1.3.0) in a data analysis program to compute user-provided mathematical formulas. I get systematic segmentation faults, seemingly when the gc runs, always there:
0x000055555578382f in gc_mark_children (mrb=mrb@entry=0x555555dfcc10, obj=0x555555f4f2a0, gc=)
at /home/vincent/tmp/mruby-1.3.0/src/gc.c:654
654             if (e->cxt.c->fib) {
I have:
(gdb) p *e
$1 = {tt = MRB_TT_ENV, color = 4, flags = 1, c = 0x0, gcnext = 0x0, stack = 0x555555fe4140, cioff = 0,
cxt = {mid = 750, c = 0x5555000002ee}}
(gdb) p *e->cxt.c
Cannot access memory at address 0x5555000002ee
I think it is probably my mistake, but I just can't understand what I did wrong; I would greatly appreciate any pointer.
Best regards

Have you tried it with the last mruby master? Are you using gems?

Hey, it seems to be fixed with the latest master (7450a774a5f796f7e9) !
Would you like me to pinpoint which commit fixed it ?

I don't know, try to look at the changes since 1.3?

We have changed a lot since 1.3.  If we have the error reproducing program, we can git bisect using it.
Under the current roadmap, we will release 1.4 on mid-November.

It's too complicated to simply give you the program, but I'll do a git-bisect myself shortly.

I've run git-bisect. It looks like commit 0a61df1c34c62da59bf1443d6913e99158a938a4 fixed the segmentation fault.

So it looks like this is a duplicate of #3768 ?

I guess so. The part you saw segfault is where we modified heavily.


[WIP][Experiment] Use multi-threading for multi-file json reads

Experimental change to improve IO performance when multiple json files are mapped to each dask-dataframe partition.
Context: I was originally exploring a similar optimization to improve remote-storage performance, and found a significant perf bump for local storage as well.

cc @ayushdg


RC circuit benchmarks broken

The benchmarks here appear to be broken
https://docs.sciml.ai/SciMLBenchmarksOutput/dev/ModelingToolkit/RCCircuit/

@chriselrod or @YingboMa could you take a look?


Qt plugin error on VirtualBox

Describe the bug
VirtualBox fails to starts due to the following error
VirtualBox
Qt WARNING: Could not find the Qt platform plugin "xcb" in ""
Qt FATAL: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

[1]    28579 abort      VirtualBox

To Reproduce
On the current unstable channel (updated today) this error pops up in all three ways
      virtualbox
      # or
      virtualboxWithExtpack
     # or
      (virtualbox.override {
        enableHardening = true;
        extensionPack = pkgs.virtualboxExtpack;
      })

on top of the virutal box packages, I also have in my configuration the following
  virtualisation.virtualbox.host.enable = true;
  virtualisation.virtualbox.host.enableHardening = false;
  virtualisation.docker.enable = true;
  virtualisation.docker.liveRestore = false;

pure shell also fails
[hlolli@hlolli:~]$ nix-shell -p virtualbox --pure

[nix-shell:~]$ VirtualBox
Qt WARNING: Could not find the Qt platform plugin "xcb" in ""
Qt FATAL: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Aborted

[nix-shell:~]$

Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.64, NixOS, 19.09pre188002.e275a6c2f38 (Loris)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2.2`
 - channels(root): `"musnix, nixos-19.09pre188002.e275a6c2f38, nixos-unstable-19.09pre188002.e275a6c2f38"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

This adds a strange twist to the error message
ls /nix/store/gi43qbg7ar3k9lb55rm5w2y2771my704-qtbase-5.9.7-bin/lib/qt-5.9/plugins/platforms                                                ~
libqminimal.so  libqoffscreen.so  libqvnc.so  libqxcb.so
➜  ~ QT_QPA_PLATFORM_PLUGIN_PATH=/nix/store/gi43qbg7ar3k9lb55rm5w2y2771my704-qtbase-5.9.7-bin/lib/qt-5.9/plugins/platforms VirtualBox            ~
Qt WARNING: Could not find the Qt platform plugin "xcb" in "/nix/store/gi43qbg7ar3k9lb55rm5w2y2771my704-qtbase-5.9.7-bin/lib/qt-5.9/plugins/platforms"
Qt FATAL: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: minimal (from /nix/store/gi43qbg7ar3k9lb55rm5w2y2771my704-qtbase-5.9.7-bin/lib/qt-5.9/plugins/platforms), offscreen (from /nix/store/gi43qbg7ar3k9lb55rm5w2y2771my704-qtbase-5.9.7-bin/lib/qt-5.9/plugins/platforms), vnc (from /nix/store/gi43qbg7ar3k9lb55rm5w2y2771my704-qtbase-5.9.7-bin/lib/qt-5.9/plugins/platforms), xcb (from /nix/store/gi43qbg7ar3k9lb55rm5w2y2771my704-qtbase-5.9.7-bin/lib/qt-5.9/plugins/platforms).

[1]    2132 abort      QT_QPA_PLATFORM_PLUGIN_PATH= VirtualBox

See #66200 which should have been fixed by #66222

:thinking: Weird, with 19.09pre188002.e275a6c2f38 I'm also getting the issue, although when rebuilding from master (19.09.git.9175a20), Virtualbox starts correctly.

ah, I didn't see that ticket in search, since I updated my channels today, I tought that commit was also included. I'll try again soon. I used a different channel to get an older working version of VirtualBox.

unstable seems to be on https://github.com/NixOS/nixpkgs/commit/e275a6c2f38, https://github.com/NixOS/nixpkgs/commit/9f82497e3632b2df1fad950cbb99c7fdde405dcd is newer, so that's why you didn't get the fix yet.

that explains, I'll close it due to high confidence that a newer unstable will solve it :)
thanks @angristan for your observation !


refactor: Use Qdrant's Query API

Description
This PR updates the Qdrant integration to use the new Query API that supersedes the search API.

cc @jamescalam.
The failing CI seems unrelated.

cc @jamescalam. The failing CI seems unrelated.

yeah we had some unrelated issues - we have resolved now so rerunning tests, thanks for flagging @Anush008 will get this merged asap


Vertical scroll

Hello,
It would be nice to implement the possibility of vertical scrolling in order to see other drivers, and a button press to return to player's position.

I don't think it's possible to do scrolling elements in dash studio, or simply i don't know how.
Do you have any simhub dash/overlay with scrolling so i can look how it's made?


Setting output to high needs a true argument

See the comment in line 239.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @andre-richter (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

bors r+


customer is getting exception while cancel order

Bug report
Title
customer is getting exception while cancel order
Issue Description
customer is getting exception while cancel order
Preconditions
1. framework Version- master

Steps to reproduce
1. step1- place an order
2. step2- trying to cancel an order as customer

Expected result
Order should be canceled
Actual result

fixed


Create TCK coverage for programmatic access to assignability rules for observer methods and typesafe resolution

CDI issue - https://github.com/jakartaee/cdi/issues/498
CDI PR - https://github.com/jakartaee/cdi/pull/700
We don't need to go in-depth on the assignability itself as those are covered elsewhere.
Instead, we should mostly test some basic cases plus the fact that implicit qualifiers are added automatically.

I will work on this unless someone else is already doing so.

Sure, that would be great!


MATR is getting continuously restarted after MWDI new version is deployed

We noticed the MATR container(test_v1.0.5) is continuously restarting after upgrading the MWDI code to test_v1.1.3 in TestLab environment.
MATR container logs:
 callback : POST http://x.x.x.x:xxxx/v1/register-application header :{"user":"MacAddressTableRecorder","originator":"MacAddressTableRecorder","x-correlator":"188B02BE-d62E-2fC0-c90f-1342E4DBECC0","trace-indicator":"1.1","customer-journey":"1","operation-key":"n.a.","Content-Type":"application/json"}body :{"application-name":"MacAddressTableRecorder","release-number":"1.0.0","embedding-operation":"/v1/embed-yourself","client-update-operation":"/v1/update-client","operation-client-update-operation":"/v1/update-operation-client","tcp-server-list":[{"protocol":"HTTP","port":3012,"address":{"ip-address":{"ipv-4-address":"<IP_ADDRESS>"}}},{"protocol":"HTTPS","port":3012,"address":{"ip-address":{"ipv-4-address":"<IP_ADDRESS>"}}}]}response code:204
loggingErrorHandler - caught error, returning response with status code "500" and body {"code":500,"message":"response body required.","errors":[{"path":".response","message":"response body required."}]}
POST /v1/embed-yourself 500 215.287 ms - 158
/home/openbackhaul/macAddressTableRecorder/controllers/BasicServices.js:131
  await BasicServices.inquireOamRequestApprovals(body, user, xCorrelator, traceIndicator, customerJourney, req.url, NEW_RELEASE_FORWARDING_NAME)

ReferenceError: NEW_RELEASE_FORWARDING_NAME is not defined
    at SwaggerRouter.inquireOamRequestApprovals (/home/openbackhaul/macAddressTableRecorder/controllers/BasicServices.js:131:117)
    at /home/openbackhaul/macAddressTableRecorder/node_modules/oas3-tools/dist/middleware/swagger.router.js:99:40
    at Layer.handle [as handle_request] (/home/openbackhaul/macAddressTableRecorder/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/openbackhaul/macAddressTableRecorder/node_modules/express/lib/router/index.js:328:13)
    at /home/openbackhaul/macAddressTableRecorder/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/home/openbackhaul/macAddressTableRecorder/node_modules/express/lib/router/index.js:346:12)
    at next (/home/openbackhaul/macAddressTableRecorder/node_modules/express/lib/router/index.js:280:10)
    at /home/openbackhaul/macAddressTableRecorder/node_modules/oas3-tools/dist/middleware/swagger.parameters.js:52:13
    at Layer.handle [as handle_request] (/home/openbackhaul/macAddressTableRecorder/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/openbackhaul/macAddressTableRecorder/node_modules/express/lib/router/index.js:328:13)

Defined NEW_RELEASE_FORWARDING_NAME in BasicServces.js and fix returning error response with **status code "500".
Test in local VM  of /v1/embed-yourself service:
Before
callback : POST http://<IP_ADDRESS>:3003/v1/record-service-request header :{"user":"User Name","originator":"MacAddressTableRecorder","x-correlator":"EEDA960E-8d8b-8B2C-e01e-6d3c517D32Bb","trace-indicator":1,"customer-journey":"unknown","operation-key":"Operation key not yet provided.","Content-Type":"application/json"}body :{"x-correlator":"550e8400-e29b-11d4-a716-446655440000","trace-indicator":"1.3.1","user":"User Name","originator":"Resolver","application-name":"MacAddressTableRecorder","release-number":"1.0.0","operation-name":"/v1/embed-yourself","response-code":200}response code:204
RequestBuilder.js:33
loggingErrorHandler - caught error, returning response with status code "500" and body {"code":500,"message":"response body required.","errors":[{"path":".response","message":"response body required."}]}
After Fix:
callback : POST http://<IP_ADDRESS>:3003/v1/record-service-request header :{"user":"User Name","originator":"MacAddressTableRecorder","x-correlator":"De74c584-cdD1-c6eE-74fE-d8B2Dc1fbECA","trace-indicator":1,"customer-journey":"unknown","operation-key":"Operation key not yet provided.","Content-Type":"application/json"}body :{"x-correlator":"550e8400-e29b-11d4-a716-446655440000","trace-indicator":"1.3.1","user":"User Name","originator":"Resolver","application-name":"MacAddressTableRecorder","release-number":"1.0.0","operation-name":"/v1/embed-yourself","response-code":204}response code:204


Feature Request: Fused Linear and Cross-Entropy Loss

Since the latest models, such as Llama 3 and Gemma, adopt extremely large vocabularies (128-256K), the size of logits can become very large, consuming a large proportion of VRAM. For example, the following shows the VRAM size for Llama 3 8B with a batch size of 81920 tokens:
Logits size: 128256 (vocabulary size) * 81920 (batch size) * 2 bytes (bf16) = 19.57GiB
Hidden state size (checkpointed): 4096 (hidden size) * 81920 (batch size) * 32 (layers) * 2 bytes (bf16) = 20GiB

Therefore, a fused linear and cross-entropy loss operator that does not require materializing full logits may reduce VRAM consumption by half. It'd be a great addition to the FlashAttention model implementations.

I personally don't have cycles for this but we welcome PRs

Check out [Liger kernel by Linkenin)[https://github.com/linkedin/Liger-Kernel] which provides fused linear and cross-entropy loss and is compatible with Huggingface Transformers


[trace] add strack trace info with trace

Is your feature request related to a problem? Please describe.
Cannot find option for record stack trace of span:
<EMAIL_ADDRESS>Describe the solution you'd like
Want same option for<EMAIL_ADDRESS>Additional context
Want show stacktrace info in APMPlus in VolcEngine(currently always empty):

PTAL🙏 @CoderPoet

Usually, you can use logs to report stack traces zap or logrus
code detail:
https://github.com/hertz-contrib/obs-opentelemetry/blob/f719a52136f0dd2dfdcc03f9396bc5c7fbfd7c59/logging/logrus/hook.go#L91
or report this by calling methods yourself. eg:
span := trace.SpanFromContext(c)
span.RecordError(errors.New("error info"), trace.WithStackTrace(true))

@futurist Hello, can this solve your problem?

@rogerogers Yes it's solved by add extra line of code, like below:
span := trace.SpanFromContext(c)
span.SetStatus(codes.Error, desc)
span.RecordError(errors.New("error info"), trace.WithStackTrace(true))

Without SetStatus the RecordError do nothing, Ref: https://opentelemetry.io/docs/instrumentation/go/manual/#record-errors


Cannot scroll if the overflowing element has position: absolute

If the last element of a document has position: absolute and is larger than the rest of the page, you cannot scroll past what the size of the document would be if that last element wasn't there.
If there is another element (without position: absolute) after the overflowing element, you can scroll if you hover your mouse on the overflowing element or if you use the scroll bar (https://blackilykat.dev/scrollbug2.html)
Steps to reproduce

Navigate to https://blackilykat.dev/scrollbug.html
Try to scroll

Expected behavior
You can scroll to see the overflowing text

I've been looking at this issue. I noticed xkcd.com suffers from the same issue (it has body position: absolute set)
I was able to reproduce the issue with this minimal example:
<!DOCTYPE html>

Looking into it, I tracked it down to the fact that  has inline children (a text node), and it's children are not paintable, so its overflow scroll doesn't grow properly.
However, I removed all the newlines from the example:
<!DOCTYPE html>

and now it's working because the inline text node is gone.
So now I don't know what to think 😵💫

A few more tests:
When body position: absolute is an inline style and  is removed, it is scrollable:
<!DOCTYPE html>

When an empty  is reinserted, it is no longer scrollable:
<!DOCTYPE html>

Going back to closer to the original example, if  is not put on its own line, it is scrollable:
<!DOCTYPE html>

But if  gets its own line, then it is no longer scrollable:
<!DOCTYPE html>


Use UTM_GLOBAL_POSITION for collision avoidance

Based on Issue #11262.
Describe problem solved by the proposed feature
At the moment there is no collision avoidance feature based on position reports from other drones available. The only collision avoidance is done for manned aircraft traffic based on ADSB_VEHICLE message provided by a ADSB receiver connected to FMU.
With considering other drone positions as well for collision avoidance drone operation safety can be significantly improved when multiple drones share the same airspace.
UTM_GLOBAL_POSITION message broadcasted by a drone and implemented with https://github.com/PX4/Firmware/pull/10873 provides all the necessary information similar to ADSB_VEHICLE.
Describe your preferred solution
Use UTM_GLOBAL_POSITION message similar to ADSB_VEHICLE for collision avoidance. A handler was added to mavlink_receiver.cpp which translates all UTM_GLOBAL_POSITON messages into UOrb transponder_report messages.
Additional context
Cooperative awareness is mandatory in future UTM concepts to allow multiple drone operations within same airspace.

@dagar Essentially ADBS/FLARM have an incoming message with validity flags, position and heading. This is published as a transponder_report topic. In a mission (only) this position and heading is projected onto the expected vehicle altitude (first) and if there is a risk further calculation on x/y paths. There is a configurable RTL, Land, or warning if either within hardcoded 500m. Docs, Code
UTM_GLOBAL_POSITION is a bit like transponder message, but it also includes next waypoint info. All this PR does is fake a transponder message: drop the next waypoint, fake the validity flags, and convert the current position into transponder units/format.
If we aren't ever going to use the next waypoint info and we don't want to be able to differentiate the source of the messages this is all that is needed. Personally I think it is worth changing the topic from transponder_report to something more generic that includes the additional info in UTM_GLOBAL_POSITION and allows you to differentiate between the signal source.
Why? Because I think we might want to provide more stringent handling for ADBS than we do for UTM.

@dk7xe are you able to review this?

@dk7xe are you able to review this?

you mean the code? no.. i don't think i'm capable.. i can understand C but being far from calling myself knowledgeable.
My strenghts are project management and flying with fast speed straight/crashing drones ;)

@bkueng I sent some ADSB_VEHICLE messages and some UTM_GLOBAL_POSITION messages over MAVLink, and used the PX4 console to verify that they were both translated into UOrb transponder_report messages correctly, with the right coordinates and flags.


appstream: 0.14.4 → 0.15.2

Motivation for this change
https://github.com/ximion/appstream/blob/v0.15.2/NEWS
(I am in UTC+8, feel free to push something to my branch or close this if I don't respond in time, many thanks!)
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin (using GitHub Actions)
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

@ofborg build appstream appstream.passthru.tests libsForQt5.appstream-qt libsForQt5.appstream-qt.passthru.tests
@ofborg build pantheon.appcenter gnome.gnome-software libsForQt5.discover

Is this package expect to work on darwin? With the introduction of libxmlb, I think this package will not evaluate on darwin anymore.

I do not see why libxmlb or this should not work on darwin, I just have not worked on the support since it is PITA.

I just ran a build for libxmlb with GitHub Actions (macos-latest), the build fails with:
ld: unknown option: --version-script
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)

Full log: https://gist.github.com/bobby285271/233e2a9255ed6fea49d5b2b26e0f7ad1
Search result of --version-script: https://github.com/hughsie/libxmlb/blob/aa48a24e872dc47375952d7eb1dc6ff7430bc09d/src/meson.build#L41
@NixOS/darwin-maintainers Can someone offer a help to fix the build for libxmlb on darwin? I am sorry but I am really not sure how to deal with this. Thanks a lot!

That can be typically handled using
cc = meson.get_compiler('c')
vflag = cc.get_supported_link_arguments([vflag])

see e.g.:
https://github.com/GNOME/gcab/blob/14961b201e5daa34a250eddb06fe3fee011d6b20/libgcab/meson.build#L53

Maybe we have too old clang not supporting the C++14 attribute syntax?

With eye ball some more similar failure will happen e.g. https://github.com/ximion/appstream/blob/v0.15.2/qt/pool.h#L73
Maybe revert https://github.com/ximion/appstream/commit/41426d7bed38c93d146eacf4643c25c676675bc3 (and additionally patch qt/component.h) should work. Not tested.

It is midnight in UTC+8, going to sleep, will be back in 10 hours if my alarm clock works :zzz:
If you already find more failures for this package please leave a comment!

Looks like a simple revert won't work because https://github.com/ximion/appstream/commit/41426d7bed38c93d146eacf4643c25c676675bc3 is committed 7 minutes after https://github.com/ximion/appstream/commit/c14f306c9795d86881a92eded798b2396b2293f8 and I actually should look at the commit message :rofl:

The Qt version there is just too old and repeatedly causes issues -
however, we can re-enable this once some way to deprecate enums that the
old moc likes has been found.
Or we can just wait a few months and test against the new LTS... (the
cheaty way of doing things :-P)

I am sorry I know applying the patch conditionally is not good idea...

https://github.com/NixOS/nixpkgs/pull/161837/checks?check_run_id=5342175316
libsForQt5.appstream-qt seems to build on x86_64-darwin now.

https://github.com/NixOS/nixpkgs/pull/161837/checks?check_run_id=5342169568
What is this...?

error: a 'x86_64-darwin' with features {} is required to build '/nix/store/krvyc5dva94ipkw60qjh87v7325cc1ni-fix-paths.patch.drv', but I am a 'aarch64-darwin' with features {benchmark, big-parallel, nixos-test, recursive-nix}

@ofborg build libsForQt512.appstream-qt

@ofborg build tilix

Result of nixpkgs-review pr 161837 run on x86_64-linux 1

37 packages marked as broken and skipped:

gnome.gnome-documents
libsForQt512.bismuth
libsForQt512.discover
libsForQt512.kde-cli-tools
libsForQt512.kdeplasma-addons
libsForQt512.khotkeys
libsForQt512.kinfocenter
libsForQt512.kmenuedit
libsForQt512.krohnkite
libsForQt512.kwin-dynamic-workspaces
libsForQt512.kwin-tiling
libsForQt512.parachute
libsForQt512.plasma-browser-integration
libsForQt512.plasma-desktop
libsForQt512.plasma-disks
libsForQt512.plasma-phone-components
libsForQt512.plasma-workspace
libsForQt512.powerdevil
libsForQt512.systemsettings
libsForQt514.bismuth
libsForQt514.discover
libsForQt514.kde-cli-tools
libsForQt514.kdeplasma-addons
libsForQt514.khotkeys
libsForQt514.kinfocenter
libsForQt514.kmenuedit
libsForQt514.krohnkite
libsForQt514.kwin-dynamic-workspaces
libsForQt514.kwin-tiling
libsForQt514.parachute
libsForQt514.plasma-browser-integration
libsForQt514.plasma-desktop
libsForQt514.plasma-disks
libsForQt514.plasma-phone-components
libsForQt514.plasma-workspace
libsForQt514.powerdevil
libsForQt514.systemsettings

65 packages built:

appstream
bookworm
bottles
denemo
evince (gnome.evince)
fwupd
gamemode
giara
glom
gnome-feeds
gnome-firmware-updater
gnome.gnome-books
gnome.gnome-software
gnome.sushi
gnonograms
kodiPackages.libretro-genplus
kodiPackages.libretro-mgba
kodiPackages.libretro-snes9x
libsForQt5.appstream-qt (libsForQt515.appstream-qt ,plasma5Packages.appstream-qt)
libsForQt5.bismuth (libsForQt515.bismuth ,plasma5Packages.bismuth)
libsForQt5.discover (libsForQt515.discover ,plasma5Packages.discover)
libsForQt5.kde-cli-tools (libsForQt515.kde-cli-tools ,plasma5Packages.kde-cli-tools)
libsForQt5.kdeplasma-addons (libsForQt515.kdeplasma-addons ,plasma5Packages.kdeplasma-addons)
libsForQt5.khotkeys (libsForQt515.khotkeys ,plasma5Packages.khotkeys)
libsForQt5.kinfocenter (libsForQt515.kinfocenter ,plasma5Packages.kinfocenter)
libsForQt5.kmenuedit (libsForQt515.kmenuedit ,plasma5Packages.kmenuedit)
libsForQt5.krohnkite (libsForQt515.krohnkite ,plasma5Packages.krohnkite)
libsForQt5.kwin-dynamic-workspaces (libsForQt515.kwin-dynamic-workspaces ,plasma5Packages.kwin-dynamic-workspaces)
libsForQt5.kwin-tiling (libsForQt515.kwin-tiling ,plasma5Packages.kwin-tiling)
libsForQt5.parachute (libsForQt515.parachute ,plasma5Packages.parachute)
libsForQt5.plasma-browser-integration (libsForQt515.plasma-browser-integration ,plasma5Packages.plasma-browser-integration)
libsForQt5.plasma-desktop (libsForQt515.plasma-desktop ,plasma5Packages.plasma-desktop)
libsForQt5.plasma-disks (libsForQt515.plasma-disks ,plasma5Packages.plasma-disks)
libsForQt5.plasma-phone-components (libsForQt515.plasma-phone-components ,plasma5Packages.plasma-phone-components)
libsForQt5.plasma-workspace (libsForQt515.plasma-workspace ,plasma5Packages.plasma-workspace)
libsForQt5.powerdevil (libsForQt515.powerdevil ,plasma5Packages.powerdevil)
libsForQt5.systemsettings (libsForQt515.systemsettings ,plasma5Packages.systemsettings)
libsForQt512.appstream-qt
libsForQt514.appstream-qt
libxmlb
lightly-qt
metadata-cleaner
meteo
pantheon-tweaks
pantheon.appcenter
pantheon.elementary-calculator
pantheon.elementary-camera
pantheon.elementary-code
pantheon.elementary-feedback
pantheon.elementary-greeter
pantheon.elementary-mail
pantheon.elementary-onboarding
pantheon.elementary-photos
pantheon.elementary-tasks
pantheon.elementary-terminal
pantheon.evince
pantheon.switchboard-plug-about
pantheon.switchboard-with-plugs
pantheon.wingpanel-applications-menu
pantheon.wingpanel-with-indicators
pentobi
setzer
snippetpixie
tilix
wacomtablet

Result of nixpkgs-review pr 161837 run on x86_64-linux 1

1 package built:

appstream