[CORE] Configuration enhancements

Description
Gluten's configuration utilities, especially GlutenConfig.scala, is getting messed up over time. To keep code clean and easy to maintain, will propose the below changes:
Simplify and unify option key formats

Could simplify config key prefix from spark.gluten.sql.columnar tp spark.gluten.
Use camel case uniformly, e.g, spark.gluten.sql.columnar.backend.velox.IOThreads to spark.gluten.sql.columnar.backend.velox.ioThreads

Move specific configurations to backend module
For better module-wise isolation, we should move configuration definitions specifically for backends to their own module. E.g., spark.gluten.sql.columnar.backend.velox.window.type should be defined in backends-velox than gluten-core.
(Velox) Remove the list of configurations passing to native
In Velox backend, we currently have a list to decide whether a config option should be passed to native. Rather than using this way, we can just set a flag when define the config. Or just using Spark's built-in static / non-static config flag to distinguish.
Backward compatibility
Since configuration keys may be modified during doing this, we should maintain a list of configuration keys for backward compatibility. E.g., spark.gluten.sql.columnar.backend.velox.IOThreads can be the alternative of spark.gluten.backend.velox.ioThreads. But we should raise a warning when the former is set by user as it's considered deprecated. After several development iterations, support of the old one will be removed completely.

This is only a draft plan. Should indeed revisit before starting to work on it.

that's great!
I suppose spark.gluten.sql.columnar.backend.velox.ioThreads will be changed to spark.gluten.velox.ioThreads, right?

.backend. can be removed.

Yes that's one possible solution. If we drop .backend, then for the option keys that are common to all backends, say spark.gluten.sql.columnar.broadcastJoin, I think we could insert a common. or something to distinguish the namespace with backend configs, e.g., rename it to spark.gluten.common.broadcastJoin.
Basically we have two ideas:

Idea 1, backend. for backend configs

spark.gluten.sql.columnar.backend.velox.ioThread renamed to spark.gluten.backend.velox.ioThread
spark.gluten.sql.columnar.broadcastJoin renamed to spark.gluten.broadcastJoin

Idea 2, common. for common configs

spark.gluten.sql.columnar.backend.velox.ioThread renamed to spark.gluten.velox.ioThread
spark.gluten.sql.columnar.broadcastJoin renamed to spark.gluten.common.broadcastJoin

.backend. can be removed.

Yes that's one possible solution. If we drop .backend, then for the option keys that are common to all backends, say spark.gluten.sql.columnar.broadcastJoin, I think we could insert a common. or something to distinguish the namespace with backend configs, e.g., rename it to spark.gluten.common.broadcastJoin.
Basically we have two ideas:

Idea 1, backend. for backend configs

spark.gluten.sql.columnar.backend.velox.ioThread renamed to spark.gluten.backend.velox.ioThread
spark.gluten.sql.columnar.broadcastJoin renamed to spark.gluten.broadcastJoin

Idea 2, common. for common configs

spark.gluten.sql.columnar.backend.velox.ioThread renamed to spark.gluten.velox.ioThread
spark.gluten.sql.columnar.broadcastJoin renamed to spark.gluten.common.broadcastJoin

We could initial a vote on this.

.backend. can be removed.

Yes that's one possible solution. If we drop .backend, then for the option keys that are common to all backends, say spark.gluten.sql.columnar.broadcastJoin, I think we could insert a common. or something to distinguish the namespace with backend configs, e.g., rename it to spark.gluten.common.broadcastJoin.
Basically we have two ideas:

Idea 1, backend. for backend configs

spark.gluten.sql.columnar.backend.velox.ioThread renamed to spark.gluten.backend.velox.ioThread
spark.gluten.sql.columnar.broadcastJoin renamed to spark.gluten.broadcastJoin

Idea 2, common. for common configs

spark.gluten.sql.columnar.backend.velox.ioThread renamed to spark.gluten.velox.ioThread
spark.gluten.sql.columnar.broadcastJoin renamed to spark.gluten.common.broadcastJoin

We could initial a vote on this.

To me 2 is better, since it categorizes the configs to fixed length of prefixes, which is 3, e.g., s.g.common, and s.g.velox. and it's closer to your suggestion either. I think we can put the direction on 2, once someone questioned, then we can decide whether to vote.

.backend. can be removed.

Yes that's one possible solution. If we drop .backend, then for the option keys that are common to all backends, say spark.gluten.sql.columnar.broadcastJoin, I think we could insert a common. or something to distinguish the namespace with backend configs, e.g., rename it to spark.gluten.common.broadcastJoin.
Basically we have two ideas:

Idea 1, backend. for backend configs

spark.gluten.sql.columnar.backend.velox.ioThread renamed to spark.gluten.backend.velox.ioThread
spark.gluten.sql.columnar.broadcastJoin renamed to spark.gluten.broadcastJoin

Idea 2, common. for common configs

spark.gluten.sql.columnar.backend.velox.ioThread renamed to spark.gluten.velox.ioThread
spark.gluten.sql.columnar.broadcastJoin renamed to spark.gluten.common.broadcastJoin

We could initial a vote on this.

To me 2 looks better so far, since it categorizes the configs to fixed length of prefixes, which is 3, e.g., s.g.common, and s.g.velox. and it's closer to your suggestion either. I think we can put the direction on 2, once someone questioned, then we can decide whether to vote.

I'm ok with s.g.velox and s.g.common.

In addition, I suggest adding GlutenStaticConfig and moving static conf here.

Hi all, we will continue with this work, and we plan to discuss the following points.
Project engineering
Split the Gluten config and from a module perspective, we assigned the gluten, velox, and ch-related configurations to their respective modules. At the level of a single module, we classified the configurations into two classes, static and non-static.
Configuration Specifications
Standardize configuration naming, and prefix all configuration entries with spark.gluten.  As described in https://github.com/apache/incubator-gluten/issues/6970#issuecomment-2304090991.
Now we are leaning towards Option 2, and if there are no other objections, we will standardize based on Option 2. If there are other ideas, we can initiate an email vote.
Option 1

common config: spark.gluten.sql.columnar.xxx => spark.gluten.xxx
backend config: spark.gluten.sql.columnar.backend.velox.xxx => spark.gluten.backend.velox.xxx

Option 2

common config: spark.gluten.sql.columnar.xxx => spark.gluten.common.xxx
backend config: spark.gluten.sql.columnar.backend.velox.xxx => spark.gluten.velox..xxx

Backward compatibility
When configuring key modifications, we need to be compatible with the old keys and output deprecation information, gradually phasing them out in subsequent versions.
Summary & Implementation
To achieve greater configuration flexibility, I initially wanted to reimplement ConfigEntry. The advantage of this approach is that we can customize attributes, such as "backend" to identify more customized information. However, Gluten's configuration comes from Spark, which makes it seem unlikely that we can reimplement ConfigEntry. For example, we cannot identify static configuration if we do so. If we directly base our ConfigEntry on Spark, it may not be flexible enough, such as not being able to record expiration information.
Any thoughs? @zhztheplayer @Yohahaha @zml1206 @jackylee-ch

Option 1

common config: spark.gluten.sql.columnar.xxx => spark.gluten.xxx
backend config: spark.gluten.sql.columnar.backend.velox.xxx => spark.gluten.backend.velox.xxx

Option 2

common config: spark.gluten.sql.columnar.xxx => spark.gluten.common.xxx
backend config: spark.gluten.sql.columnar.backend.velox.xxx => spark.gluten.velox..xxx

The Option 2 looks good to me.

To achieve greater configuration flexibility, I initially wanted to reimplement ConfigEntry. The advantage of this approach is that we can customize attributes, such as "backend" to identify more customized information.

Great. We can also add some module name, such as 'celeborn', 'iceberg' and so on, so we can directly recognize them in code or Configure.md.

For example, we cannot identify static configuration if we do so.

We can use SQLConf.registerStaticConfigKey(entry.key) to register static configs.

thanks @jackylee-ch , will make a draft PR.


[ EPIC ] Create/move pages for "Analyze Results" section

To have docs reflect the Qiskit patterns structure better we need some more content that supports users in the post-processing step of the patterns.
### Tasks
- [ ] https://github.com/Qiskit/documentation/issues/840
- [ ] https://github.com/Qiskit/documentation/issues/842
- [ ] https://github.com/Qiskit/documentation/issues/841
- [ ] https://github.com/Qiskit/documentation/issues/843
- [ ] create tab in top nav bar

This is complete


context: document WithCancel asynchronous cancellation

Using context.WithCancel cancellation may happen asynchronously however it is not documented.
A facilitated example of this happening: https://play.golang.org/p/ji63DpfJmMg (running locally it sometimes finishes in time). The corresponding code triggering this behavior is in https://github.com/golang/go/blob/master/src/context/context.go#L262.
I was cancelling a context and expected all child-contexts to be cancelled immediately. This caused a "bug hunt". I'm not sure whether there is a way to fix this, so it's probably worth at least documenting this asynchronous behavior.
Details

$ go version
go version go1.13beta1 windows/amd64

go env Output
$ go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=Z:\gocache
set GOENV=C:\Users\egone\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=F:\Go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=c:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=Z:\Temp\go-build959337302=/tmp/go-build -gno-record-gcc-switches

I think this is basically a variant of #28728.  The problem can only arise with a user-defined implementation of Context.

@ianlancetaylor but is it by design to prevent user-defined impl?

Not to my knowledge.  I don't see anything in #28728 that suggests that.

@OneOfOne are you good with tracking this issue in #28728 then? If so, I can close this issue and keep the conversation going there.

@katiehockman this issue is just about the documentation. The proposal for changing the API seems somewhat orthogonal since as far as I understand it doesn't eliminate the asynchronous cancellation.

@egonelbre thanks for clarifying!

@katiehockman yep I'm fine with that.

Is this really worth documenting in the package docs?  It seems more confusing than helpful.  Would those docs really have helped avoid the bug hunt you mentioned?

Might have cut down a little time for the bug hunt. If it were mentioned in context documentation from the start, I might have known it beforehand. But, this is just speculation.
I understand that it's a corner case behavior and understand the need to keep documentation clear as possible... so, I can drop the PR and accept the "wontfix" resolution, if people think it makes things more confusing.


DropMatchException for Sunday

Hi, I have a DropMatchException between midnight to 6AM:
from elastalert.enhancements import BaseEnhancement, DropMatchException
import datetime
import time
import sys

def datetime_from_utc_to_local(utc_datetime):
    now_timestamp = time.time()
    offset = datetime.datetime.fromtimestamp(now_timestamp) - datetime.datetime.utcfromtimestamp(now_timestamp)
    return utc_datetime + offset

class DropFrom00To06(BaseEnhancement):
    def process(self, match):
        dateformat = "%Y-%m-%dT%H:%M:%S"
        exceptional_dateformat = "%Y-%m-%dT%H:%M:%SZ"
        timestamp = match['@timestamp'].split(".")[0]
        try:
            timestamp = datetime.datetime.strptime(timestamp, dateformat)
        except ValueError:
            timestamp = datetime.datetime.strptime(timestamp, exceptional_dateformat)
        except:
            print("Unexpected error:", sys.exc_info()[0])
            raise
        timestamp = datetime_from_utc_to_local(timestamp)
        timePart = timestamp.time()
        if timePart >= datetime.time(00, 00) and timePart <= datetime.time(8, 00):
            raise DropMatchException()

How can I  add an exception for Sunday that raise DropMatchException from midnight to 10AM?
I have to add something like
d = timestamp.date()
dayOfTheWeek = d.weekday()
if dayOfTheWeek == 6 and timePart >= datetime.time(00, 00) and timePart <= datetime.time(10, 00):
    raise DropMatchException()

????

That looks like it should work.
By the way, similar functionality is going to be added as part of #1298

So this could be a solution?
from elastalert.enhancements import BaseEnhancement, DropMatchException
import datetime
import time
import sys

def datetime_from_utc_to_local(utc_datetime):
    now_timestamp = time.time()
    offset = datetime.datetime.fromtimestamp(now_timestamp) - datetime.datetime.utcfromtimestamp(now_timestamp)
    return utc_datetime + offset

class DropFrom00To06(BaseEnhancement):
    def process(self, match):
        dateformat = "%Y-%m-%dT%H:%M:%S"
        exceptional_dateformat = "%Y-%m-%dT%H:%M:%SZ"
        timestamp = match['@timestamp'].split(".")[0]
        try:
            timestamp = datetime.datetime.strptime(timestamp, dateformat)
        except ValueError:
            timestamp = datetime.datetime.strptime(timestamp, exceptional_dateformat)
        except:
            print("Unexpected error:", sys.exc_info()[0])
            raise
        timestamp = datetime_from_utc_to_local(timestamp)
        timePart = timestamp.time()
        d = timestamp.date()
        day = d.weekday()
        if day == 6 and timePart >= datetime.time(00, 00) and timePart <= datetime.time(10, 00):
            raise DropMatchException()
        elif timePart >= datetime.time(00, 00) and timePart <= datetime.time(8, 00):
            raise DropMatchException()

Yes, did you actually try it?

yes it works ;) thanks


Improvement suggest

Hi!
At this state of nblackburn/micro-match, you are on the way to extract bindings from a real route according to the logical one.
But .. there is no way to ensure if a route match with a logical one.
What is your thought about upgrading nblackburn/micro-match according to this new functionality ?
I can work on it.
So do I keep in mind that the actual API need to stay unchanged ?
By implementing a test and a match method ? Create a complete indendant fork as micro-test ?
Cheers,

I finally did it : Swizz/micro-test


Drag preview doesn't show in detached script editor

Godot version
v4.1.stable.official [970459615]
System information
Windows 11
Issue description
When dragging nodes from the scene tree onto a detached script editor, no drag preview is visible. This means there is no indication to the user that they're actually able to drop something into the script editor. Dropping the node still works, it's just the preview that doesn't show.
This still works fine when using the attached script editor.
Steps to reproduce

Create a scene with a script attached to some node
With a detached script editor, drag a node from the scene tree into the script
Observe that no drag preview is visible

Minimal reproduction project
N/A

Thanks for the report. Currently the preview is only visible in the Viewport, where dragging started. This is already reported in #67186. Consolidating as duplicate with that bugreport.


app error while parsing telemetry data: "TypeError: Cannot read property 'Time' of undefined"

Type of issue

[x] Bug
[ ] New feature
[ ] Improvement

Description
Not sure what the impact of this is, but it must be affecting the app somehow

Code changes checked in.


refactor(Algebra/Module/LocalizedModule): Redefine LocalizedModule in terms of OreLocalization.

[x] depends on: #13151

!bench


KDE blur does not work

I turned on all the about:config settings, used the dark theme, enabled force blur, enabled blur in desktop effects, and rebooted, copy-pasted the usercontent files and uschrome.css files, but there is still no blur in firefox (same for the thunderbird theme). It is just transparent.

You have to enable the configuration for the kwin force blur script, and add firefox and thunderbird


Accelerate import updates for iOS

Proposed changes
Fixes issues from #1217
Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING document
[x] I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have updated the necessary documentation (if needed)

Yes, will do

I still get the error -- it looks like the float16_t is still resolving to _MLX_Float16


molecule-ec2 plugin code was not add to the repo

Hi,
following molecule changelog I got to this repo. Now I'm wondering why it is empty....

@tbugfinder Mainly because I did not find time to finish the migration for all plugins, in fact only few are done. Another reason for delaying was that I did not have any user interested about these plugins, are you willing to assist me finishing the move?

How could I help?

Would be also interested in this plugin, since I use it for some example projects and blog posts (which need to be updated too) 😃

we are highly using molecule-ec2 and deligated drivers , so you guys can also migrate these 2 to new molecule version 3, let me know if I can help in any way.

@ssbarnea


Error while application launch

Hi,
I've just installed the package. But by running app.py I'm getting following error:
Traceback (most recent call last):
File "app.py", line 9, in
from common import appconf, baseApp, init_app, init_session, render, highlight_sql, get_rdb_type
File "/srv/www/htdocs/firewad/common.py", line 3, in
import configparser
ImportError: No module named configparser
Is something missing?
Regards
Martin

Which python version are you using? Right now firewad only supports python 3+. configparser module name was ConfigParser in python 2.x.
From that error I assume that you are trying to run it with Python 2.x

Thank you very much. I'm using Python 2.7.6. So I will update it.
By the way: The App looks very nice.
Regards
Martin

You are welcome and thanks for your comment. But please be aware that project is under heavy development and right now not all the features are implemented. So please check often :)


The lines keep being indented to the right on every run

As per the sample, the lines in the @if statement will be indented to the right on every run. The weird thing is that it only happens to the first @if, but not the subsequent ones.
@section('head-mid')
    <!-- Facebook's Open Graph -->
    @if ($form->picture !== '')
-        <meta property="og:image" content="{{ $form->picture_url }}" />
-    @endif
+            <meta property="og:image" content="{{ $form->picture_url }}" />
+        @endif

    <!-- Twitter's Card -->
    @if ($form->picture !== '')
        <meta property="twitter:image" content="{{ $form->picture_url }}" />
    @endif
@endsection

Thanks for the report and code samples! I’ll take a look sometime this week
👍
John Koster
On Tue, Jul 9, 2024 at 4:23 AM Mohd Hafizuddin M Marzuki <
@.***> wrote:

As per the sample, the lines in the @if statement will be indented to the
right on every run. The weird thing is that it only happens to the first
@if, but not the subsequent ones.
@section('head-mid')

@if ($form->picture !== '')-        -    @endif+            +        @endif
<!-- Twitter's Card -->
@if ($form->picture !== '')
    <meta property="twitter:image" content="{{ $form->picture_url }}" />
@endif

@endsection
—
Reply to this email directly, view it on GitHub
https://github.com/Stillat/blade-parser-typescript/issues/107, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABH5R6TBJUXAH7SWA4M3EPDZLOTZTAVCNFSM6AAAAABKSOOLUWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4TONRUGE4DMMI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Apologize for the late follow up - I am unable to reproduce this. Is that the entire template, and could I also get your formatting config?
Thanks!

It was not the entire template, but I isolated that part into its own file, and the same behavior occurred.
My .blade.format.json:
{
    "useLaravelPint": true,
    "classStrings": {
        "enabled": false
    },
    "formatJsAttributes": false
}

My .prettierrc.json:
{
    "printWidth": 160,
    "tabWidth": 4,
    "trailingComma": "es5",
    "singleQuote": true,
    "plugins": [
        "prettier-plugin-blade"
    ],
    "overrides": [
        {
            "files": [
                "*.blade.php"
            ],
            "options": {
                "parser": "blade",
                "printWidth": 300
            }
        }
    ]
}


devstack: introduce install modes: source, binary, release

skip skydive-compile-tests
skip skydive-functional-tests-backend-elasticsearch
skip skydive-functional-tests-backend-orientdb
skip skydive-go-fmt
skip skydive-k8s-tests
skip skydive-scale-tests
skip skydive-selenium-tests
skip skydive-unit-tests
skip skydive-cdd-overview-tests
skip skydive-ppc64-tests

run skydive-devstack-tests


Message Delivery Receipts

How to get acknowledgment for send/receive message in ejabbered/XMPP?
@aksonov : Any suggestion for this query?

Maybe i can help, do you mean like dobule v receipts after message sent with smack?
or you want the stanza structure?

Message Delivery Receipt did not receive in ios and android after the message sent.


Mimicking Checkbox Behavior

Hi there,
Choices looks like what I've been looking around for so long! Thanks for making it.
There are multi-select dropdowns, is there a way to have those options within a multiselect to be checkboxes instead of the current DIVs under a  tag?
Thanks!

Thanks, I'm glad you like it!
Currently there isn't a way to show checkboxes but it is certainly something I could add to the roadmap if people want it. My only reservation is that it doesn't follow the same behaviour as standard select boxes (which Choices attempts to follow as close as possible).

+1, Thanks Johnson! The reason I asked is that there's existing plugins out there that use checkboxes as inputs for things like sorting and filtering. And I find that Choices has very good UX to use along  with and solve the multi-faceted filtering experience.
Here's an example of a plugin called MixItUp. Works pretty well, though combined with Choices, it could elevate the filtering experience especially when there's more than a few selection options:
http://codepen.io/vlvgfx/pen/LkBoGz

Closing as I think this should be it's own project built on top of Choices, rather than being part of Choices out the box.


Add e2e test showing extendibility

Issue Type

[ ] bug report
[x] feature request

Expected Behavior
Add tests to display that PlasmaFramework can add new exit games and can transfer a tx from tx type A to tx type B.

Design a new tx type. (Perhaps Payment Tx with 6 inputs and outputs?)
Write the ExitGame, SpendingCondition, ...etc contracts for new tx type.
Add e2e tests to move from one tx type to another

Motivation for Change
Demo and make sure the contract is really extendible.

Test implementation plan

Reuse SpendingConditionRegistry, OutputGuardHandlerRegistry, PaymentOutputToPaymentTxCondition, PaymentOutputGuardHandler, PaymentTransactionStateTransitionVerifier for PaymentV2. Just need to redeploy and inject them to PaymentExitGame for V2.
For simplicity of testing, the new tx type (planning to do a DEX mock), instead of signing it with EIP712, we sign the sha3 of raw tx bytes instead.
Does not test the exitability of DEX tx. Not much benefit here and too complex.

Test coverage

Able to register new exit games
Able to transfer tx types across txs.
Able to challenge cross tx type spent txs.

TODOs:

[ ] Implement mock PaymentOutputToDexSpendingCondition
[ ] Implement mock PaymentDexOutputGuardHandler that handles the output type that can be used as DEX (mock) tx input.
[ ] Deploy new PaymentExitGame with correct injected contracts/values as V2.
[ ] Tests the challenge for SE on cross type transfer txs.


[NoUnsortedConstructors] Fix removes parenthesis for constructor parameters

20| type Testing
21|     = Zoobar (Maybe String)
22|     | Foobar (List String)
23|     | A
24| type Testing
24|     =A
24|     |Foobar List String
24|     |Zoobar Maybe String

Expected the type constructor parameters to retain the parenthesis and not break the build

Created an issue upstream with elm-syntax. https://github.com/stil4m/elm-syntax/issues/158

Maybe this project should consider migrating the writer responsibilities to elm-syntax-dsl.
@fysiweb, thoughts?

The issue has been fixed in v7.2.9 (https://github.com/stil4m/elm-syntax/pull/159). Closing this issue.


Netty Truck Factor

As part of my PhD research on code authorship, we calculated the Truck Factor (TF) of some popular GitHub repositories.
As you probably know, the Truck (or Bus) Factor designates the minimal number of developers that have to be hit by a truck (or quit) before a project is incapacitated. In our work, we consider that a system is in trouble if more than 50% of its files become orphan (i.e., without a main author).
More details on our work in this preprint: https://peerj.com/preprints/1233
We calculated the TF for Netty and obtained a value of 2.
The developers responsible for this TF are:
Trustin Lee - author of 71% of the files
Norman Maurer - author of 16% of the files
To validate our results, we would like to ask Netty developers the following three brief questions:
(a) Do you agree that the listed developers are the main developers of Netty?
(b) Do you agree that Netty will be in trouble if the listed developers leave the project (e.g., if they win in the lottery, to be less morbid)?
(c) Does Netty have some characteristics that would attenuate the loss of the listed developers (e.g., detailed documentation)?
Thanks in advance for your collaboration,
Guilherme Avelino
PhD Student
Applied Software Engineering Group (ASERG)
UFMG, Brazil
http://aserg.labsoft.dcc.ufmg.br/

(a) Yes. Lets just say we all hope here that neither of them get hit by a truck.
(b) Netty would suffer.
(c) Netty does have docs. The project is used by other projects and organizations who presumably have have a vested interest in Netty being maintained.
Are your calculations sensitive to time? For example can you derive TF for the last n months?

Hi @Scottmitch ,
thanks for the answer. Currently, our approach is not sensitive to time. It calculates the TF for the entire repository history. But, we intend to implement this functionality.

@Scottmitch thanks for taking care of this while I was on vacation :)


add user info in url to auth header in HTTP getDownloadFileRequest

Description
In Reference to this slack conversation.
To retain basic user authentication on HTTP redirects.
Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes
If you have tagged this as either backward-incompat or release-notes,
you MUST add text here that you would like to see appear in release notes of the
next release.
If you have a series of commits adding or enabling a feature, then
add this section only in final commit that marks the feature completed.
Refer to earlier release notes to see examples of text
Documentation
If you have introduced a new feature or configuration, please add it to the documentation as well.
See https://docs.pinot.apache.org/developers/developers-and-contributors/update-document

Note, the retention on slack is very limited, so you may want to capture the discussion in this PR as well (instead of link to conversation).


Semi-transparent windows

Is there a manner of do the alpha channel work?, I don't want only a solid background with alpha but the ability to setting the alpha value of each individual pixel and then they blend with the background.
EDIT: I want to draw an image and do its alpha pixels count
EDIT 2: Maybe this works until I understand in this article the window buffer is move to a buffer in memory and then the xrender extension is used to draw it with alpha, that will achieve that I want to?

I think the cairo-example shows how to create a window with an alpha channel. It certainly has the code to do so, but I do not have a composite manager currently, so I cannot test it.
So, first: X11 is older than transparency. ;-)
Due to this, it is kind of possible to get transparency, but not nicely. There needs to be a composite manager running. You can check if one is running by checking if the _NET_WM_S0 selection is owned (see composite_manager_running in the cairo example).
Then, you need to create your window with the right visual (see choose_visual in the example) and color depth (32). There is a special standard PictFormat that needs to be supported. The code looks for that one.
Now that you have your window, you can draw to it. The render extension supports correct alpha blending and "fancy drawing". If you want to draw with core X11, you can specify colors in the form 0xAARRGGBB. For example, 0x80008000 should be 50% transparent green. IIRC This uses pre-multiplied alpha, so the color channel should contain the color multiplied with the alpha value, as in this example.

EDIT 2: Maybe this works

Well... yes and no. Using the composite extension is the composite manager's job. You can use that extension yourself, but then you are either implementing a composite manager or can only apply it to your own drawing (but then you already know the background and can just apply the alpha directly yourself).

thank you, although looks like check if there is a composite manager, is not necessary currently, if there is not, simply the alpha will not work, right?

IIRC, in that case, the visual result will be as if there was a black background behind your window. This means that the window contents will be rather dark. But yes, the transparency will simply not work and everything should still work fine.

I think the cairo-example shows how to create a window with an alpha channel. It certainly has the code to do so, but I do not have a composite manager currently, so I cannot test it.

I confirm that it works correctly.


feat(scripts): added docker_clone_volume script

it can be handy to have all the scripts in our repo, so I've added it here. I've used it a few times when migrating volumes, so this can also be useful for others

@serge1peshcoff since you made the PR you can't be a reviewer, but have a look at it. Script should work and I suggest we keep the part of volumes for now, replacing it with the other script you added later

this is still wip and I will solve it this week

@linuxbandit don't forget to pull/rebase this with the current master. Since the original commit I've added the network module


Create CODE_OF_CONDUCT.md

created code of conduct to fix the issue #3

This fixes #15 issues @SaiyamTuteja

This fixes #15 issues @SaiyamTuteja

Hey @prajwaldp223 , I am sorry, but since #15 was not assigned to you, you can't directly raise the PR for it.
Please update this PR with only the code of conduct

@aswinikalyan30 removed the code of conduct file!!!

can u recheck for the updated pull request template !!


Remnant items cannot be stored inside of Belt Bag because they are considered scrap instead of tools

The new belt bag added in v64 can't store Remnant items inside of it because they are considered to be scrap instead of tools.

Opened up GitHub to mention this exact issue.

I don't know if this can be fixed without changing how this whole mod works, because it seems to entirely work by converting the tools into scrap. You can use the BagConfig mod and manually add all the store items into the allowlist as a workaround to this issue.

I don't know if this can be fixed without changing how this whole mod works, because it seems to entirely work by converting the tools into scrap. You can use the BagConfig mod and manually add all the store items into the allowlist as a workaround to this issue.
Pasting this into the Item Categories line in the config will allow all Remnant items to be stored inside the bag: Extension ladder: Tools, Lockpicker: Tools, Pro-flashlight: Tools, Radar-booster: Tools, Spray paint: Tools, Stun grenade: Tools, TZP-Inhalant: Tools, Walkie-talkie: Tools, Zap gun: Tools, Weed killer: Tools, Boombox: Tools, Flashlight: Tools, Jetpack: Tools, Key: Tools, Shovel: Tools, Shells: Tools, Belt bag: Tools

This seems to be indeed the best way to fix this issue. Since like you said it would be inconvenient to fix this issue on my end.
If it comes to it and I work on this mod further, I might find an alternate way to fix this issue on my end.
Thank you for the issue report and the way to fix it.

Would it be a good idea to reach out to the author of that mod, and maybe fork this one to integrate the functionality?
Or even just to fork and try a new method of spawning the items?

Hey there,
I was also going to report this issue.  Appreciate everyone else taking the time to do so.
It might be worth mentioning my specific use case:  I spawn remnant items with no credit value.  In the case when remnant drops are set to 0 credits, would it be possible to detect this and simply drop them as the normal version of the item instead of scrap?
Cheers

I found a good way to make sure that the belt bag item also accepts remnant items.
Along that, there will be a config feature allowing you to disable/enable this feature if it does not suit you or creates problems with mods that also changes the belt bag item.
This feature will be in there on the next update, which will be this week.

The new version has been uploaded.
This means that the feature request is completed.
I will leave this issue open for a couple of weeks, if there are issues with the feature.

I did some very brief testing with the new option, and it seems fine as far as I can tell.
Thanks for the update :)


Fix affiliation missing for DL models

This PR propose a fix for the affiliation, that are lost when processing them with a DL model.
The issue seems to be in the method: getAffiliationBlocksFromSegments() where new \n are added (in general they should be added if there is a misalignment, however they are added for sure at the beginning).
https://github.com/kermitt2/grobid/blob/a95d2533f1019e900b49ea5c39a5afe355dbb4a3/grobid-core/src/main/java/org/grobid/core/engines/AffiliationAddressParser.java#L81
I patched quickly by checking that end is not zero. However this \n does not work well with the DL models, at contrary with the CRF models that they are ignoring it.
I've left two tests which are showing the problem from both CRF and DL: https://github.com/kermitt2/grobid/blob/bd93a61f4542f218299e2c34a82c37b75bc727ef/grobid-core/src/test/java/org/grobid/core/engines/AffiliationAddressParserTest.java#L262
The DL test is still failing, as I'm not sure really where to fix the issue.
After this is fix we would need to rebuild the grobid-full image.

After a few iteration over it, I think I understood the principle which is of separating blocks of affiliations that are on different offset differences. My fix just avoid adding \n at the beginning. The \n helps to separate the blocks and, with the DL models, to process the blocks in parallel, among other things.

@kermitt2 I've tried to fix this a bit in a rush, at least to mitigate the issue on the docker image. I'm sorry, I might need a quick review on your side.
I've pushed this fix on the branch 0.8.1-fixes (which is a branch from the tag 0.8.1) and I've pushed an updated docker image lfoppiano/grobid:0.8.1-full which should at least mitigate this issue. It's deployed here.

Hi @lfoppiano the fix works fine no problem. It is surprising that the starting "\n" has such effect on the DL processing. There's nothing else to change, the segmentation goes then normally, including parallel processing. I changed this part last December and it seems I only tested with the CRF model :)
Unfortunately the end-to-end benchmarks are not covering affiliations. The docker image and the huggingface demo are also updated for the grobid account.

Thanks!


The 'w' example on the github page is confusing

The example you use  w far near is very confusing! Does Herbie actually reorder the arguments? Because the improved version seems to say w near far.
From what I've seen trying Herbie on a few things, it only works at the expression level and wouldn't actually do this reordering. Making sure the very first example people see on Herbie actually repeatable would be much nicer!

Thanks.  This was a typo.  It's fixed now.


Selected Icon

Submitting a new PR to comply with git-flow release cycle. Feel free to close the other one. Thanks for the responsiveness!

Hold on. I messed this up. Will submit a third PR.


feat: 🎸 add darwin to aws-vault

https://github.com/99designs/aws-vault/releases
aws-vault has binary for darwin/amd64 || darwin/arm64.

Thank you for your contribution!

Unfortunately, aqua doesn't support *.dmg.

Unfortunately, aqua doesn't support *.dmg.

Oh...
Thanks!


Update packages and fix pylint issues in the ini file

Short description

This PR updates our JS and python packages to their newest version.
We should keep in mind that our setup.cfg will be deprecated by some point and we should consider switching to a pyproject.toml setup (see Issue #1362 ).

I resolved all issues and created https://github.com/digitalfabrik/integreat-cms/issues/1362 as a reminder to keep track of the current development in Setup Tools.


Modsecurity exclude page in iis

Hi,
I want to exclude a folder or a file from the roll to not be checking by the modSecurity
How can i do this?
Now i try to do this with this code but unfortunately i think IIS doesn't support this code
Please help me
Thanks alot
For File :
<LocationMatch "/verify.aspx">  SecRuleRemoveByTag "CAPEC-272" "MISCONFIGURATION" "OWASP_AppSensor/CIE1" "OWASP_AppSensor/CIE4" "OWASP_AppSensor/EE2" "OWASP_AppSensor/IE1" "OWASP_AppSensor/RE1" "OWASP_CRS/AUTOMATION/MALICIOUS" "OWASP_CRS/AUTOMATION/SECURITY_SCANNER" "OWASP_CRS/LEAKAGE/ERRORS_CF" "OWASP_CRS/LEAKAGE/ERRORS_IIS" "OWASP_CRS/LEAKAGE/ERRORS_PHP" "OWASP_CRS/LEAKAGE/ERRORS_SQL" "OWASP_CRS/LEAKAGE/ERRORS_ZOPE" "OWASP_CRS/LEAKAGE/INFO_DIRECTORY_LISTING" "OWASP_CRS/LEAKAGE/INFO_FILE" "OWASP_CRS/LEAKAGE/INFO_STATISTICS" "OWASP_CRS/LEAKAGE/SOURCE_CODE_ASP_JSP" "OWASP_CRS/LEAKAGE/SOURCE_CODE_CF" "OWASP_CRS/LEAKAGE/SOURCE_CODE_PHP" "OWASP_CRS/MALICIOUS_CODE" "OWASP_CRS/MALICIOUS_SOFTWARE/TROJAN" "OWASP_CRS/OWASP_CRS/MALICIOUS_IFRAME" "OWASP_CRS/POLICY/ENCODING_NOT_ALLOWED" "OWASP_CRS/POLICY/EXT_RESTRICTED" "OWASP_CRS/POLICY/FILES_NOT_ALLOWED" "OWASP_CRS/POLICY/HEADER_RESTRICTED" "OWASP_CRS/POLICY/METHOD_NOT_ALLOWED" "OWASP_CRS/POLICY/PROTOCOL_NOT_ALLOWED" "OWASP_CRS/POLICY/SIZE_LIMIT" "OWASP_CRS/PROTOCOL_VIOLATION/EVASION" "OWASP_CRS/PROTOCOL_VIOLATION/INVALID_HREQ" "OWASP_CRS/PROTOCOL_VIOLATION/INVALID_REQ" "OWASP_CRS/PROTOCOL_VIOLATION/IP_HOST" "OWASP_CRS/PROTOCOL_VIOLATION/MISSING_HEADER_ACCEPT" "OWASP_CRS/PROTOCOL_VIOLATION/MISSING_HEADER_HOST" "OWASP_CRS/PROTOCOL_VIOLATION/MISSING_HEADER_UA" "OWASP_CRS/WEB_ATTACK/CF_INJECTION" "OWASP_CRS/WEB_ATTACK/COMMAND_INJECTION" "OWASP_CRS/WEB_ATTACK/DIR_TRAVERSAL" "OWASP_CRS/WEB_ATTACK/FILE_INJECTION" "OWASP_CRS/WEB_ATTACK/LDAP_INJECTION" "OWASP_CRS/WEB_ATTACK/PHP_INJECTION" "OWASP_CRS/WEB_ATTACK/REQUEST_SMUGGLING" "OWASP_CRS/WEB_ATTACK/RFI" "OWASP_CRS/WEB_ATTACK/SESSION_FIXATION" "OWASP_CRS/WEB_ATTACK/SQL_INJECTION" "OWASP_CRS/WEB_ATTACK/SSI_INJECTION" "OWASP_CRS/WEB_ATTACK/XSS" "OWASP_TOP_10/A1" "OWASP_TOP_10/A2" "OWASP_TOP_10/A3" "OWASP_TOP_10/A4" "OWASP_TOP_10/A6" "OWASP_TOP_10/A7" "PCI/12.1" "PCI/5.1.1" "PCI/6.5.1" "PCI/6.5.10" "PCI/6.5.2" "PCI/6.5.4" "PCI/6.5.6" "PCI/6.5.7" "WASCTC/WASC-01" "WASCTC/WASC-13" "WASCTC/WASC-15" "WASCTC/WASC-19" "WASCTC/WASC-20" "WASCTC/WASC-21" "WASCTC/WASC-22" "WASCTC/WASC-25" "WASCTC/WASC-26" "WASCTC/WASC-29" "WASCTC/WASC-31" "WASCTC/WASC-33" "WASCTC/WASC-36" "WASCTC/WASC-37" "WASCTC/WASC-8" "bugtraq,13544" "http://technet.microsoft.com/en-us/magazine/2005.01.hackerbasher.aspx" </LocationMatch>
For Folder :
<LocationMatch "/admin"> SecRuleRemoveByTag "CAPEC-272" "MISCONFIGURATION" "OWASP_AppSensor/CIE1" "OWASP_AppSensor/CIE4" "OWASP_AppSensor/EE2" "OWASP_AppSensor/IE1" "OWASP_AppSensor/RE1" "OWASP_CRS/AUTOMATION/MALICIOUS" "OWASP_CRS/AUTOMATION/SECURITY_SCANNER" "OWASP_CRS/LEAKAGE/ERRORS_CF" "OWASP_CRS/LEAKAGE/ERRORS_IIS" "OWASP_CRS/LEAKAGE/ERRORS_PHP" "OWASP_CRS/LEAKAGE/ERRORS_SQL" "OWASP_CRS/LEAKAGE/ERRORS_ZOPE" "OWASP_CRS/LEAKAGE/INFO_DIRECTORY_LISTING" "OWASP_CRS/LEAKAGE/INFO_FILE" "OWASP_CRS/LEAKAGE/INFO_STATISTICS" "OWASP_CRS/LEAKAGE/SOURCE_CODE_ASP_JSP" "OWASP_CRS/LEAKAGE/SOURCE_CODE_CF" "OWASP_CRS/LEAKAGE/SOURCE_CODE_PHP" "OWASP_CRS/MALICIOUS_CODE" "OWASP_CRS/MALICIOUS_SOFTWARE/TROJAN" "OWASP_CRS/OWASP_CRS/MALICIOUS_IFRAME" "OWASP_CRS/POLICY/ENCODING_NOT_ALLOWED" "OWASP_CRS/POLICY/EXT_RESTRICTED" "OWASP_CRS/POLICY/FILES_NOT_ALLOWED" "OWASP_CRS/POLICY/HEADER_RESTRICTED" "OWASP_CRS/POLICY/METHOD_NOT_ALLOWED" "OWASP_CRS/POLICY/PROTOCOL_NOT_ALLOWED" "OWASP_CRS/POLICY/SIZE_LIMIT" "OWASP_CRS/PROTOCOL_VIOLATION/EVASION" "OWASP_CRS/PROTOCOL_VIOLATION/INVALID_HREQ" "OWASP_CRS/PROTOCOL_VIOLATION/INVALID_REQ" "OWASP_CRS/PROTOCOL_VIOLATION/IP_HOST" "OWASP_CRS/PROTOCOL_VIOLATION/MISSING_HEADER_ACCEPT" "OWASP_CRS/PROTOCOL_VIOLATION/MISSING_HEADER_HOST" "OWASP_CRS/PROTOCOL_VIOLATION/MISSING_HEADER_UA" "OWASP_CRS/WEB_ATTACK/CF_INJECTION" "OWASP_CRS/WEB_ATTACK/COMMAND_INJECTION" "OWASP_CRS/WEB_ATTACK/DIR_TRAVERSAL" "OWASP_CRS/WEB_ATTACK/FILE_INJECTION" "OWASP_CRS/WEB_ATTACK/LDAP_INJECTION" "OWASP_CRS/WEB_ATTACK/PHP_INJECTION" "OWASP_CRS/WEB_ATTACK/REQUEST_SMUGGLING" "OWASP_CRS/WEB_ATTACK/RFI" "OWASP_CRS/WEB_ATTACK/SESSION_FIXATION" "OWASP_CRS/WEB_ATTACK/SQL_INJECTION" "OWASP_CRS/WEB_ATTACK/SSI_INJECTION" "OWASP_CRS/WEB_ATTACK/XSS" "OWASP_TOP_10/A1" "OWASP_TOP_10/A2" "OWASP_TOP_10/A3" "OWASP_TOP_10/A4" "OWASP_TOP_10/A6" "OWASP_TOP_10/A7" "PCI/12.1" "PCI/5.1.1" "PCI/6.5.1" "PCI/6.5.10" "PCI/6.5.2" "PCI/6.5.4" "PCI/6.5.6" "PCI/6.5.7" "WASCTC/WASC-01" "WASCTC/WASC-13" "WASCTC/WASC-15" "WASCTC/WASC-19" "WASCTC/WASC-20" "WASCTC/WASC-21" "WASCTC/WASC-22" "WASCTC/WASC-25" "WASCTC/WASC-26" "WASCTC/WASC-29" "WASCTC/WASC-31" "WASCTC/WASC-33" "WASCTC/WASC-36" "WASCTC/WASC-37" "WASCTC/WASC-8" "bugtraq,13544" "http://technet.microsoft.com/en-us/magazine/2005.01.hackerbasher.aspx" </LocationMatch>
Event Viewer save this log : Unknown command in config: <LocationMatch

Hi @sun2sun
Your configuration doesn't work because <LocationMatch> is an Apache only (or Apache-aware only) scope directive.
I believe the easier method to achieve your goal is to add a web.config file like the one below on the folder you want to disable ModSecurity for:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <ModSecurity enabled="false" />
    </system.webServer>
</configuration>
For disabling ModSecurity for specific files you can probably place a web.config file on the correct folder using IIS' <location path> directives like the one below:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <location path="verify.aspx" overrideMode="Allow">
    <system.webServer>
        <ModSecurity enabled="false" />
    </system.webServer>
    </location>
</configuration>
On some of my tests I find out that if you need to enable / disable specific rules for specific files or directories in IIS, you can use the same <location path> directive on similar fashion but pointing to a customized ModSecurity configuration file:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <location path="verify.aspx" overrideMode="Allow">
    <system.webServer>
        <ModSecurity enabled="false" configFile="C:\Program Files\ModSecurity IIS\modsecurity_iis-excludes.conf" />
    </system.webServer>
    </location>
</configuration>
But it looks like the rules are not inherited from previously loaded files so you might need to make your custom conf file loading the entire ruleset and then using the "SecRuleRemoveBy" rules to remove specific rules.
Alternatively, you could also use the skip and skipAfter actions to skip the rules based on custom patterns.


Multiple entities with similar or same values

Rasa Core version - 0.8.5
Python version - 3.5
Operating system -  Windows 10
Issue - How rasa core can differentiate two slot values based on the user’s input? For example one slot is user and other slot is manager both have same or similar values like you can say it is in the format of FirstName.LastName?
How to use multiple slots with similar values?
And these slots defined in yaml file as type unfeaturized.

I think this will depend on your stories. Let's say you have two action templates, utter_ask_user and utter_ask_manager. You could try training your model on storylines which specify that the input you get after utter_ask_user is user's name, and the input you get after utter_ask_manager is manager's name. Probable stories would go like:
## flow_1
* greet
 - utter_greet
 - utter_ask_user
* inform{"user":"alex"}
 - utter_ask_manager
* inform{"manager": "john"}
 - utter_thanks

## flow_2
* greet
 - utter_greet
 - utter_ask_manager
* inform{"manager": "john"}
 - utter_ask_user
* inform{"user":"alex"}
 - utter_thanks

It's done in that way only. Right now what is actually happening is that rasa core isn't able to differentiate my two entities User name and Manager name?
I have provided 15-20 examples for respective entities in data.json file.

When you say 'rasa core isn't able to differentiate my two entities', do you mean it is not picking them up at all or is it putting user's name in manager's, and vice versa? Could you provide a few example stories here where you are taking care of this scenario, and the associated intent/slot/entity values?

Rasa core is picking them up but it is putting manager's name in user's name. Here is the story and associated intent, entity values:
{
"text": "Piyush.Porwal",
"intent": "inform",
"entities": [
{
"start": 0,
"end": 13,
"value": "Piyush.Porwal",
"entity": "user_name"
}
]
},
{
"text": "Vinod.Porwal",
"intent": "inform",
"entities": [
{
"start": 0,
"end": 12,
"value": "Vinod.Porwal",
"entity": "manager_name"
}
]
}
Generated Story -320341839263751463

greet

utter_greet
request_user_name

inform{"user_name": "piyush.porwal"}

slot{"user_name": "piyush.porwal"}
request_manager_name

inform{"manager_name": "vinod.porwal"}

slot{"manager_name": "vinod.porwal"}
utter_done
How rasa core will differentiate these both entities having same format of FirstName.LastName ?

this is an NLU issue. As these entities are pretty much the same from an NLU perspective, i'd suggest just having them as one entity type, and storing them in different slots with a custom action dependent on which part of the conversation you're at.

Ohh I get it. Thanks for the help :)

cool, will close the issue then, but let us know if you encounter any other problems

Yes sure definitely.


Changed spinner to use linear gradient

Refactored spinner to use linear gradient instead of symmetrical.

Looks awesome, approved!


Refactor project to Swift 4

Hello!
We should update the project in the following ways:

[x] Add SwiftLint
[ ] Migrate code from Swift 3 to Swift 4
[ ] Re work project structure to group by 'feature'

As we go through the refactor this list will probably grow.

We should also set up continuous integration 👍

We should also investigate moving away from Alamofire, since Swift 4's use of Codable makes interacting with JSON much easier. #219


Data Augmentation Callback

I have some data Augmentations I would like to apply to my images during the training process on a per batch basis. Is this possible to do with a callback?
I think this can be done with a custom image data generator but for I can't find code for a custom gen. Any help would be greatly appreciated!

Just mentioned this in another thread: you can pass a function to the preprocessing_function argument of the image generator to do any augmentation that it's not capable of doing.
From the source:

    preprocessing_function: function that will be implied on each input.

        The function will run before any other modification on it.
        The function should take one argument:
        one image (Numpy tensor with rank 3),
        and should output a Numpy tensor with the same shape.


Failed compilation of TUV-x on Derecho with Intel compilers

As identified by the PR #83 , currently we can not build all the TUV-x tests on Derecho with the Intel compilers (we do get the tuv-x executable generated though).
The compilation error message looks like:
Invalid_sym_id for THIS, -268435456
/glade/derecho/scratch/sunjian/tmp/ifortgpInVx.i90: catastrophic error: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report.  Note: File and line given may not be explicit cause of this error.
compilation aborted for /glade/derecho/scratch/sunjian/tuv-x/test/oldtuv/grid/from_csv_file.type.F90 (code 1)

It's a regression test that fails. We could bypass this ICE by trying to only compile tests for tuvx that aren't regression tests. It's not worth our time to fix an ICE in regression test code, in my opinion


Java 15.5: Built-in Exceptions and chained exceptions

Description
Add audio, documentation, and video regarding the Built-in Exceptions and chained exceptions

Location of File to be added
The files should be added inside the Built-in_And_Chained_Exceptions which will be inside the Exception Handling folder which will be inside of  Java folder. If the folder is not present, create the folder with this exact name.

The documentation file can be in the .md/.py/.ipynb format.
Audio should be in .mp3 format and to be submitted through a Google drive link.
Video can be in any format and should be submitted through a Google Drive link.

Note:
You are required to comment with \assign CONTENT_TYPE, so that other content types can be created at the same time.
Failing to comment in the above manner will lead to the removal of assignment from the issue even if the bot assigns.
You are required to do a PR within 7 days otherwise you will be unassigned and others will be assigned.
Issues will be assigned on a first come first serve basis.
Domain
Java_Domain
Type of Contribution
Audio, Video, Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

@prachigarg19 You have been assigned documentation

\assign audio


Add links in CHANGELOG.md and add missing info.

Thank you @magol this is way better changelog :smile:


Moneropedia - RingCT

The following text should be added to the Moneropedia for RingCT:
RingCT, short for ring confidential transactions, is a way to hide the amount sent in a Monero transaction. This feature is currently in the testnet phase and is a high development priority.
RingCT introduces an improved version of ring signatures called A Multi-layered Linkable Spontaneous Anonymous Group signature, which allows for hidden amounts, origins and destinations of transactions with reasonable efficiency and verifiable, trustless coin generation.
For more information, please read the creator Shen Noether's paper here.

Excellently worded.

Done


Is there a way to just use the frontend of this repo with our own custom APIs?

The design and cart/order flows of this repo are an excellent starting point, would be great if we could just utilize the frontend theme alone to build custom e-commerce stack.
Is there a way to do this?
(Context: I'm not using BigCommerce, but working on something that would output stores such as BigCommerce/Shopify, so one level up the stack)

@okbel @lfades any thoughts?

@AdityaAnand1 We're aiming to take the project there, where it can support different providers and it's agnostic to whatever provider you choose


maintenance

👷 Deploy Preview for lovely-duckanoo-a365c9 processing.

Name
Link

🔨 Latest commit
b943771f322e5f3a49d7f487fcef11b620982861

🔍 Latest deploy log
https://app.netlify.com/sites/lovely-duckanoo-a365c9/deploys/6409e0e480f68000085b45d3


clean up stack on error

fix issue with nested iir_reads where an error resulting in an early return would leave values on the stack; the stack values then mess up calls in the parent iir_read to lua_next resulting in incorrect error messages.
for example, a misspelled field in foo.bar can cause a spurious error referencing another field in foo.bar but on the table above bar:
ERROR (Lua/IR): No such IREP variable: ressure (foo.bar.misplled)
ERROR (Lua/IR): No such IREP variable: density (foo.some_other_bar_field)
                                                    ^ this field is a `bar' field!

lgtm


Add a way to keepfocus when using the invalidate API

Describe the problem
I may have missed it, but it doesn't seem like there is a way currently to use the invalidate API and keep focus on the currently active element. We oftentimes use the invalidate API in order to poll our data for updates, and as this is essentially a background task it shouldn't really interrupt the user's current action (e.g. typing in a form field). Currently we're working around this by refocusing the element after all invalidate promises have resolved, but this feels like a bit of a hack.
Describe the proposed solution
Allow options to be passed to invalidate as the second parameter, with keepfocus being the first supported option:
invalidate('api.example.com', { keepfocus: true });

Alternatives considered
No response
Importance
would make my life easier
Additional Information
Multiple invalidates can run for a single transition, so it's kind of hard to know what to do if the options for each invalidate conflict.

Does this only happen recently? I think #2819 might've accidentally caused this.
@benmccann  Come to think of it, maybe the initial way was intended after all, I don't think we would want to handle hash, scroll, keepfocus for invalidate. Should we revert that and document it?


use colors to help readability of trace lines

use diagnostics colors for duration and type counts in UIi trace lines. respect the threshold settings in config.  Probably easiest to annotate the trace line with color flags before sending to UI
explore other uses of color, like color coding the trace node names

need to check which css variables exposed by vscode are semantic matches for the information we want the colors to represent so that vscode theming is respected


Simplifying ApplicationLifetime.ExecuteHandlers()

As discussed in #1227.

@KPixel,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla2.dotnetfoundation.org.
It will cover your contributions to all .NET Foundation-managed open source projects.
Thanks,
.NET Foundation Pull Request Bot

@KPixel, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, .NET Foundation Pull Request Bot


F3, Find Next, acts like "Find Under Cursor"

tl; dr: F3 acts like Ctrl+F3 in Visual Studio
More details:
Let's say the text editor contains the following 4 lines:
ABC
ABC
XYZ
ABC

The cursor is at the very top, of the file, at the first ABC.  I hit Ctrl+F to show the Find dialog.  I type ABC.  The first ABC is highlighted.  I hit Esc to exit the Find dialog.
The cursor is now at end of the first line, with ABC on that line highlighted.  I hit delete to remove it and change the text to XYZ.   At this point the text editor looks like this:
XYZ
ABC
XYZ
ABC

The cursor is at end of the first line.
I hit F3 to "Find Next" to find the next occurrence of ABC, but instead it searches for XYZ.  The reason is because hitting F3 changes what's being searched for.   In other words, F3 acts like Ctrl+F3 in Visual Studio
Version I'm running:
[Window Title]
Visual Studio Code
[Main Instruction]
Visual Studio Code
[Content]
Version 0.10.6
Commit a80232bbcfe8a5cdad1ebc98638673d9dcb02458
Date 2015-12-19T11:34:58.895Z
Shell 0.34.5
Renderer 45.0.2454.85
Node 4.1.1
[OK]

Nice catch! Looks like F3 is probably doing whatever ctrl+f is doing to pull in the word the cursor is on before executing a find.

@kasajian Thank you for the detailed steps


CASE statement around Field Type

Version: NAV2018 - 11.0.19394.0
I was trying to recreate a modification made in 2017 in the new AL environment, but hit the following. I've isolated the issue into a smaller subset of code around case statements and comparing the field type value. The confirms are just to help break out the loop but its noticeable on the first field.
The code is the same in both AL and 2018:

FieldRec : Record : Field

FieldRec.SETRANGE(TableNo,23);
FieldRec.SETRANGE(Class,FieldRec.Class::Normal);
IF FieldRec.FINDSET THEN
  REPEAT
    CASE FieldRec.Type OF
      FieldRec.Type::Text,FieldRec.Type::Code:
        IF NOT CONFIRM('Field Type: %1 - Type Found',TRUE,FORMAT(FieldRec.Type)) THEN
          ERROR('');
      ELSE
        IF NOT CONFIRM('Field Type: %1 - Type Not Found',TRUE,FORMAT(FieldRec.Type)) THEN
          ERROR('');
    END;
  UNTIL FieldRec.NEXT = 0

The first field in the Vendor table is a code so when running from the dev environment we recieve:

If we run that in AL which opens on the local 2018 instance, every loop gives the same as below:

I've tried encasing the Text and Code on the options in speech marks, as I can see that on VS Code they are highlighted as though there variables. This made no difference however:

The only way I've got the first confirm to fire is writing the value of FieldRec.Type into a text variable first, and then performing the case statement on that instead.

in which nav2018 cu version is this going to be fixed?  in 11.0.23019 the problem still occurs.


Question: How come disabling swap animations now disables score submission?

I could achieve a very similar effect pushing my JD farther out and just blocking it off with a large image via ImageFactory or something, what was the reasoning behind this? As far as I can tell, this doesn't affect hitbox calculation as it gets closer to the player, either.

Kinsi told me to disable it. Anyway, someone can easily recompile the plugin or get an older version if they wish to re-enable it.

...so no reason? Just because? wtf

It make reading tech challenge map with a lot of those easier (but it's pretty useless for people that are used to it).
It allow you to keep a lower JD and see the notes ahead, so your reaction time don't end up lowered, but this is subjective and mostly impact people that play with very close JD, like 350-450ms (can help with accuracy).
Personally I don't really care about that feature. I never used it, as I only play ranked and there's maybe only 2 or 3 ranked maps that I know where it could be useful (and they are worthless). But Kinsi is not the first person to tell me that this feature should disable score submission.
Anyway, there's a reason why this plugin is semi-private and never got released on BSMG, some of the features are borderline cheating. If ScoreSaber or BeatLeader recorded more replay data, they could easily detect people using it automatically, as this is not visual, it modify how the gameplay work directly. The only reason why pretty much nobody care about it is because it doesn't give instant free accuracy, doesn't magically make people better, can't really be abused like NJSFixer, etc. It was mostly meant as QoL for streaming.
Both the instant note swap and rotation can be achieved purely visually with no hitbox modification, which would be completely undetectable. There's just no public plugin out there that does it yet.


Remove prototype from contains array function

prototyped contains function create problems for forin loops in all other code

Can you rebuild dist from src by grunt or etc? Im changed src files only without grunt rebuilding...


fix: Property access on undefined config

Adding check for undefined config.
If empty assigning empty dictionary to variable.
Closes #52

Thanks :octocat:

@Dignifiedquire would it be possible to release this change?


Highlights doesnt show on variables in other files

Plugin highlights variables which was declared in the same file, but in other files it doesnt working.
File with variables:

Other file:

Hi, this package have been unpublished and replaced by pigments. Originally, variables were highlighted in other files only when the project-palette-finder package was installed. Pigments now includes features from both packages.


Add Linux Support to Battery Plus

moved from here https://github.com/fluttercommunity/battery_plus/pull/5

run it on my machine and worked as expected :+1:

Rebased and resolved conflicts after merging #2 for macOS

hi! whats stopping us from merging this one?


Use WebP config output width/height to calculate bitmap size.

Use WebP config output width/height to calculate bitmap size.

Found this by accident:
for some strange reason iOS has no trouble loading WebP image. But if you try to use UIImagePNGRepresentation() on the UIImage you get nil and "ImageIO: PNG zlib error png" in the log.
If a add a breakpoint in decoderWebPData() it looks to me that scaled_width/scaled_height is clearly wrong as it is 0.

Apologies for the late merge. Thanks for this, @skerkewitz—I really appreciate it.

Don't worry, I know quality takes time. :D


Amino acid encoding

Use dictionary instead of list as look up table --> much faster for longer sequences.

This has been implemented and performance increase approx. by a factor of 10.


UnboundLocalError if input is a Dataframe

See https://stackoverflow.com/questions/46999519/keras-model-fit-unboundlocalerror

Please add a corresponding unit test.

I can't seem find a use case for the test. Whenever I pass a dataframe, it fails a dimension check. Looks like inputs and outputs are supposed to be an array of 2D arrays i.e. 3D. But Pandas dataframes can only be 2D.

This test includes testing Pandas dataframes as model inputs: https://github.com/fchollet/keras/blob/master/tests/keras/engine/test_training.py#L94

I examined that function. It only ever passes lists of dataframes as
input -- which effectively adds one dimension and changes the type.
While the faulty line only triggers when I pass a Dataframe directly.
I could pass it anyway and only check that it fails with something
other that UnboundLocalError...
That's really a last resort though.
The OP of the linked SO question didn't bother to give a sample input,
so I've no idea what it could possibly be.
I only barely understand the library's workings (from my small
theoretical background on neural networks), all I did is fix an obvious
typo to address the OP's problem (and they confirmed I did by accepting
the answer).

If the current tests are insufficient, please add proper tests. All changes to the codebase should be tested.

is it merged now?

@icyblade , what use cases did you have in mind when you wrote that chunk of code?
I could really use a nudge at this point.

@native-api Thanks for your contribution. It seems to be a typo of my PR https://github.com/fchollet/keras/pull/8199, and as the unit test of my PR didn't cover everything, this bug was merged into master. My bad :-(
@fchollet Should I create a new PR including the typo fix and new unit test, or instruct @native-api in this PR?

@icyblade: please open a new PR to add unit tests. I'll merge this one.


vue-server-renderer can not import @babel/runtime esm helpers

Version
3.4.0
Although I did not verify that whether the issue can be reproduced on latest version, I believe it is reproducible on latest dev branch according to the execution path analysis below.
Reproduction link
https://github.com/sns45/esm-issue
Environment info
  System:
    OS: macOS 10.15.7
  Binaries:
    Node: 15.0.1 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.0.3 - /usr/local/bin/npm

Steps to reproduce
npm install
npm run build
npm run start

visit http://localhost:8080
What is expected?
undefined is printed to HTML
What is actually happening?
error stack is printed:
Error [ERR_REQUIRE_ESM]: Must use import to load ES Module<EMAIL_ADDRESS>require() of ES modules is not supported.
require() of<EMAIL_ADDRESS>from /path/to/esm-issue/node_modules/vue-server-renderer/build.prod.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename arrayWithHoles.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from<EMAIL_ADDRESS>
    at new NodeError (node:internal/errors:258:15)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1100:13)
    at Module.load (node:internal/modules/cjs/loader:948:32)
    at Function.Module._load (node:internal/modules/cjs/loader:789:14)
    at Module.require (node:internal/modules/cjs/loader:972:19)
    at require (node:internal/modules/cjs/helpers:88:18)
    at /path/to/esm-issue/node_modules/vue-server-renderer/build.prod.js:4564:15
    at Object.88c0 (js/main.b4608c10.js:1:5367)
    at r (webpack/bootstrap:33:22)
    at Module.0419 (js/main.b4608c10.js:1:3869)

Context: https://github.com/babel/babel/issues/12223
Technically it is an integration issue between @vue/babel-preset-app and vue-server-renderer.
@vue/babel-preset-app instructs @babel/transform-runtime to use esmodules: true for runtime imports. That means if we have a JS file for example,
const a = [...b]

it will be transformed by babel to
import "<EMAIL_ADDRESS>const a = [...b]

and then transformed by webpack (we specifies output.library = "commonjs2") to
require("<EMAIL_ADDRESS>const a = [...b]

When the transformed result are required from vue-server-renderer, the error will be thrown because "<EMAIL_ADDRESS>is an es module thus meant to be imported only.
Workaround: Users can workaround this issue by specifying VUE_CLI_BABEL_TRANSPILE_MODULES=true in server build scripts:
{
  "build:server": "cross-env WEBPACK_TARGET=node VUE_CLI_BABEL_TRANSPILE_MODULES=true vue-cli-service build"
}

Suggested Action: I am aware that vue-server-render may not support esm soon because vm modules are still experimental as of node.js 15.0. It will be great if @vue/babel-preset-app can acknowledge the server rendering use cases and avoid esmodules: true until sever-renderer supports ES module.

This is also reproducible in the latest version of vue-cli-4. Repo:
https://github.com/sns45/esm-issue/tree/vue-cli-4
npm install
npm run build
npm run start

-  "build:server": "cross-env WEBPACK_TARGET=node vue-cli-service build",
+ "build:server": "cross-env WEBPACK_TARGET=node VUE_CLI_BABEL_TRANSPILE_MODULES=true vue-cli-service build",

Set a non-empty string for the variable VUE_CLI_BABEL_TRANSPILE_MODULES. So that vue-server-renderer can require @babel/runtime/helper by CommonJS rather than ESModule
https://github.com/vuejs/vue-cli/blob/0b86e70f86aebea2286617625dac1daa77247883/packages/%40vue/babel-preset-app/index.js#L245-L257
@sns45

As pointed out by auven here, this can be worked around with babel.config.js:
module.exports = {
  presets: [
    // '@vue/cli-plugin-babel/preset'
    [
      '@vue/cli-plugin-babel/preset',
      {
        useBuiltIns: 'entry'
      }
    ]
  ]
}

I doubt this will be helpful to anyone, but just in case:
In my case, the error was not triggered by the inclusion of @vue/cli-plugin-babel, but by a webpack tapping for piping transpiled coffeescript output through babel, and also only after some recent package upgrade.

relevant part of vue.config.js
```
		config.module
			.rule('coffee')
				.after('vue')
				.test(/\.coffee$/)
					.use('coffee/babel')
					 	.loader('babel-loader') // <-----------
					 	.end()
					.use('coffee/loader')
						.loader('coffee-loader')
						.end()
```

Getting similar error on Error [ERR_REQUIRE_ESM]: Must use import to load ES Module<EMAIL_ADDRESS>Any update on this, for me the sugestion didnt fix it (build but get a blank page)

same issue. Any updates?


can you  compile the newest psych engine to html5 please i really wanna play it

Well not 0.5.3b but 0.5.2h please? i couldn't do it

Sure

thank you so much!

Hey Im having a couple of issues with 0.5.2h source code, I thought about going to 0.5 or try with the latest source code

0.5.2h is the latest sorce code 0.5.3b is the apirl fools joke for shodow mario

well not exactly, 0.5.2h is the latest version, commits exist after a new release, the 0.5.3b source code is in a different repo

so the latest version is 0.5.3b?

https://github.com/LEVIXDDLMAO/Html5-test here is the 0.5.2h i was trying to complie before apirl fools

gonna do my thing then

if that dosen't work i got one more you can try

are you still gonna compile psych engine to html5?

ye

and can you see if you keep the mod folder or something? im making a mod

have you done it yet?

My bad bro, I was studying because I have an exam, I'm still up to make the port though I don't think that the mods folder is gonna work on a HTML5 target, I could try but I have no idea if it works, I will test it once I get a stable port of 0.5.2h

My bad bro, I was studying because I have an exam, I'm still up to make the port though I don't think that the mods folder is gonna work on a HTML5 target, I could try but I have no idea if it works, I will test it once I get a stable port of 0.5.2h

No your fine the mod folder isn't really important so you do have to add it

Gonna work on it today (in a few hours or so) I hope I can have it around at the end of the day

okay take your time

Yo long time no see

Sup

How have you been?

Dying

why?


cursor moves to the beginning ! after pasting the images.

cursor moves to the beginning ! after pasting the images. this drives me crazy

This feature request is similar to #34 .

Please test it in 1.2.0  It adds new option to set cursor position either at the front or back of the link.

This setting works on pasted and dropped images, during resizing via dragging edge of the image and via scrollwheel. Although this settings wont do anything if you e.g.: click on the image.
If something is broken, or missing please get back to me
🚀🙌


IPFS Music Player Template

Pull Request
Contribution type

[x] New template contribution
[ ] Existing template update
[ ] Issue fix
[ ] README.md update

Contribution Description
i.e. files updated, new template(s) added, bugs fixed, etc.
[ ] I would like my template to be added to the Unstoppable Domains' website builder
I would like to learn more about making my template compatible with the UD website builder.
Unstoppable Domain Name:
My domain name for buffidao.com is baldpegabufficorn.crypto.

Hey,
Matias from Unstoppable Domains here.
Thanks for submitting a template!
We will be reviewing all pull requests this week.
Best,

@caseykey Thanks for your submission. Couple of changes to request:

[ ]  Add a .gitignore file for package-lock.json & node_modules
[ ]  Fix the AlbumArt import
[ ]  Also need replace the mp3 files with some royalty free music

Can do. What's broken with the AlbumArt import?

@caseykey Thanks for your submission. Couple of changes to request:

[x]   Add a .gitignore file for package-lock.json & node_modules
[x]   Fix the AlbumArt import
[x]   Also need replace the mp3 files with some royalty free music
By fix the AlbumArt import I assumed you meant change the cover art to be royalty free with the music.

@caseykey The bounty has been paid out to baldpegabufficorn.crypto here is the transaction. Thanks again for your submission


[Adding Tool]: Deploying websites

What tool are you adding and to what category?
We need to add deploying websites which can deploy the projects of the web developer.
Add Tool Link
Add tool link
Heroku
Vercel
BlueHost
DreamHost, etc.
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] The tool is free for use

@JasonDsouza212 @VenomFate-619 sir, please assign this task to me

do wait a little


Allow drawing of basic shapes onto the UI field from code

Semi blocked on #4
Allow code to draw text, lines, curves, shapes etc with unique colors and opacity onto the UI from code. It would be ideal if one can change parameters on already drawn shapes.
For example: one use case may be to draw the trajectory of each robot onto the field. Each robot will only have on trajectory so if in code, we could choose to redraw that specific already drawn trajectory with different positions instead of drawing another trajectory overtop.

I know at one point we had a discussion about using the ROS visualization_msgs for specifying UI overlays but as far as I can tell only the ImageMarker message would be useful for 2d and even it only supports circles, line_strips, and polygons.
It might be easier to find or make a different alternative so we can have predefined options for other shapes like rectangles and splines.

I'm fine going custom. I think as long as we support basic shapes, trajectories, text(?), and maybe mesh overlays (think plotting shot chance as a function of position), we should be all good.

Closed by #37


Uncaught TypeError: MbedCloudSDK.DeviceDirectoryApi is not a constructor

Hi,
When running examples in Proxy mode, I met the following error in device management page.

Please help.
Thanks,
Nic

Dealt with in #460


LUCENE-10456: Implement Weight#count for MultiRangeQuery

Description
for one dimension MultiRangeQuery, we can firstly   merge overlapping ranges to have some unconnected ranges, then the doc count of this multiRangeQuery is the sum of each doc count of these unconnected range. For each unconnected range, we can take advantage of PointRangeQuery count() method.
Checklist
Please review the following and check all that apply:

[x] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[x] I have created a Jira issue and added the issue ID to my pull request title.
[x] I have given Lucene maintainers access to contribute to my PR branch. (optional but recommended)
[x] I have developed this patch against the main branch.
[x] I have run ./gradlew check.
[x] I have added tests for my changes.

@iverase Hi, can you help to review this pr, thanks

@gautamworah96  Hi, I have refactor the code as you suggest, please help to review  it again, thanks.

@gautamworah96 I refactor the code again, please review it again, thanks

@gautamworah96 thank you for your patient reviews. I have run the two new added tests 2000 iterations and all passed.
@jpountz @iverase please help to review this pr, thanks.

@jpountz Hi,  I have refactor the code according to your suggestions, please review it again, thanks.

I just looked at the cloning logic, it looks good to me, thanks for making this change!

@jpountz I refactor the test cases, please help to review again, thanks a lot.

Can you also add a CHANGES entry under version 9.2?

@jpountz I have added the CHANGES log, thanks

@jpountz please help to merge this pr, thanks


Implement a duplicate ID/ConnectKey check

For #1

Tested, fixed a dumb case error, and good to go!


Added proxy option

I added the option to specify proxies so that OpenAI API can be accessed through proxy. Please have a look!

Have you tried using HTTPS_PROXY env var, as documented here: https://requests.readthedocs.io/en/latest/user/advanced/#proxies?
This should work out of the box

I think it would be beneficial for Windows users as they can specify proxy with --proxy option instead of manually adding an environment variable in Windows settings.

I see. Sounds good. Let's remove mentions of OPENAI_PROXY_SERVER and rely on standard HTTP_PROXY.

I have changed in accordance to your wish, please have a thorough check if there should be any errors in my codes :)

I fixed an error in cli.py. For some reasons, git didn't push my fixed code, I had to update it directly through github. Please have a look :)


IPv6 support

Is it possible to force youtube-dl to work only via IPv6?
It's impossible to access Youtube via IPv4 in China without a proxy or VPN service while accessing via IPv6 has not yet been banned.
I don't know if youtube-dl chose to access youtube via IPv6 by chance. A few days ago, youtube-dl seemed to be working fine with IPv6. But recently all downloads have failed. The error message is "urlopen error [Errno 104] Connection reset by peer". I'm pretty sure there is nothing wrong with my IPv6 connectivity. The only explanation I can come up with is that youtube-dl is trying to access youtube via IPv4 right now.

-4 and -6 switches are present in youtube-dl 2<IP_ADDRESS> and newer. See our FAQ if you need help updating.

Nice job, thanks!


fix: Publish page now populates publish types

Description
Publish page leverages data from a selector that uses the publishTypes atom.  This atom is populated by a call to the server, but only the settings page was making this call.  This caused publishTypes to be empty unless the user had visited the settings page.  This fixes it so the publish page also loads the publishTypes from the server.
Task Item
fixes #6543
Screenshots
See bug for movie of issue that this fixes.

Coverage increased (+0.007%) to 52.764% when pulling 78f1b3aacaa79d69ab7b1b71f7e890a62c7bf094 on gcox/fix6543 into 28dc6a267ee632b43787972a9277835670ca9e7c on main.


Points marked as done are not showing up on the map when browsed in Chrome.

The points marked as done are not showing up on the map when in Chrome browser. It shows this error message:
XMLHttpRequest cannot load https://api.mapbox.com/datasets/v1/planemad/ciotrgzko002ew8m29jh4lvhf/featu…aXlsbnd5dCJ9.7Ui7o2K3U6flUzDGvYNZJw&start=1060ece262ab71c00aacc1310349c72b. The 'Access-Control-Allow-Origin' header has a value 'http://<IP_ADDRESS>:4000' that is not equal to the supplied origin. Origin 'http://planemad.github.io' is therefore not allowed access.
map.js:906 Error: Input data is not a valid GeoJSON object.
This happens only with Chrome.

When in other browsers, eg. safari, the clusters that are previously worked are seen clearly

Works on Chrome as expected for me. Please reopen if it persists.


Find source of hipSYCL Warning

Hello,
my hipSYCL application got quite large with several sycl accessors and buffers.
I have a few hipSYCL Warnings with:
[hipSYCL Warning] dag_direct_scheduler: Detected a requirement that is neither of discard access mode (SYCL 1.2.1) nor noinit property (SYCL 2020) that accesses uninitialized data. Consider changing to discard/noinit. Optimizing potential data transfers away.
Unfortunately, I don't know how to debug further where exactly this warning is coming from.
Is there a debug method to show exactly which accessor is throwing that warning?
Kind regards
Florian

This is a warning emitted at runtime because it depends on runtime behavior, so it's not super easy to find out exactly where it's coming from.
It usually happens if you don't use no_init with an accessor that uses a buffer for the very first time, so check how your buffers are used when they are accessed for the very first time on any particular device.
Of course, you can also try to set a breakpoint when this warning is emitted, but since this will happen in hipSYCL's background worker thread to process submissions, it might not be easy to find out how it relates to user code.


Add FindExtraById

This isn't feasible due to having to know what the types are no casting needed.


Show better diagnostics for circular evaluations of FileTrees and FileCollections

Expected Behavior
Specific error message as to what's wrong.
Current Behavior (optional)
$ gradlew detekt

...

* What went wrong:
java.lang.StackOverflowError (no error message)

Context
As described in https://docs.gradle.org/8.6-rc-1/release-notes.html#better-error-reporting-of-circular-references-in-providers, there are new and better error reporting instead of StackOverflowError.
Repro:

Clone https://github.com/TWiStErRob/repros/tree/main/gradle/lazyConfiguration-gradle86_recursive_fileTree
gradlew detekt

Thank you for your interest in Gradle!
This feature request is in the backlog of the relevant team and is prioritized by them.

8.6 release focused only on Providers, but the plan is indeed to have all lazy types covered with better diagnostics eventually.


feature:database - add batch operation

- What I did
- How to verify it
- Description for the changelog

I think that this PR depends on #159?

I think that this PR depends on #159?

yeah, forgot to mention

Rebase branch with main to fix conflicts and simplify the review.


spawned AI mechs don't do anything for about a second

Seems like mechs are waiting for their decisions timers, but it looks weird having them just stand there doing nothing.

added a manual call to set nav target on ready


Cannot reach Embassy from the setup app when using iOS 15.1 / 15.0.2 / CalyxOS 2.11.0

Please fill out as much detail as possible:
When trying to use the start up on my embassy, error message on the phone was "cannot reach server" (pic attached).
Phones attempted on the same network (2.4Ghz and 5GHz):

iPhone 7, iOS15.1
iPhone 12ProMax , iOS15.0.2
Pixel 5a, CalyxOS 2.11.0
Pixel 3, Android 12

The Pixel 3 is the only phone that worked
To Reproduce
Steps to reproduce the behavior:

Go to setup app
Type in the product key
See error

Closing, was caused by networking issues.


Can't set x:Bind.Converter to StaticResource in a Window

Describe the bug
Window doesn't have a Resources property, so you set resources typically in the root of the Window content. If you try to use that in an x:Bind Converter using a {StaticResource}, it fails in the generated x:Bind code on the SetConverterLookupRoot call with the error:
Argument 1: cannot convert from 'App5.MainWindow' to 'Microsoft.UI.Xaml.FrameworkElement'
public global::Microsoft.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target)
{
    global::Microsoft.UI.Xaml.Markup.IComponentConnector returnValue = null;
    switch(connectionId)
    {
    case 1: // MainWindow.xaml line 1
        {
            global::Microsoft.UI.Xaml.Window element1 = (global::Microsoft.UI.Xaml.Window)target;
            MainWindow_obj1_Bindings bindings = new MainWindow_obj1_Bindings();
            returnValue = bindings;
            bindings.SetDataRoot(this);
            bindings.SetConverterLookupRoot(this); // <=== Error
            this.Bindings = bindings;
            element1.Activated += bindings.Activated;
        }
        break;
    }
    return returnValue;
}

See also #3442, where were it not for this compiler error, the scenario still wouldn't work for a different issue.
Steps to reproduce the bug
<Window
    x:Class="App5.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:App5">

    <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
        <StackPanel.Resources>
            <local:MyConverter x:Key="myConverter"/>
        </StackPanel.Resources>

        <TextBlock Text="{x:Bind TestProp, Converter={StaticResource myConverter}}"/>
    </StackPanel>

</Window>

public class MyConverter : IValueConverter
{
    public object Convert(object value, Type targetType, object parameter, string language)
    {
        return "World";
    }

    public object ConvertBack(object value, Type targetType, object parameter, string language)
    {
        throw new NotImplementedException();
    }
}

Expected behavior
No response
Screenshots
No response
NuGet package version
No response
Windows app type

[ ] UWP
[ ] Win32

Device form factor
No response
Windows version
No response
Additional context
No response

Duplicate of #4966?

Looks like it to me. @RealTommyKlein if you agree can you close this.

Duplicate of https://github.com/microsoft/microsoft-ui-xaml/issues/4966


Support for all hotkeys to be None, plus minor clean-up

Unbound hotkeys
Before the actions system, all hotkeys could be set to None to unbind them. But now, setting some of them to None cause exceptions. This fixes that.
Verbosity
More initial prints are now hidden with verbose = False, making the program initialization more succinct. Besides debugging, there is no reason to categorize the bindings by action when there are only five in total.
Let's compare:
Before:
Setting up AlwaysReddy...

Initializing action: AlwaysReddyVoiceAssistant
Voice assistant hotkeys:
'alt+ctrl+r': Start/stop talking to voice assistant (press to toggle on and off or hold-release)
	Hold down 'alt+ctrl' and double tap 'r' to send clipboard content to AlwaysReddy
'alt+ctrl+w': New chat for voice assistant

Initializing action: ReadClipboard
'ctrl+alt+c': To read the text in your clipboard aloud

Initializing action: TranscribeAndPaste
'ctrl+alt+t': Transcribe to clipboard (press to toggle on and off hold-release)

System actions:
'alt+ctrl+e': Cancel currently running action, recording, TTS or other

AlwaysReddy is reddy. Use any of the hotkeys above to get started.

After:
Setting up AlwaysReddy...

'alt+ctrl+r': Start/stop talking to voice assistant (press to toggle on and off, or hold and release)
	Hold down 'alt+ctrl' and double tap 'r' to send clipboard content to AlwaysReddy
'alt+ctrl+w': New chat for voice assistant
'ctrl+alt+c': To read the text in your clipboard aloud
'ctrl+alt+t': Transcribe to clipboard (press to toggle on and off, or hold and release)
'alt+ctrl+e': Cancel currently running action, recording, TTS, or other

AlwaysReddy is reddy. Use any of the hotkeys above to get started.

Awesome work yet again, thanks @Jobus0 !


WIP redesign notes and admonitions

follow-up to https://github.com/docker/docker.github.io/pull/11640 (changes are in the last commit). It's still a WIP, but I had this branch lingering around on my machine as part of other changes, so I thought to push it as a PR to share.
This brings the initial work to redesign our notes and admonitions.
The following adminitions are supported:

info: generic note with "info" icon
tip: note  with a "lightbulb" icon
check: note with a "check" icon
important: note with an exclamation mark
warning: note with an exclamation mark in a triangle

There are some alternative icons that I considered (currently commented in the style-sheet, but to be removed)
Things remaining:

update the examples and descriptions in "test.md"
tweak line-heights / typography
review uses of "warning" versus "important"; their purpose needs to be defined better (and styled accordingly)
color-schemes: we can likely use the same colors for "dark" and "light" mode. There's also some colors ("warning", e.g.) that use some tweaking.
add classes to existing notes to switch between a "regular" note to notes with an icon ("admonition").
removing "note" as first line: when using an icon, the icon can replace "note" in many cases; removing the "note" makes the note more compact without loosing meaning, so we should remove those.
for other notes, we should do the reverse: replace "note" with a more  suitable introduction. I updated some pages to illustrate this. Setting  a more descriptive first line can give notes a better context.

Examples
Here's some pages that could be used to view the updates styles:

https://5f9818658b67be00091dbe36--docsdocker.netlify.app/engine/security/https/
https://5f9818658b67be00091dbe36--docsdocker.netlify.app/engine/install/ubuntu/

Screenshots
And some screenshots

/cc @usha-mandya we can look at this one in our call later


deploy.sh: line 2: $'\r': command not found

I deploy msteams-samples-hello-world-nodejs (https://github.com/OfficeDev/msteams-samples-hello-world-nodejs) appear error as follow
Opening "hostingstart.html"...
下午3:59:08 apptest: Creating zip package...
下午3:59:26 apptest: Starting deployment...
下午3:59:30 apptest: Fetching changes.
下午3:59:30 apptest: Cleaning up temp folders from previous zip deployments and extracting pushed zip file /tmp/zipdeploy/cdolwtg6.zip (12.62 MB) to /tmp/zipdeploy/extracted
下午3:59:50 apptest: Waiting for long running command to finish...
下午4:00:54 apptest: Waiting for long running command to finish...
下午4:01:16 apptest: Updating submodules.
下午4:01:16 apptest: Preparing deployment for commit id '59c994b939'.
下午4:01:16 apptest: Running custom deployment command...
下午4:01:16 apptest: Not setting execute permissions for bash deploy.sh
下午4:01:16 apptest: Running deployment command...
下午4:01:16 apptest: Command: bash deploy.sh
下午4:01:18 apptest: deploy.sh: line 2: $'\r': command not found
下午4:01:18 apptest: deploy.sh: line 7: $'\r': command not found
下午4:01:18 apptest: deploy.sh: line 10: $'\r': command not found
下午4:01:18 apptest: deploy.sh: line 11: syntax error near unexpected token $'{\r'' 下午4:01:18 apptest: deploy.sh: line 11: exitWithMessageOnError () {
下午4:01:18 apptest: '
下午4:01:18 apptest: deploy.sh: line 2: $'\r': command not found\ndeploy.sh: line 7: $'\r': command not found\ndeploy.sh: line 10: $'\r': command not found\ndeploy.sh: line 11: syntax error near unexpected token $'{\r''\ndeploy.sh: line 11: exitWithMessageOnError () {\n'\n/opt/Kudu/bin/Scripts/starter.sh bash deploy.sh
下午4:01:19 apptest: App container will begin restart within 10 seconds.
Deployment to "apptest" completed.

change linux to windows can solve this problem


Support first workshop session

I'm thinking in run once a month a session for instructors that will teach their first workshop. What about generate this list?

Rayna Harris and Sheldon McKay are running a session every two weeks for
instructors who have recently taught; I'd like those to start including
people who are about to teach (particularly new instructors).
Generating this report would therefore be v. useful.
Cheers,
G

When I use workshops/debrief I would like to know who taught their first workshop. Feedbacks from everyone are important but the ones from someone that taught for the first time can help us avoid drop outs.

Excellent idea - display count of number of workshops taught beside each
person's name?

display count of number of workshops taught beside each person's name?

It can be.


Can't get it working,...

Tried to test it by extracting everything into "F:/Hybrid/64bit/vsfilters/ResizeFilter/NNVISR" ending with:
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\cublas64_12.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\cublasLt64_12.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\cudart64_12.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\cudnn64_8.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\cudnn_adv_infer64_8.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\cudnn_adv_train64_8.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\cudnn_cnn_infer64_8.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\cudnn_cnn_train64_8.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\cudnn_ops_infer64_8.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\cudnn_ops_train64_8.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\models
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\nvblas64_12.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\nvinfer.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\nvinfer_builder_resource.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\nvinfer_dispatch.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\nvinfer_lean.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\nvinfer_plugin.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\nvinfer_vc_plugin.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\nvonnxparser.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\nvrtc-builtins64_121.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\nvrtc64_120_0.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\vs-nnvisr.dll
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\models\fe_n2_2x2_l4_yuv1-1.onnx
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\models\fe_n4_4x4_l1.onnx
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\models\ff_n2_2x2_l4_yuv1-1.onnx
F:\Hybrid\64bit\vsfilters\ResizeFilter\NNVISR\models\ff_n4_4x4_l1.onnx

Problem is, when I use:
# Imports
import vapoursynth as vs
# getting Vapoursynth core
core = vs.core

# Loading Plugins
core.std.LoadPlugin(path="F:/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
core.std.LoadPlugin(path="F:/Hybrid/64bit/vsfilters/ResizeFilter/NNVISR/vs-nnvisr.dll")

# source: 'G:\TestClips&Co\files\test.avi'
# current color space: YUV420P8, bit depth: 8, resolution: 640x352, fps: 25, color matrix: 470bg, yuv luminance scale: limited, scanorder: progressive
# Loading G:\TestClips&Co\files\test.avi using LWLibavSource
clip = core.lsmas.LWLibavSource(source="G:/TestClips&Co/files/test.avi", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0)

# Setting detected color matrix (470bg).
clip = core.std.SetFrameProps(clip, _Matrix=5)
# Setting color transfer info (470bg), when it is not set
clip = clip if not core.text.FrameProps(clip,'_Transfer') else core.std.SetFrameProps(clip, _Transfer=5)
# Setting color primaries info (), when it is not set
clip = clip if not core.text.FrameProps(clip,'_Primaries') else core.std.SetFrameProps(clip, _Primaries=5)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# making sure frame rate is set to 25
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=0) # progressive

clip = core.nnvisr.Super(clip, scale_factor=2, use_fp16=True, model="fe_n2_2x2_l4_yuv1-1.onnx", model_path="F:/Hybrid/64bit/vsfilters/ResizeFilter/NNVISR")

# set output frame rate to 25fps (progressive)
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# Output
clip.set_output()

I get:
Failed to evaluate the script:
Python exception: Failed to load F:/Hybrid/64bit/vsfilters/ResizeFilter/NNVISR/vs-nnvisr.dll. GetLastError() returned 1114.

Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 3115, in vapoursynth._vpy_evaluate
File "src\cython\vapoursynth.pyx", line 3116, in vapoursynth._vpy_evaluate
File "C:\Users\Selur\Desktop\test_1.vpy", line 8, in
core.std.LoadPlugin(path="F:/Hybrid/64bit/vsfilters/ResizeFilter/NNVISR/vs-nnvisr.dll")
File "src\cython\vapoursynth.pyx", line 2847, in vapoursynth.Function.__call__
vapoursynth.Error: Failed to load F:/Hybrid/64bit/vsfilters/ResizeFilter/NNVISR/vs-nnvisr.dll. GetLastError() returned 1114.

So the loading of the dll already fails. :(
I'm using portable Vapoursynth R63 (tried R62 too) on Windows 11 (64GB RAM, Ryzen 9 7950x) with a Geforce RTX4080 v535.98 studio drivers.

This looks weird since error 1114 is ERROR_DLL_INIT_FAILED but NNVISR does not have dll initialization logic at all, so this could only come from some dependency library.
Can you install https://github.com/adamrehn/dll-diagnostics and run dlldiag deps vs-nnvisr.dll to see if the dependencies can be correctly loaded?
And by the way, you are not placing model files and calling NNVISR correctly. How to place model files is documented here and example to call NNVISR is provided here. We also don't have models trained on bt470bg colorspace, so you probably should convert your clip to bt709 first.

We also don't have models trained on bt470bg colorspace, so you probably should convert your clip to bt709 first.
Thanks for that info, I'll keep that in mind when I get it running.
Can you install https://github.com/adamrehn/dll-diagnostics and run dlldiag deps vs-nnvisr.dll to see if the dependencies can be correctly loaded?
Can't get dlldiag working in my portable Vapoursynth.
Using https://www.dependencywalker.com/

it seems to me that everything the dll needs is there.
Okay, I figured it out, vs-nnvisr.dll doesn't look next to it but only searches the PATH variable.
So by using explicitly adding the dll folder to the PATH:
# Imports
import vapoursynth as vs
# getting Vapoursynth core
core = vs.core
import site
import os
import ctypes
# Adding torch dependencies to PATH
path = site.getsitepackages()[0]+'/../vsfilters/ResizeFilter/NNVISR'
ctypes.windll.kernel32.SetDllDirectoryW(path)
path = path.replace('\\', '/')
os.environ["PATH"] = path + os.pathsep + os.environ["PATH"]

the dll can be loaded.
Thanks

Thanks for the info. This is not intended and a fix will be available later.


set user-select: none

issue
https://github.com/raycast/prompt-explorer/assets/304283/b154cf4a-42e2-4c94-93e8-93ed022c58d5
Since there is a drag + select interface
I'd propose to disable text selection
proposal
https://github.com/raycast/prompt-explorer/assets/304283/6625ffd4-2e29-4056-8839-15b0a73b9430

Thank you for the PR. Unfortunately, using user-select: none has accessibility impacts, especially for those who rely on text selection. Do you have anything else in mind to make the UX selection nicer?

Thanks @peduarte !