load faster...

import langroid as lr
from langroid.language_models import Role, LLMMessage

cfg = lr.language_models.OpenAIGPTConfig(
    chat_model = lr.language_models.OpenAIChatModel.GPT4
)
mdl = lr.language_models.OpenAIGPT(cfg)
msg = LLMMessage(
    content = "what is the capital of Bangladesh",
    role = Role.USER
)
response = mdl.chat([msg], max_tokens=200)
print(response.message)
exit(0)

takes a long time to load (mbp 2020 16gb ram i5) making iterations slower... can you post some tips to load faster?

It looks like the imports are taking a while. Will look

A minimal example. Even something simple like this takes ~5 secs (M1 MBP Pro Max) to get to printing "hello":
from langroid.utils.configuration import set_global, Settings
print("hello")

@nilspalumbo do you think this may be due to the various top level imports? Or maybe some imports are running code?

but from langroid.utils.configuration import settings shouldn't.

if I rename langroid/__init__.py to something else, then it's fast, which means that any from langroid.* statement does activate the entire set of imports in langroid/__init__.py. We could do a lazy loading strategy, something like below, but that has a tradeoff (improves import time at the cost of some transparency):
class LazyModuleLoader:
    def __init__(self, module_name):
        self.module_name = module_name
        self.module = None

    def __getattr__(self, name):
        if self.module is None:
            self.module = __import__(self.module_name, fromlist=[name])
        return getattr(self.module, name)

module1 = LazyModuleLoader('blah.module1')
module2 = LazyModuleLoader('blah.module2')
# Repeat for other modules as necessary

# Then, to allow for 'import blah as bl' and 'bl.module1', etc.
__all__ = ['module1', 'module2']  # List all module names here

I think we should do that; the loss of transparency isn't too bad.

Turns out even I add lazy loads in every __init__ that has an "__all__", it makes the trivial script above load fast, BUT examples/basic/chat.py still takes 5 secs -- I tracked it down and found this is because of large number of imports in agent.base.py, so when we do from langroid.agent.base import Agent, it takes 5 secs. So the only way to solve this is to have on-demand imports within agent/base.py, which doesn't seem all that nice.

:-( looks like one has to live with it as part of program. don't suprise me when pip freeze returns ~350 packages
guess refactoring the package might be one way provided that's on the roadmap

Hmm perhaps we if we replace the imports with a single import langroid as lr the lazy loading would work; this would delay referencing specific modules until needed.

Hmm perhaps we if we replace the imports with a single import langroid as lr the lazy loading would work; this would delay referencing specific modules until needed.

You mean do this at the top and within the code in base.py we access everything using “lr.” ? Yes that should work

Yeah, that's what I was thinking.

Short answer is No. We have to put some time into deciding what we want to consider as "core" langroid, for a "batteries-included" experience. We can certainly mark a bunch of these as "extra" dependencies in pyproject.toml, which means people will have to explicitly install the extras they want. @nilspalumbo any other ideas?

atleast knocking off mkdocs, search engines and vectordb's would cut it to a third in size!

atleast knocking off mkdocs, search engines and vectordb's would cut it to a third in size!

Wow, surprising to hear that, thanks much for digging into this! We'll think about the right way to set this up.

what's the farm-haystack dependency?

what's the farm-haystack dependency?

It's for parsing pdf docs, but I just made a new release that eliminates haystack and transformers dependencies (which also eliminates torch as a dependency), so installs should be slimmer/faster now with v 0.1.198

did an update and this is what i get for that sample
(.venv) bxs:oai bs$ time python test.py
The capital of Bangladesh is Dhaka.

real    0m5.214s
user    0m5.092s
sys     0m0.821s

(.venv) bxs:oai bs$ pip show langroid
Name: langroid
Version: 0.1.198
Summary: Harness LLMs with Multi-Agent Programming
Home-page:
Author: Prasad Chalasani
Author-email<EMAIL_ADDRESS>License: MIT
Location: /Users/bs/oai/.venv/lib/python3.11/site-packages
Requires: aiohttp, async-generator, autopep8, black, bs4, chromadb, colorlog, docstring-parser, duckduckgo-search, faker, fakeredis, fire, flake8, google-api-python-client, halo, jinja2, lancedb, lxml, meilisearch, meilisearch-python-sdk, mkdocs, mkdocs-awesome-pages-plugin, mkdocs-gen-files, mkdocs-jupyter, mkdocs-literate-nav, mkdocs-material, mkdocs-rss-plugin, mkdocs-section-index, mkdocstrings, momento, mypy, nltk, onnxruntime, openai, pandas, pdfplumber, pre-commit, prettytable, pydantic, pygithub, pygments, pymupdf, pyparsing, pypdf, pytest-asyncio, pytest-redis, python-docx, python-dotenv, qdrant-client, rank-bm25, redis, requests, requests-oauthlib, rich, ruff, scrapy, sqlalchemy, tantivy, thefuzz, tiktoken, trafilatura, typer, types-redis, types-requests, wget
Required-by:

and this is what i get for sample code at top

yes I don't expect this to improve the script startup time. That is still an issue due to the large imports in agent/base.py.

i quickly looked at it but could'nt discern which import is the killer, other than agent/base.py seeming to pull up all the code in langroid/* one way or other

Is there a way to profile this import? I'd love to help

Is there a way to profile this import? I'd love to help

I'm not sure. You're welcome to try, thanks for the help.


IDL Modularisation

in graphql-java  a type can be extended to add more fields but graphql-java-tools doesn't honor that. Check this example project https://github.com/oexza/graphql-java-tools-test you'll find that the Query type is extended in the Internal.graphqls file but introspection shows that it actually replaces the Query instead of just adding the field.

Yup, I realized this would be an issue a little while ago.  I'd like to update to graphql-java's own IDL wiring, but there's an api issue preventing me from doing that till 4.0.0 is released.  Is it ok if this waits on that?

Would it be too much work to eventually port to graphql-java's own IDL
wiring if this issue is resolved now? I want to create an Admin schema
which will have all the features of the public schema plus added
fields, interfaces, types etc. to support some backend features, and
so this issue is kinda like a blocker, I know I can duplicate the
schema but then that's an added maintenance overhead which is way less
than awesome. So yeah my answer is yes-ish it may be ok to wait.
On 7/24/17, Andrew Potter<EMAIL_ADDRESS>wrote:

Yup, I realized this would be an issue a little while ago.  I'd like to
update to graphql-java's own IDL wiring, but there's an api issue preventing
me from doing that till 4.0.0 is released.  Is it ok if this waits on that?
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/graphql-java/graphql-java-tools/issues/42#issuecomment-317547323

No, it wouldn't make porting any more difficult, I was just hoping to avoid work.  It looks like graphql-java might be releasing an "alpha" 4.0.0 soon, but I think I might just implement extensions in the meantime.


Cheat not loaded in Overwatch 2

GetGlobalKey() is not found, so the cheat doesn't work.
↑
Also I would like to join the development of this cheat in your repository
https://github.com/Rysik5318/RIGEL-OVERWATCH-2

Updated

Thx

Updated

Not working

Okay. I just checked, and it's running intermittently.

I just got it working. That's weird.

Glad you got it working, let me know if you have any issues and I'll try to help.


Review policy for PRs

Just looking for pointers towards the documentation around review standards in this project? I see some PRs with reviews, some without and some that are unlinked from issues. This is all likely fine but if not already worth writing up exactly what the expectations are.
Looking again I see this is recent and so maybe due to staff absence? If so perhaps worth thinking about what  we should do to keep dev velocity up when critical staff take time out.

Good question, @seabbs! Yes, it has to do with dev speed. Since we don't have that many hands in this project, there are (were) some PRs that were directly merged without approval. For the moment, only PL and PSs can take that action (which is what happened).

Closed in https://github.com/CDCgov/multisignal-epi-inference/pull/224


what is infiniteScroll  requirements ?

Ionic version:  (check one with "x")
[ ] 1.x
[x ] 2.x
[ ] 3.x
i am using infiniteScroll  as documentation but it doesn't work .
what is infiniteScroll css requirements for parent container ?

Hello! While we appreciate you opening an issue with us i am going to close this issue and ask that you open a new one that has the issue template filled out please. Thanks for using Ionic!


UTM crashes when I create and run a Windows 10 virtual machine on M1

Describe the issue
UTM crashes when I create and run a Windows 10 virtual machine on M1
I followed the instructions here: https://www.youtube.com/watch?v=yWRzZYrSXDA. Upon pushing the play button for the first time, UTM hangs for a few minutes and then crashes.
Configuration

UTM Version: 2.2.4 (36)
OS Version: macOS 11.1 (20C69)
Apple Silicon

Crash log
crashreport.pdf
Debug log
debug.pdf

From your crash log:

OS Version:            macOS 11.1 (20C69)

Please update your Mac, this will resolve the issue.
Duplicate of #3098

Noted and thanks!

On Sep 19, 2021, at 01:45, CONATH @.***> wrote:

From your crash log:
OS Version: macOS 11.1 (20C69)
Please update your Mac, this will resolve the issue.
Duplicate of #3098
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

@conath even though updating macos fixes it I think we should force disable GL on < 11.3 to prevent crash.

Same crash issue. Unfortunately I cannot update because i need IPA push support on my current mac os version. Any solution in my case?

From your crash log:

OS Version:            macOS 11.1 (20C69)

Please update your Mac, this will resolve the issue.
Duplicate of #3098

Same crash issue. Unfortunately I cannot update because i need IPA push support on my current mac os version. Any solution in my case?

@PJharii can you share your crash log as well?

@PJharii can you share your crash log as well?
crash log.pdf

And debug log as well, sorry.

And debug log as well, sorry.

How to get it? Sorry.

For all issues, including crashes, you should attach a debug log. Open UTM, and open the settings for the VM you wish to launch. Near the top of the QEMU page is Debug Log. Turn it on and save the VM. After you experience the issue, open the VM settings again and select Export Log... and attach it here.

For all issues, including crashes, you should attach a debug log. Open UTM, and open the settings for the VM you wish to launch. Near the top of the QEMU page is Debug Log. Turn it on and save the VM. After you experience the issue, open the VM settings again and select Export Log... and attach it here.
debug.log

Both @PJharii and @Salamit can you see if it works if you do not enable GL? In Graphics tab, choose the card that does NOT have -gl

Cannot find Graphics tab.

Sorry, Display

Sorry, Display

This is what I could see there

Change Emulated Display Card to "virtio-ramfb" (no -gl)

Change Emulated Display Card to "virtio-ramfb" (no -gl)

dude, it is running now. No idea how far it will run. Also, one more query, i just went by the instructions given on official site. My macos harddisk and files wont be corrupted right?

Change Emulated Display Card to "virtio-ramfb" (no -gl)

Successfully booted. Thank you buddy. I couldn’t move the cursor out of that window. How can move the mouse out and in of the utm?

Press ctrl & option/alt keys together to release the mouse.

Press ctrl & option/alt keys together to release the mouse.

Thank you. it worked. But I basically want windows on mac because I need to install a exe software. Can I do that on UTM. Or can I browse internet or connect usb pen drive?

[…] I basically want windows on mac because I need to install a exe software. Can I do that on UTM. Or can I browse internet or connect usb pen drive?

Yes you can - however this is not the forum for discussing how to run VMs in UTM. Please see the user guide and GitHub discussions. FWIW I will happily point you to my YouTube guide on running Windows in UTM.


How to handle the extraScrollHeight value when inputBox is focus with in a particular textinput

I have an input box with a dropdown. Here I have used KeyboardAwareScrollView. I have set extraScrollHeight for the entire screen.
How to set the extraScrollHeight is 100 if I focussed on a particular inputBox on my screen.
Refer to the code which I have tried

state = { isFocused: false }

   handleInputFocus = () => this.setState({ isFocused: true })

  <KeyboardAwareScrollView bounces = {false}
            style = {{marginBottom:"7%"}}
            scrollEnabled={true}
            onFocus={this.handleInputFocus}
            keyboardShouldPersistTaps={'always'} stickyHeaderIndices = {[0]}
            extraScrollHeight = { isFocused ? 0 : 100 }
            >

  <TextInput underlineColorAndroid={'transparent'} style={{borderWidth: 1,
          borderColor: '#d6d7da',
          backgroundColor: '#ffffff'}} value={name} />
</KeyboardAwareScrollView>

I have added state value while click on that inputbox


Use :nonroot image for the operator.

Proposed Changes
Current ko prints a fat warning that the default image will be switched soon. This adopts that new default image and suppresses the warning. See https://github.com/google/ko/issues/160.
Release Note

NONE

/assign @houshengbo @jcrossley3

stuck with testing again?

/retest
/test all

/retest


Cannot change Application Owner

Description:
The following error is displayed when trying to change application owner from the Admin Portal.
ERROR - ApiMgtDAO Error while getting the id  of KavishkasApp from the persistence store. org.h2.jdbc.JdbcSQLDataException: Parameter "#2" is not set; SQL statement:  SELECT    APP.APPLICATION_ID  FROM       AM_APPLICATION APP,   AM_SUBSCRIBER SUB  WHERE    LOWER(APP.NAME) = LOWER(?)      AND ORGANIZATION = ?    AND APP.SUBSCRIBER_ID = SUB.SUBSCRIBER_ID AND LOWER(SUB.USER_ID) = LOWER(?)  [90012-199]
This is due to, organization parameter been added to the query in [1] and organization is not set in [2]
[1] - https://github.com/wso2/carbon-apimgt/blob/master/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/dao/constants/SQLConstants.java#L1007
[2] - https://github.com/wso2/carbon-apimgt/blob/master/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/dao/ApiMgtDAO.java#L3963

This issue is not reproducing with the latest master code. Hence closing this issue.


Error when trying to register(NibResourceType) cell to a UITableView

I created a UITableViewCell subclass called IssueTableViewCell:

When trying to register the cell to my UITableView I get:

Checking R.genereated.swift further, the NibResourceType was generated for my cell:

I installed R.switft through Cocapods, created the build phase and it's running all the other features fine.

Fiddling a bit more, I saw I forgot to set the "Reuse Identifier" on Interface Builder for my cell:

And now it works fine:

It'd be cool to see a bit more documentation on https://github.com/mac-cain13/R.swift/blob/master/Documentation/Examples.md#reusable-table-view-cells

I was just writing a comment to ask you to check if a reuse identifier was set. I think it would be nice to update the docs a bit.
I'm leaving tomorrow on a holiday so I don't have time to do it now, but feel free to submit a PR! Will be happy to merge it. :)

Awesome, will send you a PR! Have a nice holiday!

@mac-cain13 sorry for not doing it on time, I just sent the PR. #350


Consider transfer/burn all of an asset ISI

Use case

For Cactus interoperability, we may need to open wallets for many accounts. These wallets should ideally be cleaned completely after all transfers have finished. Currently this can be implemented via a smartcontract, but it probably could be done more simply with a single instruction.
Internal blockchain exchanges can lead to a situation where the end user doesn't know how much money is to be transferred, but wants the money to be transferred.

Implementation
E.g. Mint<…, u32> becomes a Mint<…, Amount(u32)>, where schematically
pub enum Amount<u32> {
    Exactly(NonZeroU32),
    All
}

Advantages:

Simpler.
Explicit

Drawbacks:

Can be emulated without an ISI,
In some way conflicts with RISC + Vector extensions architectural mantra.
Can be emulated with more complex logic (i.e. withdraw if and only if the quantity is above a certain threshold).
Probably better emulated by fixing the Expression API

Best solution is to plug into the Expression API and have an EvaluatesTo variant that means all of an asset.

not needed anymore


chore: update executor back to default of not bubbling errors to main flow

Description
The latest releases of syft saw a change where err was returned by the executor causing the main control flow to exit on task failure. This PR reverts this change and instead writes the errors to a multi err value which sets prog warnings in the TUI

Fixes: NO BUG FILED

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] I have tested my code in common scenarios and confirmed there are no regressions
[x] I have added comments to my code, particularly in hard-to-understand sections

Behavior on latest release:
 ✔ Loaded image
 ✔ Parsed image
 ⠧ Cataloging contents             ━━━━━━━━━━━━━━━━━━━━
   └── ⠧ Packages                        [302 packages]
failed to run tasks: 1 error occurred:
        * failed to run task: java-binary-openjdk: failed to resolve files by glob (**/java): unable to search by glob="**/java": unable to get ref for path="/etc/alternatives/java": cycle during symlink resolution
java-binary-ibm: failed to resolve files by glob (**/java): unable to search by glob="**/java": unable to get ref for path="/etc/alternatives/java": cycle during symlink resolution
java-binary-oracle: failed to resolve files by glob (**/java): unable to search by glob="**/java": unable to get ref for path="/etc/alternatives/java": cycle during symlink resolution
java-binary-graalvm: failed to resolve files by glob (**/java): unable to search by glob="**/java": unable to get ref for path="/etc/alternatives/java": cycle during symlink resolution

Behavior on this PR showing warnings in cataloged contents, but still produces an SBOM
 ✔ Loaded image
 ✔ Parsed image
 ✘ Cataloged contents
   ├── ✔ Packages                        [296 packages]
   ├── ✔ File digests                    [3,829 files]
   ├── ✔ File metadata                   [3,829 locations]
   └── ✔ Executables                     [998 executables]
NAME                                VERSION                            TYPE
adduser                             3.118ubuntu2                       deb
...

I think we want to keep the executor behavior and instead change the task behavior that is responsible for surfacing these errors that should not be causing syft to exit. Let me go a bit deeper in the calls so we don't undo all executor err reporting and find the specific change made in #2998


Add configurable layouts/encoders

This PR adds a new layouts (+wrapping encoders) for both ILoggingEvent and IAccessEvent.
The layout pattern allows providing your own JSON where each text value will be run through logback's standard PatternLayout so all things like %date, %thread etc will be substituted.
It is all in the README but the idea is that you can do something like:
<encoder class="net.logstash.logback.encoder.LoggingEventJsonPatternLayoutEncoder">
    <pattern>
        {
        "custom_constant": "123",
        "tags": ["one", "two"],

        "logger": "%logger",
        "level": "%level",
        "thread": "%thread",
        "message": "%m",
...
        }
    </pattern>
</encoder>

The main reason it was created is for IAccessEvent actually because it allows picking individual cookies, request headers and attributes.

Hi Dimetry.
Awesome idea, and I like this a lot, especially since you can take advantage of everything available in PatternLayout.
I'm in the middle of refactoring the existing formatters/encoders/layouts to make them more composable.  I.e. they will become just containers for a bunch of other providers that provide various fields into the JSON output.
I think this will "plug in" to this new composable formatter/encoder/layout very easily.  I'd like to wait until the new composable stuff is in place before incorporating your pull request.  The composable stuff should be available sometime this week.

I merged in latest master from you and fixed the build which I broke.
I am not in a rush - for now we will be using a custom build from my fork.
Although it looks to me safe to merge and adapt encoders/layouts later when they are available.
While fixing  conflicts in README I read the new  changes there that happened since I forked - the timezone support and providing the list of headers to record. Both of these can be handled by the new encoder without any changes "%date{ISO8601, timezone}" and "%reqHeader{name}" respectively.
To be honest, the only thing I needed for myself was request attributes so my first impulse was to do very much what was done for headers - adding a new configuration option to the existing encoder. But then I though it is a bad idea to keep overloading that encoder with more option which will solve my immediate problem but won't add flexibility. Unfortunately that thought took me for a long way...
Re formatters/layouts - initially I wanted to implement alternative formatter and allow changing it for the encoder. But configuration becomes a bit heavy so in the end I ditched formatter and did the same thing logback does - there is a layout and encoder wrapping it.

I've committed the initial composite encoder work to the composition branch.
I incorporated your changes under a new pattern JSON provider.  It can be included in the composite encoders/layouts along with any/all of the other providers.
This unifies all the encoders/layouts available in logstash-logback-encoder.  LogstashEncoder/Layout and LogstashAccessEncoder/Layout are effectively just pre-defined compositions now.
A couple things to note..

I removed the mdc operation, since you can just include the mdc provider now.
And I removed the behaviour of including the timestamp/version by default (since the pattern provider does not control the whole event now; it only contributes to it.

I have updated the readme on the branch with all the new details.
I'm still tieing up a few loose ends, but the majority of the work is complete.  Hope to have this finalized in the next few days.

Hi.
Couple of things:

AbstractJsonPatternParserTest.shouldAllowOverridingDefaultFields() - you probably want to remove this test because it has lost its purpose
I haven't looked thoroughly but my first impression was that pattern provider will only be able to generate a nested object because it returns ObjectWriter which, when its write(0 is invoked, will produce the complete object JSON including opening and closing curly brace.

Excellent eye!
I've corrected both.
I'm going to do some more testing, and write some more unit tests for the composition stuff.


[Feature Request] DirectX Renderer

Related problem
https://github.com/AllenDang/giu/issues/170#issue-863120297
https://github.com/AllenDang/giu/issues/147#issuecomment-789963826
Your request
It would be useful to be able to use the DirectX renderer, so that the GUI starts even if no "real" GPU driver is installed. I tested the demos from https://github.com/ocornut/imgui#demo and the directX executables work just fine. Is this feasible?
Currently I get: APIUnavailable: WGL: The driver does not appear to support OpenGL
Alternative solution
No response
Additional context
No response

here is C++ Code. We need to implement it like sdl and glfw stuff. https://github.com/ocornut/imgui/tree/master/examples/example_sdl2_directx11


Allow for complete override of GUI-set QEMU arguments

There are times in which it's necessary to add parameters to the "core" qemu arguments apart from the "machine" one, for example with -device vga,edid=on and many others.
Many of these optional params are not available in the settings GUI, and since the core arguments are locked down to the options specified in the VM settings it's impossible to ever run a vm with them.
I propose the following solution:

Let the user customize all the QEMU arguments through the QEMU tab
Add up/down arrows on all the arguments so that the user can easily customize the order as if they were writing it on the command line
When an argument that doesn't have a GUI equivalent is detected, add a "Custom" label to the corresponding UI dropdown menu/box in the settings panel to indicate that the argument/setting is currently mapped to a custom value that doesn't have a GUI equivalent yet.
Allow the user to override their custom arguments by simply selecting a known configuration parameter from the GUI again.

So this is exactly what “Do not generate any arguments based on current configuration” does.

Can you describe your use case for “-device vga,edid=on”? If it’s a valid use case, it should be added to the GUI.

So this is exactly what “Do not generate any arguments based on current configuration” does.

AFAIK that option doesn't allow you to modify any of the core arguments, does it?

Can you describe your use case for “-device vga,edid=on”? If it’s a valid use case, it should be added to the GUI.

That was just an example. One valid use case for such options is to disable auto-boot on PowerPC guests using the -prom-env 'auto-boot?=false' argument.
In order to successfully install Mac OS X developer preview 3, you need to select a specific partition inside the ISO to boot from, because the default one boots into an incompatible environment.

For that one, I think adding a new argument is fine. The idea is anything that is "core" (like VGA settings) should be a GUI option and if there's a valid use case there, it should be added to the GUI rather than as a text argument.

I also agree that it should be made into a GUI option. My point is that for more advanced use cases that don't yet (or ever) have GUI options it should be allowed for the user to modify them as if it was a command-line invocation. And for the ones that do already have a GUI, manual modification should also still be allowed as an "advanced" mode, since the current configuration override doesn't cover for the options in the beginning of the command and as I said there are many valid use-cases for modifying them.
It could also help with development since it would be easier to test different QEMU options faster.

So we have -machine property as its own field. We could add something similar to the -device vga. However, like I said, most of the other options you can't change.
qemu-system-x86_64 -L /Applications/UTM.app/Contents/Resources/qemu -S -spice "unix=on,addr=....spice,disable-ticketing=on,image-compression=off,playback-compression=off,streaming-video=off,gl=off" -chardev spiceport,id=org.qemu.monitor.qmp,name=org.qemu.monitor.qmp.0 -mon chardev=org.qemu.monitor.qmp,mode=control -nodefaults -vga none -device virtio-vga
If you look at these options, none of them except -device virtio-vga has anything you can add to or change.

I guess that's right. I was also thinking of the -g option which allows you to set a static resolution for the machine display. I appended it through the additional options menu but it didn't have any effect still.

I have a similar issue and it's extremely annoying... E.g. QEMU emulates a network card by default for PowerPC (G4 at least) and doesn't require any parameters. When I set up UTM with no network options though, it passes "-nic none" to qemu, which is simply wrong.
Also, when Mac99 is selected, UTM adds via=pmu, which is wrong, at least for early MacOS X guests.
Etc.
The "Export QEMU command" option is interesting as it could be edited, but how to actually run it? qemu-system commands are not available from the terminal.

I would like UTM to let us edit that qemu command line. I had multiple OSes that simply were not possible to run on UTM because it wouldn't let us change the qemu line. Some of these include the latest GNU Hurd (it's hardcoded to hd0 disks, but UTM would only produce sd0 disks no matter which type of disk chosen, and so booting would fail), and Raspbian with hypervisor (it complains about EL3 being On, and that it can't find PCI to use the network card).

i really would like to be able to tell UTM what network device to use, i currently cannot figure out how to do this.  i have 3 different network connections, 1 wifi for general. 1 ethernet for my home network and device, and another that is for my lab stuff.  I would like to assign this VM to my Lab network and its currently impossible with UTM from what i can tell.

Select bridged and select your network adapter.

@osy That works if the GUI shows you the interface you want to add.  If not, you're out of luck.  In my case, when configuring bridged mode, I get two choices: Automatic and en0.  The interface I need to use doesn't show up in the list.
I don't understand the resistance to adding an Edit button and letting users edit the options to their heart's content with a stern warning that doing so is unsupported and they could render their VM unusable.  You could also provide a "Rescue" button to regenerate the command line options from the config.  Not every user needs or wants to be protected from themselves.

I agree. I was trying to add -device VGA,edid=on to the list. I know it works and I use it outside of UTM. But I can't override the display settings on UTM. I tried to remove the display settings entirely using the GUI and re-add manually, and that crashed the application. What gives? Why is this so complicated?


kvm: add apis

Signed-off-by: Nobuhiro MIKI<EMAIL_ADDRESS>

Coverage decreased (-4.6%) to 44.444% when pulling 530d5473a957f3fbc5bc09f9f76c0298d17c640c on add_kvm_apis into 1afe2533ab2b3470ef04174c31382afd1f80a055 on main.


feature request: export_inference_graph

Using the code below in the demo.py, I converted the graph proto to a file so I can see all the nodes using tensorboard.
tf.train.write_graph(sess.graph.as_graph_def(),'./tmp', 'output_inference_graph.pb', as_text=False)
writer = tf.summary.FileWriter("./tmp/demo", sess.graph)

However,  I tried to freeze the model using the latest checkpoints, but I got graph_def invalid when I try to use it. Maybe it is because the detection outputs come from a list of tensors and not a single output, and also because without export function, the file become big (250mb).
     nodes1='Gather_2,Gather_6,Gather_10,Gather_14,Gather_18,Gather_22,Gather_26,Gather_30,Gather_34,Gather_38,Gather_42,Gather_46,Gather_50,Gather_54,Gather_58,Gather_62,Gather_66,Gather_70,Gather_74,Gather_78,'

nodes2='Gather_3,Gather_7,Gather_11,Gather_15,Gather_19,Gather_23,Gather_27,Gather_31,Gather_35,Gather_39,Gather_43,Gather_47,Gather_51,Gather_55,Gather_59,Gather_63,Gather_67,Gather_71,Gather_75,Gather_79,'

nodes3='Reshape,mean_iou/mean_iou,mean_iou/AssignAdd'
            output_node_names=nodes1+nodes2+nodes3

            print(output_node_names)
            output_graph_def = graph_util.convert_variables_to_constants(sess,input_graph_def,output_node_names.split(","))

            output_graph="./tmp/blitznet_frozen_model.pb"
            with tf.gfile.GFile(output_graph, "wb") as f:
                f.write(output_graph_def.SerializeToString())

In the object detection api, they use tf.identity to create dummy nodes for the final 3 outputs[class, score, num_det]. According to what do I understand from Blitznet graph, the boolean_mask_1 subgraph handles the object detection task and the mean_iou subgraph handles the segmentation task. However, in the blitznet graph, the outputs [detection boxes, detection scores, detection categories] are not visible. Mean_iou ('mean_iou/mean_iou') is the only one that I can find. Is it necessary that the outputs for detection and score have to be gathered in a list (net_out) with 20 tensors for detection and 20 tensors for score? Could it be possible to create a dummy identity operation to allocate these results? Do they already exist in the graph but I didn't notice them?
@dvornikita I will try my best to do something about it and post any result. Let me know if you have any suggestion, correct me if I'm wrong and comment about my observations
PD: I know there is nothing wrong with the code and we dont need to freeze the model to get the results but I would like to try this model using EmguTF in C# and till now, the only way that I know to get results is to input a frozen graph and also to separate the outputs in independent nodes so I can run the operations (tf.identity of each output) and get the results. Something like:
Results = Run(Output[] inputs, Tensor[] inputValues, Output[] outputs, Operation[] targetOperations)

Hi @fastlater, I really appreciate your help in debugging and developing this project.
Unfortunately, this time I can't answer the question because I don't know how to help you in this situation, at least not right now :)
I'm gonna look into the graph later, probably next week, and write you.

@dvornikita  Thank you for your honest answer. I will keep trying. I hope next week you have free time and check it and give me some ideas.


Doubts regarding the predict module

When we run lumi predict is it possible to display the bounding boxes around an image? Is it possible to get the locations and probabilities of the objects stored in say an excel file with the name of the images stored as well?
Is there a way to save the predictions inside a list, for instance?

This is helpful. What would happen when we run predict on multiple images. Would they all be saved in a single json? The comments seem to indicate that although I'm not sure whether the names would be saved as well.

https://github.com/tryolabs/luminoth/blob/ad27c535576d544adc868b5bb9ce2269bf04c22c/luminoth/predict.py#L210
https://github.com/tryolabs/luminoth/blob/ad27c535576d544adc868b5bb9ce2269bf04c22c/luminoth/predict.py#L265
you can look this code. maybe it can do it...


Unable to change placeholder textcolor

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Due to the apps design the textField has a dark background and therefore I need to change the placeholders color to make it visible.
The app i'm working on is written in Objective C and i think due to the lack of compatibility with Obj-C, I am unable to change the placeholder color. I have tried to assign an attributed string to the placeholder but since it is an String? Xcode won't allow it.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Easy method to change the placeholder color would be great
Additional context
Add any other context or screenshots about the feature request here.

Add the below code in FlagPhoneNumberTextField.swift file.
` open override var placeholder: String? {
didSet {
phoneCodeTextField.text = placeholder
}
}
open override var attributedPlaceholder: NSAttributedString? {
    didSet {
        phoneCodeTextField.attributedPlaceholder = NSAttributedString(string: placeholder ?? "512356987", attributes: [NSAttributedString.Key.foregroundColor: UIColor.white])
    }
}`


Need docs for standalone cluster metadata capture

Feedback

We save off metadata about standalone clusters so we can do tanzu standalone-cluster delete. But this assumes these standalone clusters will only ever be managed from the same machine. Probably pretty safe with the docker deployment, but I could see a cloud provider deployment being accessed from multiple locations.
It's also a concern if something were to happen to the originating machine. It's possible to manually clean up a standalone cluster outside of the CLI, but it's certainly not user friendly.
Suggested Changes

We should add documentation to the standalone cluster deployment instructions explaining how to back up or move this data so tanzu standalone-cluster delete can be run from another machine.

Closing - there is a new standalone-cluster proposal that uses a different model with a much liter weight methodology. Please look at the proposal, try it out, and give your feedback there!
Since the current standalone-cluster plugin is being deprecated in a future release, we will not be accepting new features.


"Example of problematic boxing via nullable value types" - Incorrect information?

Hey, I was reading the section on boxing and looking at the MyParticle example. It seems to say that using a nullable return value will always entail boxing. I don't think that's true since Nullable<T> is a basic struct wrapping the underlying value. I believe boxing would only occur if the nullable itself were boxed, no?

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

ID: 0b548ae6-f9c1-f8ac-172b-efc80b7b1d26
Version Independent ID: b5a2db60-a656-daae-ab4a-c47fda79791c
Content: Performance recommendations for Unity - Mixed Reality
Content Source: mixed-reality-docs/mr-dev-docs/develop/unity/performance-recommendations-for-unity.md
Product: mixed-reality
Technology: mr-dev
GitHub Login: @hferrone
Microsoft Alias: v-hferrone

Thanks for this callout @Pepin!


formatted response file

Solve formatting linting issue in lib/response.js file

Hello, and thank you for your pull request. However, we don't historically accept formatting only pull requests, and this is a particularly bad time for them as it makes it that much harder to merge changes between 4 and 5. I hope you understand, and thanks for the effort.


Clear artboard

Note that merge nodes are named "Artboard" as I reserve the name

!build

I would like to see the artboards name/position/downstream connnector/upstream connectors being saved, then the artboard is deleted, a layer node is created,  its name/position are set, then it is reconnecting. All using the same functions in the network interface as if the user was to do with.
Also, make sure to start and end a transaction at the start and end of the message. Its also important that no mutable network interface functions are called in a message that has a start/end transaction.
It would also be nice if the artboards position is then used to set the transform of the new layer, so that the contents stay at the same place. This would require using a monitor node to access the artboard data, where the translation is stored.

I'll mark this as a draft until those comments are addressed. Thanks for taking the time to review this, @adamgerhant.

You can use however many loops are necessary to achieve the correct behavior

Just checking in on the status of this @moOsama76.

I was taking a break, will do it this week

I'll close this PR for now, but please feel free to reopen it once you've addressed the code review feedback from Adam.

I'll close this PR for now, but please feel free to reopen it once you've addressed the code review feedback from Adam.

No problem I am getting back soon I promise :)


Link in the description

Link to http://schedge.a1liu.com/ has an extra 's' after http in the repository's description, making it unable to access

We can also solve this by moving to HTTPS  ;D

Closing in favor of #12 ; we should switch to HTTPS eventually.


tests: fix data race in TestSetScheduleOpt

What problem does this PR solve?
Due to TestSetScheduleOpt uses SetStorage to change the storage, it may cause a race problem. This is because we may call GetStorage in other places at the same time. The problem only affects the testing. Fixes #2316
What is changed and how it works?
This PR prevents calling GetStorage manually by disabling dynamic config and increasing the check interval of the dashboard.
Release note
Check List
Tests

Unit test

/merge


bot does not turn on music

when i write !play bot joins the voice channel and exit immediately

Hi, sorry for the late reply, do you have ffmpeg installed on your machine ? Is it in the PATH ?
It is required for the bot to run

ffmpeg was not installed on the computer, which caused an error. Thanks!


Pick specific contract ABIs for each class of contract we'll support to use in the test suite

Here's a related discussion: https://github.com/tasitlabs/TasitSDK/pull/59#discussion_r241790607

@marcelomorgado I think we can mark this as complete as a first pass

Yep. :+1:
Closing.


Dep 49 APIs for env tags

@manreet185 Please remove the release notes from this PR, as there are now conflicts in this PR because you already sent the RN in PR 1271, which was reviewed and merged.

@Adam-Dupaski - I have done the changes. Please review and check if all the conflicts are resolved.


Is it possible to remove the Header (info, share, and More) from shared albums?

Is it possible to remove the Header (info, share, and More) from shared albums?
I want to share a album with people but want the shared button, info, and more to be removed when not logged in. Is there any way of doing this? Is the page called differently when logged in and what to change??

I'm sure there's a way to do this, but I can't provide any help for customization.
Editing this function could be a good starting point. Maybe that helps a bit.

Thanks 😃


⚠ ClamAV has degraded performance

In ee5b03d, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 103 ms

Resolved: ClamAV performance has improved in 33d8560.


docs: [IAC-2490]: Update what's supported details

Description

Update Whats supported doc to move supported framework details (re OpenTofu and Terraform) to the top and also added a new navigation tile to the IaCM landing page.
JIRA

Screenshot / Preview

PRs must meet these requirements to be merged:

[x] Successful preview build.
[x] Code owner review.
[x] No merge conflicts.
[x] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66e2f5d40c639512aec801b7--harness-developer.netlify.app


Key Vault Limits

The Key Vault limits are at a 10 second granularity but the granularity of its metrics is 1 minute.  Please consider adjusting the limits to be in line with the granularity of the metrics available.

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

ID: 1cd57b6d-3c6f-e546-b3ea-f83892f4c23d
Version Independent ID: 27aecc7b-f107-96d4-b044-ae026bca2727
Content: Azure subscription limits and quotas
Content Source: articles/azure-subscription-service-limits.md
Service: billing
GitHub Login: @rothja
Microsoft Alias: byvinyal

@bdschaap Thanks for the feedback. We are actively investigating and will get back to you soon.

@bdschaap Thanks for your valuable feedback. Kindly share your feedback directly  so the responsible engineering team can review and consider adding to a future iteration of the Key Vault service.

Will do


how to search by order

in a tree, there're many search results, i need find the first one and focus on that one.
but unfortunately i found the search results are in random order, i cant find the first one.

I believe the search results are in the order in which they are in the DOM. Anyway - you can always get the first search result using the jstree-search class and get the first node with that class in your tree and focus it.


When splitting terminal and entering keys, can cause incorrect display

1.24 Stable release on Ubuntu 16.04:

This is as designed, it's related to how shells work. It also happens on external terminals.


Add links to download html docs, man docs and win32 installer

Closes #54

Closing as this PR is already merged


(WIP) Publishing for Scala 2.10 and 2.11

it's not finished yet.  but let's start a discussion.

Let's give it a shot

Looks good with a tweak or two that I applied after; let me get this working since this is the most sketchy/untested portion of the CI code, and then sending another PR to put a link in the readme should be easy and locally-testable

thanks for the quick reply! I'll send another PR to update docs in a few days. My idea is to  re[place 'curlUrl' and 'unstablecurlUrl' with sequences of tuples with scala version and a link  to the corresponding binary.


Loosening and updating requirements for djangorestframework

install_requires.txt currently requires djangorestframework>=3.11.0,<=3.12.4, but it is not clear where this requirement (to the minor version number X.X.X) comes from.
Per the DRF docs, "Medium version numbers (0.x.0) may include API changes", so best policy, if the requirements are based on concerns for keeping with consistent api versions would be something like djangorestframework>=3.11.0,<3.13.0
But at this point it might be best to also update to allow the 3.13.X versions, since there are no significant API changes from the 3.12.X version. (The changes included in 3.13.0 can be found here)
I recommend modifying the requirement in install_requires.txt to djangorestframework>=3.11.0,<3.14.0.

Resolved in #334


Don't lose settings "restart required" state on restart

Description
Makes it so that the fact that a setting requires a restart is persisted in the database.
Couple of things I am not too happy about:

using the cleanup pod to register the fact that Orchest is being stopped, although I am not sure if it makes sense to explore more fleshed out solutions, i.e. doesn't seem too much of a priority
the fact that we are using the flask app config as storage for the user Orchest settings, which seems to be only required because we are passing the flask app to the analytics module (which I am not too happy about either). This isn't something introduced by the PR but it might be a good occasion to discuss the matter and create an issue to solve it in the future

Fixes: #867
Checklist

[X] In case I changed one of the services’ models.py I have performed the appropriate database
migrations (refer to scripts/migration_manager.sh).

the fact that we are using the flask app config as storage for the user Orchest settings, which seems to be only required because we are passing the flask app to the analytics module (which I am not too happy about either)

I agree. I don't think we still need the flask app to store the configuration values. However, not "caching" the values in the Flask app means that we would have to query the orchest-api every time we want to send an event (given that that requires the TELEMETRY_DISABLED value, among others) or that we would have to cache the value in some other place.


Minimal API .NET 6 support

Hi, with .NET 6, AddControllers() is removed from Program.cs.
AddDapr() work with IMvcBuilder.
I think that we can rewrite extensions target IServiceCollection
https://github.com/dapr/dotnet-sdk/blob/a65e8b287d4c48f93952221cb1c6a1b1346ece26/src/Dapr.AspNetCore/DaprMvcBuilderExtensions.cs#L28-L52
Only StateEntryModelBinderProvider refer to MvcBuilder.

Already exists: #695


Is there a Plugin for 5.6.4?

Just wondering if there is a version of the plugin that will work with Kibana 5.6.4. Currently porting a project to a new 6.5 project and was hoping to use this plugin to export the index pattern.

Sorry, do you ask for 6.5.4, or 5.6.4?


rotate api should use adapter key/secret for auth

fixes #170

Codecov Report

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

@@          Coverage Diff          @@
##           master   #171   +/-   ##
=====================================
  Coverage      80%    80%
=====================================
  Files          14     14
  Lines        1336   1336
=====================================
  Hits         1068   1068
  Misses        169    169
  Partials       99     99

Continue to review full report at Codecov.

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


[HIPIFY] Compile HIPIFY with Rocm 4.0.0

Hi all,
I tried to compile HIPIFY with Rocm 4.0.0.

mkdir build dist
cd build

cmake
-DCMAKE_INSTALL_PREFIX=../dist
-DCMAKE_BUILD_TYPE=Release
..

And at the last step:

make install

I got the compilation error as below:
[  3%] Building CXX object CMakeFiles/hipify-clang.dir/src/HipifyAction.cpp.o
/home/echo/workspace/HIPIFY/src/HipifyAction.cpp:751:16: error: no matching constructor for initialization of 'clang::Lexer'
clang::Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts());
^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/rocm/llvm/include/clang/Lex/Lexer.h:152:3: note: candidate constructor not viable: no known conversion from 'llcompat::Memory_Buffer' (aka 'llvm::MemoryBufferRef') to 'const llvm::MemoryBuffer *' for 2nd argument
Lexer(FileID FID, const llvm::MemoryBuffer *FromFile,
^
/opt/rocm/llvm/include/clang/Lex/Lexer.h:141:3: note: candidate constructor not viable: requires 3 arguments, but 4 were provided
Lexer(FileID FID, const llvm::MemoryBuffer *InputFile, Preprocessor &PP);
^
/opt/rocm/llvm/include/clang/Lex/Lexer.h:146:3: note: candidate constructor not viable: requires 5 arguments, but 4 were provided
Lexer(SourceLocation FileLoc, const LangOptions &LangOpts,
^
/opt/rocm/llvm/include/clang/Lex/Lexer.h:155:3: note: candidate constructor not viable: requires 1 argument, but 4 were provided
Lexer(const Lexer &) = delete;
^
1 error generated.
CMakeFiles/hipify-clang.dir/build.make:425: recipe for target 'CMakeFiles/hipify-clang.dir/src/HipifyAction.cpp.o' failed
make[2]: *** [CMakeFiles/hipify-clang.dir/src/HipifyAction.cpp.o] Error 1
CMakeFiles/Makefile2:164: recipe for target 'CMakeFiles/hipify-clang.dir/all' failed
make[1]: *** [CMakeFiles/hipify-clang.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2
Could anyone shed light on why it is happening? Do I miss some configurations that HIPIFY cannot recognize clang::Lexer?
Thanks!
Mengchi

Hipify-clang should be built by the vanilla LLVM (https://github.com/ROCm-Developer-Tools/HIPIFY/blob/master/README.md#-hipify-clang-building). Rocm releases might differ and miss some headers and libs.

Thanks @emankov!
Will https://github.com/ROCm-Developer-Tools/llvm-project work? Or I need to clone and build from LLVM official (https://github.com/llvm/llvm-project)?

Thanks @emankov!
Will https://github.com/ROCm-Developer-Tools/llvm-project work? Or I need to clone and build from LLVM official (https://github.com/llvm/llvm-project)?

If you are not going to run hipify-clang unit tests you may use the last LLVM release only for building and running hipify-clang:
https://github.com/llvm/llvm-project/releases/tag/llvmorg-12.0.0. You need to build LLVM from sources only for testing hipify-clang.

Close the issue as answered


Add some helpers for testing to its own package in app

Description
Adds some helpers for testing various functions in a re-usable way in app.go
I think this should probably be paired with more custom functions / integrations in modules, to get a more composable testing framework. This at least does a first step with setting up validators, and epochs across modules.
I am torn on whether it should be suiteI, or an embeddable struct though. I'm leaning towards making it an embeddable struct.

For contributor use:

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer

Codecov Report

Merging #1008 (bdcc5bc) into main (08b3bd6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1008   +/-   ##
=======================================
  Coverage   20.60%   20.60%
=======================================
  Files         193      193
  Lines       25237    25237
=======================================
  Hits         5199     5199
  Misses      19084    19084
  Partials      954      954

Continue to review full report at Codecov.

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

Any thoughts on struct vs interface? I think interface gives us better composability / more re-usability across codebases, but struct will simplify the code a lot.
I'm leaning towards struct, since these whole keeper test suites are kinda odd in that they depend on the OsmosisApp already. I'm generally not a big fan of how they depend on the entirety of the app, but its alright

@ValarDragon can I go ahead and merge this?


Returns error while trying to use "npm run dev" on fresh installation

Environment
Nuxt project info:                                                                             19:26:59

Operating System: Windows_NT
Node Version:     v18.12.1
Nuxt Version:     2.16.2
Nitro Version:    -
Package Manager<EMAIL_ADDRESS>Builder:          webpack
User Config:      ssr, head, css, plugins, components, buildModules, modules, axios, pwa, content, build
Runtime Modules:  bootstrap-vue/nuxt<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
npm run dev
Describe the bug
while trying to run a fresh installation of nuxt js problem encountered when using npm run dev
Additional context
judging by the logs, this might be a webpack or babel issue 🤷♀
Logs
ERROR  Rule can only have one resource source (provided resource and test + include + exclude) in {
  "type": "javascript/auto",
  "use": [
    {
      "loader": "E:\\project agora\\projectagora\\project_agora_nuxt_js\\node_modules\\babel-loader\\lib\\index.js",
      "options": {
        "configFile": false,
        "babelrc": false,
        "cacheDirectory": true,
        "envName": "client",
        "presets": [
          [
            "E:\\project<EMAIL_ADDRESS>            {
              "corejs": {
                "version": 3
              }
            }
          ]
        ]
      },
      "ident": "clonedRuleSet-4.use[0]"
    }
  ]
}

  "type": "javascript/auto",
  "use": [
  {
  "loader": "E:\\project agora\\projectagora\\project_agora_nuxt_js\\node_modules\\babel-loader\\lib\\index.js",
  "options": {
  "configFile": false,
  "babelrc": false,
  "cacheDirectory": true,
  "envName": "client",
  "presets": [
  [
  "E:\\project<EMAIL_ADDRESS>  {
  "corejs": {
  "version": 3
  }
  }
  ]
  ]
  },
  "ident": "clonedRuleSet-4.use[0]"
  }
  ]
  }
  at checkResourceSource (node_modules\@nuxt\webpack\node_modules\webpack\lib\RuleSet.js:167:11)
  at RuleSet.normalizeRule (node_modules\@nuxt\webpack\node_modules\webpack\lib\RuleSet.js:198:4)
  at node_modules\@nuxt\webpack\node_modules\webpack\lib\RuleSet.js:110:20
  at Array.map (<anonymous>)
  at RuleSet.normalizeRules (node_modules\@nuxt\webpack\node_modules\webpack\lib\RuleSet.js:109:17)
  at new RuleSet (node_modules\@nuxt\webpack\node_modules\webpack\lib\RuleSet.js:104:24)
  at new NormalModuleFactory (node_modules\@nuxt\webpack\node_modules\webpack\lib\NormalModuleFactory.js:115:18)
  at Compiler.createNormalModuleFactory (node_modules\@nuxt\webpack\node_modules\webpack\lib\Compiler.js:636:31)
  at Compiler.newCompilationParams (node_modules\@nuxt\webpack\node_modules\webpack\lib\Compiler.js:653:30)
  at Compiler.compile (node_modules\@nuxt\webpack\node_modules\webpack\lib\Compiler.js:661:23)
  at node_modules\@nuxt\webpack\node_modules\webpack\lib\Watching.js:77:18
  at AsyncSeriesHook.eval [as callAsync] (eval at create (node_modules\@nuxt\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:33:1)
  at AsyncSeriesHook.lazyCompileHook (node_modules\@nuxt\webpack\node_modules\tapable\lib\Hook.js:154:20)  at Watching._go (node_modules\@nuxt\webpack\node_modules\webpack\lib\Watching.js:41:32)
  at node_modules\@nuxt\webpack\node_modules\webpack\lib\Watching.js:33:9
  at Compiler.readRecords (node_modules\@nuxt\webpack\node_modules\webpack\lib\Compiler.js:529:11)

Would you provide a reproduction? 🙏

Would you provide a reproduction? 🙏

sure!

I literally have the same error with both 18.x and 16.x versions on clean npx create-nuxt-app
Node 18.12.1 and 16.19.1 both throw the same error (Feels like webpack 4/5 issue)
@danielroe
package.json
{
  "name": "node-18",
  "version": "1.0.0",
  "private": true,
  "scripts": {
    "dev": "nuxt",
    "build": "nuxt build",
    "start": "nuxt start",
    "generate": "nuxt generate",
    "lint:js": "eslint --ext \".js,.ts,.vue\" --ignore-path .gitignore .",
    "lint:prettier": "prettier --check .",
    "lint": "npm run lint:js && npm run lint:prettier",
    "lintfix": "prettier --write --list-different . && npm run lint:js -- --fix"
  },
  "dependencies": {
    "@nuxtjs/axios": "^5.13.6",
    "core-js": "^3.25.3",
    "nuxt": "^2.15.8",
    "vue": "^2.7.10",
    "vue-server-renderer": "^2.7.10",
    "vue-template-compiler": "^2.7.10"
  },
  "devDependencies": {
    "@babel/eslint-parser": "^7.19.1",
    "@nuxt/types": "^2.15.8",
    "@nuxt/typescript-build": "^2.1.0",
    "@nuxtjs/eslint-config-typescript": "^11.0.0",
    "@nuxtjs/eslint-module": "^3.1.0",
    "eslint": "^8.24.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-nuxt": "^4.0.0",
    "eslint-plugin-vue": "^9.5.1",
    "prettier": "^2.7.1"
  }
}

Try setting your nuxt/types version either pinned to 2.15.8 or 2.16.2. There was a regression in one of our type dependencies that brought in the entirety of webpack 5.

Try setting your nuxt/types version either pinned to 2.15.8 or 2.16.2. There was a regression in one of our type dependencies that brought in the entirety of webpack 5.

Sticking to 2.16.2 did work for me indeed

Okay, this will be resolved on the next release. (The issue is that the version of @nuxt/types with the fix was released as 2x tag rather than latest.)

thanks for the help!

what i did to fix it was:
use npx nuxi init project_name
and cd project_name
and npm install
and npm run dev
and that worked
i think using npx nuxi will make an installation of nuxt 3.x
anyway now we can continue our work


PUBCHEM.COMPOUND:5743 ("Dexamethasone") is missing after drug conflation

It's still in https://name-resolution-sri-dev.apps.renci.org/docs, so I'm not sure what's up with that.
(It could be a sorting issue, since water has also gone back to giving "water water ..." and other stuff above).

This has now been conflated into CHEBI:4463 "Dexamethasone acetate" -- I'm guessing this is because this is a numerically lower suffix that CHEBI:41879 "Dexamethasone". So this ticket probably covers figuring out a better way to promote the right clique leader.

The label has now changed to "DEXAMETHASONE SODIUM PHOSPHATE" :-/ Very strange.


Doesnt run via command given

Took a little bit of work to install the dependencies, After using the given command nothing happens after filling in the form.
sh install.sh
I managed to get it running by changing to the directory and running this code
sudo python3 app.py
Using latest Raspbian 4.19.50-v7+ #896
Could also do with some helping starting this on boot of desktop.
Many thanks.

Hi @zerocolTHS sure i'll try to add this in, if you have a solution please create a pull request for this. Thanks for the feedback and contribution. 👍

@abhishtagatya  Sadly nothing i really tried worked on auto i always had to do it manually.
Hopefully you can sort this out.


Update 3.1.0

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

Jinja2 variable references are suggested to take a {{<one space><variable name><one space>}} form. See lines [26].
License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

@conda-forge-admin, please rerender

@conda-forge/core can someone review this? There's only one maintainer listed

Please make a PR to add yourself as a maintainer per this command: https://conda-forge.org/docs/maintainer/infrastructure.html#conda-forge-admin-please-add-user-username
Then you will be able to merge this PR.

@conda-forge-admin, please update team

you need to add yourself to the feedstock before the update team command will work - use the command I linked above and put that in a new issue in the title

@conda-forge-admin, please add user @JennaLipscomb

use the command I linked above and put that in a new issue in the title

see this please

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

There are too few lines.  There should be one empty line at the end of the file.

For recipe:

Jinja2 variable references are suggested to take a {{<one space><variable name><one space>}} form. See lines [26].
License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

merge when you are happy with it!

@beckermr sorry for my confusion and thanks for your help! I'll go ahead and do the same for the other two spacy repos with the same maintainer.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


This is my proposal for tacos; closes #12

It's good how the cross-referencing helps me here to see what this solves since the title and description are generic (not a problem here).


chore: Add a troubleshoot note for the v4 to v3 "upgrade"

@mender-test-bot cherry-pick to:

3.7.x


Not able to install Atom

While installing the atom following error occurs. How can this be fixed?
index.js:87 Error: EPERM: operation not permitted, open 'C:\Users\nk28828.atom\compile-cache\less\40e22529c8729b65e1d700a7ae3f73d57ed1288f\imports.json'
at Error (native)
at Object.fs.openSync (fs.js:640:18)
at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:168:20)
at Object.fs.writeFileSync (fs.js:1343:33)
at Proxy.writeFileSync (C:\Users\nk28828\AppData\Local\atom\app-1.17.2\resources\app\node_modules\fs-plus\lib\fs-plus.js:295:1)
at LessCache.module.exports.LessCache.writeJson (C:\Users\nk28828\AppData\Local\atom\app-1.17.2\resources\app\node_modules\less-cache\lib\less-cache.js:212:1)
at LessCache.module.exports.LessCache.setImportPaths (C:\Users\nk28828\AppData\Local\atom\app-1.17.2\resources\app\node_modules\less-cache\lib\less-cache.js:161:1)
at new LessCache (C:\Users\nk28828\AppData\Local\atom\app-1.17.2\resources\app\node_modules\less-cache\lib\less-cache.js:68:1)
at new LessCompileCache (C:\Users\nk28828\AppData\Local\atom\app-1.17.2\resources\app\src\less-compile-cache.js:21:1)
at ThemeManager.module.exports.ThemeManager.loadLessStylesheet (C:\Users\nk28828\AppData\Local\atom\app-1.17.2\resources\app\src\theme-manager.js:283:1)
at ThemeManager.module.exports.ThemeManager.loadStylesheet (C:\Users\nk28828\AppData\Local\atom\app-1.17.2\resources\app\src\theme-manager.js:271:1)
at ThemeManager.module.exports.ThemeManager.requireStylesheet (C:\Users\nk28828\AppData\Local\atom\app-1.17.2\resources\app\src\theme-manager.js:191:1)
at ThemeManager.module.exports.ThemeManager.reloadBaseStylesheets (C:\Users\nk28828\AppData\Local\atom\app-1.17.2\resources\app\src\theme-manager.js:252:1)
at ThemeManager.module.exports.ThemeManager.loadBaseStylesheets (C:\Users\nk28828\AppData\Local\atom\app-1.17.2\resources\app\src\theme-manager.js:248:1)
at AtomEnvironment.module.exports.AtomEnvironment.initialize (C:\Users\nk28828\AppData\Local\atom\app-1.17.2\resources\app\src\atom-environment.js:336:1)
at module.exports (C:\Users\nk28828\AppData\Local\atom\app-1.17.2\resources\app\src\initialize-application-window.js:144:1)
at setupWindow (file:///C:/Users/nk28828/AppData/Local/atom/app-1.17.2/resources/app/static/index.js:106:12)
at window.onload (file:///C:/Users/nk28828/AppData/Local/atom/app-1.17.2/resources/app/static/index.js:67:9)

Prerequisites

[ ] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
[Description of the issue]
Steps to Reproduce

[First Step]
[Second Step]
[and so on...]

Expected behavior: [What you expect to happen]
Actual behavior: [What actually happens]
Reproduces how often: [What percentage of the time does it reproduce?]
Versions
You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.

Remove the C:\Users\nk28828\.atom folder and try again.


Ignore pasted data that overflows when allowInsertColumn or allowInsertRow is false

When pasting some tabular CSV that is larger or longer than the current spreadsheet, and when inserting a column or row is not allowed, the last cell keeps getting updated with the overflowing data. As a result, the last cell contains the last value of the pasted data.
That is if I paste the values A B C D on a row with three fixed columns, the three cells contain A, B and D after pasting.
This PR fixes that behavior so that the cells contain A, B and C after pasting.

Thanks ❤

Thanks


Display problem when running VSCode as Administrator

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.74.3
OS Version: Windows 10 Entreprise 21H2 Windows Feature Experience Pack 120.2212.4190.0

Steps to Reproduce:

Uninstall VSCode, delete folders %APPDATA%\Code and %USERPROFILE%.vscode
Install VSCode (last version)
Run as administrator
Try to display release note, it's empty

6. Go to extension panel, a click on the 1st one, the details panel is empty
7.

8. You can test it on all extension, it will be the same behavior
9. Close VSCode
10. Launch VSCode without admin privilege
11. Click on release note
12.

13. Go to extension panel, click on the same extension, information are displayed in details panel
14.

All render failed when I run VSCode in administrator. I use PlantUML extension and I use preview feature. If I run in Admin I cannot get a working preview (ALT+D), I need to close and launch VSCode without admin privilege.

Are you running under applocker ?

This is a professional desktop, so I will say yes.
When I ran Get-AppLockerPolicy -local command i got

And when I run Get-AppLockerPolicy -Effective -Xml, I got multiple returns.
Do you need to check a specific one?

Are you able to run as administrator when launching VSCode with the following command line flags code.cmd --no-sandbox --disable-gpu-sandbox ?

When I ran this command from a PowerShell run as administrator, I got

But it launch VSCode with Admin privilege

And I can access to release note

Or extension details

And I can generate PlantUML diagrams

Thanks for confirming, I will merge this to https://github.com/microsoft/vscode/issues/122951 which is already tracking the root cause. Please continue to use the flags as workaround if you need to launch as admin.

Thanks for support :)


Docs

add documentation for identifiability functions and the input parser.

Thanks for starting with the docs!
I would suggest a slightly different structure. Right now, there are three md's about "identifiability":

local
global
just identifiabiity + io-equations

I would suggest to have a single md on identifiabilities in the order: identifiability, local, global, and a separate md for find_ioequations as this is a more technical thing and is of somewhat different nature.


[BUG] Running make tre-stop causes the next make tre-deploy to fail

Describe the bug
Running make tre-stop will cause the next make tre-deploy ran in the same environment to fail.
Steps to reproduce

Run make tre-deploy tre-start tre-stop
Run make tre-deploy again

Investigation
This seems to be due to the fact that commands make tre-start and make tre-stop are manipulating the resource fw-ip-configuration which is managed by terraform.
Because of this, Terraform wants to recreate it:

However there is also a lock on its parent resource. Because of this, Terraform fails to recreate it:

Given that the resource managed by Terraform is also modified elsewhere, I think we should add a lifecycle attribute there, to reflect the fact that the fw-ip-configuration resource is modified by processes outside Terraform:
lifecycle {
    ignore_changes = [
      ip_configuration,
    ]
  }

The lock is only a do not delete lock, so confused as to which it cannot create the IP - its trying to replace the entire firewall from what I can see.
I'm happy with ignoring changes on ip configuration if it fixes it.
Good investigation work.

confused as to which it cannot create the IP - its trying to replace the entire firewall from what I can see

Confused about this as well, from what I understand this can happen if there's no way to update the firewall in the API (or it's not implemented in the provider). I'll look again into this today

Looks like we can't solve the problem by adding lifecycle { ignore_changes = [ip_configuration] } as the ip_configuration resource is used in the firewall module outputs. More information on this can be found here: https://stackoverflow.com/questions/64319242/terraform-ignore-changes-for-resource-output
It seems that Terraform doesn't like it very much when a resource is updated both within and outside of Terraform.
The way to solve this seems to be to add a data import to Terraform for any dependencies, but manage the firewall object from outside of this Terraform state.
@marrobi  said there are plans on extracting the firewall out into a shared service. I think once we do it, this problem will go away, so this sounds like the best course of action.

Leaving this bug open for now just so that we remember that we are incurring additional costs at the moment.

As an interim, we could leave make tre-stop/start in place, and comment out the firewall changes from https://github.com/microsoft/AzureTRE/blob/main/devops/scripts/control_tre.sh
That way we stop the App Gateway from incurring further costs.  Depends on time required for https://github.com/microsoft/AzureTRE/issues/1177

Can not reproduce following recent changes. Closing.


File Persists After Deletion

Bug
If you have a file called 'Untitled', where  is either an empty string or an integer, if you delete it and create a new 'Untitled' of the same name, the new file will not be blank but instead, will contain all of the content from the old file.
Reproduction

Open up a new instance of browser-solidity.
Press the New File button and make some changes to the file, 'Untitled'.
Delete 'Untitled'.
Press the New File button again to create a new file with the same name.
The old changes prior to deletion should be displayed in the new file.

Browser
Chromium Version 50.0.2661.102 (64-bit)

I've seen this too.


[website] Automate last updated date

The last updated date is updated manually, Automate it by adding a new script.

Automated.
PR: https://github.com/ardaOnal/shopping-bee/pull/9


Deprecate tslint in favour of eslint

Description
Changes proposed in this pull request:

Deprecate TSLint and it's rules
Integrate ESLint

Related issue(s)

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


feat: Speedup terraform_validate - firstly try run validate without checking is .terraform/ is valid

Put an x into the box if that apply:

[ ] This PR introduces breaking change.
[ ] This PR fixes a bug.
[ ] This PR adds new functionality.
[x] This PR enhances existing functionality.

Description of your changes

As discussed in https://github.com/antonbabenko/pre-commit-terraform/pull/509#issuecomment-1521825264 i would like to introduce a change to run terraform validate in the hook first without running the checks if terraform init is needed.
This helps in situations where there is no .terraform/modules or .terraform/providers directory as terraform init would be called every time.
How can we test changes

Run the terraform_validate.sh hook against your test repositories, if terraform validate should run first without any additional checks. If it fails, the normal workflow continues.

Is there anything i can to to help get this merged :)?

@yermulnik please review

Thanks for merging this! That makes my life a lot easier :)!

is this supposed to output an error? When I run pre-commit now, it looks like theres an error but then it says it was able to init successfully even on repeat back-to-back executions

@bryantbiggs I think it is expected behavior since there are recoverable errors. After it runs, there should be no errors and it should "pass".

yes I'm seeing that now as well - I guess its just when it finds errors that need to be fixed that it shows that output but once all pre-commit checks are passing they are gone and its green. thanks, sorry for the noise!

We can add >/dev/null for that, lmc check is that fix issue

I can't reproduce.


Allow PublishSymbols to publish binaries (dll, exe) and well as pdbs

We usually publish binaries (dll, exe) to our symbol server in addition to pdb files. The reason being is that it's much easier to debug crash dumps using only the symbol sever.
The script failed trying to index sources on a .dll.

This is not something I have ever seen.  Could be give me some additional information on how you use this today?

Before TFS, our build system used symstore.exe to publish binaries and pdbs to a symbol server. The advantage of having the binaries on the symbol server is that given just a crash dump (e.g one automatically uploaded to our crash dump server by a customer), we can open in up in Visual Studio or WinDbg and get the callstack without the additional step of locating the original build.
When we migrated to TFS2010 build, we modified the workflow to include binaries as well.
So naturally as we look to migrate to TFS2015 build we want to do the same thing.

@chrisrpatterson - consider?

Copying to our backlog for consideration.  Not tracking as an issue.