node-gyp failing on Win10 Fast Build 14251 x64

Seems to be a new regression - this will most likely be fixed by Windows, but I wanted to post it here in case someone else found it:
C:\Users\paulb\code\temp>npm install nslog

><EMAIL_ADDRESS>install C:\Users\paulb\code\temp\node_modules\nslog
> node-gyp rebuild

C:\Users\paulb\code\temp\node_modules\nslog>if not defined npm_config_node_gyp (node "C:\Users\paulb\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
TRACKER : error TRK0002: Failed to execute command: ""C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64\CL.exe" @C:\Users\pa
ulb\AppData\Local\Temp\tmpae2d79d69fb940ad89f6168e72c59499.rsp". The handle is invalid.  System Windows_NT 10.0.14251
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\paulb\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\paulb\code\temp\node_modules\nslog
gyp ERR! node -v v4.2.2
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN EPACKAGEJSON<EMAIL_ADDRESS>No description
npm WARN EPACKAGEJSON<EMAIL_ADDRESS>No repository field.
npm ERR! Windows_NT 10.0.14251
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\paulb\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "nslog"
npm ERR! node v4.2.2
npm ERR! npm  v3.3.10
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the nslog package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls nslog
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\paulb\code\temp\npm-debug.log

I am receiving a very similar error. What can be done to resolve this?  It is preventing my workflow from building/installing dependencies from package.json

Same errors

Looking at the other issues, this appears to be fixed now.  Closing; can reopen if necessary, although it doesn't look like a node-gyp issue.

please elaborate on the fix. I've been dealing with this for the past week


Textfusenet model pth to mar torchserve?

Has anyone done this yet?
Is it possible to share the code?
i tried torch-model-archiver --model-name textfusenet --version 1.0 --model-file model.py --serialized-file model.pth --export-path model_store --extra-files config.yaml. with model.py = model_zoo.py and it's not success.

While running this ->  pythonsetup.py build develop  , I got the following errors : 'x86_64-linux-gnu-gcc' failed


Doc preview pipeline should not add package-lock.json to mapping.json

Similar to #4691, package-lock.json should not be added to mapping.json: https://github.com/MicrosoftDocs/AzureRestPreview/blob/0cf2b98f-2724-4e7e-8a87-d94f7487f4b8/mapping.json
This is causing pipeline failures e.g., https://github.com/Azure/azure-rest-api-specs-pr/pull/16124/checks?check_run_id=19232504401

@heaths the linked check run is gone. Do you have a newer repro? Could you past relevant info here so it doesn't  disappear?

Basically, whatever creates https://github.com/MicrosoftDocs/AzureRestPreview/blob/0cf2b98f-2724-4e7e-8a87-d94f7487f4b8/mapping.json needs to not include package-lock.json. It already excludes package.json, but needs to exclude both files from ending up in mapping.json or the Docs ingestion will fail. My understanding is that whatever creates that file is something we own.


(1247) Fetch important data from the application in the frontend

This updates the submit action to send the first class variables to the API, rather than relying on the API to extract the data from the application, which is error prone and complex when you consider how to keep the two applications in line. It makes heavy use of the very useful retrieveQuestionResponseFromApplication, and also introduces a retrieveOptionalQuestionResponseFromApplication which catches the SessionData error when we want to fetch a question response which we can't guarantee will exist.

 Fetch important data from the application in the frontend


WIP SPIDER: CPSBOE

Code looks very good except for the floating assertion in the test file.
However, there are some style things to be taken care of:
$ pep8 --ignore E265,E266,E501 .
./documenters_aggregator/spiders/cpsboe.py:7:1: E302 expected 2 blank lines, found 1
./documenters_aggregator/spiders/cpsboe.py:39:25: E226 missing whitespace around arithmetic operator
./documenters_aggregator/spiders/cpsboe.py:39:41: E226 missing whitespace around arithmetic operator
./documenters_aggregator/spiders/cpsboe.py:42:33: E701 multiple statements on one line (colon)
./documenters_aggregator/spiders/cpsboe.py:46:4: W291 trailing whitespace
./documenters_aggregator/spiders/cpsboe.py:82:5: E303 too many blank lines (2)
./documenters_aggregator/spiders/cpsboe.py:93:1: W391 blank line at end of file
./tests/test_cpsboe.py:13:1: E302 expected 2 blank lines, found 1
./tests/test_cpsboe.py:17:1: E302 expected 2 blank lines, found 1
./tests/test_cpsboe.py:20:1: E302 expected 2 blank lines, found 1
./tests/test_cpsboe.py:24:1: E302 expected 2 blank lines, found 1
./tests/test_cpsboe.py:31:1: E302 expected 2 blank lines, found 1
./tests/test_cpsboe.py:35:1: E302 expected 2 blank lines, found 1
./tests/test_cpsboe.py:38:1: E302 expected 2 blank lines, found 1
./tests/test_cpsboe.py:53:6: W292 no newline at end of file

I'll add some affordances to make this testing more visible/accessible before you make your PR, but it's good to keep the code clean.

@mwgalloway This PR looks good other than @eads's notes above re: moving an assertion in to a function and resolving style issues. You can use invoke runtests to run the unit tests and check your code style locally.

oooh ./documenters_aggregator/spiders/cpsboe.py:48:13: E123 closing bracket does not match indentation of opening bracket's line
... I'm inclined just to suppress that one.


Draft capacity management process

Fixed https://elastisys.io/compliantkubernetes/operator-manual/capacity-management/


Add API that uses WebAssembly ValueTypes, such as floats or reference types

I notice that Call only returns []Uint64, however other types are supported, such as f32.
In that case I need to use:
ret = w.functions[s].Call(context.Background(), v...)
*(*float32)(unsafe.Pointer(&ret[0]))

Should be possible to return based on Generics or create another Value type, which have options to unwrap the value (such as Value.Int(), Value.Int32(), Value.Float32). Behind the scenes it will use unsafe, but the public-API will be easier to use.

Agreed. There's a lot to think about on this one because it also affects anything with ValueType support, ex Globals.  Meanwhile, when people start thinking about this, value binders aren't far off.
Currently, we have utilities like https://pkg.go.dev/github.com/tetratelabs/wazero/api#DecodeF64 which are documented here https://pkg.go.dev/github.com/tetratelabs/wazero/api#ValueType
These utilities can also work with globals, and buy time for a layer to be added to do things naturally.
floatG := api.DecodeF32(global.Get(ctx))

One reason we delayed doing this is seeing the bad effects of the naive approach. Ex other libraries using interface{} and using documentation or shared knowledge to know for example int32 is allowed, but not uint32 etc. Meanwhile runtime failures on things like passing strings etc. We want to make a good api in context of the main use cases and keep things as safe as possible especially to the expanding value types.
Notably, there's a long summary about things like Reference Type and v128, etc. and decide to not break the current API meanwhile https://github.com/tetratelabs/wazero/issues/484#issuecomment-1116866086 After a lot of thinking, we are confident we can...

Make a Values kind of type that can allow inputs of natural types and hook into Call via .ToUint64s or something.
Make a layer that internally invokes Call or Global APIs instead of routing through uint64s in a visible way
Add a second invocation form to function call or globals that takes a sort of Values api

Let's leave this issue open to track doing one of the above. We need to land the more complex times before solidifying an approach and also need a bit more experience with common bindings and what if anything to do about them (ex wasm-bindgen sortof stuff). It would be awesome for us to have an api that doesn't punt to things like interface{}, supports reference types etc.. I think with some thinking and experience like yours, we can work it out.
Generics is interesting, we'll have to see about how split builds work in Go, maybe a second go.mod file I guess until our floor version is 1.18. In any case, let's continue the discussion here. Meanwhile, if you want to do a playground in another repo that dispatches to current globals and function.call, that would be cool experience to help shape things.

For evaluation of whatever next API, clarifying the known consumers of our APIs:

low level SDK or power user:  uint64s are tolerable, but another API better
pure wasi: doesn't matter as "_start" has no arguments
codegen: uint64s should be ideal
binder library: uint64s should be ideal
ad-hoc high level use: uint64s are only tolerable when dealing exclusively with unsigned integer types

When we do things, we'll remember that ad-hoc use shouldn't require things like codegen or a binder library, though some of those doing ad-hoc high level use may be better off using one of these.
I'm not entirely sure which of these would be Generics, so that's where I'd love to get some feedback from some experiments on this. Probably more than one..
If I left out important things, please comment back!

What do you think about something like:
type Values []Value

func (v Values) Scan(out ...any) {
	if len(out) > len(v) {
		return // Too much outputs
	}
	for i, o := range out {
		switch o := o.(type) {
		case *int64:
			*o = v[i].Int64()
		case *uint64:
			*o = v[i].Uint64()
		case *float32:
			*o = v[i].Float32()
		case *float64:
			*o = v[i].Float64()
		}
	}
}

type Value uint64

func (v Value) Uint64() uint64 { return uint64(v) }

func (v Value) Int64() int64 { return int64(v) }

func (v *Value) Float32() float32 { return *(*float32)(unsafe.Pointer(v)) }

func (v *Value) Float64() float64 { return *(*float64)(unsafe.Pointer(v)) }

The function will return Values instead of []uint64. Actually, we can use *(*[]Values)(unsafe.Pointer(&r)) assuming r is []uint64, so everything internal will remain unchanged. It only changes the "front-end" of Wazero (the Call function).

That construction can be used in two ways:
ret, _ := w.functions[s].Call(context.Background(), v...)

// Get single value:
myFloat = ret[1].Float32()

// Retrieve everything:
ret, _ := w.functions[s].Call(context.Background(), v...)

var myFloatA, myFloatB = float32(0), float32(0)
ret.Scan(&myFloatA, &myFloatB)

In the case of Scan()function, would be better if Call suppresses the error, and give only Values. Something like:
var myFloatA, myFloatB = float32(0), float32(0)
if err := w.functions[s].Call(context.Background(), v...).Scan(&myFloatA, myFloatB) {
}

So, it could be:
type Values struct {
	values []Value
	err error
}

func (r *Values) Values() ([]Value, error) {
	if r.err != nil {
		return nil, r.err
	}
	return r.values, nil
}

func (r *Values) Scan(out ...any) error {
	if r.err != nil {
		return r.err
	}
	if len(out) > len(r.values) {
		return errors.New("function signature not match")
	}
	for i, o := range out {
		switch o := o.(type) {
		case *int64:
			*o = r.values[i].Int64()
		case *uint64:
			*o = r.values[i].Uint64()
		case *float32:
			*o = r.values[i].Float32()
		case *float64:
			*o = r.values[i].Float64()
		}
	}
	return nil
}

The issue if this last method is for "void" functions, since calling Values() for void is counter-intuitive, and that is the only way to get errors. Anyway, just ideas. 🧐

this is an interesting view. bear in mind, we deferred doing things like this because 128 is two uint64s. that said in the approach you are suggesting above, the caller isn't passing a type like that.  It feels like when someone does this, they have a signature in mind (and don't want or don't yet have codegen).
this https://github.com/tetratelabs/wazero/pull/264 was an attempt to be less squishy, ex defining before a function is called, its parameters, vs possibly failing at runtime. Since the function exposes its param and result types, you can imagine the overhead of scanning is somewhat fixed. OTOH there's some glitches mentioned in the issue, hence it being punted.
In any case any of these approaches can be done externally as long as we don't try to change the uint64 to another type of uint64 (I think the above in the example isn't necessary to define a new type as you still need the function sig. It is mainly syntactic sugar right? So, I was hoping someone can try on own vs needing an internal change a while as usually there are glitches that come out when doing that.

food for thought: while we're discussing is the caller side, we've already implemented the callee side (host functions). This code will change for v128 for example (consuming 2 64bit blocks for a i128). When we end up baking in a callee-side means to get go values, we'd likely only support the exact same type mappings that exist on the host side. That makes docs easier to reason with and intuition possible from knowing one side or the other https://github.com/tetratelabs/wazero/blob/main/internal/wasm/gofunc.go#L76-L133

https://github.com/stealthrocket/wazergo is where to go for ergonomics now


flow: Define a base ServerEvent type

Server events do contain an id prop that is not really used by
the reducers (it is a incremental id set by the server)
Base all Event* types on ServerEvent and remove id from
the individual types.

The missing types were mostly because they were not yet merged from the other PR :)
I did fix these, but left out two types that are currently not actually containing this 'ID'. I'll add a new PR with a minor rework to make this work more consistently like the rest.

Just merged most of these!
I made a few changes to the commit messages:

the first commit message shouldn't say it's doing this to "all" the event action types when it isn't :)
ServerEvent is a supertype of these others, not a subtype -- e.g., a value that has type EventNewMessageAction also has type ServerEvent, but not vice versa
the reactions commit is really a bigger deal than just adjusting a type annotation -- it's changing how we construct these actions, and changing some names as a result, including one beyond mere spelling -- so the commit message should reflect that.

OK, and merged one more. There's just one change left unmerged, the one with this:
 const deleteMessage = (state: GlobalState, event: Object): EventMessageDeleteAction => ({
+  ...event,
   type: EVENT_MESSAGE_DELETE,
   messageId: event.message_id,
 });

Seems like we should take the opportunity to rename messageId there, too. Would you do that?
Thanks for these cleanups!


Add functionality for blocking with daggers

Add functionality for creating sparks effect when blocking with dagger weapons.

Most dagger's model is too small to spawn good sparks effect on it, I will add this after create a minimum model size checking function.


Gemfile missing many gems

Hi there! I'd expect the Gems in the README to match those in the Gemfile, but they don't!
From the README:

And testing gems like:
Capybara and [Google Chromedriver]  (https://sites.google.com/a/chromium.org/chromedriver/home) integration testing
capybara_accessibility_audit and capybara_accessible_selectors
Factory Bot for test data
Formulaic for integration testing HTML forms
RSpec for unit testing
RSpec Mocks for stubbing and spying
Shoulda Matchers for common RSpec matchers

From the latest Gemfile linked from the readme.
 group :development, :test do
 gem "awesome_print"
  gem "pry-byebug"
  gem "pry-rails"
 end

group :test do
  gem "formulaic"
  gem "launchy"
  gem "webmock"
end

I had the wrong version of ruby installed. 3.2.2 instead of 3.0.5


[WIP] Add Regex type

This is my suggestion for Regex in HandySwift. Please comment on whether this is suitable.
Note: It's not tested and documented yet, I will do that on approval.
Would close #14.

Any updated on this?

@Dschee I added the first match interface as suggested, while documentation and tests are yet to be created.

Nice, seems like only a new README section is missing, no? Thank you very much for all the work done so far. 👍

@Dschee You're welcome. With the readme now being done, this PR is now ready to merge if there aren't any issues / further suggestions.

Looks good, merging. 🎉


signUp should return userId, email, etc. when registering user with email verification enabled

Now, when hasura-auth is started from nhost cli with the following config
auth:
  email:
    signin_email_verified_required: true

and trying to register a user using the JS client's signUp() function  it returns
{"session": null, "error": null}

It would be good to receive some descriptive data of the newly registered user, at least its userId and email, so that we could make some operations on the new user even if their email address is not yet validated.
For example, I would like to assign some new roles to the new user, which I cannot do at signUp() time  (ie. I don't want users to be able to register themselves as "editor" but I would have an "admin" user who can assign an "editor" role to selected newly registered users - I do this on the server side)

related: https://github.com/nhost/nhost/issues/870

I'm still struggling with this, would be great to receive at least userId and email even if the email is not yet validated.

Has this maybe solved? Or is there any problem adding it?


Understanding Nuxt request lifecyle

Apologies if this may be the wrong place for discuss this. I am learning Nuxt and I am trying to understand the complete lifecycle of the request, from server to frontend.
These are my findings so far:
middlewareServer // nuxt will call this for every route
plugin // nuxt will call this for every route
nuxtServerInit (store) // nuxt will call this for every route
middleware from 'nuxtConfig' // nuxt will call this for every route
middleware from 'layout'
middleware from 'page'
asyncData from 'pages'
fetch from 'pages' (store)

Am I missing anything else? I guess that modules don't count because they can interact with multiple areas of the lifecycle....

This question is available on Nuxt.js community (#c2190)

@Atinux @microcipcip hello... it's been some time since I last visited this issue. Since this thread is about the Nuxt lifecycle I'm having another issue where my static site on launch had a redirect set at server level.  That was pointing to /index.html that has since been removed.
Problem with that is users may have that redirect cached. I would like to do a check for this within the application. Is there anyway I can check for that request and direct it to '/'?
I've tried to add logic to my plugin and in a middleware to intercept the routing but nothing has worked

@patrickdaze I don't see plugins in your flow - could you tell me why?

Closing this as there's been no updates over 90 days.


3.0.0-alpha.4 Podspec validation

Since 3.0.0-alpha.4 has been released on origin/master, the wrong tag is on the podspec
Just applying good "s.version" for pod fetching

Oof. Thanks!


Provide default poe root through env var

There are a few environments in which it becomes very hard if not impossible to provide CLI args to get desired behavior. Would it be possible to read the desired Poe root through an env var?
$ export POE_ROOT='foo'
$ poe ...

would then be equal to
$ poe --root='foo'

but with the CLI options obviously taking precedence.

Having a default value for the --root arg from the environment sounds reasonable. I suspect we'd need to make sure it doesn't collide with any env vars already used by poe (like POE_ROOT) to avoid unexpected behavior when for example invoking the poe CLI from within a poe task – more thought required on that question.

This features is now available with 0.26.0 🚀
You can set the POE_PROJECT_DIR environment variable and poe will look there for the pyproject.toml


Bags on server start and while server in progress

Console after starting:
http://i.imgur.com/ghwMRQc.png
Console while working:
http://i.imgur.com/8kIql7e.png
Forge: <IP_ADDRESS>2
ExtraCells: ExtraCells-1.7.10-2.1.34
AE2: appliedenergistics2-rv1-stable-1

Fixed in rv2


When I run npx promptfoo eval -j16, it runs all jobs in parallel, but after they have finished, I got the following error:
/home/sangwoo-joh/type/work/promptfoo/node_modules/drizzle-orm/sqlite-core/columns/text.cjs:75
    return JSON.stringify(value);
                ^

RangeError: Invalid string length
    at JSON.stringify (<anonymous>)
    at SQLiteTextJson.mapToDriverValue (/home/sangwoo-joh/type/work/promptfoo/node_modules/drizzle-orm/sqlite-core/columns/text.cjs:75:17)
    at /home/sangwoo-joh/type/work/promptfoo/node_modules/drizzle-orm/sql/sql.cjs:157:73
    at Array.map (<anonymous>)
    at SQL.buildQueryFromSourceParams (/home/sangwoo-joh/type/work/promptfoo/node_modules/drizzle-orm/sql/sql.cjs:110:32)
    at /home/sangwoo-joh/type/work/promptfoo/node_modules/drizzle-orm/sql/sql.cjs:129:21
    at Array.map (<anonymous>)
    at SQL.buildQueryFromSourceParams (/home/sangwoo-joh/type/work/promptfoo/node_modules/drizzle-orm/sql/sql.cjs:110:32)
    at /home/sangwoo-joh/type/work/promptfoo/node_modules/drizzle-orm/sql/sql.cjs:132:21
    at Array.map (<anonymous>)

Node.js v19.9.0

Ran on 16GB RAM, 16GB Swap, 8 Core Machine
Node 19.9.0

Hmm... I reduced the number of tests to about 1k and it works fine, which seems like this error occurs when we have too many tests.

 We’ve improved the data model in 0.92.0, which should help Promptfoo handle larger datasets more smoothly. Please give the new version a try when you have a chance. I’ll go ahead and close this issue, but if anything still isn’t quite right, feel free to reopen it.


[Breakpoint] #4 Request / Response Editor & Breakpoint View

Description

⚠ Ping @NghiaTranUIT to get the BreakpointData class from macOS. It's responsible to handle all data changes from the Request/Response Editor.
Waiting Breakpoint List View

Implement the DataGrid as the Flow Main Table View, which basic columns (See the screenshot)
No need to support the Customize Columns.
Show all waiting breakpoints in the Grid
Select a breakpoint -> Update the Request / Response Editor
Can select multiple breakpoints, but render the first item in the selected array.

Bottom Bar

Execute button with dropdown menu
Cancel button with dropdown menu
Continue button with dropdown menu
Work with single or multiple breakpoints
Disable buttons and menu if there is no selection

Request & Response Editor

⚠ Important: Write a Request Editor in a way that we can reuse it later (For the Compose View)

⚠ Important: Each Tab: Header, Query, Body, ... can be reused in the Request & Response.

Select a breakpoint -> If it's a Request Breakpoint -> Show the Request Editor (Hide the Response Editor)
Select a breakpoint -> If it's a Response Response -> Show the Request View (Read-only), and show the Response Editor

Header Tab

Query Tab on the Request

Must Subclass the Header Tab so we can reuse all Header tab logic and behavior.
When the URL is updated -> It also updates the Query Table
When the Query is updated (The text field is ended editing) -> Update the URL

https://user-images.githubusercontent.com/5878421/230846518-284cca6d-16da-4197-88cf-209314a9608f.mp4

Make sure the Query is updated with the BreakpointData model

Method and URL

If it's a Request Breakpoint -> The Method dropdown and URL are editable.
If it's a Response Breakpoint -> The method and URL are read-only

Update the URL will update the Query Tab (When the text field is end editing, don't change every time the user is typing)
Able to select the HTTP Method
Validate the URL -> Disable the Execute button and show the error icon

Body tab

The body tab can be reused in the Request Editor and Response Editor
Show the correct syntax highlighting, maybe JSON, Text, or HTML, ... We can reuse the same logic from the Main Table View
If it's a Request Breakpoint -> Body tab is read-only
If it's a Response Breakpoint -> Body Tab is Editable
Make sure we update the Body to the BreakpointData model

Form Tab

Reuse the Header Tab -> Have all logic + behavior from the Header Tab

If the Body of the Request is a form format (ContentType = application/x-www-form-urlencoded), show the Form tab

Update the Form entry will update the Body Tab

Update the Body will update the form entry if need

https://user-images.githubusercontent.com/5878421/230848697-4ce2af9e-5f04-4e2a-8f6c-19f2f89adfb5.mp4

Other Tab

If it's a Response Breakpoint -> Show the Other Tab
Allow the user to change the Status Code
Show the Reason-Phrase when end editing

https://user-images.githubusercontent.com/5878421/230849154-20171b3f-8b04-4df4-a49e-82e939f5cca4.mp4

We can use this lib: https://www.npmjs.com/package/http-status to get the Status code Reason Phrase
Make sure it updates the Breakpoint model


Added Tools

Looks good. However, the tool you added has an extra space after the product name, so please remove it. Other than that, everything looks fine

I willfix it , currectly travelling , i will more features


localforage as cache

Referring to your documentation here, why do you instantiate an instance of localforage every time you make an API call? Is there a reason for that?
Perhaps I am misunderstanding, but wouldn't it be better to create an instance of localforage once? As an example:
import localforage from 'localforage'
import memoryDriver from 'localforage-memoryStorageDriver'
import { setup } from 'axios-cache-adapter'

// Register the custom `memoryDriver` to `localforage`
localforage.defineDriver(memoryDriver)

// Create `localforage` instance
const localforageStore = localforage.createInstance({
    // List of drivers used
    driver: [
        localforage.INDEXEDDB,
        localforage.LOCALSTORAGE,
        memoryDriver._driver
    ],
    // Prefix all storage keys to prevent conflicts
    name: 'my-cache'
})

const api = setup({
    baseURL: 'https://my.api',
    cache: {
        maxAge: 2 * 60 * 1000,          // set cache time to 2 minutes
        exclude: { query: false },      // cache requests with query parameters
        store: localforageStore         // pass `localforage` store to `axios-cache-adapter`
    }
})

Hi @purplekrayons !
The configure() method in the example is only intended to be executed once, sorry that was not very clear. I wanted the examples to be copy/paste.able but you're right it is not very clear.
In the actual apps I usually have an utils/api.js file which does the cache setup and exports the instance as a singleton so whenever I require('utils/api') I get the same instance.

Thanks for the clarification!


Getting error while running python setup.py install

I am using updated commit, while trying to run python setup.py install, getting below error.
SyntaxError: '<' operator not allowed in environment markers
error: Setup script exited with error in setup command: Error parsing /tmp/easy_install-T_I5sD/mock-2.0.0/setup.cfg: SyntaxError: '<' operator not allowed in environment markers
[root@ip-10-0-0-139 elastalert]# python
Python 2.7.12 (default, Sep  1 2016, 22:14:00)
[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

Never mind, issue fixed after upgrading the setuptools


initial control of intro videos

integrated training videos 1.1 and 1.2.
Previews available at:

/overview/intro-to-header-bidding.html
/overview/intro.html

Added videos 1.3 and 1.4

lgtm - the only small quibble is that the white space between the descriptive text and the video player is wide on some pages
e.g.
wide: /overview/intro-to-header-bidding.html
narrow: /overview/intro.html
I prefer the look of the narrow.

good call. I had been experimenting with the padding. fixed.

We've gone over these in the training sub-committee. Adjusted the CSS. Merging this batch. Further feedback welcome.


[BUG] validation attribut disable is deprecated in gmp.spk, gcc63.spk and gcc93.spk

Describe the bug
validation attribut disable is deprecated but still present in the following spk.yaml

packages/gnu/gmp.spk.yaml
packages/gnu/gcc/gcc63.spk.yaml
packages/gnu/gcc/gcc93.spk.yaml

To Reproduce
Steps to reproduce the behavior:
Running version 0.42.0

Go to the root of spk
run make packages
See error

Expected behavior
make cmd running without error and previous and building the previous listed packages

here is a PR to fix this: https://github.com/spkenv/spk/pull/1090

Thanks for the PR! I think there's a tweak needed, but let me know if your changes are working - it's possible that some of the validation is no longer needed...

here is more details about the error
DEBUG   build options: {arch: x86_64, centos: , distro: rocky, gcc: , make: , os: linux, rocky: 9.4, stdfs: }
DEBUG Resolving source package for build
> RESOLVE gmp/6.2.0/src  (requested by gmp/6.2.0/src source build)
DEBUG Unchanged solver has finished first. Stopped remaining solver tasks.
Installed Packages:
  Package                   Version  Newest  Requested by
  local/gmp:src/=6.2.0/src  6.2.0    -       gmp/6.2.0/src source build
 Number of Packages: 1
DEBUG Resolving build environment
> RESOLVE stdfs/1.1.0/PF6B6TLF  (requested by gmp/6.2.0/HAQWUSQB binary build)
>> RESOLVE make/0.0.0+bootstrap.1/35MFBJT5  (requested by gmp/6.2.0/HAQWUSQB binary build)
>>> RESOLVE gcc/11.4.1/PSIJV77C  (requested by gmp/6.2.0/HAQWUSQB binary build)
DEBUG Unchanged solver has finished first. Stopped remaining solver tasks.
Installed Packages:
  Package                                       Version            Newest  Requested by
  local/stdfs:{build,run}/=1.1.0/PF6B6TLF       1.1.0              -       gcc/11.4.1/PSIJV77C, make/0.0.0+bootstrap.1/35MFBJT5, gmp/6.2.0/HAQWUSQB binary build
  local/make:build/=0.0.0+bootstrap.1/35MFBJT5  0.0.0+bootstrap.1  -       gmp/6.2.0/HAQWUSQB binary build
  local/gcc:build/=11.4.1/PSIJV77C              11.4.1             -       gmp/6.2.0/HAQWUSQB binary build
 Number of Packages: 3
ERROR (link)

  × Use of obsolete validators via 'build.validation.disabled'
  help: Replace them with the new 'build.validation.rules', as appropriate. https://spkenv.dev/ref/spec/#validationspec

make[1]: *** [Makefile:89: gnu/gmp.spk] Error 1
make[1]: Leaving directory '/home/philippe.llerena/workspace/github.com/doubleailes/spk/packages'
make: *** [Makefile:35: packages] Error 2

Add more detail about the validation error
$ make packages
make -C packages packages
make[1]: Entering directory '/home/philippe.llerena/workspace/github.com/doubleailes/spk/packages'
spk info -r local gnu/gmp.spk.yaml@sources > /dev/null 2>&1 || spk make-source -v gnu/gmp.spk.yaml
spk mkb -r origin -v gnu/gmp.spk.yaml
DEBUG relaunching under spfs
 INFO saving package recipe for gmp/6.2.0
 INFO building binary package(s) for gmp/6.2.0
 INFO building variant index 0:
Options: {arch=x86_64, distro=rocky, os=linux, rocky=9.4}
Additional Requirements:  None
DEBUG variant options: {arch: x86_64, distro: rocky, os: linux, rocky: 9.4}
DEBUG   build options: {arch: x86_64, centos: , distro: rocky, gcc: , make: , os: linux, rocky: 9.4, stdfs: }
DEBUG Resolving source package for build
> RESOLVE gmp/6.2.0/src  (requested by gmp/6.2.0/src source build)
DEBUG Unchanged solver has finished first. Stopped remaining solver tasks.
Installed Packages:
  Package                   Version  Newest  Requested by
  local/gmp:src/=6.2.0/src  6.2.0    -       gmp/6.2.0/src source build
 Number of Packages: 1
DEBUG Resolving build environment
> RESOLVE stdfs/1.1.0/PF6B6TLF  (requested by gmp/6.2.0/HAQWUSQB binary build)
>> RESOLVE make/0.0.0+bootstrap.1/35MFBJT5  (requested by gmp/6.2.0/HAQWUSQB binary build)
>>> RESOLVE gcc/11.4.1/PSIJV77C  (requested by gmp/6.2.0/HAQWUSQB binary build)
DEBUG All Impossible Checks solver has finished first. Stopped remaining solver tasks.
Installed Packages:
  Package                                       Version            Newest  Requested by
  local/stdfs:{build,run}/=1.1.0/PF6B6TLF       1.1.0              -       gcc/11.4.1/PSIJV77C, make/0.0.0+bootstrap.1/35MFBJT5, gmp/6.2.0/HAQWUSQB binary build
  local/make:build/=0.0.0+bootstrap.1/35MFBJT5  0.0.0+bootstrap.1  -       gmp/6.2.0/HAQWUSQB binary build
  local/gcc:build/=11.4.1/PSIJV77C              11.4.1             -       gmp/6.2.0/HAQWUSQB binary build
 Number of Packages: 3
 INFO The All Impossible Checks solver found a solution, but its output was disabled. To see its output, rerun the spk command with '--solver-to-run checks'
ERROR (link)

  × Use of obsolete validators via 'build.validation.disabled'
  help: Replace them with the new 'build.validation.rules', as appropriate. https://spkenv.dev/ref/spec/#validationspec

make[1]: *** [Makefile:89: gnu/gmp.spk] Error 1
make[1]: Leaving directory '/home/philippe.llerena/workspace/github.com/doubleailes/spk/packages'
make: *** [Makefile:35: packages] Error 2


Extract SessionStorageService and StatementStorageService

Description
Extract SessionStorageService and StatementStorageService so that it can be used with other storage.
Issues Resolved
N/A
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Please ensure build issues are not because of this PR.


Alternate URL support

For those who blocks certain URLs

[ ] archive.today
[ ] archive.li
[ ] archive.vn
[ ] archive.ph
[ ] archive.md

If this is optional, yes, that would be welcome.

Yeah it is mainly an issue of fighting against Domain Name Blocking.


cjit include loader

Description
CJIT Include Loader

[CI]: Can one of the admins verify this patch?

/execute order 0x45ull

Ok now time to add the new cpp file to CMakeLists.txt and make the ILogicalDevice add the CJITIncludeLoader to its default include finder in its constructor + test this in some example


fix typo

Codecov Report
Base: 86.80% // Head: 96.31% // Increases project coverage by +9.50% :tada:

Coverage data is based on head (0c5783e) compared to base (57b0e11).
Patch coverage: 100.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
+ Coverage   86.80%   96.31%   +9.50%
==========================================
  Files           3        3
  Lines         326      326
==========================================
+ Hits          283      314      +31
+ Misses         43       12      -31

Impacted Files
Coverage Δ

pgtree/pgtree.py
95.21% <100.00%> (+11.55%)
:arrow_up:

tests/test_pgtree.py
100.00% <0.00%> (+2.73%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Eslint - fix 'proto' is not defined

I was getting same output like described here. This pull request fixes it.

I ran into the same issue and the fix worked for me. Node.js version v17.3.0 and npm version 8.3.0.

Thanks!


Implemented native method for CoreSchema#getActualConfiguration [ECR-2646].

Overview
The method returns the configuration for the latest height of the blockchain serialized to JSON string.

See: https://jira.bf.local/browse/ECR-2646
Definition of Done

[x] There are no TODOs left in the code
[ ] Change is covered by automated tests
[x] The coding guidelines are followed
[x] Public API has Javadoc
[x] Method preconditions are checked and documented in the Javadoc of the method
[ ] Changelog is updated if needed (in case of notable or breaking changes)
[ ] The continuous integration build passes

Coverage remained the same at 84.791% when pulling 70f4d320450c225917bb51d6ecbb633dabdfe5ee on skletsun:ECR-2646 into 436d2f61ef46709234b778328ab12aa20c116790 on exonum:master.


Update library infrastructure, fix release issue

Fix version string to be 0.0.0+auto.0
Updates the CI to use the new composite actions, so now updates to those come to you without any local update needed.
setup.py isn't strictly needed here since everything can be moved to pyproject.toml, so I moved all the information over to that.
New CI uses Python 3.11, so I pinned pygame to the minimum version that will work for it.  Unfortunately no non-pre-released  version is available that fits that criteria.
Due to the Python 3.11 upgrade, pylint also needed an update, so I updated it to 2.15.5 like the other libraries and regenerated .pylintrc which has changes to what options are available so it appears as a substantial change to that file.
Added one pylint disable to the file since it pops out with the new pylint version.

I think that's everything.  Happy to remove any of these here if they're too out of scope of fixing the original release issue I was targeting, just be aware a lot of these cascade into other fixes which I tried to detail.

Fixes #10


Fixed incorrect link to UWP design page

Fixed incorrect link to UWP design page

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/design.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


dns: add v4 preferred option

Commit Message: dns - add v4 preferred option
Risk Level: low, new option
Testing: added UT
Docs Changes: added docs
Release Notes: added

/assign-from @envoyproxy/first-pass-reviewers

/assign-from @envoyproxy/first-pass-reviewers

Thanks @mattklein123!


The augmentation is not applied for motion & planning

Hi, thanks for the great work and contributions.
When checking the data pipelines, I found that the motion & planning labels (though they are in LiDAR coordinates) are not transformed according to the augmentations. I wonder whether I missed some details or this is intended?

Data augmentations are only performed in image space rather than BEV space (rot3d_range is set to [0, 0]), so there is no need to transform motion & planning labels.

Thanks for your reply. I also found the baseline Sparse4D (for detection & tracking) performs the BEV augmentation with "rot3d_range": [-0.3925, 0.3925].
Why is it disabled for the end-to-end SparseDrive?

We found that data augmentation in BEV space seems to have negative effect for online mapping task.


fix a vulnerability in contest submission

感觉应该可以工作，目前整个 submission 模块缺大量测试，感觉每次修改都好虚

https://github.com/QingdaoU/OnlineJudge/issues/195


px4fmu-v2_x Pixhawk - calling unknow command at the system startup hangs mavlink communication

As in object, the mavlink communication hang in case of calling an unknown command during the system startup.
For example, in my case, mavlink hanged in the latest masters due of removing gpio_led module that is called in my custom extras.txt.
For example mavlink hang flashing _ekf2 with SYS_MC_EST_GROUP < 2 cause q estimator is called but not present (unknown command) during boot process.
Hanging mavling result in qgc cannot connect and asks to reboot completely the system with the same problem at the folliwing startups.
Should mavlink communication stay alive in the case of boot error, permitting qgc communication, and errors displayed in the qgc error console?

In general an error would be better, but I'm on the fence wether this is necessary. If you screw up your Linux or Windows boot you can also end up having no UI visible to you. We might want to make the boot not abort on error though, so I will keep this issue open since we should try to improve things.

Lorenz,
it seems that in despite of the error I cannot connect via qgc but I can still arm the quadcopter (I did the test indoor so just armed not flown).
At the first this kind of behaviour was really difficult  to show the real problem. Simply a different pattern in blinking LED could help to show the problem. I say this cause beginner user not often have a serial converter to debug the system console - see issue #4838 and this way is very confusing.
Thank you for your attention.
And thank you for the job you are doing is a very great work!

I'm not sure if we can do much here other than working towards a system that doesn't need extras.txt

+1
I just lost hours because of this. I used the file /etc/extras.txt to start a custom app, and I forgot to remove the file when switching to master (were obviously my app does not exist).
I agree @LorenzMeier that if you screw up your boot script you cannot expect things to work properly.
However this is currently very difficult to debug: no error indicated on LED, and nothing on mavlink.
Even a boot abort would have been easier to debug as I would have directly looked into the init scripts.
As a minimal solution, maybe we can add a paragraph in the documentation to describe the problem and warn new users?
@dagar are you saying this is not possible to detect during the boot that a command in extras.txt is unknown, to then display an error?

@jlecoeur Can you please try the following:

Add set +e to the top of your NSH script on CURRENT master
Try adding an incorrect command to your SD card

It should not abort any more, just throw an error on the shell. If that works, can you send a PR? We gained this ability only recently.

@LorenzMeier your solution works, thanks!
However I am not sure if you meant sending a PR to make set +e the default. I do not think that failing silently by default is a good solution because one may want to be sure a custom app is running before taking off.
I added a paragraph in the doc in PR https://github.com/PX4/Devguide/issues/166 to mention the problem, and the set +e solution.
I also added an LED error signal in case of failed boot in PR #7315, please let me know what you think.

We changed this and this is no longer an issue.


Support for new AIR 50 SDK AS3 language features

The new AIR 50 Beta SDK introduces support for null-conditional operators, nullish coalescing and verbatim strings, outlined here https://github.com/airsdk/Adobe-Runtime-Support/discussions/1699#discussioncomment-3653584 😁

Someone will need to implement these new language features in the Royale compiler before they can be supported in vscode-as3mxml.

OK, I've just created the issue over there: https://github.com/apache/royale-compiler/issues/219#issue-1374761667

Excuse me, i think the current version still does not support verbatim string delimiters.
For example: @"i am a "verbatim string"".

@shaucky The compiler in AIR SDK 50.2 does not consider your string to be valid.

Syntax error: Expected PAREN_CLOSE but got 'verbatim'

I don't think that a verbatim string can contain a " character because " is used to indicate the end of the string.

Sorry, i mixed up the feature of literal strings and provided an inappropriate example…
Literal strings ignore all escape characters and interpret them as regular backslashes. Currently, the code shader still performs special coloring on escape characters within literal strings.
And this is a suitable example that can be compiled: trace(@"i am a verbatim string\r\n");.


New AWS account for Davon Webb

Overview
As a new member of the Ops team, Davon will need AWS account with relevant permissions
Action Items

[ ] Create the AWS account
[ ] Add the account to the necessary group(s) for his role

Resources/Instructions
Resources

Hey Davon, I just set up a profile for you for your AWS account.


128 add generate command

Issue Number: close #128
Problem Summary:
Add /generate slash command to Discord bot.
What is changed and how it works?
graphql/rcos/discord_assoications, src/discord_bot/commands, src/api/rcos/discord_assoications: "generate.rs",...
generate.rs:

Implemented /generate command.
/generate command has 4 subcommands: /generate roles, /generate categories, /generate channels and /generate all:

/generate roles:

Creates roles for projects and/or small groups in the ongoing semester.

/generate categories:

Creates categories for projects and/or small groups in the ongoing semester.
Categories are private and are only accessible by project/small group member, Faculty Advisors, Coordinators and    Sysadmin.

/generate channels:

creates voice and text channels for projects and/or small groups in the ongoing semester.
If category for project/small group is created, channels will be generated under the project/small group category.
Channels are private and are only accessible by project/small group member, Faculty Advisors, Coordinators and    Sysadmin.

/generate all:

Calls all /generate subcommands in the following order: /generate roles, /generate categories, /generate channels.

All the creations are updated to database.
All the commands are limited to Faculty Advisors, Coordinators and Sysadmin.

Files under graphql/rcos/discord_assoications and src/api/rcos/discord_assoications:

Multiple API and .graphql files are created for "generate.rs" to update project/small groups data into database.

Tests

[ ] Unit test
[ ] Integration test
[x] Manual test
[ ] No code

Manual test:

Create Discord Application.
Create a new discord server.
Create roles "Faculty Advisors" and "Coordinator", add yourself to these two roles.
Start the docker image.
Invite bots to discord server using the link generated by Telescope.
Open Hasura console.
Insert Row into Semesters table:

semester_id = 202201
title = Spring 2022

Insert 3 Rows(arbitrary field data) into Projects table.
Insert 1 Row into small group table.

semester_id = 202201

Insert 2 Rows(arbitrary field data) into users table.
Insert 2 Rows into enrollments table.

Project and user_id fields of two rows should be distinct.
So we got 2 projects being active in ongoing semester and 1 project being inactive in ongoing semester.

Call /generate roles in discord server.

2 project roles and 1 small group roles should be created at discord server.
The project_roles table and small_group_roles table should be updated.

Call /generate categories in discord server.

3 categories should be created at discord server.
The project_categories table and small_group_categories table should be updated.
Newly created categories should be visible to only project/small group members, Faculty Advisors and Coordinators.

Call /generate channels in discord server.

2 channels(1 voice channel and 1 text channel) should be created at each newly created category.
The project_channels table and small_group_channels table should be updated.
Newly created channels should be visible to only project/small group members, Faculty Advisors and Coordinators.

Delete all the discord data in database.
Remove all newly project/small group categories, channels and roles from discord server.
Call /generate all to see if it produces the same result.

This PR checks in a .DS_Store file despite also adding it to the .gitignore. Consider running git rm .DS_Store and then pushing.

 In my opinion, these would be easier to find if they were structured according to what they act on. (i.e. any small  group queries and mutations should be in a small group directory).

I noticed that the RCOS API schema also changed, but I do not see any new migrations over on https://github.com/rcos/rcos-data to indicate new database structures to match. It's imperative that Telescope's API schema remain in sync with the database schema. This could be the result of updating Hasura's version in the docker-compose file without updating it to match on rcos-data. Worth checking for any breaking API changes before updating either.


"Address family not supported by protocol", web container won't start

Describe the bug
Trying to start my project, Nginx dies about the address format.
ddev start

Starting glamanate.com...
Building db
Building web
Recreating ddev-glamanate.com-db ... done
Recreating ddev-glamanate.com-web ... done

Starting ddev-router ... done

Failed to start glamanate.com: web container failed: log=, err=container exited, please use 'ddev logs -s web` to find out why it failed

Logs
2020-04-11 14:20:51,005 INFO spawned: 'nginx' with pid 1726
2020-04-11 14:20:51,005 INFO success: mailhog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
2020-04-11 14:20:51,029 INFO exited: nginx (exit status 1; not expected)
2020-04-11 14:20:53,032 INFO spawned: 'nginx' with pid 1749
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
2020-04-11 14:20:53,047 INFO exited: nginx (exit status 1; not expected)
2020-04-11 14:20:56,057 INFO spawned: 'nginx' with pid 1781
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
2020-04-11 14:20:56,074 INFO exited: nginx (exit status 1; not expected)
2020-04-11 14:20:57,081 INFO gave up: nginx entered FATAL state, too many start retries too quickly

Version and configuration information (please complete the following information):
macOS Catalina 10.15.4
Docker
Client: Docker Engine - Community
 Version:           19.03.8
 API version:       1.40
 Go version:        go1.12.17
 Git commit:        afacb8b
 Built:             Wed Mar 11 01:21:11 2020
 OS/Arch:           darwin/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.8
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.17
  Git commit:       afacb8b
  Built:            Wed Mar 11 01:29:16 2020
  OS/Arch:          linux/amd64
  Experimental:     true
 containerd:
  Version:          v1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

ddev
DDEV-Local version	v1.13.1
commit            	v1.13.1
db                	drud/ddev-dbserver-mariadb-10.2:v1.13.0
dba               	phpmyadmin/phpmyadmin:5
ddev-ssh-agent    	drud/ddev-ssh-agent:v1.13.0
docker            	19.03.8
docker-compose    	1.26.0-rc3
os                	darwin
router            	drud/ddev-router:v1.13.0
web               	drud/ddev-webserver:v1.13.1

This looks like the problem is about IPv6 support? I don't get why this stopped.

So I found: https://docs.docker.com/config/daemon/ipv6/

Note: IPv6 networking is only supported on Docker daemons running on Linux hosts.

Oh, I just found: https://github.com/drud/ddev/pull/2145

For folks hitting this via search: @rfay has a fix until this is released:

Note that you can use the image that works with webimage: drud/ddev-webserver:20200402_remove_ipv6 in your project's config.yaml

This is already in Edge release v1.14.0-alpha1, and will be in full v1.14 release in the next week or two.  As @mglaman says you can also use it with v1.13 and earlier by changing the webimage, but don't forget to remove that when you upgrade.
Note that this is a bug in Docker Edge <IP_ADDRESS>, and they'll have a fix for it before long. It's just that we didn't actually need to have the ipv6 usage in there in the first place.
Closing, I think people will find this OK even if closed. Thanks for reporting @mglaman


Releases schedule

Can you tell me about the release schedule? You have some release schedule? When is the next release planned?
Thanks!

Hi @gemini1389! There is no release schedule) The project updates are rare so it is always depends on amount of changes collected since last release.
@valyala can you have a look and cut a new release please?

Released v1.14.0.


⚠ AGEG website (prod) has degraded performance

In d1f6fbf, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 5446 ms

Resolved: AGEG website (prod) performance has improved in d292b2e.


[explorer] front-end validation of categories for search

if 'addresses' category: verify:

data is address length
only hex characters

if 'transactions' category: verify:

data is tx digest length
proper base64 encoding

if 'transactions' category: verify:

data is object ID length
only hex characters

if 'all' category: verify:

does the provided string fit into any of the previous object / address / transaction formats ?

If user submits an all category search, we can at least distinguish between transactions and objects / addresses and limit our requests to the possible categories.
The error should be displayed to the user close to / in the same place they make the query, the search bar

this should cut down on the bad request to nodes mentioned in #2020


HBASE-22637 fix flaky test in TestMetaTableMetrics

This is the same fix of HBASE-22637 on branch-1 that what was already merged on master: https://github.com/apache/hbase/pull/346
fixes / changes:

wait until all the metrics appear on JMX (previously we were only waiting for the bean to appear, I think this was the cause behind fleakyness)
testing all the jmx attributes for all metrics / operations
rename the test (test -> testMetaTableMetricsInJmx)

Note: it looks the hbase-client on hbase 1.4 doesn't really use the get operation to query the meta table information, but is using scan instead. (so for the sake of the test, we now also query the meta table directly to see if the get operation is counted or not) It might be a good idea to extend the MetaMetrics feature with measuring the scan operations as well.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
1207
Docker mode activated.

_ Prechecks _

0
findbugs
0
Findbugs executables are not available.

+1
hbaseanti
0
Patch does not have any anti-patterns.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ branch-1 Compile Tests _

+1
mvninstall
143
branch-1 passed

+1
compile
48
branch-1 passed with JDK v1.8.0_212

+1
compile
51
branch-1 passed with JDK v1.7.0_222

+1
checkstyle
99
branch-1 passed

+1
shadedjars
203
branch has no errors when building our shaded downstream artifacts.

+1
javadoc
39
branch-1 passed with JDK v1.8.0_212

+1
javadoc
49
branch-1 passed with JDK v1.7.0_222

_ Patch Compile Tests _

+1
mvninstall
130
the patch passed

+1
compile
50
the patch passed with JDK v1.8.0_212

+1
javac
50
the patch passed

+1
compile
52
the patch passed with JDK v1.7.0_222

+1
javac
52
the patch passed

+1
checkstyle
97
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedjars
204
patch has no errors when building our shaded downstream artifacts.

+1
hadoopcheck
257
Patch does not cause any errors with Hadoop 2.8.5 2.9.2.

+1
javadoc
36
the patch passed with JDK v1.8.0_212

+1
javadoc
49
the patch passed with JDK v1.7.0_222

_ Other Tests _

+1
unit
9291
hbase-server in the patch passed.

+1
asflicense
22
The patch does not generate ASF License warnings.

12238

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-353/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/353

Optional Tests
dupname  asflicense  javac  javadoc  unit  findbugs  shadedjars  hadoopcheck  hbaseanti  checkstyle  compile

uname
Linux 9605e155240e 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
/testptch/patchprocess/precommit/personality/provided.sh

git revision
branch-1 / 7828d6a

maven
version: Apache Maven 3.0.5

Default Java
1.7.0_222

Multi-JDK versions
/usr/lib/jvm/java-8-openjdk-amd64:1.8.0_212 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_222

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-353/1/testReport/

Max. process+thread count
4519 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-353/1/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.


train result is not good

HELLO, when I run the step of 'Convert model to deploy mode':python demo.py --prefix model/ssd_240_deploy --epoch 0 --deploy
I have finished train step on TITAN X。produce 240 epoches。 (I use the 240.params)
There are many wrong boxes in the dog.jpg.
I am confused what the problem is.

i get the same result, its val map is 73%, but when i test the dog.jpg with my trained model, there are lots of wrong boxes. However, class is right, but the location is absolutely incorrect. if you get the reason, please show me ,thanks!


Explain the additional usage scenarios of PrePersist

Also show the signature of prePersist hooks when all parameters all present

Description

Related Issue

Motivation and Context

I'll close this for now. If you want to provide some deeper explanation for the feature, that is fine for me, but this particular PR IMO will cause more confusion than help the understanding.


Update README.android in regards to CMake, NDK and ABIs

CMake should be used from Android SDK. Personally I had issues using CMake from my OS (Ubuntu)
minimum version of Android NDK must be 15c, as build target API level 26 is not supported on earlier releases
removed ABIs that are unsupported in recent NDK and also not build by default

@akallabeth thank you for pointing out that I was using the wrong CMake version.

@freerdp-bot test


[BACKLOG-12464] Fix Internal.Entry.Current.Directory during job/transformation save

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -Dtestreports.dir=bin/reports/integration-test -f engine/build.xml jacoco-integration checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  engine/src/org/pentaho/di/job/JobMeta.java
  engine/src/org/pentaho/di/trans/TransMeta.java

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.core.auth.core.impl.DefaultAuthenticationConsumerFactory

Branch Change: -7.14%:small_red_triangle_down:
Complexity Change: -7.69%:small_red_triangle_down:

org.pentaho.di.job.entries.evaluatetablecontent.JobEntryEvalTableContent

Branch Change:  + 1.01%
Complexity Change:  + 1.06%
Instruction Change:  + .17%

org.pentaho.di.job.entries.getpop.MailConnectionMeta

Branch Change:  + 1.00%
Complexity Change:  + 1.41%
Instruction Change:  + .30%

org.pentaho.di.job.JobMeta

Branch Change:  + .28%
Complexity Change:  + .20%
Instruction Change:  + .20%
Line Change:  + .07%

org.pentaho.di.trans.step.StepMeta

Instruction Change:  + .19%
Line Change:  + .27%

org.pentaho.di.trans.steps.checksum.CheckSumMeta

Instruction Change: -.11%:small_red_triangle_down:

org.pentaho.di.trans.steps.csvinput.CsvInputMeta

Instruction Change: -.05%:small_red_triangle_down:

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Instruction Change: -.09%:small_red_triangle_down:

org.pentaho.di.trans.steps.groupby.GroupByMeta

Instruction Change: -.14%:small_red_triangle_down:
Line Change: -.37%:small_red_triangle_down:

org.pentaho.di.trans.steps.ldapoutput.LDAPOutputMeta

Instruction Change:  + .06%

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change:  + 2.35%
Complexity Change:  + 2.70%

org.pentaho.di.trans.steps.singlethreader.SingleThreaderMeta

Instruction Change:  + .08%

org.pentaho.di.trans.steps.sort.SortRowsMeta

Instruction Change: -.08%:small_red_triangle_down:

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta

Instruction Change: -.18%:small_red_triangle_down:

org.pentaho.di.trans.steps.synchronizeaftermerge.SynchronizeAfterMergeMeta

Instruction Change: -.04%:small_red_triangle_down:

org.pentaho.di.trans.TransMeta

Branch Change:  + .05%
Complexity Change: -.02%:small_red_triangle_down:
Instruction Change:  + .07%
Line Change:  + .07%

org.pentaho.di.www.TransformationMap

Branch Change: -3.41%:small_red_triangle_down:
Complexity Change: -3.08%:small_red_triangle_down:
Instruction Change: -.78%:small_red_triangle_down:
Line Change: -.77%:small_red_triangle_down:

Integration test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.job.JobMeta

Branch Change:  + .27%
Complexity Change:  + .19%
Instruction Change:  + .19%
Line Change:  + .07%

org.pentaho.di.trans.TransMeta

Branch Change:  + .14%
Complexity Change:  + .10%
Instruction Change:  + .10%
Line Change:  + .07%

License header violations

:heavy_exclamation_mark: Copyright year is not the current year on engine/src/org/pentaho/di/job/JobMeta.java. Found 2016. Was expecting 2017

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -Dtestreports.dir=bin/reports/integration-test -f engine/build.xml jacoco-integration checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  engine/src/org/pentaho/di/job/JobMeta.java
  engine/src/org/pentaho/di/trans/TransMeta.java

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.job.entries.evalfilesmetrics.JobEntryEvalFilesMetrics

Branch Change:  + .39%
Complexity Change:  + .51%
Instruction Change:  + .08%

org.pentaho.di.job.entries.getpop.MailConnectionMeta

Branch Change: -1.00%:small_red_triangle_down:
Complexity Change: -1.41%:small_red_triangle_down:
Instruction Change: -.30%:small_red_triangle_down:

org.pentaho.di.job.entries.sql.JobEntrySQL

Instruction Change:  + 3.28%
Line Change:  + 3.87%

org.pentaho.di.job.entries.waitforsql.JobEntryWaitForSQL

Branch Change: -.66%:small_red_triangle_down:
Complexity Change: -.93%:small_red_triangle_down:
Instruction Change: -.13%:small_red_triangle_down:

org.pentaho.di.job.JobMeta

Branch Change:  + .28%
Complexity Change:  + .20%
Instruction Change:  + .20%
Line Change:  + .07%

org.pentaho.di.trans.steps.calculator.CalculatorMetaFunction

Branch Change:  + 8.70%
Complexity Change:  + 3.08%
Instruction Change:  + .75%
Line Change:  + .89%

org.pentaho.di.trans.steps.constant.ConstantMeta

Instruction Change:  + .10%

org.pentaho.di.trans.steps.csvinput.CsvInputMeta

Instruction Change: -.05%:small_red_triangle_down:

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Instruction Change: -.09%:small_red_triangle_down:

org.pentaho.di.trans.steps.excelwriter.ExcelWriterStepMeta

Branch Change:  + 1.28%
Complexity Change:  + .78%
Instruction Change:  + .04%

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change: -4.17%:small_red_triangle_down:
Complexity Change: -4.21%:small_red_triangle_down:
Instruction Change: -.14%:small_red_triangle_down:
Line Change: -.37%:small_red_triangle_down:

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -1.18%:small_red_triangle_down:
Complexity Change: -1.35%:small_red_triangle_down:

org.pentaho.di.trans.steps.replacestring.ReplaceStringMeta

Instruction Change:  + .07%

org.pentaho.di.trans.steps.rowgenerator.RowGeneratorMeta

Instruction Change: -.08%:small_red_triangle_down:

org.pentaho.di.trans.steps.setvalueconstant.SetValueConstantMeta

Instruction Change: -.14%:small_red_triangle_down:

org.pentaho.di.trans.steps.singlethreader.SingleThreaderMeta

Instruction Change: -.08%:small_red_triangle_down:

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta

Instruction Change: -.18%:small_red_triangle_down:

org.pentaho.di.trans.steps.textfileinput.TextFileInputMeta

Branch Change:  + .53%

org.pentaho.di.trans.TransMeta

Branch Change:  + .05%
Complexity Change: -.02%:small_red_triangle_down:
Instruction Change:  + .07%
Line Change:  + .07%

org.pentaho.di.www.TransformationMap

Branch Change: -1.14%:small_red_triangle_down:
Complexity Change: -1.54%:small_red_triangle_down:

Integration test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.job.JobMeta

Branch Change:  + .27%
Complexity Change:  + .19%
Instruction Change:  + .19%
Line Change:  + .07%

org.pentaho.di.trans.TransMeta

Branch Change:  + .14%
Complexity Change:  + .10%
Instruction Change:  + .10%
Line Change:  + .07%


MatchSpec Contains support for autoscaling_group propagated tag

Is your feature request related to a problem? Please describe.
Propagated tags for autoscaling group is not supported.
Describe the solution you'd like
Make it possible for tags matchSpec expression with Contains to accept the propagated tags syntax which contains an array of tags.
Describe alternatives you've considered
regexMatches is not quite as friendly and not sure would help.
terraform-compliance may be able to verify this but it means new system and it also works based on the plan and not the HCL syntax scanning.
Additional context
Patch PR can be found here: https://github.com/tfsec/tfsec/pull/551

Merged: https://github.com/tfsec/tfsec/pull/551#event-4191872100

Merged: https://github.com/tfsec/tfsec/pull/551#event-4191872100

My bad not working for more than one tag.

Submitted new PR: https://github.com/tfsec/tfsec/pull/611
Thanks.

Merged


Refresh Editor

Hi,
I would like to be able to refresh the editor (re-initialize it).
I am setting the css for my editor has below
private Dictionary<string, object> edEmailBodyConf { get; set; }
code to setup the editor default CSS from OnInitializedAsync method
edEmailBodyConf = new Dictionary<string, object> { { "plugins", "code" }, { "content_style", _bodyStyle }, { "height", 450 } };
My razor code
<Editor Id="eEditor" @bind-Value="BodyText" ApiKey="msdkhjdkjdfghksfhdfgk3656sdf56sdfsdf1" Conf="@edEmailBodyConf" />
I have a drop down that set edEmailBodyConf with the new css (_bodyStyle ), but the editor is not getting refreshed.
Is there a way of refreshing the editor?

@VinnyJo
Once the editor has been initialised there is no way to change the configuration. However, there are multiple ways to get around that. The easiest way is to have a dynamic list of components to display so that the editor is created dynamically. For example:
<div>
@foreach(Editor Editor in Editors){
  <TinyMCE.Blazor.Editor @bind-Value="BodyText" @key="Editor"<EMAIL_ADDRESS>/>
}
</div>
...
@code {
  Class Editor {...}
  List<Editor> Editors = new List<Editor>(){
    new Editor(){Conf=new Dictionary<string, object>{{"content_style",_selectedStyle}};
  }
  void UpdateEditor() {
    editors.RemoveAt(0);
    editor.Add(new Editor(){Conf=new Dictionary<string, object>{{"content_style", _selectedStyle}}});
  }
}

If you have a drop down it probably means that the options for configurations are limited and you can just select from those options instead of dynamically creating new ones.
Let me know if this helps

Hi @jscasca,
Thank you for the sample, it works fine.
Regards,
Vincent
From: jscasca @.>
Sent: 16 November 2021 08:06
To: tinymce/tinymce-blazor @.>
Cc: Vincent Jourdain @.>; Mention @.>
Subject: Re: [tinymce/tinymce-blazor] Refresh Editor (Issue #28)
@VinnyJohttps://github.com/VinnyJo
Once the editor has been initialised there is no way to change the configuration. However, there are multiple ways to get around that. The easiest way is to have a dynamic list of components to display so that the editor is created dynamically. For example:

@foreach(Editor Editor in Editors){
<TinyMCE.Blazor.Editor @bind-Value="BodyText" @key="Editor"<EMAIL_ADDRESS>/>
}

...
@code {
Class Editor {...}
List Editors = new List(){
new Editor(){Conf=new Dictionary<string, object>{{"content_style",_selectedStyle}};

}
void UpdateEditor() {
editors.RemoveAt(0);

editor.Add(new Editor(){Conf=new Dictionary<string, object>{{"content_style", _selectedStyle}}});

}
}
If you have a drop down it probably means that the options for configurations are limited and you can just select from those options instead of dynamically creating new ones.
Let me know if this helps
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/tinymce/tinymce-blazor/issues/28#issuecomment-969986664, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUVDHJJQ7TOYGOLKAFKQYEDUMIGHTANCNFSM5HYDBX4Q.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Glad you got it working!


RTL mode

[ ] Implement RTL in Bootstrap → #30980
[x] Documentation: Getting Started /  RTL
[x] Example template somehow, related to #243 #261 #294

A few Arabic Orange websites could be used as references or example content sources:

Orange Morocco
Orange Egypt
Orange Jordany, albeit this one is pretty messy.

If logical properties aren't an option, there's a better way than using RTLCSS (maybe):

using a mixin, like we do for media queries: @include rtl()
checking for a boolean before going ahead: @if enable-rtl {}
then wrapping mixin content in :dir(rtl) using @content
and then, moving things away.

Also notice that there is a few things to add to _reboot.scss at least (but take a look to v4's o-rtl.scss for details).

Only waiting for Bootstrap to merge my PR, then to add a few overrides for Orange brand (mainly type in #416).


Add Gaussian process regression example

3 basic examples with increasing complexity centered around Gaussian processes regression models primarily aimed at demonstrating returning "distribution-like" objects from module layers using the nn.struct.dataclass decorator

Hi @danieljtait , thanks for the PR! This looks very comprehensive, and it's great to see Flax being used for new models!
It would great to have a mini-example of a Gaussian Process in flax/examples. Doing this however will come with some maintenance expectations on the author of the example. We're still figuring this out, but it will at least include tests, expected metrics, being self-contained (e.g. see examples/lm1b) and ownership and commitment to updating the example with changing APIs and patterns. If you would like to work such an example, please let us know.
In the meantime, if you upload your example in a different GitHub repo, we would be happy to link to it!

Hi @AlexeyG thanks for the response! Would be delighted to take on the work of keeping a Gaussian process example updated and maintained through changes in the API and modelling patterns in Flax
In the meantime I will checkout the example you pointed me to and then upload this example to a different repo and pass on the link to you guys. Loving Flax, keep up the good work!

Hi @danieljtait -- we're almost ready to start taking in new meaningful examples but we need to finish setting up our end-to-end performance regression testing infrastructure.
In the meanwhile, we really want to link to your repo -- is it available somewhere?

Hi @avital -- great I would love to contribute when you're ready!
In the meantime I have packaged up these examples at https://github.com/danieljtait/ladax/tree/master/examples and a link would be fantastic

Hi @danieljtait! We added a link to your repository at https://github.com/google/flax/blob/master/examples/README.md. Thanks a lot, and please do let know if you have other questions or if you've implemented other great models with Flax!


attribute the vienna.rb icon Floor Dress(?) let us use

a step in fixing https://github.com/exercism/exercism.io/issues/3112.

Thanks for this @catb0t.
Providing more context in the PR message would be helpful, it took me a long time to work out what you were doing and where the line you added to the readme came from.
Something like:
Moving the image credit from the exercism.io ATTRIBUTION.md file into the track Readme.md since the images now live in the individual track repositories.

Oh, sorry about that, the description for the pulls I created this morning are abnormally short because I was expecting @kytrinyx to merge most of them (which she did).

Sorry, both of you! We've been on a shared rampage, @catb0t and I.
This looks good to me.


Create a docker multistage build script

Create a docker multistage build script that is compatible with FastSurfer interface rework.
All images are built with the "core" Dockerfile at Docker/Dockerfile. Also update some additional folders to not be copied automatically by the build (.dockerignore).
TODOs:

Testing
check for the updates to AMD (rocm/pytorch is now python 3.8 as well)

@AhmedFaisal95 Please have a look and see what still needs to be done.
I have already added some documentation in Docker/README.md
At a minimum, this drastically reduces the doubling of code.
It seems that DOCKER_BUILDKIT also supports the script now. Which speeds up builds a lot, since it builds stages that are independent at the same time.

The issue mentioned above should be fixed in this PR: https://github.com/dkuegler/FastSurfer/pull/2

@m-reuter The Apple M1 device is missing from the docker mulistage built. The reason is that it was not in dev at all.
For the AMD build, the base image got updated and I am not really sure if the updated image works. Maybe, someone can check this as well?

@AhmedFaisal95 Can you confirm this works now?
We need a "basic test" of all images :).

I already tested the fixes before submitting the PR, specifically all images except for the AMD case (no hardware).

The build script should also compile the byte code https://docs.python.org/3/library/py_compile.html .

I think what is left for this PR to be merged is proper testing.
Especially for the AMD build.

@agirodi can you test the AMD docker script?

@agirodi can you test the AMD docker script?
I just did and it is working correctly. The build went without issues and running produced a correct segmentation.

Then, this PR should be ready for merging.


add review

Something more that can be done on this page is to render the place name, category and image based on the CurrentPlaceID

@sassansh Thanks for the suggestions. I've made changes so that the place rendered is based on place id. I also added a thank you page that appears after the review is submitted.

@sassansh Thanks for the suggestions and code review!


better solution of squared array in contest problem

Solved issue #(your issue number)
In Language- (your used language)

[ ] Updated README Link
[ ] Added code with comments

Thanks for contributing!

Thanks!


question about M-x Slime

Excuse me,dear purcell.
I'm a beginner of common lisp and Emacs.I download your repository yesterday from Github.
I learned that typing M-x Slime to start the Slime.But it display "apply: Searching for program: no such file or directory, lisp".How to solve the problem?And I have search the past issues,find the same problem comment by other(https://github.com/purcell/emacs.d/issues/70).But I cann't understand.
Looking forward for your reply,thanks a lot!

you can see the issues#398, maybe the same problem.
It means that "lisp" isn't found on your system.
Maybe you can try to install sbcl and set the inferior-lisp-program variable to "sbcl",add blow code to your init-slime.el.
(setq inferior-lisp-program "sbcl")

@emuio thanks a lot.
According to your suggestion,I install the sbcl using "sudo apt install sbcl" on my OS.
And then add the code(setq inferior-lisp-program "/usr/bin/sbcl") in my init-slime.el.
Finally,type M-x Slime,it works.
Thanks again.


Reduce dependency on the bridge() API since it will be changing shortly

Some of the incoming changes for Foundation will alter bridging of types. This will allow the same functionality but avoid the .bridge() calls

@swift-ci please test linux


Menril Saplings, Witchwood Saplings, and other magical trees

We already decided that Menril saplings will not be in world generation. Witchwood is blanket removed due to the way Ars Magica 2's configs work (unless we re-add it using a separate method).
Currently, I am thinking that we make a nature-themed dungeon via either Recurrent Complex or Roguelike Dungeons, then populate their loot tables with magical trees.
Alternatively, or in addition to, we can add a recipe. For example, menril resin can be a thing that we find in world generation. Perhaps in the Deep Dark. Then put that menril resin in a TConstruct basin with a sapling to make menril saplings. Similarly, for witchwood, we can use Ars Magica's liquid essence to make witchwood. When Thaumcraft is released, we can do similar for silverwood and greatwood.
In addition to using TConstruct's basin, we can use Forestry's Carpenter to combine liquids with a sapling to get the magic saplings.

Two gates in the wall of magical wood, sounds good to me.
Third Suggestion: Rare drops from Dryads

In order to close this issue, I still need to add the following:

Generation for menril resin and essence fluid
Nature-themed dungeons with these items as loot

I'm probably going to create geodes that contain these fluids. Currently, there are already 2 methods of getting these items:

Pour the right type of fluid on a sapling via a TiC basin (no method to get either fluid, though)
Rare drop when killing an Ars Magica dryad


Review dependabot alerts

There are a number of dependabot alerts indicating security vulnerabilities in dependent packages for this repo.
Full list is at https://github.com/Capgemini/dcx-react-library/security/dependabot and includes 8 critical items at the time of writing.
Please review the alerts and update dependencies wherever possible.

thanks @tsphethean - within the current release we have addressed all of the 9 critical items and other items where possible, so I will close this for now with a keen eye on the dependabot scan after this has been merged into our main branch.


Add Generic Types

Proposal
Add Generic Types with defaults to DocumentReference, CollectionReference, Query, etc.
export class DocumentReference<D = DocumentData, U = UpdateData, P = CollectionReference<D, U>|null, S = {[subCollectionId: string]: CollectionReference}> {

D and U are pretty straight forward, but P would be for the parent type and S would be for the typing of subcollections. This would still be backwards compatible as providing no types would default to what is currently typed.
Currently if I want to achieve any of this I have to create wrapper interfaces for any Firestore classes I want to use and retype all of the methods, then type the collections/documents with those wrappers.
I'd be happy to make a PR with the necessary changes if you think this change is beneficial.
Reasons

Typed data returned from DocumentSnapshot (i.e. eliminates the need to import types and explicitly type variables containing the data.)
Enforcement of parent types and subcollections and their types
Enforcement of update rules (i.e. if certain values should only be written on create, or if one value is changed, another should also be updated)
Easier to extend Firestore classes for modeling purposes (only as interface since constructors are private)

const chatRooms = firestore.collection<ChatRoom, ChatRoomUpdateRules>('rooms')
const myChatRoomRef = chatRooms.doc(myChatRoomId)
const myChatRoomDoc = await myChatRoomRef.get()
const myChatRoomInfo = myChatRoomDoc.data() //myChatRoomInfo is of type ChatRoom

const members = myChatRoomDoc.ref.collection<Member, MemberUpdateRules>('members')
const certainMembersQuery = members.where('posts', '>=', 3).orderBy('posts').limit(10)
certainMembersQuery.onSnapshot((membersSnapshot) => {
  membersSnapshot.docChanges.forEach((change) => {
    const memberInfo = change.doc.data() //memberInfo is of type Member
  })
  membersSnapshot.docs.forEach((doc) => {
    const memberInfo = doc.data() //memberInfo is of type Member
    const otherChatRoomRef = doc.ref.parent.parent.parent.doc(otherChatRoomId) // Maintains typings of parents
  })
})

Enforcing subcollections
import * as admin from 'firebase-admin'
import * as Event from './event'

interface IOrganizationModel {
  ...
}

interface IOrganizationUpdateRules {
  ...
}

interface IOrganizationSubcollections {
  events: Event
}

export default admin.firestore().collection<IOrganizationModel, IOrganizationUpdateRules, null, IOrganizationSubcollections>('organizations')

import Organizations from './organizations'

const myOrgDoc = await Organization.doc('myOrgId').get()
const myCurrentEvents = await myOrgDoc.ref.collection('events').where('end', '>=', new Date().getTime()).orderBy('end').get() // type checks successfully and holds the Event model types
const myCurrentMembers = await myOrgDoc.ref.collection('members').get() // collection('members') fails type check since 'members' is not a keyof IOrganizationSubcollections

this answer mentions json.parse returns type of "any", perhaps "DocumentData" should be of type "any".
https://stackoverflow.com/a/51607297/632088
that way, I can do something like doSomethingWithPerson(docDataVal), without the complaint that DocumentData is not of type Person.

I'm not usually one to "+1" in the comments but wanted to weigh in here that this would really be a nice-to-have.
Totally appreciate the thought you and the team put into your decision but just throwing my voice here so other folks chime in and the resounding throng of GitHub comments becomes too much for you to handle :)


[Add] add mmseg projects

Please pull the latest commit and fix the pre-commit hooks error.
For the repeated projects, please update the original projects by editting their mmrepos or other keys.

Thanks for the contribution. We have added your mentioned projects manually to resolve the conflict


ASU-850 Add script for temp files removing

Add parameterized script for old temp files removing. For now defaults
to apartment data transfer files.
Script has options to either pass path and days variables to the script
or to use defaults.
Has option to dry run script and logging.

Codecov Report

Merging #80 (5e5e651) into develop (ea12a97) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #80   +/-   ##
========================================
  Coverage    91.33%   91.33%
========================================
  Files           49       49
  Lines         1385     1385
  Branches       116      116
========================================
  Hits          1265     1265
  Misses          96       96
  Partials        24       24

Continue to review full report at Codecov.

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


[SPARK-45770][SQL][PYTHON][CONNECT] Introduce logical plan UnresolvedDropColumns for Dataframe.drop

What changes were proposed in this pull request?
Fix column resolution in DataFrame.drop
Why are the changes needed?
from pyspark.sql.functions import col

# create first dataframe
left_df = spark.createDataFrame([(1, 'a'), (2, 'b'), (3, 'c')], ['join_key', 'value1'])
# create second dataframe
right_df = spark.createDataFrame([(1, 'aa'), (2, 'bb'), (4, 'dd')], ['join_key', 'value2'])
joined_df = left_df.join(right_df, on=left_df['join_key'] == right_df['join_key'], how='left')
display(joined_df)
cleaned_df = joined_df.drop(left_df['join_key'])
display(cleaned_df) # error here

JVM stacktrace:
org.apache.spark.sql.AnalysisException: [AMBIGUOUS_REFERENCE] Reference `join_key` is ambiguous, could be: [`join_key`, `join_key`]. SQLSTATE: 42704
	at org.apache.spark.sql.errors.QueryCompilationErrors$.ambiguousReferenceError(QueryCompilationErrors.scala:1957)
	at org.apache.spark.sql.catalyst.expressions.package$AttributeSeq.resolve(package.scala:377)
	at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.resolve(LogicalPlan.scala:156)
	at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.resolveQuoted(LogicalPlan.scala:167)
	at org.apache.spark.sql.Dataset.$anonfun$drop$4(Dataset.scala:3071)

Does this PR introduce any user-facing change?
no
How was this patch tested?
ci
Was this patch authored or co-authored using generative AI tooling?
no

cc @cloud-fan

Do we need it to fix spark connect behavior in 3.5? If yes then we need to backport.


Add RecallResult

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (4524ac0) to head (4ea178a).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #93   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           34        35    +1
  Lines          725       796   +71
  Branches        71        82   +11
=========================================
+ Hits           725       796   +71

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


fix: use SandboxedEnvironment in templating

Uses jinja2's SandboxedEnvironment to run the template.

[!IMPORTANT]
Use jinja2.sandbox.SandboxedEnvironment in apply_template() for enhanced security against arbitrary code execution in templates.

Security:

Use jinja2.sandbox.SandboxedEnvironment in apply_template() in templating.py to prevent arbitrary code execution.
Update templating.md to include security considerations and advice on input sanitization.

Testing:

Add test_handle_insecure_template() in test_formatting.py to ensure SecurityError is raised for insecure templates.

Misc:

Remove extra newline in templating.md.

This description was created by  for 82d7fdf8fc6c8f7438b661cb91f5229012238a28. It will automatically update as commits are pushed.

amzing!


adapter notifyDataSetChanged??

when data change, I use mSimpleAdapter notifyDataSetChanged(),but it is not work?

Hi @ximida
Can you post your code? I need more information in order to know what's the issue. Thanks!


WIP: Adds Vision document

This is a draft of the vision document requested in #1081 to help guide project direction. I want to make sure we cover everything, so please only consider this a starting point for the community to guide from here. I've also tried to include the history of the project to contextualize the goals.
@Moya/contributors your input would be welcome 🙇
Fixes #1081.

Maybe add #1126 comment:

favor explicitly defined behavior over default implementations

There are also a couple other things mentioned in #1081. Such as object decoding.
This document heavily refers to requests but doesn't talk about the responses.
Currently, I wouldn't say Moya is in the business of response handling -- aside from providing a few Moya.Response extensions. But what's the vision for this? Are we for or against this behavior?

Two other small things:

we might want to reference to the Vision document in (at least the) Readme.
for consistency call the document Vision.md (instead of VISION.md) - or update all top level files to use uppercase.

Okay, cool. Good ideas everyone – I've made some changes and pushed.

Hey, I think this is great. Thanks @ashfurrow and @orta for founding this and staying involved.
I think the Project Goals list could be easier to grasp by adjusting the order, grouping the goals starting with "provide..." together and ordering in a progression from requests to responses to customization and extension. I went ahead and committed the edit-- easier to show the result than describe it. Let me know.
@orta the no caps / full stops gets me to, but I can't think of a solution that doesn't look worse. I think each has an implicit "Moya will..." or "First goal is to..." and that makes it work the way it is.

Okay, I've un-WIP'd this PR. Going to give a few extra days for @Moya/contributors to chime in.

I think the suggestion from @SD10 is valid:

Maybe add #1126 comment:
favor explicitly defined behavior over default implementations

He also raised a good question on what's our vision regarding responses in general:

Currently, I wouldn't say Moya is in the business of response handling -- aside from providing a few Moya.Response extensions. But what's the vision for this? Are we for or against this behavior?

@pedrovereza makes sense, I'll amend for the first point. I added something for response handling already, let me know what you think @SD10.

@ashfurrow Sorry, I totally missed the response part on the document 🙈


Added Railfence Cipher

Hi, Added Railfence cipher- personally seen (and used) in several CTF hackathons. Is this good to go?

Sorry for the (nearly) meaningless commits, had a brain fudge moment for whatever reason. Pls approve commit if valid.


Can't use Keyboard manager

Uploading PowerToysReport_2024-03-29-21-45-47.zip…
Microsoft PowerToys version
0.79.0
Installation method
Microsoft Store
Running as admin
No
Area(s) with issue?
Keyboard Manager
Steps to reproduce
When clip the "remap a key" or "remap a shoutcut", there is no select menu, the next menu can't show up.
System: windows 11 23H2 arm64.
✔ Expected Behavior
clip the button, and there will be next menu to let me remap.
❌ Actual Behavior
no menu show up
Other Software
No response

log files
PowerToysReport_2024-03-29-21-45-47.zip

Hi!
The issue you are experiencing is https://github.com/microsoft/PowerToys/issues/31708
Can you try the tests mentioned in https://github.com/microsoft/PowerToys/issues/31708#issuecomment-1986515217 and report the results in the issue?
/dup #31708


Add recommended java.security options.

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
Align with security guidelines for JDK 11 and 17. FYI, @bjorncs @gjoranv

🎖


question: will this step still output env vars if not overriding default values

This step will output two variables:
$ANDROID_VERSION_NAME
$ANDROID_VERSION_CODE
If  I only override version code (and leave version name unchanged) will this step still return both env variables or just version code?

Tested this myself and I guess the answer is no.


error output not complete

Running into an issue with heroku local where the full stack trace of an error isn't printed, making it really hard to do any serious development.
With heroku local I only get the offending line:
$ heroku local
forego | starting web.1 on port 5000
web.1  | /Users/Storm/dev/ianstormtaylor/damp-retreat-7073/server.js:2

Whereas with foreman I get a full stack trace:
$ foreman start
17:29:48 web.1  | started with pid 2303
17:29:48 web.1  | /Users/Storm/dev/ianstormtaylor/damp-retreat-7073/server.js:2
17:29:48 web.1  | throw new Error('stop!');
17:29:48 web.1  | ^
17:29:48 web.1  | Error: stop!
17:29:48 web.1  |     at Object.<anonymous> (/Users/Storm/dev/ianstormtaylor/damp-retreat-7073/server.js:2:7)
17:29:48 web.1  |     at Module._compile (module.js:434:26)
17:29:48 web.1  |     at Object.Module._extensions..js (module.js:452:10)
17:29:48 web.1  |     at Module.load (module.js:355:32)
17:29:48 web.1  |     at Function.Module._load (module.js:310:12)
17:29:48 web.1  |     at Function.Module.runMain (module.js:475:10)
17:29:48 web.1  |     at startup (node.js:117:18)
17:29:48 web.1  |     at node.js:951:3
17:29:48 web.1  | exited with code 1
17:29:48 system | sending SIGTERM to all processes
SIGTERM received

I opened an issue on forego too, since it seems to be a problem further down, but wanted to open this here since it makes the built-in heroku local command very hard to use. https://github.com/ddollar/forego/issues/67

Bumping this as this is a serious time-killer.

+1 This is a serious problem that really needs to get fixed.

+1 me too

A great workaround is to use Node Foreman's "nf start" to run your Heroku app locally.
https://coderwall.com/p/qdluuq/node-js-node-foreman
Basically nf start is identical to heroku local but prints the full log.

Seconding this, and also tried multiple fixes including changing the RAILS_ENV environment variable to development as well as changing the LOG_LEVEL environment level to debug or info. Nothing has any effect.

@liron00's workaround works perfect, but still annoying that heroku local doesn't cover this

+1

@liron00 , many thanks!

this is fixed now


Allow using character dice pool when rolling vehicle weapons

It'd be awesome if there was some notion of "crew" attached to a ship such that when you roll a weapon, the dice pool is pre-populated with the ability dice from a crewmember.
I've implemented this via the enhancements module (docs), but I think for first-class system support it'd need a better GUI representation.  This could be done via another tab ("crew?") or by having a "slot" for each weapon... or however you feel that it can be done.
Here's a quick mockup - the green dragon thing is my player picture and represents that he's in the crew slot for that weapon:

Another mockup, this time with the crew idea (I imagine "slot" would have a dropdown but I'm too lazy to mspaint that in):

This info can be stored as flag data on the vehicle actor, see https://github.com/wrycu/StarWarsFFG-Enhancements/issues/76 for info on how I did it (poorly :p).

need to handle the actor being deleted after being added as a crew member

known shortcomings:
* should use vehicle picture somewhere
* cannot reset to default
* settings window doesn't size properly and doesn't scroll
* crew defined in the previous alpha may not seemlessly port in all cases
* does not handle tokens instead of actors (#1159)

@Esrin @Rysarian @ tucker87 I'd appreciate it if you could look at this as-is to help give feedback on if it's the right direction. as mentioned in the commit, it should be genesys-compatible now.

My Crew role selection looks different from yours. How do I pick regular Piloting instead of the Space one for my Genesys game?

Hmm, that's probably an issue with the default setting registration. you can define your own roles in the system settings, under "crew roles." I'll look at fixing the defaults but in the meantime please ignore :p

Perfect! I swear I looked for it before I asked.

the above commit fixes default being derpy and implements @tucker87's suggestion on how to reset to default

fixed tokens not working, thanks @Esrin for the help


SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

Hello!
It appears that the images are all in webp format now, but due to the large amount it is impossible to check all of them.
I am clueless on how to resolve this error and am hoping for your help.
Actual behaviour
Here is the complete output in the shell:
`
./bin/console frosh:webp:generate
STACK: 29594
OFFSET: 0
29007/29594 [===========================>]  98%libpng warning: iCCP: known inco                      rrect sRGB profile
29594/29594 [============================] 100%
In DBALException.php line 179:
An exception occurred while executing 'SELECT s0_.id AS id_0, s0_.albumID AS albumID_1, s0_.name AS name_2, s0_.description AS description_3, s0_.path AS path_4, s0_.type AS type_5, s0_.extension AS extension_6, s0_.userID AS userID_7, s0_.created AS created_8, s0_.file_size AS file_size_9, s0_.width AS width_10, s0_.height AS height_11 FROM s_media s0_ WHERE s0_.type = ?
AND s0_.albumID <> -13 LIMIT 29594 OFFSET 29594' with params ["IMAGE"]:
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
In Connection.php line 907:
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
frosh:webp:generate [-s|--stack [STACK]] [-o|--offset [OFFSET]] [-f|--force [FORCE]] [-c|--setCollection [SETCOLLECTION]] [-i|--ignoreCollection [IGNORECOLLECTION]]
`
Expected behaviour
The error not to appear :)

Environment
Mittwald mServer
Shopware 5.6.9
7.3-latest FPM

Steps to reproduce

Just run the command and wait a couple of hours.

Checklist

[x ] I have checked all issues and haven't found a similar report.
[x ] I am using the latest stable version of this plugin.

--
♥ ANY INCOMPLETE REPORT WILL BE CLOSED RIGHT AWAY ♥

Can you add here
https://github.com/FriendsOfShopware/FroshWebP/blob/master/Commands/GenerateWebpImages.php#L128
$this->modelManager->getConnection()->executeQuery('SELECT 1');