Added BNPL category and categorised existing technologies / Improved Paypal Detection and added Bitcoin

https://github.com/AliasIO/wappalyzer/issues/4422

Thanks!


The getter 'headline6' isn't defined for the type 'TextTheme'.

Getting this error while trying to build my app.

I'm not really optimistic about it :D . There are open issues that are months old and the latest update on the plugin was 22 months ago. I just cloned the project from github and fixed the problematic parts myself. Right now, I am able to work without any problems using the local version I have. I suggest you do the same if your project relies on this library... Would be nice if the fix it tho

change headline6 to titleLarge and errorColor to colorScheme.error

This change doesn't seem to be published to pub.dev yet.


[stdlib] Remove redundant CustomStringConvertible conformance

The implementation is identical to the default string representation. The conformance and description property are never explicitly used, and seems to be a legacy artifact. The patch passes validation tests (build-script -R -T) successfully.

I added this for debugging when the runtime printing facility couldn't print arbitrary enums.


Make SILArgumentConvention a "method"-enum.

This means using a struct so we can put methods on the struct and using an
anonymous enum to create namespaced values. Specifically:
struct SILArgumentConvention {
  enum : uint8_t {
    Indirect_In,
    Indirect_In_Guaranteed,
    Indirect_Inout,
    Indirect_InoutAliasable,
    Indirect_Out,
    Direct_Owned,
    Direct_Unowned,
    Direct_Deallocating,
    Direct_Guaranteed,
  } Value;

  SILArgumentConvention(decltype(Value) NewValue)
      : Value(NewValue) {}

  operator decltype(Value)() const {
    return Value;
  }

  ParameterConvention getParameterConvention() const {
    switch (Value) {
    ...
    }
  }

  bool isIndirectConvention() const {
    ...
  }
};

This allows for:

Avoiding abstraction leakage via the enum type. If someone wants to use
decltype as well, I think that is enough work that the leakage is acceptable.
Still refer to enum cases like we are working with an enum class
(e.g. SILArgumentConvention::Direct_Owned).
Avoid using the anonymous type in function arguments due to an implicit
conversion.
And most importantly... drum roll add methods to our enums!

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci Please smoke test and merge


SakuraNovel blank chapter

Source information
SakuraNovel
Steps to reproduce

Open sakuranovel 2. Open first chapter 3.open other chapter 4. All chapter blanks

Expected behavior
It's should be

Actual behavior
This happen instead

LNReader version
2.0.0
Android version
Android 13
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 1.1.19.
[X] I have updated all installed extensions.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Duplicate of #891


Provide a docker image for project

Please provide a docker image for instant setup.

I probably won't get to this, but it's a good idea. I'll leave the issue open as a placeholder in case someone wants to contribute a docker setup.
Thanks!

I'd like to start working on it!
I'll send a PR as soon as possible!


Synonyms for part_of children of male accessory gland FBbt:00004959

male accessory gland main cell FBbt:00004960 please add exact synomyn "main secretory cell"
male accessory gland secondary cell FBbt:00004961 please add exact synomyn "secondary secretory cell"
Reference: FBrf0152376 Table 2 and Figure 5

This is done

I've added the reference to the synonym.


[Feature]: A prefix to search for stats on armor (including leech, avoidance, speed)

Describe the feature
I'd really love it if there was a prefix for the search where I could search for specific armor tertiaries (or just stats in general).
Describe the implementation
When I go to the search field I'd like to put in a prefix like "stats", "items", "armor" to find the stat type I need

I have a fix for this, but I am unable to create branches or pull requests.


db-address-space: refine the implementation of address-space.rs

Refine the implementation of address-space.rs by:

enforce strict validation
rename feature "atomic-guest-memory" to "region-hotplug"
rename AddressSpaceBoundary to AddressSpaceLayout

Signed-off-by: Liu Jiang<EMAIL_ADDRESS>

@HerlinCoder Please take a look at this


Push Info Component to the top

At the moment the sidebar in the individual assets feels kinda buggy because leva only shows up a couple of seconds after
Pushing it to the top would be a great addition

A page that is already doing something similar is the request page, the title is inserted there and not in the layout

I will check this.

@SaraVieira, do you want to put the Leva component on top? Or the entire ModelInfo component to the top?
And in what way exactly at the top? Next to the title (Ambulance)?

The whole info thing in the sidebar, the leva part is filling a div so it's all html

Okay so, I'm going to try to move the entire ModelInfo component and the Leva that is inside it to the top, it will be positioned almost in the header and next to the Title (ambulance), I will follow it according to the red outline in the image you made above .

@SaraVieira Could you help me understand why the Model component is not stretching across its entire space?
If I remove the div around the Model component, it starts to grow infinitely, have you seen it happen?

<Layout noTitle>

               {title}

             <Viewer {...model} />

         <ModelInfo {...model} />              <Stats stats={model.stats} size={model.size} />       <NextAndPrev {...model} />     </Layout>

I'm a little absent due to personal problems, if anyone can take this issue feel free.

@matheusmazeto Someone did but I hope things are better now


[Feature Request] Enable tags by default when opening a notebook

It would be great to add an option on the plugin settings page to enable the tag editor by default, with no need to manually turn it on each time. Thanks for reading.

Thanks for the suggestion @XMB-7
If you are willing to contribute, I can provide some pointers.


Arg -U --update added for update app

Motivation
Resolve feature requested at #1706
It's the basic implementation and will add wait animation and terminal output recreation in the future.
The documentation md file not updated

Has no error handling

I don't think it requires any error handling; we run the subprocess, which returns the error if the internet connection isn't established.

This simply calls pip to update Instaloader and as such does not add any benefit. The user can instead directly call pip.
It also causes trouble if Instaloader was installed by other means than pip.


KAFKA-15448: Update upgrade guide for KIP-988

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Thanks for the PR!
Merged to trunk and cherry-picked to 3.7 branch.


Upgrade to Angular 4 Code

Hey Temich666 thanks for the last update.  Here is something we have done to upgrade to angular 4 that you could possibly use.

If that picture doesn't work, here is the code
`   "dependencies": {

"@angular/core": "^2.3.1",

"@angular/core": "^4.1.0",
"@types/lodash": "^4.14.44",
"lodash": "^4.17.3",

"rxjs": "^5.0.1"

"rxjs": "^5.1.1",
"zone.js": "^0.8.10"
},
"devDependencies": {

"tslint": "^4.0.2",
"typescript": "~2.0.3"

"tslint": "^5.2.0",
"typescript": "~2.2.2"
}
}`

Thanks for the comment. Done.


Contributor graph added

Related Issue
Closes: #40
Describe the changes you've made
Contributor graph added
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Enhancement in the existing features
[ ] Other

Mention any unusual behaviour of your code (Write NA if not)
Any unusual behaviour of your code
Checklist:

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly whereever it was hard to understand.
[x] My changes generate no new warnings.
[x] I have verified/tested my code by running it locally.

Additional Info (optional)

Can you add a screenshot of the change please!


[BUG] update operation does not appear to set permissions, and does not source bash_completion

In raising this issue, I confirm the following:
{please fill the checkboxes, e.g: [X]}

[x] I have read and understood the contributors guide.
[x] The issue I am reporting can be replicated.
[x] The issue I am reporting can be is directly related to the pivpn installer script.
[x] The issue I am reporting isn't a duplicate (see FAQs, closed issues, and open issues).

Describe the bug
The update.sh script copies files from the local repository.  The installer script uses the 'install' command and sets permissions.
The installer script sources the bash_completion after copying, the update.sh does not.
The effect is that permissions may not be the same after the update, and the bash completion will not be updated until the next reboot
To Reproduce
Steps to reproduce the behavior:

Go to copy of repository, edit scripts/install.sh, search for bash_completion
Compare with installer.sh, search for /etc/bash_completion.d

Add any other context about the problem here.
I found this when updating update.sh for installation of both wireguard and opvn protocols.

Actually I'm not really sure if the update script is really useful, as written in the original Upgrading wiki PiVPN is an installer (and a bit management) script, there is not really much to update. Scripts from the git repo change but mostly to accommodate changes in the install script @4s3ti

Follow up on issue #1069


Repackage Cisco ASA

Required items, please complete
Change(s):

See guidance below

Reason for Change(s):

Data connector added

Version Updated:

2.0.3

Testing Completed:

Test Doc

looks good.


Pass missing on_request callback to BrozzlerWorker methods

Browser.browser_page has the on_request parameter but it is on
used by BrozzlerWorker._browse_page where we invoke it.
I add this to BrozzlerWorker.brozzle_page and pass it also to
BrozzlerWorker._browser_page. Now, it is possible to use this
callback from other applications when calling
BrozzlerWorker.brozzle_page.
Motivation

Description

Testing and Deployment Plan

(As mentioned on slack) I'm thinking that instead of adding only on_request to brozzle_page, we should add **kwargs and pass that all the way through to browser.browse_page.

You mean to eliminate _browse_page?
Looking at its contents, I see that it runs some extra logic before invoking browser.browse_page.
You would miss that...
If I need to run browser.browse_page in my 3rd party software, I could invoke that. NP.

If I need to run browser.browse_page in my 3rd party software, I could invoke that. NP.

Yeah that's what I meant. Then you don't have to mess with Sites and Pages that you're not really using for anything. And you wouldn't need the enable_youtube_dl option either, but no problem with keeping it. Not sure if anything becomes more difficult this way, starting the browser maybe...

Yes, but what if I want to use warcproxy or youtube-dl?
Its not my case but it could be useful for other users.
In fact, maybe if we switch SPN to warcprox I'll definitely need brozzle_page.
Also, as I see it the brozzle_page method is the "public" api
whereas the others are "internal" and could change in the future.
Do you need me to do any other change in the code? Thanks

Yeah ok you would want to use BrozzlerWorker.brozzle_page to get the automatic saving of screenshots and so forth with warcprox. Ok I'll merge this. (Fwiw I would consider Browser.browse_page to also be public api.)


RAIDBOSS: Ultima Thule Triggers set to Elpis incorrectly

Description
Under RaidBoss -> Endwalker | There are two that is set as Elpis. The second Elpis should be set as Ultima Thule. Looking at the trigger source, it appears that the ZoneId is also set as Elpis, therefore, the calls do not happen when hunting in Ultima Thule.

Added screenshots for further clarity.


Fixing "same name file" issue

Problem:
When you try to upload two transcripts of the same name, the program crashes.
Solution:
When a program receives a transcript, it does these things:
frontend sends data to backend
frontend waits to hear back from backend before doing anything (frontend doesn't add a button)
backend checks if transcript of the same name exists
if yes, backend throws an error, and doesn't identify the intents in the transcript
if frontend receives an error message, frontend doesn't add a button for the new transcript.

Problem:
When you try to upload two transcripts of the same name, the program crashes.
Solution:
When a program receives a transcript, it does these things:

frontend sends data to backend
frontend waits to hear back from backend before doing anything (frontend doesn't add a button)
backend checks if transcript of the same name exists
if yes, backend throws an error, and doesn't identify the intents in the transcript
if frontend receives an error message, frontend doesn't add a button for the new transcript.

Closed on Mon 5 Dec. Program does not crash when uploading files with the same name.


Enumerate all cached keys

It seems like this feature is not available in any of the caches.

What's your use case for enumerating keys?
I'm trying to avoid increasing the API surface unless it's really critical functionality, and usually looking inside the cache is an anti pattern.

That was a potential workaround to clear cache. Given you can clear cache now (#73) I don't think I have a valid use case for that any longer. Thanks for looking into that.

I suggest reopening this issue again.
My use case is that I have an application that needs to restart regularly, and I would want to persist the cache across restarts.


Flex does not work as expected between Android and iOS

I have gone through these following points

[x]   Check latest documentation: https://docs.nativebase.io/
[x]   Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
[x]   Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
[x]   Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
[ ]   For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
[ ]   For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/

Issue Description

node 10.14.0, npm 6.4.1, react-native 0.58.4, react 16.6.3 and native-base 2.11.0 version, expo version if used, xcode version 10.1
Expected behaviour
Layout with Android and iOS have the same behaviour
Actual behaviour
Flex for android fill all space on the x axis (width), while iOS do it in the y axis (height)
Steps to reproduce

To explain what I'm trying to do, I need to create a tabBar, but these tabs has different width sizes. Reading some issues like #2003, the only thing that I need to do is set flex: 0 and a fixed width to my tab, to get something like this:

So my code look like this:
<Tab
        key="__petUpdate__tab_4"
        heading={
          <View style={{ flex: 0, width: 50, backgroundColor: 'white', width: 50, padding:0, margin: 0, alignSelf: 'center' }}>
            <Icon style={[this.state.currentTab === 3 ? Styles.tabTextActive : Styles.tabText, { fontSize: 25 }]} name="photo-camera" type="MaterialIcons" />
          </View>
        }
      >

On android it works well, but on iOS as you see, there is not happening. I've tried for a long time, but I cannot get fix it. The only thing that I saw is that on android the flex: 1 fill the free content on width, and on iOS is over the height. See this image:

I will share my entire code:
<Tabs tabContainerStyle={{ backgroundColor: 'blue' }} tabBarUnderlineStyle={{ backgroundColor: 'transparent' }} onChangeTab={({ i }) => { this.setState({ currentTab: i }) }}>
      <Tab
        key="__petUpdate__tab_1"
        tabStyle={Styles.tabGrey}
        textStyle={Styles.tabText}
        activeTabStyle={Styles.tabGrey}
        activeTextStyle={Styles.tabTextActive}
        heading={__('pet_update_tab_detail')}
      >
        <InformationTab pet={pet} />
      </Tab>
      <Tab
        key="__petUpdate__tab_2"
        tabStyle={Styles.tabGrey}
        textStyle={Styles.tabText}
        activeTabStyle={Styles.tabGrey}
        activeTextStyle={Styles.tabTextActive}
        heading={__('pet_update_tab_description')}
      >
        <DescriptionTab pet={pet} />
      </Tab>
      <Tab
        key="__petUpdate__tab_3"
        tabStyle={Styles.tabGrey}
        textStyle={Styles.tabText}
        activeTabStyle={Styles.tabGrey}
        activeTextStyle={Styles.tabTextActive}
        heading={__('pet_update_tab_healthy')}
      >
        <HealthTab pet={pet} />
      </Tab>
      <Tab
        key="__petUpdate__tab_4"
        heading={
          <View style={{ flex: 1, backgroundColor: 'white', flexDirection: 'column', width: 50, padding:0, margin: 0, alignSelf: 'center' }}>
            <Icon style={[this.state.currentTab === 3 ? Styles.tabTextActive : Styles.tabText, { fontSize: 25 }]} name="photo-camera" type="MaterialIcons" />
          </View>
        }
      >
        <GalleryTab pet={pet} />
      </Tab>
    </Tabs>

Is the bug present in both iOS and Android or in any one of them?
Both of them
Any other additional info which would help us debug the issue quicker.
If need more information, just tell me

Hi @german970814 , can you provide minimal code reproduction on snack for the same with more info like what do you want to achieve with the screenshot?


clickable and draggable scrollbar

clicking or dragging the scrollbar now moves the cursor to the correct location. Should deal with #251

I don't know what changed?? 🤷♂ but it's up now

@Akin909 full steam ahead 👍


WIP: Created the api and models for the Wiki endpoint

Started by creating the API and Models for the WIKI endpoints to address the following issue.
References https://github.com/m4tthumphrey/php-gitlab-api/issues/335
See the following API from gitlab,
https://docs.gitlab.com/ee/api/wikis.html
Items still left to complete.

[x]  Create Test cases
[ ]  Create the integrations from the Projects directly ?

I'd say it's enough


Find in Files: add Copy file, path, and get its properties to context menu

Reuse some of the FileSelector actions since the Find in Files table is actually a FileSelector.

Fixed in 64fc821 (accidentall specified the wrong ticket number).


Support event emitter and consumer with dashed line

[ ] Recognize the files with event emitters and event consumers in Scout
[ ] Visualize it with the dashed line in the Orakul UI
[ ] Add example of event emitter and event producer in nestjs guinea pig project

description?

@MrSharpp , see the updated description


Let Agent use Tool chains

tool chains...so that a agent can direcly funnel the returns of a webrequest to a summerization tool
that would save a lot of context
so the agent can call something like summerizeAndanwser(Webrequest("gpt provided url"), "gpt provided question")

maybe we should skip that, and go directly to some kind of pseudocode
I made some great working examples:
Following is a list of sophisticated Functions you can use to solve your orders.
Web(url) returns text of webpage , use it for example to get wiki pages or google searchresults. All of the internet is accessable.
Summerize(text, question) -> returns the answer to the question if it can be found in the text or returns "not found"
print(text) -> Prints the text to the output, so you can see it in the {Result}
if you use a = sign you can save stuff in variables
you can chain funcions like A(B(input1, input2),input3)
Use the following structure to query the system:

{Code to evaluate}
{Result}
<<<

myText="The Ball is red."
answer=Summerize(myText, "What color is the ball?")
print(answer)
red
<<<
Now find out with this tools what are the biggest animals.


Updated contributing

NPM requires that you symlink the component you need in the directory you plan on using it. Updated the directions to include that step.
Changes

Updated contributing section of README.md

Testing

Follow the instructions

It didn't work for me till I also symlinked in the other directory. See this comment in the NPM docs

Package linking is a two-step process.

Here's the error I get without symlinking in the test directory (this is a fresh directory)

and after linking

@jimmynotjim Is it possible you hadn't npm install -g generator-cf? I think if it's globally installed you don't need to link where you want to use it.

I was just able to test #143 without running npm link generator-cf in my test directory.

Ohhh weird, I removed the link, and made sure it was installed globally, but a brand new directory is saying I don't have it installed. There must be something else wrong with my setup, but it's not immediately clear what it is.


bug: valsets are being generated too often

What is happening?

Section description
Provide as much context as you can. Provide relevant software versions, screenshots, copy & paste error messages and so on.
Give as much context as you can to make it easier for the developers to figure what is happening.

Valset updates are being generated too often. This may end up being too expensive for the flock. This is because there was a typo in calculating the validator's power percentage. It's totalPower/validatorPower while it should be validatorPower/totalPower 🤦 .
How to reproduce?

Section description
Please write detailed steps of what you were doing for this bug to appear.

Current testnet-6 is generating a lot of updates
What is the expected behaviour?

Section description
If you know, please write down what is the expected behaviour. If you don't know, that's ok. We can have a discussion in comments.

{WRITE YOUR ANSWER HERE}

This is done


error while using github-regexp -s user:maksim-s -q -k

error :
panic: runtime error: slice bounds out of range [:-13439]

goroutine 117 [running]:
main.printMatch(0xc0007cc000, 0x250d8, 0xc00065a1a0, 0x2, 0x4, 0xc00059c180, 0x7e)
        /home/balu/tools/github-regexp/main.go:324 +0x7db
main.doItem(0xc00022b340, 0x67)
        /home/balu/tools/github-regexp/main.go:303 +0x2a5
main.main.func1(0xc000016b00, 0xc000102780, 0xc00022b340, 0x67)
        /home/balu/tools/github-regexp/main.go:560 +0x7d
created by main.main
        /home/balu/tools/github-regexp/main.go:557 +0xf11

Works perfectly for me.
Try to update your Go version.

Problem is about big files returned, like images. Have to find a way to fix that.

Deployed a quick patch, should work now.


Simulation Reset API

Desired behavior
Add the ability for the state of simulation to be reset to what it was at t=0.  Reset can be called multiple times on the same simulation.  A simulation can be stepped or otherwise run after being reset.
This feature should provide a relatively-optimized way of resetting simulation to a particular state without incurring unnecessary overhead of reloading and re-parsing assets.
Alternatives considered

Fully stopping and starting a running simulation executable.

This has the highest overhead, as all assets, plugins, libraries and executables must be unloaded and reloaded with a completely new executable.

Implementation Outline
The implementation should happen in the following general phases:

The ECM and SimulationRunner are given an appropriate API to surface the functionality from both C++ and ign-transport
Systems are given an additional API that allows system writers to implement optimized Reset functionality.
Systems included with ign-gazebo are updated to take advantage of the new Reset interface for systems.

The Reset interface shall be opt-in and not break any existing System plugin implementations. In the case that the Reset interface isn't implemented, the entire system should be destructed and constructed during the Reset phase.

The ECM and SimulationRunner are given an appropriate API to surface the functionality from both C++ and ign-transport

Is there something missing from the transport interface that is already there? See https://github.com/ignitionrobotics/ign-gazebo/issues/203#issuecomment-642138544.

Systems are given an additional API that allows system writers to implement optimized Reset functionality.

As mentioned on https://github.com/ignitionrobotics/ign-gazebo/issues/203#issuecomment-642138544, systems can already detect resets from UpdateInfo. If that's not enough, what's missing?

Systems included with ign-gazebo are updated to take advantage of the new Reset interface for systems.

+1

In the case that the Reset interface isn't implemented, the entire system should be destructed and constructed during the Reset phase.

That's an interesting idea. As a reference, Gazebo classic offers an optional Reset callback and if it isn't implemented, it's simply not called, and nothing else happens. I wonder if forcebly resetting plugins may have unintended consequences, but I can't think of any right now.

the most common issue I've seen with osrf/gazebo plugins is storing the most recent time that simulation was run in order to throttle its update rate, then failing to reset that along with the rest of simulation. This can result in plugins failing to update until simulation time reaches the point from which it had previously been reset.

Is there something missing from the transport interface that is already there? See #203 (comment).

No, this was just for completeness in documenting the feature.  I think that transport is already good to go, but as with @diegoferigo's comment in #203, it makes sense to also have this as part of the C++ API.  I would envision this propagating through SimulationRunner up to Server so that it is accessible there.

As mentioned on #203 (comment), systems can already detect resets from UpdateInfo. If that's not enough, what's missing?

I have two primary concerns with relying entirely on UpdateInfo.

That not many people are aware of this or handling it.   It's true in many of our internal system plugins, and I'm not sure of what the landscape looks like for plugins that are outside of this repository.   I don't think that this is anyone's fault, it just hasn't been considered in several of the implementations.
I'm concerned with a lot of duplicated logic between PreUpdate, Update, or PostUpdate.  For the sake of completeness, you would need to detect a potential reset in all of those methods if you implement all three.  It makes each of the functions larger as well.

I think adding an interface that system developers could opt-in to would be a safer approach.  In terms of (1) it would make it so that there won't be any behavior change if no additional code is added.  In the case of (2), it provides an explicit method that will be called in the case of a Reset.  It should be very clear to a developer what the expectations are.

I wonder if forcebly resetting plugins may have unintended consequences, but I can't think of any right now.

I couldn't think of any.  In an ideal world, those plugins wouldn't have any internal state (instead storing it in the ECM).  In this case, though, I think it's the cleanest way to guarantee that the internal state is reset to some sane initial condition.

it makes sense to also have this as part of the C++ API

+1

For the sake of completeness, you would need to detect a potential reset in all of those methods if you implement all three

Does that complexity go away if you add a Reset callback though? My concern is that the Reset callback would be adding to the complexity by adding yet another way of reacting to a reset.
Looking at it from another angle, we currently give developers the flexibility of reacting to a reset at any point in the update loop. A system that updates their internal state in PostUpdate may choose to react to resets there and ignore resets on PreUpdate.

not many people are aware of this or handling it

Is your point that the Reset callback would be easier to discover than changes to UpdateInfo?

Assuming we're going with a reset callback, I have some follow up questions:

At which point of the update cycle will it be called? Is it before PreUpdate?
What information is passed to systems through this callback? Just what's currently in UpdateInfo?

We currently process Reset requests via ign-transport after the *Update cycle. This means all systems get the updated UpdateInfo at their next PreUpdate. I think we should keep this scheme if we add a Reset API. I think this would keep things deterministic. Otherwise, if we do it asynchronously, we may end up having the reset happen after some systems have finished part of their *Update cycle and so would fail to reset their state properly.
For me the argument for a Reset interface are:

As @mjcarroll suggested, a Reset interface is a lot more discoverable for developers than the logic for detecting a reset. And probably less error prone. For example, it's not enough just to check simTime == 0 because by default simulation starts in a paused state and simTime is 0 until the user hits the play button.
If we allow a system to make changes to the ECM in its Reset function and if its the first system in the list, this can be used as a means of resetting the world with some variations. This can be really useful for generating test scenes with small changes between test runs.
It would give us a clear way to know if a system supports Reset. If it doesn't we can either warn the user or reload the plugin.

The downside is that we're making a distinction between Reset and Rewind/Time seek. If we ever get to a point where we can go back in time and start the simulation from any arbitrary time instance, then having a Reset function would be redundant.

The downside is that we're making a distinction between Reset and Rewind/Time seek.

Ah this was a question that's been in my mind, whether the Reset API would leave room for implementing simulation rewind in the future. I personally like using UpdateInfo because it's flexible enough to support all these use cases.

Another question that's been in my mind is whether you're planning to make the distinction between "time" and "model" resets like Gazebo classic does

https://github.com/ignitionrobotics/ign-msgs/blob/ign-msgs8/proto/ignition/msgs/world_reset.proto
https://github.com/osrf/gazebo/blob/01b395a5fa92eb054c72f9a2027cdcfd35f287f4/gazebo/physics/World.cc#L882-L887

Coming from #1489,
My issue feels somewhat duplicated yet it focus on entitymanager mostly.
I'm not sure about UpdateInfo since I couldn't find the documentation for it.
From what I see, reset is highly possible without the sensor plugins while time is still running.
See here,
https://user-images.githubusercontent.com/65916520/169037256-5ca43ed4-c9a5-49fa-b181-23f14e280b75.mp4
This was due to no sensor involves. I can do it all day. The problem is that once you add the sensor in the robot, it automatically adds camera RGB or any sensor that comes first (in this video, camera RGB is the first on the sdf). Once you remove the robot, the sensor is still stored in entity manager. I don't know if UpdateInfo can do this but I'm pretty sure reset can remove the registered RGB camera on the entity manager.
See here when you remove the robot, it spammed the error.

[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [63], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [64], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [65], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [67], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [68], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [62], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [63], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [64], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [65], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [67], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [68], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [62], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [63], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [64], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [65], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [67], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [68], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [62], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [63], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [64], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [65], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [67], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [68], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [62], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [63], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [64], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [65], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [67], but this entity does not exist. This create component request will be ignored.
[Err] [EntityComponentManager.cc:486] Trying to create a component of type [9436740692853731264] attached to entity [68], but this entity does not exist. This create component request will be ignored.

This is because it stores the previous RGB camera from the previous robot. So when I load the second robot, it crash.
So the question is, which would solve to reset, respawn and possibly UpdateInfo?, why is it still there when the parent of plugin is not in the world? Shouldn't it be disappear by the time the model isn't in the world?

@Kakcalu13 There is a follow up to the first two reset PRs: https://github.com/gazebosim/gz-sim/pull/1355
This adds the reset capability to sensors and the scenebroadcaster, and may do what you are looking for?

Oh my!  Let me try that one!

My apologies, but I'm very inexperience with CPP.
How do you test this? Do you use the command line to test it or something else?


Fix reference leak when a for-loop's "else:" branch contains a "break"

Closes https://github.com/cython/cython/issues/5347

Implemented in https://github.com/cython/cython/commit/4c42949b47eff1bce921fae71ed93ec359dd32a4


Builtin support for Paper Folia

Enhancement Type
New server type
Describe the enhancement
Would be awesome to support the new Folia (Multithreaded) fork of Paper.
https://github.com/PaperMC/Folia

Being what appears to be a fork under the official org, I'm curious if you know why they didn't just enhance the mainline one?

It would be great to see this engine in a docker image. I'm waiting to be added.

It wasn't added to actual Paper because it breaks lots of plugins.

Resolved by #2081


⚠ CodePush has degraded performance

In e1f9dc8, CodePush (https://codepush.appcenter.ms/v0.1/public/codepush/update_check?deployment_key=Fzqu71x4FXhOaKcAiwpqXkFQddjgYl2dIUW2K&app_version=4.4.1) experienced degraded performance:

HTTP code: 200
Response time: 9499 ms

Resolved: CodePush performance has improved in b19c1aa.


CSPRNG question

Do you have any good reason to use a modified ISAAC implementation instead of AES as a CSPRNG? I'm working on a project with similar requirements that the SEIF protocol has and trying to learn from your solution but it seems unnecessarily complicated. I'm not the crypto expert in the team, but I can tell you that our approach is based on AES and works the following way. We are gathering entropy from different sources (camera, user interaction, and the OS dev/random and its windows equivalent) just as you for seeding the RNG time to time. The random number generator itself based on the AES block cipher and the random seed (which is a 256-bit number) is used directly as a key. In addition to the seed the RNG has another state which is basically a 128-bit counter. The random number generation happens through encrypting the next value of the counter. It does not use any mode of operation and IV, it directly encrypts the 128-bit counter as a block so the result is a also a 128-bit value whose bytes is XORed together to get a single byte. (Our generator produces one byte on every iteration) As I mentioned the RNG is reseeded periodically with truely random numbers. If the seed is random, the security of this generator is entirely based on the security of AES. (At least we think so)
So what do you think of our method and why have you chosen ISAAC and a more complex way to generate pseudo random numbers?

Why not just use the operating system defined RNG? See also #1

@gazbor Your approach is quite good. I believe what you are describing is very similar to AES in CTR mode adapted to generate random bytes. Here is a NIST recommendation for using the same (http://csrc.nist.gov/publications/nistpubs/800-90A/SP800-90A.pdf). Fortuna which is a very good CPRNG too makes use of AES in CTR mode. Hence, choosing a pre-existing approach might be the way to go!
To that end, there are multiple options when it comes to choosing a CPRNG. We decided to choose ISAAC. We did little to no modification to how ISAAC works. We only add an additional stage on the output end. We generate excess bytes to be hashed as our output -- enabling entropy redistribution.
Of course our method has many parallels, it is out here to make sure we as a community converge to a reasonably secure solution. We are open to moving to a better algorithm if it makes a significant leap in its security guarantee.


I'M sorry for bothering you Sir, Am getting INS-1 error after a C2B operation and I don't know if it is me or the m-pesa API problem, on m-pesa developers site the documentation is short and all i know about this error is that is an internal error

Its Working now! Might have been packages conflict! I Restarted the project and cleaned the composer json!


endless loop in /src/count.cc

/src/count.cc gets stuck in a livelock when num_files exceeds the ip_files queue node limit (or it's element count).
In detail:
The queue node limit for ip_files is hard coded at l.60
The queue and num_files gets populated in the for loop at l.286, but the return value of ip_files.push() (l.296) isn't evaluated (same for the push at l.211 btw).
So if the node limit gets exceeded (or the push is failing for any other reason) the file pointers get dropped silently but num_files still gets incremented (l.297).
Which makes the outer while loop at l.208 an endless loop (since it iterates over num_files, which gets decremented in the inner while loop, which iterates over the elements of ip_files).
Maybe i missed it, but neither - the silent dropping of files and/or filesparts (which from my understanding can happen at l.299 aswell - just without triggering the livelock), nor the existing node limit seems to be documented.
Increasing the node limit to exceed my particular num_file count prevented the endless loop (i guess setting the node limit dynamically to opts.filenames.size() would be the most elegant way, but it seems boost::lockfree::queue's lockfree behavior depends on the disabled dynamic memory allocation.
Sincerely tkranz

I append a zip containing a git patch (fix#42.patch). With those changes the execution stops and an error message gets printed in case the queue limit is exceeded.
fix#42.zip


Fix linker errors related to Abseil library in Makefile

This pull request addresses linker errors encountered during compilation due to missing symbols from the Abseil library. The errors were caused by the linker not being instructed to include all necessary Abseil libraries.
To resolve the issue, I have updated the Makefile to include the missing Abseil libraries explicitly. Specifically, I added -labsl_log_internal_check_op and -labsl_log_internal_message to the linker flags. These changes ensure that the linker can find the required symbols (_ZN4absl12lts_2024011612log_internal17MakeCheckOpStringIPKvS4_EEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEET_T0_PKc and _ZN4absl12lts_2024011612log_internal17MakeCheckOpStringIPKvS4_EEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEET_T0_PKc) and successfully link the program.
This fix resolves the compilation issue and ensures that the project can be built without encountering linker errors related to Abseil dependencies.

Thanks. I don't exactly understand what they are for, but I see they are used for the CHECK runtime assertions.

https://github.com/collinalexbell/HackMatrix/pull/50
Sorry, I had to revert this. There is no apt package for absl that I can include in the readme, so I will have to add compiling it to the build process. I'm working on a cmake branch, so I'll consider adding it to that. What are you using it for? My toolchain doesn't require it to build the project as is, but perhaps yours does.

No problem.
the error occurred because there were unresolved symbols related to the Abseil library. Specifically, the linker couldn't find definitions for functions like absl::log_internal::MakeCheckOpString and absl::log_internal::LogMessageFatal::~LogMessageFatal().
BTW cmake would be great.

Hello. I have made a new PR concerning this issue. Perhaps you could test it out for me!
https://github.com/collinalexbell/HackMatrix/pull/55

Hello. I have made a new PR concerning this issue. Perhaps you could test it out for me!
#55

doesn't work here's the output :
❯ make g++ -std=c++20 -O3 -g -g -o matrix build/screen.o build/systems/Light.o build/components/Light.o build/main.o build/systems/Boot.o build/components/Bootable.o build/IndexPool.o build/WindowManager/Space.o build/systems/Move.o build/systems/ApplyTranslation.o build/systems/Derivative.o build/systems/Update.o build/systems/Intersections.o build/systems/Scripts.o build/components/Scriptable.o build/components/Parent.o build/components/RotateMovement.o build/components/Lock.o build/components/Key.o build/systems/KeyAndLock.o build/systems/Door.o build/systems/ApplyRotation.o build/persister.o build/engineGui.o build/entity.o build/renderer.o build/shader.o build/texture.o build/world.o build/camera.o build/api.o build/controls.o build/app.o build/WindowManager/WindowManager.o build/logger.o build/engine.o build/cube.o build/chunk.o build/mesher.o build/loader.o build/utility.o build/blocks.o build/dynamicObject.o build/assets.o build/model.o build/mesh.o build/imgui/imgui.o build/imgui/imgui_draw.o build/imgui/imgui_impl_opengl3.o build/imgui/imgui_widgets.o build/imgui/imgui_demo.o build/imgui/imgui_impl_glfw.o build/imgui/imgui_tables.o build/enkimi.o build/miniz.o src/api.pb.cc src/glad.c src/glad_glx.c  build/Backup.o  build/Column.o  build/Database.o  build/Exception.o  build/Savepoint.o  build/Statement.o  build/Transaction.o -lzmq -lX11 -lXcomposite -lXtst -lXext -lXfixes -lprotobuf -lspdlog -lfmt -Llib -lglfw -lGL -lpthread -lassimp -lsqlite3  -Iinclude -I/usr/local/include -Iinclude/imgui /usr/bin/ld: /tmp/cc7IhCdW.o: undefined reference to symbol '_ZN4absl12lts_2024011612log_internal17MakeCheckOpStringIPKvS4_EEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEET_T0_PKc' /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/libabsl_log_internal_check_op.so.2401.0.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [makefile:30: matrix] Error 1

Hmm. What is the output of   lsb_release -i -s for you? Is it Arch or are you using an arch derivative like Manjaro? The shell code is AI generated so I may have to spin up an Arch vm to test it if you are on Arch.

Hmm. What is the output of  lsb_release -i -s for you? Is it Arch or are you using an arch derivative like Manjaro? The shell code is AI generated so I may have to spin up an Arch vm to test it if you are on Arch.

Hey there sorry went asleep. Yeah my output isn't arch actually. I think I have a better approach btw use this instead :
# Detect the architecture
ARCH_CHECK := $(shell grep -q 'arch' /etc/os-release && echo "true" || echo "false")

# Set extra linker flags for Arch Linux
ifeq ($(ARCH_CHECK),true)
    EXTRA_LDFLAGS := -labsl_log_internal_check_op -labsl_log_internal_message
endif

How far did you go with cmake by the way & I think you should make a discord. Much better to deal with issue & stuffs

That is good code. Thanks. Will get the arch makefile merged. As far as CMake, I'm having some difficulties that I wrote about in the issue on CMake.

That is good code. Thanks. Will get the arch makefile merged. As far as CMake, I'm having some difficulties that I wrote about in the issue on CMake.

Ok let me see If I can help you with that

This is also an issue in Void Linux, and I'm on the musl edition.
I also had to set -DSPDLOG_FMT_EXTERNAL flag, because some distros use fmt-devel and build spdlog with that flag. Then programs also have to use -DSPDLOG_FMT_EXTERNAL (https://github.com/gabime/spdlog/issues/1897#issuecomment-832345800 and https://github.com/gabime/spdlog/issues/2310#issuecomment-1069001016). I don't know if there is a better way than that.


Pig icon appearing in Chrome on main page

add a Favicon to main page

There's no commits attached to this

Change heading name

This is almost certainly because of there not being a favicon in place to override the pig from my website. Chrome caches favicons in a really strange way.


Spell tab not rendering on multi class spell users

12.331/4.1.2 all modules off except tidy

Tidy 7.3.0b2

ok. seems to be working in b3.

Good to hear. Thank you for trying out the betas! My apologies for the mixup on beta 2.

Tidy V7.3.0 is now out with all the fixes in place. Thanks again for testing!


Controller input doesn't work on Manjaro Linux

Godot version:

3.2.3
OS/device including version:

Linux 5.9.16-1-MANJARO
Issue description:

When I run my game, the controller doesn't work. I know it's not a problem with the game's code because it works fine on my windows boot. I also know its not a problem with Manjaro because the controller works on other programs.
Steps to reproduce:
Open a project that requires controller input and run it
Minimal reproduction project:

Joypads Demo Tool.zip

Which controller model are you using?

Which controller model are you using?

@ShawkMusic Which controller model are you using? Are you using it in wired or wireless mode (USB dongle or Bluetooth)?

It's a wired USB Xbox One Controller (https://www.amazon.ca/dp/B01M4NISMM/)

@ShawkMusic Which controller model are you using? Are you using it in wired or wireless mode (USB dongle or Bluetooth)?

It's a wired USB Xbox One Controller (https://www.amazon.ca/dp/B01M4NISMM/)

I am also having this issue.
I think it may be a distro-specific packaging problem, however, as this same problem is not present on Debian-based distros like Ubuntu

I am also having this issue.
I think it may be a distro-specific packaging problem, however, as this same problem is not present on Debian-based distros like Ubuntu

https://aur.archlinux.org/packages/godot-mono-bin
Upon further investigation, it looks very much like a packaging problem with the AUR package.
I wouldn't say this is a Godot problem.

https://aur.archlinux.org/packages/godot-mono-bin
Upon further investigation, it looks very much like a packaging problem with the AUR package.
I wouldn't say this is a Godot problem.

That AUR package just downloads the official builds from the Godot repository, it does not build from source. So it should behave the same as official builds.

That AUR package just downloads the official builds from the Godot repository, it does not build from source. So it should behave the same as official builds.

I had this same issue on Ubuntu 20.04.2 LTS. Building from source fixed it for me.

I have the same problem in Ubuntu 21.04 with a Stadia controller but limited to Axis 0 to 3
The controller works well on SDL2 Gamepad Tool, in Windows and in any HTML5 exported project but won't work in Linux Editor and in Linux exported projects.

@angoo can you try building from source and seeing if that fixes it for you?

It seems the issue is fixed after upgrading to 5.10.34-1-MANJARO

I haven't had the chance to check yet if this is the case myself but will do within the next day

I'm having this problem on Ubuntu 18.04 with my Logitech F310 gamepad.  It used to work fine, but now it doesn't work with Godot.  It works with other games, including SuperTuxKart and the Higan emulator.  I haven't changed anything other than installing the periodic OS updates.
The gamepad no longer works with a game I made with Godot 3.2.2 (tested with the exported binary), doesn't work here (HTML export with v3.3.1), and it doesn't work in the editor with Godot 3.3.2.  I'm not sure exactly when it quit working, but it must have been within the last 2 months.

Similar issue on Arch btw, Kernel 5.15.30-1-lts
Two main axes show zero and once you press them it changes to an unpredictable value
All other buttons and triggers work.
Godot 3.4.4:

@nathanfranke Can you reproduce this in a self-compiled build with udev=no?


Remove first two lines from changelog and index.md

Issue #1248 , if available:
Description of changes:
Remove the first three lines in the changelog and first four lines in index.md for the github release docs.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/approve


Lap Counter app

A simple app to keep track of "which lap am I doing now". Useful for swimming etc. It also displays total time (like a stopwatch, but laid back).

Thanks! Looks like there's a minor issue with this though.
If you look at https://github.com/espruino/BangleApps/pull/1093/checks it says Build failed, and if you click 'The build' you get https://app.travis-ci.com/github/espruino/BangleApps/builds/243508153 where it looks like there's a ';' at the end of app-icon.js that shouldn't be there.

Thanks, @gfwilliams. This solved the problem. I hope you like the app.

Excellent - thanks!


Navigate to specific card within a page

As part of Gene Mutation AI app, we show the cancer risk predictions and model explanations in a page, one below the other. Since there are a lot of items in the results it would be nice to have a navigation bar that helps navigate user to specific card within the results page. Currently, upon clicking an item in the navigation bar takes us to a new page, instead the feature request is that upon clicking an item in nav bar, it should mimic the scroll & take to the exact card.

Also would be great if the vice versa is possible  too - upon scrolling the list of cards, the selection in the navigation bar changes automatically. ?

Agreed with @ranjithh to close the issue because the use case is too specific and required too many changes on Wave codebase.


Support for the save operation (creating tarball of a Docker image)

Hi,
udocker supports loading container images (created via the docker save command). However it does not support saving container images into a tarball that can be later imported by udocker itself.
This functionality would be used when you do not have constant access neither to a Docker installation nor to Docker Hub. You would use udocker to pull once from Docker Hub and later export the image that could be loaded by other udocker deployments.
To sum up, is udocker save planning to be implemented? We would really much appreciate that functionality.

Hi,
Yes it is in the plans and will try to push it to the next release.
Meanwhile you may also try to create a tarball of the container file system tree and import it with udocker import.
To make the tarball just use tar and the location of the container can be obtained with
udocker inspect -p container-id

Hi Jorge,
Thank you for the reply. Just to be clear: We want to export the image file system not the container file system, that is, we would like udocker to support the functionality of docker save (saving an image to a tar archive). We are not interested in the functionality of docker export (exporting a container's filesystem as a tar archive).
Regards.

"We are not interested in the functionality of docker export (exporting a container's filesystem as a tar archive)."
But I am. Will you accept a patch if I make the feature?

Hi,
We (@CVPCORP) are really interested in udocker having the save functionality as well. We are using udocker to run from within an AWS Lambda function which, can pull an image from docker hub and then save it to a tar just like docker allows. The image tar is then uploaded to our S3 bucket. We do not need udocker to load an existing saved tar image so we don't really need to have the load functionality as well. Just need save.
Our use case is basically for the AWS Lambda function to serve as an intermediary which has access to download images from docker hub and then upload it to S3 from where it is then pulled and AV scanned before it is uploaded to an internal docker registry for consumption within our organization.
We need this functionality ASAP and would really appreciate it if someone can make it happen (yesterday). Please do let us know if we can help expedite the process in any way shape or form.

Hi,
Save is implemented in 1.1.4.
Closing this issue, if needed please reopen.

Thanks will make some testing...


removed my typos

jay why

Willing to re-add them if you submit the PR

[ ] Readd Typos
[ ] Update Wiki
[ ] Submit PR


[react-router] The middleware specified at index 0 does not appear to be a valid React Router middleware

I use<EMAIL_ADDRESS>can you upgrade this repo to match new version?

This isn't an RRv3 thing. Refer to earlier issues covering the same thing here.


Building locally and for Linux ARM

This looks like a very interesting project, thank you for working on this.
I checked out the code and tried to figure out how to compile from source locally on macOS without success:
bash ./build.sh
Preset CMake variables:

  CMAKE_BUILD_TYPE="Debug"
  CMAKE_EXPORT_COMPILE_COMMANDS="1"
  CMAKE_TOOLCHAIN_FILE:FILEPATH="vcpkg/scripts/buildsystems/vcpkg.cmake"

CMake Error at /opt/homebrew/Cellar/cmake/3.27.8/share/cmake/Modules/CMakeDetermineSystem.cmake:154 (message):
  Could not find toolchain file: vcpkg/scripts/buildsystems/vcpkg.cmake
Call Stack (most recent call first):
  CMakeLists.txt:8 (project)

CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

Could you provide some hints/docs on how to build this locally?
Also, would it be possible to add Linux ARM to the releases?

Hi @coogle, thank you for the interest.
Based on your error message, the reason of build failure is that Ninja is not on PATH.
You can install it using brew.
About Linux ARM, I believe it should be easy to do given that vectorlite already works on macos ARM.
Some changes to the ci.yml and pyproject.toml will do.
I'll try to figure it out in the next release.
BTW, what language are you planning to use vectorlite in?

Oh yes Linux ARM support would be awesome

@felipesantosk and I have put some effort into precompiling on ARM64 Linux using QEMU emulation.
The wheel can be built successfully, and the artifact is available here https://github.com/1yefuwang1/vectorlite/actions/runs/11049779973.
The problem is it takes about 1.5 hours to build on github actions due to emulation, which is unbearably slow.
We will explore cross-compiling later but probably not in the next release.
Before we figure it out, you can try manual compilation on ARM64 Linux following build instructions.

https://github.blog/news-insights/product-news/arm64-on-github-actions-powering-faster-more-efficient-build-systems/
ARM64 github actions runner for open source projects is coming. It would make it a lot easier.


memo.common ?

Things like belief filters, common utilities, common domains, etc

Would be nice to have something like "SimplePOMDP" that sets up a memo for POMDP planning given S, A, Tr, R, etc.


[Bug] [元数据中心] 在元数据中心页面，选择doris的数据源，再点击左边具体的某张表，点击“SQL 生成”功能，页面报错：Cannot read properties of null (reading 'flinkSqlCreate")

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
在元数据中心页面，选择doris的数据源，再点击左边具体的某张表，然后点击“SQL 生成”功能，页面报错，显示：Cannot read properties of null (reading 'flinkSqlCreate")

What you expected to happen
正常显示doris flink sql
How to reproduce
在元数据中心页面，选择doris的数据源，再点击左边具体的某张表，然后点击“SQL 生成”功能
Anything else
No response
Version
dev
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Please wait for the dev refactoring to complete the release

Use dinky-web instead of dlink-web.

@aiwenmo from the exception stack:

I found the issue is due to  the backend code, the code has a bug in the method:getSqlSelect of claas org.dinky.metadata.driver.AbstractDriver:

it only need one % in this code, so the code fragment sb.append(String.format("%s %\n", columns.get(i).getName())); need change to sb.append(String.format("%s \n", columns.get(i).getName())).
please verify again, thank you!

@aiwenmo from the exception stack:  I found the issue is due to the backend code, the code has a bug in the method:getSqlSelect of claas org.dinky.metadata.driver.AbstractDriver:  it only need one % in this code, so the code fragment sb.append(String.format("%s %\n", columns.get(i).getName())); need change to sb.append(String.format("%s \n", columns.get(i).getName())).
please verify again, thank you!

you are right , this is a bug , you can fix it to dev branch


Mushaf Layout - {{ 13 lines Tadjweed }}

Mushaf PDF URL
https://archive.org/details/13-line-quran-with-beautiful-color-coded-tajwid-rules-pdf
Number of Pages
850
Lines Per Page
13
Layout Information
It looks like the others 13-lines quran but the page number is +2
Why Should We Add This Layout?
It is commonly used in the south Asian area.
It is colored for Tadjweed.

Indopak 13 lines layout is already available in QUL, this layout has 849 pages and hopefully will serve the purpose. We don't have indoapak script with tajweed annotation, will add it but that's a separate issue.
https://qul.tarteel.ai/mushaf_layouts/17?page_number=2&source_pdf=true

Is the text-layout mushaf available for download or use ?

You can download the layout data as a SQLite database from this link. The layout data contains metadata for each page. The Indopak 13-line layout has 849 pages and 11,020 lines. In the database, you'll find metadata for each line.
The line_type column indicates what should be rendered on that line:

If the value is surah_name, you'll render the surah name on that line. The surah_number column contains the surah ID.
If the value is basmallah, you'll render "Bismillah."
If the value is ayah, it means you'll render an ayah on that line. The first_word_id and last_word_id columns define the range of words for that line.
The is_centered column indicates whether the line should be center-aligned or justified.

You can use Layout data + Word by word script + fonts to render musahf page. Script is also available on resources page. Fonts will be available soon.


Won't Install, Returns Python Error In Terminal.

Describe the bug
When I run ./setup-audio, it runs and then stops and returns "urllib.error.HTTPError: HTTP Error 404: Not Found"
Boardname
If you don't know where to find this, run cat /sys/class/dmi/id/product_name
Rammus
Logs
Generate logs with wget https://raw.githubusercontent.com/chrultrabook/linux-tools/main/debugging.sh; bash debugging.sh and attach the output here.
❯ ./setup-audio
WARNING: You may run into audio issues, even after running this script. Please report any issues on github.
Installing AVS
Installing topology
Traceback (most recent call last):
File "/home/deuo/chromebook-linux-audio/./setup-audio", line 319, in
match_platform(board)
File "/home/deuo/chromebook-linux-audio/./setup-audio", line 95, in match_platform
avs_audio()
File "/home/deuo/chromebook-linux-audio/./setup-audio", line 151, in avs_audio
urlretrieve(url=avs_tplg_url, filename="/tmp/avs_tplg/avs-tplg.tar.gz")
File "/usr/lib64/python3.12/urllib/request.py", line 240, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/urllib/request.py", line 215, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/urllib/request.py", line 521, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/urllib/request.py", line 630, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/urllib/request.py", line 559, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/urllib/request.py", line 492, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/lib64/python3.12/urllib/request.py", line 639, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
Here's The Debugger tar.gz:
debug-logs-Rammus-2024-09-01_03h31m.tar.gz

Thank you Koluckirafal. I'll look into that work around now :)


Print detailed GPU comparison

🚀 Feature Request
Print a detailed GPU comparison (e.g. in a tabular format).
📎 Additional context
GPU can be compared based on various factors e.g. int8 and fp32 performance of a GPU can be different. Some GPUs might not even have encoders. The package should output a detailed comparison.

Added tabular output in e1ca2d62d24557320d3362be34e6740f2d892b0a


Add contributing guidelines to repo

A link to this document will show up when creating new issues and pull requests.

Thanks for the edits @bartnijssen.

@jhamman : Do you understand why the travis build is failing for this?

I think so.  I'm pretty sure its just because the PR that issued the build was closed too soon.  The post merge build passed: https://travis-ci.org/UW-Hydro/VIC/builds/73630776


Call onSuggestionSelected after onChange

This PR fixes #305, please read the issue for a more in-depth look at the problem.
In that issue, I suggested that we should prevent the call to OnChange if the submission method was Enter KeyDown. After some thinking and reading of the code, it makes a lot more sense to simply move the maybeCallOnChange call above the onSuggestionSelected call instead.
The idea is that we want onSuggestionSelected to take precedence over onChange, since the user's ultimate intention is to select the suggestion.
This is exactly what is done for the click action already. So it makes sense that the enter action should behave similarly. This PR simply brings it in line with that behaviour.
Note: Lines 228 to 234 is where this happens for the click event.
this.maybeCallOnChange(event, clickedSuggestionValue, 'click');
this.onSuggestionSelected(event, {
  suggestion: clickedSuggestion,
  suggestionValue: clickedSuggestionValue,
  sectionIndex,
  method: 'click'
});

I've made two tests for the feature. Note that I had to create a new folder for the test because I needed a onSuggestionSelected function that clears the input value with this.setState({ value: '' }).
This PR passes all tests, linting, and the build process.

@moroshko not sure why the CI checks have failed? Everything looks good if you go to the details.


enhancement: add more implmentation rules.

Proposed changes
Issue Number: close #xxx
Problem Summary:
Add more implmentation rules.
Current some logical and physical operator is different. I change some code to make them match.
Implementation

Sort
Agg
OlapScan

Checklist(Required)

Does it affect the original behavior: (No)
Has unit tests been added: (No Need)
Has document been added or modified: (No Need)
Does it need to update dependencies: (No)
Are there any changes that cannot be rolled back: (No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

Could you list what implementation rules add in this PR in 'Proposed changes'

It is recommended to change the useless List<? extends A> in the code to List


Docs: a few CSS tweaks to improve slide appearance on small screens

@lukecartey
I've played around with the CSS for the html training slides (generated from restructured text source files) to make them behave slightly better on different screen sizes. You can viewing them in full screen mode by hitting f.

@semmledocs-ac as mentioned on slack.
Before:

slides totally unresponsive
very mobile unfriendly
After:
slides fill window
breakpoints added to rescale font size for small (mobile), medium (tablet and smallish desktop), and extra large (widescreen deskstop) screen sizes
On mobile, slides with a column layout switch to rows, and slides overflow vertically if necessary in order to fit content in the limited width.

Last commit fixes bugs in the mobile version.

Reassigning to @semmledocs-ac so that it can be merged before Luke gets back from the US.


fix(HMS-3968): multi-error enforce and minor fixes

This change are a set of small changes observed during the
review at https://github.com/podengo-project/idmsvc-backend/pull/236

Add multi-error for OR logical enforcement.
Add check for Identity.AuthType==cert-auth enforcement for System endpoints.
A unit test for the router started to fails. The fix is added here, but this was not observed on the pipeline.
Temporary bump golang1.22; it was observed different results when running unit-tests between golang1.21 and golang1.22 with the router of echo framework.

I have observed different behavior for the unit-test for the public router, when using g1.21 and go1.22; I would like to make it run correctly in both versions. Currently draft state.
I want to use https://pkg.go.dev/runtime#Version as workaround until base container image is on go1.22.

The additional commits I will gather in a different PR; thanks for the review and advices :+1:


fix: high memory usage

v1.1.15 consumes a large amount of memory. Because https://github.com/uptrace/bun/pull/850 adds a lot of fields to a table.

I've just reverted that PR.


Logbook

This is more so we can keep the comments on this branch together, but we'll need to merge it at some point!

Don't actually merge this yet, it's not finished

As far as I can see, this one is done. Awaiting review.

Although this is blocked until @rakiru reviews it, I may merge it regardless soon since I'm pretty confident this code is fine.

I've had a quick scan, and it looks fine, but I won't have time to look at it in detail for a couple days. Feel free to merge if you want.

 Thanks.


Add projection operation

I have been experimenting with the linear, piece-wise, and projection operations for representation control. It would be useful to have the projection operation available for reference to make sure my implementation matches what was used in the paper. But, it's currently not implemented.
https://github.com/andyzoujm/representation-engineering/blob/8de198b4fbd48e1068285d6d0650897a946c7f74/repe/rep_control_reading_vec.py#L93-L95

I think something like
return current - (current * controller).sum(-1, keepdim=True) * controller / controller.norm(-1, keepdim=True)


build(CMake): Apply PP definitions to all sources

Fixes #350
This doesn't setup CI for these cases, because I haven't had time to fiddle with cross compiling, sorry.

@oconnor663 there you go :)


altlist.bundle can’t be loaded because the executable cannot be found.

As you can see upon trying to access altlist through Dodo I get this error.
I have tried reinstalling, downgrading, LDRestart and ensuring that the repo/package is correct.
I am getting Altlist from your repo, as big boss doesn’t host it anymore.

AltList is definitely still hosted on BigBoss.
If you're on a rootless jailbreak then whatever is trying to load AltList was not properly compiled for rootless.

It only shows up on your repo, despite having both repo’s, I’ve tried three different package managers (Cydia, Zebra and Sileo) and even tried searching via BigBoss, no dice.
I’m rootful, 14.5.1, u0.
[X]
Mr. Daniel Boggis

From: Lars Fröder @.>
Sent: Sunday, February 11, 2024 2:01:57 PM
To: opa334/AltList @.>
Cc: yixahM8 @.>; Author @.>
Subject: Re: [opa334/AltList] altlist.bundle can’t be loaded because the executable cannot be found. (Issue #32)
AltList is definitely still hosted on BigBoss.
If you're on a rootless jailbreak then whatever is trying to load AltList was not properly compiled for rootless.
—
Reply to this email directly, view it on GitHubhttps://github.com/opa334/AltList/issues/32#issuecomment-1937763129, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBS7W5SXKH7RDUWTQA5HDSLYTDFNLAVCNFSM6AAAAABDDGVNDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZXG43DGMJSHE.
You are receiving this because you authored the thread.Message ID: @.***>


Delete evan.py

The jokes were honestly not good.

:( you're mean

This was a lighthearted joke. Evan's humor is impeccable.


PowerShell Integrated Terminal Shows no output other than error messages

Issue Type: Bug
If I run any PowerShell Cmdlet in the integrated terminal, or output someting from a script with Write-Host for e.g., nothing gets displayed on the terminal window screen.
Also at VCode statup, the integrated console shows nothing, not even the prompt until i press enter key.
No specific steps to reproduce other than open the Integrated Console and type any PowerShell Cmdlet.
Commands work as expected in all additional PowerShell consoles opened. Issue is only with Integrated console. Also noticied the issues in both machines i have at work.
VS Code version: Code 1.47.2 (17299e413d5590b14ab0340ea477cdd86ff13daf, 2020-07-15T18:22:06.216Z)
OS version: Windows_NT x64 10.0.17763

System Info
|Item|Value|
|---|---|
|CPUs|Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz (2 x 2497)|
|GPU Status|2d_canvas: unavailable_softwareflash_3d: disabled_softwareflash_stage3d: disabled_softwareflash_stage3d_baseline: disabled_softwaregpu_compositing: disabled_softwaremultiple_raster_threads: disabled_offoop_rasterization: disabled_offprotected_video_decode: disabled_offrasterization: disabled_softwareskia_renderer: disabled_off_okvideo_decode: disabled_softwareviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: unavailable_softwarewebgl2: unavailable_software|
|Load (avg)|undefined|
|Memory (System)|8.00GB (4.00GB free)|
|Process Argv||
|Screen Reader|no|
|VM|100%|
Extensions (3)
Extension|Author (truncated)|Version
---|---|---
powershellprotools|iro|5.12.10
powershell|ms-|2020.6.0
code-spell-checker|str|1.9.0

/extPowershell


[fix]: Update material UI with latest version and syntaxes.

Install Material UI latest version.

@MohmedIkram . I can fix it.


gparyani: Blacklist quickbooks

gparyani requests the blacklist of the username quickbooks. See the MS search here and the Stack Exchange search here.

quickbooks has been seen in 25 true positives, 0 false positives, and 0 NAAs.

This feels a bit generic for a blacklist. However, it does look like "quickbooks" being in a username tends to be mostly accounts intended to promote.

Agree with Makyen's implied proposal.

https://github.com/Charcoal-SE/SmokeDetector/commit/70bf907

Oh wait, that was exactly what was being proposed here, duhhh.


Suggestion Regarding Code Commits

I suggest we should add pre-commit to standardize code commits.

blcak
ruff

@brownfoxsir good point. Can you make a PR to add these checks?

No problem, I will add it later. @hsluoyz


[No QA] Parse JSON of DO_CHERRY_PICK

Details
Fixes an oops
Fixed Issues
$ https://expensify.slack.com/archives/C03V9A4TB/p1646960145849389
Tests

Merge with checklist unlocked.
A staging deploy should occur and an attempted CP should not.

🚀 Deployed to staging by @francoisl in version: 1.1.42-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @chiragsalian in version: 1.1.42-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Update step-10-descriptor-for-applications-8f93bf2.md

the webapp/manifest.json is not new the header should not contain the term "new"
Hint: the highlighting of what is new is already fine and shows the correct diff :-)

Fixed with the next UI5 release


octez rollup: support for several operator types

Instead of one operator doing everything, we have several roles.
In values.yaml, under smartRollupNodes: you can now define a list of operator key-value pairs under operators:. They will be passed to the rollup as parameters.
Note that you can pass several operators of the same name like "batcher" but the yaml syntax prevents it, so we are adding numbers such as "batcher1" to the keys, then pruning them before passing them to octez-dal-node.

It's not several operator types, but several types of key. The operator will work with one key or you can split the roles into the keys. The reason this was done was to have multiple batcher keys for performance.


expose a few state props for debugging

partial implementation of https://github.com/excalidraw/excalidraw/issues/968 --- I'm  not gonna close it yet.
Exposes elements, appState, & history under window.h. Also used in tests.

maybe rename h.appState to h.state, and also add h.setState?

maybe rename h.appState to h.state, and also add h.setState?

Yes, please!

Hopefully we won't have a need to debug different compo's state :). I'll also allow setting elements

Ready for merge.


[WebToolsE2E] With VS 17.10 P1 installed (including Aspire 8.0 P3), if we then install .NET SDK 9.0 P1, VS does not show the Aspire templates anymore

REPRO STEPS

Clean machine: Win11 x64 23h2 ENU
Install VS 17.10 Preview 1 (includes .NET SDK 8.0.200 and .NET Aspire workload 8.0 Preview 3)
Open VS, create new solution using 'Aspire Starter Application' template, build and run using VS -- it works fine
Close VS
Install .NET SDK 9.0 Preview 1
Open VS

ACTUAL
During project creation,

The 'Aspire Starter Application' and other aspire templates don't show up in VS New project dialog anymore

When creating a new web app or api app, the 'Enlist in Aspire' checkbox does not show up in New Project dialog

If you go to command-line and run dotnet --info, it incorrectly shows that the 9.0 Aspire workload is installed, even though I didn't run any commands to install the 9.0 Aspire workload.

EXPECTED
During project creation,

VS should continue to show the 8.0 Aspire templates
When creating a new web app or api app, the 'Enlist in Aspire' checkbox should show up in New Project dialog

More information, after installing NET 9.0
The template locator reports no template packages:
Finding sdk version for 17.10
sdk version: 9.0.100-preview.1.24101.2, dotnet root path: C:\Program Files\dotnet
template packages:

Although the workload IS installed:
installed workloads: { ... snip ... "microsoft.net.sdk.aspire": "9.0.0-preview.1.24079.4" }
dotnet --info:
.NET SDK:
 Version:           9.0.100-preview.1.24101.2
 Commit:            6bbd460f4d
 Workload version:  9.0.100-manifests.c840f51f

.NET workloads installed:
 [aspire]
   Installation Source: VS 17.10.34607.79, VS 17.10.34614.196
   Manifest Version:    9.0.0-preview.1.24079.4/9.0.100-preview.1
   Manifest Path:       C:\Program Files\dotnet\sdk-manifests\9.0.100-preview.1\microsoft.net.sdk.aspire\9.0.0-preview.1.24079.4\WorkloadManifest.json
   Install Type:              Msi

C:\>dotnet workload list

Installed Workload Id      Manifest Version                               Installation Source
---------------------------------------------------------------------------------------------------------------
aspire                     9.0.0-preview.1.24079.4/9.0.100-preview.1      VS 17.10.34607.79, VS 17.10.34614.196

sdk-manifests\9.0.100-preview.1\microsoft.net.sdk.aspire\9.0.0-preview.1.24079.4\WorkloadManifest.json:
    "Aspire.ProjectTemplates": {
      "kind": "template",
      "version": "9.0.0-preview.1.24079.4"
    },

However, no template pack is installed for 9.0:
C:\Program Files\dotnet\template-packs>dir
 Volume in drive C is Windows
 Volume Serial Number is 7273-32B5

 Directory of C:\Program Files\dotnet\template-packs

02/14/2024  02:18 PM    <DIR>          .
02/15/2024  03:27 PM    <DIR>          ..
10/25/2023  11:25 AM           180,975 Aspire.ProjectTemplates.8.0.0-preview.2.23525.3.nupkg
12/19/2023  08:05 PM           195,034 Aspire.ProjectTemplates.8.0.0-preview.2.23619.3.nupkg
02/06/2024  03:27 AM           246,363 Aspire.ProjectTemplates.8.0.0-preview.3.24105.21.nupkg
01/25/2024  09:42 PM           125,214 Microsoft.Android.Templates.34.0.79.nupkg
01/30/2024  08:56 AM           187,774 Microsoft.iOS.Templates.17.2.8022.nupkg
01/30/2024  08:56 AM           113,018 Microsoft.MacCatalyst.Templates.17.2.8022.nupkg
11/02/2023  08:44 PM           609,363 Microsoft.Maui.Templates.net<IP_ADDRESS>.nupkg
01/15/2024  07:16 PM           596,645 Microsoft.Maui.Templates.net<IP_ADDRESS>.nupkg
               8 File(s)      2,254,386 bytes

After running dotnet workload install aspire:
Updates build to preview.1.24113.3, and template packs are installed.
Aspire now shows up for net 9.0 - net 8.0 template is totally gone.
template packages: C:\Program Files\dotnet\template-packs\aspire.projecttemplates.9.0.0-preview.1.24113.3.nupkg
I believe that needs to happen, is that when 9.0 SDK is installed, the Template Locator must still return the NET 8 templates, so that they can be used by Visual Studio if we expect customers to have both NET 8 and NET 9 SDKs SxS and able to support both 8.0 and 9.0 Aspire on same Dev box.  Alternatively, the NET 9 aspire templates could target ALL supported, released TFMs like Winforms do (https://github.com/dotnet/winforms/blob/980b02212d847cc3e9f294bbb900ccb3249bc0a2/pkg/Microsoft.Dotnet.WinForms.ProjectTemplates/content/WinFormsApplication-CSharp/.template.config/template.json#L27)
@marcpopMSFT, FYI related to template locator and SxS issues in templates

@joperezr FYI, as well.

Thanks @phenning, we were actually talking about this problem yesterday in Tactics with @marcpopMSFT. Is there a way to "force" the template location logic to use a specific SDK band? I know that if you already have a project, you can use a global.json that specifies 8.0.200 for example in order for the 9.0.100 one to not get used, but when it comes to brand new projects, there isn't a global.json that can be used.
Is there some sort of environment variable to be used as a workaround for this? If not, would it be possible to add it? I understand using environment variables is not a very user friendly solution, but IMO it is better than the current alternative which is to uninstall 9.0 SDK if you want 8.0 aspire templates to come back.

@joperezr I just tested something like that out
Currently we do something like this:
sdkVersion = Locator.GetSdkVersionUsedInVS
packs = Locator.GetTemplatePackages(sdkVersion)

i've updated it to (essentially)
sdkVersion = Environment.GetEnvironmentVariable("OVERRIDE_VARNAME_TBD") ?? Locator.GetSdkVersionUsedInVS
packs = Locator.GetTemplatePackages(sdkVersion)

SET OVERRIDE_VARNAME_TBD=8.0.300-preview.24101.10
And box lights up for net8 and doesn't show for 9.0
I think this will be a good interim workaround in 17.10 preview 2 and later until we solve the larger issue. I'll probably add some code to make sure that the override is actually still present as well to guard against stale environments.

Sounds like @phenning was able to add a way to force a specific version in NPD. Phil, this is different than using global.json though correct as it's only getting the list of templates but will still use the default SDK (which is 9 in this case). Without multi-targeting support in 9, you'd be able to create the template using that ENV but then have to add a global.json, correct?  Including @baronfel and @dsplaisted for comment
As to the original issue, this was what we wanted documented per the tactics discussion for now until we have a chance to explore better long-term options. Is there a known issue filed yet covering it?

This would be awesome, @phenning. I do agree with your previous points that we should also make the 9.0 workload of aspire to also support 8.0 Aspire apps and templates, but I think that we should do a multiple-solution approach that both does this, plus adds your environment variable so that users have different options. I know environment variables are not very discoverable or user friendly, but I think that they are at least a step in the right direction for allowing customers to choose how things get resolved.

As to the original issue, this was what we wanted documented per the tactics discussion for now until we have a chance to explore better long-term options. Is there a known issue filed yet covering it?

Not yet, I wanted to first see our options with you and @phenning, and sounds like we are likely going to get some workarounds in 17.10 P2 which is great.

If we already had some surface are in Tools/Options for the Template Engine host in VS, I'd say we could add it there, but I'm hesitant to add a config page/section for just this.

@marcpopMSFT to your point about global.json, I just tried this.
With NET 9 SDK installed and the ENV set to point to NET 8.
I was able to create a net8.0 API app, add aspire, and build.
It build with the NET 9.0 SDK, but then was runnable and loaded the NET 8 assemblies and runtime, so global.json is optional in this case, I think.

@joperezr The environment variable workaround is in, but I have a better one.
I currently have a change in flight for 17.10 preview 2 which will allow for multiple versions of the same template pack to be installed, either by the SDK locator, or via dotnet new.
With this new change, we can work around the issue by running "dotnet new install [path to 8.0 template pack under PF\dotnet\template_packs]". Keep in mind that templates installed this way will have precedence over those installed from the SDK, so it is critical to run the uninstall command after the manifest updates get into the product.
Or, via manifest update, these are changes which could be made today with the existing names and identities of the template packs: This assumes that there are template packs called Aspire.ProjectTemplates.9.0.0-preview.1.24113.3 and Aspire.ProjectTemplates.8.0.0-preview.3.24105.21 on disk. This requires the change I just made in WebTools due to the template packs being passed to us have the same identity, and we would normally just take the highest versioned template pack. Allowing this was a simple configuration change in the WebTools host.
"Aspire.ProjectTemplates.net9": {
   "kind": "template",
   "version": "9.0.0-preview.1.24113.3",
   "alias-to": {
     "any": "Aspire.ProjectTemplates"
   }
 },
 "Aspire.ProjectTemplates.net8": {
   "kind": "template",
   "version": "8.0.0-preview.3.24105.21",
   "alias-to": {
     "any": "Aspire.ProjectTemplates"
   }
 },

Alternatively, when/f the template packs are renamed to indicate net8 vs net9, we can drop the 'alias-to', these assume that This assumes that there are template packs called Aspire.ProjectTemplates.net<IP_ADDRESS>-preview.1.24113.3 and Aspire.ProjectTemplates.net<IP_ADDRESS>-preview.3.24105.21 on disk.  This manifest change would not have needed the workaround I just checked into WebTools, as the nupkg identities would have actually been distinct.
    "Aspire.ProjectTemplates.net9": {
      "kind": "template",
      "version": "9.0.0-preview.1.24113.3"
    },
    "Aspire.ProjectTemplates.net8": {
      "kind": "template",
      "version": "8.0.0-preview.3.24105.21"
    },

Applied preview 4 milestone for consideration. Please triage and move it out if needed

@phenning can you share what the environment variable is and what should the value to set it to? (Path to SDK to use to resolve, SDK version to use, something else?)
The dotnet new install trick is also good to have, but as you pointed out, it does feel like a more advanced scenario which can lead to breaks in the future if folks forget to uninstall the packs, so perhaps we should stick with the env variable as the documented workaround?

There is nothing really actionable for this issue so moving out of P5 milestone. We'll keep it open in case people hit this issue as a refcount and so that they can find the workaround (env variable) to set.


Add pre-commit configs

I messed up when I added the pre-commit, forgot to attach the config as the pyproject.toml

is there an easy way to filter out pre-commit changes aside from excluding them using the "Changes From" button in the Github PR view?

No way to filter the changelog by style-only changes, sadly.
Easiest way to avoid the problem altogether is to set it up in the project first thing, and then not make changes to it like I did here 😄


Are infrastructure as code enough for security control evidence or screenshot are the only way?

To move to the new login service board.


[translation] Discussion To Remove Preprocessing (Sharding+Tokenization) From Timing

The preprocessing stage requires a non-negligible fraction of the overall execution time, especially as models are optimized. It seems like timing this portion may not be representative of real-world use cases since the cost of preprocessing in this situation is not amortized over multiple training sessions. I would vote to remove the timing around preprocessing, but I would like to see if there is a good reason for keeping it.

Moved this issue to the repo for rules questions; we will follow up there.
https://github.com/mlperf/policies/issues/53


Support for upcoming ESLint FlatConfig

I've got a new project going, where I'm experimenting with the new FlatConfig option.
Trying to import eslint-import-resolver-typescript into the config file results in the following error:
Uncaught exception received.
file:///C:/Users/scrap/Reps/MiaTickets-API/node_modules/eslint-import-resolver-typescript/lib/index.js:5
import { CachedInputFileSystem, ResolverFactory, } from 'enhanced-resolve';
         ^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Named export 'CachedInputFileSystem' not found. The requested module 'enhanced-resolve' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from 'enhanced-resolve';
const { CachedInputFileSystem, ResolverFactory, } = pkg;

This seems to be due to enhanced-resolve being CommonJS. My project is written with ES Modules, essentially breaking this package.
As a temporary workaround, I've gone back to importing eslint-plugin-import, accepting the lack of type information.
To make this work, however, it's apparently needed to add this little line to the settings object:
"import/parsers": {
  "espree": [".js", ".cjs", ".mjs", ".jsx"],
  typescript: [importPlugin.configs.typescript.settings["import/parsers"].typescript]
}

I've found this little line of code also helps a great deal, making my previous workaround suggestion of setting "espree"  in the parsers option completely redundant..


IpValidator missing base namespace

in framework/validators/IpValidator.php
lines:
#219
#222
#225
#228
#231
#234
#237
all use YII's translation shortcut Yii::t(); method -- but that uses the base class of YII and the namespace is not declared.

Q
A

Yii version
2.0.34 (or lower)

PHP version
7+

Operating system

i have tried pushing changes to a brand, but am getting permission errors.

Would you please elaborate about namespace? I'm not sure what was meant...

sure -- i have a craft install, and it's probably trying to generate message warnings.  i have a local branch with all the updates necessary, but i don't seem to have permissions to push my branch and request a PR.  here is the stack trace:
Fatal error: Uncaught Error: Class 'Yii' not found in /..../vendor/yiisoft/yii2/validators/IpValidator.php:218 Stack trace: #0 /..../vendor/yiisoft/yii2/base/BaseObject.php(109): yii\validators\IpValidator->init() #1 /..../endor/yiisoft/yii2/web/Request.php(345): yii\base\BaseObject->__construct() #2 /..../vendor/yiisoft/yii2/web/Request.php(1877): yii\web\Request->getIpValidator() #3 /..../vendor/yiisoft/yii2/web/Request.php(1859): yii\web\Request->getSecureForwardedHeaderTrustedParts() #4 /..../vendor/yiisoft/yii2/web/Request.php(1084): yii\web\Request->getSecureForwardedHeaderTrustedPart('proto') #5 /..../vendor/yiisoft/yii2/web/Request.php(737): yii\web\Request->getIsSecure in /..../vendor/yiisoft/yii2/validators/IpValidator.php on line 218
there are 17 files in framework/validators that are affected.

That's super-weird. We have Yii class imported: https://github.com/yiisoft/yii2/blob/master/framework/validators/IpValidator.php#L10
Also I don't understand your screenshot. You can't have two namespaces for a class in PHP.

Also IP validator is covered with a test: https://github.com/yiisoft/yii2/blob/master/tests/framework/validators/IpValidatorTest.php and that test pass.

Maybe it will be clean for me if I'll see the diff with you branch. There's how to do it: https://github.com/yiisoft/yii2/blob/master/docs/internals/git-workflow.md

good point about the NS -- looking ...

when i try pushing my branch, i get this:
remote: Permission to yiisoft/yii2.git denied to hypergeneric.
fatal: unable to access 'https://github.com/yiisoft/yii2.git/': The requested URL returned error: 403

Please re-check the git-workflow.md document. You should push to your own fork, not to yiisoft/yii2.

whoops -- duh.  ok so i made the changes to branch -- you can see it here:
https://github.com/hypergeneric/yii2/blob/17981-validator-base-class/framework/validators/IpValidator.php
truth be told i am not 100% what's going on.  this whole thing was part of a craft CMS update -- i was trying to reverse engineer the errors ↑
i see that Yii isn't namespaced to \yii\ -- that said, changing use Yii; to use yii\Yii; definitely fixed craft's update process and i no longer get the error.

Not sure what happened with Craft update but it seems that it is craft specific.
@hypergeneric which version is that?
@brandonkelly I think you'll be interested to take a look.

true -- it definitely could be the way craft is instantiating it.  i haven't rattled the chain that far up the code.  that said, these manual edits locally seem to have sidestepped the errors, even if just superficially.  thanks for looking into it.


Fix CMake error when OSPRAY_TEST is OFF

Hi
There is a small problem when building the latest OSPRay devel without OSPRAT_TEST. So without OSPRAY_TEST, targets like ospRandSphereTest will not exist so we cannot call target_link...
I provided a quick fix ...
Qi

This should be working in the current v1.8.0 release. Please re-open or post here if there's a config still not working.


[Request] Make Layout Templates into individual files

Currently templates are stored in a single file as a list. Switch to individual files under a /templates folder. This will make it easy (well easier) for people to share them

The first pass at this has been implemented. Templates will be stored in .xml files in the /templates folder. File names are based on the layout with all illegal characters replaced with '_'.


Event for stop/Exit of started task

Is there an Event that gets raised when the process that I start via a Task gets stopped?
Currently I use
var processlist = Process.GetProcesses();

foreach(var theprocess in processlist)
 {
          if (theprocess.ProcessName != "DEMO")
                 continue;

          theprocess.WaitForExit();
          break;
 }

to enum all processes and If I find my started program I wait for Exit. Is there a better way?
Originally posted: 2015-12-17T08:32:22

In fact, a brand new feature does allow this. Try the following:
private TaskEventWatcher watcher;

// Create and configure a new task watcher for the task folder
private void SetupWatcher(Task task)
{
   if (task != null)
   {
      // Set up a watch over the supplied task.
      watcher = new TaskEventWatcher(task);

      // Assign a SynchronizingObject to a local UI class to synchronize the events in this thread.
      watcher.SynchronizingObject = this;

      // Only watch for task events that indicate success (102), failure (103), or termination (111)
      watcher.Filter.EventIds = new int[] { 102, 103, 111 };

      // Assign an event handler for when events are recorded
      watcher.EventRecorded += Watcher_EventRecorded;

      // Start watching the task by enabling the watcher
      watcher.Enabled = true;
   }
}

// Cleanup and release the task watcher
private void TearDownWatcher()
{
   if (watcher != null)
   {
      // Unhook the event
      watcher.EventRecorded -= Watcher_EventRecorded;
      // Stop watching for events
      watcher.Enabled = false;
      // Initiate garbage collection for the watcher
      watcher = null;
   }
}

// Do something when task events occur
private void Watcher_EventRecorded(object sender, TaskEventArgs e)
{
   DoSomething(e.TaskName);
}

Originally posted: 2015-12-17T17:31:06

Hi,
thanks for the answer.
I adapted it and created different watchers and EventRecorded handlers for each Event that I care, but non gets fired. I commented the deletion of the Task out and in the history in Task Scheduler I saw that the 102 Event is logged there, but my handler never got called.
André
Originally posted: 2015-12-18T03:46:07

Sometimes with these event handlers, there can be threading problems. I have posted a sample project just for task watching in the documentation for Task Events. Look there for some further hints on how to get this working in your code and post back here if you are unable to resolve your issue. I have confirmed that it works by building the project posted in the documentation.
Originally posted: 2015-12-21T11:01:44


fix(layer): correct shadercache import

Just a not, realized I will need to bump luma with a new alpha version and bump it there for this fix to make sense


add project test

new function "createUser" to use the user in add projects functionality
new test for add project functionality

Note: since last changes to the project's structure tests were not passing in my computer because of the timeout, since I think the issue is that server in my computer is slow I didnt' want to add --timeout(5000) to every test so I changed default timeout for mocha and it's working.

@chill117 thanks for the hints, now it's working!