Code polish.

A lot of changes. Main: Check visudo in system-settings. Added passed "cancel" variant in output arrays.

Ok, I'll look into it. In the future, can you make a pull request to your fork and merge changes from main branch, so I can merge your commits with just onw click?
For smooth operation:

merge updates from main branch to your fork.
make your changes
send pull request

Ok. I will do. Thanks


Smart select fields do not work with preload (struct is not loaded)

GORM Playground Link
https://github.com/go-gorm/playground/pull/321
Description
When I try to select only specific fields, gorm seems doesn't support that.
See issue:
https://github.com/go-gorm/gorm/issues/4015

It seems to be required reference column(companies(id)).
package main

import (
	"fmt"
	"gorm.io/driver/postgres"
	"gorm.io/gorm"
)

type User struct {
	gorm.Model
	Name      string
	CompanyID *int
	Company   Company
}

type Company struct {
	ID      int
	Name    string
	Address string
}

func main() {
	dsn := "host=postgres user=postgres password=***** dbname=postgres port=5432"
	db, err := gorm.Open(postgres.Open(dsn), &gorm.Config{})
	if err != nil {
		panic("failed to connect database")
	}

	db.AutoMigrate(&User{}, &Company{})

	db.Create(&User{
		Name: "User1",
		Company: Company{
			Name:    "Company1",
			Address: "co-address",
		},
	})

	var result User

	db.Debug().Preload("Company", func(tx *gorm.DB) *gorm.DB {
		return tx.Select("name", "address")
	}).First(&result)

	fmt.Printf("name & address:%+v\n", result.Company)

	db.Debug().Preload("Company", func(tx *gorm.DB) *gorm.DB {
		return tx.Select("id", "name")
	}).First(&result)

	fmt.Printf("id & name:%+v\n", result.Company)

	db.Debug().Preload("Company", func(tx *gorm.DB) *gorm.DB {
		return tx.Select("*")
	}).First(&result)

	fmt.Printf("*:%+v\n", result.Company)
}

2021/05/14 04:12:07 /workspace/main.go:43
[0.963ms] [rows:1] SELECT "name","address" FROM "companies" WHERE "companies"."id" = 1

2021/05/14 04:12:07 /workspace/main.go:43
[3.003ms] [rows:1] SELECT * FROM "users" WHERE "users"."deleted_at" IS NULL ORDER BY "users"."id" LIMIT 1
name & address:{ID:0 Name: Address:}

2021/05/14 04:12:07 /workspace/main.go:49
[1.288ms] [rows:1] SELECT "id","name" FROM "companies" WHERE "companies"."id" = 1

2021/05/14 04:12:07 /workspace/main.go:49
[2.898ms] [rows:1] SELECT * FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = 1 ORDER BY "users"."id" LIMIT 1
id & name:{ID:1 Name:Company1 Address:}

2021/05/14 04:12:07 /workspace/main.go:55
[1.728ms] [rows:1] SELECT * FROM "companies" WHERE "companies"."id" = 1

2021/05/14 04:12:07 /workspace/main.go:55
[3.458ms] [rows:1] SELECT * FROM "users" WHERE "users"."deleted_at" IS NULL AND "users"."id" = 1 ORDER BY "users"."id" LIMIT 1
*:{ID:1 Name:Company1 Address:co-address}

https://github.com/go-gorm/gorm/blob/a480bd85450d444d2526a309f2ecae07cac814c0/callbacks/preload.go#L139-L163

So the question is - should gorm still select "id" if it wasn't provided by a user? 🤔 or just return an empty set like now.


Introduction feedback

Add better description of bias and ML from the intro (see slides from this quarter)

https://github.com/hschafer/Intro-ML/blob/21e20a682d054b04a099e14ba4c86b46f1922fb7/book_source/source/intro/index.md?plain=1#L28 typo: "...in the screenshot about..."

https://github.com/hschafer/Intro-ML/blob/21e20a682d054b04a099e14ba4c86b46f1922fb7/book_source/source/intro/index.md?plain=1#L47 typo: "...how you to build them well."

https://github.com/hschafer/Intro-ML/blob/21e20a682d054b04a099e14ba4c86b46f1922fb7/book_source/source/intro/index.md?plain=1#L56 typo: "...these our the ones"


Update documentation for 1.0.0 version number.

Need to update Fluo's documentation for 1.0.0.   Like in some places the fluo 1.0.0-beta2 tar ball is mentioned.

I think the version in all of the poms should be changed from 1.0.0-beta-3-SNAPSHOT to 1.0.0-SNAPSHOT.

Since the final release will be 1.0.0-incubating, I wonder if there's going to be an issue with any version ranges... for example if -incubating sorts before, and is treated as "older" than -SNAPSHOT by maven.

Since the final release will be 1.0.0-incubating, I wonder if there's going to be an issue with any version ranges... for example if -incubating sorts before, and is treated as "older" than -SNAPSHOT by maven.

Ooooppps, @ctubbsii I didn't see this comment before merging.  Just looked at the diffs and merged.   Do you think something needs to be done?

@keith-turner, there shouldn't be a problem.  @ctubbsii tested it yesterday and -incubating sorts after.


changed url endpoint for submit

Changed url endpoint from childchainUrl to watcherUrl

huh Git Diffs is really weird for large build files, I swear I only change like 1 line of code


HTTP 400 bad request on ChannelMessageSendEmbed with missing value

Hi,
I'm seeing a discord API error while using ChannelMessageSendEmbed. The error is:
error="HTTP 400 Bad Request, {\"embed\": [\"fields\"]}"
It seems like this is caused by an empty value key in the MessageEmbedField struct. Value is json tagged as omitempty, would it make sense to remove this tag so the key is sent every time?

This isn't caused by the omitempty tag; field values cannot be an empty string on the API level.

Good to know, should discordgo throw an error for blank values then? The API response is non-specific and doesn't really help solve the problem.

The library in general doesn't really check for invalid inputs, as these can change over time on Discord's end and there generally isn't a ton of documentation on exactly what inputs are rejected and what aren't. The impetus of ensuring inputs are valid is generally left to the user in these scenarios, and setting a precedent otherwise would require a large shift in library code; I know it's not an ideal solution, but the general mission of the library is to be as low-level as possible.


Fix XML in the Escolios

Does this mean fixing the structure of the XML to align with our intended schema?

Actually, I went ahead and did this --  I think I assigned it by accident!


Add Zep ecosystem doc and notebook

Why are these changes needed?
Added: Ecosystem markdown and Jupyter notebook demonstrating how to build Autogen agents with Zep's memory layer.
Related issue number

Checks

[X] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[] I've made sure all auto checks have passed.

@microsoft-github-policy-service agree company="Zep Software, Inc."

Hi @danielchalef - with the new release of autogen 0.4 we are going to be shortly coming up with a policy to provide clarity on the best way to create, discover, and share 3rd party integrations with AutoGen. Stay Tuned

This PR is against AutoGen 0.2. AutoGen 0.2 has been moved to the 0.2 branch. Please rebase your PR on the 0.2 branch or update it to work with the new AutoGen 0.4 that is now in main.

@rysweet Rebased on 0.2. Base branch for PR switched to 0.2.

@jackgerrits @rysweet fixed formatting and spelling. pre-commit tests now pass.

Thanks @danielchalef!
@jackgerrits I'm not sure where this one falls wrt the proposed policy updates.

We should take the 0.2 one, and then for 0.4 would you check this and consider following the discovery guidance? https://microsoft.github.io/autogen/dev/user-guide/extensions-user-guide/index.html#creating-your-own-community-extension @danielchalef

Yeah - will be happy to do so.

Just realized why the CI is failing for this one @danielchalef. The notebook needs to be edited so that is displayed on the website (just adding some metadata). See here: https://github.com/microsoft/autogen/blob/0.2/notebook/contributing.md
Once that is done the link checker should be happy

@jackgerrits Oops. I missed that. Fixed. Thx!

@rysweet thanks!


Using llama other than MPT

Hello, before issues, thank you very much for your work!
The paper says that you can use the Llama model in addition to MPT, but when I change it to the llama model in inference, an error occurs. I thought it was not supported during the modeling process, but if you let me know if there is a new code for this or if I couldn't find it in the existing code, I would appreciate it!

Thanks for your interest in our work. Our model is based on openflamingo. Therefore, since openflamingo doesn't support the llama as the LLM, our model also can't support  llama.


Update scalafmt-core to 3.7.16

About this PR
📦 Updates org.scalameta:scalafmt-core from 3.7.15 to 3.7.16
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalameta", artifactId = "scalafmt-core" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

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

Comparison is base (77d8ff2) 91.60% compared to head (50e36db) 84.15%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #404      +/-   ##
==========================================
- Coverage   91.60%   84.15%   -7.45%
==========================================
  Files           6        4       -2
  Lines         143      101      -42
  Branches        4        0       -4
==========================================
- Hits          131       85      -46
- Misses         12       16       +4

Flag
Coverage Δ

2.12
?

2.13
?

3
84.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 6 files with indirect coverage changes

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

Superseded by #405.


cannot proceed compile process with tag version 3.0.6

I cannot proceed compiling with v3.0.6.
I uncompressed tarball ModSecurity-3.0.6.tar.gz, and run build.sh

[root@localhost ModSecurity-3.0.6]# ./build.sh
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build'.
libtoolize: copying file 'build/libtool.m4'
libtoolize: copying file 'build/ltoptions.m4'
libtoolize: copying file 'build/ltsugar.m4'
libtoolize: copying file 'build/ltversion.m4'
libtoolize: copying file 'build/lt~obsolete.m4'
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
configure.ac:50: installing './ar-lib'
configure.ac:50: installing './compile'
configure.ac:140: installing './config.guess'
configure.ac:140: installing './config.sub'
configure.ac:45: installing './install-sh'
configure.ac:45: installing './missing'
parallel-tests: installing './test-driver'
examples/multiprocess_c/Makefile.am: installing './depcomp'
configure.ac: installing './ylwrap'
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git

apparently, it's not a git repository, and building process need it to be a git repository.
And I run ./configure --prefix=/usr/local/modsec, I got a configure error:

configure: error:
libInjection was not found within ModSecurity source directory.
libInjection code is available as part of ModSecurity source code in a format
of a git-submodule. git-submodule allow us to specify the correct version of
libInjection and still uses the libInjection repository to download it.
You can download libInjection using git:
 $ git submodule init
 $ git submodule update

[root@localhost ModSecurity-3.0.6]# git submodule init
fatal: not a git repository (or any of the parent directories): .git

How can I deal with this situation?
Is there any way to compile with a released version?
Thanks!

Hello @chenjinlei ,
When you are using a ModSecurity release's tar.gz file as your starting point you don't need to do the two git submodule steps or build.sh.
Just start with the ./configure step.

I don't think I can find configure..., from README it seems configure is generated by running build.sh...

Hello @chenjinlei ,
When you are using a ModSecurity release's tar.gz file as your starting point you don't need to do the two git submodule steps or build.sh.
Just start with the ./configure step.

Hello @chenjinlei ,
You are mistaken. The file 'modsecurity-v3.0.6.tar.gz' located at: https://github.com/SpiderLabs/ModSecurity/releases/tag/v3.0.6
includes the file 'configure'.

Hello @chenjinlei ,
You are mistaken. The file 'modsecurity-v3.0.6.tar.gz' located at: https://github.com/SpiderLabs/ModSecurity/releases/tag/v3.0.6
includes the file 'configure'.

Oh, thanks martin! I downloaded from tag version...
the release version tarball works just fine.


[Feature] Add sorting options (other than pure profit)

Filtering options that will be made available first :

Trade margin (aUEC)
Profit margin (%)
SCU margin (aUEC/SCU)
Trade margin/Distance (aUEC/km)
SCU margin/Distance (aUEC/SCU/km)
Investment (aUEC)
Buy SCU Quantity (µ)

Sorting options post-poned :

Trade margin/Distance (aUEC/km)
SCU margin/Distance (aUEC/SCU/km)
https://github.com/Hybris95/UEX-Trader/issues/125


CustomEvent blocked/lost?

First custom component:
render() {
    return html`
      <div @click=${_=>{
            this.dispatchEvent(new CustomEvent('my-event',{bubbles:true}))
        }}>
           <slot></slot>
      </div>
    `
}

Second custom component:
render() {
    return html`
        <first-element @my-event=${_=>console.log('event triggered on second component')}>
                HELLO WORLD
        </first-element>
    `
}

Third custom component:
render() {
    return html`
        <second-element @my-event=${_=>console.log('event triggered on third component')}>
        </second-element>
    `
}

When I click HELLO WORLD the second element my-event listener is triggered and prints to the console. The third custom component event listener is not triggered.
I would imagine the event would keep bubbling up to the third component?
BTW the click event is propagated all the way to the third component.

Ah not a bug, apparently you need to set the composed property to true new CustomEvent('my-event',{bubbles:true,composed:true})


Add code coverage

Just like CI with Travis, we can use coveralls  to generate reports on the code coverage of the unit tests.

Nice work done. Kudos. 👍


Support for Redmine 3.x?

any chance for that?

I think it not hard to make support of rails 4/redmine 3. But I haven't been developing redmine plugins for years

thank you for the answer!

A must have plugin, very useful. It'd be great to have it on redmine 3.2

Guys have you had error "Your session has expired. Please login again."? Or another

I update plugin for support 3.2 and drop support 0.x and 1.x versions. Also I test this plugin only with 3.2.
Please test carefully!

Thank you for this update. It looks great.

The error message "Your session has expired. Please login again." was the one I got since Redmine 3.2.0.

Same problem here
Redmine version                3.2.0.stable
Ruby version                   2.2.1-p85 (2015-02-26) [i686-linux]
Rails version                  <IP_ADDRESS>

@nanego check your .git/config if this the the project u use. I had the same error, but discovered, that I used a different fork

Yes, this bug has been fixed with the latest commits.

That's great


[Farmware] Add optional min_os_version_minor to manifest

to allow updates to versions with new features from old OSes to fail (in the future, this would have been very helpful in the case of farmware tools)

Fixed via farmbot_os_version_requirement in https://github.com/FarmBot/farmbot_os/commit/fff4963f7e787fef35a7a53b602d4a7e4f0dd214.


[Snyk] Upgrade puppeteer from 18.0.5 to 18.2.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade puppeteer from 18.0.5 to 18.2.0.

:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 2 versions ahead of your current version.
The recommended version was released a day ago, on 2022-10-05.

Release notes

Package name: puppeteer

18.2.0 - 2022-10-0518.2.0 (2022-10-05)
Features

separate puppeteer and puppeteer-core (#9023) (f42336c)

Dependencies

The following workspace dependencies were updated

dependencies

puppeteer-core bumped from 18.1.0 to ^18.2.0

18.1.0 - 2022-10-0518.1.0 (2022-10-05)
Features

chromium: roll to Chromium 107.0.5296.0 (r1045629) (#9039) (022fbde)

18.0.5 - 2022-09-2218.0.5 (2022-09-22)
Bug Fixes

add missing npm config environment variable (#8996) (7c1be20)

    from puppeteer GitHub release notes

Commit messages

Package name: puppeteer

a07ff12 chore: use scoped tags  for publishing (#9055)
ee1272e chore: release main (#9052)
bafdb47 chore: update pin_dependencies.py (#9051)
d4c6ff1 chore: update pin dependencies (#9050)
d1b61cf chore: update generate sources (#9049)
9b28a3b chore: use file dependencies at root (#9048)
a359873 chore: pin dependencies on pre-release (#9046)
469ac02 chore: fix release-please (#9044)
f42336c feat: separate puppeteer and puppeteer-core (#9023)
3aee641 chore(main): release 18.1.0 (#9042)
022fbde feat(chromium): roll to Chromium 107.0.5296.0 (r1045629) (#9039)
b7b07e3 chore: add documentation to xpath prefix and deprecated page.waitForTimeout (#9014)
5dbd69e chore: type in waitForRequest function description (#9015)
c0c7878 chore: initiate monorepo migration (#9022)
2a21896 chore: rename vendor to third_party (#9021)
f8de7b1 chore: bundle vendor code (#9016)
d06a905 chore: update deps (#9013)
023ebd8 chore: enable firefox tests on Mac (#9002)
a00d466 chore: add strategy.fail-fast=false (#9007)
5a1b8d2 chore: add headful support for Firefox (#9004)
c21c3ba chore: remove environment variable that forces WebRender to be disabled in Firefox (#9001)
a6f4584 chore: clarify build instructions (#9000)
3939d55 chore: enable continue on error (#9003)

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Coverage remained the same at 99.21% when pulling 085b85512c7cde8f11a66e5ac95da14825c5e8be on snyk-upgrade-922205d5f64208dadd4353aa7bedaa70 into 508955c4a3c267bbea5d5d95381b35f6d37b795c on master.


Added support for pca10056

Features:
- Programatic platform and board name build
- Programatic softdevice selection
- Separated Nordic specific board compilation flags from project specific flags

I commited local absolute paths on the toolchain, needed explanation to change that on README.md.

Hello @cerealkill
Thanks for the PR. I did not yet had time to look through it. I would just like to give you a heads up that we have noticed your input and someone will come back to you :)
Feel free to give us info when you finish additions
Cheers!

Hi @dariuszseweryn
Thanks for the feedback, much appreciated! I am still working on some additions, a new SDK is out and some minor but impactful changes were required. Some other changes were cosmetic too, so you can judge on that if you want to incorporate. The latest version on master from my fork is working with both SDK v16 and v15.
Cheers :)

@cerealkill Hello! We changed an approach to how we would like to support CMake build system in the nRF SDKs. Currently, the master branch is pointing to the new approach and it's what we would like to support from now on.
I hope you understand and help us make it better. We support pca10056 and both 15.3.0 and 16.0.0 SDKs. A lot of libraries are still missing, but it should be straitforward to add them one by one.


Log byte range size as long long

Closing this because I've since moved to a different lib. Thank you for your work ❤


Merge Player class from state to objects

Score class is just a serializable int. This seems unneeded but is certainly unneeded in the context of the player class storing it's integer.

Changes to consider to Player in objects:

[ ] Remove flag for Player AI and related material (this is a separate class now)
[ ] Fix naming convention for current_tile attribute
[ ] Fix naming conventions for methods

Change to consider for Player in state:

[ ] Rename position attribute to currentTile
[ ] Rename getPoints method to getScore


(jobs) support pipeline in jobs response

Ref: https://docs.gitlab.com/ce/api/jobs.html#get-a-single-job
Side note: tested this locally and with
https://github.com/zaquestion/lab/pull/273 with success

LGTM! Thanks!

@svanharmelen could you possibly tag this commit as a patch release so I can include it in my project. Unless I'm missing something with modules... I think I have to rely on dependencies tagging commits to get use them now ??

Ah, so I was missing something and naturally I found it 4m after throwing my hands in the air...
GO111MODULE=on go mod edit -require github.com/xanzy/go-gitlab@master

Allows me to use go-gitlab on the master branch :D

Yeah, you can indeed specify master or a specific commit as well. I’ll tag it as a new release when I’m behind my mac again. But that will not be today...

@zaquestion just tagged the latest commit...


Folder structure

How to setup the framework structure like every module reside in separate folder so suppose i develop a module to extend my application i just drop that folder somewhere with view, controller,model folders in it and it start working ,no need to put views,model,controller in app folders separately

Yes, you can drop the whole structure into modules dir, but still find best way to provide this feature

i can only see views,controllers folder inside each module in module folder no models folder , models folder is only available inside app folder, so if i write a module and put it inside module folder and now if i want to use model do i need to put it inside app/models or inside my module folder's model folder

i think currently script does not load available models inside modules model folder i modified Manager.php to fix this issue
i added this is /src/SlimStarter/Module/Manager.php after line no 55  and now models are loading fine,Please tell me if i am doing it wrong or there is some better way to achieve this
foreach (glob(APP_PATH.'modules/') as $module)
{
$module = APP_PATH.'modules/'.basename($module) ."/models";
foreach (glob($module .'/.php') as $model)
{
include_once($model);
}
		 }

@rajneeshojha , no need to register model manually, just put it in the proper namespace inside the module dir, and it will be autoloaded
say you have Admin module, the directory structure will be like
modules
|---Admin
|   |---Controller
|   |---Model
|   |   |---SomeModel.php

then you can use it inside your controller
Admin\Model\SomeModel.php
<?php

namespace Admin\Model;

use Model;

class SomeModel extends Model{}

Controller
...
public function someMethod(){
    $someModel = \Admin\Model\SomeModel::find(1);
}
...

great thank , It works perfectly


STP-2890

Created a new branch to track additional changes to the "Add LDAP User Federation" procedure.

New PR due to issues with the same branch from another PR being used: https://github.com/Cray-HPE/docs-csm/pull/78


[Ubuntu] Fix image generation for Ubuntu20

Description
The following error appeared during Ubuntu20 image generation on mmsprodwcus0.
Need to collect additional information and ask for help from Canonical.
2020-11-05T03:12:39.6168065Z  mmsprodwcus0    2020/11/05 03:08:37 ui error: ==> azure-arm: E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/c/c-ares/libc-ares2_1.15.0-1build1_amd64.deb  Temporary failure resolving 'azure.archive.ubuntu.com'
2020-11-05T03:12:39.6168997Z  mmsprodwcus0    2020/11/05 03:08:37 ui error: ==> azure-arm: E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/libs/libssh2/libssh2-1_1.8.0-2.1build1_amd64.deb  Temporary failure resolving 'azure.archive.ubuntu.com'
2020-11-05T03:12:39.6169949Z  mmsprodwcus0    2020/11/05 03:08:37 ui error: ==> azure-arm: E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/a/aria2/libaria2-0_1.35.0-1build1_amd64.deb  Temporary failure resolving 'azure.archive.ubuntu.com'
2020-11-05T03:12:39.6170865Z  mmsprodwcus0    2020/11/05 03:08:37 ui error: ==> azure-arm: E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/a/aria2/aria2_1.35.0-1build1_amd64.deb  Temporary failure resolving 'azure.archive.ubuntu.com'

Related issue:
https://github.com/actions/virtual-environments-internal/issues/1408
Check list

[x] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run ubuntu2004, ubuntu1604, ubuntu1804


Italic text is getting clipped

Describe the bug
Setting FontStyle="Italic" is clipping the end of the text. HorizontalAlignment needs to be left so that the textblock sizes to the text. Some fonts are worse than others like the new Windows 11 font Segoe UI Variable is particularly bad

<TextBlock Text="Arial"
	  FontStyle="Italic"
	  FontFamily="Arial"
	  HorizontalAlignment="Left"
	  VerticalAlignment="Top"
	  Background="#15000000" />

<TextBlock Text="Segoe UI"
	  FontStyle="Italic"
	  FontFamily="Segoe UI"
	  HorizontalAlignment="Left"
	  VerticalAlignment="Top"
	  Background="#15000000" />

<TextBlock Text="Segoe UI Variable Text"
	  FontStyle="Italic"
	  FontFamily="Segoe UI Variable Text"
	  HorizontalAlignment="Left"
	  VerticalAlignment="Top"
	  Background="#15000000" />

Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Win 11
Version 0.10.8

Additional context
Add any other context about the problem here.

WPF

Avalonia


Add the ability to buffer metrics before sending them to unix domain socket

This looks reasonable, thanks for the contribution!

Thanks for taking a look.

It only buffers for the unix domain socket, but I think this is a fine starting point, since it is the higher-performance option which sees the most use. If this is needed on the UDP path, we can add that later.
The buffering starts with 1K plus a configurable amount, and the std::string can grow beyond that initial memory reservation, if needed, so we should not have to worry about losing messages.
The default buffer is zero, which maintains the previous behavior, while allowing overrides as needed for high-performance applications.
The unix socket tests check both the unbuffered and the buffered path.

Thanks for the summary, I should've written something like this!

One issue we need to think about:

What happens when a few metrics are written, but they remain less than the configured buffer size? Currently, those updates will never be flushed.
Typically, we handle this by flushing either based on size, or when at-most N-seconds have elapsed since the last write.

I think I could do this, but I am thinking buffering is more of a "high performance/load mode", so we should ideally not hit this case. Do you think it is possible to make it clearer that buffering should be enabled only for "high performance/load mode"?
Otherwise, as you said that's how we could implement it, but it involves the complexity of a timer thread (or we could check the timestamp next time we attempt to buffer, but then the same question stands, what if the next request to publish never comes?). Let me know what your thoughts are.

A few meta points:

Since we experienced this issue earlier, lets add a .bazeliskrc file to the root with USE_BAZEL_VERSION=5.4.0. This will make it clear which version of Bazel is needed for the project, until such time as we can upgrade to the 6+ series.

Will do.

When we merge, we will squash these commits.

Will do.

RE: at-most N seconds flush

I think I could do this, but I am thinking buffering is more of a "high performance/load mode", so we should ideally not hit this case. Do you think it is possible to make it clearer that buffering should be enabled only for "high performance/load mode"?
Otherwise, as you said that's how we could implement it, but it involves the complexity of a timer thread (or we could check the timestamp next time we attempt to buffer, but then the same question stands, what if the next request to publish never comes?). Let me know what your thoughts are.

You raise a fair point here about the implementation complexity versus the likelihood of encountering this issue for high-volume publishing. I am ok leaning towards a simpler implementation for this iteration, but if we do that, we should add a little section to the README calling out the new configuration parameter and the possibility that metrics may not be flushed for low-volume apps. Just a few sentences should do it.


Remove unused Make Streamable option from scene import dialog

The option doesn't do anything when enabled, as Godot doesn't have mesh streaming or texture streaming implemented yet.

There's also making the option "internal" thus hiding it but avoiding compatibility problems and providing documentation.

@fire It was added in PR #47166

Thanks!

I thought mesh streaming was already implemented because of LOD support?

I thought mesh streaming was already implemented because of LOD support?

Mesh streaming is not the same as automatic LOD support. When a mesh uses automatic LOD, all its LODs are still present in memory whenever the mesh is loaded. Likewise, if a mesh's LOD is displayed, the full-detail mesh is still stored in memory.
LOD levels also affect the entire mesh at once. It isn't currently possible to have the mesh be split into several smaller parts that can be individually culled or displayed at a different LOD level.


Missing work

A lot of work is missing here, do you need help?

Make sure that you ask for help this afternoon from a TA or me.


Install Problem

When I finsh installing pwncli following the guide and  input "pwncli -h"，there has an error:
pkg_resources.DistributionNotFound: The 'typing; python_version < "3.5"' distribution was not found and is required by pathlib2
and the version of the python is 3.10
how could I solve this problem

How did you install pwncli? I install pwncli from sourcecode in python 3.10.4 on Ubuntu-22.04, and it works well


Fixed typo

[X] Closes #2160
[X] I am familiar with the contributing guidelines
[ ] Adds description and name entries in the appropriate "what's new" file in docs/sphinx/source/whatsnew for all changes. Includes link to the GitHub Issue with :issue:`num` or this Pull Request with :pull:`num`. Includes contributor name and/or GitHub username (link with :ghuser:`user`).
[X] Pull request is nearly complete and ready for detailed review.
[ ] Maintainer: Appropriate GitHub Labels (including remote-data) and Milestone are assigned to the Pull Request and linked Issue.

@mrue-pv can you correct the conflict in the what's new file? I think you can delete the conflict line markers and keep all the changes, from your PR and the other PRs.


Use non-standard env files for environment variables?

Hi all. Is there a way to use react-app-env or get similar functionality with this package? For a project I'm on, we'd like to have our config files look like: configs/dev.env or configs/prod.env as opposed to configs/.env.dev and configs/.env.prod ...react-app-env allows us to use that kind of file instead of the standard .env file, but I'm not sure how to make it work with react-app-rewired, which we are using in order to use react-app-rewire-yarn-workspaces.

Not that I'm aware of.


Would jquery-pjax work with Zepto?

Would jquery pjax work with Zepto? Or does it use a lot of the jQuery API?

This pjax is dependent on jQuery. It will not work with Zepto.

Any plans to get rid of jquery?

Now this pjax haven't used jquery.


Alertmanager alerts with a ($) value that is below the threshold

What did you do?
We use a Prometheus alert (and node-exporter) to check whether we are running out of memory on a node.
Issue: In many cases I get an alert with a $value that is below the threshold value in the expression. The expression is:
This is the alert code / expression:
    alert: GettingOutOfMemory
    expr: max(sum
      by(instance) ((((node_memory_MemTotal_bytes) - (node_memory_MemFree_bytes + node_memory_Buffers_bytes
      + node_memory_Cached_bytes)) / (node_memory_MemTotal_bytes)) * 100)) >= 90
    for: 5m
    labels:
      severity: warning
    annotations:
      description: Docker Swarm node {{ $labels.instance }} memory usage is at {{ humanize $value}}%.
      summary: Memory is getting low for Swarm node '{{ $labels.node_name }}'

I get messages saying that we ran out of memory at e.g. 63%. So that is the value of the $value. This is clearly below the 90% threshold.
What did you expect to see?
I expect only alerts when the threshold is exceeded. So below the expression of 90 I only expect alerts with a $value at or above 90.
What did you see instead? Under which circumstances?
Nearly each time (every 4 hours) I see alert messages having a $value of 63%, 83%, etc.
Environment
Prometheus Docker.

System information:

Alertmanager version:
insert output of alertmanager --version here

Prometheus version:

Build information (docker version): 2.17.1

Alertmanager configuration file:

See above.

Prometheus configuration file:

global:
  scrape_interval: 15s
  scrape_timeout: 10s
  evaluation_interval: 15s
  external_labels:
    monitor: monitoring
alerting:
  alertmanagers:
  - static_configs:
    - targets:
      - alertmanager:9093
    scheme: http
    path_prefix: /alertmanager
    timeout: 10s
    api_version: v1
rule_files:
- /etc/prometheus/alert.rules

scrape_configs:
- job_name: prometheus
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /prometheus/metrics
  scheme: http
  static_configs:
  - targets:
    - localhost:9090
- job_name: node-exporter
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  dns_sd_configs:
  - names:
    - tasks.node-exporter
    refresh_interval: 30s
    type: A
    port: 9100

Logs:

insert Prometheus and Alertmanager logs relevant to the issue here

This isn't an Alertmanager question but rather a Prometheus one. That being said, it is better to use the prometheus mailing list or IRC for such requests. Quickly looking at your report, I can at least notice that the annotations reference labels that aren't present since the surrounding aggregation is max() so I would double check the query.
I'm closing it for now. If you have further questions, please use our user mailing list, which you can also search.

Please explain / elaborate what you state.


"ready" callback not working when modal is opened dynamically

Before you open the modal dynamically, if you use a trigger button then everything works fine. However after you open it dynamically, the "ready" callback won't be called, and the trigger button won't call the "ready" callback anymore when clicked.
Codepen illustrating the issue

Hi @doubleOrt
I think, you need you call the method manually when you open your modal.
for example:
$('#my_modal').modal('open', {
    ready: function(modal, trigger) {
      alert('ready!');
      console.log(modal, trigger);
    },
    complete: function() {
      alert('completed!');
    }
});

jsfiddle

But what if you need to set options before opening it
(why ? depends on context, exemple : async request)
+1, this is a bug

Duplicate of https://github.com/Dogfalo/materialize/issues/4876
Thanks @storm1er for pointing that out

@gityopie Oh i never knew about this second parameter, i tried passing a function as the second parameter but not this. Why is the documentation not updated with these things ? You guys know that you can only be as good as your documentation, right ?

@tomscholz Could you take a look at this Gist, it consists of an issue (#4925) was discussing with one of your creators 2 days ago, but he's had no response.


Feature/front page

Added front page with celestial
Added more items to sidebar

Hi Roy,
For the sidebar:

Read about Lasair, Coding with Lasair and Lasair FAQ can all be consolidated into a single 'Documentation' link. Users can quickly get to the individual sections once they arrive at the docs.
As I have said previously, the annotator's page is documentation content and needs to live with the docs.

Good start with the front page. I see the potential with the celestial map.

I don't believe it is alpha-ready yet so shouldn't go into the dev branch yet. Here are some of my thoughts:

The map legend should be rendered via celestial if possible with a key
The map should live in a 'widget' block to be consistent with the rest of the webpages.
I really like your news item idea. The news item should appear only when there is News and probably in the form of a bootstrap alert.
No need for the MJD/date counter.
We should have a table of the objects found in the map presented below.

I can help with these if you agree.

Agree with Dave's additions, but would keep the MJD/Date counter


Append newline to scripts too, if not exists yet

Codecov Report

Merging #1035 into master will decrease coverage by <.01%.
The diff coverage is 40%.

@@            Coverage Diff             @@
##           master    #1035      +/-   ##
==========================================
- Coverage   65.01%   65.01%   -0.01%
==========================================
  Files          97       97
  Lines       17220    17221       +1
  Branches     3845     3846       +1
==========================================
  Hits        11196    11196
  Misses       3404     3404
- Partials     2620     2621       +1

Impacted Files
Coverage Δ

src/main.rs
24.48% <40%> (-0.17%)
:arrow_down:

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 7817cec...ed4f85e. Read the comment docs.


Don't hardcode versions in upgrade test

Instead, rely on the contents of the VERSIOn file

upgrade test will fail right now because 1.18.0 does not exist yet.
also, the tag 1.17.0 is not present on gcr.io/istio-release. Not sure how to fix this.
cc @jacob-delgado

@jwendell: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-helm_istio
84f25ae814bf498a0f4f8ab2bb08b9a26fcd03d4
link
true
/test integ-helm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

also, the tag 1.17.0 is not present on gcr.io/istio-release. Not sure how to fix this.

I hate to say it, but can we check for 1.17.0 in either of the strings and simply change to 1.17.1?

upgrade test will fail right now because 1.18.0 does not exist yet.

This would always be the case from the time we branch cut until we publish the release. So maybe 3-4 weeks every 3 months or approximately 1/4-1/3 of the time. At least it's early in a given release's dev cycle. I'm not sure it it makes sense to test to see if the image exists, and then a) drop both version strings one version or b) not do the test. I think I like option a as  it means we are at least still running tests.

@ericvn I have addressed both issues
@howardjohn I added the DNM label to allow a second review if necessary.


Added params keyword for aliases in VerbAttribute constructor

Added params keyword to VerbAttribute constructor so that it can be used when forming the attribute as follows:
[Verb("my-command", false, "do", "the", "thing")]
public class MyCommandClass
{
   //does the thing
}

Closes #864

A lot of build errors in the test project related to this change.  Can we clean those up?

I think we can close this without a merge.  It was proven unnecessary in the issue #864


Reproduction result

Hi~
I used the pre-trained model you provided to visualize the results on the KITTI 1K selected validation set：

There seems to be a lot of black spots on the depth map. Is this normal?
Thank you.

It has been solved.

May I know how it was resolved? I had the same problem.


Drop Satchless API

I want to merge this change because it closes #1759.
Pull Request Checklist

[x] Privileged views and APIs are guarded by proper permission checks.
[x] All visible strings are translated with proper context.
[x] All data-formatting is locale-aware (dates, numbers, and so on).
[x] Database queries are optimized and the number of queries is constant.
[x] The changes are tested.
[x] The code is documented (docstrings, project documentation).
[x] Python code quality checks pass: pycodestyle, pydocstyle, pylint.
[x] JavaScript code quality checks pass: eslint.

Codecov Report

Merging #1760 into master will decrease coverage by <.01%.
The diff coverage is 85.93%.

@@            Coverage Diff             @@
##           master    #1760      +/-   ##
==========================================
- Coverage   83.18%   83.17%   -0.01%
==========================================
  Files         143      144       +1
  Lines        6113     6123      +10
  Branches      660      665       +5
==========================================
+ Hits         5085     5093       +8
- Misses        858      859       +1
- Partials      170      171       +1

Impacted Files
Coverage Δ

saleor/order/transitions.py
80% <ø> (ø)
:arrow_up:

saleor/core/analytics.py
71.87% <0%> (ø)
:arrow_up:

saleor/product/templatetags/discount.py
62.5% <0%> (ø)
:arrow_up:

saleor/core/exceptions.py
100% <100%> (ø)

saleor/product/models.py
93.08% <100%> (+0.08%)
:arrow_up:

saleor/checkout/views/summary.py
43.15% <100%> (ø)
:arrow_up:

saleor/checkout/core.py
92.65% <100%> (ø)
:arrow_up:

saleor/dashboard/order/forms.py
78.47% <100%> (ø)
:arrow_up:

saleor/cart/views.py
84.21% <100%> (ø)
:arrow_up:

saleor/cart/forms.py
97.22% <100%> (ø)
:arrow_up:

... and 5 more

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 4c3066d...de9ef05. Read the comment docs.

That's a good first step. Maybe we should merge this before moving logic outside of the models so it does not block #1500?


[Pager] How can I disable drag to move to the next screens?

Description
I need to disable drag, because the pages will only change when I click a button. how can I fix this? I see that the dragEnabled parameter has been removed.

You can find a workaround for it here: https://b.corp.google.com/issues/201150093#comment4
Once we release Compose 1.2-alpha and migrate Accompanist to it I will add this param for the Pager

Great, thank you very much. I can't access the link, can you provide me the solution here?

Ah, sorry. Copied the internal corporate link. https://issuetracker.google.com/issues/201150093#comment4

Thank you very much!

Hi, I have the same issue. Well it works but I have a children scrollable item on a view pager which stops scrolling too. The ideal solution would be to disable drag of view pager only and not on his children...

Note that this fix will only be available in v0.24.x and not backported to older versions as it requires Compose 1.2


chore: added the closing tag for dependencies

I found that the maven dependency for the google-cloud-bigquery was incomplete while I was revisiting the code. Hence, added the required closing tag to fix the issue.

Hi - I realized that README is a generated file so updating it won't work. I am fixing it in this PR: https://github.com/googleapis/java-bigquery/pull/1749
Thanks for noticing.

Hi - I realized that README is a generated file so updating it won't work. I am fixing it in this PR: #1749
Thanks for noticing.

Thank you for letting me know!


Upstream changes in three.js shader conventions (via aframe 1.2.0)

Dear all,
upgrading to a recent release of aframe leads to error messages when evaluating the chromykey fragment shader. This is due to ThreeJS.ShaderMaterial expecting glsl 3 level code now, in which 'texture' is a function name, thus cannot be used as a variable any longer.
Here's a similar problem and discussion: https://github.com/mrdoob/three.js/issues/19627
For anyone looking for a quick fix: simply changing the variable name for the texture2d uniform in the fragmentShader to eg. 'myTexture', then reflecting the change in the ShaderMaterial binding code fixes the problem.
Best regards,
Jan

@nikolaiwarner ^ Made a PR for this quick and easy change. The community would appreciate it if it can be merged in! Thanks for this great Aframe component!

Thanks @synth and @esi-jwr! I've merged @synth's PR to fix this and updated the npm package. Apologies for the slow turnaround on my part with this issue. Thanks again!

@nikolaiwarner no problem and thanks for merging. Last question: what should we do about the dist/ files? Might be good to update those as well, I would have included them but I don't know how to generate them ;)

@synth thanks for reminding me! it's just yarn dist but while i was doing that i noticed one more thing that needed to be fixed. So I've fixed that and also added an example page to test against. I've published a new version with all the updates needed to support the latest version of aframe and included the minified dist version.

@nikolaiwarner Rockin! Thank you!


Better error messages for invalid URLs

HTTP.get(nil)
HTTP::Request::UnsupportedSchemeError (unknown scheme: )

HTTP.get('')
HTTP::Request::UnsupportedSchemeError (unknown scheme: )

HTTP.get('/')
HTTP::Request::UnsupportedSchemeError (unknown scheme: )

HTTP.get(':')
Addressable::URI::InvalidURIError (Cannot assemble URI string with ambiguous path: ':')

Ideally it should return InvalidURI exceptions if the URL is invalid instead of UnsupportedSchemeError, as it is less confusing. Ideally also, it should rerturn the same exception for all these cases

Totally agree!


Update style to have nav sections on left, and updated PyTorch logo

move the nav menus to the left

/lgtm
/approve


Converting to self-contained standalone?

I'm not much of a Ruby guy, but I was wondering how much work it would take to port this to something that could be installed via homebrew.
"brew install lunchy" will drive adoption in places that "gem install lunchy" will terrify people (namely: not ruby devs and who remember all too well the nightmare that CPAN wrought on systems). It doesn't seem that it would be too challenging, overall?

Is this dead? It would be so useful to have this as a global command a la heroku

Lunchy has been available in Homebrew's Cask repo for a while.

Lunchy has been available in Homebrew's Cask repo for a while.

lunchy-go got migrated from Homebrew Cask to Homebrew  (https://github.com/Homebrew/homebrew-cask/pull/86101). Also, lunchy got added to Homebrew, so you can now install this project using:
brew install lunchy

or if you want to use lunchy-go:
brew install lunchy-go


Error in running docker-compose

Hello,
I have executed the docker-compose.yaml file for my project and encountered the following error:

I would appreciate your assistance in resolving this issue.
Thank you.

can confirm.


Downloading (-1 peers)

I've started the downloading on the demo page and after some time, the result is:

And I could not download the file.

What the frick. It was totally working on Friday. I'm getting this error too! I'm going to split this into two issues though: one for the -1 peers and one for the download not working.
@feross I'm subtracting 1 from numPeers, because I thought numPeers was counting itself in the total. Is that incorrect? Or does it count itself while its downloading and then leave once the download is complete or something? Is there a way I can subdivide that total into the number of peers I'm actively downloading from and uploading to?

Web seeds are counted in numPeers. Perhaps that's why you were always seeing at least 1. But, it's an artifact of our implementation that we treat web seeds as normal peers. So sometimes they can get disconnected. I wouldn't subtract 1 from the total number, personally.

That... actually explains all the behavior I've seen. I don't subtract 1 anymore.


Downloaded skin opens as an PDF file

when I download the visualizer it keeps opening up as a pdf and not an application

https://github.com/MarcoPixel/Monstercat-Visualizer/releases/download/1.8.1/Monstercat.Visualizer.for.Rainmeter_1.8.1.rmskin
Download this file and try executing it. If it is still opening as an PDF, try reinstalling Rainmeter and check if Windows set the PDF reader as default applications for .rmskin files.
Here is an guide on how to change it:
https://www.digitaltrends.com/computing/how-to-set-default-programs-and-file-types-in-windows-10/

Thank you, it is now working
On Sat, Sep 9, 2017 at 4:45 PM, Marco Vockner<EMAIL_ADDRESS>wrote:

Closed #91 https://github.com/MarcoPixel/Monstercat-Visualizer/issues/91
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MarcoPixel/Monstercat-Visualizer/issues/91#event-1241904123,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AeT14qw2EHMFHuZxCypj-BGpOmvkAY6oks5sgrKygaJpZM4PRxV3
.


linux: internal builds compat

linux: internal builds compat
Fix 2 issues seen in internal builds: (1) Currently missing some files
with stdint.h. Use intsafe.h instead. (2) There is a TYPENAME macro
conflict. Add an underscore.

Hi @jianchun, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Jianchun Xu). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

LGTM

Otherwise LGTM


when auth plugin return err with 403, restserver should use ir status…

… code

Can one of the admins verify this patch?

Pull Request Test Coverage Report for Build 1787

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
14 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-0.01%) to 61.909%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

server/restful/restful_server.go
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

core/server/options.go
2
50.0%

core/rest_invoker.go
2
91.84%

server/restful/form_mapping.go
2
16.67%

core/config/fault_injection_config.go
3
0.0%

core/lager/logrotate.go
5
36.74%

Totals

Change from base Build 1786:
-0.01%

Covered Lines:
5513

Relevant Lines:
8905

💛  - Coveralls


Shared struct reuse question

It seems I am still getting something wrong about https://github.com/dtolnay/cxx/issues/297. Here I am trying to reuse a shared struct instead of declaring it the second time and get
  running: "E:\\VisualStudio\\VC\\Tools\\MSVC\\14.26.28801\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-I" "E:\\MyProgramming\\tokenizers\\bindings\\cpp\\target\\debug\\build\\tokenizers-cpp-348e1825e6b8d85d\\out\\cxxbridge\\include" "-I" "E:\\MyProgramming\\tokenizers\\bindings\\cpp\\target\\debug\\build\\tokenizers-cpp-348e1825e6b8d85d\\out\\cxxbridge\\crate" "-I" "." "-I" "target/cxxbridge/tokenizers-cpp" "-I" "thirdparty" "-W4" "/std:c++14" "/EHsc" "-FoE:\\MyProgramming\\tokenizers\\bindings\\cpp\\target\\debug\\build\\tokenizers-cpp-348e1825e6b8d85d\\out\\cxxbridge\\sources\\tokenizers-cpp\\tokenizers-cpp\\processors.rs.o" "-c" "E:\\MyProgramming\\tokenizers\\bindings\\cpp\\target\\debug\\build\\tokenizers-cpp-348e1825e6b8d85d\\out\\cxxbridge\\sources\\tokenizers-cpp\\tokenizers-cpp\\processors.rs.cc"
  processors.rs.cc
  E:\MyProgramming\tokenizers\bindings\cpp\target\cxxbridge\tokenizers-cpp\tokenizers-cpp/processors.rs.h(198): error C2338: type ::huggingface::tokenizers::ffi::KVStringU32 marked as Trivial in Rust is not trivially move constructible and trivially destructible in C++
  E:\MyProgramming\tokenizers\bindings\cpp\target\debug\build\tokenizers-cpp-348e1825e6b8d85d\out\cxxbridge\sources\tokenizers-cpp\tokenizers-cpp\processors.rs.cc(251): error C2338: type ::huggingface::tokenizers::ffi::KVStringU32 marked as Trivial in Rust is not trivially
move constructible and trivially destructible in C++
  exit code: 2

  --- stderr

  CXX include path:
    E:\MyProgramming\tokenizers\bindings\cpp\target\debug\build\tokenizers-cpp-348e1825e6b8d85d\out\cxxbridge\include
    E:\MyProgramming\tokenizers\bindings\cpp\target\debug\build\tokenizers-cpp-348e1825e6b8d85d\out\cxxbridge\crate

The only potentially significant difference from #465 that I can see on my own is that I include!("tokenizers-cpp/models.h"); and not .rs.h; but trying to change that adds a lot more errors and doesn't fix this one.
Hopefully the commit introducing the error is small enough; if not, I can try to create a smaller case reproducing it.

Ah, the problem is that it contains a String, and is never actually passed by value in models, but only in processors . Is that right?

It looks like the problem can be fixed by adding
template <>
struct IsRelocatable<MyStruct> : std::true_type {};

If I understand IsRelocatable, this should be safe, and can be generated for any shared struct containing String; and for shared structs containing Vec<SomethingElse>,
template <>
struct IsRelocatable<MyStruct> : IsRelocatable<SomethingElse>::value {};

(approximately). If this is correct, I can make a pull request.


Default values in template are not updated to the latest tag version

Just noticed: while you are at 1.9.0 now, in the template it still says 1.7.0. I don't know if this is intended.

Yup. We should modify it manually before every release.
No current problematic effect at the moment, since no docker configs have changed.

Yup. We should modify it manually before every release.
No current problematic effect at the moment, since no docker configs have changed.


Document relationship inheritance

When inheriting from an interface, relationships are not inherited. Please document this non-obvious fact (that breaks LSP...)

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

ID: da072172-4002-c046-df10-b401e6df0922
Version Independent ID: 53fe5b34-6be2-76f9-086f-2b8d19496be3
Content: Custom models - Azure Digital Twins
Content Source: articles/digital-twins/concepts-models.md
Service: digital-twins
GitHub Login: @baanders
Microsoft Alias: baanders

@algattik
I have assigned the issue to the content author for further review.

Looking into this with the product team. Will continue to update here!

Hello @algattik,
Here is what I did to try and reproduce. Please let me know if I am not understanding correctly.
I re-tried it and it does work. I must have made a mistake when creating the relationship in ADT. Here is what I did.
Base-Part

Part

Piece

I uploaded the models using ADT. Then created a twin for Part and a twin for Piece. Then created a relationship and it worked.
let me know if you are doing something different or if I misunderstood.

When:

model A has a relationship to model B
model C inherits from model B

Then: a twin with model A cannot reference a twin with model C

The relationship in model A needs to target the id of model B and model C has to extend the same id of model B in order for the creation of a relationship from Digital Twin of model A to the Digital Twin of model C.
Example:
relationship in modelA:
{
"@type": "Relationship",
"@id": "dtmi:com:test:iot:rel_contains_modelB;1",
"name": "rel_contains_modelB",
"displayName": "Contains Model B",
"target": "dtmi:com:test:iot:modelB;1",
"properties": [ {} ]
}
modelB:
{
"@id": "dtmi:com:test:iot:modelB;1",
"@type": "Interface",
"displayName": "modelB",
"@context": "dtmi:dtdl:context;2",
"contents": [ {} ]
}
modelC:
{
"@id": "dtmi:com:test:iot:modelC;1",
"@type": "Interface",
"displayName": "modelC",
"extends": "dtmi:com:test:iot:modelB;1",
"@context": "dtmi:dtdl:context;2",
"contents": [ {} ]
}

Thank you, confirmed this works as expected.


Feature request: Extend wilayaProjection to project nested fields

Related to wilayaProjection:
The goal if this helper function is to return only the Wilaya objects properties that a user wants (Otherwise they will receive an element like this big & ugly 😄 ).
For now we can use this feature to only return only wilaya fields we want (example, and it will be great if we can project dairats (a Wilaya property containing an array of objects).
So when we call:
projectWilaya(someWilayaObject, ['name', 'dairats.name']);

You should only return the wilaya name and only names of its dairats.
We'd prefer a simple and minimalist solution, but if needed you can use any library you like. If you need some inspiration you can check projects like jq. Or just keep it simple, split by . and then add a magical recursive function to project daira object

@InternetRamen can you take it?

@Fcmam5 I think I can take it.

@Fcmam5 In your example,
projectWilaya(someWilayaObject, ['name', 'dairats.name']);, would it return ['name', 'theNameOfDairats'] or something more like ['name', {name: "theNameOfDairats"}}

I mean that if we want only the wilaya name, and its dairats' names we call it with projectWilaya(someWilayaObject, ['name', 'dairats.name']);
Example: For Adrar wilaya object, I'd expect it to return something like:
[
  {
    "mattricule": 1,
    "name": "Adrar",
    "dairats": [
      {
        "name": "ADRAR"
      },
      {
        "name": "CHAROUINE"
      },
      {
        "name": "REGGANE"
      },
      ...
    ]
  }
]

#28

@Fcmam5 mattricule is mandatory or it was just a typo?

@Fcmam5 mattricule is mandatory or it was just a typo?

Sorry, it was a typo 😅


Fix MolDraw2DQt exports

Enabling Qt support breaks the windows build: since we split off support to a separate library, some of the components of MolDraw2D now need to be exported, so that they can be used from MolDraw2DQt. Also, the export macro for MolDraw2DQt is wrong (in the CMakeLists file relevant to the Qt directory we define RDKIT_MOLDRAW2DQT_BUILD, but not RDKIT_MOLDRAW2D_BUILD)

Oh, it seems there are some more problems... I'll update with more.

My bad -- the other problems are a different issue. I'll post separately.


Adopting char module

I did not pay much attention to documentation formatting/generation at this moment. Let's get the API stable first and then we can consider making the documentation nice and clean.

@glennsl  yes it's ocp-indent, got a script to format all files.

@glennsl could you re-review? Thanks

Merge as @glennsl approved.


[config] Refactor peer configs to be HashMaps from peer id to generic info structs

This is a small refactor to have ConsensusPeersConfig and NetworkPeersConfig to be HashMaps from peer id to ConsensusPeerInfo and NetworkPeerInfo respectively.
Motivation
Although today these info structs will only contain corresponding public keys, it leaves room to fit in other things in the future as needed.
Have you read the Contributing Guidelines on pull requests?
Yes

@mgorven : This also aligns with our earlier discussion to make consensus_peers.config.toml less verbose

@bors-libra r=phoenix-antigravity

:pushpin: Commit 58a6bc6 has been approved by phoenix-antigravity

:hourglass: Testing commit 58a6bc68608e5b2062f877ee0786a68ce33c0706 with merge 9fcd4e662d5d14481d0bf233875d2862c9bab134...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: phoenix-antigravity
Pushing 9fcd4e662d5d14481d0bf233875d2862c9bab134 to master...


Issues with Code128C

So I'm actually using the vueJs wrapper library (vue-barcode) and have opened an issue there:
https://github.com/lindell/vue-barcode/issues/16
But it looked like it was just passing values directly so I suspect this might be an issue with this library instead. (see: https://code.amazon.com/packages/NodeJS-vue-barcode/blobs/vue-barcode-1.1.0/--/vue-barcode/index.js)
I have a UUID that I'm trying to generate a manageable barcode size for. A commonly suggested way is to use the hex representation then convert to decimal then use Code 128C to generate a barcode.
This library fails to generate barcodes using Code128C with any value of length greater than 20. At 20 it replaces the last couple digits with 0 so it's not even accurate unless you use a value <18 digits. Code128C does not have a length limitation... so it's unclear why this is happening. I can use online generators with no issues at all.
Example...
Input value (20 digit count):<PHONE_NUMBER>1234567890
The generate barcode:
vue-barcode-issue-1.pdf
If you use the default format it reduces length by using scientific notation as a string and then generating a barcode against that string which doesn't even make sense.
vue-barcode-issue-2.pdf

Looks like you're using a number instead of a string

Gotcha. That seems to have been it. Typing in JS is weird... cheers.


Raspotify volume

When i start a song in spotify app and choose my app to stream the song it always start at 100% volume.
Is there anyway to change this?
Mabey start att 10% volume.
Right now im sending the sound through hdmi to my reciever but will soon install a digiamp+.
Will this change anythin?
Best Regards
WRSKalle

Duplicate of https://github.com/dtcooper/raspotify/issues/33.

If the issue is solved/covered somewhere else, you should close it @wrskalle


Add NGF to the nginx.org homepage

In the 'Other Projects' section on https://nginx.org/, we need to include links to the NGF docs and code.
The required changes should be made in this XML file: https://github.com/nginx/nginx.org/blob/main/xml/homepage.xml#L50
Docs link: https://docs.nginx.com/nginx-gateway-fabric/
Code link: https://github.com/nginxinc/nginx-gateway-fabric

https://github.com/nginx/nginx.org/pull/107
Will also update our own docs to use the proper logo.


Shadows on an augmented image

Hi,
it is possible to create a plane that receive shadows like the plane renderer but on detected augmented images?
I tried to create a invisible plane on the image but it doesn't work. Any ideas? Thanks for help

The key to doing this is to create a custom material that uses the "shadowMultiplier" property that you can read about here.
The custom material would look something like this:
material {
    name : "Plane Shadow Material",
    shadingModel : unlit,
    blending : transparent,
    shadowMultiplier : true
}

fragment {
    void material(inout MaterialInputs material) {
        prepareMaterial(material);

        material.baseColor = float4(0.0f, 0.0f, 0.0f, .6f);
    }
}

You could then create an .sfb for a quad/plane using this material. Then create a node using that renderable, and parent it to an anchor for the augmented image. You may also want to scale the node so that the size of the plane matches the augmented image.

@dsternfeld7
Oh man, i missed the "shadowMultiplier" property. Now it's working. It's look great. Thanks for you help.


Split nom and bom

This PR splits the command into two functions, allowing users to be more precise
in their nomming. Fixes #2.

Awesome, thanks!

Published to npm as<EMAIL_ADDRESS>


project with bugfender - build failing in m1 macbook

"@bugfender/rn-bugfender": "^2.1.1"
When I am building a project with Bugfender sdk in react native, the Xcode build is failing and I am not able to do the TestFlight release. Please help me.
There is already a closed issue, but that is regarding an error with installing pods.

Hi there, did you try the solution mentioned in the other issue? Your Cocoapods installation might not be working properly with M1

Closing due to inactivity.


Before publishing Linux GUI client

From #3694
- [x] Test Linux + Windows artifacts from CI+CD
- [x] Paths for config, logs, device ID, etc.
- [x] Fix artifact names in update check (For Windows, too) (https://github.com/firezone/firezone/pull/3769)
- [x] Fix crash handling (https://github.com/firezone/firezone/pull/3737)
- [x] Ubuntu 22.04.4 in CI just doesn't like Tauri (https://github.com/firezone/firezone/pull/3770)
- [x] Fix / test token storage (#4799)
- [x] Keyring doesn't like the CI, and some users may not have a secret store installed
- [x] Deep links
- [x] Ensure IPC socket is in a secure path (See inetd advice under "Unix Domain Sockets" https://man.freebsd.org/cgi/man.cgi?inetd(8))
- [x] Ensure "Cancel sign-in" works while waiting on browser
- [x] Notifications (#4820)
- [x] Permissions / startup
- [x] Make sure GUI and IPC service logs are both going somewhere useful (#4823)
- [x] (postponed) ~~Ensure single-instance still works #4790~~
- [x] (postponed) ~~Show useful error if we try to sign in but the IPC service isn't up~~
- [ ] #4083
- [x] (postponed) ~~Address technical debt (#3636)~~
- [ ] #4875
- [x] Install script #4879
- [ ] https://github.com/firezone/firezone/pull/4881
- [x] Update manual testing checklist #4882
- [ ] #4822
- [x] Make sure connlib logs end up in exported zips #4830
- [ ] #4876

https://github.com/firezone/firezone/releases/tag/1.0.3


add array_interpolate_linear process

https://git.sinergise.com/team-6/openeo-platform/-/issues/97
docs: https://docs.openeo.cloud/processes/?#array_interpolate_linear
A return type in the docs is number|null but there is nothing about propagating null if the array is null or empty (like for some of the other processes). So, I'm not sure.

A return type in the docs is number|null but there is nothing about propagating null if the array is null (like for some of the other processes). So, I'm not sure.

I think the return type should be array<number|null>. For empty array I'd assume empty array is returned, for null probably null. Perhaps open an issue for that in openeo-processes repo

I think the return type should be array<number|null>. For empty array I'd assume empty array is returned, for null probably null. Perhaps open an issue for that in openeo-processes repo

opened an issue: https://github.com/Open-EO/openeo-processes/issues/333

I think the return type should be array<number|null>. For empty array I'd assume empty array is returned, for null probably null. Perhaps open an issue for that in openeo-processes repo

opened an issue: Open-EO/openeo-processes#333

Nothing to change as it already behaves as it should.


FIx issue while input[type="date"] has default styles

Description

Code sample

Sorry missed already approved pool request with such fix. But last master has no this fix while I was downloaded it yesterday.

What happened to this? Seems like it's still an issue nowadays…


Ability to run azure functions will be supported only starting with .NET 9?

Is it possible to have .net 8 project with azure functions in aspire using this approach?

@Depact This depends on what you mean by .NET 9. Your Functions projects that target the net8.0 TFM will still work as you can see from the sample app:
https://github.com/captainsafia/AspireAzureFunctionsSample/blob/24de24750462e6e67c1234e96d3ab53699837734/AzureFunctionsTest/AzureFunctionsTest.Functions/AzureFunctionsTest.Functions.csproj#L3
However, you will need to use the 9.0 versions of Aspire and the .NET 9 SDK. Both of these will still permit you to target the .NET 8 runtime in your actual Functions application.

9 is not an option because there is no stable and probably wouldn't be for around 2 months. That's unacceptable for enterprise usage.

Yep, this repo is intended to be a sample app for people who are interested in trialing the preview support and seeing if it meets their needs. It's also the sample app we are using to validate the integration. The Azure Functions support in Aspire is currently in progress and we anticipate releasing a V1 as part of .NET 9/Aspire 9.

Thanks for the detailed response. As far as I see you've given this quite an effort and probably one of the most iff not most competent people in this direction. But my answer wasn't answerred. Is there any way to run azure functions exclusively on LTS versions of packages and sdk?
Before going neck deep into forking till I get it running on LTS SDK, is there anything against doing it or anything that can come handy on such venture?

Okay defyning custom NET9 constant and usage of csproj ItemGroup did the trick for me for project that targets .NET8. Thanks for giving me the idea. Feel free to close this item. Or I will close later
NET9_0_OR_GREATER not worked.

@Depact Can you share the changes you made just so we're on the same page?
You shouldn't need to change any TargetFrameworks in your project but you will need to use 9.0.x versions of the Aspire packages.

@captainsafia I will not be able to share exact changes for couple of days, but basically what I did.
I had some azure function and non azure function projects added in aspire project. All of them .NET 8.
I defined NET9 constant in csproj.
Added two itemGroups, one with .NET 9 versions of packages and one with .NET 8 and tied to NET9 constant I created. So when constant is enabled .NET 9 dependencies used.
used #if NET9 in code around connecting azure functions.
This way everyone with .NET 8, including pipeline, can build solution. But if .NET 9 is used azure functions also available for hosting using aspire.

@Depact Thanks for the detailed description! Your approach looks correct.
Let me know if you have any feedback/questions on the Aspire + Azure Functions integration in .NET 9/

@captainsafia for now my biggest pain is that logs buttons moved to pop up at some moment.
All projects start with same word, and

@captainsafia I accidentally pressed hotkey to send my comment before finishing to type it and close it. If you deem my experience useful I can continue reporting in communication channel you consider convenient.


[small] Make IModel.GetEntityTypes() return IEnumerable

Not pushing back, but why?

Consistency with IEntityType
Room for perf improvements

:shipit:


how to run the app

Hi,
I started the server and typed a question in. I got an error:
IOError: [Errno 2] No such file or directory: 'dir/classify.pkl'.
How can I get this file?
Regards

how did you started the app.. i mean how did you reached to the server..please post asap...thanks


build tests failed with version 0.9.2

question
I want to execte the self test program, but build failed, What's the problem?
build log
hipsycl-0.9.2-tests-build-log.txt
build env
[root@simon28li build]# gcc -v
Reading specs from /home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/gcc-10.3.0-ullvf66dh5tlvn5gezt2a5g3sqw6eudm/lib/gcc/aarch64-unknown-linux-gnu/10.3.0/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/gcc-10.3.0-ullvf66dh5tlvn5gezt2a5g3sqw6eudm/libexec/gcc/aarch64-unknown-linux-gnu/10.3.0/lto-wrapper
Target: aarch64-unknown-linux-gnu
Configured with: /home/spack-stage/root/spack-stage-gcc-10.3.0-ullvf66dh5tlvn5gezt2a5g3sqw6eudm/spack-src/configure --prefix=/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/gcc-10.3.0-ullvf66dh5tlvn5gezt2a5g3sqw6eudm --with-pkgversion='Spack GCC' --with-bugurl=https://github.com/spack/spack/issues --disable-multilib --enable-languages=c,c++,fortran --disable-nls --with-system-zlib --with-zstd=/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/zstd-1.4.5-llw3smv73bxlxedylprc4dnagnfreyug --with-mpfr-include=/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/mpfr-4.0.2-xw7mvbkg2tn2odcaztn4iulswznxcgbq/include --with-mpfr-lib=/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/mpfr-4.0.2-xw7mvbkg2tn2odcaztn4iulswznxcgbq/lib --with-gmp-include=/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/gmp-6.1.2-zyhr2mb6lowbsjrenwd3gtgtpznie6rh/include --with-gmp-lib=/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/gmp-6.1.2-zyhr2mb6lowbsjrenwd3gtgtpznie6rh/lib --with-mpc-include=/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/mpc-1.1.0-ed4mcdbrp76hwfuhkff4kvdrpysseahx/include --with-mpc-lib=/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/mpc-1.1.0-ed4mcdbrp76hwfuhkff4kvdrpysseahx/lib --without-isl --with-stage1-ldflags='-Wl,-rpath,/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/gcc-10.3.0-ullvf66dh5tlvn5gezt2a5g3sqw6eudm/lib -Wl,-rpath,/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/gcc-10.3.0-ullvf66dh5tlvn5gezt2a5g3sqw6eudm/lib64 -Wl,-rpath,/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/gmp-6.1.2-zyhr2mb6lowbsjrenwd3gtgtpznie6rh/lib -Wl,-rpath,/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/mpfr-4.0.2-xw7mvbkg2tn2odcaztn4iulswznxcgbq/lib -Wl,-rpath,/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/mpc-1.1.0-ed4mcdbrp76hwfuhkff4kvdrpysseahx/lib -Wl,-rpath,/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/zlib-1.2.11-wclep75baky5gi4gu5erof55jpbtgbgy/lib -Wl,-rpath,/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/zstd-1.4.5-llw3smv73bxlxedylprc4dnagnfreyug/lib' --with-boot-ldflags='-Wl,-rpath,/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/gcc-10.3.0-ullvf66dh5tlvn5gezt2a5g3sqw6eudm/lib -Wl,-rpath,/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/gcc-10.3.0-ullvf66dh5tlvn5gezt2a5g3sqw6eudm/lib64 -Wl,-rpath,/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/gmp-6.1.2-zyhr2mb6lowbsjrenwd3gtgtpznie6rh/lib -Wl,-rpath,/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/mpfr-4.0.2-xw7mvbkg2tn2odcaztn4iulswznxcgbq/lib -Wl,-rpath,/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/mpc-1.1.0-ed4mcdbrp76hwfuhkff4kvdrpysseahx/lib -Wl,-rpath,/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/zlib-1.2.11-wclep75baky5gi4gu5erof55jpbtgbgy/lib -Wl,-rpath,/home/spack/opt/spack/linux-centos8-aarch64/gcc-8.5.0/zstd-1.4.5-llw3smv73bxlxedylprc4dnagnfreyug/lib -static-libstdc++ -static-libgcc' --enable-host-shared
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.3.0 (Spack GCC)
[root@simon28li build]#
[root@simon28li build]# cmake --version
cmake version 3.19.5
CMake suite maintained and supported by Kitware (kitware.com/cmake).
[root@simon28li build]# cat /etc/os-release
NAME="CentOS Linux"
VERSION="8 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="8"

libstdc++ is too old and does not contain the symbols for std::filesystem. For some earlier gcc/libstdc++ versions, that library was shipped separately and needs to be linked manually. See also #667

Closing because of lack of feedback.


Feature Request: Outside lux sensor option

I love this plugin so much, but sometimes it would be nice if your lights inside could be the same color as out your window using a lux sensor.
Is this something that might be possible?

It would be great if it could handle multiple lux sensors, one outside and one inside for each integration entry to see the differences and adapt your indoor lighting to that.


chore: fixed docs examples

https://github.com/angular/angular-cli/issues/25492#issuecomment-1622032513


Crashing at "Compute PIV"

V0.16 is crashing on multiple phones at the "Compute PIV" step. Videos are not high res.

Can you get me which Android SDK these phones are using (Settings > About Device) ? I have an idea what it could be but I need to know for sure.

Android 11 no longer let's us use the user's Pictures directory to save data, this was causing a crash when trying to write data files to the user's phone. This is also why only the Base image was being saved to experiment directory. I'll start looking into where we can save data and make the needed changes.

#115 should fix any Android 11, and Android 7.1.1 compatibility issues. @jack-elliott I'll create a release (v0.16a) tomorrow that can be tested. I'll keep this issue opened until I hear back that everything is working.


Fix AA compilation

Gotta ask JanSharp about the details of this one

Done and done, after way too long.


[FEATURE] eve::struct_support and T[N]

Currently, If I want to make a SIMD UDT type using eve::struct_support and I need it to be slightly parametrized, it may become complicated:
template<std::size_t N>
struct some_struct : eve::struct_support<some_struct <N>, int, /* I want N float afterwards */ , int>;

I want:
template<std::size_t N>
struct some_struct : eve::struct_support<some_struct <N>, int, float[N], int>;

to be a shortcut for such use cases.

Discussion showed it is a bit too specialized. Closing for now


password for the tinycore linux

What is the password needed to login to the tinycore linux instance?
amitava:hyperkit amitava$ ./hyperkitrun.sh
~/opt/hyperkit/test ~/opt/hyperkit
Downloading tinycore linux
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
Sorry, try again.
sudo: 3 incorrect password attempts
~/opt/hyperkit
kexec: failed to load initrd test/initrd.gz
                                           ./hyperkitrun.sh: line 39: 65311 Abort trap: 6           build/com.docker.hyperkit $ACPI $MEM $SMP $PCI_DEV $LPC_DEV $NET $IMG_CD $IMG_HDD $UUID -f kexec,$KERNEL,$INITRD,"$CMDLINE"

This is asking for your password for running sudo the image doesn't have a password. I hope that helps

pnasrat is correct, closing.


Using SymbolValues with ExpressionEvaluator: Slot is not valid on Symbol Table

After updating to a more recent version, starting to get this exception. It might be related to this PR:   #817
InvalidOperationException: Slot 'x:FromRecord_25763907' is not valid on Symbol Table (FromRecord,Globals,BuiltinFunctions (140),DefaultConfig)_1656543
A minimal repro:
var values = new SymbolValues();
values.Add("x", FormulaValue.New(5));

var engine = new RecalcEngine();
var checkResult = engine.Check("x", RecordType.Empty().Add("x", FormulaType.Number));

var result = await checkResult.GetEvaluator().EvalAsync(CancellationToken.None, values);

Note that it doesn't reproduce when using Engine.EvalAsync directly.

This is by-design. the gist is that the symbols and check and eval need to correlate.
See here for an example of how to do it:
https://github.com/microsoft/Power-Fx/blob/94525664887f1eda23e0f6e67a3cb276421d9777/src/tests/Microsoft.PowerFx.Interpreter.Tests/SymbolValueTests.cs#L207
This becomes a bigger as the symbols get more complex (dataverse, connections, globals, etc), and we need to avoid elaborate lookups at runtime.

#900 adds a runtime check to catch this, and a new test.

#951 adds even stronger error message.


feat: support sandbox mode

Towards #33
This adds a sandbox parameters to browser.newPage():

If sandbox: true, each network request is intercepted and checked against deno permissions
If sandbox: Network_ResourceType[], only network requests matching the resource type are intercepted and checked against deno permissions (for example, you can choose to just sandbox document or fetch  request)

Unfortunately because of https://github.com/denoland/deno/issues/14668, I had to add a sandboxPrompt arg to toggle interactivity, since the current Deno.permissions.request will always ask for permissions even when passing --no-prompt or with DENO_NO_PROMPT=1
From the unit test I added, it seems pretty robuts, as you even if you try to use page.evaluate to redirect or fetch with JS, the network request will be intercepted (provided you pass the correct resource type in sandbox)
Small demo:

Side notes:

For the tests, I use window.performance.getEntriesByType('navigation')[0].responseStatus which returns the status code of the page. When using #celestial.Fetch.failRequest the response status will be 0 however the page is not empty, from I've seen it display a chrome error page telling that the request failed.
Additional thoughts: should file:// protocol use --allow-read permissions instead and supported by this feature ?

Unfortunately because of https://github.com/denoland/deno/issues/14668, I had to add a sandboxPrompt arg to toggle interactivity, since the current Deno.permissions.request will always ask for permissions even when passing --no-prompt or with DENO_NO_PROMPT=1

I'll just fix upstream, no need to add yet another option. Not a super hard patch.

Thanks for the quick review and the feedback !
I may follow this pr a bit sparsely since I'm doing other stuff in parallel but I'll try to be responsive on it 😄

Thank you for your work! Take your time.

Any ideas why tests are failing?

Any ideas why tests are failing?

For some reason this test does not work on windows (is ok on linux/mac os):
Deno.test.ignore("Sandbox fulfill granted read permissions", {
  permissions: {
    ...permissions,
    read: [...permissions.read, fromFileUrl(import.meta.url)],
    net: ["<IP_ADDRESS>"],
  },
}, async () => {
  const browser = await launch();
  const page = await browser.newPage(import.meta.url, { sandbox: true });
  assertStrictEquals(await page.evaluate(status), 200);
  await browser.close();
});

I'll try to debug this when I have some time. I wonder if it's because the volume name on windows make the url weird or something similar.
Btw, I think the error code 21 is actually the "lock file" of windows (since windows can create lock directly on the files). I think that's why if one of the tests fail on windows, the whole suite will start to behave weirdly and fail too, because browser.close() is called after the assertions so if one of them throw the process is actually never closed properly and it's not possible to relaunch an instance

Btw, I think the error code 21 is actually the "lock file" of windows

I think that makes a lot of sense actually. Could definitely be the case.

Any changes you want to make before this gets merged? This LGTM. Great work!

Apart from changing Deno.permissions.query to Deno.permissions.request once it's fixed upstream not really.
For now it means that enabling sandbox will not prompt for additional permissions so users shouldn't be surprised if their requests fail if they didn't grant enough permissions

I think this is a reasonable limitation for now. We can change it to prompt when I patch upstream. Thanks for your work!


Consoles get renamed when moved in the IPython console

If I rename a console foo and move it next to another one, their names get swapped.

They don't need to be renamed for this to happen.  Just swapping two tabs causes them to switch names.

@ccordoba12   It appears this is a result of PR #5902.    In tabs.py, PR 5902 commented out the code in mouseMoveEvent that created the QDrag object.  Without the QDrag object, dragEnterEvent and dropEvent aren't called, which means the signals aren't emitted to move_tabs which does the renaming.  editor.py uses the tabMoved() signal (which was added in Qt 4.5).
As you said in #5902, I think tabs.py should be updated to match editor.py, which would mean using tabMoved().  However there is also code in there to move tabs from one widget to another, so that would be lost without the custom drag and drop.  Although, it's not working anyway, so maybe it wouldn't be an issue to lose that functionality?


Reunion Project by Monday 1/9/2023

[ ] Clear title and idea
[ ] Frontend Personalize and customize in HTML or SASS
[ ] Ideate 4 or 5 individual features all of which meet the requirements for Create Performance Task; one per individual.

EXTRA

[ ] Add external links

[ ]  Ideate 4 or 5 individual features all of which meet the requirements for Create Performance Task; one per individual.

user input table about different landmarks to visit in the trip
API for data abstraction (random facts about Dubai?) Possible API
a list that manages complexity (different places and time frames of going)
procedure ( relating to our cost, time, or budget )
algorithm within procedure ( relating to costs, time, or budget of places we visit)


Extra 2 bytes at the beginning of signature

When signing detached, there are 2 more bytes at the beginning of the signature then what is expected.
https://openquantumsafe.org/liboqs/algorithms/sig/dilithium.html
There should be 4595 bytes
In the test below the sig is 4597 bytes
const test = async () => {
  const keyPair = await dilithium.keyPair();
  var sig = await dilithium.signDetached(Buffer.from("this is a test", 'utf8'), keyPair.privateKey)
  console.log(sig.length)
}

If the two bytes are trimmed, the signature is then verifiable by other implementations of dilithium.

did u check if the opposite works?
other implementation sign, this verify?
I tried to verify without the initial extra bytes and it failed to verify


XSS using javascript URLs

Describe the bug
The new default HTML sanitizer is an improvement, however there are still some bypasses possible using javascript URLs. Specifically using an embedded tab character (0x09).
To Reproduce
Steps to reproduce the behavior:

Go to https://nhn.github.io/tui.editor/latest/tutorial-example01-editor-basic
Open the devtools console in your browser (when using firefox you can press F12)
Run the following snippet: console.log('test: click me')
Copy the HTML from the log output
Paste the snippet somewhere in the left column
Click on the link
An alert box will now popup

Expected behavior
I would suggest using a regular expression to whitelist safe URLs, instead of using a blacklist. In the future, browsers might introduce new features (a new url scheme for example) or new bugs, for which a blacklist will not help.
Screenshots

Desktop
Firefox v80
Additional context
Tested with v2.4.0
Thanks for all the work on improving the default sanitizer after I reported #733

@Joris-van-der-Wel Thank you for checking the issue and reporting it. I will take care of this condition so that it can be sanitized.

This is still reproduceable in the latest version. Is there any option to allow only plain text paste (strip all html tags)?

This is still reproduceable in the latest version. Is there any option to allow only plain text paste (strip all html tags)?

@Ben-Mack When I check, the alert doesn't work, but it works for you? Please explain in more detail how the problem occurs.

@Ben-Mack When I check, the alert doesn't work, but it works for you? Please explain in more detail how the problem occurs.

I use exactly the same steps as the OP described.

I use exactly the same steps as the OP described.


Room Personalization Ritual

Empowered by the quest for user autonomy, wizards unveil the Room Personalization Ritual. With the need of an updated schema and a magical controller, room creators can now add names and optional descriptions to their realms (rooms). They have the ability to shape the identity of their quiz room, making it uniquely theirs.
Identify the necessary changes that need to be made in the schema. Get the changes verified by either @VatsalBhuva11 or @bhupesh98 , before npx prisma db push.
Some unknown entity joined your personalized room? Gotta remove them! The creator should have the option to remove a User from the room. The controller for it may have the userId obtained as a query parameter to the api/v1/room/user/delete route. Update the routes wherever necessary, ensuring they make logical sense as to which file they're placed in (make it modular). The controller can be writen in the src/controllers/room.controllers.js file.
For testing, create a new room (from a 'test2' account), give it a name of test2, description of test2, create and add multiple users to this room using npx prisma studio, and using the test2 account, delete some users from the room. Attach suitable screenshots.
Ensure that authentication middleware is used wherever required.

claim

c

claim

Claim

claim

@criticic assigned to you.

Good job, @criticic !


Manpages v2

I've taken a look at my original cog generate-manpages design and it seems unwieldy in hindsight. It requires unnecessary effort from a packager to manually discover subcommands and request them one by one. Also the generated manpages for subcommands are not correct since the perceived name is foo-subcommand instead of cog-foo-subcommand.
This switches to simply giving the command the directory for the output and then automatically creating all manpages ourselves.
One tidbit is having to enable the string clap feature in order to adjust the command names manually. This shouldn't be a big problem but I wanted to point out that it's there.
As an aside, I didn't mark this change as breaking since I don't think generating manpages should be considered a part of the main public API. I'd even be half inclined to set it as chore rather than feat.

I realized I was a bit too eager to squeeze in a mod cli; here 😅. Reverted that to decrease the surface area of this change.


Why is my count for the number of videos in htm_aa_v1.csv 247, 564 instead of 370K?

Hi, I downloaded htm_aa_v1.csv from the Oxford server you given, I used np.unique to count the video list and found only 247, 564 videos but not 370k videos. Is there something wrong?

htm_aa_v1.csv should be the output of TAN, which will be used for downstream representation learning. It is not the HTM370k training set for TAN.

Will you release a list of video IDs for HTM370K?

I am waiting for the author to release their training code and training set as well.

Hi, HTM-370K is ready to download from the project page. We provide two files:

YouTube ASR sentences: [sentences, start-timestamps, end-timestamps] for each video,
The video IDs in a txt file.

We recently find YouTube ASR quality improves over time -- the ASR file released by the HowTo100M team 3 years ago (https://www.di.ens.fr/willow/research/howto100m/) has many low-quality ASR texts. So we re-downloaded the YouTube ASR files in June and went through the pre-processing pipeline, to release these ASR files with better quality.
I'm working on the rest. Thank you for your patience.


Add volume calculator

calculates volume of sphere, cuboid, pyramid

Hey assign me!

sure do it @dhruvdabhi101

hii @davejane25 can you please assign this to me

do it @ashish5433

task done with #24


Searching root reboots my computer and corrupts my zsh history.

cd /; sudo ag "crash me please"
This consistently causes my laptop to reboot, and affected by my debian and void linux installs.  It causes a reboot and zsh complains of a corrupted history, hopefully it's not corrputing anything else.  It's been confirmed by the one other person I got to try it.

Please note:

The version of ag you're using
Your operating system (the exact version)
Your CPU architecture
Whether you've tried grep -r or ack in the same way

I bet you could also narrow down the exact "file" that causes this. It's probably in /dev or /proc.

I’ve been encountering the exact same issue. My OpenSUSE Tumbleweed (VMWare Fusion image) crashes when I execute an ag search from the root. I’ve now done it twice, and both times it crashed the OS. First time it killed the installation and rendered it unrepairable. The second time it ‘only’ managed to have turned off all my Gnome extensions upon reboot, and have now changed from the Plymouth graphical boot-screen to a text boot-screen.
Some info:
Linux suse 4.4.1-1-default #1 SMP PREEMPT Mon Feb 15 11:03:27 UTC 2016 (6398c2d) x86_64 x86_64 x86_64 GNU/Linux
Distributor ID:	openSUSE project
Description:	openSUSE Tumbleweed (20160223) (x86_64)
Release:	20160223
4x Intel Xeon CPU X5365 @ 2.993GHz. 4GiB of RAM. 30GiB of harddrive ~50% used.
One common BTRFS partition for OS and home folders. ZSH shell.
I’ve attached a log of the latest episode:
ag_log.txt
I could seem like line 8 of the log cause the issue:
Feb 25 21:16:49 suse systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 27937 (ag)
Feb 25 21:16:49 suse systemd[1]: Mounting Arbitrary Executable File Formats File System...

It starts with the ag command being executed, and ends with me forcing a reboot from VMware.
I have tried the same command with both grep and ack, but they work fine.

Not an ag issue: you're reading /dev/watchdog, which will restart the system: https://tuxdna.wordpress.com/2010/10/11/cat-devwatchdog-reboots-the-system/

Happens here as well, while trying ag "boom" /dev. But I dont have any /dev/watchdog device

After some debug we were able to reproduce the issue executing:
cat /dev/hpet

on an Amazon Linux VM running in AWS.
So this is not an ag issue as pointed previously by @HaleTom

Please try master now. I think https://github.com/ggreer/the_silver_searcher/commit/8639866dcc9d7848f11dd86832eb59ba4a36e978 has fixed the issue, but my linux machines don't have /dev/watchdog or /dev/hpet.

Hi @ggreer
I am sorry but master haven't worked:
ubuntu@ip-172-31-14-210:~/the_silver_searcher$ ag "boom" /dev/hpet
ERR: Skipping /dev/hpet: Error opening file: Permission denied
ubuntu@ip-172-31-14-210:~/the_silver_searcher$ sudo ag "boom" /dev/hpet

I've checked I dont have SilverSearcher installed from repos and compiled latest master at ee56182.
If anyone can also confirm it still doesn't work.
You can just launch a server in AWS Cloud, cheap, fast and easy.

Hi @chipironcin
Can you verify what attributes does the /dev/hpet have?
It should be a character device.
The test of st_mode of the stat structure in the_silver_searcher/src/search.c is a suspect.
It should discriminate against block devices and character devices.

crw------- 1 root root 10, 228 Jan 11 15:20 /dev/hpet

It is a character device.


Update Release Notes for 2.0.1

This file should take the place of the RELEASE-NOTES.md file.

Thank you for grammar correction, but I don't understand why we're changing item listing style at version update from 2.0.0 to 2.0.1. I'd love unified style in a single text file.

@kuenishi I changed the item listing style because I was asked to create a standard style for release notes across Basho. However, your comment has made me think that it may be best to do so at 2.1 rather than 2.0.1. I will update my PR.

@laurenrother that makes sense.

@borshop merge


:pencil: Small typos

One typo and one small doc link fix.

@all-contributors please add @jefftriplett for doc


How to generate a Classification report and confusion matrix for yolo-nas model

🚀 Feature Request
I am using yolo-nas model and trying to use different model architecture.
So is there a way to generate a classification report and confusion matrix for each model to evaluate it decide which model and parameters are good and use that to prediction.
Proposed Solution (Optional)
No response

This is not implemented. You probably need to write you own code to summarize this.

Hi @kumarsyamala
Thanks for opening an issue for SG.  I'm gathering some feedback on SuperGradients and YOLO-NAS.
Would you be down for a quick call to chat about your experience?
If a call doesn't work for you, no worries. I've got a short survey you could fill out: https://bit.ly/sgyn-feedback.
I know you’re super busy, but your input will help us shape the direction of SuperGradients and make it as useful as possible for you.
I appreciate your time and feedback. Let me know what works for you.
Cheers,
Harpreet


Fix scheduled app test

Apparently if we don't explicitly set the namespace of the sparkApp, it will be "" and thus causing the unit test to fail.

@googlebot I signed it!

I have never seen unit test failures in scheduledsparkapplication/controller_test.go.