Digital ID Badge Related Queries and Issues

I am having issues with verifying for the badge. I have removed all the spaces and also rechecked my details many times. Can I get some help regarding this. My details are as follows:
<EMAIL_ADDRESS>Swadha Sri

@Swadha-Sri

Hi @Swadha-Sri Its working and I can verify you from this side please add your email correctly I suggest:
copy paste your email from here instead of typing<EMAIL_ADDRESS>
If the issue persists then please let me know with your all details, I'll share you your badge here!


Added OSX fix for 'md5sum' existing as 'md5'

This allows rsvm to use the alias for md5sum which exists on OSX.

Thx


CLI help responses still return "electrum" and not "electrum-cash"

Most CLI help responses still suggest using "electrum" in the help response and not "electrum-cash".

you mean like
#> ./electron-cash history -h

I can't find one that has "electrum". Can you give some specific examples?

not every single obscure error msg needs to be modified.  but if there's some you see, paste and ill fix


Provide prebuilt binaries

It would be tremendously easier to deploy haproxy_exporter if you could provide prebuilt binaries for the commen platforms. At least for linux/amd64.

It is already the case, take a look at : https://github.com/prometheus/haproxy_exporter/releases

Opps. Overlooked these. Thanks.


Polling Start/Stop on Input Endpoint

Hello,
I have some trouble understanding how Polling Start / Stop mechanism works.
const handler = dat => {
    console.log(dat);
    epIn.stopPoll(() => {
        epIn.startPoll(1);
    });
};
epIn.on('data', handler);
epIn.startPoll(1);

attaching event handler .on('data', ...)
starting polling .startPoll(1)
getting callback with the data
stopping polling .stopPoll(cb) with callback to re-enable polling.
and getting Error:

/home/drom/work/lab/drom/ecp5/node_modules/usb/usb.js:268
                throw new Error("Polling already active")
                ^

Error: Polling already active
    at InEndpoint.Endpoint.startPoll (/home/drom/work/lab/drom/ecp5/node_modules/usb/usb.js:268:9)
    at InEndpoint.startPoll (/home/drom/work/lab/drom/ecp5/node_modules/usb/usb.js:324:61)
    at InEndpoint.epIn.stopPoll (/home/drom/work/lab/drom/ecp5/lib/ftdi.js:99:22)
    at Object.onceWrapper (events.js:273:13)
    at InEndpoint.emit (events.js:182:13)
    at Transfer.transferDone (/home/drom/work/lab/drom/ecp5/node_modules/usb/usb.js:340:10)

How come it is still active?
Do I need to clean data buffer after .on('data', ...) callback?

Yeah, I think this is a bug -- it looks like once you stopPoll, on an endpoint, you can't startPoll again because nothing ever clears the pollTransfers property.
That said, I'm not sure what you're trying to do, but you need any kind of control over when transfers are being made, you should probably use transfer() to make individual transfers rather than starting and stopping polling. The polling mechanism is just a convenience for keeping a pool of transfers in flight, with a little bit of optimization by reusing the libusb structures.

You are right. I am mostly using .transfer() function. That said, I was surprised and puzzled about this behavior of the polling mechanism.


Rename plugin.py to plugin/plugin.py

the docs state that it should be plugin/plugin.py
plus tox seems to expect it at that location 🤔

stacktrace:
...
   File "/my_plugin/.tox/py38/lib/python3.8/site-packages/hansken_extraction_plugin/runtime/extraction_plugin_server.py", line 838, in serve
    server = _start_server(extraction_plugin_class, address)
  File "/my_plugin/.tox/py38/lib/python3.8/site-packages/hansken_extraction_plugin/runtime/extraction_plugin_server.py", line 820, in _start_server
    add_ExtractionPluginServiceServicer_to_server(ExtractionPluginServicer(extraction_plugin_class), server)
  File "/my_plugin/.tox/py38/lib/python3.8/site-packages/hansken_extraction_plugin/runtime/extraction_plugin_server.py", line 680, in __init__
    self._plugin = extraction_plugin_class()
TypeError: 'NoneType' object is not callable


Fix block snippet

Fix issue when block is not properly parsed:
    <%
        product_cn_data = h.get_cn_data_for_product(
            product,
            company,
            page_place,
            construct=True,
            source='portal',
        )
    %>

Thanks for this


Get float value?

It seems like the Java SDK doesn't support floats. Is that something that should be supported? I suppose this can be worked around with strings, but I wonder if decimal values are important enough to be supported, especially fractional values like .5 could be practical.
Relevant part of the spec: https://github.com/open-feature/spec/blob/main/specification/types.md#number

I'm not clear on how to handle this one. I wonder if we could just deal with Numbers and defer it to the caller? https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html

I'm not clear on how to handle this one. I wonder if we could just deal with Numbers and defer it to the caller? https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html

I think that's a fine solution, personally.
Paging @agentgonzo, interested in your take on this one.

I have open #34 to fix this.


patchew.org should use https

Jeff has experience with letsencrypt and probably can help!

Yes, letsencrypted for a long time: https://patchew.org/QEMU/
In the future we should add a redirect from http to https, but for now let's keep it for patchew-cli.


Add Note for deprecated PodSecurityPolicy.

Add Note for deprecated PodSecurityPolicy under Restricting profiles with the PodSecurityPolicy in Restrict a Container's Access to Resources with AppArmor tutorial.
Fixes: #29010

Hi @bradtopol @daminisatya @tengqm @jihoon-seo
Could please take a look!

Preview: https://deploy-preview-29014--kubernetes-io-main-staging.netlify.app/docs/tutorials/clusters/apparmor/

Such a note is helpful.
/approve

/lgtm


Where does this library cache models on the disk?

On a windows machine, where are the models downloaded and stored please?

Closing this issue as I found the answer after reading the code. For anyone else, the default location is C:\users{username}.cache\gpt4all


Sharing link not working

I'm trying to share the following list – but it turns up empty: https://tinylist.app/share/ts3ba2fb65-cb9f-40d0-ac30-774f090e58e6
The link was created by pressing the Share dialogue symbol on the checklist itself, then confirming and either choosing Copy to Clipboard or Email (I tried both and neither is working).

Did you ever have this work? I just verified from my phone to my laptop and it did work. Sometimes you have to give it a couple minutes to start up and sync; if that doesn't work, try reloading the page and giving it a minute.

I just tried yours and see it didn't work. I'll look into this soon.


Module depends on one or more Android Libraries but is a jar

When I add timber-loggly as a dependency in my Gradle file, I get 2 warnings:
Warning:Module 'com.github.tony19:timber-loggly:1.0.1' depends on one or more Android Libraries but is a jar
Warning:Module 'com.github.tony19:loggly-client:1.0.3' depends on one or more Android Libraries but is a jar
The modules don't download, and so I am unable to use this library at all.
I'm using Android Studio 2.0 Preview 4, and the related dependencies I'm referencing are:
compile 'com.android.support:support-v4:23.1.1'
compile 'com.jakewharton.timber:timber:4.1.0'
compile 'com.github.tony19:timber-loggly:1.0.1'
compile 'com.squareup.retrofit:retrofit:1.9.0'
A quick Googling leads me to believe v4:23.1.1 of the support library is the problem, but I can't downgrade to an older version.

Same issue here... did you find any solution by the time ?

Maybe a workaround is to implement this lib : https://github.com/inrista/loggliest

I believe this is caused by loggly-client's dependency on com.jakewharton.timber:timber, which turns out to be unnecessary for that library. The current workaround is to exclude it in your app's build.gradle as follows:
dependencies {
    compile ('com.github.tony19:timber-loggly:1.0.1') {
        exclude group:'com.jakewharton.timber', module:'timber'
    }
}

You're right, no more error with this fix ! Thanks a lot !

I am also still seeing the above issue where I can no longer use LogglyTree when I exclude the timber module. Any chance of this library being updated to support newer Timber versions?


Update id.ts

Short description of what this resolves:
Changes proposed in this pull request:

Ionic Version: 1.x / 2.x
Fixes: #

thanks


Dark mode Icon disappears on click And navbar alignment

Description
I have encountered a bug where the dark mode icon disappears upon clicking it. This issue may be related to CSS styling. Additionally, I have noticed that the alignment of the navbar is not properly configured, which may contribute to the overall user experience issues.
Solution:
I would like to take on this task to investigate and resolve the CSS issues affecting the dark mode icon and improve the navbar alignment.
Please assign me this task so I can work on improving the overall design and functionality.
Steps to Reproduce
1.Navigate to the application.
2.Click on the dark mode icon.
3.Observe that the icon disappears.
Expected Behavior
The dark mode icon should remain visible after clicking it, and the navbar should maintain proper alignment for better accessibility.
Actual Behavior
No response
Screenshots
https://github.com/user-attachments/assets/217fdb97-4ffc-4ae3-939d-95205ff21118
Additional Information
No response
What browser are you seeing the problem on?

[ ] Firefox
[X] Chrome
[ ] Safari
[ ] Microsoft Edge

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

Hi @aditya-bhaumik , I would like to work on this issue. Could you please assign me this task under the GSSOC-ext and Hacktoberfest-accepted tags? I’m excited to contribute.
Thanks so much!

Sir @aditya-bhaumik please assign this task, and level it .


Basic compiler thread safety

In general, for simple cases like the ones I commented on, you can just use the C# volatile keyword on the relevant field.


Use redux-saga instead of redux-thunk

How about this?

@kerwin I have heard good things about redux-saga, I haven't tried it yet though. Would be great if you can send a PR for this.

@kerwin why this is a better solution?

As @jforaker pointed out in #106, redux saga is quite complex and not suitable for beginners. For advanced users who needs redux saga, we have plans to create a separate project.


[Question] Does it solves any problems which Cicerone does not?

Hi.
For the first lookup this library seems interesting.
However, there already is reliable solutions like Navigation Component or Cicerone(https://github.com/terrakok/Cicerone).
The last is more similar to what you suggest.
Could you please clarify does your library is aimed to  solve any problems which Cicerone does not?

Hello @phansier !
Thank you for your interest in this library.
Basically, this library was not designed to be a replacement for Navigation Component or Cicerone, it aims to decrease the boilerplate code required to work with raw fragment manager. It goes well for projects with simple navigation and simple back-stack management, but wasn't tested on more complex situations, which it is not designed for.
I would be really happy to make a solution that might become a replacement for such great libraries such as Cicerone. But in the meantime, this is not the goal of this library. Please stay tuned for more updates.


Make Marquee selection of multiple actors.

https://dev.epicgames.com/community/learning/tutorials/GxZ9/using-custom-c-structs-as-tmap-keys-in-unreal-engine


"flash_attn" were not found in your environment

When I try to run the example code, it raise the below problem even if I have installed the "flash_attn" package.
Traceback (most recent call last):
  File "/home/zhcheng/projects/Emu3/function_test.py", line 14, in <module>
    model = AutoModelForCausalLM.from_pretrained(
  File "/home/zhcheng/.conda/envs/Emu3/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 551, in from_pretrained
    model_class = get_class_from_dynamic_module(
  File "/home/zhcheng/.conda/envs/Emu3/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 502, in get_class_from_dynamic_module
    final_module = get_cached_module_file(
  File "/home/zhcheng/.conda/envs/Emu3/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 327, in get_cached_module_file
    modules_needed = check_imports(resolved_module_file)
  File "/home/zhcheng/.conda/envs/Emu3/lib/python3.10/site-packages/transformers/dynamic_module_utils.py", line 182, in check_imports
    raise ImportError(
ImportError: This modeling file requires the following packages that were not found in your environment: flash_attn. Run 'pip install flash_attn'

Please make sure you have installed flash-attn correctly as specified in requirements.txt. Try running pip install flash-attn==2.5.7 or follow the official installation guidance.

@czhhzc Similar issue. Fixed with https://github.com/Dao-AILab/flash-attention/issues/966#issuecomment-2406753469


Warpcast signup and support without installing mobile app (android, iOS) - request for OSS APK option

This repository is for the Farcaster protocol, not Warpcast. Closing as not relevant.
Please use Warpcast's support channel linked in the app for assistance with Warpcast. Thanks!

Originally posted by @sds in https://github.com/farcasterxyz/protocol/issues/148#issuecomment-2023140772
Really sorry to ping on it - where can one find the roadmap to OSS of the mobile apps? As I cannot find them in your github org, but assume this is planned. :pray:
I sadly cannot use warpcast, not connect with support as suggested, until there is a non-apple/google option to use it, and really the app being OSS would be the real way to get started for me.

Warpcast is a proprietary client that we currently have no near-term plans to open source. If you desire a fully open source client, you'll have to build your own, or perhaps you might find one listed here (Note: this list is not maintained by Farcaster or Warpcast).


increase maxelemt to fit more than 65536 entries

:+1
Sorry it took so long. Didn't get a notification :(


Rate limit exceeded

Since a couple of weeks I get constant "Rate limit exceeded errors".
Seems like a call to "replies" is enough to trigger this, even without actually having any replies waiting?
Edit: The code for my bot can be seen here: https://github.com/jatocode/pequenoTweeter/blob/master/pequenoTweeter.rb

Do they release specific numbers on rate limitng? OR do you guys have any rules of thumb?
It seems my rate decreases every day.


RFI: Yii2: error handling and redirects

Hi.
First of all - thanks for a wonderful framework. It's absolutely glorious.
Just a request for information I guess. I bumped into a bug in my app recently. I have a custom error handler which for certain types of exceptions sets an exception message to flash and redirects user back.
It was implemented like this:
class CustomErrorAction extends ErrorAction
{
    public function run()
    {
        if (($exception = \Yii::$app->getErrorHandler()->exception) === null) {
            return '';
        }
        if ($exception instanceof CustomException) {
            $message = $exception->getMessage();
            \Yii::$app->session->setFlash('customexception', \Yii::t('app', $message));
            return $this->controller->redirect(\Yii::$app->request->getReferrer());
        }
        return parent::run();
    }
}

it used to work, but then I upgraded to 2.0.8 and it started to throw 500
so I found this note in the docs:
Note: If you need to redirect in an error handler, do it the following way:
Yii::$app->getResponse()->redirect($url)->send(); return;

and I changed implementation to this:
class CustomErrorAction extends ErrorAction
{
    public function run()
    {
        if (($exception = \Yii::$app->errorHandler->exception) === null) {
            return '';
        }
        if ($exception instanceof CustomException) {
            $message = $exception->getMessage();
            \Yii::$app->session->setFlash('customexception', \Yii::t('app', $message));
            $redirect = \Yii::$app->request->referrer;
            \Yii::$app->response->redirect($redirect)->send();
            return true;
        }
        return parent::run();
    }
}

and the bug's gone.
Just curious though, has there been a change in the core or my first approach was never correct and should not have worked in the first place?
Thank you!

I imagine that the error handler is called regardless if a controller exists. Suppose the error occurs for one of these reasons:

Controller does not exist.
Controller constructor throws an exception.

In these cases the controller, which you access via the service locator might not be available.
You can try it by checking out 2.0.7 and creating a controller that just throws an exception.

The behavior changed but it was never intended to work w/o ->send() in case of error handler.


[mask_rom] Implement shutdown

Implement shutdown initialization and best-effort SW shutdown.
Restructure the mask_rom's main in terms of shutdown.

I still have a bunch of work to do on this PR, but I wanted to give you a first look at the shutdown manager and let you see how the mask ROM's main function changes.

LGTM once you're happy @cfrantz and the tests are passing.
Test failure comes from the GCC build:
FAILED: sw/device/silicon_creator/lib/e09fd33<EMAIL_ADDRESS>c++ -Isw/device/silicon_creator/lib/e09fd33@@sw_silicon_creator_lib_shutdown_unittest@exe  -I../../s/sw/device/silicon_creator/lib -I/home/vsts/work/1/s -I/home/vsts/work/1/a/build-out -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Werror -std=c++14 -g -DHOST_BUILD -Wimplicit-fallthrough -Wswitch-default -Wno-error=unused-function -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -pthread -isystem../../s/sw/vendor/google_googletest/googlemock -isystem../../s/sw/vendor/google_googletest/googlemock/include -isystem../../s/sw/vendor/google_googletest/googletest -isystem../../s/sw/vendor/google_googletest/googletest/include -DMOCK_ABS_MMIO -MD -MQ 'sw/device/silicon_creator/lib/e09fd33<EMAIL_ADDRESS>-MF 'sw/device/silicon_creator/lib/e09fd33<EMAIL_ADDRESS>-o 'sw/device/silicon_creator/lib/e09fd33<EMAIL_ADDRESS>-c ../../s/sw/device/silicon_creator/lib/shutdown_unittest.cc
../../s/sw/device/silicon_creator/lib/shutdown_unittest.cc:207:1: error: static assertion failed: The default alert classification doesn't match the number of alerts
 static_assert(
 ^~~~~~~~~~~~~


Improve onlyIfUsing validation regex

Support dashes in group and artifact IDs
Fixes #3063

Looking back there was an earlier change to the regex in https://github.com/openrewrite/rewrite/pull/1447 ; the only change before that was the original introduction https://github.com/openrewrite/rewrite/pull/1436. Linking them here in case we need to revisit this again in the future.
Much improved, thanks!


Can I buy you a cup of coffee?

I really love your theme. I really do.  I will use it for two purposes:

professional resume like you did.
use this theme to build an online tombstone for myself after I die.

Your theme is simple and elegant.   I just can't stop loving it.
Can you pay you respect by supporting you? Do you have buymeacoffee ?

Thanks so much for your kind words, I really appreciate this. I've added a buymeacoffee button to the readme in the repo.
Also, here is my page
https://www.buymeacoffee.com/rohitjain00


Add media query API to Style

This adds media query support to Style, which brings us one step closer to server-side Style rendering.
To set up media queries, add a mediaQueries object to the rules array you pass to Style. Like rules, mediaQueries should be an array of objects with selectors as keys and style objects as values. You can use strings to define queries, as in
'(max-width: 500px)': [
  // styles
]

...or you can reuse previously MatchMediaBase.inited queries, as in
MatchMediaBase.init({
  lg: '(min-width: 1200px)'
});

...

lg: [
  // styles
]

(The changes to mixins/match-media-base and mixins/style-resolver are to expose the MatchMedia queries via MatchMediaItem.)
/cc @alexlande

This is great, awesome work!


convertToPdfPoint() function showing different co-ordinate

function showCoordinate(event){
var x=event.clientX;
var y=event.clientY;
var pageIndex = window.PDFViewerApplication.pdfViewer.currentPageNumber - 1;
var page = window.PDFViewerApplication.pdfViewer._pages[pageIndex];
var viewport = page.viewport;
var selected=viewport.convertToPdfPoint(x,y)
console.log(JSON.stringify(selected))
}
this is the function i use, to convert the mouse position to pdf point.The function is called when mouse is clicked.The problem is that it shows different point when i click the same postion in pdf for different zoom level.

Related to #6463?

The console shows different values for normal zoom for example it shows different values when zoomed from 100 to 150%

clientX/clientY does not show right mouse position in relation to page div/canvas. Closing as answered.
Please provide a concrete example online with steps to reproduce the issue. I was testing using the following -- it worked fine:
function showCoordinate(){
var pageIndex = window.PDFViewerApplication.pdfViewer.currentPageNumber - 1;
var page = window.PDFViewerApplication.pdfViewer._pages[pageIndex];
var x= 100 * window.PDFViewerApplication.pdfViewer.currentScaleValue;
var y= 100 * window.PDFViewerApplication.pdfViewer.currentScaleValue;
var viewport = page.viewport;
var selected=viewport.convertToPdfPoint(x,y)
console.log(JSON.stringify(selected))
}

setInterval(showCoordinate, 1000);

@yurydelendik How did you get 100? How to get x, y's values?

@yurydelendik How did you get 100? How to get x, y's values?

a very good question  🗡

Can anyone please provide a working example?


Dragged item is placed below footer

Jsfiddle link
https://sortablejs.github.io/vue.draggable.next/#/two-list-headerslots
Step by step scenario
The above link points to your demo.
Try to drag item from the second list to the first list from below.
I am doing this in FF.
Here is the result:

Note that "Jonny 4" is under the footer.
I think this is not right.
After I drop item it is placed correctly

Same, is there a workaround for this?

Got stuck with this as well and found a elegant workaround: for columns use flexbox with direction: column, for empty columns use direction: column-reverse.
Example with tailwindcss:
<VueDraggable
    ...
    :class="emptyColumn ? ['flex-col-reverse'] : ['flex-col']"
    class="flex"
/>

also have this issue, for now no workaround found

Same here 😕 This needs to be fixed.
In the meantime, I have a small workaround - register the :move="onMove" callback on the draggable element. Assuming that footer is always present and one element only.
async function onMove (e) {
    // Wait for DOM to be updated
    await nextTick();

    // Move the element before footer if needed
    if (e.to.lastElementChild === e.dragged) {
        e.to.removeChild(e.dragged);
        e.to.insertBefore(e.dragged, e.to.lastElementChild);
    }
}

any updates on this ?

Same bug happens here https://sortablejs.github.io/Vue.Draggable/#/footerslot (SortableJS/Vue.Draggable)
https://user-images.githubusercontent.com/14107127/220333225-af33c8d7-0100-470b-8481-548516db7a87.mp4

If anyone else if having an issue, this solution worked for me:
function fixFooter(e) {
   if (e.relatedContext.list.length === e.draggedContext.futureIndex) {
     let newListDom = e.to

     let newListFooter = e.to.lastChild
     nextTick(() => {
       newListDom.appendChild(newListFooter);
     });
   }else {
     let currentListDom = e.from;
     let currentListFooter = e.from.lastChild;
     nextTick(() => {
       currentListDom.appendChild(currentListFooter);
     });
   }
 }

Then add :move="fixFooter" to your draggable element.

There is also another solution for this without using JavaScript, which works better if we want to use a transition effect. The previous solutions do not work properly with transitions; the footer jumps instead of transitioning smoothly.
My solution was to set the parent's display property to display: flex. Then, I added order: 1 to all child elements, but for the footer element, I added order: 2. This simple workaround works like a charm for me.


reflect: promoted methods or fields should be detectable

What version of Go are you using (go version)?
1.8.3
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/mnt/work/go1.8.3/global"
GORACE=""
GOROOT="/mnt/work/go1.8.3"
GOTOOLDIR="/mnt/work/go1.8.3/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build193876869=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
Issue
Currently promoted fields and methods are indiscernible in reflection, this causes issues encoding and decoding issues because doing a deep dive into the struct it is impossible to determine if a field or method is associated with the parent struct or inherited from the embedded structure. There is scattered references to this issue across github, like #17609 where the ambiguity between the top struct and embedded struct causes issues.
Here is a small example demonstrating the issue with methods, though the same can be said for fields as well.
https://play.golang.org/p/hGgtJLJJPI
And another demonstrating how the json encoding mechanism fails to fully encode data because of this
https://play.golang.org/p/2oOXH2uzWy
What would you like to see
Likely easiest to add a method to reflect.Value so that you can check to see if a field/method was promoted. At the root of it they must both reference the embedded field or method.
What did you see instead?
Confusion chaos and guessing

These are indistinguishable in the language and should probably also be indistinguishable to reflect. In fact, if anything I would lean toward making reflect expose less about structs, not more. Anything we expose with reflect becomes something that's nearly impossible to fix in a refactoring, even though from a language level you'd expect no one could tell the difference.

I disagree with the statement that Go makes inherited fields indistinguishable from other fields.  For example this shows that the language allows for directly referencing the variable through the embedded type name. Since the language does allow for this then, following your above logic, reflect should be able to do the same.

I disagree with the statement that Go makes inherited fields indistinguishable from other fields.  For example this shows that the language allows for directly referencing the variable through the embedded type name. Since the language does allow for this then, following your above logic, reflect should be able to do the same.

The reflect package does permit doing that.  https://play.golang.org/p/6OWqt9wNVR .


LC API V50 may collide with Company Cruiser Storage

Hello, I dunno is it right to leave question here, but recently I played Lethal Company with your 'LC API V50' mod.
But when I tried to load any scraps in Cruiser Trunk, it just fell down to ground.
I checked all of my mod but, only LC API V50 affected that cruiser bug.
When I turned off that mod, I could place scraps inside Cruiser Storage.
So what factor in LC API mod would affect Cruiser Storage? Could you check it please?

Hey, it would probably should be go to LC API repository, but I noticed that it didn't have "Issues" tab, so that's on me and it's fine to leave it here.
Regarding the issue, I can't promise anything, but I will take a look at it. LC API is in perpetual "maintenance state", meaning I would be willing to update for newer versions, but I can't promise it won't break at one point.
Thanks for the report! Happy New Year!

Thanks alot, You are doing great job btw.
Happy new year and hope you find anything easily.


Electricity data

Hello, thanks for your work!
Can you share the train.py that runs the electricity dataset? As your paper says, you split the 370 channels into 10 batches, How to modify train.py?
I tried modifying it ，but it will take three times as long to run electricity dataset as take to run the PTB-XL dataset ，I'm not sure what I modified was correct. Here's what I modified, Can you confirm that it is correct？

Hello
have a look at this file: https://github.com/AI4HealthUOL/SSSD/blob/main/docs/instructions/Solar/updated_solar.ipynb
it contains clear instructions of how to split and pre-process a dataset for the channel splitting approach, for both training and inferencing (which might include scaling)
I hope it helps

Thank you for your reply! I have seen updated_solar.ipynb,I didn't understand something.
Can you tell me what "path_to_real1, 2" and "path_to_imputation1, 2" are?
And Is this code used in inference.py？

hello
in case you inference(generate) by batches and save each batch you might need to concatenate the data before use, that is what the paths supposed to load (the generated data). Precisely, everything under these lines of code is for inference, see mse below
I hope it helps

Thank you!

I want to confirm whether we need to concatenate the splitted channels back when calculating MSE on the inference process?

would be idea to have a twin batch (Generated) over the original (Real) batch to compare, altough you could compute MSE over diverse batches...


[CI] Add GitHub CI job running clang-format

Summary
It would be useful if the GitHub CI would check that a PR is formatted before merging it.
Problem statement
Automatically checking the code is formatted is safer than having a check box on a PR.
I have also seen some differences in the formatted code which may be due to different clang-format versions. Integrating this check in GitHub would clarify what the source of truth is.
Preferred solution
The preferred solution is for GitHub to have a job that runs clang-format. It should be possible to set it up so that the action automatically pushes the commit fixing the formatting. If this is not possible showing the diff would be useful.
I would suggest to use whichever clang-format version is shipped with the oneAPI base toolkit in oneapi/compiler/latest/bin/compiler/clang-format, assuming there is no plan to remove that.

Pinging @oneapi-src/onemkl-arch-write and @rscohn2 who may have opinions on that.

I plan to work on this. If we are OK with the old clang-format-9, which is used in the internal CI, we can continue using that version. Or we can switch to a newer version together in our CI. This direction needs more work. For clang-format in the base toolkit, my concern is that it might be extra work for contributors to download the package if they want to run the format check and it could be annoying if it gives different results from release to release.

That's good to know, thanks!
On the contrary, I think my suggestion to use the clang-format binary from the oneAPI package should avoid developers to download more packages. As of today DPC++ is by far the most supported SYCL implementation in oneMKL Interface so most people will have it available already.
Besides clang-format-9 is very old, the latest version available is 19. This means that not only very few developers have this package lying around already but also we can run into weirdly formatted code.
I don't expect there will be much changes from release to release if any to be honest.

I use pre-commit to manage the code checks. It will automatically download clang-format and you have full control over versions.  It supports excluding directories, etc. It integrates 100's of checkers.
pre-commit is a python package so developers would create a python virtualenv and install pre-commit into it. You do not typically have to install anything else.
Here is a sample: https://github.com/oneapi-src/distributed-ranges/blob/main/.pre-commit-config.yaml
The local id at the bottom are project-specific checks that are integrated into the framework.
The minimal bootstrap is:
python3 -m venv .venv
source .venv/bin/activate
pip install pre-commit

I rely on the git commit hook so my typical workflow is:
git add --all
git commit -m "commit message"
# pre-commit typically will fix all issues that it finds, git diff if you want to see what it did
git add --all
git commit -m "commit message"

It you don't like the hook then run manually:
pre-commit run --all

pre-commit is nice but I don't think it answers all the issues here. Even if it is documented, not everyone will use it and we're not sure people will use the same clang-format version.

Basically clang-format-9 is out. We have power shutdown for several days. I will start evaluating newer clang-format and the one in oneAPI next week.

pre-commit is nice but I don't think it answers all the issues here. Even if it is documented, not everyone will use it and we're not sure people will use the same clang-format version.

There is a decision to make about whether the github action re-formats and commits the changes or merely checks and rejects misformatted commits. pre-commit can work either way, and it can show the diffs for a rejected commit. I prefer check and reject for the following reasons:

reformatting can break the build (e.g. sorting of includes)
if github action modifies your code, the PR branch is out of sync with your local copy, requiring pull if you want to keep editing. It can be confusing for some developers.
I occasionally use directives to turn off automatic forwarding for sections of code. I prefer having an opportunity to review the formatting before committing.
workflow needs extra permissions

pre-commit makes it much easier for a developer to do local formatting and exactly match the CI system behavior.  You don't have to install clang-format. The clang-format version and how to run it is in a config file. It knows how to only check the files you are modifying in the commit. It makes it easy to add the checking as a commit hook.
After you add pre-commit, it is easy to add checkers for all the files, not just the C++ files.

I have no strong preference whether the GitHub action applies the changes or merely checks and reject. If we go with the latter we should ideally make the diff available to download or copy so the developer can easily apply the changes IMO.
I'm trying to understand how pre-commit relates to the suggestion of using a GitHub action. To me they are quite different because to my knowledge there is no way to force developers to use pre-commit. pre-commit can be used alongside the GitHub action of course.
Now I'm thinking maybe you will want the GitHub action to re-use the same scripts and clang-format version than pre-commit is using? I don't know if that's possible. If so then this is a good argument for using whichever recent version is available at https://github.com/pre-commit/mirrors-clang-format I suppose.

This is the way I usually integrate pre-commit into a github workflow: https://github.com/oneapi-src/distributed-ranges/blob/02bbffb64546748f1c974ee9c67efeac3bbb18e8/.github/workflows/pr.yml#L34
It will reject commits that are not formatted (or fail the other checkers). When it fails because of formatting, it displays the diffs in the log. If you want automatic fixup, you would add an extra step to commit the results.
There is also a pre-commit action in the marketplace that works well. I think it does a better job of caching installs between runs. I don't use it because intel does not allow 3rd party github actions for internal repos.
A benefit of using pre-commit is that it makes it easier to run locally, easier to integrate into a CI workflow, ensures consistency between local development and CI environments. It is worthwhile to use if you only want to run clang-format, but it also makes it easier to run checkers/formatters for python, yaml, rst, sh, .... When you have multiple repos, you only need to copy .pre-commit.yaml and the github workflow and you get all the same checking/formatting.

Ok I better understand what you mean now. This is a possible solution then. With this solution we will still have to agree on a version for clang-format. I am hoping it will be something more recent than 9!
I needed to make sure that your suggestion was not only to ask developers to setup the pre-commit scripts from Git (even if it helped with some pip packages).

I am hoping it will be something more recent than 9!
https://github.com/pre-commit/mirrors-clang-format
installs clang-format from https://pypi.org/project/clang-format/
The version numbers for both indicate the version of clang-format. 19.1.1 is the latest available.

Thanks @rscohn2 for suggesting pre-commit! It's sooo easy to experiment with different clang-format versions! I think our Infra team will also be happy about it.  :smile:
After we add a .pre-commit-config.yaml with the specified clang-format version in the repository, as Robert said, to run clang-format check all you need to do is
python3 -m venv .venv
source .venv/bin/activate
pip install pre-commit
cd <onemkl_interfaces_repo>
pre-commit run --all-files

We can add the --show-diff-on-failure option to show diff.
I ran different clang-format versions back-to-back to see if we want to stay with one version for some time, say 1 year or more, or always use the latest version. The results are shown in the following table. I first applied v9.0.0 to the current HEAD commit, then I commit the format changes. The new commit is shown as "v9.0.0 commit" in the table. I repeated this process with different versions, whose release dates are included in the parentheses.

I agree that clang-format should only be suggestion not enforcement. In other words, we should be able to add // clang-format off/on when the suggestion doesn't make sense.

That's interesting! I'd say using 19.1.0 for a while is fine then.


when I run the model .the error happened :

TypeError: Input 'input_sizes' of 'Conv3DBackpropInputV2' Op has type float32 that does not match expected type of int32.

@AmyWan could you give the entire error output so I can see where in the code this happened?

thank your reply.I am very happy.The question is that the network in G,the function in model.py called generator_20. ( net_2 = Deconv(net_1, gf_dim, half,'2', batch_size)),it stoped and had the error printed in the console (Input 'input_sizes' of 'Conv3DBackpropInputV2' Op has type float32 that does not match expected type of int32.)

Using TensorFlow backend.
WARNING:tensorflow:From C:\Users\WXX\Desktop\tf3D\scripts\models.py:65: set_name_reuse (from tensorlayer.layers.core) is deprecated and will be removed after 2018-06-30.
Instructions for updating:
TensorLayer relies on TensorFlow to check name reusing.
[TL] this method is DEPRECATED and has no effect, please remove it from your code.
[TL] InputLayer  gen/g/net_0/in: (256, 200)
[TL] DenseLayer  g/net_1/dense: 2048 identity
[TL] ReshapeLayer gen/g/net_1/reshape: (256, 2, 2, 2, 256)
[TL] BatchNormLayer g/net_1/batch_norm: decay:0.900000 epsilon:0.000010 act:identity is_train:True
[TL] DeConv3dLayer g/net_2/deconv: shape:[4, 4, 4, 128.0, 256] out_shape:[256, 4, 4, 4, 128.0] strides:[1, 2, 2, 2, 1] pad:SAME act:identity
Traceback (most recent call last):
File "E:\Python35\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 510, in _apply_op_helper
preferred_dtype=default_dtype)
File "E:\Python35\lib\site-packages\tensorflow\python\framework\ops.py", line 926, in internal_convert_to_tensor
ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
File "E:\Python35\lib\site-packages\tensorflow\python\framework\ops.py", line 774, in _TensorTensorConversionFunction
(dtype.name, t.dtype.name, str(t)))
ValueError: Tensor conversion requested dtype int32 for Tensor with dtype float32: 'Tensor("gen/g/net_2/deconv/conv3d_transpose/output_shape:0", shape=(5,), dtype=float32)'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/Users/WXX/Desktop/tf3D/32-3D-Gan.py", line 45, in
net_g , G_train     = generator_32(z, is_train=True, reuse = False, sig= True, batch_size=args.batchsize)
File "C:\Users\WXX\Desktop\tf3D\scripts\models.py", line 74, in generator_32
net_2 = Deconv(net_1, gf_dim, eighth, '2', batch_size)
File "C:\Users\WXX\Desktop\tf3D\scripts\models.py", line 20, in Deconv
act=tf.identity, name='g/net_' + net + '/deconv')
File "E:\Python35\lib\site-packages\tensorlayer\deprecation.py", line 24, in wrapper
return f(*args, **kwargs)
File "E:\Python35\lib\site-packages\tensorlayer\layers\convolution.py", line 543, in init
tf.nn.conv3d_transpose(self.inputs, W, output_shape=output_shape, strides=strides, padding=padding)
File "E:\Python35\lib\site-packages\tensorflow\python\ops\nn_ops.py", line 1428, in conv3d_transpose
name=name)
File "E:\Python35\lib\site-packages\tensorflow\python\ops\gen_nn_ops.py", line 1083, in conv3d_backprop_input_v2
data_format=data_format, name=name)
File "E:\Python35\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 533, in _apply_op_helper
(prefix, dtypes.as_dtype(input_arg.type).name))
TypeError: Input 'input_sizes' of 'Conv3DBackpropInputV2' Op has type float32 that does not match expected type of int32.

could you help me ?

If I had to guess this is a version issue for TensorFlow. Did you manage to find a solution?

thank your reply,I am so appreciate.I had tried many versions,and finally find that python version caused the error.So I changed the code the function Deconv()in modes.py,like this ,f_dim_out=int(f_dim_out/2),it worked.


Add tests for the return value of Route::setArgument and Route::setArguments methods

Similar in how it's tested in Route::testSetName

Coverage remained the same at 97.812% when pulling 3c6dc83e82207ef60b8df126221ef1f20eacba7b on piotr-cz:test/chain-route-setArgument into 0618c56a3a2c6f6e621a11d2863712969ddc0670 on slimphp:3.x.

Travis job failed for php 5.5 because of

No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.

The actual PHP 5.5 error is [Composer\Downloader\TransportException] Peer fingerprint did not match` - we need to solve this.
Getting it here https://travis-ci.org/slimphp/Slim/jobs/414476047`


Dropdown: Add active state in default slot scope

Description
I would like to access the dropdown state (isActive) inside the default slot. For the trigger slot, this already exists.
This is very useful when you need to customize this slot.
Why Oruga need this feature
This is the objective of Oruga, which is to be able to customize the components.

@marcosgomesneto The trigger slot already shares active prop 😉

Why do you need it? When the slot is visible then active is true

@marcosgomesneto any news about my question?


Weird output in interpreter example, erlang binary being split?

Based on the interpreter-in-browser example.
Given this:
    'Elixir.Lumen.Web.Document':create_text_node(_document@1,
                             <<"This new text was created through Elixir in your browser. Which we all know is great. And glorious. And strange. And fine. And what is that? Oh my god! I'm writing long text!">>),

I can create the correct text.
Given this, by my formatter:
'Elixir.Lumen.Web.Document':create_text_node(_document@1,
                             <<"This new text was created through Elixir "
                               "in your browser. Which we all know is "
                               "great. And glorious. And strange. And "
                               "fine. And what is that? Oh my god! I'm "
                               "writing long text!">>),

I get a partial text which only includes the last two "lines". This:
fine. And what is that? Oh my god! I'm writing long text!
Am I missing something?

I was able to reproduce when prepping the demo for FOSDEM, but didn’t have time to look into it.


Style Guide and Diataxis Review: Streams V

Description of change
TW style guide and Diataxis review applied to Streams documentation. Only the Library C: API Reference section was reviewed.
Type of change

Documentation Fix

Change checklist
Add an x to the boxes that are relevant to your changes, and delete any items that are not.

[x] I have followed the contribution guidelines for this project
[x] I have made corresponding changes to the documentation

@iotaledger/tech-writers Its not dense, just long. Some headers could probably be consolidated/removed but wanted more opinions.

There is so much passive voice. It's almost in every sentence.


Implement Exponential Backoff for ThrottlingException in InvokeModel Calls

Issue:
Encountering botocore.errorfactory.ThrottlingException when using invoke_model due to rate limits. AWS recommends exponential backoff for API retries.
Current Function:
def _call_model(self, body: str) -> str:     return self.predictor.invoke_model(modelId=self._model_name, body=body, accept="application/json", contentType="application/json")
Question:
Would a PR implementing exponential backoff with the backoff library for this operation be welcome? Keen to contribute a solution to improve request reliability.

Hi @aazizisoufiane , a PR would definitely be welcome! Just curious though, which AWS model were you using for this? I'm assuming Anthropic since I only see that AWS LM configured with backoff but I know @drawal1 is working on a AWS LM refactor in #795  so feel free to check out if it's handled there or if it needs to be added.

@arnavsinghvi11 PR #795 does not implement any special code for exponential backoff so it would be welcome. @aazizisoufiane can implement once PR #795 is merged.
just noticed there is a dsp/modules/aws_lm.py file that will also be obsolete after PR #795. Deleting it so there's no confusion...


Hide Threads with No Comments from LHN

Details

After the navigation reboot, we created a HOC withCurrentReportId. However, we did not pass this info down to SidebarUtils.getOrderedReportIDs(). This is necessary because we never want to filter out the current report from the LHN.
Because of these changes, I also renamed withCurrentReportId to withCurrentReportID to follow our naming conventions for acronyms.
Fixed Issues

$ https://github.com/Expensify/App/issues/19205
Tests

[ ] Verify that no errors appear in the JS console
[ ] Create a thread from a message, ensure that the thread report appears in the LHN
[ ] Click another report, ensure that the threaded message with no replies no longer appears in the LHN
[ ] Create a thread from a message, and comment
[ ] Click another report, ensure that the threaded message with no replies remains in the LHN

Offline tests

QA Steps

[ ] Verify that no errors appear in the JS console
[ ] Create a thread from a message, ensure that the thread report appears in the LHN
[ ] Click another report, ensure that the threaded message with no replies no longer appears in the LHN
[ ] Create a thread from a message, and comment
[ ] Click another report, ensure that the threaded message with no replies remains in the LHN

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Mobile Web - Safari

Desktop

iOS

Android

Just need to update our sidebar tests to account for this change

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

https://github.com/Expensify/App/assets/25520267/839225c1-9ffe-4f9b-9db4-ef2e18d374c1

Mobile Web - Chrome

19375 mWeb:Chrome.webm

Mobile Web - Safari

https://github.com/Expensify/App/assets/25520267/e6378a98-f030-4eda-b529-a03c63556a2f

Desktop

https://github.com/Expensify/App/assets/25520267/29d56f58-959f-47dd-98d5-5154d1535452

iOS

https://github.com/Expensify/App/assets/25520267/7c81e354-9277-469d-9d57-d4f1b1bfd9ed

Android

19375 Android.webm

fixed merge conflicts, and addressed @WoLewicki's comment

@mollfpr sorry, will need to submit the review again, I tried using pullerbear since @stitesExpensify is OOO

Looks like there are more conflicts :(

Fixed conflicts

Testing well too. 🚢

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/stitesExpensify in version: 1.3.35-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.35-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.35-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


There is no "would you like to create a VM\Volume?" message

Steps to reproduce

Create a new User account.
Log in with this account
Go to VM / Volume section

Actual result

There is no modal window that asks you about creating your first VM / Volume.
Expected result

There is a modal window that asks you about creating your first VM / Volume.
Environment

Browser:
- [ ] Chrome version XX
- [ ] Firefox version XX
- [ ] Safari version XX
- [ ] Opera version XX
- [ ] IE version XX
- [ ] Edge version XX

Others:

Connected feature ID

vm_propose_create
storage_propose_create

Screenshots

For QA:
Also find a small bug: volumes doesn't deleting (console error appears)

@ershovaelena Changes requested after review

Regression:
vm_propose_create
storage_propose_create

@tamazlykar
1. Different highlights of options in the dialog: No/No, don't ask and Yes
(for VM and Storage)

2. The dialog appear even if there are entities

after login (dialog about VM)
after refresh the VM page (dialog about VM)
after refresh the Storage page (dialog about Storage)

3. Select "No, don't ask" - the dialog still appear
(for VM and Storage)
Steps:

For VM/Storage select "No, don't ask"
Refresh VM/Storage section

Actual: the dialog appear
Expected: the dialog doesn't appear
4. "No, don't ask" saves for Storage after logout
Steps:

Select "No, don't ask" for Storage
Logout and login
Go to Storage

Actual: the list is empty but the dialog doesn't appear
Expected: the list is empty, the dialog appear
5. Dialog doesn't appear for Storage after delete the last disk
Steps:

Make sure that the lists (VM and Storage) are empty
Create a VM
Make sure that in Storage appear one root disk
Delete the newly created VM
Go to Storage

Actual: the dialog doesn't appear
Expected: the dialog appear

Not a bug. This is the expected behavior.
All other - fixed.
Please, retest all.

@tamazlykar
1. After logout the dialog (about VM and Storage) appears one or few times
I was able to repeat this only for users "develop" and "user"
After every press on some option in the dialog the background behind becomes lighter

2. Select "No, don't ask" - the dialog still appear
To reproduce this bug follow the steps slowly
Steps:

Create a new user and login under this user
Press "No, don't ask" in VM/Storage
Go to another section or refresh the page
Back to VM/Storage

Actual: the dialog appear
Expected: the dialog doesn't appear

@tamazlykar
Tested on 1192


How does floem integrate OpenGL or wgpu to display 3D models?

Does Floem have any widgets for rendering 3D models, or is there a way to embed OpenGL or wgpu into a specific area? If possible, could you provide an example?
Thank you very much.

It doesn't yet. #687 is a tracking issue for this.


Open Browser App when a Button is Touched

from kivymd.uix.button import MDFlatButton
from kivymd.uix.screen import Screen
from kivymd.uix.floatlayout import FloatLayout
import webbrowser

class DemoApp(MDApp):

	def build(self):
		screen = Screen()
		btn = MDFlatButton(text='Open Browser', pos_hint={'center_x': 0.5, 'center_y': 0.5},
		 on_release=self.open_browser)
		screen.add_widget(btn)
		return screen

	def open_browser(self, obj):
		webbrowser.open('www.google.co.in')

if __name__ == "__main__":
	DemoApp().run()```

using the above code

from kivymd.app import MDApp
from kivymd.uix.button import MDFlatButton
from kivymd.uix.screen import Screen
from kivymd.uix.floatlayout import FloatLayout
import webbrowser
class DemoApp(MDApp):
def build(self):
screen = Screen()
btn = MDFlatButton(text='Open Browser', pos_hint={'center_x':
0.5, 'center_y': 0.5},
on_release=self.open_browser)
screen.add_widget(btn)
return screen
def open_browser(self, obj):
webbrowser.open('www.google.co.in')
if name == "main":
DemoApp().run()
On Sat, 13 Jun 2020 at 03:46, Kulothungan16<EMAIL_ADDRESS>wrote:

using the above code
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/HeaTTheatR/KivyMD/issues/351#issuecomment-643586564,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APTOQ2YHBHUARWXBGS24MALRWMVHBANCNFSM4N44CFAQ
.

thx bro
On Sat, Jun 13, 2020 at 10:53 PM yari-iran<EMAIL_ADDRESS>wrote:

from kivymd.app import MDApp
from kivymd.uix.button import MDFlatButton
from kivymd.uix.screen import Screen
from kivymd.uix.floatlayout import FloatLayout
import webbrowser
class DemoApp(MDApp):
def build(self):
screen = Screen()
btn = MDFlatButton(text='Open Browser', pos_hint={'center_x':
0.5, 'center_y': 0.5},
on_release=self.open_browser)
screen.add_widget(btn)
return screen
def open_browser(self, obj):
webbrowser.open('www.google.co.in')
if name == "main":
DemoApp().run()
On Sat, 13 Jun 2020 at 03:46, Kulothungan16<EMAIL_ADDRESS>wrote:

using the above code
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/HeaTTheatR/KivyMD/issues/351#issuecomment-643586564
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/APTOQ2YHBHUARWXBGS24MALRWMVHBANCNFSM4N44CFAQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HeaTTheatR/KivyMD/issues/351#issuecomment-643652725,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APF63F7ZJEO4G7OJC2WWKNTRWOY27ANCNFSM4N44CFAQ
.


acceptable CryptoKey in JWT sign and verify

What I did

acceptable private key to verify jwt
fixed code to accept CryptoKey object
To clarify the responsibilities of jwa and jws, we have added files that refer to each and moved the logic to them.

Author should do the followings, if applicable

[x] Add tests
[x] Run tests
[x] yarn denoify to generate files for Deno

Git operation failed 😇


functional tests: Add tests for trust with discovery.

This PR:

Adds a new, "pubkey" insecure option, so we can temporarily (by creating a second keystore in /tmp) trust keys from HTTP(S). We need this for testing, because local ACI server uses an invalid certificate (apparently for example.com, not for localhost), so to be able to download anything from it, we need to pass a "tls" insecure option. But then, the keys from discovery weren't downloaded at all.
Adds a --simple-output boolean flag to all the commands that may fetch images (run, fetch, prepare), so we will print some simple messages about downloading stuff instead of progress bars. I added that because it was sometimes randomly botching the output from gexpect on semaphore and some strings weren't found. This is not a complete fix - there are bugs in gexpect too, that needs to be addressed or already were at upstream, I'll have to see.
Makes some small fixes and refactorings in some rkt functions and ACI test server, like actually sending ac-discovery-pubkeys meta tag with a path to the "pubkeys.gpg" from the uploaded file set.
Makes some minor fixes I spotted in the meantime, like deduplicating global flags documentation (ew!) or adding a missing --signature flag to the prepare command.
Adds the test. It has 108 iterations (generated, instead of written manually so it adds up to complexity a bit, sorry about that) which are basically all combinations of signatures (4), keys on the server (3), keys to be trusted (3) and trusting keys from HTTPS scenarios (3). See the message of the last commit for the details.

Fixes #2070.

Can you make independent PRs for the commits adding user-facing API? (--simple-output, pubkey) So they can be discuss separately.

Will do.

--insecure-options=pubkey - https://github.com/coreos/rkt/pull/2278
--simple-output - https://github.com/coreos/rkt/pull/2279
missing --signature flag in the prepare command - https://github.com/coreos/rkt/pull/2280

Will rebase this PR, when at least two first PRs are merged.

@krnowak The 3 PRs mentioned above are either merged or closed. Is there still something to do in this PR? If so, it needs a rebase.

Ping

This task does not have a owner.
#2070 has milestone vfuture. Moving this the same.


Spellforce platinum edition crash on save

Game crashes when autosaving(with ESC button), quicksaving(F7) and on manual save. Happens both on windows and linux.
With dxvk 1.5.4 the game doesn't crash, but savegame preview is a black square.
Also on linux framerate is very low if i don't constantly move the cursor.
Software information
Spellforce: Platinum Edition steam
System information

GPU: rx5700xt
Driver: <IP_ADDRESS> on windows / Mesa 22.0.1 on linux
Wine version: Proton GE 7-24
DXVK version: 1.10.1

Apitrace file(s)
Windows: https://drive.google.com/file/d/1PJis9yE40_K-85_cEfd73kr39xamYXPm/view?usp=sharing
Log files

d3d9.log: SpellForce_d3d9.log

Hi there.
Could you quickly check if anything changes with this build.
https://github.com/doitsujin/dxvk/actions/runs/2641529958

That PR should fix it.

That fixed the crashing for me. However, this brought another problem - RDNA cards don't render some interface elements in spellforce(healtbars, manabars, circles around selected units etc.) on windows with native d3d9.
Previous versions of DXVK fixed this, but dxvk with crash fix makes parts of the interface disappear again both on windows and linux.

In which version did it used to work? 1.10.1?
Are those elements displayed in the trace and can you provide screenshots.

Please add some screenshots of what it looks like with DXVK and what it should look like.

Here is how it looks in 1.10.1 - all hud elements working as they should

Here is how it looks with dxvk from spellforce branch. It also looked like that when i was making a trace on windows.

Your apitrace never has those health bars. It ends pretty much immediately after the cutscene.

Should i make another one where i select a unit with a healthbar after a cutscene?

I've already identified an issue. I hope that's also what causes the missing health bars.
For reference in the future:
This is a regression caused by the null descriptor changes. Before that we used the resource-bound spec constant to get the value 0, 0, 0, 1 for unbound resources. Now we sample the null descriptor and get the value 0, 0, 0, 0.

I've updated the PR with a fix for the missing UI elements.

Quickly checked it on linux and windows - UI is now displayed correctly and the game doesn't crash when saving.
I didn't expect to get a complete fix in just a day. Thank you very much!)


Enable empty enclosure, support imports into old systems

Introduction
Enable empty enclosure
Set enclosure now accept an even empty string. Most of the old systems, for which we might create CSVs, do not accept CSV import with quote enclosure or any other, that's why the library should be flexible
Proposal
setEnclosure('') - removed the exception if the enclosure is less then 1 char
Backward Incompatible Changes
No need
Targeted release version
9.0.1

Hi this issue has been raised before see #24 you can't just do that using native php functions, the only correct way to achieve empty enclosure is to use the library stream filter capabilities or to develop your own userland CSV parser


Your PC ran into a problem, Stop code: inacessible boot device

Hi there,
I was using the following config.ini with a windows 2016 iso and try to deploy the resulting image to maas.
[DEFAULT]
# The location of the WIM file from the mounted Windows ISO.
wim_file_path=F:\Sources\install.wim
# This is the complete name of the Windows version that will be generated.
# In order to find the possible options, use the Get-WimFileImagesInfo command
# and look for the Name property.
image_name=Windows Server 2016 SERVERSTANDARD
# The destination of the generated image.
image_path=C:\Users\foobar\win2016-image.img.gz
# Select between VHD, VHDX, QCOW2, VMDK or RAW formats.
virtual_disk_format=RAW
# This parameter allows to choose between MAAS, KVM, VMware and Hyper-V specific images.
# For HYPER-V, cloudbase-init will be installed and the generated image should be in vhd or vhdx format.
# For MAAS, in addition to cloudbase-init, the curtin tools are installed
# and the generated image should be in raw.tgz format.
# For KVM, in addition to cloudbase-init, the VirtIO drivers are installed
# and the generated image should be in qcow2 format.
image_type=MAAS
# This parameter can be set to either BIOS or UEFI.
disk_layout=BIOS
# The product key for the selected OS. If the value is default_kms_key and the Windows image is
# ServerStandard or ServerDatacenter (Core), the appropiate KMS key will be used.
product_key=foo-bar-baz
# A comma separated array of extra features that will be enabled on the resulting image.
# These features need to be present in the ISO file.
extra_features=""
# A comma separated array of extra capabilities that will be enabled on the resulting image.
# These capabilities need to be present in the ISO file.
extra_capabilities=""
# It will force the image generation when RunSysprep is False or the selected SwitchName
# is not an external one. Use this parameter with caution because it can easily generate
# unstable images.
force=False
# If set to true, MAAS Windows curtin hooks will be copied to the image root directory.
install_maas_hooks=True
# Select between tar, gz, zip formats or any combination between these.
compression_format=gz
# If this parameter is set, after the image is generated,
# a password protected zip archive with the image will be created.
# compression_format must contain zip in order for this parameter to be used
zip_password=""
# It will stop the image generation after the updates are installed and cleaned.
gold_image=False
# This is the full path of the already generated golden image.
# It should be a valid VHDX path.
gold_image_path=""
# This is a full path to the VMware-tools.exe version that you want to install.
vmware_tools_path=""
# This is the full path of a folder with custom resources which will be used by
# the custom scripts.
# The resources found at this path will be copied recursively to the image
# UnattendResources\CustomResources folder.
custom_resources_path=""
# This is the full path of the folder which can contain a set of PS scripts,
# that will be copied and executed during the online generation part on the VM.
# The PowerShell scripts, if existent, will be started by Logon.ps1 script,
# at different moments during image generation.
# The purpose of these scripts is to offer to the user a fully
# customizable way of defining additional logic for tweaking the final image.
# The scripts files can have the following names: RunBeforeWindowsUpdates.ps1,
# RunAfterWindowsUpdates.ps1, RunBeforeCloudbaseInitInstall.ps1, RunAfterCloudbaseInitInstall.ps1,
# RunBeforeSysprep.ps1, RunAfterSysprep.ps1.
# The script names contain the information on when the script will be executed.
# One can define only some of the hook scripts and it is not mandatory to define all of them.
# If a script does not exist, it will not be executed.
custom_scripts_path=""
# If set to true the Administrator account will be enabled on the client
# versions of Windows, which have the Administrator account disabled by default
enable_administrator_account=False
# Whether to shrink the image partition and disk after the image generation is complete.
shrink_image_to_minimum_size=True
# If set to true, a custom wallpaper will be set according to the values of configuration options
# wallpaper_path and wallpaper_solid_color
enable_custom_wallpaper=True
# If set, it will replace the Cloudbase Solutions wallpaper to the one specified.
# The wallpaper needs to be a valid .jpg/.jpeg image.
wallpaper_path=""
# If set, it will replace the Cloudbase Solutions wallpaper to a solid color.
# Currently, the only allowed solid color is '0 0 0' (black).
# If both wallpaper_path and wallpaper_solid_color are set,
# the script will throw an error.
wallpaper_solid_color=""
# If set, the animation displayed during the first login on Windows Client versions will be disabled.
disable_first_logon_animation=False
# If set to true and the target image format is QCOW2, the image conversion will
# use qemu-img built-in compression. The compressed qcow2 image will be smaller, but the conversion
# will take longer time.
compress_qcow2=False
# If set to true, during final cleanup, https://github.com/felfert/ntfszapfree will be used to zero unused space.
# This helps qemu-img to minimize image size. In order to benefit from this, an additional invocation
# of qemu-img convert must be performed after the initial run of the image has shutdown.
zero_unused_volume_sectors=False
# A comma separated list of extra packages (referenced by filepath)
# to slipstream into the underlying image.
# This allows additional local packages, like security updates, to be added to the image.
extra_packages=""
# Ignore failures from DISM when installing extra_packages, such as when
# updates are skipped which are not applicable to the image.
extra_packages_ignore_errors=False
# Enables shutdown of the Windows instance from the logon console.
enable_shutdown_without_logon=False
# If set to true, firewall rules will be added to enable ping requests (ipv4 and ipv6).
enable_ping_requests=False
# If set to true, use EUI-64 derived IDs and disable privacy extensions for IPv6.
# If set to false, the IPv6 protocol might not work on OpenStack or CloudStack.
# See https://github.com/cloudbase/windows-openstack-imaging-tools/issues/192
enable_ipv6_eui64=False
# If set to true, it will set the High Performance mode and some power mode
# and registry tweaks to prevent the machine from sleeping / hibernating.
enable_active_mode=False
[vm]
# This will be the Administrator user's, so that AutoLogin can be performed on the instance,
# in order to install the required products,
# updates and perform the generation tasks like sysprep.
administrator_password=Pa$$w0rd
# Used to specify the virtual switch the VM will be using.
# If it is specified but it is not external or if the switch does not exist,
# you will get an error message.
external_switch=ExSwitch
# The number of CPU cores assigned to the VM used to generate the image.
cpu_count=2
# RAM (in bytes) assigned to the VM used to generate the image.
ram_size=4294967296
# Disk space (in bytes) assigned to the boot disk for the VM used to generate the image.
disk_size=32212254720
# If set to true and the disk layout is UEFI, the secure boot firmware option will be disabled.
disable_secure_boot=False
[drivers]
# The path to the ISO file containing the VirtIO drivers.
virtio_iso_path=""
# The location where the VirtIO drivers are found.
# For example, the location of a mounted VirtIO ISO. VirtIO versions supported >=0.1.6.x
virtio_base_path=G:\
# The location where additional drivers that are needed for the image are located.
drivers_path=""
[updates]
# If set to true, the latest updates will be downloaded and installed.
install_updates=False
# If set to true, will run DISM with /resetbase option. This will reduce the size of
# WinSXS folder, but after that Windows updates cannot be uninstalled.
purge_updates=False
# Clean up the updates / components by running a DISM Cleanup-Image command.
# This is useful when updates or capabilities are installed offline.
clean_updates_offline=False
# Clean up the updates / components by running a DISM Cleanup-Image command.
# This is useful when updates or other packages are installed when the instance is running.
clean_updates_online=True
[sysprep]
# Used to clean the OS on the VM, and to prepare it for a first-time use.
run_sysprep=True
# The path to the Unattend XML template file used for sysprep.
unattend_xml_path=UnattendTemplate.xml
# DisableSwap option will disable the swap when the image is generated and will add a setting
# in the Unattend.xml file which will enable swap at boot time during specialize step.
# This is required, as by default, the amount of swap space on Windows machine is directly
# proportional to the RAM size and if the image has in the initial stage low disk space,
# the first boot will fail due to not enough disk space. The swap is set to the default
# automatic setting right after the resize of the partitions is performed by cloudbase-init.
disable_swap=False
# In case the hardware on which the image is generated will also be the hardware on
# which the image will be deployed this can be set to true, otherwise the spawned
# instance is prone to BSOD.
persist_drivers_install=False
[cloudbase_init]
# This is a switch that allows the selection of Cloudbase-Init branches. If set to true, the
# beta branch will be used:
# https://cloudbase.it/downloads/CloudbaseInitSetup_<arch>.msi, where arch can be x86 or x64
# otherwise the stable branch will be used:
# https://cloudbase.it/downloads/CloudbaseInitSetup_Stable_<arch>.msi, where arch can be x86 or x64
beta_release=False
# Serial log port for Cloudbase-Init.
# If set to null, the first serial port (if any) from the generation VM will be used
serial_logging_port=COM1
# If set, the Cloudbase-Init msi at this path will be used.
# The path needs to be a locally accessible file path.
msi_path=""
# If set, the cloudbase-init.conf is replaced with the file at the path.
cloudbase_init_config_path=""
# If set, the cloudbase-init-unattend.conf is replaced with the file at the path.
cloudbase_init_unattended_config_path=""
# If set, the Cloudbase-Init service will be run under Local System account.
# By default, a user named cloudbase-init with admin rights is created and used.
cloudbase_init_use_local_system=False
# If set, the Cloudbase-Init service startup type will be set to delayed-auto
cloudbase_init_delayed_start=False
[custom]
# Set a custom timezone for the Windows image.
time_zone=""
# Set custom ntp servers(space separated) for the Windows image
ntp_servers=""

Unfortunatelly the following blue screen crashed my party.

the command used to compile the image was:
New-WindowsOnlineImage -ConfigFilePath config.ini
PS C:\Users\foobar\windows-openstack-imaging-tools> New-WindowsOnlineImage -ConfigFilePath $ConfigFilePath
7/23/2020 2:43:22 PM - Windows online image generation started.
7/23/2020 2:43:26 PM - Cloud image generation started.

The operation completed successfully.
The operation completed successfully.
7/23/2020 2:53:34 PM - BCDBoot config has been created.
7/23/2020 2:53:34 PM - Adding Virtual IO Drivers: G:\...
7/23/2020 2:53:34 PM - Getting Virtual IO Drivers: G:\...
7/23/2020 2:53:34 PM - Adding drivers from "G:\\balloon\2k16\AMD64" to image "H:\"

Deployment Image Servicing and Management tool
Version: 10.0.14393.3750

Image Version: 10.0.14393.0

Searching for driver packages to install...
Found 1 driver package(s) to install.
Installing 1 of 1 - G:\balloon\2k16\AMD64\balloon.inf: The driver package was successfully installed.
The operation completed successfully.
7/23/2020 2:53:48 PM - Adding drivers from "G:\\netkvm\2k16\AMD64" to image "H:\"

Deployment Image Servicing and Management tool
Version: 10.0.14393.3750

Image Version: 10.0.14393.0

Searching for driver packages to install...
Found 1 driver package(s) to install.
Installing 1 of 1 - G:\netkvm\2k16\AMD64\netkvm.inf: The driver package was successfully installed.
The operation completed successfully.
7/23/2020 2:53:53 PM - Adding drivers from "G:\\pvpanic\2k16\AMD64" to image "H:\"

Deployment Image Servicing and Management tool
Version: 10.0.14393.3750

Image Version: 10.0.14393.0

Searching for driver packages to install...
Found 1 driver package(s) to install.
Installing 1 of 1 - G:\pvpanic\2k16\AMD64\pvpanic.inf: The driver package was successfully installed.
The operation completed successfully.
7/23/2020 2:53:58 PM - Adding drivers from "G:\\qemupciserial\2k16\AMD64" to image "H:\"

Deployment Image Servicing and Management tool
Version: 10.0.14393.3750

Image Version: 10.0.14393.0

Searching for driver packages to install...
Found 1 driver package(s) to install.
Installing 1 of 1 - G:\qemupciserial\2k16\AMD64\qemupciserial.inf: The driver package was successfully installed.
The operation completed successfully.
7/23/2020 2:54:03 PM - Adding drivers from "G:\\qxldod\2k16\AMD64" to image "H:\"

Deployment Image Servicing and Management tool
Version: 10.0.14393.3750

Image Version: 10.0.14393.0

Searching for driver packages to install...
Found 1 driver package(s) to install.
Installing 1 of 1 - G:\qxldod\2k16\AMD64\qxldod.inf: The driver package was successfully installed.
The operation completed successfully.
7/23/2020 2:54:09 PM - Adding drivers from "G:\\vioinput\2k16\AMD64" to image "H:\"

Deployment Image Servicing and Management tool
Version: 10.0.14393.3750

Image Version: 10.0.14393.0

Searching for driver packages to install...
Found 1 driver package(s) to install.
Installing 1 of 1 - G:\vioinput\2k16\AMD64\vioinput.inf: The driver package was successfully installed.
The operation completed successfully.
7/23/2020 2:54:14 PM - Adding drivers from "G:\\viorng\2k16\AMD64" to image "H:\"

Deployment Image Servicing and Management tool
Version: 10.0.14393.3750

Image Version: 10.0.14393.0

Searching for driver packages to install...
Found 1 driver package(s) to install.
Installing 1 of 1 - G:\viorng\2k16\AMD64\viorng.inf: The driver package was successfully installed.
The operation completed successfully.
7/23/2020 2:54:20 PM - Adding drivers from "G:\\vioscsi\2k16\AMD64" to image "H:\"

Deployment Image Servicing and Management tool
Version: 10.0.14393.3750

Image Version: 10.0.14393.0

Searching for driver packages to install...
Found 1 driver package(s) to install.
Installing 1 of 1 - G:\vioscsi\2k16\AMD64\vioscsi.inf: The driver package was successfully installed.
The operation completed successfully.
7/23/2020 2:54:25 PM - Adding drivers from "G:\\vioserial\2k16\AMD64" to image "H:\"

Deployment Image Servicing and Management tool
Version: 10.0.14393.3750

Image Version: 10.0.14393.0

Searching for driver packages to install...
Found 1 driver package(s) to install.
Installing 1 of 1 - G:\vioserial\2k16\AMD64\vioser.inf: The driver package was successfully installed.
The operation completed successfully.
7/23/2020 2:54:30 PM - Adding drivers from "G:\\viostor\2k16\AMD64" to image "H:\"

Deployment Image Servicing and Management tool
Version: 10.0.14393.3750

Image Version: 10.0.14393.0

Searching for driver packages to install...
Found 1 driver package(s) to install.
Installing 1 of 1 - G:\viostor\2k16\AMD64\viostor.inf: The driver package was successfully installed.
The operation completed successfully.
7/23/2020 2:54:35 PM - Virtual IO Drivers was added.
7/23/2020 2:54:42 PM - Cloud image generation finished. Image path: C:\Users\foobar\win2016-image.vhdx
7/23/2020 2:54:42 PM - Creating VM WindowsOnlineImage-Sysprep1110874354 attached to ExSwitch
7/23/2020 2:54:44 PM - Starting WindowsOnlineImage-Sysprep1110874354
7/23/2020 2:54:49 PM - Waiting for WindowsOnlineImage-Sysprep1110874354 to finish sysprep.
7/23/2020 2:57:28 PM - - - StatusInitial: Automated instance configuration started...
7/23/2020 2:57:28 PM - - - WindowsInfo: Windows version 10.0.14393.0. PS version 5.1.14393.1884.
7/23/2020 2:57:32 PM - - - License: Windows was licensed successfully
7/23/2020 2:57:34 PM - - - Cleanup: Updates were cleaned up successfully
7/23/2020 2:58:33 PM - - - Cloudbase-InitSetupComplete: Cloudbase-Init service set to start using SetupComplete
7/23/2020 2:58:33 PM - - - Cloudbase-Init: Service installed successfully under user cloudbase-init
7/23/2020 2:58:36 PM - - - StatusFinal: Waiting for sysprep to stop machine...
7/23/2020 2:58:36 PM - - - Sysprep: Sysprep initiated successfully
7/23/2020 2:58:36 PM - - - Defragment: Image was defragemented successfully
7/23/2020 2:58:36 PM - - - Drivers: PersistDrivers was set to False in the unattend.xml
7/23/2020 2:58:36 PM - - - Ipconfig: IPs were released successfully
7/23/2020 2:58:36 PM - - - Cleanup(1): Image was cleaned up successfully
7/23/2020 2:59:36 PM - Shrinking VHD to minimum size
7/23/2020 2:59:36 PM - Initial VHD size is: 30 GB
7/23/2020 2:59:43 PM - Current partition size: 29.998046875 GB
7/23/2020 2:59:43 PM - New partition size: 12 GB
7/23/2020 2:59:43 PM - Size increased:<PHONE_NUMBER>8
7/23/2020 2:59:46 PM - Final disk size: 12.001953125 GB
7/23/2020 3:00:24 PM - Converting VHD to RAW
7/23/2020 3:00:24 PM - Convert Virtual Disk: C:\Users\foobar\win2016-image.vhdx...
7/23/2020 3:00:24 PM - Converting virtual disk image from C:\Users\foobar\win2016-image.vhdx to C:\Users\foobar\win2016-
image.raw...
False
7/23/2020 3:05:36 PM - Finish to convert virtual disk.
7/23/2020 3:05:40 PM - Compressing image C:\Users\foobar\win2016-image.raw...
7/23/2020 3:05:41 PM - Compressing win2016-image.raw to gzip win2016-image.raw.gz
7/23/2020 3:10:39 PM - Windows online image generation finished. Image path: C:\Users\foobar\win2016-image.img.gz

the command to import the image into maas:
maas adminprofile boot-resources create name=custom/win-server-2016 architecture=amd64/generic filetype=ddgz<EMAIL_ADDRESS>
our target hardware is some ProLiant DL380 Gen10 server
I am wondering what is going wrong, and feel a bit blind where to find some more logs as the system automatically start a reboot loop and ends up with this window:

Hello,
What is important in this case, is the target server:  ProLiant DL380 Gen10 server.
The error you get is likely to happen because you did not install the required drivers for the baremetal server. You need to go on the driver download page for the exact server you have, download the drivers (unzip if needed) and put them in a directory of your choice where you generate the image.
Then set the drivers_path="" and recreate the image. If you do not know from where to get the drivers, please contact the OEM from where you got the servers for help on the matter.
Thank you,
Adrian Vladu

thanks will try this out today.
In the meantime I was able to boot on the same hardware a windows 2019 server.
So it definitively goes in the direction of driver support.

the direction of driver support.

Yes, that should be the case. Probably 2019 has builtin compatible drivers for the storage.

so I checked on the HP ProLiant page and found out that the drivers are all in exe format.
https://support.hpe.com/hpesc/public/km/product/1010026819/hpe-proliant-dl380-gen10-server-models?ismnp=0&l5oid=1010026818#t=DriversandSoftware&sort=relevancy&numberOfResults=25&f:@kmswsoftwaretypekey=[swt8000113]&f:@kmswtargetproductenvironmentlatest=[1010026819_Microsoft Windows Server 2016]&hpe=1
Will this still work or shall I install them and extract the files as a zip to be passed on on the drivers_path= variable?

You have two options here:

Download the exe, extract the files and put them in the chosen path. Simpler way, but not so automated. It works well, as the exe has an option to just extract the driver files.

or

Leverage the custom resource path and custom scripts to install the executable unattended (if it is possible).
https://github.com/cloudbase/windows-openstack-imaging-tools/blob/master/Config.psm1#L70
https://github.com/cloudbase/windows-openstack-imaging-tools/blob/master/Config.psm1#L75
You can create a small hook script in powershell, that downloads the executable and installs it unattended. Name the executable according to the stage that you want to be run (let s say before any updates - RunBeforeWindowsUpdates.ps1 ), put it in a folder and set custom_scripts_path to point to that folder.

ok the 1. worked pretty well I was able to run a windows server 2016 on the bare metal...
extracting all the driver into one flat directory and configuring this into the config.ini did the trick thanks for the support.

ok the 1. worked pretty well I was able to run a windows server 2016 on the bare metal...
extracting all the driver into one flat directory and configuring this into the config.ini did the trick thanks for the support.

Great to hear that!


Update events feed url on /events under Calendar section

https://www.meetup.com/meetup_api/feeds/
http://api.meetup.com/Open-Austin/upcoming.ical

overtaken by events


VM: main receives an argument which is not a List<String>

[Edit: This problem exists with dart2js, but when I tested "the same thing" with the vm I accidentally mixed up two versions of the test program. It should of course be args is List<String> and it does return true. So there is no vm issue after all.]
Cf. https://github.com/dart-lang/dart-pad/issues/1009, the vm invokes the main function of a script with an argument which is not of type List<String>.
main(args) {
  print(args.runtimeType is List<String>); // Prints 'false'.
}

The specification requires that it is a List<String>, here, and this would also be a reasonable choice in practice.

If I add print('${args.runtimeType}');, it prints List<String>.  Huh?

You mean
main(args) {
  print(args is List<String>); // Prints 'true'.
}

Sorry, my last comment might not have been clear.  When I run:
main(args) {
  print(args.runtimeType is List<String>);
  print('${args.runtimeType}');
}

I get:
false
List<String>

which makes no sense.

@jamesderlin wrote:

makes no sense

I mixed up two versions of the test program, the vm works correctly. You should test 'args is Listas @rmacnak-google said, and it does return true. Testingargs.runtimeType is Tis true if and only ifTis a supertype ofType`, so it's false as tested.