why set number_samples  and running_loss  to zero ?

https://github.com/VinhLoiIT/signet-pytorch/blob/36c5ee637a135255675c63d0bfbcb9aa777bba14/train.py#L37-L38
In train.py after print the result for any log_interval step why set number_samples  and running_loss  to zero ?
But in the eval step do not set them to 0.
https://github.com/VinhLoiIT/signet-pytorch/blob/36c5ee637a135255675c63d0bfbcb9aa777bba14/train.py#L58-L59

In the training phase, basically what we're doing in the logging line is that we compute the average loss over some iterations. It's not very accurate due to randomness of the data sampling. We'll do reset so that initial losses computation will not affect to the current running loss.
However, in the evaluation phase, there is no randomness, so we just sum all the loss and divide it once with the number of data.
I hope this will help.

In the training phase, basically what we're doing in the logging line is that we compute the average loss over some iterations. It's not very accurate due to randomness of the data sampling. We'll do reset so that initial losses computation will not affect to the current running loss.
However, in the evaluation phase, there is no randomness, so we just sum all the loss and divide it once with the number of data.
I hope this will help.

Thank you for your comment.  I meant that if we remove these two lines from the print version, nothing will happen.


propose command ids in keybindings.json

When authoring keybindings, we should propose command ids using intellisense

Related to #1822 and #1824


[Ammonite] set cache location for jars (be able to change from home dir paths?)

I'm not sure what this means in the context of our latest way of accomplishing this. I think the cache location becomes irrelevant if we provide the jars directly.


Build Error

I ran cargo run
but it exit unsuccessfully
Compiling servo-fontconfig-sys v5.1.0    Compiling freetype-rs v0.26.0    Compiling wayland-client v0.29.4    Compiling calloop v0.10.1 error: failed to run custom build command forservo-fontconfig-sys v5.1.0`
Caused by:
process didn't exit successfully: /home/asterisks/projects/learn/Rust/github_project/runty8/target/debug/build/servo-fontconfig-sys-2c68ca559824e33f/build-script-build (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=FONTCONFIG_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=FONTCONFIG_STATIC
cargo:rerun-if-env-changed=FONTCONFIG_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
--- stderr
thread 'main' panicked at '"pkg-config" "--libs" "--cflags" "fontconfig" "fontconfig >= 2.11.1" did not exit successfully: exit status: 1
error: could not find system library 'fontconfig' required by the 'servo-fontconfig-sys' crate
--- stderr
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing fontconfig.pc'   to the PKG_CONFIG_PATH environment variable   No package 'fontconfig' found   Package fontconfig was not found in the pkg-config search path.   Perhaps you should add the directory containing fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found
', /home/asterisks/.cargo/registry/src/github.com-1ecc6299db9ec823/servo-fontconfig-sys-5.1.0/build.rs:34:17
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
`

Hi @Asterisk-z, I've never ran into that issue, have you seen these SO answers: #1, #2?

Installing libfontconfig-dev solved the issue for me (Ubuntu 22.04).

thanks @binarica
libfontconfig-dev  worked on mine too

Now i am getting this when i run cargo run --bin confetti
warning: associated function is never used: fset_all
--> src/runtime/flags.rs:57:12
|
57 |     pub fn fset_all(&mut self, sprite: usize, flags: u8) -> u8 {
|            ^^^^^^^^
|
= note: #[warn(dead_code)] on by default
warning: function is never used: spr
--> src/editor.rs:824:4
|
824 | fn spr<'a>(sprite: usize, x: i32, y: i32) -> impl Into<Element<'a, Msg>> {
|    ^^^
warning: runty8 (lib) generated 2 warnings
Compiling runty8 v0.1.0 (/home/asterisks/projects/learn/Rust/github_project/runty8)
Finished dev [unoptimized + debuginfo] target(s) in 14.60s
Running target/debug/confetti
Couldn't create assets directory: ``.
thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/bin/confetti.rs:5:48
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

@Asterisk-z I've fixed that error (and the warnings 😄) in the latest commit in master. Please give it another try.

Yeah
It works now

Fixed in bee0a5b475f6ca5837a310b64437d71e18192ed6.


Update extended_network_image_provider.dart

Fixes build errors caused by Flutter 1.5.9-pre.106 update.
Fixes grammar and spelling

thank for check spelling，i will do this change.  and i think we should not do some change just for Flutter 1.5.9-pre.106 update, almost users are not in this version.

It's a cast to the type explicitly, that's all. It should still work on
older versions. I haven't tested it on older versions though
On Thu, May 2, 2019, 3:06 AM zmtzawqlp<EMAIL_ADDRESS>wrote:

Closed #5 https://github.com/fluttercandies/extended_image/pull/5.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fluttercandies/extended_image/pull/5#event-2314051611,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFPYO7IUIOVPZLLHMHXVUYTPTK4IZANCNFSM4HJ3BXPA
.

old version can't build successfully， i have tested it

Ok. So what will you do? It doesn't build successfully for the new version
without it. The flutter team just updates the package and lists a breaking
change in the changelog. Users still have the option to stay on the
old version Hy using version constraints since that's what it's for.
On Thu, May 2, 2019, 5:50 PM zmtzawqlp<EMAIL_ADDRESS>wrote:

old version can't build successfully， i have tested it
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fluttercandies/extended_image/pull/5#issuecomment-488881271,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFPYO7J2KME2QITAZPO2JJDPTOD4NANCNFSM4HJ3BXPA
.

codes are base on flutter 1.1.5 (NetworkImage), if any one find some codes are broken,
please fix them base on your flutter version, would't maintain codes for every version.

I'm sorry, I don't understand
On Thu, May 2, 2019, 6:35 PM zmtzawqlp<EMAIL_ADDRESS>wrote:

codes are base on flutter 1.1.5 (NetworkImage), if any one find some codes
are broken,
please fix them base on your flutter version, would't maintain codes for
every version.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fluttercandies/extended_image/pull/5#issuecomment-488887930,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFPYO7J3DTNFRHZBNDACMZLPTOJHBANCNFSM4HJ3BXPA
.

user can fix broken code by themself, base on the their version .we can't force user to update to lastest version

The code is in your package. You don't have to force users to use the
newest version. They can stay on the old package version. This is what the
Flutter team did with all their packages when updating to AndroidX. All
users who were not ready stayed on old packages. It's your package, though,
so it's your decision.
On Thu, May 2, 2019, 6:54 PM zmtzawqlp<EMAIL_ADDRESS>wrote:

user can fix broken code by themself, base on the their version .we can't
force user to update to lastest version
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fluttercandies/extended_image/pull/5#issuecomment-488890218,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFPYO7LKLJ33VILTECSNK3LPTOLMNANCNFSM4HJ3BXPA
.

if have any bug fix or new function for extended image in the future, we can't tell user , you must use flutter 1.5.9. i will update this till flutter team make 1.5.9 as stable version, thanks for your suggestion

Thank you as well

I'm just going to leave an open issue for others who may come for the same thing. No pressure.


feat(esm): make esm the default module system

Merge Activity

Sep 13, 6:00 PM: @pevisscher started a stack merge that includes this pull request via Graphite.


-SensitivityLabelId should be -SensitivityLabel

-SensitivityLabelId does not return any results. You need to use -SensitivityLabel to view the sensitivity label. See image for example

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

ID: 03921866-8345-7e01-e873-3ec191191fbf
Version Independent ID: cb374ec2-99c3-7186-66ed-c037a678e946
Content: New-UnifiedGroup (ExchangePowerShell)
Content Source: exchange/exchange-ps/exchange/New-UnifiedGroup.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@nikki-c, availability vs. functionality of a parameter are often unrelated. See here for more explanation.
Common sense says you would use the SensitivityLabelId parmeter on New/Set-UnifiedGroup to assign a sensitivity label to the Microsoft 365 Group.  Did other content direct you to use this parameter and/or functionality in the UI?

@chrisda I am using Get-UnifiedGroup to report on the sensitivity labels applied to a Microsoft 365 group. This is showing SensitivityLabel and not SensitivityLabelId.  As per my previous screenshot.

@nikki-c, ahh, OK. I can confirm that the parameter name where you set the sensitivity label in New/Set-UnifiedGroup is SensitivityLabelId as written. Can you confirm or deny? Easy way is to run this command:
(Get-Command New-UnifiedGroup).parameters.keys | Sort-Object

This kind of thing happens occasionally; the output property in the Get command doesn't match the parameter name in the New and Set cmdlets.

I can confirm that New-UnifiedGroup shows SensitivityLabelId. It is confusing when the New & Set commands are different with the Get. It took me ages to work out why I was not getting any results.  I guess I just use the command with the relevant command if I encounter blank results again when using Get
PS C:\WINDOWS\system32> (Get-Command New-UnifiedGroup).parameters.keys | Sort-Object
AccessType
Alias
AlwaysSubscribeMembersToCalendarEvents
AsJob
AutoSubscribeNewMembers
Classification
Confirm
ConvertClosedDlToPrivateGroup
DataEncryptionPolicy
Debug
DeleteDlAfterMigration
DisplayName
DlIdentity
EmailAddresses
ErrorAction
ErrorVariable
ExecutingUser
ExoErrorAsWarning
HiddenGroupMembershipEnabled
InformationAction
InformationVariable
IsMemberAllowedToEditContent
Language
MailboxRegion
ManagedBy
Members
Name
Notes
OutBuffer
OutVariable
Owner
PipelineVariable
PrimarySmtpAddress
RequireSenderAuthenticationEnabled
SensitivityLabelId
SubscriptionEnabled
SuppressWarmupMessage
Verbose
WarningAction
WarningVariable
WhatIf
From: Chris Davis @.>
Sent: 30 September 2022 01:17
To: MicrosoftDocs/office-docs-powershell @.>
Cc: Nikki Chapple @.>; Mention @.>
Subject: Re: [MicrosoftDocs/office-docs-powershell] -SensitivityLabelId should be -SensitivityLabel (Issue #9978)
@nikki-chttps://github.com/nikki-c, ahh, OK. I can confirm that the parameter name where you set the sensitivity label in New/Set-UnifiedGroup is SensitivityLabelId as written. Can you confirm or deny? Easy way is to run this command:
(Get-Command New-UnifiedGroup).parameters.keys | Sort-Object
This kind of thing happens occasionally; the output property in the Get command doesn't match the parameter name in the New and Set cmdlets.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/office-docs-powershell/issues/9978#issuecomment-1262959879, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQRY4GVUH2KSXF7A6S43B23WAYWQ7ANCNFSM6AAAAAAQY3HOZE.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

@nikki-c, I agree it's confusing.
I completed the descriptions of the SensitivityLabelId parameter in New/Set-UnifiedGroup as follows:

The SensitivityLabelId parameter specifies the GUID value of the sensitivity label that's assigned to the Microsoft 365 Group.
Note: In the output of the Get-UnifiedGroup cmdlet, this property is named SensitivityLabel, not SensitivityLabelId.

Does this help?

Perfect

From: Chris Davis @.>
Sent: Friday, September 30, 2022 5:31:15 PM
To: MicrosoftDocs/office-docs-powershell @.>
Cc: Nikki Chapple @.>; Mention @.>
Subject: Re: [MicrosoftDocs/office-docs-powershell] -SensitivityLabelId should be -SensitivityLabel (Issue #9978)
@nikki-chttps://github.com/nikki-c, I agree it's confusing.
I completed the descriptions of the SensitivityLabelId parameter in New/Set-UnifiedGroup as follows:
The SensitivityLabelId parameter specifies the GUID value of the sensitivity label that's assigned to the Microsoft 365 Group.
Note: In the output of the Get-UnifiedGroup cmdlet, this property is named SensitivityLabel, not SensitivityLabelId.
Does this help?
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/office-docs-powershell/issues/9978#issuecomment-1263781972, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQRY4GXPYLQ4UNEA5ET7RBTWA4IVHANCNFSM6AAAAAAQY3HOZE.
You are receiving this because you were mentioned.Message ID: @.***>


[Feature] Adding GSAP Animations To the website

Description
I want to add some minimilistic or you can say cool animations , which will make the website attractive , you can refer to my this project :
https://elitecricketacademy.netlify.app/
Screenshots
I have attached a small recording , you can refer above link for whole website
https://github.com/Rakesh9100/Beautiify/assets/124780421/d10832c2-7002-46d4-b759-7380132ee18e
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[X] I am a SWOC'24 contributor.

Code of Conduct

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

@JATIN0926 please assign me this issue👨💻

@Rakesh9100 why have to given me status standby, is there any issue ? 😅

You are assigned to one issue. After completion, you will be assigned to this @JATIN0926

@Rakesh9100 previous issue is resolved 👍

Proceed @JATIN0926

PR status pls @JATIN0926

@Rakesh9100  I am out of station for some days , I will update the PR in 1-2 days!


error sklearn

Traceback (most recent call last):
File "D:/Kampus/Kuliah/Semester 6/Computer Vision/Project Akhir/color_recognizer-master/color_recognizer2.py", line 6, in
import vizualizator
File "D:\Kampus\Kuliah\Semester 6\Computer Vision\Project Akhir\color_recognizer-master\vizualizator.py", line 2, in
from sklearn.preprocessing import MinMaxScaler
File "C:\Users\ASUS\AppData\Roaming\Python\Python36\site-packages\sklearn_init_.py", line 64, in
from .base import clone
File "C:\Users\ASUS\AppData\Roaming\Python\Python36\site-packages\sklearn\base.py", line 13, in
from .utils.fixes import signature
File "C:\Users\ASUS\AppData\Roaming\Python\Python36\site-packages\sklearn\utils_init_.py", line 13, in
from .validation import (as_float_array,
File "C:\Users\ASUS\AppData\Roaming\Python\Python36\site-packages\sklearn\utils\validation.py", line 22, in
from ..utils.fixes import signature
File "C:\Users\ASUS\AppData\Roaming\Python\Python36\site-packages\sklearn\utils\fixes.py", line 83, in
from scipy.special import boxcox  # noqa
File "D:\Programming\Python\lib\site-packages\scipy\special_init_.py", line 640, in
from ._ufuncs import *
ImportError: DLL load failed: %1 is not a valid Win32 application.

Can you provide some info what went wrong for others please?


@NoArgsConstructor cannot be used with other custom constructors

i use @NoArgsConstructor create a no args constructor and i also use custom constructor with some args . but  idea build would has a error in pojo like
Error:(15, 1) java: constructor Cargo() is already defined in class com.domain.po.Cargo.

jdk: 1.8
idea 2018.2
pojo define like this:
@Data
@NoArgsConstructor
public class Cargo {
     private Long id;
     private String name;
     public Cargo(String name){
        this.name = name;
     }
}

lombok version 1.16.22


Vectorization and feasibility

@whoburg, I think we should just merge this, which has the feasibility and the newvectorized stuff. It was easier to fix pylint bugs on the two branches together.
This implements only what we discussed today.
Closes #428
Closes #520
Closes #521
Closes #563
Closes #666
Closes #765
Closes #926
Closes #950
Closes #946

This test failure is not reproducible on my machine; it appears that a different version of cvxopt can get different results when debugging a model.

Oops no this is my bad. Pushing a fix.

@whoburg, ready for review

retest this please

also, we need to inform our users of the change to setup methods and how exactly this affects their existing models in terms of backwards compatibility and any current or planned warning messages. At the very least, mention in release notes and in a release e-mail.

Agreed re: release notes and email!

@whoburg, ready for re-review.

retest this please (it's trying to call cvxopt on mosek-only machines?)

a draft introduction of setup:
Note: this release deprecates the method of created named submodels by inheriting from Model and writing a custom __init__ method. The fact that variables created during __init__ in any child classes would later be named was bit irregular and hacky. Now we support the explicitly-irregular setup method: if a class inheriting from Model implements setup, any variables created in it will be named and added to the model's varkeys (even if they're not in any constraints). setup methods get passed the args and kwargs of the constructor, and return an iterable of constraints. If you wish to declare a cost, set self.cost during the setup call.
In addition to permitting us to name variables at creation, and include unused variables in a model, we hope that setup methods will clarify the side effects of named model creation.

@galbramc, There is no explicit call to cvxopt in the code, so I'm quite perplexed why it's showing up as the default solver on windows10x64 and macys

Here is the problem:
(venv2_gpkit) C:\Users\jenkins\workspace\gpkit_PullRequest_Unit\buildnode\windows10x64\optimizer\mosek>if mosek == mosek type C:\Users\jenkins\workspace\gpkit_PullRequest_Unit\buildnode\windows10x64\optimizer\mosek\gpkit\env\settings   | findstr /v cvxopt,    || exit /b 666
installed_solvers : mosek, cvxopt
mosek_bin_dir : C:\Program Files\Mosek\7\tools\platform\win64x86\bin

(venv2_gpkit) C:\Users\jenkins\workspace\gpkit_PullRequest_Unit\buildnode\windows10x64\optimizer\mosek>REM Show the settings file

(venv2_gpkit) C:\Users\jenkins\workspace\gpkit_PullRequest_Unit\buildnode\windows10x64\optimizer\mosek>type C:\Users\jenkins\workspace\gpkit_PullRequest_Unit\buildnode\windows10x64\optimizer\mosek\gpkit\env\settings
installed_solvers : mosek, cvxopt
mosek_bin_dir : C:\Program Files\Mosek\7\tools\platform\win64x86\bin

It appears that the settings file used to contain "cvxopt, mosek", but now contains "mosek, cvxopt". My code to remove cvxopt from the settings file is looking for the string "cvxopt," and hence does not find it.
I really don't like this after the fact mucking with the settings file. It would be much better if we could add an argument to the build script where I can specify which solvers to look for to override the default behavior to look for all.

Ah, that makes sense. We definitely could support that! As an argument to the run function, perhaps?

Preferably I would like to have another argument when I run
python setup.py build
because that is where the settings file is generated. Alternatively we could use an environment variable to set the available solvers. Your call on what you prefer.

@galbramc, it now looks for the environment variable GPKITSOLVERS

test this please

@bqpd should @1ozturkbe and I be using this branch now?
Also, I think something is messed up with the solver selection because on verbosity=4 GPkit is telling me Using solver 'mosek' but I'm getting the cvxopt data print out

test this please

@whoburg, second draft of the setup introduction:
This release deprecates the method of created named submodels by inheriting from Model and writing a custom init method.
The way that variables created during init in any inheritor of Model classes would be replaced via subinplace during Model.init to add the class.name modelname was a bit irregular and hacky.
We're instead moving to the explicitly-irregular setup method, which (if it exists) is called during Model.init inside a with NamedVariables(self.class.name): environment, which 1) handles the naming of variables more explicitly and efficiently, and 2) allows us to capture variables created within that environment, so that constants that are not a part of any constraint can be used directly (there's several examples of such template models in the new Building Complex Models documentation).
setup is called with the args and kwargs passed to init, with the exception of substitutions, which is reserved for the easy creation of named models with custom substitutions.
setup methods should return an iterable (list, tuple, ConstraintSet, ...) of constraints or None if the model contains no constraints. (n.b. in Python None is implicitly returned if a function does not contain a return statement) If you wish to declare a cost, set self.cost during the setup call.
In addition to permitting us to name variables at creation, and include unused variables in a model, we hope that setup methods will clarify the side effects of named model creation.

@mayork yes and whoops that was a local test I accidentally merged...should be fixed now

yep its fixed

Soon you'll be on master for like the first time this term.

retest this please

retest this please

test this please

I don't exactly know why the unit tests is not building when we ask for it, but there is some strange error message in the log. It does seem to get triggered when you push changes though. From the looks of it, something didn't go quite right with GPKITSOLVERS.

From the console it appears that Mosek is not installing on the mosek machines because `ctypesgencore  is not found:
## SKIPPING MOSEK INSTALL: CTYPESGENCORE WAS NOT FOUND

Have some of the mosek vms actually been running with just mosek_cli?

Yep, looks like that was the case. Now that we are actually forcing the use of mosek we are noticing the problem.

Extra bonus test!

@bqpd i've been getting this message Declaring a named Model's variables in __init__ is not recommended. For details see gpkit.rtfd.org...is this some carry over from when set up methds were used or are we changing our standard format?

@mayork, see the comment above under "Changing inheritance from Model". No more W == W constraints!

got it, thanks!

The relevant performance modeling example is in the examples folder, take a
look there as well.

test this please

@whoburg, ready for review; and here's draft 3 of the setup announcement:

Changes to named models / Model inheritance
This release deprecates the creation of named submodel classes created by inheriting from Model and writing a custom __init__ method.
The way that variables created during __init__ in any inheritor of Model classes would be replaced via subinplace during Model.__init__ to add the  __class__.__name__ modelname was a bit irregular and hacky.
We're moving to an explicitly-irregular setup method, which (if declared for a class inheriting from model) is called during Model.__init__ inside a NamedVariables(self.__class__.__name__) environment, which 1) handles the naming of variables more explicitly and efficiently, and 2) allows us to capture variables created within that environment, so that constants that are not a part of any constraint can be used directly (there's several examples of such template models in the new Building Complex Models documentation).
setup is called with the arguments passed to the __init__, with the exception of substitutions, which is a reserved keyword allowing for the easy creation of a named model with custom parameter values (as in the Beam example in the documentation). setup methods should return an iterable (list, tuple, ConstraintSet, ...) of constraints or None if the model contains no constraints. To declare a submodel cost so that it can be solved directly, set self.cost during the setup call; however, we find  declaring a model's cost explicitly just before solving to be a more legible practice in most cases.
In addition to permitting us to name variables at creation, and include unused variables in a model, we hope that setup methods will clarify the side effects of named model creation.

test this please

test this please

test this please

Am I supposed to be seeing this message on Windows10? I thought we only had problems with 32 bit.
# Looking for mosek_cli
# Build script does not support mosek_cli your architecture (64bit)
# Did not find mosek_cli

@galbramc, I'll make a separate PR to handle that.


feat(Jetbrains-Gateway): Specify IDE Version or Latest

I would like to request an option to use a specific or latest version of the selected IDE.
For example:
Case #1: We specify 2024.1 to use the 2024.1 version of the IDE.
Case #2: We specify latest and upon startup of the workspace the latest version of the selected IDE will be discovered and utilized. If a new version is released, we simply would need to restart the workspace to link the new version.
Case #3: We leave the input blank and the version hardcoded into the module is used.

I am not sure if Jetbrians has a handy api to fetch the latest versions and build number.

I found one! Shows all (recent) versions as well as a marker for the latest!
https://data.services.jetbrains.com/help-versions?product=go

I found one! Shows all (recent) versions as well as a marker for the latest!
data.services.jetbrains.com/help-versions?product=go

This doesn't list the build number that is needed to construct the download URL.

Well shoot, I'll keep looking...

This one looks promising!
https://data.services.jetbrains.com/products?code=GO&release.type=release
We can change the code=GO to match the selected IDE and under releases the first entry is the latest release with download links, version number, and build number, along with a bunch of other goodies!

So we should be able to get the download link using .[0].releases[0].downloads.linux.link

Looks like it, I'm wondering if we should default to the latest version and allow end users to optionally specify a specific version?

Default to fetch will slow down builds and not work for air gapped environments.

Ok, so can we trigger the HTTP query pragmatically after the workspace owner selects and IDE and if they want the latest version? I'm not familiar enough with Terraform yet to know the inner workings of data access like that.
I also found this endpoint that will only provide the latest release, but we would need to call it for each IDE.
I think this would be a quick enough API call that we could default to latest with a fallback?
https://data.services.jetbrains.com/products/releases?code=GO&latest=true&type=release
Does this module even work in air gapped systems? Coder would need internet access to download the IDE anyways.
Unless the system has the IDE pre-installed? In which case, perhaps we should have a backend parameter to override the IDE, version, and build number?

Air-gapped solutions would self-host terraform modules. But i like the idea that you can select for "latest" and it would dynamically look it up.

Actually, I am not sure how air-gapped solutions would allow for JetBrains download in the first place. 😆. You would have to pre-install the idea on the running workspace.

Actually, I am not sure how air-gapped solutions would allow for JetBrains download in the first place. 😆. You would have to pre-install the idea on the running workspace.

That's kind of what I was getting at... But if you are on an air gapped system with a pre-installed IDE, wouldn't it be easier to manually specify the Gateway link to match the version than to match what is specified in this module?
IMHO I don't think this module is useful in an air gapped system.

#226 addresses points 2 and 3 but needs to handle 1. I need help finding an easy way to get details of a specific version. It can be done with parsing and some regex matching. So, reopening this issue. if anyone wants to do that.

Great. This would work.
I won't be able to do this in next few weeks. Feel free to submit a PR.


Fix plain text log messages with double quotes

Previous fix to display plain text message correctly only address the
"" cases, but not messages with double quotes.
The cleaner and faster fix is to just set the message string as a value
of QJsonObject directly.
Also fix a compilation warning in options.cpp.

Don't pull to master directly

Moving to dev.


malicious PSI protocol

Blazing Fast PSI from Improved OKVS and Subfield VOLE,Where is the malicious PSI protocol embodied?

It's the same protocol as volepsi. We jusy optimize


Add phoenix to readme

Including the :cure application will start
the Cure supervisor.
Also includes some automatic whitespace tidying.

Thanks for the input!
Phoenix together with Cure could be an interesting combination!
I will make the README a little more general since you can add it as an application not just for phoenix projects, but for any Elixir/Erlang project. :smile:

Cool :)
I assumed it was something more general to Mix but I wasn't sure enough that the example would be the same.


static compilation option?

I just noted that when I try to compile the simp example, it retains a dynamic link to a related dynamic library, and it is not self-contained. Incidentally, this is a library in debug/deps even if it is compiled as Release:
$ cd simp.mxo/Contents/MacOS/
$ otool -L simp
simp:
	$HOME/src/median/median/examples/simp/target/x86_64-apple-darwin/debug/deps/libsimp.dylib (compatibility version 0.0.0, current version 0.0.0)
	/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
	/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 1228.0.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 169.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1319.0.0)

How does one compile with a static option such that the external is portable / relocatable?

Hmm, that is interesting. I have actually built on one machine and moved just the .mxo from a mac to another mac and have loaded it successfully, but I should look into those details.

@shakfu Have you actually had issue copying an external to another machine?
I'm not an expert in the dylib details but.. this thread https://developer.apple.com/forums/thread/655588?answerId=712400022#712400022 indicates another tool.. dyld_info
xnor:~/dev/rust/median/median/examples/simp (develop) dyld_info -dependents ./target/x86_64-apple-darwin/release/simp.mxo/Contents/MacOS/simp
./target/x86_64-apple-darwin/release/simp.mxo/Contents/MacOS/simp [x86_64]:
    -dependents:
        attributes     load path
                       /usr/lib/libiconv.2.dylib
                       /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
                       /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
                       /System/Library/Frameworks/Carb

This seems to indicate that the library only depends on system libs and not that extra dylib that otool lists?
I'm used to using nm. The results I see from the undefined symbols seem to only be system/posix and max symbols which look good.
xnor:~/dev/rust/median/median/examples/simp (develop) nm -u ./target/x86_64-apple-darwin/release/simp.mxo/Contents/MacOS/simp
__Unwind_Backtrace
__Unwind_GetDataRelBase
__Unwind_GetIP
__Unwind_GetIPInfo
__Unwind_GetLanguageSpecificData
__Unwind_GetRegionStart
__Unwind_GetTextRelBase
__Unwind_Resume
__Unwind_SetGR
__Unwind_SetIP
___bzero
___error
__dyld_get_image_header
__dyld_get_image_name
__dyld_get_image_vmaddr_slide
__dyld_image_count
__tlv_atexit
__tlv_bootstrap
_abort
_atom_getfloat
_atom_getlong
_atom_setfloat
_atom_setlong
_atom_setsym
_attr_addfilter_clip
_attr_addfilterget_clip
_attr_addfilterset_clip
_attr_args_process
_attr_offset_new
_attribute_new
_buffer_ref_notify
_class_addattr
_class_addmethod
_class_findbyname
_class_new
_class_register
_clock_delay
_clock_new
_clock_unset
_close$NOCANCEL
_closedir
_common_symbols_gettable
_dispatch_release
_dispatch_semaphore_create
_dispatch_semaphore_signal
_dispatch_semaphore_wait
_dlsym
_error
_floatin
_free
_fstat$INODE64
_gensym
_getcwd
_getenv
_intin
_mach_absolute_time
_mach_timebase_info
_malloc
_memcmp
_memcpy
_memmove
_memset
_mmap
_munmap
_object_alloc
_object_attr_touch
_object_error
_object_free
_object_method
_object_obex_lookup
_object_obex_storeflags
_object_post
_open
_opendir$INODE64
_outlet_append
_outlet_list
_posix_memalign
_post
_proxy_getinlet
_proxy_new
_pthread_cond_destroy
_pthread_cond_signal
_pthread_cond_wait
_pthread_mutex_destroy
_pthread_mutex_init
_pthread_mutex_lock
_pthread_mutex_trylock
_pthread_mutex_unlock
_pthread_mutexattr_destroy
_pthread_mutexattr_init
_pthread_mutexattr_settype
_pthread_rwlock_destroy
_pthread_rwlock_rdlock
_pthread_rwlock_unlock
_read
_readdir_r$INODE64
_realloc
_sched_yield
_scheduler_fromobject
_strerror_r
_strlen
_sysmem_newptr
_write

Since this has been clarified. I'll just close it.


Can't get AudioNodes editor - Nodes doesn't exist in example file

Hello @neXyon
Unfortunately, I get errors when opening your example file, and despite your addon loads fine, with no errors, I can't have nodes in the example file you provided.
Here is a screenshot:

Please, help me. I'd really like to try your nodes =)

I pushed a fix, should work now! Please reopen if it still doesn't.

Yes, it now works, thanks a lot.


Disable heroCard after the first usage

Hello team,
I am trying to use the dialogs with a heroCard but I am having a problem. When the user selects one option, PVA recognizes it, but since the adaptive dialog stays enabled, the same user can select another option, which will break the PVA logic. I have tried to add a "End Dialog" but it keeps enabled even with the action. Any ideas to overcome this behavior? Thanks in advance!

Hi @Ydr
Could you please provide the steps to reproduce this issue along with your composer version?

Thank you @ramfattah
Sure! So what I am trying to do is simple, basically what's shared in this blog: https://www.bendenblanken.com/extend-power-virtual-agent-with-vertical-buttons-and-make-this-reusable/ which works like a charm.
The problem is when I want to close the dialog. My goal was to just show one time the questions and after the user clicks on one of the options, make the dialog disappear or block the action, because if it stays enabled, the user can scroll up and select other options, which are going to break the PVA logic.
This is the Framework Composer configuration:

This is the PVA result (Which is good):

I can select an option, the problem is that after selecting the option the Dialog continues enabled, and I can select more.
Bot Framework Composer version:
Version:  2.1.2
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0
Thank you in advance!

@ramfattah thank you so much for the information. Indeed I am using the Omnichannel snippet to display the bot information https://docs.microsoft.com/en-us/dynamics365/customer-service/embed-chat-widget-portal. I believe that makes it a WebChat, right? (I do apologize since I am starting to use the technology and Composer, I am starting to get used to it).
Your confirmation may help me to find the proper way to add the code shared and try to test it (If feasible). Thanks!

@Ydr thanks, glad to help.
I'm closing this for now. Feel free to re-open if needed.

@ramfattah Can you please help me to confirm my last comment? Thank you in advance!

Thank you @ramfattah, It is weird because I don't know if the Omnichannel snippet is Direct Line behind the scenes (That's new for me) Omnichannel provides a snippet, that snippet is used in a webpage, like this:

PVA bots are behind the scenes in the Omnichannel configuration, added to particular Work Streams. My question is where should I find the source code to add this https://github.com/microsoft/BotFramework-WebChat/blob/main/samples/05.custom-components/l.disable-adaptive-cards/index.html if we are only using the Omnichannel snippet in a Web Page (also that means that I don't know if that snippet qualifies as Web Chat)?
Thank you so much in advance!

Hi @Ydr,
From reading the following doc:
https://docs.microsoft.com/en-us/dynamics365/customer-service/embed-chat-widget-portal
looks like if using the above omnichannel <script snippet, it might not work as mentioned it Embeds a chat widget in your web portal, and I don't think you can fully customize a widget (i.e. disabling card options after first use).

Thank you so much @ramfattah, yes that's the problem. I don't have a full BOT created that I can customize, it is a snipped provided by Omnichannel. From Bot Framework Composer is there a way to customize the heroCard? Or an option that may allow the card to be disabled beside your suggestions, now that you know better the context where I am working?
Thank you so much for your replies!!!

Hi @Ydr,
In regards to further customizing the the heroCard in Composer, I will discuss this internally with the team and report back. Thank you.

That would be awesome @ramfattah ! The best would be that the heroCard could have a setting that after it's clicked the first time, blocks the rest of the options... I believe that will be a nice feature, that will resolve the problem with the built-in questioning provided by PVA. Thank you!! I will be pendent.

There is a possible working solution to this issue which requires using a Dynamics 365 Web Resource component instead of an iframe component. Would it be possible for you to create and utilize a Web Resource instead?
In short, the solution requires using a custom-built HTML page using BotFramework-WebChat which would allow the ability to disable card buttons after being clicked, as per this sample, 05.custom-components/l.disable-adaptive-cards. Then, you just need to store the .html page somewhere accessible and pass that page into the iframe via the 'src' property, like:
  <iframe src=[HTML LINK TO PAGE]></frame>

I tested this with a colleague who stored the page in Azure blob storage. We created a shared access signature for it which allowed it to display in the Dynamics 365 Web Resource. If this would be possible for you, I can get you more detailed steps for setting up.

I'm close this thread as this is more of a support scenario and not an issue with the codebase.

The last message was posted intended to receive the information offered by @ramfattah @axelsrz is it possible? Thank you!


[FEATURE] - Implement conway query proposals

What
The new query GetProposals is available in consensus.
Implement cardano-cli conway query proposals on the CLI
Why
Will reduce the overhead of the current alternative cardano-cli conway query gov-state | jq .proposals
Personas

[x] CC members
[x] DREPS
[x] SPOs
[ ] dApp Devs
[ ] Exchanges
[ ] Wallets
[ ] 3rd party tools
[x] ADA holders

Definition of Done (DoD)

[ ] Acceptance Criteria + User Stories & DoD created and singed-off (by PO, dev & test owners)
[ ] Builds successfully on CI
[ ] Code & Test review (as per Acceptance Criteria)
[ ] There is documentation and/or examples for the new functionality (usage/response)
[ ] Log/record changes on Vnext (or similar depending on what we adopt)
[ ] Ticket number(s) included in PR description
[ ] All Acceptance Criteria met and covered by dev/unit/property/integration tests
[ ] System/E2E automated tests + System Test Engineer Owner Sign-off

NOTE:  Ideally, we should merge only fully implemented and tested features into the master branch.
So all the above steps are required for the PR to be merged.
In order to avoid the PRs becoming stale and requiring to be rebased on master, these can be merged
after a reasonable time (current agreement is 3 days) if the System Test Engineer Owner's sign-off
was not provided (last step in the DoD).

IMPORTANT: Any deviation from the plan should be discussed and agreed as a comment in the Feature file.

Sign-off

[ ] Product Owner
[ ] Dev Owner
[ ] System Test Engineer Owner

Related PRs

PR # here

Acceptance Criteria

The query returns all active proposals

The implemented command output is equivalent to:
cardano-cli conway query gov-state | jq .proposals

Unstale. This is actively being worked on:

https://github.com/IntersectMBO/cardano-api/pull/684
https://github.com/IntersectMBO/cardano-cli/commits/smelc/cl/implement-query-proposals/
https://github.com/IntersectMBO/cardano-node/commits/smelc/test-query-proposals


VSP-1618: Service charge should no longer be passed to Noire

Since we're incorrectly storing/displaying service charge amount in BE, there is no sense in passing the service charge via Noire. We'll simply recalculate it after the transaction is completed. Ow, my churn 😞

Unit tests not running because of some composer installation issue


Non-namespaced Issuers

Right now we only support namespaced Issuer, meaning in order to issue certificates in a given namespace, a new Issuer must be created first.
This means, for example with the ACME Issuer, multiple ACME registrations will exist (one per namespace).
This may be acceptable, however some users coming from kube-cert-manager and kube-lego may want to use a cluster-wide Issuer, be it ACME or otherwise.
Should we, and how should we, support a cluster-scoped Issuer?
Things to consider:

The codebase needs to make sure to use the correct namespace when making calls for resources (this should be the case anyway, and some tests for each issuer should verify this)
The API spec for a Certificate will need the issuerName field replacing with an issuerRef field, containing a namespace and name field (and potentially API version & group too)
How does this inter-play with 'default' issuers, or the upcoming tls-acme annotation

@mikebryant how do you think this could be modelled in the API?
Do we want to expose crossing namespace boundaries with this PR? I'm not sure that's something we want as it may serve as a gateway to unauthorised users obtaining certificates from issuers they shouldn't be able to.
My first thought would be something like:
type Certificate struct {
  ...
  issuerRef ObjectRef `json"issuerRef"`
  ...
}

type ObjectRef {
  Name string `json:"name"`
  Namespace *string `json:"namespace"`
}

This way, if a user does not specify a Namespace, the Namespace of the issuer can be used (and set by an Initializer). If the namespace specified is "", the ClusterIssuer would be used. If it is specified, we'd then need to build in a check to ensure certificate.spec.issuerRef.namespace == certificate.namespace and if it does not, print errors/reject creation of the resource in an initialiser.
This has the advantage of keeping the mode of operation relatively simple (you should either not set Namespace which is the current mode of operation, or set it to "" for ClusterIssuers). On the other hand it does mean we need to build some support in for blocking cross-namespace issuance (unless of course we want to consider allowing cross-namespace issuance, but I fear this breaks the model we see elsewhere in K8s APIs)

So I've started building this design out, and have got to the point of needing to use both a ClusterIssuer and Issuer within the same control loops (to save duplicating code).
To do this, I can create an interface which described an 'Issuer-like' thing, which would have a Metadata, Spec and Status field, however that raises the question - will the ClusterIssuer and Issuer spec/status ever be different?
If yes, we have a few ways of dealing with it:

Implement fields in both. That way in one of the two resources, some fields will not apply/behave in a similar way. This becomes difficult quickly, as any code referencing a these fields needs to be aware of this distinction.

duplicate code to support both structures, some parts of which could be done through interfaces/adapters

I'm going to push up a version that attempts (1) to begin with, and see just how unruly the current code paths will be. We can then have some discussion there as to how we can make this cleaner.
/cc @simonswine @mikebryant


mode/modal-header/modal-body/modal-footer is an Angular component

I did every configuration as mention but I always get his error when I paste the hello world popup code as given in sample, Trace is below -
ERROR Error: Uncaught (in promise): Error: Template parse errors:
'modal-header' is not a known element:

If 'modal-header' is an Angular component, then verify that it is part of this module.
If 'modal-header' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message. ("

<modal #modal>
[ERROR ->]
I'm a modal!

"): ng:///AssetModule/ListassetComponent.html@84:4
'modal-body' is not a known element:

If 'modal-body' is an Angular component, then verify that it is part of this module.
If 'modal-body' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message. ("
I'm a modal!

[ERROR ->]
Hello World!

"): ng:///AssetModule/ListassetComponent.html@87:4
Can't bind to 'show-default-buttons' since it isn't a known property of 'modal-footer'.
If 'modal-footer' is an Angular component and it has 'show-default-buttons' input, then verify that it is part of this module.
If 'modal-footer' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message.
To allow any property add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component. ("
Hello World!

<modal-footer [ERROR ->][show-default-buttons]="true">

"): ng:///AssetModule/ListassetComponent.html@90:18
'modal-footer' is not a known element:

If 'modal-footer' is an Angular component, then verify that it is part of this module.
If 'modal-footer' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message. ("
Hello World!

[ERROR ->]<modal-footer [show-default-buttons]="true">

"): ng:///AssetModule/ListassetComponent.html@90:4
'modal' is not a known element:

If 'modal' is an Angular component, then verify that it is part of this module.
To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component. ("
<button type="button" class="btn btn-default" (click)="modal.open()">Open me!

[ERROR ->]<modal #modal>

I'm a modal!
"): ng:///AssetModule/ListassetComponent.html@83:0
Error: Template parse errors:
'modal-header' is not a known element:

If 'modal-header' is an Angular component, then verify that it is part of this module.
If 'modal-header' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message. ("

<modal #modal>
[ERROR ->]
I'm a modal!

"): ng:///AssetModule/ListassetComponent.html@84:4
'modal-body' is not a known element:

If 'modal-body' is an Angular component, then verify that it is part of this module.
If 'modal-body' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message. ("
I'm a modal!

[ERROR ->]
Hello World!

"): ng:///AssetModule/ListassetComponent.html@87:4
Can't bind to 'show-default-buttons' since it isn't a known property of 'modal-footer'.
If 'modal-footer' is an Angular component and it has 'show-default-buttons' input, then verify that it is part of this module.
If 'modal-footer' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message.
To allow any property add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component. ("
Hello World!

<modal-footer [ERROR ->][show-default-buttons]="true">

"): ng:///AssetModule/ListassetComponent.html@90:18
'modal-footer' is not a known element:

If 'modal-footer' is an Angular component, then verify that it is part of this module.
If 'modal-footer' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message. ("
Hello World!

[ERROR ->]<modal-footer [show-default-buttons]="true">

"): ng:///AssetModule/ListassetComponent.html@90:4
'modal' is not a known element:

If 'modal' is an Angular component, then verify that it is part of this module.
To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component. ("
<button type="button" class="btn btn-default" (click)="modal.open()">Open me!

[ERROR ->]<modal #modal>

I'm a modal!
"): ng:///AssetModule/ListassetComponent.html@83:0

+1

Sorry for not ever getting to this. Feel free to reopen if you're still having problems.


Trouble Using the App

I was able to install the Splunk App easily enough, but I'm not sure the procedure I should use to add and view the timeline.  I imported my log2timeline .csv into Splunk as Source Type .csv. From here I'm stuck I'm not sure how to get the timeline to show up on the dashboard in Splunk.
Also is the defaul .csv Source Type ok because I noticed it adds it's own time "_time" instead if using the "time" column. Do I need to define a new SourceType for log2timeline or change the column used for time, or just leave it as the defaukts for .csv Source Type.

Check this out: https://vimeo.com/197568364


add isPreview method

such an implementation would you like?
e.g. use in ruby plugin
import 'org.embulk.spi.Exec'
puts Exec.isPreview

is this ok?

I checked other code. In which case do you need Exec.isPreview? Do you have any examples?
PreviewExecutor should stop input plugin automatically when it gets enough number of records.

I made Exec immutable and merged. Thank you!

use case is
the final date of the acquired log is recorded,
get the greater than a last date at the next run
such as want to create an input plugins with the state
For example,
in embulk-input-slack-history
import 'org.embulk.spi.Exec'

# end of input plugin function
if !Exec.isPreview then
   update_lastlogdate
end

I guess
embulk-plugin-input-sfdc-event-log-files etc...
necessary in use case where read the log if repeatedly executed.
sorry if this is unlike thought of embulk.
thank you again!

@yaggytter I see. You need isPreview not to update the information at a data source in "preview" mode.
Can you use this code instead?:
# input plugin's transaction method
def self.transaction(config, &control)
  ...
  commit_reports = yield(...)

  # do this after yield()
  update_lastlogdate

  return {}
end

With this code, update_lastlogdata is called only when all run succeeded in "run" mode. It's not called in "preview" mode. Because yield throws an exception in preview mode.
If this doesn't work, please let me know. It might mean a bug of preview executor.

thank you for teaching me!
let me try it!


Potential Update: Choosing Color Palette

Utilize an inquirer prompt to collects user preference and change up the color themes that will be applied to the HTML

Currently this feature is live within the develop branch, implemented as of commit 21c6d86.
Notes:

There is an undefined error, No. -4058. This appears after the app generates the HTML and two CSS files.
When making multiple portfolios, the various styles are kept within the dist directory. This is a bug.

Commit c8282d6 Update:

Error No. -4058 has been corrected, details within commit message.

Commit 224895b Update:

When making multiple portfolios, clearDistDirectory() will clear /dist.


Document Can API

Hi @bendrucker,
I would like to help with this task if you're still interested in maintaining this project. Let me know.


uint24_t missing (removed)

Support for uint24_t is missing because it has been removed. The reason is because digit checks for higher digit counts disallow 24-bit type because the half-width type plays such an important role in the implementation. And there is no valid half-width type with 12 bits.
At the moment, there is no plan to restore support for the 24-bit type.

Restore 24-bit type.


Custom URL for loading density/maps/ccp4 files

I was wondering whether it is possible to load custom ccp4 files into the pdbe molstar web component.
So far we have set up the pdbe molstar web component to load custom pdb files using the custom-data-url and custom-data-format attributes. Given that these custom files do not have associated maps in the www.ebi.ac.uk repository, using the show-maps attribute does not help. We have our own .ccp4 format files that we would like to load into the component in the same way we have loaded the pdb files.
We have also tried to load these files by specifying custom-data-format='ccp4' but unfortunately it seems that is not the correct way to do it either as I get the error; Error: ccp4 not supported..
Looking at the Molstar Viewer (https://molstar.org/viewer/) there are options to load densities into the viewer from a custom url. Is it possible to use these features in the pdbe molstar web component?

Thanks in advance for your help!

Sorry, we do not support custom map data loading as we use 'Density server' (https://www.ebi.ac.uk/pdbe/densities/) in the PDBe implementation. You could fork this project and add the required functionality from the Molstar project (https://github.com/molstar/molstar/) for your use case.


KAFKA-4765: Fixed Intentionally Broken Hosts Resolving to <IP_ADDRESS> in Tests

Fixes https://issues.apache.org/jira/browse/KAFKA-4765 by simply using artificially broken hosts that are not resolved as potential collisions (<IP_ADDRESS>s) by some DNS servers.
This change is the only way to build while using Google's <IP_ADDRESS> (at least in my network).
I can't see a downside to making this change, simply makes the build more stable and portable :)
Edit: Also seems my IDEA removed some redundant whitespaces in empty lines unintentionally.

@original-brownbear Thanks. LGTM. You may want to ping a committer to review the patch.

@ijuma could you take a look at this please ? :)

@guozhangwang or could you maybe take a look (sorry just pinging people at random that seem to be around) ? :)

Just dropping by (I look for bugs involving <IP_ADDRESS>!) to let you know that you should probably think about using hostname.invalid for this, it's specified to be invalid rather than .local which might end up with some strange resolving.
HTH

@Sacro @ijuma makes sense to me ... add a new PR for this?

@original-brownbear sounds good.

@Sacro @ijuma found time to try this out.  At least with OpenJDK-7 and 8 all .invalid domains (tested from two different networks) are resolved to <IP_ADDRESS> for me and break the tests again.
So personally I'd not make this adjustment ... also I think we're actually safe here given that https://tools.ietf.org/html/rfc6762 specifies .local as reserved also.


Pre-production env

Create a pre-production environment to test before production deployment.
This pre-production should/could have automated or semi-automated database synchronization from the production in order to work with actual data.

This has been implemented and is available at https://preview.stayhome.ch.
Ask me for user/pass to access.


Default props fix

Using new TypeScript 3 support for defaultProps to replace the withDefaultProps workaround.

Codecov Report

Merging #93 into master will decrease coverage by 0.91%.
The diff coverage is 53.61%.

@@            Coverage Diff             @@
##           master      #93      +/-   ##
==========================================
- Coverage   82.63%   81.72%   -0.92%
==========================================
  Files          32       31       -1
  Lines        1561     1499      -62
  Branches      238      259      +21
==========================================
- Hits         1290     1225      -65
- Misses        271      274       +3

Impacted Files
Coverage Δ

src/component/SpringComponent.tsx
14.91% <10.18%> (-2.04%)
:arrow_down:

src/component/PredictedContactMap.tsx
100% <100%> (ø)
:arrow_up:

src/component/NGLComponent.tsx
99.23% <100%> (-0.77%)
:arrow_down:

src/context/SecondaryStructureContext.tsx
22.22% <100%> (ø)
:arrow_up:

src/component/chart/ContactMapChart.tsx
100% <100%> (ø)
:arrow_up:

src/component/ContactMap.tsx
97.22% <100%> (-2.78%)
:arrow_down:

src/container/VizPanelContainer.tsx
76.36% <100%> (-1.23%)
:arrow_down:

src/component/chart/PlotlyChart.tsx
100% <100%> (ø)
:arrow_up:

src/component/InfoPanel.tsx
34.78% <57.14%> (-2.72%)
:arrow_down:

src/component/TComponent.tsx
72.22% <64.28%> (-6.04%)
:arrow_down:

... and 4 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 d489a05...09196a5. Read the comment docs.

 Utilize new defaultProps support in TS3 to remove withDefaultProps and streamline component code


Update README.md

fix : Grammar Mistake

Thanks, but this is correct as is and your fix is not. It seems like a plural thing, but it's not plural. There is one course:
"#100DaysOfCode in Python is your perfect companion" == "COURSE is your perfect companion"
Not as you suggest
"COURSE are your perfect companion"
Thank you though.


[TEVA-2981] Fix bug caused by nil expires_at

This bug occurred when a hiring staff/publisher filled out 'applying for the job' and
enabled applications through TV, without first having set an expires_at time.

Added regression test
Stopped showing number of applications of each type when vacancy is in draft state
Corrected a translation - we had been labelling expires_at with 'Date to be listed',
which is not what expires_at means.

Jira ticket URL
https://dfedigital.atlassian.net/browse/TEVA-2981
Screenshots of UI changes:
Before

After (for a draft job and then for a published job)

https://teaching-vacancies-review-pr-3820.london.cloudapps.digital/


[Dropbox] ...

Extension
https://www.raycast.com/chyroc/dropbox
Raycast Version
1.82.4
macOS Version
14.6.1
Description
Error when trying to sign in This app is unable to link additional users because it has been frozen pending review.
Steps To Reproduce

Open Dropbox File Search from Raycast
Select Sign in with Dropbox

Current Behaviour
No response
Expected Behaviour
No response

Hi @ughitsaaron.
We just updated the extension with a new ID that has been approved by Dropbox 👍.
The extension has been renamed to "The Blue Cloud" - could you give the new version a spin so we can close this issue if all's well?


Generating Trimesh collision via script is not reliable

Godot version
4.0.3
System information
Xubuntu 22.04 - Compability Render
Issue description
Calling create_trimesh_collision() function on imported models object through its MeshInstance3D childrens doesn't work properly, the problem is while it does generate collision nodes which is visible from the editor window but while playing those generated nodes from the function call gets removed for unknown reason.
What I excepted that calling this function would be the same as selecting the MeshInstance3D node manually and clicking on the generatre tri mesh button.
Steps to reproduce
I uploaded the text files which shows how I tried implementing a more streamlined method of it.
Minimal reproduction project
mapmodel_collision_maker.gd.txt
mapmodel_collision_maker.tscn.txt
(Github won't let me upload zip files)

(Github won't let me upload zip files)

How large is the ZIP file? Uploads must be smaller than 25 MB. Try removing the .godot/ folder contained within the ZIP file (not the project.godot file).

How large is the ZIP file? GitHub file uploads must be smaller than 25 MB. Try removing the .godot/ folder contained within the ZIP file (not the project.godot file).

about 3.0KiB big.


_create_c_op: copy over device placement

Fixes the following problem
node_def = tf._NodeDef(..., device='/device:GPU:0')
op = tf.Operation(node_def, ...)
op.device  # no device

Why do you need to call _NodeDef directly? It's a private API, so I'm wary of adding extra code to support this unintended use case.

I don't need to. It's just there to create a NodeDef protobuf message
defined in
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/node_def.proto.
I could have done it without _NodeDef.
On Thu, Oct 11, 2018, 4:52 PM Skye Wanderman-Milne<EMAIL_ADDRESS>wrote:

Why do you need to call _NodeDef directly? It's a private API, so I'm wary
of adding extra code to support this unintended use case.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/22912#issuecomment-429158688,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALPcHfrIb2TolErZC4VQSCfZqNwYSfn-ks5uj9nYgaJpZM4XYiNQ
.

To give some background, we initially noticed issues with misplaced ops in multi-gpu training when we upgraded from 1.4 to 1.9. Some ops belonging to tower N, which used to run on GPU N, are now running on GPU 0, causing GPU 0 to run out of memory and a big slowdown.
We examined our code and verified that we called tf.device correctly when creating the ops. Further investigation revealed that ops created from graph_editor.copy_with_input_replacements didn't have devices assigned when the graph was constructed. graph_editor.copy_with_input_replacements replicates existing ops and then makes modifications. To replicate an op, it

makes a copy of the original node's node_def, and
calls tf.Operation() with it.

The resulting op had the original op's device (op.device) up until v1.7. What changed between 1.7 and 1.8 was that the default for _USE_C_API changed from False to True. It being True means g._scoped_c_graph is now always set, and that activates this branch, which sets self._c_op for the op using _create_c_op, which doesn't copy over the device assignment in node_def. Then, when we call op.device, we hit this branch, which has no knowledge of the device in the original node_def that was used to create this op.
With this fix, we are no longer seeing misplaced ops, and training speed is back to what it was before.

Ah, thanks for the explanation and for digging into this problem!
Can you add a unit test to ops_test.py? You can just create an Operation from a NodeDef and check that Operation.device returns the right value.

Unit test added.

Thanks for contributing!


Add unscopables check to ecma_op_get_value_lex_env_base

Also added a special test case for this to symbol-unscopables.js
JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi<EMAIL_ADDRESS>

Note: The PR and the CI fail have nothing in common. The CI fail has been resolved in #3493.


Brian noticed two risd campus maps in google

Hey Jay,
When Brian googled risd campus map PDF he found two links stemming from info:
http://info.risd.edu/webhook-uploads/1441734335142/RISD Campus Basemap (3)-1.pdf
and this older one that stars 123 Dyer Street: http://info.risd.edu/webhook-uploads/1434558370594/RISD Campus Basemap with 123 Dyer star (1).pdf
Would you be able to find/eliminate the second one?
Thanks,
Carrie

The extra map is in the Facilities Management page right at the bottom. I will leave the decision of whether or not to delete it to you. I will also add the document link option as per issue #20 so that you can include the same document in multiple places without reuploading.


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 206 ms

Resolved: ClamAV performance has improved in 3905826.


Bluetooth device is not listing in sd.query_devices()

Hello, I am new to this, I just cloned the repo and I played one audion in the default audio device but it is not showing my Bluetooth headphones which are connected.
Here is the list of devices shown:-

I encounter the same problem, bluetooth device can't be queried. but if I use pyqt5.QMultimedia it can fetch the bluetooth audio devices

Are you talking about https://pypi.org/project/PyQt5/ ?

@Sameer-hesta

while, as for PyQt5 you can refer to https://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtmultimedia/qtmultimedia-module.html, but the method is different, not sd.query_devices()
i tried sounddevice again, and found that it can fetch my bluetooth devices with sd.query_devices(). here bellow is the result

so you may shall the demo code to analyze.

The underlying PortAudio library currently doesn't have a "hotplug" feature, which means you have to initialize the library after you connect your bluetooth device.
If that's not possible, you can try to use sd._terminate() followed by sd._initialize(), see https://python-sounddevice.readthedocs.io/en/latest/api/expert-mode.html.

@Sameer-hesta did this resolve your problem? If so, feel free to close the issue.


update dependencies, move package to packethost, improve tests

Moves imports to packethost/csi-packet from StackPointCloud/csi-packet
Updates dependencies to CSI version 0.3.0
Fixes csi-sanity test cases and improves unit tests

Good idea to move from glog to logrus - glog has been a continuous source of problems.

@ntfrnzn @mmlb any updates on this?

@vielmetti @edevenport @baldwinSPC this PR is good to go


Feat/polynomial

Just some polynomial related functionalities that are used by a GKR verifier:

Evaluating a multilinear polynomials at any point given its evaluation on the hypercube
Evaluating a polynomial at any point given its coefficients
Evaluating (interpolating) a low-degree extension at any point given its evaluation on small nonnegative integers
Evaluating a multilinear polynomial that tells if two binary vectors are equal, at any point

@Tabaie  why is this not in std/math/polynomial ?

It should be. I'll do it in the next PR.


Not working

When I add filter to my camera input all the video disapear. Only blank screen stays, empty one to be exact like it key out all.

When I add filter to my camera input all the video disapear. Only blank screen stays, empty one to be exact like it key out all.

I second that.

I third it.
@kounoike san , any idea when this will be fixed, please?

When I add, OBS crashes

Not working, using all AMD and happy to give more information if there is any reaction by the maintainer.
Thank you for your time.

Same here : blank view when I add the filter

Closed as completed? This is still a problem in Nov 2024.


RenderMan Blender add-ons not installing

Traceback (most recent call last):
File "C:\Program Files\Pixar\RenderManProServer-24.0\bin\rman_utils\rman_assets\common\shading_node.py", line 14, in
import oslquery as oslq
ModuleNotFoundError: No module named 'oslquery'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 2.93\2.93\scripts\modules\addon_utils.py", line 386, in enable
mod.register()
File "C:\Users\vladi\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\RenderManForBlender_init_.py", line 244, in register
load_addon()
File "C:\Users\vladi\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\RenderManForBlender_init_.py", line 213, in load_addon
from . import rman_presets
File "C:\Users\vladi\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\RenderManForBlender\rman_presets_init_.py", line 27, in
from . import ui
File "C:\Users\vladi\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\RenderManForBlender\rman_presets\ui.py", line 40, in
from . import rmanAssetsBlender as rab
File "C:\Users\vladi\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\RenderManForBlender\rman_presets\rmanAssetsBlender.py", line 26, in
from rman_utils.rman_assets import core as ra
File "C:\Program Files\Pixar\RenderManProServer-24.0\bin\rman_utils\rman_assets\core.py", line 57, in
from rman_utils.rman_assets.common.shading_node import RmanShadingNode # pylint: disable=unused-import
File "C:\Program Files\Pixar\RenderManProServer-24.0\bin\rman_utils\rman_assets\common\shading_node.py", line 16, in
import oslquery as oslq
ModuleNotFoundError: No module named 'oslquery'

2.93 is current not supported. It will be supported when RenderMan 24.1 ships.


Remove TL Tapping Nerf

Removing the detection of TL tapping removes its nerfing to values, as voted by community. Its changes should not be major. however Stamina will need to reflect this nerf to accommodate.

Don't upstream.


docs - fix the ballista link

Rationale for this change
Fixes the docs
Are there any user-facing changes?
No

Codecov Report

Merging #274 (c070977) into master (ea451c9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #274   +/-   ##
=======================================
  Coverage   76.21%   76.21%
=======================================
  Files         140      140
  Lines       23553    23553
=======================================
  Hits        17950    17950
  Misses       5603     5603

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 ea451c9...c070977. Read the comment docs.


yq-go: init at 2.4.0

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

@GrahamcOfBorg build yq-go

@GrahamcOfBorg build yq-go

@GrahamcOfBorg build yq-go


Remove console.log

remove console.log
Types of changes

[x] (Bug) fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
Removed console.log
Checklist:

[x] I have added tests to cover my changes (if not applicable, please state why)
Just removed a console.log

You are right. I completely missed that! Will release it asap :)


Cloudflare pages builds are failing:  munmap_chunk(): invalid pointer

Hello,
I've been using your template for a side project and deploying it via Cloudflare Pages, which has been performing exceptionally well. However, I encountered an issue yesterday as the builds began failing, prompting the following error. Interestingly, the local build process remains unaffected. Could this be attributed to a Cloudflare-related issue or potentially a dependency problem?

Thank you.

Is it maybe related to #313

azure and render have the same problem

please Squoosh
astro-doc

Hello,
I've been using your template for a side project and deploying it via Cloudflare Pages, which has been performing exceptionally well. However, I encountered an issue yesterday as the builds began failing, prompting the following error. Interestingly, the local build process remains unaffected. Could this be attributed to a Cloudflare-related issue or potentially a dependency problem?

Thank you.

Use pnpm install and pnpm run build ,pnpm run dev

having the same issue on Vercel

same issue on Netlify, using squoosh worked for me as well.

Using Astro on Vercel requires a special setup https://vercel.com/docs/frameworks/astro

same issue on Netlify
9:16:22 AM:  generating optimized images
9:16:22 AM: munmap_chunk(): invalid pointer
9:16:23 AM: Aborted (core dumped)
9:16:23 AM:
9:16:23 AM: "build.command" failed
9:16:23 AM: ────────────────────────────────────────────────────────────────
9:16:23 AM:
9:16:23 AM:   Error message
9:16:23 AM:   Command failed with exit code 134: npm run build (https://ntl.fyi/exit-code-134)
9:16:23 AM:
9:16:23 AM:   Error location
9:16:23 AM:   In build.command from netlify.toml:
9:16:23 AM:   npm run build
9:16:23 AM:
9:16:23 AM:   Resolved config
9:16:23 AM:   build:
9:16:23 AM:     command: npm run build
9:16:23 AM:     commandOrigin: config
9:16:23 AM:     processing:
9:16:23 AM:       html:
9:16:23 AM:         pretty_urls: false
9:16:23 AM:     publish: /opt/build/repo/dist
9:16:23 AM:     publishOrigin: config
9:16:23 AM:   headers:
9:16:23 AM:     - for: /assets/*
values:
Cache-Control: public, max-age=31536000, immutable
headersOrigin: config
9:16:23 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
9:16:23 AM: Failing build: Failed to build site
9:16:24 AM: Finished processing build request in 59.17s
9:16:23 AM: Failed during stage "building site": Build script returned non-zero exit code: 2

Could anyone explain the steps to use squoosh if this solves the issue?

Could anyone explain the steps to use squoosh if this solves the issue?

I removed astro-compress from dependencies and config file. You can find configuration details for Squoosh here.

I was able to resolve this by using
 "resolutions": {     "astro/sharp": "0.33.1",     "astro-compress/sharp": "0.33.1"   }

Hi @redvisual, @soranauts, @Dacong-wu, @sreejithkalarikkal, @orpheuslummis, @whb, @alelotti96 and @elsaso
Thank you for this. I've been checking and it seems that it is an existing problem with the latest version of Sharp. These two tickets from the respective Sharp and Vercel repositories are reviewing the issue. In addition, there are many forums talking about Sharp failures on other platforms.
https://github.com/lovell/sharp/issues/3870
https://github.com/vercel/nft/issues/371
@elsaso, I also tried your solution but it does not solve all platforms (for example, not with Vercel)
For now we have temporarily removed astro-compress and also migrated from Sharp to Squoosh. As soon as we have a clear solution for Sharp we will revert the changes.
If you have any more problems, please let me know.
Thanks


Use stream scan for wide range scan

Signed-off-by: yongman<EMAIL_ADDRESS>

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Translate Docs to Czech - work in progress

Hi,
I would like to start translating the docs to Czech. How much should be translated before I make any pull requests?

Great to hear! 🙂 We actually recommend creating team for the translation, such as vuejs-cz, then managing the translation there. That way, you'll have the ability add new translators and manage the process however you'd like. When enough of the document is translated that you feel it's ready to be published, we can add it to our list of translations on the main site.
Let me know if you have any other questions!

Thanks @chrisvfritz. I am excited about learning Vue and contributing to the project. I am a bit confused by the creation of a team. Should I create an organization called vuejs-cz and fork the main repo there? So the path would be vuejs-cz/vuejs.org instead of graveto/vuejs.org.

I have created a new repo for the translation.
https://github.com/vuejs-cz/vuejs.org

Beautiful! That's exactly right. 🙂


added 'fully-qualified-java-classes' to fuzzing lists

A list of fully-qualified Java classes is useful for fuzzing Java applications.
For example, some applications accept these class names as parameters in an HTTP request. The list may help discover deserialisation, type confusion or other bugs related to the processing of these Java object types.

This Pull Request has now been merged in Seclists-Express!
Seclists-Express is a frequently-updated fork of Seclists.
Thank you for contributing 💚

Nice suggestion @jorelpaddick ! I like it.
Do you have a source at all?

Sure! The source for the list https://docs.oracle.com/javase/8/docs/api/
It was curated by me: jorelpaddick/fully-qualified-java-classes

Thanks @jorelpaddick <3


There is not 'dbTables' in 'doc' folder

I download the 'quartz-2.3.0-distribution.tar.gz' from 'http://www.quartz-scheduler.org/downloads/'.
but i can not find the table-creation SQL scripts in the “docs/dbTables” directory.
Has the script location changed? Or is the script no longer provided?

I think they were moved to src\org\quartz\impl\jdbcjobstore

But they should be in the doc folder (or somewhere easy to find) in the main distribution build.

Agreed, the location has been changed to a non trivial path : src\org\quartz\impl\jdbcjobstore


Feature request: "computed" values

Hi!
Im currently playing with this and it seems to have everything I would need but I do have something that could help me and might benefit others too.
"Computed" values; So for example
const headers = [{
    text: 'Name',
    value: (row)=> `${row.first_name} ${row.last_name}`,
    sortable: true
}]

[{
     "first_name": "Mister",
     "last_name": "Cheeky",
}]

Just a nice to have this possibility, we could also just fix this in the data of course.

Isn't that achievable by (Item Slots)[https://hc200ok.github.io/vue3-easy-data-table-doc/features/item-slot.html], what you are asking for?


Null "parent" values in serialized activities break command expansion

Checked for duplicates
Yes - I've already checked
Is this a regression?
No - This is a new bug
Version
v2.2.X
Describe the bug
The Command Expansion activity loader fails to deserialize activities where "container" value schema types (struct, series) have null corresponding values.
I'm capturing this as a bug since the Aerie UI seems to have no problem handling this, and in my opinion it makes sense for any value to be null and for Command Expansion to handle that case/forward that value to the expansion rule. A move towards disallowing these null values may require significant rework of several complex Clipper activity parameters/mappers.
Reproduction
One example: Clipper's Optional parameter type serializes the value as null if the optional is empty. This issue can be reproduced by simulating an activity with this parameter type as "empty" where the optional value is itself a list or struct.
For example, given this value schema for an Optional parameter with a complex "struct" value:
{
  "type": "struct",
  "items": {
    "value": {
      "type": "struct",
      "items": {
        "softwareMode": {
          "type": "struct",
          "items": {
            "value": {
              "type": "variant",
              "variants": [
                {
                  "key": "OFF",
                  "label": "OFF"
                },
                {
                  "key": "ON",
                  "label": "ON"
                }
              ]
            },
            "present": {
              "type": "boolean"
            }
          }
        },
        "hardwareState": {
          "type": "variant",
          "variants": [
            {
              "key": "OFF",
              "label": "OFF"
            },
            {
              "key": "ON",
              "label": "ON"
            }
          ]
        }
      }
    },
    "present": {
      "type": "boolean"
    }
  }
}

...the serialized parameter value below will cause the issue in the sequencing server:
{
  "value": null,
  "present": false
}

Logs
"stack": "TypeError: Cannot read properties of null (reading 'softwareMode')
    at convertType (file:///app/build/lib/batchLoaders/simulatedActivityBatchLoader.js:138:57)
    at convertType (file:///app/build/lib/batchLoaders/simulatedActivityBatchLoader.js:138:40)
    at file:///app/build/lib/batchLoaders/simulatedActivityBatchLoader.js:105:32
    at Array.reduce (<anonymous>)
    at mapGraphQLActivityInstance (file:///app/build/lib/batchLoaders/simulatedActivityBatchLoader.js:102:78)
    at file:///app/build/lib/batchLoaders/simulatedActivityBatchLoader.js:38:81
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 2)
    at async Promise.all (index 0)"

System Info
Clipper Aerie deployment on Aerie v2.2.X, multiple hosts.

Severity
Major
Workaround
Branch plan, delete activities with null values, run expansions on branch. This is not always a realistic option, but may work for some plans

@joswig I didn't see the your edit to this last week; I don't think that workaround will suffice since the problem activities have meaningful modeling which will change the generated commands and/or are part of decompositions that also include command expansion, but I'll keep it in the back of my mind in case we need to go that route.


fetch DHCP leases from networkd

See xPU sZTP provisioning block
today we pass lease file via cmdline arguments like this: --dhcp-lease-file /var/lib/dhclient/dhclient.leases.
for detecting this automatically using Network manger : https://github.com/opiproject/sztp/issues/418
but if detection through Network Manager doesn't work, we can then look through networkd same as the above
can we detect that info automatically from networkd over dbus?

It seems we can't get the lease info via dbus for systemd-networkd. Dbus does not expose the info.
So the only way to to parse all the lease files present in the /run/systemd/netif/leases folder.
WDYT? @glimchb

It seems we can't get the lease info via dbus for systemd-networkd. Dbus does not expose the info. So the only way to to parse all the lease files present in the /run/systemd/netif/leases folder.
WDYT? @glimchb

copy paste please an example of this folder


Release 5.3.0

Changes proposed in this Pull Request:

Adds deprecation warnings and upgrade paths for people planning to upgrade to v6

Looks good just include Tom's suggestion before merging.


[BUG] "InternalError": "ConversationStorage:Set:Storage Error: MessageStorage::Upsert: Storage Error: Id, RequestId and Sender.UserId are all required in the messages"

就是，没有在目录里放cookies.json文件的时候是可以正常聊天的，但是不能使用图像生成功能，但设置好cookies文件后再发消息就会报错："InternalError": "ConversationStorage:Set:Storage Error: MessageStorage::Upsert: Storage Error: Id, RequestId and Sender.UserId are all required in the messages"

I have the same issue on v2.2.7.

Can you provide a screenshot?

Would you please rewrite the optionsSet using these two separately:
1.
[
    "fluxcopilot",
    "nojbf",
    "iyxapbing",
    "iycapbing",
    "dgencontentv3",
    "nointernalsugg",
    "disable_telemetry",
    "machine_affinity",
    "streamf",
    "codeint",
    "langdtwb",
    "fdwtlst",
    "fluxprod",
    "eredirecturl",
    "deuct3"
]

[
    "nlu_direct_response_filter",
    "deepleo",
    "disable_emoji_spoken_text",
    "responsible_ai_policy_235",
    "enablemm",
    "dv3sugg",
    "iyxapbing",
    "iycapbing",
    "gptvprvc",
    "fluxpcalc",
    "eredirecturl",
    "gencontentv3",
    "fluxv14l",
    "nojbf",
    "soedgeca"
]

And tell us which one works. Thanks.

@juzeon do i only need to create debug_options_sets.json in same folder with exe and put that json in there? if yes then both doesn't work

Yer it is. So this did not work. Would you please try switching to another Microsoft account and try again?


NameError: name 'time' is not defined

I copied the examples code into a Jupyter Notebook and ran it.  The exact code sitting in Jupyter (Python 3) is below:
import os
import logging
import time
import numpy as np
from imageio import imread
import matplotlib
from matplotlib import pyplot as plt

import morphsnakes as ms

# in case you are running on machine without display, e.g. server
if os.environ.get('DISPLAY', '') == '':
    logging.warning('No display found. Using non-interactive Agg backend.')
    matplotlib.use('Agg')

PATH_IMG_NODULE = 'morphsnakes-master/images/mama07ORI.bmp'
PATH_IMG_STARFISH = 'morphsnakes-master/images/seastar2.png'
PATH_IMG_LAKES = 'morphsnakes-master/images/lakes3.jpg'
PATH_IMG_CAMERA = 'morphsnakes-master/images/camera.png'
PATH_IMG_COINS = 'morphsnakes-master/images/coins.png'
PATH_ARRAY_CONFOCAL = 'morphsnakes-master/images/confocal.npy'

def visual_callback_2d(background, fig=None):
    """
    Returns a callback than can be passed as the argument `iter_callback`
    of `morphological_geodesic_active_contour` and
    `morphological_chan_vese` for visualizing the evolution
    of the levelsets. Only works for 2D images.

    Parameters
    ----------
    background : (M, N) array
        Image to be plotted as the background of the visual evolution.
    fig : matplotlib.figure.Figure
        Figure where results will be drawn. If not given, a new figure
        will be created.

    Returns
    -------
    callback : Python function
        A function that receives a levelset and updates the current plot
        accordingly. This can be passed as the `iter_callback` argument of
        `morphological_geodesic_active_contour` and
        `morphological_chan_vese`.

    """

    # Prepare the visual environment.
    if fig is None:
        fig = plt.figure()
    fig.clf()
    ax1 = fig.add_subplot(1, 2, 1)
    ax1.imshow(background, cmap=plt.cm.gray)

    ax2 = fig.add_subplot(1, 2, 2)
    ax_u = ax2.imshow(np.zeros_like(background), vmin=0, vmax=1)
    plt.pause(0.001)

    def callback(levelset):

        if ax1.collections:
            del ax1.collections[0]
        ax1.contour(levelset, [0.5], colors='r')
        ax_u.set_data(levelset)
        fig.canvas.draw()
        plt.pause(0.001)

    return callback

def visual_callback_3d(fig=None, plot_each=1):
    """
    Returns a callback than can be passed as the argument `iter_callback`
    of `morphological_geodesic_active_contour` and
    `morphological_chan_vese` for visualizing the evolution
    of the levelsets. Only works for 3D images.

    Parameters
    ----------
    fig : matplotlib.figure.Figure
        Figure where results will be drawn. If not given, a new figure
        will be created.
    plot_each : positive integer
        The plot will be updated once every `plot_each` calls to the callback
        function.

    Returns
    -------
    callback : Python function
        A function that receives a levelset and updates the current plot
        accordingly. This can be passed as the `iter_callback` argument of
        `morphological_geodesic_active_contour` and
        `morphological_chan_vese`.

    """

    from mpl_toolkits.mplot3d import Axes3D
    # PyMCubes package is required for `visual_callback_3d`
    try:
        import mcubes
    except ImportError:
        raise ImportError("PyMCubes is required for 3D `visual_callback_3d`")

    # Prepare the visual environment.
    if fig is None:
        fig = plt.figure()
    fig.clf()
    ax = fig.add_subplot(111, projection='3d')
    plt.pause(0.001)

    counter = [-1]

    def callback(levelset):

        counter[0] += 1
        if (counter[0] % plot_each) != 0:
            return

        if ax.collections:
            del ax.collections[0]

        coords, triangles = mcubes.marching_cubes(levelset, 0.5)
        ax.plot_trisurf(coords[:, 0], coords[:, 1], coords[:, 2],
                        triangles=triangles)
        plt.pause(0.1)

    return callback

def rgb2gray(img):
    """Convert a RGB image to gray scale."""
    return 0.2989 * img[..., 0] + 0.587 * img[..., 1] + 0.114 * img[..., 2]

def example_nodule():
    logging.info('Running: example_nodule (MorphGAC)...')

    # Load the image.
    img = imread(PATH_IMG_NODULE)[..., 0] / 255.0

    # g(I)
    gimg = ms.inverse_gaussian_gradient(img, alpha=1000, sigma=5.48)

    # Initialization of the level-set.
    init_ls = ms.circle_level_set(img.shape, (100, 126), 20)

    # Callback for visual plotting
    callback = visual_callback_2d(img)

    # MorphGAC.
    ms.morphological_geodesic_active_contour(gimg, iterations=45,
                                             init_level_set=init_ls,
                                             smoothing=1, threshold=0.31,
                                             balloon=1, iter_callback=callback)

def example_starfish():
    logging.info('Running: example_starfish (MorphGAC)...')

    # Load the image.
    imgcolor = imread(PATH_IMG_STARFISH) / 255.0
    img = rgb2gray(imgcolor)

    # g(I)
    gimg = ms.inverse_gaussian_gradient(img, alpha=1000, sigma=2)

    # Initialization of the level-set.
    init_ls = ms.circle_level_set(img.shape, (163, 137), 135)

    # Callback for visual plotting
    callback = visual_callback_2d(imgcolor)

    # MorphGAC.
    ms.morphological_geodesic_active_contour(gimg, iterations=100,
                                             init_level_set=init_ls,
                                             smoothing=2, threshold=0.3,
                                             balloon=-1, iter_callback=callback)

def example_coins():
    logging.info('Running: example_coins (MorphGAC)...')

    # Load the image.
    img = imread(PATH_IMG_COINS) / 255.0

    # g(I)
    gimg = ms.inverse_gaussian_gradient(img)

    # Manual initialization of the level set
    init_ls = np.zeros(img.shape, dtype=np.int8)
    init_ls[10:-10, 10:-10] = 1

    # Callback for visual plotting
    callback = visual_callback_2d(img)

    # MorphGAC.
    ms.morphological_geodesic_active_contour(gimg, 230, init_ls,
                                             smoothing=1, threshold=0.69,
                                             balloon=-1, iter_callback=callback)

def example_lakes():
    logging.info('Running: example_lakes (MorphACWE)...')

    # Load the image.
    imgcolor = imread(PATH_IMG_LAKES)/255.0
    img = rgb2gray(imgcolor)

    # MorphACWE does not need g(I)

    # Initialization of the level-set.
    init_ls = ms.circle_level_set(img.shape, (80, 170), 25)

    # Callback for visual plotting
    callback = visual_callback_2d(imgcolor)

    # Morphological Chan-Vese (or ACWE)
    ms.morphological_chan_vese(img, iterations=200,
                               init_level_set=init_ls,
                               smoothing=3, lambda1=1, lambda2=1,
                               iter_callback=callback)

def example_camera():
    """
    Example with `morphological_chan_vese` with using the default
    initialization of the level-set.
    """

    logging.info('Running: example_camera (MorphACWE)...')

    # Load the image.
    img = imread(PATH_IMG_CAMERA)/255.0

    # Callback for visual plotting
    callback = visual_callback_2d(img)

    # Morphological Chan-Vese (or ACWE)
    ms.morphological_chan_vese(img, 35,
                               smoothing=3, lambda1=1, lambda2=1,
                               iter_callback=callback)

def example_confocal3d():
    logging.info('Running: example_confocal3d (MorphACWE)...')

    # Load the image.
    img = np.load(PATH_ARRAY_CONFOCAL)

    # Initialization of the level-set.
    init_ls = ms.circle_level_set(img.shape, (30, 50, 80), 25)

    # Callback for visual plotting
    callback = visual_callback_3d(plot_each=20)

    # Morphological Chan-Vese (or ACWE)
    ms.morphological_chan_vese(img, iterations=150,
                               init_level_set=init_ls,
                               smoothing=1, lambda1=1, lambda2=2,
                               iter_callback=callback)

if __name__ == '__main__':
    logging.basicConfig(level=logging.DEBUG)
    example_nodule()
    example_starfish()
    example_coins()
    example_lakes()
    example_camera()

    # Uncomment the following line to see a 3D example
    # This is skipped by default since mplot3d is VERY slow plotting 3d meshes
    # example_confocal3d()

    logging.info("Done.")
    plt.show()

After running this (and yes, I put the images in the correct place) it produced the following error:
NameError                                 Traceback (most recent call last)
<ipython-input-7-e6b7bfe1611c> in <module>()
    263 if __name__ == '__main__':
    264     logging.basicConfig(level=logging.DEBUG)
--> 265     example_nodule()
    266     example_starfish()
    267     example_coins()

<ipython-input-7-e6b7bfe1611c> in example_nodule()
    153                                              init_level_set=init_ls,
    154                                              smoothing=1, threshold=0.31,
--> 155                                              balloon=1, iter_callback=callback)
    156
    157

C:\ProgramData\Anaconda3\lib\site-packages\morphsnakes.py in morphological_geodesic_active_contour(gimage, iterations, init_level_set, smoothing, threshold, balloon, iter_callback)
    468     u = np.int8(init_level_set > 0)
    469
--> 470     iter_callback(u)
    471
    472     for _ in range(iterations):

<ipython-input-7-e6b7bfe1611c> in callback(levelset)
     65         ax_u.set_data(levelset)
     66         fig.canvas.draw()
---> 67         plt.pause(0.001)
     68
     69     return callback

C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\pyplot.py in pause(interval)
    292         canvas.start_event_loop(interval)
    293     else:
--> 294         time.sleep(interval)
    295
    296

NameError: name 'time' is not defined

So, of course, first I check C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\pyplot.py because:
--> 294         time.sleep(interval)
So, I discover that yes, the time module is in fact imported in this script.  It makes no sense why this error is being thrown.  And, it prevents me from testing any of the examples.  What can I do to solve it?

Hi @doverradio,
This is a known bug of an old version of matplotlib, not a problem in morphsnakes. Upgrading your matplotlib library to the last version should fix the problem.
In any case, keep in mind that the code in examples.py is not meant to be run in a Jupyter notebook. You can do it, of course, and it should run with no errors (maybe with some warnings), but you will not be able to visualize the results properly. You'll need to modify a few lines for that.
Regards.


Adaptive mutation and crossover

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
Closes #2286
What are the significant changes in functionality due to this change request?
Implement to raven (Adaptive mutation and crossover - we change the probability about mutation and crossover per each iteration in generic algorithm)

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[ ] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

replaced with #2344


crash when loading.

so i was setting up hyprload to finally autoupdate plugins and it was crashing. i gave up and switched back to just using this and it turns out the build i had been using of this repo is now somehow broken. the only thing that changed was me fixing seatd socket perms but even with logind backend its broken. i can provide any logs if needed but for some reason it doesnt coredump or really crash at all. it just exits

Huh, that's worrying. When does it exactly fail? And please provide the hyprland crash log from ~/.hyprland if you can. If not, try just the most recent log from /tmp/hypr/

Most likely not related, but after one if the three commits on May 9, 2023, Hyprland-Git breaks with the following output from the main log:
[LOG]  [hookSystem] New hook event registered: urgent [LOG] Hyprctl: dispatcher movewindowpixel : 0 -1404,address:0x555c7a7628d0 [CRITICAL] Hyprland has crashed :( Consult the crash report at /home/xxx/.hyprland/hyprlandCrashReport2303.txt for more information.
The Crashreport ends with the same Hyprctl dispatch.
Stable Hyprland still works and disabling the plugin also fixes the crash on Git-Version.

This appears to be caused by using the wrong hyprland headers. you fixed it with the checkout


Suggest to increase cpu operation?

Hello, can you increase the cpu operating parameters?

Sorry, could you explain what is "cpu operating parameters"?

Sorry, could you explain what is "cpu operating parameters"?

Add a parameter, it can also run on the cpu.

The code is written without considering running on the CPU.
If you want to run on the CPU, some functions may need to be rewritten in NumPy. Sorry, I have no plans to implement this feature.