BOM - show purchase price

Shows purchase prices for a BOM in the pricing modal and prices tab.
Suggested by @sintech
Fixes #1889

Thank you @matmair looks exactly what I needed.
Unfortunately it gives me an error on my test BOM Part

Thank you @matmair looks exactly what I needed.
Unfortunately it gives me an error on my test BOM Part:

It fails for sub-parts without purchase price, I think some check is needed.

@sintech should work now.
The question is if there should be some kind of warning if not all parts are covered by purchase prices. The current method is to then use BOM and buy prices.

The question is if there should be some kind of warning if not all parts are covered by purchase prices. The current method is to then use BOM and buy prices.

I think it should be ok to have parts with no pricing info at all and purchase price in particular. They just have to be excluded from BOM price calculation.

@matmair So in this example:

Maybe we should have some kind of warning stating that the "Cost" lines are based on incomplete pricing information?
I guess same for the "Purchase Price" line?

@eeintech @sintech so a small tooltip with information what information was used for calculation would be ok? I would include multiple levels of information depending on the settings.

@matmair I think a tooltip about what prices was used for pie chart is also needed. I mean the precedence: supplier cost > internal > purchase.
And that Unit cost includes supplier cost + internal cost.

@sintech moved this tooltip FR into a new issue

@sintech does this PR work for you now?

@matmair it is strange but it gives me an error

Maybe it's because I dont have any stock item for this part anymore :(

@matmair seems to be working now. I had git issues...
It is pity that all purchase price info has lost with deletion of stock...

@SchrodingersGat this would be ready for review and merge

Thanks @matmair this looks good on my end.


Best practices: how to test whether two Posynomials are the same

What is the best practice way to determine whether two Posynomial objects are the same?  (since == tries to create a constraint)

== works! It should fail for any not-always-equal Posys.
On Tue, Mar 3, 2015 at 4:22 PM, whoburg<EMAIL_ADDRESS>wrote:

What is the best practice way to determine whether two Posynomial objects
are the same? (since == tries to create a constraint)
—
Reply to this email directly or view it on GitHub
https://github.com/convexopt/gpkit/issues/170.


Start from Nth waypoint

Ability to start at waypoint N and then use this as the route instead of always starting at 0

I'm not sure how this will look with regions, but it would be nice to have it there as well


Should we add a way to indicate the corresponding author of a reference?

I would say no; we already connect to the reference via the DOI, and I don't think it should be our responsibility to maintain this info. Plus, the ChemKED files are supposed to be standalone—questions would be about the reference itself, not about the data (if that makes sense).


Using other exchanges

Is it possible to change the exchanges for the life exchanges?
Where to start?
If you give me a starting point i could try and do it myself and make a pull request afterwards

Hi,
you can do a wrapper for any exchange you want based on this wrapper.
Check the API for more details.


Upgrade a few front end services

As noted in pr #1088 there were a few dependencies/services we're using that contributed to some html validation errors (and therefore accessibility issues. These could stand to be updated:

[ ] Recaptcha
There’s a couple errors having to do with required_score and required attributes on inputs that are recaptcha specific. This github thread shows that this was taken of semi-recently.

[ ] Leaflet
We also got errors about a role attribute on <img> tags with empty alts. This was resolved in an update a couple years ago.

[ ] Datatables
We’re using an older version that's raising an error about roles on tables. This has been addressed in newer versions.

[ ] Mozilla pdf.js
PDFs are structured a bit strangely and it affects screen reader performance. Instead of a paragraph being it's own div, one word or a whole phrase in the middle of a sentence will be a div. This may be resolved by looking into mozilla's pdf.js

We'll pick this up once the accessibility updates are in.


provider error on ubuntu 24.04

Affected Puppet, Ruby, OS and module versions/distributions

Puppet: 8.4.0
Ruby: 3.2.3
Distribution: Ubuntu 24.04 LTS (Noble Numbat)
Module version: 1.1.1

How to reproduce (e.g Puppet code you use)
Attempt to install a module on 24.04
  package { 'tree': ensure => 'installed', provider => 'snap', install_options => [ 'classic' ] }
What are you seeing
On the target machine puppet fails to run and doesn't recognize snap as being active.
The logs in foreman show
resource:  /Stage[main]/Profile::Base::Packages/Package[tree]
message:Provider snap is not functional on this host
What behaviour did you expect instead
That the tree snap would be installed on the target system
Output log
Any additional information you'd like to impart
Not sure if the fix is correct, in order to progress I needed to change the provider from "puppet_gem" to "gem"
`
service { 'snapd':
ensure  => $service_ensure,
enable  => $service_enable,
require => Package['snapd'],
}
-> package { 'net_http_unix':
  ensure   => $net_http_unix_ensure,
  provider => "gem",
}

`

Hello @peterwoj, this seems to be related to the version of the agent you are using. You should use the AIO packages from Puppet instead of the distro packages.

@root-expert will give it a look and comment back early next week, thanks for the reply

Hello, any updates on this issue? We like to use puppet-snap on Ubuntu 24.04 and face the same problem. Kind regards

@msu-ts hello, could possibly test if the suggestion above works for you? It seems to be working fine on the acceptance tests with AIO packages from Puppet.

@root-expert Hello, on one of the system the suggestion works and there are no errors. But I have a cluster-setup with two nodes running pacemaker, which installs ruby. Here I get an error:
Debug: Puppet::Type::Package::ProviderSnap: feature net_http_unix_lib is missing Error: /Package[aws-cli]: Provider snap is not functional on this host
I can't uninstall ruby here but would like to use your module for installing aws-cli with snap. If more information are needed, feel free to ask.

The lastest arm64 packages for puppet are missing the net_http_unix gem. I fixed this on my clients by adding the following to my puppet code:
package { 'net_http_unix':
   ensure   => 'installed',
   provider => 'puppet_gem',
 }

Additional finding: Ubuntu 22 Puppetlabs-packages use the bundled ruby and the condition works fine. However there is PR #36 open which may remove the dependency completely which is also a solution. So i'm not creating a concurrent PR.

Hello @wornet-mwo the solution would be to use AIO puppet-agent package provided by Puppet repos and not by Ubuntu repos. In that case the provider should work as expected.
The linked PR imho is not a good solution. Copying code and maintaining is something I wouldn't like to do.

@nick-oconnor hello, this is something already the provider is doing. Check here. Ensure net_http_unix_ensure is set to installed in your manifests.

Hello @wornet-mwo the solution would be to use AIO puppet-agent package provided by Puppet repos and not by Ubuntu repos. In that case the provider should work as expected.

Sure. But that's something you can't assume when writing a module.

The linked PR imho is not a good solution. Copying code and maintaining is something I wouldn't like to do.

Okay. I can provide one with the selector from above (but only hand tested in the available infrastructure).

Sure I can't assume it, but that's the recommended way to install puppet by Puppet Inc.
Using gem provider instead of puppet_gem could possibly cause issues when other ruby versions are installed on the system, since puppet_gem provider manages gems for the puppet-agent's bundled ruby version.
I believe a good solution would be to include a new parameter called manage_net_http_unix_lib with default value of true and wrap the package resource into it. That way if someone want to manage net_http_unix lib in another way they are free to do it by setting the parameter to false.

Sure I can't assume it, but that's the recommended way to install puppet by Puppet Inc.

Maybe. We see above, not all puppet installations are done the recommended way (imagine an upgraded Ubuntu, Puppetlabs does not provide own packages yet (really no offence, that's how open source works), but Ubuntu packages puppet-agent matching to the system -> the package of Ubuntu gets installed). That's why i think the selector is a good idea without the Sysadmin using puppet needing to know what's breaking here and the chance messing up the system's gems by installing an additional one is quite low.

Using gem provider instead of puppet_gem could possibly cause issues when other ruby versions are installed on the system, since puppet_gem provider manages gems for the puppet-agent's bundled ruby version.
I believe a good solution would be to include a new parameter called manage_net_http_unix_lib with default value of true and wrap the package resource into it. That way if someone want to manage net_http_unix lib in another way they are free to do it by setting the parameter to false.

I get your point. However this needs to be documented very well as this kind of ticket will be reopened after each OS-Release. Please imagine the POV of the typical sysadmin (i think many puppet users (even advanced) are in the same situation): I'm not aware why that lib is required for Snap - i just need to get it running and puppet does not print a helpful error message hinting you to any parameter. So any solution that works inside the module helps.

I can agree that #36 is not an ideal solution, but I think it's better than requiring external gems.  I expect modules to be portable and able to drop-in to any puppet environment with only a puppet version and other modules as dependencies.  In this case the ~40 lines of code copied from the required gem is worth the portability, and unlikely to require much if any maintenance.
Another solution might be to include the HTTPUnix class in some other common module like stdlib or maybe extlib.  Then that simple dependency can be identified in module metadata and be deployed anywhere with reasonable expectation that it will just work.


error: Error: Unable to resolve module ../fabric/NativeSvgRenderableModule

NB Never post screenshots of code. Post copy paste-able code if you include any.
Ignoring this will likely lead to direct closing of the issue.
Please respect the time and energy of open source maintainers.
Bug
Please provide a clear and concise description of what the bug is.
Include screenshots if needed.
Please test using the latest release of the library, as maybe said bug has been already fixed.
Unexpected behavior
If you have unexpected behavior, please create a clean project with the latest versions of react-native and react-native-svg
react-native init CleanProject
cd CleanProject/
yarn add react-native-svg
cd ios && pod install && cd ..
modify App.js -> run the app

If it's still an issue with the latest versions,
please make an sscce in the clean project,
and make it available as a git repo on github.
Or as a https://snack.expo.io/ if expo has the latest version,
and / or the bug exists both in the latest version and the one used in expo and snack.
Environment info
Run react-native info in your terminal and copy the results here. Also, include the precise version number of this library that you are using in the project
React native info output:
 react-native info
info Fetching system and libraries information...
(node:98243) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
System:
  OS: macOS 14.3
  CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
  Memory: 153.65 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.17.1
    path: ~/.nvm/versions/node/v18.17.1/bin/node
  Yarn:
    version: 1.22.21
    path: /usr/local/bin/yarn
  npm:
    version: 9.6.7
    path: ~/.nvm/versions/node/v18.17.1/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /usr/local/bin/watchman
Managers:
  CocoaPods:
    version: 1.14.3
    path: /usr/local/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.2
      - iOS 17.2
      - macOS 14.2
      - tvOS 17.2
      - visionOS 1.0
      - watchOS 10.2
  Android SDK: Not Found
IDEs:
  Android Studio: 2023.1 AI-231.9392.1.2311.11076708
  Xcode:
    version: 15.2/15C500b
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.9
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.2
    wanted: 0.73.2
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Library version:
"react-native-svg": "^13.14.0"
"react": "18.2.0",
"react-native": "0.73.2",
Steps To Reproduce
Issues without reproduction steps or code are likely to stall.

git clone https://github.com/LayMui/ahuaAppTesting
cd ahuaAppTesting
yarn
yarn ios
yarn android
...

Describe what you expected to happen:

Runtime error
error: Error: Unable to resolve module ../fabric/NativeSvgRenderableModule from<EMAIL_ADDRESS>
None of these files exist:

node_modules/@xxx/fabric/NativeSvgRenderableModule(.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.svg|.native.svg|.svg)
node_modules/@xxx/fabric/NativeSvgRenderableModule/index(.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.svg|.native.svg|.svg)
2170 |     } = options || {};
2171 |     const handle = require$$0$1.findNodeHandle(this.root);

2172 |     const RNSVGRenderableModule = require('../fabric/NativeSvgRenderableModule').default;

Short, Self Contained, Correct (Compilable), Example
If you are having a problem with some code and seeking help, preparing a Short, Self Contained, Correct Example (SSCCE) is very useful. But what is an SSCCE?
It is all in the name, really. Take a look at each part. The version prepared for others to see should be:
Short (Small) - Minimise bandwidth for the example, do not bore the audience.
Self Contained - Ensure everything is included, ready to go.
Correct - Copy, paste, (compile,) see is the aim.
Example - Displays the problem we are trying to solve.
http://www.sscce.org/

Hello @LayMui,
Can you share the example to reproduce that issue?
Thank you.

even I face the same issue

@ghana7989 It'll be great if you share a simple example of how we can reproduce that, thank you.


getting "cp: cannot stat" errors on Ubuntu 22.04

cp: cannot stat 'pki/ca.crt': No such file or directory
cp: cannot stat 'pki/private/ca.key': No such file or directory
cp: cannot stat 'pki/issued/server.crt': No such file or directory
cp: cannot stat 'pki/private/server.key': No such file or directory
cp: cannot stat 'pki/crl.pem': No such file or directory
chown: cannot access '/etc/openvpn/server/crl.pem': No such file or directory

I'm archiving this repository so I have to close your issue.


Failed to load example dump for federation_authority example project

at this stage
https://github.com/italia/spid-cie-oidc-django/blob/546ba2c7f973c980835d10100fb6a5767d55a870/docs/SETUP.md?plain=1#L69
following error occurs
django.db.utils.IntegrityError: Problem installing fixtures: The row in table 'spid_cie_oidc_provider_oidcsession' with primary key '1' has an invalid foreign key: spid_cie_oidc_provider_oidcsession.user_id contains a value '1' that does not have a corresponding value in spid_cie_oidc_accounts_user.id.

workaround: place this file extracted file in spid-cie-oidc-django/examples/federation_authority/
db.zip

we won't upload any database as binary file in github, i pruned the rp and op sessions, so you won't have any exceptions on FK on missing users, in the DB
https://github.com/italia/spid-cie-oidc-django/releases/tag/v0.4.5
feel free to close this issue when you've done :+1:


[Service Bus Extension] PeekMessage method on ServiceBusReceiveActions

Library name
Microsoft.Azure.WebJobs.Extensions.ServiceBus
Please describe the feature.
I have library code written using Microsoft.Azure.WebJobs.Extensions.ServiceBus v4.1.0 that need to be able to recieve and/or peek a deferred message to check if it does exists or not. All the primitives needed was accessible from IMessageSession.
With Microsoft.Azure.WebJobs.Extensions.ServiceBus v5.5.1 I can use ServiceBusReceiveActions to recieve a deferred message, but there's no method for peeking a method. Instead one need create a ServiceBusReceiver that have the PeekMessageAsync method.
I would suggest that the ServiceBusRecieveActions had an PeekMessage method added.
Code using v4.1.0
[FunctionName("ReceiveMessage")]
public async Task Run([ServiceBusTrigger(queueName, queueName, Connection = "AzureWebJobsServiceBus", IsSessionsEnabled = true)]
	Message message,
	IMessageSession messageSession)
{
	try
	{
		var deferredMessage = await messageSession.ReceiveDeferredMessageAsync(<sequenceNumber>);
		// Handle deferred message
	}
	catch (Exception ex)
	{
		var peekDeferred = await messageSession.PeekBySequenceNumberAsync(<sequenceNumber>);¨
		// Check to see if method does exists and locked by another process
	}
	await messageSession.CompleteAsync(message.SystemProperties.LockToken);
}

Code using v5.5.1
[FunctionName("ReceiveMessage")]
public async Task Run([ServiceBusTrigger(queueName, queueName, Connection = "AzureWebJobsServiceBus", IsSessionsEnabled = true)]
	ServiceBusReceivedMessage message,
	ServiceBusSessionMessageActions sessionActions,
	ServiceBusReceiveActions receiveActions)
{
	await using var client = new ServiceBusClient(connectionString);
	ServiceBusReceiver serviceBusReceiver = client.CreateReceiver(queueName, queueName);
	try
	{
		var receivedDeferredMessages = await receiveActions.ReceiveDeferredMessagesAsync(new long[] { <sequenceNumber> });
		var deferredMessage = receivedDeferredMessages.ToList().FirstOrDefault();
		// Handle deferred message
	}
	catch (Exception ex)
	{
		var peekDeferred = await serviceBusReceiver.PeekMessageAsync(<sequenceNumber>);
		// Check to see if method does exists and locked by another process
	}
	await sessionActions.CompleteMessageAsync(message);
}

The variable queueName is a const with the name of a topic / subscription. < sequenceNumber > is the sequence number of a deferred message in that subscription.

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

I have the same problem with the new package and ServiceBusReceiveActions binding parameter. Are there any updates on this? PLEASE

Related: #30887


RFE: "fixer" to modify code constants, variables

The Go linker (go tool link) has an option to set the value of an uninitialised string variable (http://stackoverflow.com/a/11355611)
$ go run -ldflags "-X main.xyz=abc" main.go

it would be nice to do something similar in php projects as well. modify them to substitute some constant or class property to new value. i.e specify some build information to php file.
namespace MyPackage;
class Version {
  const VERSION = '1.x-git';
};

using the fixer could embed version info there:
namespace MyPackage;
class Version {
  const VERSION = 'v1.0.0-3-g8e2f75f';
};

yes, this can be done with sed, or some other pattern based replacement, but it's fragile, can cause resulting php file with syntax errors, and so on.
therefore i think php-cs-fixer is right place to handle this, considering it knows the language syntax.
it could be implemented similarly to copyright fixer that takes extra configuration needed to know what exactly to replace.
some ideas how to implement include:

add some @annotation that could help finding place to replace
go style config with classname (absolute namespace),  and variable name that could be automatically identified to be:

constant (no prefix): 'MyPackage\Version\VERSION' => 'v1.0.0-3-g8e2f75f'
property (->-prefix): 'MyPackage\Version->VERSION' => 'v1.0.0-3-g8e2f75f'
static variable (::$-prefix): 'MyPackage\Version::$VERSION' => 'v1.0.0-3-g8e2f75f'

Putting a version of v1.0.0-3-g8e2f75f does not make sense. It would always be off by one commit (at least), as you cannot put the hash of the current commit in its own diff (the hash depends on the diff, so you get a chicken-and-egg issue even if you do crazy magic)

well. let met try again.
my usecase would not be normal "fixing" but injecting build information to files, i.e distribution files (tar.gz, zip produced by ci). i'm thiking php-cs-fixer is good tool about it because it knows php syntax and likely produces valid file compared to just running sed commands.
so in other words: result of this "fixer" is not intended to be committed to VCS.

what is your use case ? if something like preparing .phar release then just use box project for that

i've explained usecase(s) (with reasoning! why this project!) in issue description. and no, it's not about building phar with box.phar project, different distribution logic (which .zip or .tar.gz can be equivalent)

so, definitely, not a CS concern.

I like the idea of such tool, however it is not a CS related FR.
Maybe when the Tokenizer (and transformers) are split out to its own repo it will be more easy for others to builds tools like this on top of that.


Go to source from views?

The web view only gives me names of functions, not source code location, so it's very hard to get what's going on. Is this planned, or am I doing something wrong?

I think the "Peek" view in the webview (<host:port>/ui/peek) should show all the source code location you need.
For example:
      Type: events
Showing nodes accounting for 4, 100% of 4 total
----------------------------------------------------------+-------------
      flat  flat%   sum%        cum   cum%   calls calls% + context
----------------------------------------------------------+-------------
                                                 1   100% |   _new_array /Users/nathan.daly/src/julia/src/array.c:160
         1 25.00% 25.00%          1 25.00%                | _new_array_ /Users/nathan.daly/src/julia/src/array.c:135
----------------------------------------------------------+-------------
                                                 1   100% |   emit_function /Users/nathan.daly/src/julia/src/codegen.cpp
         1 25.00% 50.00%          1 25.00%                | for_each_uniontype_small /Users/nathan.daly/builds/julia-1.3/usr/lib/libjulia.1.3.dylib:-1
----------------------------------------------------------+-------------
...
----------------------------------------------------------+-------------
                                                 4   100% |   macro expansion /Users/nathan.daly/builds/julia-1.3/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:333 (inline)
         0     0%   100%          4   100%                | macro expansion /Users/nathan.daly/builds/julia-1.3/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:118
                                                 4   100% |   REPL.eval_user_input /Users/nathan.daly/builds/julia-1.3/usr/share/julia/stdlib/v1.3/REPL/src/REPL.jl:86
----------------------------------------------------------+-------------
...

There's also the "Source" view in the webview (<host:port>/ui/source), which shows annotated source files, with samples-per-line, but I don't really ever look at that view.

Is that what you were looking for?

Not really, I was thinking of clicking in the flamegraph and getting the source code location from there, as eg ProfileView and StatProfilerHTML do

That sounds more like an issue for pprof upstream. https://github.com/google/pprof

That's my bad, I didn't understand the relationship between pprof and pprof.jl. Sorry about the noise!


Refactor implementation for panel & section icons.

Needs refactoring.
New implementation should not use a script.

Managed to fix all issues, however the implementation is not yet complete.
Removed scripts from sections, but panels still use it.


[RFC] Propose rename current fixed-point intrinsic APIs for instructions which read VXRM

As the discussion in https://github.com/riscv/riscv-v-spec/issues/739,
I would like to add 4 suffixes _rnu, _rdn, _rne and _rod to current intrinsic name,
For example of vaadd, this would increase the number of intrinsics by 4 times.
- vint8mf8_t vaadd_vv_i8mf8 (vint8mf8_t op1, vint8mf8_t op2, size_t vl);
+ vint8mf8_t vaadd_rnu_vv_i8mf8 (vint8mf8_t op1, vint8mf8_t op2, size_t vl);
+ vint8mf8_t vaadd_rdn_vv_i8mf8 (vint8mf8_t op1, vint8mf8_t op2, size_t vl);
+ vint8mf8_t vaadd_rne_vv_i8mf8 (vint8mf8_t op1, vint8mf8_t op2, size_t vl);
+ vint8mf8_t vaadd_rod_vv_i8mf8 (vint8mf8_t op1, vint8mf8_t op2, size_t vl);

Since there is no default value for VXRM on the function entry, I think the name with suffixes can make it explicitly and users will be aware of what is going to be used.
The candidates of this change are VAADD, VAADDU, VASUB, VASUBU, VSMUL, VSSRL, VSSRA, VNCLIP, and VNCLIPU.

Will we follow a similar pattern for frm for floating-point intrinsics?

I would strongly prefer keep current API and adding static rounding mode API instead of removing old one to make sure the compatible, and consistent design with floating point operations

Will we follow a similar pattern for frm for floating-point intrinsics?

I think it is yes, and I would like to create a separate issue for the discussion.

I would strongly prefer keep current API and adding static rounding mode API instead of removing old one to make sure the compatible, and consistent design with floating point operations

Since we have two options:

without suffix indicating the round mode,
with suffix indicating the round mode.

Assuming only option (2) is available, I expect the following C code
vint8m1_t test1(vint8m1_t dest, vint8m1_t op1, vint8m1_t op2, size_t vl)
{
    vint8m1_t t = vaadd_rdn_vv_i8m1(op1, op2, vl);
    return t;
}

would generate the assembly like
test1:
    vsetvli zero, a0, e8, m1, ta, mu
    csrwi vxrm, 2
    vaadd.vv v8, v9, v10

Because Option (2) changes the content of VXRM, I think extra instructions would be needed to save/restore to VXRM when option (1) is also available.
For example,
vint8m1_t test2(vint8m1_t dest, vint8m1_t op1, vint8m1_t op2, size_t vl, int cond)
{
    __asm__ __volatile__("csrwi vxrm, 0");
    vint8m1_t t1 = vaadd_rdn_vv_i8m1(op1, op2, vl);
    vint8m1_t t2 = vaadd_vv_i8m1(t1, op2, vl);
    return t2;
}

I expect the assembly would be
test2:
        vsetvli zero, a0, e8, m1, ta, mu
        csrwr vxrm, 0
        csrrwr a0, vxrm, 2
        vaadd.vv v8, v9, v10
        csrw vxrm, a0
        vaadd.vv v8, v8,  v10
        ret

And users may lose optimization chances, like in this case
vint8m1_t test3(vint8m1_t dest, vint8m1_t op1, vint8m1_t op2, size_t vl)
{
    vint8m1_t t1 = vaadd_vv_i8m1(op1, op2, vl);
    vint8m1_t t2 = vaadd_vv_i8m1(op1, op2, vl);
    return vadd_vv_i8m1(t1, t2, vl);
}

vaadd is not CSEed because of the hidden state.
test3:
    vsetvli zero, a0, e8, m1, ta, mu
    vaadd.vv    v8, v9, v10
    vaadd.vv    v9, v9, v10
    vadd.vv v8, v8, v9
    ret

I see ARM drops some intrinsic support when their compiler goes to version 6 in the document
https://developer.arm.com/documentation/dui0774/g/Other-Compiler-specific-Features/ACLE-support
so I hope it is still not too late to make this change if we agree option (2) fits our needs.

vaadd is not CSEed because of the hidden state.

I think it's user's responsibility, if they care about rounding they need to use all rounding series intrinsics in the same kernel.

I would like to add 4 suffixes _rnu, _rdn, _rne and _rod to current intrinsic name,
For example of vaadd, this would increase the number of intrinsics by 4 times.

IPO, I like vaadd_vv_rnu_i8mf8 rather than vaadd_rnu_vv_i8mf8 because assembly mnemonics is vaadd.vv.

I would strongly prefer keep current API and adding static rounding mode API instead of removing old one to make sure the compatible, and consistent design with floating point operations

I think compatible is not a problem if we have predefined marco for intrinsic-doc version...
But I like to keep the current API because if users don't care about rounding or they are doing a fast version kernel, what can they do without the current API?

vaadd is not CSEed because of the hidden state.

Those fixed pointer operation only read hidden state/vxrm, so that's should not block CSE in theory, that different situation than vl/vtype, we read AND write that on RVV intrinsic semantic, so they cause CSE optimization issue.

But I like to keep the current API because if users don't care about rounding or they are doing a fast version kernel, what can they do without the current API?

Keep current API can let dynamic rounding mode work as expect if we don't break that, and not forcing user to always using static rounding mode scheme.
I would like to keep the possibility and let user have freedom to choice what they like if possible.

Fixed point intrinsic is a good feature beneficial to the completeness of RVV intrinsic.
Let's open for discussion whether we should include this in v1.0 release.


Remove Required attribute from GenerateNuSpec parameters.

Issue #57
Removes Required attribute from GenerateNuSpec parameters. Enforces required parameters only if a template nuspec file is not specified.
This allows the Id, Version, Title, Authors, Owners, and Description attributes to be specified in the nuspec file without requiring the same value be placed in the nuproj file properties.

Issue #57
Modified nuproj.targets to initialize the Id and Version properties from the nuspec target file, if the values are not defined within the nuproj file.
I've broken something in the tests though..
Issue #59
Added a clean cache (generally a cut & paste of the functionality defined in Microsoft.Common.CurrentVersion.targets from MSBuild).

I've checked your working branch. It seems you forgot to specify template property in Task_GenerateNuSpec_NoRequiredParameters\NuGetPackage\NuGetPackage.nuproj. Can you try to add there:
<PropertyGroup>
  <NuSpecTemplate>template.nuspec</NuSpecTemplate>
</PropertyGroup>

The nuspec template isn't supposed to be in the project. One of the test ensures that the build script will fail if the required parameters are not specified in either the template or the project.
Which tests do you see failing? All pass for me locally.
Sent from my iPhone
On Jan 17, 2015, at 2:26 PM, Pavol Kovalik <notifications<EMAIL_ADDRESS>wrote:
I've checked your working branch. It seems you forgot to specify template property in Task_GenerateNuSpec_NoRequiredParameters\NuGetPackage\NuGetPackage.nuproj. Can you try to add there:

template.nuspec

—
Reply to this email directly or view it on GitHubhttps://github.com/terrajobst/nuproj/pull/58#issuecomment-70382887.

Ok, found the problem: you're not setting NuProjPath, NuProjTasksPath and other properties. This means NuProj will try to load everything from default location, most likely $(MSBuildExtensionsPath)\NuProj\. This is why tests and others people tests were failing. See comment to code how to fix it.

OK, the tests are corrected. Can you accept both issues in a single pull request, or should I split them into two different requests?

I can't. That's up to @terrajobst .


[BUG] Crushing on Launch

Is it because of the new patch that the application crashing ?
2 days ago was "working". Any help will be appreciated.
Best regards!

I also have issues opening League Broadcast. Worked perfectly yesterday for a stream, but with the new patch, it crashes right after the update, on the main menu.
Here is the crash log :
Crash-2023-04-05-16-46.log

It seems that the Farsight.json is not generated at the lauch of the app. I guess that's the source of the issue but I am not sure

Same problem I gues. Any fixes so far ?
--- LeagueBroadcast Crash Report ---
Still more stable than the League Client
Time: 2023.04.05-19:48
Description: One or more errors occurred. (Value cannot be null. (Parameter 'a'))
Stacktrace:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)    at System.Threading.Tasks.Task1.get_Result()
at LeagueBroadcast.Ingame.Data.Config.FarsightConfig.UpdateGameVersion(FarsightConfig oldVersion) in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Ingame\Data\Config\FarsightConfig.cs:line 209
at LeagueBroadcast.Ingame.Data.Config.FarsightConfig.UpdateValues(String readValues) in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Ingame\Data\Config\FarsightConfig.cs:line 233
at LeagueBroadcast.Common.Data.Config.JSONConfigProvider.ReadConfig(JSONConfig config) in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Common\Data\Config\JSONConfigProvider.cs:line 64
at LeagueBroadcast.Common.Controllers.ConfigController.LoadOffsetConfig() in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Common\Controllers\ConfigController.cs:line 78
at LeagueBroadcast.Common.Controllers.AppStateController.LoadOffsets() in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Common\Controllers\AppStateController.cs:line 254
at LeagueBroadcast.Common.Controllers.AppStateController.ConnectToClient() in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Common\Controllers\AppStateController.cs:line 147
at LeagueBroadcast.Common.Controllers.AppStateController.InitConnection() in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Common\Controllers\AppStateController.cs:line 109
at System.Threading.Tasks.Task.<>c.b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()
-- System Details --
League Broadcast Version: <IP_ADDRESS>
OS: Win 10 2009

Ok found it. The offsets must be updated at every patchs by hand, and we have to wait for @floh22 to update the offsets folder because it is needed to work with the 13.7 patch of league of legends.
So now we have to wait ^^ I hope our gardian angel will be able to take care of that soon.

check this https://github.com/floh22/LeagueBroadcast/tree/v2/LeagueBroadcast.Farsight

Same problem, Here is my crashlog:
--- LeagueBroadcast Crash Report ---
Still more stable than the League Client
Time: 2023.04.07-18:10
Description: One or more errors occurred. (Value cannot be null. (Parameter 'a'))
Stacktrace:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)    at System.Threading.Tasks.Task1.get_Result()
at LeagueBroadcast.Ingame.Data.Config.FarsightConfig.UpdateGameVersion(FarsightConfig oldVersion) in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Ingame\Data\Config\FarsightConfig.cs:line 209
at LeagueBroadcast.Ingame.Data.Config.FarsightConfig.UpdateValues(String readValues) in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Ingame\Data\Config\FarsightConfig.cs:line 233
at LeagueBroadcast.Common.Data.Config.JSONConfigProvider.ReadConfig(JSONConfig config) in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Common\Data\Config\JSONConfigProvider.cs:line 64
at LeagueBroadcast.Common.Controllers.ConfigController.LoadOffsetConfig() in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Common\Controllers\ConfigController.cs:line 78
at LeagueBroadcast.Common.Controllers.AppStateController.LoadOffsets() in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Common\Controllers\AppStateController.cs:line 254
at LeagueBroadcast.Common.Controllers.AppStateController.ConnectToClient() in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Common\Controllers\AppStateController.cs:line 147
at LeagueBroadcast.Common.Controllers.AppStateController.InitConnection() in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Common\Controllers\AppStateController.cs:line 109
at System.Threading.Tasks.Task.<>c.b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()
-- System Details --
League Broadcast Version: <IP_ADDRESS>
OS: Win 10 2009

Weird. Upon league start and spectate it worked fine for about 3 minutes (exc. the "could not load all champion data from the memory" error). Then it crashed, with same errors in the sent logs but won't load anymore. I hope this would be resolved quickly, since we heavily rely on the program to diferentiate us from our competitors in our region.

So did it worked for you this way because I am still waiting. I haven't found anything helpful!

Yes, but the solution didn't last long, it's already crashing again

I was doing tests, while the league of legends client is closed, the program runs perfectly, but when opening the client and connecting with it, it crashes

I updated the Offsets by Hand. Got rid of the crashes that way, but it's still not really working. I'm guessing thats due Leagues moving away from x86 support.
To stop the program from crashing:

In Component.json inside the Config folder, set CheckForOffsets and CheckForUpdates to false
Edit (Or create if its not already there) the Fasight.json in the same folder. Use the code provided below.

As I said, this will not Fix the Programm, but someone might be able to work on it... I'll give an update if I manage to find a solution.
Fasight.json:
{
  "OffsetVersion": "13.7.1",
  "GameOffsets": {
    "Manager": "0x30B9188",
    "MapCount": "0x48",
    "MapRoot": "0x40",
    "MapNodeNetId": "0x20",
    "MapNodeObject": "0x28"
  },
  "ObjectOffsets": {
    "ID": "0x10",
    "NetworkID": "0xb4",
    "Team": "0x3c",
    "DisplayName": "0x60",
    "DisplayNameLength": "0x70",
    "Pos": "0x220",
    "Mana": "0x340",
    "MaxMana": "0x358",
    "Health": "0x1058",
    "MaxHealth": "0x1070",
    "CurrentGold": "0x2118",
    "GoldTotal": "0x2130",
    "EXP": "0x4018",
    "Name": "0x38a0"
  },
  "FileVersion": "1.0"
}

ahí probe la configuración indicada @Hexasiel y de momento parece funcionar, muchas gracias! // There I tried the indicated configuration @Hexasiel and for now it seems to work, thank you very much!

I managed to fix the code to get it to work with the new x64 version of the game. The latest changed by @floh22 are doing the same thing, I just wasn't expecting an update anymore at this point.
However, there is still a problem that causes the broadcasted to fail and I have no Idea what id causing this.

ya descargue la actualizacion, el programa corre a la perfeccion, pero al momento de estar en el modo espctador o en la replay, el programa se cierra solo :/ // I already downloaded the update, the program runs perfectly, but at the moment of being in the spectator mode or in the replay, the program closes itself :/

While i was in replay  the program ran fine, but when spectating a running game, it crashed. Here are the logs
Crash-2023-04-19-02-14.log
Log-2023-04-19-02-12.log

Should be fixed in latest release. Reopen if the problem persists


Segmentation visibility toggle applied to all segmentations instead of the active one only

Toggle of segmentation visibility button toggles visibility of all segmentations, not just the one selected.

Demonstration: https://app.screencast.com/oF3lSFEKrX2Pe
Sample dataset: https://viewer.imaging.datacommons.cancer.gov/viewer/<IP_ADDRESS>.4.1.145<IP_ADDRESS>.6279.6001.224985459390356936417021464571
OHIF version: 4.12.35


Not working

Only place it seems to work is on Pages, maybe somewhat on Profiles but not on News Feed or most importantly to me, Groups.

It works for me. See http://com.hemiola.com/2015/08/29/expand-all/#troubleshooting. In particular, did it used to work for you, and stopped?

Yes, it used to work, then stopped recently. I am using the latest bookmarklet am logged in. This is from a clean FF profile, no extensions enabled.
Console log from a group (ctrl-shift-k):
Responses = 0 3;}let div=document.createElement("div");div.id=this.id;div.style.direction="ltr";div.style.position="fixed";div.style.zIndex="999999";div.style.left=x+"px";div.style.width=WANT_W+"px";div.style.top=y+"px";div.style.height=WANT_H+"px";div.style.color=":1:6829
Console log from a Page, or at least part of it:
click (1 left): See More 3;}let div=document.createElement("div");div.id=this.id;div.style.direction="ltr";div.style.position="fixed";div.style.zIndex="999999";div.style.left=x+"px";div.style.width=WANT_W+"px";div.style.top=y+"px";div.style.height=WANT_H+"px";div.style.color=":1:6829
Programmer for one extension I use suggests this:
POST_ARTICLE cannot rely on [role=article][class=lzcic4wl] because extensions may add classes. Use .lzcic4wl[role=article]:not(.j83agx80)

More from programmer:
That issue could clash with all sorts of extensions. Same with anywhere else he relies on an element having a precise class list, which appears to be there & the 2nd 'selector =' in ensureCommentsShowingNew()

It works for me, and I’m not going to make changes that I can’t verify. I understand almost nothing of your description of what doesn’t work. Here are some URLs that expand for me; I’m curious if these don’t work for you:
https://www.facebook.com/groups/SALVUS/permalink/1045334152560759/
https://www.facebook.com/MarjorieTaylorGreene/posts/2547514125538682
https://www.facebook.com/Coca-Cola/photos/a.10150567797523306/10153099001083306/
https://www.facebook.com/newspaperscom/photos/a.312842978821852/2325780974194699/
https://www.facebook.com/melina.barratt/posts/10156802298768548/
https://www.facebook.com/yuri.biriukov/posts/1700509770217833

OK, yours all work on FF, Chrome, and Opera (but not Vivaldi). But there's something weird with FF; no matter where  am on FB, sometimes I have to click 'End' a few times, then 'Home' before it works. So let's consider it a local issue? TYVM :-)

I still don’t know what didn’t work before, and I don’t know what clicking ‘End’ and ‘Home’ refers to. I’ll close this for now.


Update config.yaml  # after a line blocked the flasher.yaml to be parsed by symfony7

Cause trouble in symfony7 where flasher.yaml wasn't interpreted due to the # comment after limit: 5
No error returned, took some times to understand why flasher.yaml wasn't interpreted.

Hey @robiinho 👋, thanks for contributing!


[FEATURE] Get-PnPSearchConfiguration support for Refinable managed properties

Describe the solution you'd like
Get-PnPSearchConfiguration currently returns all custom managed properties. Unfortunately, while this would have been sufficient for on-prem SharePoint, any time you need properties to be refinable or sortable in SPO, you have to map crawled properties to the existing refinable managed properties (e.g., RefinableString00, RefinableDate19). I would like for the Get-PnPSearchConfiguration to be able to retrieve any of these properties that have mappings.
Describe alternatives you've considered
There is no other alternative that I've found. There does not appear to be any way within Graph or SPO REST to retrieve managed properties.
Additional context
I'm attempting this as part of a broader attempt to use Microsoft 365 DSC, which utilizes PnP.PowerShell.

Heya, how are you trying to pull the refinable managed properties? For me, this returns the custom AND refinable properties for the whole tenant:
Get-PnPSearchConfiguration -Scope Subscription -OutputFormat ManagedPropertyMappings


mut variable shadowing

The following example should produce an error/warning.
def ex : IO Unit := do
  let mut xs : Array Nat := #[]
  let xs := xs
  xs := xs.push 0 -- should produce error here
  IO.println xs

Update: we decided that mutable cannot be shadowed. So, the error should be reported at
def ex : IO Unit := do
  let mut xs : Array Nat := #[]
  let xs := xs -- Error should be here
  xs := xs.push 0
  IO.println xs


Devfile Library v2.2.2

Which area/kind this issue is related to?

/kind epic
/area library
/area releng
Issue Description

A number of changes done to devfile/library require a new release to be cut. Additional there are a number of dependency patches done in the latest changes which need to be patched in dependents of devfile/library.
Acceptance Criteria

[x] https://github.com/devfile/api/issues/1454
[x] #1477
[x] #1478
[x] #1479

Closing as the last item was closed when merging https://github.com/devfile/registry/pull/396
cc @Jdubrick as the epic owner


feat(Dropdown) Add KDropdown

Summary
This is a refactor of https://github.com/Kong/kongponents/pull/78. It uses most of the same code and is currently used not as a Kongponent in Immunity Alerts. In lieu of KPop needing some lifecycle changes and other bug fixes I decided to go ahead and re-add this component using its basic css implementation (not popper.js). Multiple places in KHCP will need a dropdown like this and it will allow Immunity to swap for a Kongponent.
PR Checklist

[x] Does not introduce dependencies
[x] Functional: all changes do not break existing APIs and if so, bump major version.
[x] Tests pass: check the output of yarn test packages/
[x] Naming: the files and the method and prop variables use the same naming conventions as other Kongponents
[x] Framework style: abides by the essential rules in Vue's style guide
[x] Cleanliness: does not have formatting issues, unused code (e.g., console.logs), or leftover comments
[x] Docs: includes a technically accurate README, uses JSDOC where appropriate

it is possible the "selected" feature? will be dropped. @jackkav we'll have to sync to make sure immunity is good with this feature leaving. Im thinking we'd opt for slots instead of baking in selected styling

Talked with @steph-kalacis & @erickrico and we decided this component will be converted into a multiselect dropdown. We will use KPop under the hood and add customizations specific for a multiselect. I will reopen this PR when the work is completed


DOC: docstring for clients

Note that the issue tracker is NOT the place for general support.

#247


Add accessors for virtual guest network components

getNetworkComponents
getPrimaryBackendNetworkComponent
getPrimaryNetworkComponent

@sykesm this looks good. One thing is have you thought of adding an integration test?
These are a bit painful but I found that adding integration tests can be quite useful for SL especially since the APIs docs lack docs on how to actually try the calls.

I would have added an integration test if I was able to successfully run what was there. Provided the integration tests on master run, if I ending adding another networking related call (looks like I may need to get a subnet by id) I will back fill.

Let me know which one are failing for you. They should all run though do take some time.

I opened #106 for the integration test issue I hit.


Legacy content tasks

Series of tasks related to legacy content.

[ ] sample list of images near top of page.  How are these identified? Currently we find all non blacklisted images on the page. We should probably have a list of images like those in the real content, and just parse those.

[ ] sample links from tonal sources to amplifying content in separate page

[ ] structure of non-class page

[ ] sample link to external page, and/or link to section within external page. Page reference in table of contents

[ ] how do we find content of interest in an related page. What's the name of the div/divs that contain it?

[ ] when there is an image, does the parent div ever have a name?  Or, does the image have alt or title attributes?  (image9)

[x] clarify how to spot the child sections (potentially using table of contents?)

[x] class images
[x] class summary
[x] tonals
[x] propulsion
[x] remarks

images - we can't find them as a block. But each is an image in the ./content/images subfolder that isn't one on the exclusion list. It also has both a name and an id.  Some images that match the above may just be images inside the main sections.  We'll handle those later..
class summary - table with 6 columns (6 cells in first table row). This table is also at the start of a table that contains a row with a colspan of 6, containing the text Commonly Detected Sources. Actually, the Class Summary is the rows of that table, down to the row with Commonly Detected Sources (if present).
tonals a table with 6 columns (6 cells in first table row).  The tonals is the rows of this table from Commonly Detected Sources downwards.
populsion - a div with an <h1> containing PROPULSION (I'll be editing the data to make this consistent).  If we have a class file without this element we should report an error, so I can see if I've missed an instance.
remarks a div with an <h1> containing REMARKS

Done


manageiq install from source

When I run bundle install I get the following message.
Could not find gem 'ansible_tower_client (~> 0.0.1)' in
git://github.com/ManageIQ/ansible_tower_client.git (at master@56d33ff).
Source contains 'ansible_tower_client' at: 0.1.0

So there is a checkout that is not allowing me to run bundle install.

@bdunne I hadn't see this issue from Apr, but do you know if this is still an issue?

@Fryguy I think it was resolved within a few hours of it being an issue.


Plan for external communication / isolation

Currently, the Miri interpreter only allows one kind of communication between the executed program and the outside world: printing to stdout/stderr. In the long run, that will not be enough. There were already requests for access to the system time, and it seems reasonable to ask for file system or network access. Getting proper randomness into the program might also be interesting.
This issue is basically the current status of https://github.com/rust-lang/miri/issues/653, now that we [soon will] have a deterministically seeded RNG available in Miri all the time -- so much of the discussion there no longer applies.
It probably makes sense to allow external communication per default, just to get more programs running. But isolation is also a useful property, so I propose a -Zmiri-isolate flag to "turn off" external communication.
Assuming that's not very controversial, we have to decide what to do with the two existing systems we have in place that try hard to avoid allowing external communication:

Environment variables. Should we just forward setting/getting env vars to the outside OS per default, and only keep using our current env var emulation layer when -Zmiri-isolate is set? That would resolve https://github.com/rust-lang/miri/issues/670.
getrandom. Should we just ask the OS for "real" randomness per default, and only ask our internal RNG when -Zmiri-isolate is set?

Current status

[x] Add off-by-default "external communication" mode. Tentative name of the flag: ´-Zmiri-enable-communication.
[x] Allow interpreted program to access host env vars if external communication is enabled.
[x] Allow interpreted program to access host randomness if external communication is enabled.
[x] Come up with a less clumsy name for the flag that enables communication. Maybe -Zmiri-disable-isolation? Is that really less clumsy? -Zmiri-no-isolate?
[ ] Turn external communication on by default?

I started working on the environmental variables part of this issue. I added a new -Zmiri-enable-communication flag for this and I'm replacing the get/set/unset env shims by Evaluator methods. However, when communication is enabled, how can I transform the resulting string from std::env::var to a Pointer<Tag>? should I allocate the value somewhere inside memory?

I'm updating the get/set/unset env shims.

I suggest introducing a new module, shims/env.rs, and moving all the env-related logic there.

Will do, I haven't decided what's the best way of handle allocations for the host environment variables. Currently I am creating temporary allocations for the variables and then deallocating them after writing.

Can't you invoke the existing setenv logic?

What do you mean?

There's already code that does all the work of "given a C string, create an allocation for it". You should be able to re-use that. It's in the setenv shim.
The new thing here is that instead of doing this on setenv, it'll have to happen on getenv. So each getenv creates a new allocation that is then leaked. We should probably find a way to collect those, but for a first implementation that would be enough.

Oh ok yeah, That is what I am doing right now. I am deallocating each temporary allocation after using it.

Ah, I thought we'd just iterate over the env at startup and clone it into the miri env.

Well that might be easier and it would work unles someone decides to modify an env var while miri is running or something.

Ah, I thought we'd just iterate over the env at startup and clone it into the miri env.

Ah. That would fail to reflect later changes from "the outside" -- which is possible in principle. But I would be fine with this strategy as well.

Uh... I didn't know you could change env vars of a program while it was running

Hm, maybe you're not supposed to. But on Linux I suppose you could try to write to /proc/$PID/env...

Apparently you can do it using gdb, but that seems to be an unlikely scenario.

Agreed. Scanning the host env on initialization is fine. That's great as it makes the "communicate" and "dont communicate" cases much more similar: the only difference is that one starts with an empty env, the other with the real one.

Ok I will start working on this

Status update: accessing host env vars is now possible with -Zmiri-enable-communication.
The name for that flag is preliminary, as is the fact that the current default for communication is off.
Also, IMO that flag should also make getrandom calls from the program use host randomness. Any objections to that?

Having a bunch of env vars given at startup feel very different to arbitrary communication at runtime, since everything is still deterministic given the same env vars

As far as I am concerned, the purpose of this "external communication" flag is to give up on determinism.
If we want to allow more things than "total isolation" while still being deterministic, I am open for that, but that's a gray area -- you could argue that allowing file access is also still deterministic if all accessed files are the same.

I think one could exploit something like the order of variables in https://github.com/rust-lang/miri/issues/756 to do stuff in a non deterministic way.

True. We can always add that back later if it seem desirable.
So..

Any objections to that?

Nope, bring on the cosmic rays

@christianpoveda do you want to try implementing that?

I'm working on it.

Closing this: we now have working external communication, and when/if we want to enable that by default, that should be a new discussion IMO. For now, off-by-default seems to still work fine.


Google Realtime OAuth token sometimes expires

I'm not sure what causes it, but sometimes it happens. We should read the docs and figure out what causes it to expire.


Question about worker lifetime

I'm evaluating Cloudflare Workers. I previously thought each HTTP request spawn 1 separate worker.
However this blog post implies that multiple clients can connect to an existing worker. But does the worker die after 30 seconds, or live as long as new client keep connecting?

https://developers.cloudflare.com/workers/learning/using-durable-objects/


Ubuntu Gnome Notifications

Previous versions of the messenger had message notifications integrated into Ubuntu Gnome 3.20 (looked like all system notifications), while the new version shows notifications as if I were using fb.com on Chrome browser. They don't look as good and breaks overall vibe.

https://github.com/nwjs/nw.js/issues/4560#issuecomment-240387166


Issue : Markers always show infowindow

I'm submitting a ...  (check one with "x")
[ ] question
[X ] any problem or bug report
[ ] feature request
If you choose 'problem or bug report', please select OS:  (check one with "x")
[ X] Android
[X ] iOS

The default infowindow always shows when clicking a Marker, even when setting title and snippet to "", and clickable to false. i would like to not be able to click to SOME markers at all, they are there to showcase non-detailed data.

Tested code so far:
var image = {           url: "assets/img/ic.png",           clickable: false,           size: {             width: 32,             height: 32           }         }         const markerOption: MarkerOptions = {           title: "",           icon: image,           animation: 'DROP',           zIndex: 99,           position: {             lat: success.coords.latitude,             lng: success.coords.longitude           },           clickable: false         }

https://github.com/mapsplugin/cordova-plugin-googlemaps/commit/5f94a098488fcadea828e14f8ad01d06728017a6?diff=unified
Browsing the commits, founds this could solve it by checking if both are Null to not show the infow indow, but there should really be a "do not show" feature, a boolean that triggers on that same function. "showInfoWindow" instead of clickable, maybe, to still let stuff happen on click, just not, native infowindow stuff.

Do not set title and snippet properties


Select field is not working in Expanded sections

When a select field is added to an Expanded section, HTML select is displayed instead of select2 and that too doesn't work.
It works when section type (expanded) is removed.
Version: Latest dev branch.

Thank you :)

Replicated in master and develop. Typography controls also don't work in expanded sections.

Hello and thank you for reporting this issue.
We are closing most open GitHub issues with the release of Kirki 4 to start fresh with this major release.
If you are still running into issues after you have tested your theme with Kirki 4, please let us know so we can reopen the issue.
Please note that Kirki 3 is no longer actively supported. Moving forward, we will only provide support the very latest version of Kirki.
Thank you for your understanding.
Best,
David

The issue persists with v4. Please reopen this one.


CAMEL-11019- message history formatting via globaloptions

i tried to help about the suggestion in the issue.

@onders86 thanks for your contribution 👍 the changes have been squashed and merged into master. I've changed the title of the issue and the commit message to better reflect the change. You can close the pull request, thanks 🥇

thanks.closing


📝 Document development API keys

Make it clear (in the code) that these API keys are for development and not for the real app.

Cheers - I have it in the README so definitely makes sense to have it commented as well 🙌
Don't forget to add yourself as a contributor to the README! :)


Why Does HookEvent.HTTPRequest Not Have Body?

Why Does HookEvent.HTTPRequest Not Have Body? Is this intentional?
As an alternative, can I put whatever I want into the Metadata header? For example a base64 encoded json as I cannot place it into the body as I understand it. Does TusD functionally ignore the Metadata and pass it along?

Thank you.

The request body is used by the tus protocol to transfer the upload data in PATCH and sometimes also the POST requests. Any value is usually consumed by tusd on its own. That is why (our) tus clients do not allow modifying the body and why (our) tus servers do not provide access to them.
Additional data can either be added as meta data or additional headers to the request. Meta data will be parsed by tusd. The parsed meta data and request headers are provided to the hooks.


yabridge: 5.0.5 -> 5.1.0

Description of changes
https://github.com/robbert-vdh/yabridge/blob/5.1.0/CHANGELOG.md
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 277120 run on x86_64-linux 1

2 packages built:

yabridge
yabridgectl


self-heal holdover bug

when some abilities are used that self-heal the player, there is a small amount of time the heal passive can be active b4 the first damage tick. this can easily be seen with heal pad and vape.

:tada: This issue has been resolved in version 1.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Get-DbaDiskSpace - Fix #190, added bytes as unit, filesystem, fragmentation and -Detailed

Added bytes as a unit
Removed thousand separator
Added Filesystem and fragmentation info
New -Detailed switch which also include previously left out volumes like \\?\*

Ahh, these fixes and additions were so necessary. And now I know that "{0:n2}" -f  acts like Format-Table. Thanks, Jakob! These changes look great.

JUbiiiii!!!!


Use microtasks for debounce scheduling if available, resolves #846.

Copying across @zzarcon's concern:

This approach seems quite good to me, the only thing Im wondering its if we should disconnect the MutationObserver observer when the component gets disconnected?

Not sure if right now we will leak something, or maybe we just don't need to care about it.

Will MutationObserver leak here? I don't remember if JS garbage collection is tracing or reference counting based? Either way I'm probably happy to tackle it in a separate issue, there's a high degree of urgency for this specific issue.

@bradleyayers fine for me to do it in another pr if necessary, I'd like to run some benchmarks on it to see if leaks memory, will share the results afterwards.


Confused with versioning

Dear all,
i‘m confused with versioning (see screenshot)

According to which scheme is the version number assigned?
What is the current (beta) version?
TIA and best regards!
Gerd

Beta 18.5 is the latest. 18a and 18b were not released but used for testing with specific users. 18c and 18d was released. I went to a decimal for releases when I got it working work HACS.


developper => developer

Typo fix.

This change is

Hi @redhotpenguin. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

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

/lgtm

/ok-to-test
/release-note-none
/lgtm

tickling the bots
ps: needed   ` release-note NONE ``` which I added, maybe mixer doesn't have the PR template?


PDTable: TrClass lambda

It should be possible to determine a PDTable's TrClass using a strongly-typed lambda
e.g.

...

David, in the example you give what type is the X? For each row we could use the TItem as there is a instance at that point, however  when the table is rendered we have no instance other than the PDTable itself?


Widget CheckBox default color

Any method to modify default checkbox color?
I am using checkbox on dark mode.
Black color will be unfriendly to my user.

Use case
If you are using dark mode, check box should support modify default color black to any color you want to use.
Proposal
CheckBox(
color: Colors.white, //// modify default color if user not selected
);

On dark schemes (if brightness is set to Brightness.dark) Flutter automatically uses light gray. If you want to change this color, override unselectedWidgetColor in your ThemeData.

I guess the CheckBox color is secondary color according to Materil specs.
So to change the CheckBox color change it in the your Theme or use widget scope theming:
         Theme(
              data: ThemeData(accentColor: Colors.red),
              child: Checkbox(
                value: true,
                onChanged: _onChanged,
              ),
            ),

@sma @dblokhin Thank you very much, I will close this issue.


White2021

Pull Request
This PR is for a

[x] New Publication(s)
[ ] Correction

For the following list(s):

[ ] ancientmetagenome-environmental (README)
[ ] ancientmetagenome-hostassociated (README)
[x] ancientsinglegenome-hostassociated (README)

New Publication
Publication Information
This pull request is to add samples from the following publication(s):
This is to close #740
Checklist

[x] Publication is published (preprints currently not accepted)?
[x] Checked the publication is not already in the database?
[x] Checked samples in this publication are not previously published data (newly re-sequenced metagenomes are OK!)?
[x] Samples are shotgun metagenomes (hostassociated-singlegenome may also contain whole-genome enriched data)?
[x] Checked the list follows conventions as described in the corresponding sample type's README file (e.g. using ERS/SRS accession codes for ENA/SRA)?
[x] Changelog is updated to include the publication under 'Added'?
[ ] Pull request has passed validation checks (see automated comment from github-bot)?
[ ] Review requested from @SPAAM-community/ancientmetagenomedir?
[x] (If applicable) Made a separate PR to add new categories to controlled lists (stored under /assets/enums, e.g. material or archive)? If so the corresponding PR is here:

Added the White samples to singlegenome and removed from metagenome. There are several entries missing in the libraries which were not included in the ENA table

There are several entries missing in the libraries which were not included in the ENA table

What do you mean here? As in libraries in the paper but the data hasn't been uploaded?

The ENA table didn't contain all the information, e.g., download sizes
errors for the samples are due to enums, some duplication and also library_polymerase is not entered correctly
working on it

Correction for my previous comment - library names are available on the ENA table, but they are the same as the sample names. There was a procedure for this - I remember taking a part of one the links and using that as a library name, but I cannot recall which link and which part.

The download links I have added are not correct. The correct ones are not available at https://www.ebi.ac.uk/ena/browser/view/PRJEB49091


Refactored dedupeHooks

Using the new Set API makes it faster and more readable.

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style update
[X] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[X] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[X] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[X] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

Thank you but when changing code for performance reasons, please provide with benchmarks that backup your case. Also keep in mind the code must be able to run on IE9, new Set(iterable) does not work on IE


SSL support for the mqtt socket.

Codecov Report

:exclamation: No coverage uploaded for pull request base (ssl_mqtt@e6a60b8). Click here to learn what that means.
The diff coverage is 100%.

@@             Coverage Diff             @@
##             ssl_mqtt    #6276   +/-   ##
===========================================
  Coverage            ?   83.28%
  Complexity          ?    12820
===========================================
  Files               ?     1478
  Lines               ?    48441
  Branches            ?     5921
===========================================
  Hits                ?    40342
  Misses              ?     5344
  Partials            ?     2755

Impacted Files
Coverage Δ
Complexity Δ

...va/io/crate/mqtt/operations/MqttIngestService.java
84.78% <ø> (ø)
15 <0> (?)

...io/crate/mqtt/netty/Netty4MqttServerTransport.java
80.5% <100%> (ø)
15 <0> (?)

...java/io/crate/protocols/ssl/SslConfigSettings.java
95.83% <100%> (ø)
14 <7> (?)

sql/src/main/java/io/crate/plugin/SQLPlugin.java
100% <100%> (ø)
19 <0> (?)

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 e6a60b8...db2d4c8. Read the comment docs.


runtime: loop over allp causes a nil pointer dereference crash

See https://build.golang.org/log/ff2e3f95d35cbaec0291bf387a6409c1f71e417f
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8078907]

runtime stack:
runtime.throw(0x8150279, 0x2a)
	/tmp/workdir/go/src/runtime/panic.go:616 +0x6b
runtime.sigpanic()
	/tmp/workdir/go/src/runtime/signal_unix.go:366 +0x230
runtime.runqempty(0x0, 0xffffff01)
	/tmp/workdir/go/src/runtime/proc.go:4638 +0x17
runtime.findrunnable(0x383e6000, 0x0)
	/tmp/workdir/go/src/runtime/proc.go:2342 +0x18d
runtime.schedule()
	/tmp/workdir/go/src/runtime/proc.go:2530 +0x10b
runtime.mstart1(0x0)
	/tmp/workdir/go/src/runtime/proc.go:1232 +0x7a
runtime.mstart()
	/tmp/workdir/go/src/runtime/proc.go:1188 +0x59

Seems like there is an exception to the assumption that "none of allp[i] are nil or in state _Pdead." in http://golang.org/cl/45575.
Hej Hej, @aclements

Most and perhaps all the recent occurrences of this problem seem to be on mipsle.
2018-04-29T03:33:09-13cd006/linux-mipsle
2018-05-07T13:31:15-7b7a854/linux-mipsle
2018-05-07T15:12:35-9d72e8c/linux-mipsle
2018-05-18T13:54:12-8a16c71/linux-mipsle
2018-05-18T16:01:32-db37e16/linux-mipsle
2018-05-29T17:45:36-db9341a/linux-mipsle
2018-06-05T20:22:07-9be4f31/linux-mipsle
2018-06-12T15:03:46-43a3cdf/linux-mipsle
2018-06-13T14:55:01-a2f72cc/linux-mipsle
2018-06-25T18:59:39-50bd1c4/linux-mipsle
2018-06-26T14:39:02-5fad090/linux-mipsle
2018-06-27T22:04:08-83092a4/linux-mipsle
2018-06-28T23:01:22-b410ce7/linux-mipsle
2018-06-29T21:45:46-cdce824/linux-mipsle

Several of these seem to be nil pointer dereferences:
##### ../misc/cgo/test
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x80 addr=0x0 pc=0x43b498]

runtime stack:
runtime.throw(0x9301d0, 0x2a)
	/data/mipsle/go/src/runtime/panic.go:608 +0x58
runtime.sigpanic()
	/data/mipsle/go/src/runtime/signal_unix.go:374 +0x3b0
runtime.findrunnable(0x1022000, 0x0)
	/data/mipsle/go/src/runtime/proc.go:2349 +0xbc
runtime.schedule()
	/data/mipsle/go/src/runtime/proc.go:2612 +0x154
runtime.park_m(0x1192380)
	/data/mipsle/go/src/runtime/proc.go:2675 +0xb0

proc.go:2349 is
if gp := runqsteal(_p_, allp[enum.position()], stealRunNextG); gp != nil {

It's hard to see a nil dereference there.  runqsteal is not being inlined.

I grep'd over the logs since June 29th, and I couldn't find any new instances of this bug. That is, specifically nil pointer dereferences in findrunnable that happen at the same line (just looked at it myself to check). There was one that looked fishy from plan9-arm, but the dereference was cgo_yield and so seemed unrelated.
I'll bisect to try to figure out what commit "fixed" it for linux-mipsle.
With that said though, should this still be considered a release blocker?

OK! I just took a second, slow look over the logs and I'm pretty confident in my assessment.
I'll close this bug off.


Shorthand for referencing enum values if enum type can be derived from the context

Having to write out the enum type name when accessing enum values is verbose, whereas the type name can often be derived from the context. For example, consider the following condition.
previousWorkflowStep -> action = ActionEnum -> New

Since the left-hand side of this equality expression is of type ActionEnum, we know that the right hand side must be an ActionEnum value as well, so it would be more concise if we could shorten it as
previousWorkflowStep -> action = New

Other examples where the enum type could be derived instead of stated include:

When assigning the output of a function if the output is an enum type.
As an argument to a function which expects an enum type as an input.

Implementation consequences
The Rune language will provide a service which computes the expected type of an expression, which will be used in the scope provider to automatically make enum values available to reference. Note that the RosettaEnumValue will now extend RosettaSymbol, since it can be used in an expression as a symbol directly. As a consequence, code generators supporting generation of expressions (Java, Python) should add support for this case when generating a RosettaSymbolReference.

It would be helpful if in the Rosetta/Rune development environment, it would show (e.g. as a popup/tooltip) the enumeration type corresponding to the enumeration value.  For example, in the given example:
previousWorkflowStep -> action = New
if a user moused over the word "New" in the editor, a tooltip might show "ActionEnum" or "Enumeration:  ActionEnum".

Suggestion for including the enum name on hover is included in the PR.


'mongodb' client throws timeout exceptions with scan workloads.

It appears that the 'mongodb' driver is not properly handling scans and is not cleaning the cursors on the server. This manifests as requests throwing exceptions when they cannot get a connection from  the connection pool.
This issue has been reported to MongoDB as SERVER-19273.
As a workaround the 'mongodb-async' driver can be used.

Looks like the 3.0.3-SNAPSHOT version of the driver fixes the issue. I will update the pom once it is officially released.

Jeff Yemin from MongoDB has found the issue: See https://jira.mongodb.org/browse/JAVA-1882.


Separate parser as a dedicated crate

Currently Vue SFC parser is included in the "vue-compiler-core" crate. Would you like you separate and publish the parser as a crate? I hope it can only parser <template> section, while other sections like <script> and <style> are kept as source text, leaving them to user to decide how to process them.

Hi, I think vue-compiler-core should satisfy your need? You can use tokenizer/parser to produce AST.

It should satisfy, but actually I don't need codegen and other something else. Dropping those parts I don't need can reduce target directory size and compilation time. (rustc is slow, you know)

You can try use the whole core crate and benchmarking how much it takes to compile. It is pretty fast and of minimal footprint.

Maybe off-topic: Will there be an AST explorer for the parser?

@g-plane vue compiler Rust currently has several dump options. https://github.com/HerringtonDarkholme/vue-compiler/blob/main/crates/cli/src/main.rs#L26-L46
Playground is not yet done now.

I wish the AST types can derive from the Debug trait.


AppHost terminates during startup missing kubeconfig

I've an aspire solution on Preview 4 which was working good, and suddenly Today AppHost started to fail to start :-/
I've experienced 2 possible outcomes:

AppHost fails to start and file is not there
AppHost complains that file is not there, but then it is created and starts, but still inoperable, as dashboard runs but there are no resources in the dashboard.

It waits long before dumping the stacktrace and failing.
I've tried the typical steps of removing aspire workload, reinstalled, etc.
I'm on MacOS, .NET Runtime 8.0.3 SDK 8.0.200.
Here is the stacktrace from AppHost:
AppHost
info: Aspire.Hosting.DistributedApplication[0]
      Aspire version: 8.0.0-preview.4.24156.9+692dc41a65da572a7df25d53a9f2880afe59fdd8
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application starting.
info: Aspire.Hosting.DistributedApplication[0]
      Application host directory is: /Users/attila/workspaces/rendering/Posta.Creator/Posta.Creator.AppHost
fail: Aspire.Hosting.Dashboard.DcpDataSource[0]
      Watch task over kubernetes Endpoint resources terminated
      k8s.Exceptions.KubeConfigException: kubeconfig file not found at /var/folders/l1/s577klg931l7lz01x503kvgw0000gn/T/aspire.PGyJWz/kubeconfig
         at k8s.KubernetesClientConfiguration.LoadKubeConfigAsync(FileInfo kubeconfig, Boolean useRelativePaths)
         at k8s.KubernetesClientConfiguration.BuildConfigFromConfigFileAsync(FileInfo kubeconfig, String currentContext, String masterUrl, Boolean useRelativePaths)
         at k8s.KubernetesClientConfiguration.BuildConfigFromConfigFile(FileInfo kubeconfig, String currentContext, String masterUrl, Boolean useRelativePaths)
         at k8s.KubernetesClientConfiguration.BuildConfigFromConfigFile(String kubeconfigPath, String currentContext, String masterUrl, Boolean useRelativePaths)
         at Aspire.Hosting.Dcp.KubernetesService.EnsureKubernetes() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 234
         at Aspire.Hosting.Dcp.KubernetesService.ExecuteWithRetry[TResult](DcpApiOperationType operationType, String resourceType, Func`2 operation, CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 200
         at Aspire.Hosting.Dcp.KubernetesService.ExecuteWithRetry[TResult](DcpApiOperationType operationType, String resourceType, Func`2 operation, CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 208
         at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 138
         at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
         at Aspire.Hosting.Dashboard.DcpDataSource.<>c__DisplayClass9_1.<<-ctor>g__WatchKubernetesResource|1>d`1.MoveNext() in /_/src/Aspire.Hosting/Dashboard/DcpDataSource.cs:line 70
      --- End of stack trace from previous location ---
         at Aspire.Hosting.Dashboard.DcpDataSource.<>c__DisplayClass9_1.<<-ctor>g__WatchKubernetesResource|1>d`1.MoveNext() in /_/src/Aspire.Hosting/Dashboard/DcpDataSource.cs:line 70
fail: Aspire.Hosting.Dashboard.DcpDataSource[0]
      Watch task over kubernetes Executable resources terminated
      k8s.Exceptions.KubeConfigException: kubeconfig file not found at /var/folders/l1/s577klg931l7lz01x503kvgw0000gn/T/aspire.PGyJWz/kubeconfig
         at k8s.KubernetesClientConfiguration.LoadKubeConfigAsync(FileInfo kubeconfig, Boolean useRelativePaths)
         at k8s.KubernetesClientConfiguration.BuildConfigFromConfigFileAsync(FileInfo kubeconfig, String currentContext, String masterUrl, Boolean useRelativePaths)
         at k8s.KubernetesClientConfiguration.BuildConfigFromConfigFile(FileInfo kubeconfig, String currentContext, String masterUrl, Boolean useRelativePaths)
         at k8s.KubernetesClientConfiguration.BuildConfigFromConfigFile(String kubeconfigPath, String currentContext, String masterUrl, Boolean useRelativePaths)
         at Aspire.Hosting.Dcp.KubernetesService.EnsureKubernetes() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 234
         at Aspire.Hosting.Dcp.KubernetesService.ExecuteWithRetry[TResult](DcpApiOperationType operationType, String resourceType, Func`2 operation, CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 200
         at Aspire.Hosting.Dcp.KubernetesService.ExecuteWithRetry[TResult](DcpApiOperationType operationType, String resourceType, Func`2 operation, CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 208
         at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 138
         at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
         at Aspire.Hosting.Dashboard.DcpDataSource.<>c__DisplayClass9_1.<<-ctor>g__WatchKubernetesResource|1>d`1.MoveNext() in /_/src/Aspire.Hosting/Dashboard/DcpDataSource.cs:line 70
      --- End of stack trace from previous location ---
         at Aspire.Hosting.Dashboard.DcpDataSource.<>c__DisplayClass9_1.<<-ctor>g__WatchKubernetesResource|1>d`1.MoveNext() in /_/src/Aspire.Hosting/Dashboard/DcpDataSource.cs:line 70
fail: Aspire.Hosting.Dashboard.DcpDataSource[0]
      Watch task over kubernetes Service resources terminated
      k8s.Exceptions.KubeConfigException: kubeconfig file not found at /var/folders/l1/s577klg931l7lz01x503kvgw0000gn/T/aspire.PGyJWz/kubeconfig
         at k8s.KubernetesClientConfiguration.LoadKubeConfigAsync(FileInfo kubeconfig, Boolean useRelativePaths)
         at k8s.KubernetesClientConfiguration.BuildConfigFromConfigFileAsync(FileInfo kubeconfig, String currentContext, String masterUrl, Boolean useRelativePaths)
         at k8s.KubernetesClientConfiguration.BuildConfigFromConfigFile(FileInfo kubeconfig, String currentContext, String masterUrl, Boolean useRelativePaths)
         at k8s.KubernetesClientConfiguration.BuildConfigFromConfigFile(String kubeconfigPath, String currentContext, String masterUrl, Boolean useRelativePaths)
         at Aspire.Hosting.Dcp.KubernetesService.EnsureKubernetes() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 234
         at Aspire.Hosting.Dcp.KubernetesService.ExecuteWithRetry[TResult](DcpApiOperationType operationType, String resourceType, Func`2 operation, CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 200
         at Aspire.Hosting.Dcp.KubernetesService.ExecuteWithRetry[TResult](DcpApiOperationType operationType, String resourceType, Func`2 operation, CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 208
         at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 138
         at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
         at Aspire.Hosting.Dashboard.DcpDataSource.<>c__DisplayClass9_1.<<-ctor>g__WatchKubernetesResource|1>d`1.MoveNext() in /_/src/Aspire.Hosting/Dashboard/DcpDataSource.cs:line 70
      --- End of stack trace from previous location ---
         at Aspire.Hosting.Dashboard.DcpDataSource.<>c__DisplayClass9_1.<<-ctor>g__WatchKubernetesResource|1>d`1.MoveNext() in /_/src/Aspire.Hosting/Dashboard/DcpDataSource.cs:line 70
fail: Aspire.Hosting.Dashboard.DcpDataSource[0]
      Watch task over kubernetes Container resources terminated
      k8s.Exceptions.KubeConfigException: kubeconfig file not found at /var/folders/l1/s577klg931l7lz01x503kvgw0000gn/T/aspire.PGyJWz/kubeconfig
         at k8s.KubernetesClientConfiguration.LoadKubeConfigAsync(FileInfo kubeconfig, Boolean useRelativePaths)
         at k8s.KubernetesClientConfiguration.BuildConfigFromConfigFileAsync(FileInfo kubeconfig, String currentContext, String masterUrl, Boolean useRelativePaths)
         at k8s.KubernetesClientConfiguration.BuildConfigFromConfigFile(FileInfo kubeconfig, String currentContext, String masterUrl, Boolean useRelativePaths)
         at k8s.KubernetesClientConfiguration.BuildConfigFromConfigFile(String kubeconfigPath, String currentContext, String masterUrl, Boolean useRelativePaths)
         at Aspire.Hosting.Dcp.KubernetesService.EnsureKubernetes() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 234
         at Aspire.Hosting.Dcp.KubernetesService.ExecuteWithRetry[TResult](DcpApiOperationType operationType, String resourceType, Func`2 operation, CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 200
         at Aspire.Hosting.Dcp.KubernetesService.ExecuteWithRetry[TResult](DcpApiOperationType operationType, String resourceType, Func`2 operation, CancellationToken cancellationToken) in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 208
         at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+MoveNext() in /_/src/Aspire.Hosting/Dcp/KubernetesService.cs:line 138
         at Aspire.Hosting.Dcp.KubernetesService.WatchAsync[T](String namespaceParameter, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
         at Aspire.Hosting.Dashboard.DcpDataSource.<>c__DisplayClass9_1.<<-ctor>g__WatchKubernetesResource|1>d`1.MoveNext() in /_/src/Aspire.Hosting/Dashboard/DcpDataSource.cs:line 70
      --- End of stack trace from previous location ---
         at Aspire.Hosting.Dashboard.DcpDataSource.<>c__DisplayClass9_1.<<-ctor>g__WatchKubernetesResource|1>d`1.MoveNext() in /_/src/Aspire.Hosting/Dashboard/DcpDataSource.cs:line 70
info: Aspire.Hosting.DistributedApplication[0]
      Now listening on: http://localhost:5001
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application started. Press Ctrl+C to shut down.

This is caused by the DCP exceeding the timeout that was set while waiting for the kubeconf file to be written. In preview 4 this was 5s but has been increased in preview 5.
Without upgrading to preview 5 I wasn't able to work around this problem.
@karolz-ms

@mitchdenny this should be fixed in p5 right?

Is there any other workaround for this? I'm getting it 100% of the time for my WSL2 instance making it unusable :/

Yes, this should be fixed in P5. There is a race condition in P4. Unfortunately I don't think there is a workaround.
What is curious is that you are seeing two possible outcomes. I'm speculating but it could be the previous instance of DCP has finished starting, writes its kubeconfig file, the AppHost reads it and connects but then it self terminates because it finally figures out the process it launched from is gone and self terminates.
That said there are few things in the code that should stop that from happening (including the Kubeconfig file being written to a random directory). Would be very interested to know if you can repro this on P5.


edk2: 202011 -> 202102

Motivation for this change
Fixes: CVE-2021-28210, CVE-2021-28211
https://github.com/tianocore/edk2/pull/1137
https://github.com/tianocore/edk2/pull/1138
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
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 nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] 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.

@GrahamcOfBorg test boot

@ofborg eval


matrix-synapse-unwrapped: 1.110.0 -> 1.111.0

Description of changes
https://github.com/element-hq/synapse/releases/tag/v1.111.0
This also reverts d2e41f147f6a4b4930393077822a6738a80ac283 as it is no longer necessary after https://github.com/element-hq/synapse/pull/17353.
This also adds the python-multipart dependency that was added in https://github.com/element-hq/synapse/pull/17365
Signed-off-by: Sumner Evans<EMAIL_ADDRESS>
Things done
Running on my homeserver (with workers) and it's working fine.

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Sorry for hijacking this, but how can I test this PR?
I've tried those options, but it apparently doesn't work.
nixpkgs-327806.url = "github:NixOS/nixpkgs/pull/327806/head";

services.matrix-synapse.package = inputs.nixpkgs-327806.legacyPackages.${pkgs.stdenv.hostPlatform.system}.matrix-synapse;

[ERROR]   stderr)        error: The option `services.matrix-synapse.package' is read-only, but it's set multiple times. Definition values:
[ERROR]   stderr)        - In `/nix/store/94dnl1nka63a0d1kp99523qjcjl4wv9p-source/hosts/blacksteel': <derivation matrix-synapse-wrapped-1.111.0>
[ERROR]   stderr)        - In `/nix/store/77ijmdbv96rhqj2sr7aq0i5q8p16ii0d-source/nixos/modules/services/matrix/synapse.nix': <derivation matrix-synapse-wrapped-1.110.0>

@Guanran928 citing the option description from search.nixos.org:

However, this means that this option is supposed to be only declared by the services.matrix-synapse module itself and is thus read-only. In order to modify matrix-synapse itself, use an overlay to override pkgs.matrix-synapse-unwrapped.

Depending on your flake, this will need to be modified a bit:
overlays = [
  (final: prev: {
     matrix-synapse = inputs.nixpkgs-327806.legacyPackages.${pkgs.stdenv.hostPlatform.system}.matrix-synapse;
   })
];

Will test it today.


How should I normalize the framerate?

Currently I am normalizing the input video frame rate by sampling the nearest frame of the desired fps. Specifically, using fps=fps=25:round=near filter of ffmpeg.
However, I'm not sure whether this is the right way. With this way, the output TVL1 optical flow flickers since the step size for frame sampling changes.
For example, sampling a 20fps video by 25fps may result completely blank flow image for some timestep, since the kind of sampling makes redundant frames for the sampled(25fps) video.
So could you let me know the way you handled the different frame rate?
Is it just nearest sampling? or have you matched the framerate by changing the total video length?

Thank you!


chore(main): release 1.9.0

:robot: I have created a release beep boop
1.9.0 (2024-08-13)
Features

handling error in signup form (4aa85f0)
signup form i18n (359280f)
signup form validation (a2d5671)

Bug Fixes

header list item style (84f49d1)
release ci (ed2c89e)
remove signupform from home page (a16257c)

Performance Improvements

remove signup gorm placeholder from footer (be2b7ff)
signup form (3292411)
signup form 18n (494ddea)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.9.0
:sunflower:


CI/CD: in the Dockerfile-ubuntu18.04, use soft link instead of installing  libsgx-headers to compile rune

/usr/include/sgx_attributes.h is a file of the libsgx-headers deb since
sgxsdk 2.12. However, Dockerfile-ubuntu18.04 based on
occlum/occlum:$OCCLUM_VERSION-ubuntu18.04 docker image, and the occlum
ubuntu 18.04 docker image based on a lower version sgxsdk 2.11 which
doesn't have a libsgx-headers deb. So we use the soft link the fix the
error of compiling rune.
Signed-off-by: Yilin Li<EMAIL_ADDRESS>

I am testing it before checking in. @jiazhang0 @haosanzi


Add command to enable TRIM on third-party SSDs

More info

Some SSDs (Samsung) are known to have broken trim functionality. I would leave this commented out.
http://forums.macrumors.com/threads/trim-on-samsung-ssd-might-be-broken.1893062/

Yeah @Tatsh  but I've commented this line because Apple OEM SSDs already comes with TRIM enabled.

Closing this as I don’t personally have a need for it and IIRC it’s not possible to swap the SSD on recent MacBooks.


feat: RHTAPBUGS-804: Remove QD checks from e2e tests. We are already grooming QD in RHTAP

Description
TSIA.
Issue ticket number and link
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist:

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
[ ] I have updated labels (if needed)

/retest

this PR also  skip pac tests: https://issues.redhat.com/browse/RHTAPBUGS-950

/test redhat-appstudio-e2e

/lgtm


contributing

Hey Eric,
I watched the Q&A with Josh and I was already thinking of volunteering when you mentioned having more contributors, helpers, etc.
I figured I'd create a place to talk about that, and I'd love to be able to help/give back/learn more about the internals of the package(s).
Let me know what, if anything, I can do... and hopefully others looking to contribute will chime in as well

This is something I've been thinking about as well, seeing the 200 odd open issues on the repo, but being pretty new to meteor and github, I'll be limited to pointing newbies in the right direction.
I'm watching the repo now and will try to answer questions here and on the forums when I can.
Keep up the great work!

Maybe a good area to contribute to would be in the tests.  This would help us get more familiar with the internals, and I'm honestly always worried contributing code to another persons repository if it doesn't have solid test coverage.

I would agree on the tests. Only a few unit tests are present right now. I don't know if @aldeed wants to bring in some sort of end-to-end testing like Cucumber via Velocity (maybe based on the demo), but we definitely need something.
The reactivity and complexity of AutoForm can also be very difficult to understand at first. I was thinking it might be helpful to have some sort of flow chart/diagram that illustrates the package flow. Even though I've done a few PR's already, I still get very confused when trying to debug the reactivity of the components (especially afArrayField).

I like the idea of using the direct package testing that is available via sanjo:jasmine at the moment.
https://velocity.readme.io/v1.0/docs/jasmine-testing-a-meteor-package

Can we use webdriverio with jasmine? I've only been using it with cucumber
via Velocity so far.
Think you could throw together an example with autoform to get us started?
On Aug 15, 2015 12:59 PM, "jimmiebtlr"<EMAIL_ADDRESS>wrote:

I like the idea of using the direct package testing that is available via
sanjo:jasmine at the moment.
https://velocity.readme.io/v1.0/docs/jasmine-testing-a-meteor-package
—
Reply to this email directly or view it on GitHub
https://github.com/aldeed/meteor-autoform/issues/1107#issuecomment-131438584
.

Started on an example, probably shouldn't have picked a known bug though.  Result tests don't pass, but it will reactively run jasmine tests.
https://github.com/aldeed/meteor-autoform/compare/devel...jimmiebtlr:devel
Let me know what you think.


Implement device Thermostat

I'm wondering the status of this. The blog post yesterday mentioned "Today Home Assistant can control the basic operation of most Matter devices." does that include basic control of Thermostat?

No. Are there any Matter Thermostat devices available?

Since now we have bridge support, there is Aqara Radiator Thermostat E1. For now it only show battery state in HA.

@patrikulus would you be able to share a diagnostics dump with us? It will help with implementation.

matter-2bd17babfe20dce8992b436a555abc6b-Aqara Smart Radiator Thermostat E1-6e1532447c5d9995a6c15630881a7a58.json.txt
I've removed the custom extensions content and redacted the long base64(?) strings, I hope it's safe to share all the other info :)

There is a Linux thermostat example in connectedhomeip repo

Yes we know. Support for thermostat devices will be added in the core integration.