[DAPHNE-#493] SQLParser: Run Aggregation without grouping

Fixed problem:

To use aggregations in a SQL query we currently have to use some kind of grouping, aggregation over a whole column is therefore only possible with a workaround.

Changes:

Add test which reproduces the problem.
Implement functionality by using corresponding already existing operations (AggAll or for Count the NumRow Operation).
Change the name of the temporary column that gets created when converting to int matrix.

Fixes #493.

Thanks @tomschw for this fix. I will have a close look by the end of the week.


Update production CLI release:

Issue #, if available:
Description of changes:
This is for the patch release v0.19.8
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


Discard unsaved changes modal is always shown even don't change anything

The modal Discard unsaved changes is always shown once I open the custom field selection (just open, don’t change anything)
Step to reproduce:

Create a custom field with the type is Select field.
Assign the custom field set to Order or Category.
Go to Order or Category, and open the custom field selection.
Navigate Administration to another page, Customer module for example
The modal Discard unsaved changes is  shown

Expected:

The modal Discard unsaved changes is not shown, since we don’t change anything.

!image-20240122-145853.png|width=2688,height=1592!

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-33310.
[created from NEXT-33310, comment 486098]

[public] Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know. Thank you again for your valuable feedback.
[created from NEXT-33310, comment 501282]


Add the CAM02-UCS color space

Please consider adding the CAM02-UCS color space, which is described here: https://www.youtube.com/watch?v=xAoljeRJ3lU

I don't have the bandwidth to tackle this personally, but I certainly would be interested in seeing a pull request.
Since this isn't immediately actionable, I'm going to close this for now. If you do end up wanting to head up the effort, I'll make time to provide advice and/or reviews as necessary.


How to authenticate when working with WebApi

Hi Erik,
I am testing your lib and considering using it when you release version 1.0. It looks very promising and I hope it will help me reduce network calls in an Android application I am working on. Respect.
My question is - how should I authenticate when working with my .Net serverv side WebApi ? The app authenticated using Basic authentication (an "Authentication" header with the username & password encoded in Base64) over a SSL connection. WebApi means no Session info and no Forms authentication info, only Identity information which is re-crated on every call based on the provided authentication header.
I want to initiate the connection somehow but can't figure out how to do it. there is no way to add headers to the requests and i'm not sure SignalA knows how to communicate over SSL  (accepting a SSLSocketFactory object or a similar method).
Any suggestions?
Regards,
Dan

is there any news here?


minepkg init -y doesn't add buildCommand

It seems like using minepkg init mod -y is using an older manifest because it's missing the buildCommand.
It looks like this:
manifestVersion = 0

[package]
  type = "mod"
  name = "fabric-example"
  description = ""
  version = "1.0.0"
  platform = "fabric"
  license = "MIT"
  author = "DESKTOP-name\\Oli"

# Note that the author field also includes the desktop name instead of just the username (on Windows 10)
# This happens when generating the fabric example mod with minepkg and not having git installed / not logged in

[requirements]
  minecraft = "~1.16.2"
  fabric = "*"

[dependencies]
  fabric = "*"

[dev]

Reproduce with

Download/create fabric example mod
if generated with minepkg, delete the minepkg toml
(re)create minepkg.toml with minepkg init mod -y command

Expected behavior
No "buildCommand" in minepkg.toml
Environment

OS: Windows 10
minepkg CLI version: v0.0.62-next

should be fixed in eead


FancyZones - Custom Layout no longer used

ℹ Computer information

PowerToys version: 0.25.0
PowerToy Utility: FancyZones
Running PowerToys as Admin: Yes
Windows build number: Windows 10 Pro 64-Bit Version 20H2 (Build 19042.630)

📝 Provide detailed reproduction steps (if any)
I have created a custom layout many m any months ago and I am using it since that time regulariy:

✔ Expected result
At start-up of my PC my custom layout is used (like in the past and as expected).
❌ Actual result
At start-up of my PC always an other layout (3 column layout) is used.
So at each start-up I have to go to the zones editor and select my layout.
Then my layout is used (until the next re-boot).

@OLLI-S
the fix will be available in the next release.
Closing as duplicate of https://github.com/microsoft/PowerToys/issues/7790


Added checks for null for XRGeneralSettings.Instance and XRGeneralSettings.Instance.Manager

Overview
Previously users would get a NullPointerException followed up other non-crashing errors when running in editor while targetting a platform which uses XRSDK. This fix prevents the propogation of errors in editor
Changes

Fixes: #9469

/azp run

@keveleigh, sounds like this might warrant a 2.6.2 release?

@polar-kev Yeah this and #9549 could warrant a 2.6.2.


Upgrade to Spring-Boot 1.5.2 Release

Hello ,
need an update, because we want to update alle the rest of our stack to Spring 1.5 (Spring-boot-admin and the rest of the internal , well known stuff )
Springjuny

Travis Build Fails due to new "Featers" of Travis
...
Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#Pull-Requests-and-Security-Restrictions
...

Yeah, danke für's Mergen und das Abends um Acht ;-)
2017-05-04 20:19 GMT+02:00 Dennis Schulte<EMAIL_ADDRESS>
Merged #46
https://github.com/codecentric/spring-boot-starter-batch-web/pull/46.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/codecentric/spring-boot-starter-batch-web/pull/46#event-1069428812,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXrBPcmNqP2IG8m3PxBbXqHjkM8Gx0Pqks5r2hbBgaJpZM4NHojD
.


verify PrimaryKey equals method

use equalsverifier library to verify PrimaryKey 'equals' method
https://jqno.nl/equalsverifier/

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

Project coverage is 27.64%. Comparing base (59551e4) to head (01d6c6b).
Report is 71 commits behind head on master.

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #12574       +/-   ##
=============================================
- Coverage     61.75%   27.64%   -34.11%
+ Complexity      207      201        -6
=============================================
  Files          2436     2451       +15
  Lines        133233   133730      +497
  Branches      20636    20704       +68
=============================================
- Hits          82274    36972    -45302
- Misses        44911    93936    +49025
+ Partials       6048     2822     -3226

Flag
Coverage Δ

custom-integration1
?

integration
?

integration1
?

integration2
?

java-11
27.64% <ø> (-34.07%)
:arrow_down:

java-21
?

skip-bytebuffers-false
27.64% <ø> (-34.11%)
:arrow_down:

skip-bytebuffers-true
?

temurin
27.64% <ø> (-34.11%)
:arrow_down:

unittests
27.64% <ø> (-34.11%)
:arrow_down:

unittests1
?

unittests2
27.64% <ø> (-0.09%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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

ready to merge


Merge v1.24 to v2

I merged v1.24.0 fixes to v2.

Can you fix test errors?

Hi, I wrote some necessary modifications from current master to v2 for GoogLeNet.
https://github.com/pfnet/chainer/compare/master...ronekko:googlenet-for-v2

I got error in /tests/chainer_tests/links_tests/model_tests/test_vision.py.
Cloud you check it?

I merged @ronekko's modification and made some fixes.

LGTM!


django-opensearch-dsl implementation

Changes Elasticsearch to target django-opensearch-dsl on the backend. Includes changes to helm which support a full switch over to Opensearch in the future. Contrary to the branch name, this does NOT change anything with the ccdb5 api. The branch was initially made to run tests on that, but in order to do so, I needed to bring the opensearch branch up to date. This only includes changes to the opensearch branch and targeting django-opensearch-dsl.
Additions

Added support for django-opensearch-dsl
Added future support for switch to Opensearch

Removals

Removes backend support for django-elasticsearch-dsl

Changes

Queries are slightly slower, so I added some sleep calls in tests to make sure data is available before it's used.

How to test this PR

Ensure all tests still pass

Checklist

[x] PR has an informative and human-readable title

PR titles are used to generate the change log in releases; good ones make that easier to scan.
Consider prefixing, e.g., "Mega Menu: fix layout bug", or "Docs: Update Docker installation instructions".

[x] Changes are limited to a single goal (no scope creep)
[x] Code follows the standards laid out in the CFPB development guidelines

Closed because I realized I was accidentally trying to merge from my private fork of the cfgov repo


[FEAT] Keytool – multiple passkeys for the same username

Keytool
One of the most non-trivial problem with a passkey is how to implement several passkeys associated with the same user.
Why?
In modern world, you want to access to your data from different devices. In this case, the situation when you can use only One-to-One pair username ↔ passkey is pretty frustrating. I want to make simple enough but still strongly secure way to bind N+1 passkeys with the same user.
How?
In general, the idea is pretty straight forward: the user, which is already logged in, will get the ability to add the new passkey to his current account. To do that, we will generate unique token | link | qr-code, which should be opened from other device | WebAuthn provider.

[!NOTE]
TODO: add principal schema

TODO

[ ] add secret token storage interface (it may be optional)

[ ] will it be default feature or feature added by Options? idk

[ ] add new API route to prove token, smth like /api/add_key
[ ] update session store to work with multiple sesstion per user
[ ] update _example app

[ ] impl secret token storage interface
[ ] maybe add separated README for _example?
[ ] add demo gif (ppl like demo vids)

[ ] update README

Just for now, I'm not really sure. I want to believe it wouldn't be a huge problem to support Linux here. As far as I know, popular browsers partially support WebAuthn (at least Firefox). I want to check how 1Password for Linux deals with passkeys as well.
The idea of Keytool here is supposed to be key-provider-agnostic. You log in with device A, which has a public key associated with the user Alice. Next, you generate a one-time “invite” to add another device and bind it with the same user. At this point, I should be able to use any WebAuthn-supported device to perform the “registration” procedure, but within the context of the invite. We put the second device's credentials into the same User.Creds store. The next time Alice tries to log in, we just look over all the already stored credentials.
It sounds pretty simple, but I still need to try to implement a proof-of-concept. How we already a bit dessuced in another #9 issue, there is a WebAuthn.BeginDiscoverableLogin stuff already presented in the underlying library.
In any case, I'll track the progress of all this stuff in this issue.

@gedw99, thanks for the references! To be honest, I was thinking about the concept of “Device X is attempting to log in, please approve or deny it” as an additional security layer. I mean, you could first generate a QR code to add a new device, and then approve (or deny) it from the first one. Last time, I decided it might be a bit of an overhead. But now, I’m reconsidering :)
It actually sounds pretty cool. It could be an optional feature for keytool. A bit less convenient, but much more secure. I’ll add it to the keytool “roadmap.” By the way, NATS looks huuuuge. I have to find time to play around with it. Anyway, let’s take it step by step. :)


Pull proxy config updates from upstream repo

While debugging #66, I updated the nginx-proxy config with the latest from the upstream repo.
Unsure if you want all this, but it works fine in my testing and is probably good to stay in sync with upstream.

Thanks for this 👍


Revert "Feature/593 fix test case"

Reverts gsmainclusivetechlab/interop-test-platform#595

Codecov Report

Merging #608 (d238537) into develop (0c2f018) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             develop    #608   +/-   ##
=========================================
  Coverage       9.27%   9.27%
  Complexity      1412    1412
=========================================
  Files            212     212
  Lines           6276    6276
=========================================
  Hits             582     582
  Misses          5694    5694

Continue to review full report at Codecov.

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


React get all recipes

Coverage decreased (-0.04%) to 72.527% when pulling d30ae96f010d9e84db521118659b3d665dbfe9b5 on reactGetAllRecipes into 5f2d7a776b851c6a1b5d18c7c0314df070325463 on develope.


Interoperation in SMP mode

Original issue: https://charm.cs.illinois.edu/redmine/issues/296

No body.

Original date: 2013-10-04 03:39:35

Support for interoperation in SMP mode has been ended.


Is it possible to change the 'Your name here' and 'valid thru' labels on card?

This is not an issue per se, just a random doubt that I have.
Can I cange dynamically the 'Your name here' and 'valid thru' labels on the card?
Thanks a lot!

Try with this:

You can change the text "Your name here" using the placeholders prop and "valid date" in locale prop.
Take a look in the README: https://github.com/amarofashion/react-credit-cards#props

<Card
  number={number}
  name={name}
  expiry={expiry}
  cvc={cvc}
  focused={focused}
  callback={this.handleCallback}
  placeholders={{name: 'YOUR CUSTOM PLACEHOLDER'}}
  locale={{valid: 'CUSTOM DATE'}}
/>


Save to localstorage

With Firebase, when you make a change to a document, the document is automatically saved locally (in order to quickly update the views of the application) but this is not the case with Supabase (to my awareness).
Isn't there an existing system to do this or should we code it ourselves? Claiming to be a Firebase alternative, shouldn't this feature be one of the most basic to have been implemented?

You mean cache? If so, this isn't implemented in the client libraries yet

Yes, I mean cache !


Server is not automatically reboot after installation

I generated a RancherOS iso with elemental-image-build from https://github.com/rancher-sandbox/os2-opensuse-image, then installed a VM with it.
Installation went fine but there was no automatic reboot at the end, and this should be the default behaviour.

reboot on elemental seems to be correct: or at least the flag is set via the env var correctly:
$ ELEMENTAL_REBOOT=true bin/elemental --debug upgrade
INFO[2022-03-01T17:59:23+01:00] Elemental version version.BuildInfo{Version:"v0.0.13-2-gdd23b93", GitCommit:"dd23b9393e36fba4cb8d6f033f3888c67d9fbbd6", GoVersion:"go1.17.5"}
DEBU[2022-03-01T17:59:23+01:00] Full config: &{RecoveryLabel:COS_RECOVERY PersistentLabel:COS_PERSISTENT StateLabel:COS_STATE OEMLabel:COS_OEM SystemLabel:COS_SYSTEM ActiveLabel:COS_ACTIVE PassiveLabel:COS_PASSIVE Target: Source: CloudInit: ForceEfi:false ForceGpt:false PartLayout: Tty: NoFormat:false Force:false Strict:false Iso: DockerImg: Cosign:false CosignPubKey: NoVerify:false CloudInitPaths: GrubDefEntry:cOs Reboot:true PowerOff:false ChannelUpgrades:false UpgradeImage: RecoveryImage: RecoveryUpgrade:false ImgSize:3072 Directory: ResetPersistent:false PartTable: BootFlag: GrubConf:/etc/cos/grub.cfg Logger:0xc0001c3260 Fs:0x1efe2b0 Mounter:0xc000536018 Runner:0x1efe2b0 Syscall:0x1efe2b0 CloudInitRunner:0xc0000200f0 Luet:<nil> Partitions:[] Images:map[] Client:0xc000020090}

In the code of ros-installer I can see a power-off option, but nothing related to a reboot yes.

@ldevulder closing it in here and tracking it on https://github.com/rancher-sandbox/os2/issues/45 instead :)


RealmSet contains fails with unmanaged object

Invoking RealmSet<RealmObject>.contains on a managed set passing an unmanaged Realm value would result in the following exception:
IllegalStateException: Cannot modify managed objects outside of a write transaction
The exception is a bit odd, how come we modify objects during the contains?
    @Test
    fun containsFailWith() {
        val unmanaged = RealmSetContainer()
        val managed = realm.writeBlocking {
            copyToRealm(
                RealmSetContainer().apply {
                    objectSetField.add(RealmSetContainer())
                }
            )
        }
        managed.objectSetField.contains(unmanaged)
    }

This is fixed in https://github.com/realm/realm-kotlin/tree/next-major as part of the Collections in mixed-implmentation.


QSERVER-17813 GraphQL Field Duplication Enabled

Please address the comment above from Jordi about the exception handling, if taken care kindly mark resolved.


Updated named plots to infer different datatypes in case of x and y inputs.

The current file missed adding separate templates for the two vectors in named plots.

Looks great, thanks for contributing!
I skipped the second commit, though. May I ask what platform you're building on where the asserts are failing?


⚠ Bofrost.at has degraded performance

In 49bb9c0, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1511 ms

Resolved: Bofrost.at performance has improved in c0d339d after 33 minutes.


feat (fmt): inline config within comment

Component
Forge
Describe the feature you would like
https://github.com/foundry-rs/foundry/pull/3593 introduced disable-line so you can do this:
uint256 x =     100; // forgefmt: disable-line

This issue is to consider / spec out also allowing this:
uint256 x =     100; // Config statement comes after my comment forgefmt: disable-line

Do other formatters support this and is this even worth supporting?
Additional context
No response

That seems reasonable to me, good reasons! I'l close this 🙂


Generate list of destinations

see https://github.com/umputun/spot/discussions/104
This PR allows exporting the list of destinations to either json (default format) or any custom format defined by a user-provided template file (go templates format). The generated list can be sent to stdout (by default) or a custom file.
@knutov - I have added this thing even with the templates because I don't want to abuse users by forcing them to use jq ;)
I still think this feature is a little bit exotic, but probably for users migrating from ansible it will make more sense.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

43 of 59 (72.88%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 84.586%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cmd/spot/main.go
24
32
75.0%

pkg/runner/runner.go
19
27
70.37%

Totals

Change from base Build<PHONE_NUMBER>:
-0.3%

Covered Lines:
2217

Relevant Lines:
2621

💛  - Coveralls


Factor out SlicePanel components and styles, revise hover styling

This builds on the awesome work @lilybarrett did in https://github.com/studentinsights/studentinsights/pull/168.  It breaks up the pieces in the SlicePanel component into separate files and stylesheets to make them easier to discover in the future.
@lilybarrett I noticed this morning that the text on the left inside each row becomes a subtle dark blue on hover, so I fixed that up to stay the same.

I also realized in using this a bit this morning that the underline styling looks a lot like a link, which I didn't realize when we were talking about it last night.  This might be confusing to folks, since links usually take you away to a new page when you click on them, but these rows act more like buttons, where you click on them and the page changes in response.  So here's another iteration, trying to make them feel "clickable" and communicate clicking here will change something on the page more than this is a link and clicking will take you to another page

@lilybarrett Let me know what you think, and if this seems cool I can merge it later today or tomorrow AM.  And thanks again for your help!

Makes a lot of sense! Thanks.


ES6 code highlighting broken after "for of" with Map and destructuring

VSCode Version: Code - Insiders 1.4.0-insider (e3758d2cdaae78082a08a45ae28ea1bed5f47e8c, 2016-07-29T18:41:58.915Z)
OS Version: Windows_NT ia32 10.0.10586

Steps to Reproduce:

type the following code

for( let [k, component] of this.components){
    let bounds = component.view.getBounds(); /// <= not highlighted, nor anything after this
}

:
Everything that follows is not highlighted...
The square brackets seem to be the problem; adding a semi-colon after fixes the highlighting (but of course is not valid code).

Hum, sometimes highlighting works, sometime not, and when it's not working, putting the opening curly bracket on next line corrects the problem partially... but it's still broken in next method!
Will try to see why, but basically the context is the same - a for loop in a class method.

Wow. Perfect storm, or something. The problem is only happening in a very precise way: if I remove any of these loops, it works!!! Here's the minimal complete example that breaks the highlighting:

Here's the code, if ever someone is crazy enough to try and fix this !
class Test0 {
	method(){
		function func(){
			for( let [key, val] of tests)
				val.id = 0;
			for( let [key, val] of tests)
				val.id = 0;
			for( let [key, val] of tests)
				val.id = 0;
		}
	}
	method2(){ /// <- FROM NOW ON, METHODS' NAME OTHER THAN 1ST AREN'T HIGHLIGHTED'
		for( let [key, val] of tests){
			//
		}
	}
}
class Test1 extends Container {
	method(){
		for( let [ key, val] of tests){
			//
		}
	}
	method2(){
		//
	}
}
class Test2 extends Container {
	method(){
		for( let [ key, val] of tests){
			//
		}
	}
}
class Test3 {
	method(){
		for( let [key, val] of tests){
			//
		}
	}
}
class Test4 {
	constructor(){
		// messed up
	}
	method(){
		// messed up
	}
}
class Test5 {
	// no hope
}

This issue was moved to Microsoft/TypeScript-TmLanguage#232


javascript:function

[✔] I agree to follow the Code of Conduct that this project adheres to.
[✔] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
when i click the Link whit URl,in fact i want to copy some text .then i tpye
javascript:(function(e,text){
 e.value = text;
 document.body.appendChild(e);
 e.select();  document.execCommand("Copy");
 document.body.removeChild(e);})(document.createElement("textArea"),
"some type")

and i click the link it push the windows
Describe the solution you'd like
i can use the code run on chrome's bookmark. it work,so drawio can do this?
Additional context

No. We do not allow scripting in links for security reasons.


cannot get jython to work in visual studio

the sample code works fine if the interpreter is python, However If i switch the  interpreter to jython , then this is the error
Traceback (most recent call last):
  File "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Python Tools for Visual Studio\2.2\visualstudio_py_launcher.py", line 25, in <module>
    import visualstudio_py_debugger as vspd
  File "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Python Tools for Visual Studio\2.2\visualstudio_py_debugger.py", line 562, in <module>
    attach_lock = thread.allocate()
AttributeError: type object 'org.python.modules.thread.thread' has no attribute 'allocate'

Internal error detected. Please copy the above traceback and report at
http://go.microsoft.com/fwlink/?LinkId=293415

Press Enter to close. . .

This is similar to issue #1271
Also, using jython in the interactive window seems to work ok ( this was a simple brie test I did in the interactive window)
import sys
sys.version
'2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11) \n[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)]'
print "hello"
hello

I'd say this is exactly the same as #1271.
The file with the error in it is just Python code, so if you wanted to fix it yourself and submit a patch that would be very helpful. The problematic code is over five years old, so clearly Jython has made a breaking change that is affecting us - it may also be helpful to report it to them too.


tests: two workarounds to get master to pass again

skip one failing test that previous was passing due to sanitycheck bug
and another with more time to timeout.

not relevant anymore.


Bootsy image align property?

Hello Volmer,
Is it possible to change the alignment of an external image or an inserted image?
Thanks.

I see this in your demo - class="wysiwyg-float-left"

Unfortunately for now it's only possible to set alignment classes on uploaded images.


Support for multiple applications with the same template

I was wondering if it should be possible to add multiple applications per template since some applications use the same template (e.g. vim and neovim or anything that uses css). It could be done by adding a "template" option which would overwrite the normal template.

What would be the benefit apart from having a shorter config?

Correct me if I am wrong, but I don't think it is possible to use the same template in multiple applications. There is for example a lot of applications that use the CSS template (https://github.com/samme/base16-styles). What I meant by adding a template option was something like this:
applications:
  firefox:
    enabled: true
    template: css
    files:
      path: path/to/firefox/css

  discord:
    enabled: true
    template: css
    files:
      path: path/to/discord/css


Asyncify the client

Right now the client is synchronous. This is particularly bad for light client requests, which just block the current thread.
Considering the difficulty of doing this, there's no point in tackling this issue before async/await are stable.

Alternatively, we could debate changing the architecture to make the Client correspond to a full-client only, and use another layer on top of the Client when we need to abstract over both full and light clients.

Do you have an example of a current sync api, and how it would look once "asyncified"?

The offenders are:

https://github.com/paritytech/substrate/blob/950571379aa75a6cd146a4d67c3c95e43d9d76f7/core/client/src/light/backend.rs#L361
https://github.com/paritytech/substrate/blob/950571379aa75a6cd146a4d67c3c95e43d9d76f7/core/client/src/light/blockchain.rs#L124
https://github.com/paritytech/substrate/blob/950571379aa75a6cd146a4d67c3c95e43d9d76f7/core/client/src/light/blockchain.rs#L161
https://github.com/paritytech/substrate/blob/bdc96e124dfcdd244d72425b4e4a5d5d77c757a8/core/client/src/light/call_executor.rs#L102

Instead of blocking waiting for the Future to resolve, we should also return a Future.
This probably propagate throughout the entire library and throughout Substrate. Whenever you need to fetch any information from the client, it would have be an asynchronous call.

Those specific calls were removed as of 8426cf1ad15ffad5ae2fd98b7dfb0f19df6b724a. Is there much that can be done for this at present?


Reduce operation should  return a stream

Currently Reduce operation return a value when it's performed.
If this operation returned a stream we could do things like the below
It must be checked that after a Reduce opeartion only with can be added in the queue.
var sumElements = koazee.Stream().Reduce(func(acc, val int) int {
	return acc + val
})

func main() {
	sumElements.With([]int{1,2,3,4,5,6}).Do()
}

Done in branch feature/road-to-1.0.0


code request signature does not match

Hey,  I've used aws-cli configure to setup my aws credentials but still get the following messages when I attempt to mount:
2015/11/04 23:02:53.910241 s3.ERROR code=The request signature we calculated does not match the signature you provided. Check your key and signing method. msg=403 request=
2015/11/04 23:02:53.910435 s3.ERROR code=The request signature we calculated does not match the signature you provided. Check your key and signing method. msg=403 request=
2015/11/04 23:02:53.910538 s3.INFO Unable to detect bucket region, staying at 'us-west-2'
2015/11/04 23:02:53.914630 main.INFO File system has been successfully mounted.
Can a goofys mount be added to fstab?

Does aws s3 work?   Had no credentials in /root/.aws/credentials and tried to mount as super user.
Will goofys work in fstab or should I will i need to add the mount to rc.local?
Thanks,

The file/directory modes are not being set asas spceifed in the command below.  Instead I'm getting dr----x--x
sudo goofys --dir-mode "777" --file-mode "777" --uid "33" --gid "33" --storage-class "STANDARD_IA" bucketname /mnt/mountpoint

The modes are ints, try 0777 or convert from base 8. I've not tried to mount from fstab so I can't tell you if it works or not, and won't be able to look into it the next couple days. Do you want to give it a try and report back?

using 0777, sort of works, now super user see's the correct permissions set, but even though they're 777 other users see d?????????  ? ?        ?           ?            ?.  --help suggests the three digit number which is why I had made that mistake and may be worth updating.
I have tried the following but get the message:  mount: can't find /mnt/cpirepsarchive.s3/ in /etc/fstab
goofys#bucketname /mnt/mountpoint fuse rw --dir-mode="0777",--file-mode="0777",--uid="33",--gid="33",--storage-class="STANDARD_IA",allow_other 0 0

You need to set -o allow_other, that's a fuse thing.

Still getting mount: can't find /mnt/cpirepsarchive.s3/ in /etc/fstab or /etc/mtab
I'm guessing that its something with the format of my entry.  I'm just copying from the way that I mount s3fs and riofs.

I probably need to explicitly support that. Could you file another issue?

The original problem is not an issue.


Wifi breakers

Hi,
I bought some wifi breakers like these
https://rover.ebay.com/rover/0/0/0?mpre=https%3A%2F%2Fwww.ebay.de%2Fulk%2Fitm%2F183495731099
over the internet and am wondering if I could get them to work in homebridge.
Your Plugin connects to the devices correctly but the whole „ready to handle“ part is missing.
I had a similar issue with „homebridge-tuya“ where the devices were recognized but could not be switched in homebridge.
https://github.com/codetheweb/homebridge-tuya/issues/39
Everything works in the Tuya-app though...
Any idea whats causing the problems?

Hi,
Can you share some log?  If I understand correctly, you see the Connected to message but you don't see the Ready to handle ... with signature message.
Discovery and initial connection are dependent on a correct id. If you see Connected to that means your id was good; if you don't, we need to go through the process of finding your id from scratch.
After successfully connecting, if you don't see Ready to handle ... with signature it could be either because the key was not good or that the device is not following the standard. In this case, I would recommend trying doing the id and key extraction from scratch.
If non of these helped, lemme know and I will try to procure one of these and check it out. Please update me.
Good luck.

Unfortunately both devices now quit working completely due to some overload or something...
I had to buy two new ones and choose some from eMylo to work with. I'm still trying to figure out how to get them to work with your plugin though and will keep you updated whether I was successful.
Any idea though which "type" to put in config.json?

Both SimpleLight and Outlet would work fine for this. I recommend you start with SimpleLight that has some logging capabilities which will help discover any additional functionality that the device might have.

Closed for inactivity. Please reopen if you still need help.


Exclude 'boolean' method parameters/return values from processing

Right now the plugin tries to generate null checks for boolean method parameters and return types which cases compilation error

Done


JSON test hangs in JS

The test.ceylon.json::testParse seems to hang, at least in JS.

Something to do with herdJson()

ah, doesn't really hang, just takes forever.

Is that normal then ?

there's certainly room for optimization. It had happened before, and the cause was some method in c.l.String and I optimized it, but tracking down a bottleneck in there is not easy.

Well, it still has to be done, no?


Self-Flagellation Jewel

The Self-Flagellation Jewel isn't correctly adding allowing an additional curse.

That jewel allows an additional curse on you, not your enemies.


Remote repository URL cannot be https

When the remote repository URL is set to https instead of ssh, the syncer.PushLocal returns an error: "takeover failed; error invalid auth method"

Specifically, the error is returned on line 711:
if err := r.Push(&git.PushOptions{
		RemoteName: remoteName,
		RefSpecs: []config.RefSpec{
			config.RefSpec(refSpec),
		},
		Progress: os.Stdout,
		Force:    true,
		Auth:     appAuth,
	}); err != nil && err.Error() != "already up-to-date" {
		return err
	}

Changing the remote repository to ssh fixes the error. To do so, run the following command:
git remote set-url origin git@github.com:jlewi/roboweb.git

To check if the remote repo is set to https or ssh, run git remote -v
If the listed URL starts with https:// the repo is set to https

@franciscouribe this is the issue you were hitting with hydros

I think the fix here is to switch to using GitHubApp credentials consistently as part of #3

I think I was mistaken. I think this is coming from the 'hydrod takeover' command. I think that might already be using go-git.
More importantly it's using the repo the user already checked out which is why the auth method selected by the user matters.


Dynamic diagram nodes & edges

This adds the ability to store the graph object along with the machine so that it can be updated dynamically. Two public methods are provided to update the nodes and the edges. Three state styles added.
Example of how to add auto-update to model class:
def __init__(self):
        Machine.__init__(
            self,
            states=_states,
            transitions=_transitions,
            initial=_initial
            send_event=True,
            before_state_change='before_state',
            with_graph=True,
        )

        self._previous_state = None
        self._next_state = None
        self._update_graph(with_previous=False)

def before_state(self, event_data):
    """ Called before each state.   """
    self._next_state = event_data.event.transitions.get(self.state)[0].dest
    self._previous_state = event_data.state.name
    self._update_graph()

def _update_graph(self, with_previous=True):
    """ Show the active state on the graph """
    if self._next_state is None:
        self._next_state = self.state

    # Mark the active node
    self.set_node_state(self._next_state, state='active', reset=True)

    # Mark the previous node and path used
    if with_previous:
        if self._previous_state is not None:
                self.set_node_state(self._previous_state, state='previous')
                self.set_edge_state(self._previous_state, self._next_state, state='previous')

Machine option to store the graph
set_node_state and set_edge_state work with stored graph to update
appearance.
Added 'default', 'active', and 'previous' state attributes

Example of active and previous states marked:

Neat! looking forward to this feature! how 'fast' can you update graphs with this? close to realtime?
Small bug
# core.Machine
def get_graph(self, title=None, force_new=False, diagram_class=AGraph):
# extensions.HierarchicalMachine
def get_graph(self, title=None, force_new=False, diagram_class=AAGraph):
    if self._graph is None or force_new:
        # misses a parameters; diagram_class is mapped to force_new
        self._graph = super(HierarchicalMachine, self).get_graph(title, diagram_class)
       # should be  self._graph = super(HierarchicalMachine, self).get_graph(title, force_new, diagram_class)

After that, the tests pass as well.
Best regards,
Alex

Some thoughts about the usage:

Rather than relying on send_event=True, I'd suggest to call _update_graph implicitly if with_graph=True. You could subclass/mixin Transition instead for instance. send_event=true may require complete rewrites of existing models and also may lead to less comprehensible code since you pass event_data which is not necessarily required.
Model.speed_reached(velocity) is easier to read and debug than Model.speed_reached(event_data) with checks like  if hasatttr(event_data, velocity)

This line is problematic:
 self._next_state = event_data.event.transitions.get(self.state)[0].dest
There is no guarantee that the first transition will be executed. Another reason why you might want to connect _update_graph and the transition which will be executed.

Suggestion:

make get_graph a mixin

class MachineGraphSupport(object):
    def get_graph(self, title=None, force_new=False, diagram_class=AGraph)
    def set_edge_state(self, edge_from, edge_to, state='default')
    def set_node_state(self, node_name=None, state='default', reset=False)

class TransitionGraphSupport(object):
       # in _change_state it is certain that the transition will happen
       def _change_state(self, event_data):
           event_data.machine.set_edge_state
           event_data.machine.set_node_state
           # this will only work if this class is used as mixin
           super(TransitionGraphSupport, self)._change_state(event_data)

This would work without with_graph. In this case I'd also rework LockedMachine and HierarchicalMachine a bit to be pure mixins themselves.
Users can mix their Machines explicitly:
class LockedHierarchicalGraphMachine(LockedMachine, MachineGraphSupport, HierarchicalMachine)

Or there are already available in the library or provide a machine class factory which also creates the appropriate transition...
What do you think?

I agree with a lot of your ideas. Mostly I had this for my model but thought it might be nice to be an actual part of the Machine class. If we think it is something nice we can integrate in the manner that you suggest, which I agree is a lot better to do.
All I am really doing is storing the graph object and then updating certain nodes. My Machines have all been fairly small (< 15 states) so updating/drawing takes almost no time at all. The alternative approach would be to just generate a SVG and then update that elsewhere but this proved to be easier.
One annoying thing is that the graph redraws itself based on the colors, so sometimes state nodes move around. I'm not sure if there is a way to fix that or not.
So is this a feature we'd like to add, assuming it gets cleaned up?

I am all for it :+1:. What about if you integrate this feature in a dev-branch in this git and I will refactor the code in extension modules and mixins. After that we review the changes and create a pull request from there if there is no more issue to be clarified.

Agreed. I'm going to close this PR and get a more formal solution going in a separate branch. I'll let you know when it's up. Thanks!


[Toolkit feature]: DLSS Options

Contact Details (Optional)
No response
What is the context of the feature/improvement?
Please bring DLSS into Kit, my 3070 is suffocating
Please describe the feature/improvement?
Should be a little menu for this feature. OH and framerates, lots of framerates!
What would be your solution? (optional)
...
Version
2024.1.1

Hi,
Is that a duplication of: https://github.com/NVIDIAGameWorks/rtx-remix/issues/333 ?
DLSS is a render setting

Hi,
Is that a duplication of: #333 ?
DLSS is a render setting

Yeah, would be great to have an easy to access place to quickly adjust Path tracing quality as well as DLSS quality. Thank you!

I will close in flavor of: https://github.com/NVIDIAGameWorks/rtx-remix/issues/333


PLAYBOX

The search for free music really comes down to your needs.
The best free music download sites sometimes emphasize accessibility and variety, like Audioplay and the All Music Play.
Others are more tailored to specific niches, like Beatstars for producers and the YouTube Audio Library for all kinds of creators.
Just choose the right fit for you – or try something new!

Welcome to PLAYBOX
PLAYBOX is a comprehensive and in-depth resource for finding out more about the albums, bands, musicians and songs you love.


Unhandled rejection in species ctrl

Cleaning logs I looked for unhandled rejections:
https://github.com/gbif/portal16/blob/master/app/controllers/api/species/key/speciesKey.ctrl.js#L169
This will make the site crash and restart
{"name":"portal16","hostname":"prodnode-vh.gbif.org","pid":13459,"level":50,"msg":"Unhandled Rejection at root: Promise  Rejected {\n  id: 106,\n  value: \n   TypeError: Cannot read property 'forEach' of undefined\n       at /var/www/portal16/app/controllers/api/species/key/speciesKey.ctrl.js:169:34\n       at tryCatchReject (/var/www/portal16/node_modules/when/lib/makePromise.js:845:30)\n       at runContinuation1 (/var/www/portal16/node_modules/when/lib/makePromise.js:804:4)\n       at Fulfilled.when (/var/www/portal16/node_modules/when/lib/makePromise.js:592:4)\n       at Pending.run (/var/www/portal16/node_modules/when/lib/makePromise.js:483:13)\n       at Scheduler._drain (/var/www/portal16/node_modules/when/lib/Scheduler.js:62:19)\n       at Scheduler.drain (/var/www/portal16/node_modules/when/lib/Scheduler.js:27:9)\n       at _combinedTickCallback (internal/process/next_tick.js:73:7)\n       at process._tickCallback (internal/process/next_tick.js:104:9),\n  handled: false,\n  reported: true }  reason:  TypeError: Cannot read property 'forEach' of undefined\n    at /var/www/portal16/app/controllers/api/species/key/speciesKey.ctrl.js:169:34\n    at tryCatchReject (/var/www/portal16/node_modules/when/lib/makePromise.js:845:30)\n    at runContinuation1 (/var/www/portal16/node_modules/when/lib/makePromise.js:804:4)\n    at Fulfilled.when (/var/www/portal16/node_modules/when/lib/makePromise.js:592:4)\n    at Pending.run (/var/www/portal16/node_modules/when/lib/makePromise.js:483:13)\n    at Scheduler._drain (/var/www/portal16/node_modules/when/lib/Scheduler.js:62:19)\n    at Scheduler.drain (/var/www/portal16/node_modules/when/lib/Scheduler.js:27:9)\n    at _combinedTickCallback (internal/process/next_tick.js:73:7)\n    at process._tickCallback (internal/process/next_tick.js:104:9)","time":"2018-02-12T13:01:11.508Z","v":0}

This is similar to https://github.com/gbif/portal16/issues/668

closed in favour of https://github.com/gbif/portal16/issues/670


Portal logo should be linked to the portal url itself.

Description:
Portal logo(see the screen below) has not been linked to the portal (https://localhost:9643/portal). due to this user has no easy way(other than the back button) to come back to the portal home page when go deep inside the sections.

Issue moved to the correct repo. See https://github.com/wso2/carbon-dashboards/issues/878.


pymodule: only allow initializing once per process

Following the suggestion in https://github.com/PyO3/pyo3/discussions/2346#discussioncomment-2913833 this changes #[pymodule] to raise an ImportError if initialised more than once. This seems to be a necessary defence against soundness issues related to sub-interpreters.

This change seems to have broken multiple downstream users; see for example https://github.com/pyca/cryptography/issues/9016 and I'm trying to track the impacted projects here: https://github.com/pyca/cryptography/issues/12080 It's kind of overwhelming because of the large amounts of chatter on so many different discussion groups and distro bug trackers that have been hit by this bug.
One possible fix is to apply this diff: https://github.com/zer0def/pyo3/commit/eba5243197995f6b37bef491f36d5a1ad0ee03e3 which allows unsafe operation. Unclear if there's an open pull req for this, or whether it has been merged.

FWIW, I think while it's probably not possible to have a fully safe sub-interpreter support (without huge perf overhead, at least), I do think if we can get to "pyo3 has no static state, and offers users a module state for their own stuff", then we can offer an unsafe "I promise I don't store any state statically" thing to allow sub-interpreters.
But the core work is:

Multi-phase init
Module state API


pytorch: fix CVE-2024-5187

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

Fixes CVE-2024-5187 (High, 8.8) in pytorch, and removes unnecessary creation of vendor tarball.
Change Log

Add patch to address CVE-2024-5187
Remove unnecessary double vendoring of the third_party directory. Doubling happens because the contents of the submodule tarball are pulled directly from the original source tarball and then re-uploaded as this "submodule tarball".

Does this affect the toolchain?

NO
Associated issues

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2024-5187

Test Methodology

Pipeline build id: 669836

Rebased branch and updated target to fasttrack/3.0
Thank you @rikenm1

Auto cherry-pick results:

3.0-dev :white_check_mark: -> https://github.com/microsoft/azurelinux/pull/11042

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=674515&view=results


Raise custom exception when registering an existing class hash

When I call declare on an implementation contract to be used with a proxy, if it was previously declared, register_class_hash currently raises an exception containing the hash in the message string.
To improve usability, raise a custom exception that also contains the resulting class hash as a field, so that the existing declaration's class hash can be used directly.

Alternatively, should declare suppress the error if a class hash already exists, and/or should it simply update the entry (e.g. if a different alias is provided)?

I prefer option (4) above, since an update flag would make deploy easier to use in this scenario, and still retain the original error if an update is not desired.

the equivalent of (5) would be:
from starkware.crypto.signature.fast_pedersen_hash import pedersen_hash
from starkware.starknet.core.os.class_hash import compute_class_hash

def get_hash(contract_class):
    return compute_class_hash(
        contract_class=contract_class,
        hash_func=pedersen_hash
    )


[GLUTEN-3511][CORE] Support to add custom aggregate functions for extension

What changes were proposed in this pull request?
When transforming HashAggregateExec, it needs to get attributes from the aggregate function, but if there are some custom aggregate functions, it can not handle these custom aggregate functions when transforming.
Reuse ExpressionExtensionTrait to support this feature, add a new function called getAttrsForExtensionAggregateExpr to handle this.
Close #3511.
(Fixes: #3511)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

@PHILO-HE @rui-mo @baibaichen comments fix, please help to review again, thanks.

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_3514_time.csv
log/native_master_10_24_2023_277d1c4a7_time.csv
difference
percentage

q1
33.79
34.96
1.169
103.46%

q2
25.44
25.20
-0.244
99.04%

q3
40.03
40.14
0.108
100.27%

q4
37.65
37.18
-0.467
98.76%

q5
71.11
69.60
-1.502
97.89%

q6
7.32
8.82
1.501
120.52%

q7
87.86
88.00
0.132
100.15%

q8
84.89
87.02
2.130
102.51%

q9
123.37
121.90
-1.469
98.81%

q10
55.36
53.59
-1.770
96.80%

q11
20.12
20.02
-0.100
99.50%

q12
28.49
26.72
-1.763
93.81%

q13
48.45
49.37
0.929
101.92%

q14
19.21
18.89
-0.319
98.34%

q15
34.54
34.21
-0.328
99.05%

q16
16.03
16.39
0.358
102.24%

q17
100.49
102.21
1.724
101.72%

q18
148.19
148.12
-0.070
99.95%

q19
16.71
16.93
0.220
101.32%

q20
31.64
31.30
-0.345
98.91%

q21
222.22
223.35
1.133
100.51%

q22
13.28
13.34
0.058
100.44%

total
1266.16
1267.25
1.086
100.09%


Signal goroutine termination on event listener removal.

Fixes goroutine/memory leakage where an event consumer would stop receiving events from the channel while pending goroutines were still trying to deliver some.
The chosen approach only makes sense with unbuffered channels due to the select involved; as such, we change AddEventListener's signature to return a channel to the consumer instead of expecting one. Passing buffered channels to AddEventListener was never overly useful in the
first place, however, as we use goroutines to avoid blocking on slow receivers, implictly doing event buffering this way already.
Changes in detail:

Modify AddEventListener's signature.
Change listener's value type to struct holding both filters and a per-listener done channel.
Close done channel on RemoveEventListener, and select between outbound and done channel in event-processing goroutine.
Extend tests.
Make existing tests more robust.
Update examples.

Fixes #198.

I initially planned to let the goroutine close the channel upon reception of the done signal. Unfortunately, this can still lead to send-after-close-panics if there's still a receiver listening and other goroutines pending. This is one reason why I decided to leave it out; the other is that even if it worked, the close wouldn't fire if there were no more events coming in. In summary, we'd need a more sophisticated solution to enable a correct implementation of event-listener-removal-causes-event-channel-closure, something that can be taken care of by a different PR.
@sybrandy Would you mind taking a look at let me know what you think?
@gambol99 PTAL. :-)

Damn...sorry I missed this.  I lost the notification.  Regardless, it looks good to me.  Thanks!

@sybrandy no worries -- thanks for taking a look!


CMakeTools extension was unable to initialize: Error: spawn cmake ENOENT [See output window for more details]

somebody help me pls :<
i get trouble with VS Code
Version 1.21.1
Commit 79b44aa704ce542d8ca4a3cc44cfca566e7720f1
Date 2018-03-14T14:46:30.761Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64
and i follow this :
https://www.codeproject.com/Articles/1184735/Quick-Start-to-Use-Visual-Studio-Code-for-Cplusplu
but at step :
" Choose CMake:Configure for the first time. A new list bumps up; the list has all available configurations. "
i have error message :
CMakeTools extension was unable to initialize: Error: spawn cmake ENOENT [See output window for more details]
i use kubuntu 17.10
KDE plasma ver 5.10.5
cmake 0.0.17
cmaketools 0.10.4
im newbie pls guide me slowly :>

@ImKifu I recommend using the beta4 release (look at issue #274). In that issue, there also is a link to an incomplete documentation page.

It's likely that you don't have cmake on your $PATH. Have you installed CMake?

i use commend "ext install twxs.cmake"
i have installed it

@ImKifu He is talking about CMake, and not the VSCode extension "CMake".

tks @Randshot and @vector-of-bool
i have install Cmake.
i use Code Block with GNU GCC compiler.
and now i dont know how to add GNU GCC compiler in VS Code

@ImKifu It seems like your CMakeLists.txt file is wrong. This is not an issue with this extension, but rather with your CMakeLists.txt file.

CMakeLists.txt
but i have not touch CmakeLists.txt :<
how can it is wrong  TT

What output do you see from running cmake --version on the command line?

@vector-of-bool
here you are:
cmake version 3.11.0-rc4
CMake suite maintained and supported by Kitware (kitware.com/cmake).

Have you worked with CMake before? Is the CMakeLists.txt you attached the one you are using in your project?

no i have not worked with Cmake. i dont know how to check the CMakeLists.txt attached in my project or not.

CMake Tools contains a CMake: Quickstart command that you can run to generate a bare-minimum working CMake project. You can take the CMakeLists.txt it generates and adapt it to fit your needs.
If you have knowledge of build systems outside of CMake, you'll want to watch this video, which is a good introduction to using CMake for someone who understands a lot about building software already.
If you're just getting started with CMake and C++, don't worry about learning all of CMake yet: A bare minimum will get you started nicely.

Same issue in windows， v 0.10.4

@RPG3D, do you have CMake on your $PATH? If not, you're seeing #296, which will have a fix in the beta5 soon

i don know how to run code with Cmake :<
there was no button
first picture i click run code (Ctrl+Alt+N) to build code

@vector-of-bool , I added to system Path. I can run cmake in CMD

@ImKifu, CMake does not have a facility to simply run arbitrary code. Can I see the contents of your CMakeLists.txt? How did you do to create the test and a.out executables in your project directory?

tks @vector-of-bool . now i know VS code is text editor and Cmake is not an IDE
cmake is package software.
I just want to run my code from VSCode like codeblocks.
Sorry i am newbie and i have a litter confusion about Cmake. tks for spending time for me.
can you recommend me some thing to help me to build and run my code in VScode

Based on your screenshot, this should be a good starting CMakeLists.txt:
cmake_minimum_required(VERSION 3.7.2)
project(SomeProject)

add_executable(all-equal "week3_All Equal.cpp")

Then you can configure and build. I'd recommend not using spaces in your code filenames: That can cause a lot of confusion.
After building, you will have an executable named all-equal in the build/ folder that you can execute from the command line.
You can also launch a target using Shift+F5, and CMake Tools will start the program in the terminal, or Ctrl+F5 and CMake Tools will start the program in a debugger. Read more on debugging here.

@ImKifu, have you made any progress?

I am using an MSYS2 installation with cmake version 3.10.2 and cmake-tools version 0.10.4. Setting the path to cmake.exe is working if the build directory is filled by a manual cmake run, cmake-tools doesn't find the build program for "Unix Makefiles" and doesn't even search for MSYS2 Makefiles. So at least one step further but not finished.
I'll try to make cmake.exe available in path (which is not quite clear in an msys environment) and I'll try to install cmake-tools 0.11.0-beta5. I'll report the results here.

First change on the previous named setup:
	"settings": {
		"terminal.integrated.shell.windows": "D:/msys64/usr/bin/bash.exe",
		"terminal.integrated.shellArgs.windows": [
			"-i"
		],
		"terminal.integrated.env.windows": {
			"PATH": "/mingw64/bin;/usr/local/bin;/usr/bin;/bin;D:/msys64/bin/;D:/msys64/usr/local/bin;D:/msys64/usr/bin;D:/msys64/bin;D:/msys64/mingw64/bin/;%PATH%"
		}
	}

[x] cmake-tools using cmake working
[ ] MSYS Makefiles generator not found
[ ] Mingw Makefiles generator not found
[ ] Unix Makefiles generator not found

Next step for me is the installation of cmake-tools 0.11.0-beta5.

Okay, cmake-tools 0.11.0-beta5 installed. By the way: I like it, keep up the good work ;)
But sadly the detected kits in cmake-kits.json are my Windows installed clang and Visual Studio installations, nothing about MSYS or the MSYS MinGW part found. Any hints someone?

Again one step further: I added the path to the MSYS MinGW installation (in my case D:/msys64/mingw64/bin) to my system path variable and not only to the Visual Studio Code terminal path as shown above. Now the MSYS MinGW installation is found, Visual Studio Code shows the output [cms-client] None of preferred generators available on the system.
[rollbar] Unhandled exception: Unhandled Promise rejection: Changing build variant Error: Unable to determine CMake Generator to use {}
[rollbar] Unhandled exception: Unhandled Promise rejection: setVariant Error: Unable to determine CMake Generator to use {}
I will now try to set one of the generators MSYS Makefiles, MinGW Makefiles or Unix Makefiles manually.

Okay, we are close to the destination: setting "cmake.generator": "MinGW Makefiles" is working.

Thanks for this.
Adding D:\\msys64\\mingw64\\bin to the windows path, the following to cmake-kits.json and using the MinGW Makefiles generator works for me 👍
  {
    "name": "GCC 7.3.0",
    "compilers": {
      "CXX": "D:\\msys64\\mingw64\\bin\\g++.exe",
      "C": "D:\\msys64\\mingw64\\bin\\gcc.exe"
    }
  }

For anyone else looking at this error, I had a similar issue when trying to build a project which has a file named 'BUILD' in the root directory so it conflicted with the CMake Tools default build folder (changing the option in the workspace settings fixed it)

This issue is being closed because it appears to have been abandoned. If you require further assistance, please let us know and we can reopen it.


Exit status: 1 Xcode couldn't find a provisioning profile matching 'Extension'

New Issue Checklist

[X] Updated fastlane to the latest version
[X] I have read the Contribution Guidelines

Issue Description
First time to use Fastlane and I am trying to create a build, export and distributed to Fabric.
My app has an extension and when trying to call gym for adhoc, I get this error.
[01:46:08]: Exit status: 1
+---------------+-------------------------+
|            Build environment            |
+---------------+-------------------------+
| xcode_path    | /Applications/Xcode.app |
| gym_version   | 2.50.0                  |
| export_method | ad-hoc                  |
| sdk           | iPhoneOS10.3.sdk        |
+---------------+-------------------------+
[01:46:08]: ▸ === BUILD TARGET {Extension Target} OF PROJECT {Project Name} WITH CONFIGURATION Release ===
[01:46:08]: ▸ Check dependencies
[01:46:08]: ▸ No profiles for '{Extension bundle ID}' were found:  Xcode couldn't find a provisioning profile matching '{Extension bundle ID}'.
[01:46:08]: ▸ Code signing is required for product type 'App Extension' in SDK 'iOS 10.2'
I am using the following for my fastlane file. I have created an Adhoc build configuration on Xcode and set a provisioning profile created using fastlane match adhoc.
    match(type: "adhoc",
      app_identifier: <App Bundle ID>)

    match(type: "adhoc",
      app_identifier:  <Extension Bundle ID>)

    gym(scheme: <scheme>,
        workspace: <workspace>,
        include_bitcode: false,
        configuration: "Adhoc",
        clean: true,
        export_method: 'ad-hoc',
        xcargs: "ARCHIVE=YES" # Used to tell the Fabric run script to upload dSYM file
        )

Hey @capecrawler - would you mind sharing all of the output from your terminal as well as the output of fastlane env so we can have some more context to help debug this? 😄  Thanks!! 🐙

Hi @ohayon, here is the output. Thanks for checking out. :D
✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.6

Ruby
2.2.4

Bundler?
false

Git
git version 2.11.0 (Apple Git-81)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.12.6 (16G29)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
true

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.3.3

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.49.0"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
    #cocoapods

  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Create certificates"
  # circles123 for passphrase
  lane :certificates do
    match(app_identifier: ["com.circles.selfcare", "com.circles.selfcare.UsageExtension"], readonly: true)
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    #disable_automatic_code_signing
    match(type: "adhoc",
      app_identifier: "com.circles.selfcare")

    match(type: "adhoc",
      app_identifier:  "com.circles.selfcare.UsageExtension")

    gym(scheme: 'Selfcare',
        workspace: "Selfcare.xcworkspace",
        include_bitcode: false,
        configuration: "Adhoc",
        clean: true,
        export_method: 'ad-hoc',
        xcargs: "ARCHIVE=YES" # Used to tell the Fabric run script to upload dSYM file
        )

    emails = values[:test_email] ? values[:test_email]<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS># You can list more emails here
    groups = values[:test_email] ? nil : nil # You can define groups on the web and reference them here

    crashlytics(api_token: '1b8890141bd3562273481de87f208a176cced11b',
             build_secret: '2bab54810e4dceca952941b3361bc7633be534979c0e6790266b3e417fcf82b4',
                   emails: emails,
                   groups: groups,
                    notes: 'Distributed with fastlane', # Check out the changelog_from_git_commits action
            notifications: true) # Should this distribution notify your testers via email?

    #pilot
    #enable_automatic_code_signing

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta_release do
    disable_automatic_code_signing
    match(git_url<EMAIL_ADDRESS>      type: "appstore",
      app_identifier: "com.circles.selfcare")

    match(git_url<EMAIL_ADDRESS>      type: "appstore",
      app_identifier:  "com.circles.selfcare.UsageExtension")

    gym(scheme: 'Selfcare',
        workspace: "Selfcare.xcworkspace",
        include_bitcode: false,
        configuration: "Release",
        clean: true,
        export_method: 'app-store',
        xcargs: "ARCHIVE=YES" # Used to tell the Fabric run script to upload dSYM file
        )
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym(scheme: "Selfcare") # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used. No personal data is recorded.
# Learn more at https://github.com/fastlane/fastlane#metrics

`./fastlane/Appfile`
app_identifier "com.circles.selfcare" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "5Y8LG9HWCS" # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.50.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

CFPropertyList
2.3.5

activesupport
<IP_ADDRESS>

addressable
2.5.1

babosa
1.0.2

bigdecimal
1.2.6

bundler
1.14.3

claide
1.0.1

cocoapods
1.2.0

cocoapods-core
1.2.0

cocoapods-deintegrate
1.0.1

cocoapods-downloader
1.1.3

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.0.0

cocoapods-trunk
1.1.2

cocoapods-try
1.1.0

colored
1.2

colored2
3.1.2

commander
4.4.3

commander-fastlane
4.4.5

declarative
0.0.9

declarative-option
0.1.0

domain_name
0.5.20161129

dotenv
2.2.0

escape
0.0.4

excon
0.54.0

faraday
0.11.0

faraday-cookie_jar
0.0.6

faraday_middleware
<IP_ADDRESS>

fastimage
2.1.0

fourflusher
2.0.1

fuzzy_match
2.0.4

gh_inspector
1.0.3

google-api-client
0.12.0

googleauth
0.5.1

highline
1.7.8

http-cookie
1.0.3

httpclient
2.8.3

hurley
0.2

i18n
0.7.0

io-console
0.4.3

json
1.8.1

jwt
1.5.6

libxml-ruby
2.9.0

little-plugger
1.1.4

logging
2.1.0

memoist
0.15.0

mime-types
3.1

mime-types-data
3.2016.0521

mini_magick
4.5.1

minitest
5.4.3

molinillo
0.5.7

multi_json
1.12.1

multi_xml
0.6.0

multipart-post
2.0.0

nanaimo
0.2.3

nap
1.1.0

netrc
0.7.8

nokogiri
1.5.6

os
0.9.6

plist
3.2.0

power_assert
0.2.2

psych
2.0.8

public_suffix
2.0.5

rake
10.4.2

rdoc
4.2.0

representable
3.0.4

retriable
2.1.0

rouge
1.11.1

ruby-macho
0.2.6

rubygems-update
2.5.2

rubyzip
1.2.0

security
0.1.3

signet
0.7.3

slack-notifier
1.5.1

sqlite3
1.3.13

terminal-notifier
1.7.1

terminal-table
1.7.3

test-unit
3.0.8

thread_safe
0.3.5

tty-screen
0.5.0

tzinfo
1.2.2

uber
0.0.15

unf
0.1.4

unf_ext
<IP_ADDRESS>

unicode-display_width
1.1.3

word_wrap
1.0.0

xcodeproj
1.4.4

xcpretty
0.2.4

xcpretty-travis-formatter
0.0.4

generated on: 2017-08-01

Hey @capecrawler thanks for sharing that! Does your extension have the same bundle ID as your main app?

Hi @ohayon, my extension has different bundle ID than the main app.


perf: TypeAdapter instantiated once

Simple test example:
from datetime import date, datetime
from timeit import timeit

from pydantic import TypeAdapter

def parse_obj(annot, value):
    ta = TypeAdapter(annot)

    result1 = timeit(lambda: ta.validate_python(value), number=10000)
    result2 = timeit(lambda: TypeAdapter(annot).validate_python(value), number=10000)

    print(f'{annot.__name__:<8} {result2 / result1:.2f}')

if __name__ == '__main__':
    for t, v in (
        (int, "0"),
        (float, '0.5'),
        (str, b"123"),
        (bool, 'true'),
        (date, '2024-01-01'),
        (datetime, '2024-01-01T00:00:00'),
    ):
        parse_obj(t, v)

output:
int      131.77
float    107.20
str      109.12
bool     128.88
date     283.73
datetime 272.90

Refer to: https://docs.pydantic.dev/latest/concepts/performance/#typeadapter-instantiated-once

Is there a measurable impact on the application's performance with this change? We don't call parse_args() very often - just at startup I believe.
It's hard to say no to faster startup, but I'm curious if there this does anything in practice besides add a few lines of code.

If the TypeAdapter has to be instantiated every time it is used, there will be a performance impact, and as stated in the documentation, it is possible to modify the number of times the test script is run to see this change.
For now, it's just a startup call, so it's not a big performance hit. But I think this is a usage specification, so if you want to use TypeAdapter in a function, you can just introduce it into the function.

I understand that that the change is objectively going to be a performance improvement, but I'm asking about the magnitude of benefit.

I understand that that the change is objectively going to be a performance improvement, but I'm asking about the magnitude of benefit.

Depends on how many times the TypeAdapter is called in the code. Take 100 times as an example. Here are the gain multipliers for different types
int      0.15
float    15.17
str      19.41
bool     18.27
date     30.53
datetime 45.37

I don't think TypeAdapter is even necessary here.
This model uses validate_assignment=True, so setting the CLI args is already automatically validated by pydantic. The TypeAdapters are extraneous.

I'm sorry, but I have not investigated the use of this model in the project and cannot give a conclusion.

Depends on how many times the TypeAdapter is called in the code. Take 100 times as an example. Here are the gain multipliers for different types

Sorry, to be clear, I'm asking if the change has a measurable impact on this project. It's OK if you haven't profiled it, was just curious.

I'm sorry, but I have not investigated the use of this model in the project and cannot give a conclusion.

I believe it is not needed, because calling setattr on a pydantic model with validate_assignment=True will get runtime type checking.
If you can explain why it is needed, then we can accept this PR as a minor performance enhancement.
Otherwise, the actual change that is needed is to remove the usage of TypeAdapter entirely bc it isn't doing anything. Thanks to your PR that this deeper issue was recognized.

I believe it is not needed, because calling setattr on a pydantic model with validate_assignment=True will get runtime type checking.

I tested the behavior of validate_assignment.

Otherwise, the actual change that is needed is to remove the usage of TypeAdapter entirely bc it isn't doing anything. Thanks to your PR that this deeper issue was recognized.

Yes, I agree.


Add workflow for release/nuget build

I changed CI build and test to be based on release build which lowered coverage a bit which is interesting.


Revert accidental deletion

Please merge this whether or not it meets the 4 PM cutoff for 3.1-preview2

Merging since this doesn't affect PR builds.


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 145 ms

Resolved: ClamAV performance has improved in 24c8a6c after 5 minutes.


Calculate the HU value

The Hounsfield scale of CT is set around water measuring 0 HU. By altering the attenuation level (mid-HU value) and range (extent of gray scale) at which the image is viewed, the tissue to be displayed can be determined.
Will LEAP add a function to calculate the HU value automatically?

Yep, that's one of the reasons why I developed the XrayPhysics package.  Just install this package and then run the following code:
from xrayphysics import *
physics = xrayPhysics()
physics.use_mm()
f = 1000.0/physics.mu('water', effectiveEnergy)*f - 1000.0

For this to work you'll need to know the effective x-ray energy (in units of keV) of the data; see the effectiveEnergy variable in the code above.  This'll be a number between 50 and 100 keV for most medical purposes.

I used the 3D reconstructed result from LEAP and set the effective x-ray energy to 100. But the HU value calculated is strange from -4981677.0 to 132672040.0. Is it normal?
from xrayphysics import *
physics = xrayPhysics()
physics.use_mm()
effectiveEnergy = 100
f = np.load('../recon_npy/recon1.npy')
f = 1000.0/physics.mu('water', effectiveEnergy)*f - 1000.0
print(np.min(f[f.shape[0]//2,:,:]))
print(np.max(f[f.shape[0]//2,:,:]))

Ya, those values are not normal.  But based on those values, it seems like before that scaling, i.e., the values in your npy file, were in the range: -85 to 2264.  That range of values looks like Modified Hounsfield Units (MHU) which is HU+1000.0.  Thus, I think that data that went into the LEAP reconstruction was already scaled.  I think all you need to make that result in HU is to subtract 1000.

aha, that make sense. Thanks!


asyncData/fetch + v-html bind performance issue on firefox

Versions

nuxt: v2.13.3
node: v14.5.0

Desc

asyncData or fetch method to request dynamic data
render data html using v-html tag
it works well on chrome (within 1s)
load too slow on firefox (more than 6s usually)

Reproduction
at first i think this sth related with vue.
vue v2.6.11 v-html bind test: https://jsfiddle.net/willin/nmqp3xty/

nuxt demo page:
<template>

    Demo Page
    {{ slug }}

{{ title }}

</template>

What is Expected?
like chrome

Please provide a minimal working repro in nuxt on CSB or github not just page code

sure, wait for a while.

@aldarund
source code project: https://github.com/wshow/nuxt-render-perfomance
firefox profile:  https://raw.githubusercontent.com/wshow/nuxt-render-perfomance/master/firefox-profile.json

@willin so here it is on CSB https://codesandbox.io/s/github/wshow/nuxt-render-perfomance
How to repro in FF?
I tried to open directly https://87j4b.sse.codesandbox.io/post/test or navigate from index page . Both work withing 1s on FF 79

chrome profile: chrome-profile.txt
i run locally this demo,  filrefox about 1.5s+, chrome within 50ms.

Firefox: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:79.0) Gecko/20100101 Firefox/79.0"
Chrome: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_16_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4209.3 Safari/537.36"

in my ff its also 50ms
https://i.imgur.com/dOQ40AD.png
Maybe you have some addon in FF? Or try to do in incognito tab

emmmm i've disabled all extentions and try, still 1400ms around.
firefox-profile.txt

Certainly didnt happen to me... Maybe its firefox on mac specific
profile.txt

firefox-profile.txt
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Firefox/78.0"
2s+ on macbook pro (previous iMac)

i've tried window firefox. 33ms.
... i wonder why

Ye, i tried on win. So its mac specific..
Probably something that is used implemented slow on mac FF. Like dynamic import of  json maybe. Try to experiment and timelog what take most time e.g. import itself maybe?

  async fetch() {
    // const { title, html } = await import(`~/assets/posts/${this.slug}.json`);
    const { title, html } = await this.$http.$get(`/posts/${this.slug}.json`);
    this.title = title;
    this.html = html;
  }

still 1400ms without dynamic import.

?


Token error when logging into new 22.1 insider container

PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue
Get a token error when logging into a new container using the 22.1 insider artifacts.
Scripts used to create container and cause the issue
$containerName = 'testsandbox'
$credential = New-Object -TypeName "System.Management.Automation.PSCredential" -ArgumentList 'admin', $(ConvertTo-SecureString -String 'Pass@word1' -AsPlainText -Force)
$sasToken = <hidden>

$artifactUrl = Get-BcArtifactUrl -type sandbox -country us -select nextminor -sasToken $sasToken
New-BCContainer -accept_eula -containerName $containerName -artifactUrl $artifactUrl -auth NavUserPassword -Credential $credential

Full output of scripts
BcContainerHelper version 5.0.0
BC.HelperFunctions emits usage statistics telemetry to Microsoft
BcContainerHelper is version 5.0.0
BcContainerHelper is running as administrator
HyperV is Enabled
UsePsSession is True
Host is Microsoft Windows 11 Pro - 10.0.22621.1635
Docker Client Version is 20.10.24
Docker Server Version is 20.10.24
Removing Session testsandbox
Removing container testsandbox
Removing Desktop shortcuts
Removing C:\ProgramData\BcContainerHelper\Extensions\testsandbox
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.1668
Creating Container testsandbox
Style: sandbox
Multitenant: Yes
Version: 22.1.56379.0
Platform: 22.0.56306.0
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.20348.1668 (ltsc2022)
Host OS Version: 10.0.22621.1635 (22H2)
Using process isolation
Using locale en-US
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Files in C:\ProgramData\BcContainerHelper\Extensions\testsandbox\my:
- AdditionalOutput.ps1
- MainLoop.ps1
- SetupVariables.ps1
- updatecontainerhosts.ps1
Creating container testsandbox from image mcr.microsoft.com/businesscentral:10.0.20348.1668
b05fb235e3947ff1c77fffc7fecbc13e84dc2040a911b494438b8ef132e7857e
Waiting for container testsandbox to be ready
Using artifactUrl https://bcinsider.azureedge.net/sandbox/22.1.56379.0/us
Using installer from C:\Run\210-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\sandbox\22.1.56379.0\platform\ServiceTier\Program Files
c:\dl\sandbox\22.1.56379.0\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\22.1.56379.0\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\22.1.56379.0\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\22.1.56379.0\platform\WebClient\Microsoft Dynamics NAV
Copying ModernDev Files
c:\dl\sandbox\22.1.56379.0\platform
c:\dl\sandbox\22.1.56379.0\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\22.1.56379.0\us\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\22.1.56379.0\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\22.1.56379.0\us\Extensions
Copying Applications
C:\dl\sandbox\22.1.56379.0\platform\Applications
Copying Applications.US
C:\dl\sandbox\22.1.56379.0\us\Applications.US
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Importing license file
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting tenant database
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Stopping Business Central Service Tier
Installation took 178 seconds
Installation complete
Initializing...
Setting host.containerhelper.internal to <IP_ADDRESS> in container hosts file
Starting Container
Hostname is testsandbox
PublicDnsName is testsandbox
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 05C960C0BC76983769D3D6114A0FEA58FAB86FA4
DNS identity testsandbox
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Using application pool name: BC
Using default container name: NavWebApplicationContainer
Copy files to WWW root C:\inetpub\wwwroot\BC
Create the application pool BC
Create website: NavWebApplicationContainer without SSL
Update configuration: navsettings.json
Done Configuring Web Client
Enabling Financials User Experience
Dismounting Tenant
Mounting Tenant
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Creating http download site
Setting SA Password and enabling SA
Creating admin as SQL User and add to sysadmin
Creating SUPER user
Container IP Address: <IP_ADDRESS>
Container Hostname  : testsandbox
Container Dns Name  : testsandbox
Web Client          : http://testsandbox/BC/?tenant=default
Dev. Server         : http://testsandbox
Dev. ServerInstance : BC
Dev. Server Tenant  : default
Setting testsandbox-default to <IP_ADDRESS> in container hosts file

Files:
http://testsandbox:8080/ALLanguage.vsix

Container Total Physical Memory is 31.6Gb
Container Free Physical Memory is 2.5Gb

Initialization took 24 seconds
Ready for connections!
Reading CustomSettings.config from testsandbox
Creating Desktop Shortcuts for testsandbox
Cleanup old dotnet core assemblies
Container testsandbox successfully created

Screenshots
The error upon login:

Additional context

Only appears to be happening on 22.1 insider builds, and it appears to have started over this past weekend as I rebuilt my container last Friday and did not see this error. Did not test next major artifacts.
I have updated to BcContainerHelper 5.0 and did not fix the issue.
If I run the above script using current latest release (22.0.54157.56368) I do not get the error (and still using BcContainerHelper 5.0).

Here is the AL call stack from the error:
Time stamp on error:
2023-05-08T20:06:54.1131170Z

AL call stack:
"Azure AD Mgt."(CodeUnit 6300).GetAccessToken - Base Application by Microsoft
"Azure AD Mgt."(CodeUnit 6300).OnGetUserToken - Base Application by Microsoft
"System Action Triggers"(CodeUnit<PHONE_NUMBER>).GetUserToken

I can definitely repro that.

Thanks for the update!
It is not affecting any of our pipelines, scripts, etc. so no worries there, and yes I can confirm that once you click the dialog to close it, everything appears to be ok.


Upgrade Apache Commons Collections to v3.2.2

Version 3.2.1 has a CVSS 10.0 vulnerability. That's the worst kind of
vulnerability that exists. By merely existing on the classpath, this
library causes the Java serialization parser for the entire JVM process
to go from being a state machine to a turing machine. A turing machine
with an exec() function!
https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-8103
https://commons.apache.org/proper/commons-collections/security-reports.html
http://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability/

Thanks for the contribution. I've started reviewing the change.

Yikes.  As this is a read-only mirror of our internal repo, I made the change there and it should be pushed out momentarily.  Very much appreciate the heads-up.

I'm going to close this PR since you've fixed it internally.

Thanks, Ian.
From:  Ian Flanigan<EMAIL_ADDRESS>Reply-To:  carewebframework/carewebframework-core<EMAIL_ADDRESS>Date:  Thursday, March 10, 2016 at 11:05 AM
To:  carewebframework/carewebframework-core<EMAIL_ADDRESS>Cc:  Doug Martin<EMAIL_ADDRESS>Subject:  Re: [carewebframework-core] Upgrade Apache Commons Collections to v3.2.2 (#3)
I'm going to close this PR since you've fixed it internally.
—
Reply to this email directly or view it on GitHub.


vcpkg doesn't install CMake targets for RelWithDebInfo and MinSizeRel

For libraries that provide CMake targets when installed (eg. SDL2), vcpkg will only generate import files for Debug and Release (eg. SDL2Targets-debug.cmake and SDL2Targets-release.cmake). This leaves vcpkg/CMake to incorrectly default to Debug when using RelWithDebInfo and MinSizeRel, causing bugs like linking the wrong version or not copying the DLL (#2559 #3463).
One can workaround this at the project level, but this shouldn't be required:
set_target_properties(SDL2::SDL2 SDL2::SDL2main PROPERTIES
	MAP_IMPORTED_CONFIG_MINSIZEREL Release
	MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release
)

vcpkg should automatically support the RelWithDebInfo and MinSizeRel targets as Release, either by generating import files for all 3 or redirecting them like in the workaround above.

I also looked into this and removed the mapping in my PRs for fftw and hdf5.
Reasoning:
a) This seems to be a CMake issue and only applys for multi configuration generators
b) If you need the mapping behavior you probably want to set it globally yourself with:
set(CMAKE_MAP_IMPORTED_CONFIG_MINSIZEREL Release)
set(CMAKE_MAP_IMPORTED_CONFIG_RELWITHDEBINFO Release)

within your project.
Knowing the cmake behavior the vcpkg cmake toolchain file could probably set those values for us if they are not set.

I dug around but it sounds like CMake should already handle that: https://gitlab.kitware.com/cmake/cmake/issues/16091
Since most libraries only export a single universal configuration and it's vcpkg splitting them into Debug/Release versions, I assume the issue is somewhere on vcpkg's end.

Nope, I would say it is a CMake issue:
  // If we have not yet found it then the project is willing to try
  // any available configuration.
  if (!*loc && !*imp) {
    std::vector<std::string> availableConfigs;
    if (const char* iconfigs = this->GetProperty("IMPORTED_CONFIGURATIONS")) {
      cmSystemTools::ExpandListArgument(iconfigs, availableConfigs);
    }
    for (std::vector<std::string>::const_iterator aci =
           availableConfigs.begin();
         !*loc && !*imp && aci != availableConfigs.end(); ++aci) {
      suffix = "_";
      suffix += cmSystemTools::UpperCase(*aci);
      std::string locProp = locPropBase;
      locProp += suffix;
      *loc = this->GetProperty(locProp);
      if (allowImp) {
        std::string impProp = "IMPORTED_IMPLIB";
        impProp += suffix;
        *imp = this->GetProperty(impProp);
      }

This should fallback to Release for MinSizeRel and RelWithDebInfo because these configurations are defined by CMake. Due to the code above it will always consider Debug before Release because the list is probably alphabetically ordered.   But in the meantime we could just overwrite global mappings if those are not set in the toolchain file.

This issue hasn’t been updated in a year, if it is still an issue, please reopen.


The procedure of adding depth loss

Hi! Sorry to bother again! Since I'm not really familiar with CUDA programing, I'm not sure whether my process in on the right way.
I noticed that you have posted a version of depth-diff-gaussian-rasterization with forward and backward of depth loss in here, so all I should do is to add my depth pic into the class Camera() in scene/cameras.py， and then call the depth in train.py when calculate loss, right?
# Render
render_pkg_re = render(viewpoint_cam, gaussians, pipe, background, d_xyz, d_rotation, d_scaling, dataset.is_6dof)
image, viewspace_point_tensor, visibility_filter, radii = render_pkg_re["render"], render_pkg_re[
    "viewspace_points"], render_pkg_re["visibility_filter"], render_pkg_re["radii"]
pred_depth = render_pkg_re["depth"]

# Loss
gt_image = viewpoint_cam.original_image.cuda()
mask = viewpoint_cam.mask
gt_depth = viewpoint_cam.depth

Ll1 = l1_loss(image, gt_image)
loss = (1.0 - opt.lambda_dssim) * Ll1 + opt.lambda_dssim * (1.0 - ssim(image, gt_image))

if gt_depth is not None:
    gt_depth = gt_depth.cuda()
    loss += l1_loss(pred_depth[0], gt_depth)
loss.backward()

Here's the small demo that I added depth loss, and I wondered am I right, or there's other loss function should be called when calculate depth loss?
Looking foward to your reply!

Hi, your calculation process is correct.
In my experiment, I was able to achieve relatively good geometric optimization by just adding an L1 depth loss. One point to note is that the depth range from rasterization is not 0-1. You need to use some mapping, such as normalization, to output the depth.png. Here is a simple example for depth visualization

Thanks for point out the depth range problem! I haven't noticed that and it produce a terrible psnr, which bother me a long time. I'll try your suggestion in a moment.


Enhancement - Please add examples of "vocabulary bundle" and "description bundle" to example-firesat.

Enhancement Requests:
Currently the 'disjoint axiom' generation during oml2owl is only performed on vocabulary bundles.
However, except for the OML syntax documentation, there are no examples of an implementation.
Please add examples to the 'example-firesat' for bundles upon which the owl-reason tool can be run to perform disjointness validations (for example on range restrictions).

In the firesat-example, the description bundle uses a vocabulary bundle, as seen in this line.
When you run Oml2Owl on those ontologies (e.g., when you run gradlew owlToOwl) it should generate the disjointness axioms in the fse vocabulary bundle (and in its extended foundation bundle). The subsequent owlReason task should then find inconsistencies in the descriptions if any.
Let me know if this works as expected for you.

Closing this for lack of activity. If you still need some help, feel free to reopen.


Fixing bug 1144861 in samples used by accessibility test team.

Fixes Issue #327.
Description
AutomationProperty.Name was not exposed for each ListBoxItem. Adding AutomationProperty.Name to the ListBoxItem.ItemContainer allowed Narrator to read the Title of each Movie. Narrator required AutomationProperty.Name be added to the ListBox.ItemContainer to read the Movie titles. Otherwise, Narrator reads the class name, which is the same for all Movie items.
Customer Impact
Screenreader reads as Custom combo box. Movie for all the movie selection and also not reading the name of the movie.
Regression
No. This sample is used for Accessibility testing and never fully supported Narrator.
Testing
The sample project was tested using Narrator to confirm that the names of the movies are being read correctly.

Hi @SamBent.  Could you take a quick look at this one?  Thanks.

Thanks, @SamBent.


Add non technical documentation about project's vision

At the root directory, Add file named Vision.MD
Write an overview about the project's vision using markdown. Include links and resources which explain the anyway and vision zero.

Keep in mind: The Goal here is to help new contributors to understand the project and it needs. It should provide a good replacement to AnyWay introduction talk in case a project leader is not around to give one.

already merged