wireshark capature find "SPDY: Inflation failed. Aborting. " why ?

like
353: Inflation failed. Aborting.
Frame 655: 648 bytes on wire (5184 bits), 648 bytes captured (5184 bits) on interface 0
Raw packet data
Internet Protocol Version 4, Src: <IP_ADDRESS>, Dst: <IP_ADDRESS>
Transmission Control Protocol, Src Port: 7777 (7777), Dst Port: 60292 (60292), Seq: 147267, Ack: 317, Len: 608
SPDY: SYN_REPLY, Stream: 1147 [Error: Header decompression failed]
1... .... .... .... = Control frame: Yes
.000 0000 0000 0011 = Version: 3
Type: SYN_REPLY (2)
Flags: 0x00
Length: 600
.000 0000 0000 0000 0000 0100 0111 1011 = Stream ID: 1147
Header block: 004a02b5fd0000000f000000083a76657273696f6e000000...
[Expert Info (Error/Undecoded): Inflation failed. Aborting.]
[Inflation failed. Aborting.]
[Severity level: Error]
[Group: Undecoded]

maybe it is the bug of wireshark
http://www.jianshu.com/p/afcf3966ffb8


Uninstalling on Windows does not stop the service

and does not delete the application file itself

@pomazanbohdan Thanks for reporting the issue.
I've added the stop command as part of the uninstall process.


[data-export] Add an option to the localStorage/options to set the default time zone to show the date in when exporting date/time fields

When exporting data along with a date/time field, the rows show time in UTC by default.
Add an option to use the PCs current time zone to show these datetime field values.
PS. I would like to work on implementing this feature.

@tprouvot (not op) while that looks promising, it only supports date functions. Being able to have the time converted to the desired timezone on the data exporter page would be very useful for when I am in an incident call and screensharing. I could adjust the time to reflect the user's local time to make the times more meaningful for the group.

Will be added to 1.26 and on the beta soon


Matched size of "Input" & "Output" at bottom to others

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Congrats @adambrikman  on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


BinaryClassifierOutputTarget Error

Hi, thank you for this repository!
I am trying to create some saliency maps on a Bayesian CNN, which is a regression model, but I am getting an error when I try to define the target using BinaryClassifierOutputTarget, which is the class I believe you constructed for regression problems. Here is my code and the resulting error:

The model layer that I am trying to access has the following structure:

What exactly is going wrong? The code runs fine when I specify targets = None but I am not sure why.

It looks like the spatial output shape is not batch x 1, but there is an extra dimension.
Can you share the exact output shape of the model ?

Thank you for the fast reply! The output of the model is torch.Size([1, 34]). This is because the model is performing predictions for several "questions" at once.

In that case the model output is not binary, but a lot of binary outputs.
What you can do is create a custom multi-label target.
I think this should work, output_index should be in the range [0, 33] depending on the output you want to visualize.
class MultiLabelBinaryClassifierOutputTarget:
    def __init__(self, output_index, category):
        self.category = category
        self.output_index = output_index

    def __call__(self, model_output):
        if self.category == 1:
            sign = 1
        else:
            sign = -1
        return model_output[:, output_index] * sign

It worked! Thank you so much!!


[PROPOSAL] Support NessieCatalog for Iceberg in Spark integration

Purpose:
As of now, Spark-Iceberg integration for OpenLineage supports hive, hadoop and rest catalogs. Iceberg provides integration with Nessie, which is a custom REST based transactional catalog for data lakes, enabling various use cases like git-like operations on data and multi-table transactions. In the current version of OpenLineage, it is not possible to use the rest based catalog setting with the use of Nessie, and it would be great if it was supported by OpenLineage.
Project Nessie
https://projectnessie.org/
Iceberg integration with Nessie
https://iceberg.apache.org/docs/latest/nessie/
Iceberg catalog configuration
https://iceberg.apache.org/docs/latest/spark-configuration/#catalog-configuration
OpenLineage Iceberg handler
https://github.com/OpenLineage/OpenLineage/blob/main/integration/spark/spark3/src/main/java/io/openlineage/spark3/agent/lifecycle/plan/catalog/IcebergHandler.java

Hey @cnatsis , thanks for creating this issue! Would you be interested in contributing this support? We'd be happy to help out.

Hey @harels - I have started an implementation with my limited knowledge of java. As far as I understand, this should solve the integration issue with nessie.
Please guide me if additional steps are necessary to move this issue forward.

thanks for your contribution @julwin ,we'll review this. tagging @pawel-big-lebowski as well.


Make IHostedService.Start and Stop async

For future proofing.
/cc @Tratcher

@anurse here it is! LOL


Empirical distribution

This code is in draft status. I learned during testing that binWidth returns 0, even when I hard wire (in multiple locations) binWidth to return 1. @HenryGeorgist, would you take a look at the code to see where the issue might be? I've stared at this so long it turned up in my dreams.

All tests run

made revision to inline-histogram.go. I am not sure how to easily test if this code is not in master. Once in master, I can refine if needed.

I am not sure how to easily test

I think we need to talk about how to test on a branch! Your tests pass on the branch for Empirical Distribution, why not add a test for inline histogram on your branch to test the behavior you added? I might be missing something with how you have set up your testing workflow though, so lets talk about it.


Add support for Optional.isEmpty()

Fixes #557.  The changes includes some other cleanup in OptionalEmptinessHandler.

Pull Request Test Coverage Report for Build #825

0 of 0   changed or added relevant lines in 0 files are covered.
14 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 92.073%

Files with Coverage Reduction
New Missed Lines
%

../nullaway/src/main/java/com/uber/nullaway/handlers/OptionalEmptinessHandler.java
14
83.72%

Totals

Change from base Build #824:
-0.02%

Covered Lines:
4774

Relevant Lines:
5185

💛  - Coveralls

As far as I can tell code coverage reduction is a false positive just due to refactoring


feat(python): Build & publish wheels for Windows

Builds and publishes wheels for x86 and x64 based windows systems. Created #281 to track creating Windows for ARM wheels when it's better supported.

Successful run here: https://github.com/rigetti/quil-rs/actions/runs/6102526563/job/16561173399

Here it is passing with the stable toolchain: https://github.com/rigetti/quil-rs/actions/runs/6103513055/job/16564034952?pr=280


renderCustomText returns incorrect arguments

When I define renderCustomText my callback is passed (rowData, position) rather than (rowData, rowID) which means I can't get the message object inside my callback.

I made a PR to address this issue https://github.com/FaridSafi/react-native-gifted-messenger/pull/71


Update KotlinX target to support Kotlin 1.4.0

Kotlin just had a big new release, and the kotlinx.serialization framework is finally hitting 1.0. There are a couple breaking changes in the serialization boilerplate that need to be updated.
Having contributed the original KotlinX support to quicktype; it's likely that either myself or @vaudevillen will take this on. Just wanted to get an official issue filed so I don't forget :-)

@asarazan what is the status of this ? Did you start development ?

Hey @mfrtrifork I noticed that kotlinx.serialization is still technically at 1.0.0-RC2 according to https://github.com/Kotlin/kotlinx.serialization/releases
I debate whether to get started now, but it does seem like there are still some pretty breaking changes happening, even between RCs. Hopefully it's a matter of days or weeks before it stabilizes at 1.0.0 and I can get started :-)

Thanks for the response @asarazan.
I ended up using klaxon which actually suits my needs very well, but thanks anyways 👍

Makes total sense. I love kotlinx.serialization on all platforms, but its biggest value add is in multiplatform code at the moment. Klaxon is mature and a solid choice :+1:

Hey all, now that the new serialization is stable, I've submitted a PR to bring us up to spec:

1.0.0 Support: https://github.com/quicktype/quicktype/pull/1570
Additional Bugfix: https://github.com/quicktype/quicktype/pull/1572


Cluster Explorer responds with "improper constraint" on 4 digit chart version

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Create a helm chart with a 4 digit version, example <IP_ADDRESS>
Install the chart using the Rancher Cluster Explorer

Result:
Message in red "improper constraint: <IP_ADDRESS>"

Other details that may be helpful:
3 digit version numbers not affected, example 0.0.1 or 0.0.2 install without problems. Using cluster manager, it is possible to install catalog apps with 4 digit version numbers.
Environment information

Rancher version 2.5.5

Helm chart versions are defined to be, and a valid semver has exactly 3 numbers.

Helm chart versions are defined to be, and a valid semver has exactly 3 numbers.


remove icon-button, replace with d2l-table-circle-button

This is part of the process to remove icon-button. This usage can't be replaced with a subtle button.

The build failures seem like sauce flakiness, and it looks like the tests have passed on each OS/browser combo during separate runs, so I'm just going to merge.


LargeTypesReg2Mem: Remove overzealous assert

Functions with c convention can have large direct arguments that are not re-written by the LoadableByAddress pass before they get to reg2Mem optimization.
https://github.com/apple/swift/issues/71757

@swift-ci test


5.0.0

This PR releases 5.0.0.
Note that I chose a major bump because the set of changes since 4.1.0 includes the removal of an API.
Once this is approved and merged, I will tag and release the package for Rolling.

I usually clean up the changelogs to remove the "merge branch ..." and thus remove the changelog entries if they don't actually contain anything meaningful. Do you mind if I do that?

I usually clean up the changelogs to remove the "merge branch ..." and then remove the changelog entries if they don't actually contain anything meaningful. Do you mind if I do that?

Please feel free.  Thanks!

Done. I'll approve but you can take a quick look as well if you want.

Rosdistro PR is here: https://github.com/ros/rosdistro/pull/36194


Adjust batch_size to 2048 for resnet tests

Description
Please include a summary of relevant context/issue and your changes.
Fix ResNet singlehost and multihost issues (adjust batch size and fix internal runtime version configs)
Tests
ResNet v4-8 and v4-32
Instruction and/or command lines to reproduce your tests:
Run local airflow test for resnet
List links for your tests (use go/shortn-gen for any internal link):
Both ResNet single host and multihost tests are successful
screen/8euWqUbu7VeGyo8
Checklist
Before submitting this PR, please make sure (put X in square brackets):

[x] I have performed a self-review of my code.
[x] I have necessary comments in my code, particularly in hard-to-understand areas.
[x] I have run one-shot tests and provided workload links above if applicable.
[x] I have made or will make corresponding changes to the doc if needed.

LGTM


Output is not valid HTML

When I run ./gradlew htmlSanityCheck on Randoop, the HTML file titled "HTML Sanity Check Results" at ${buildDir}/reports/htmlSanityCheck/index.html contains duplicate labels.
For example, there are two indexXhtml labels.
A related problem is that the report lists two files (from different directories) as "index.html".  It's confusing which one is which, and confusing when clicking on the second one (in which htmlSanityCheck reports a problem) leads to the detailed report about the first one (which has no problem).  It might be good to differentiate files of the same name in the report.

@mernst could you please check if the problem still exists?
If yes, could you please provide a little more context, in particular a sample project (it is not clear to me what Randoop means?).

OK, I see the context in #273


Make canvas widgets width=100%

need to add a marker div or somesuch to gauge width to set on canvas

the main complexity with  this is that the icons position needs to be scaled - currently they are calculated on the basis of a fixed width/height


Fix: go grammar update (#232142)

Fixes: https://github.com/microsoft/vscode/issues/232142
The issue has been fixed upstream (worlpaker/go-syntax): https://github.com/worlpaker/go-syntax/issues/17

@microsoft-github-policy-service agree [company="Ericsson Software Technology"]


Connection not available for jdbc ResultSetMetaData

I am using the Hikari connection pool in my application. Some collections I used are loaded from the resultset metada (the column names of some tables). Here the Hikari datasource fails in releasing the connection for other services to use it.
Example:
public List<String> getColumnsOfTable(final String table) throws AppException {
		final List<String> retval = new ArrayList<String>();
		final String sql = "SELECT * FROM " + table + " WHERE 1=2";
		try (Connection con = getConnection();
				PreparedStatement stm = con.prepareStatement(sql);
				ResultSet rs = stm.executeQuery()) {
			final ResultSetMetaData rsMeta = rs.getMetaData();
			for (int i = 1; i <= rsMeta.getColumnCount(); i++) {
				retval.add(rsMeta.getColumnName(i));
			}
		} catch (final Exception e) {
			throw new AppException(e);
		}
		return retval;
	}

<dependency>
	<groupId>com.zaxxer</groupId>
	<artifactId>HikariCP</artifactId>
	<version>2.4.1</version>
</dependency>

I've tried this code with BoneCP with the same ojdbc driver and this seems to work there, so I guess it's not a driver issue.

The strange thing is that this happens when I use dataSource.setMaximumPoolSize(1); property. If I set it to 2 the sql runs OK and it runs many times not just once. Also I still see the connection as active even after one minute of idle time. dataSource.setIdleTimeout(60000);

If minimumIdle is not set, then it defaults to maximumPoolSize.   So, even if idleTimeout is set to 1 minute, as soon as the connection is closed it will be replaced in the pool.
If you want the pool to shrink, you need to set minimumIdle to something below maximumPoolSize.
I recommend turning on DEBUG level logging, so you can see exactly what is happening in the pool regarding connections.


Import Profiles

PasswordMaker Pro  for Chrome exports profiles in an XML format that should be possible to import:
https://gist.github.com/shadowhand/ef56469f158d9cfd7d1f

I support this. Passwordmaker Pro for android and desktop PM extensions for Chrome/Firefox had import/export functionality since forever.,. It is essential for sharing the profiles between devices.


improve hierarchy of objectproperties,

fix the position of “paper” and rename it to “publication”
improve the hierarchy of object properties,
remove some of the subclasses of Data that are roles
some minor things

@fabianneuhaus, @tillmo, @MGlauer are these commit to be merged into dev? Or there are some changes to be made?

I resolved the conflicts, can this be merged?

I resolved the conflicts, can this be merged?

@akleinau - I would create an issue to make sure the questions raised by @fabianneuhaus about

what "data" and "empiricaldata" is supposed to mean. What is the difference between "data" and "dataset".

Do not get forgotten. Then I would merge as you have an approval to the changes :)


Fetching Data From Server Side Basic

Hi,
I'm triying to fetch data from web service. I tried Server Side Basic steps which are in your documents.
However, I could'nt bind data from web service to datatable.
My question is that do you have detail sample of fetching data from server side operations.
Thank you in advance

Hi muzzy,
Documentations are clearly mention what are the requirements for basic server side binding for both components. However, could you please more descriptive? or drop us a sample code snippet. so then we can help to resolve your problem. 🙂
Thank You

Hi aravindakr,
For example, I'm doing a request with HttpRequestOptions  object as above.
However, I can't see header object in request when I look network on browser.
Already response comes 401 as it's supposed to be
const reqOptions: HttpRequestOptions = {
url: 'myUrl',
headers: {
Authorization: 'myAuthorization'
}
};
this.onDataBind = this.dataFetchService.onDataBind(reqOptions);

Please use the latest version of Ornamentum (3.2.1) to resolve this issue.
There was a bug in DataTableHttpResourceService options parser.

Thank you  for reply.
When can we reach latest verison.
I coudn't get with yarn and npm yet.

Just published the latest version to NPM.


Provide support for Virtual Kubelet

Provide support for Virtual Kubelet so that we can run a hybrid workload between Kubernetes & Mesh.
This would allow existing customers that are using Kubernetes to run certain workloads in Mesh such as actor-based or stateful-based services.

And it's happening already, awesome! - https://github.com/virtual-kubelet/virtual-kubelet/tree/master/providers/sfmesh

Did you try it out and have any feedback?

I did not give it a try before, sorry!

I was going to give this one a spin but it looks like there is no way to run it inside a cluster already.
Are there plans to provide more guidance on how to run this? This is a great example of the ACI team - https://github.com/virtual-kubelet/virtual-kubelet/tree/master/providers/azure#deployment-of-the-aci-provider-in-your-cluster

Bumping again - What's the status here?

Virtual Kubelet is a means to serverless, so we are very closely engaged with that team how to leverage the best of Mesh to help the project succeed.  I think the interesting part will be how much we can help within the existing definition of a Virtual Kubelet and how much will come as part of expanding the VK spec.

Actually you can just build your own provider based off of that which is already there - But there seems to be that much progress with it - https://github.com/virtual-kubelet/virtual-kubelet/tree/master/providers/sfmesh
Having 1st class citizen support would be tremendous and make it easier for folks to use Service Fabric Mesh.
For me personally, the sweet spot is to run on Kubernetes by default and run services that require statefulness, or other Mesh features, on Mesh via Virtual Kubelet.


Typo in Slim/App::respond()

I've didn't review the code, so I don't know if there's side effects:
https://github.com/slimphp/Slim/blob/3.x/Slim/App.php#L389
if (isset($contentLength)) {
is always true, because l.383:
$contentLength  = $response->getHeaderLine('Content-Length');

But getHeaderLine could return empty and the getSize could return null, so isset(null) == false
https://github.com/slimphp/Slim/blob/3.x/Slim/App.php#L383
https://github.com/slimphp/Slim/blob/3.x/Slim/App.php#L385

My bad, I didn't know that isset(null) == false

isset(null) == false may be unreadable code, why not use is_null(null)?


ES6 Module Syntax TypeErrors with minimal example

I've tried using this minimal example mentioned in the README file:
import { Router } from 'itty-router'

const router = Router()

router.get("/", (request, env, context) => {
    return new Response("Test")
})

export default {
    fetch: router.handle
}

But when running wrangler dev and hitting the / route, the console shows this error:

However, the route returns the correct result "Test".
How do I get rid of these errors?

// 404 for everything else
router.all('*', () => new Response('Not Found.', { status: 404 }))

// 404 for everything else
router.all('*', () => new Response('Not Found.', { status: 404 }))

Yeah, that request for the favicon.ico is certainly triggering that, but it appears to also be on the 200... I'll look into this one!

In addition to the catchall 404 at the end mentioned above, I often have something like this toward the top of my router worker:
const HT_NC= {status: 204};

  .get('/favicon.ico', ()=> {
    return new Response(null, HT_NC)
  })

Of course, you could also return a valid icon if you prefer.

Closing this as answered!


Provides extension point to access to individual measurements

As suggested in #595.
I’ve done this work on the 3.2-development branch as it seemed most up to date. I’d be happy to move it to 4.0-development as it is a breaking change to the public API of Metric.

MetricRegistry.addMeasurementListener() now provides an extension point which lets users add listeners which will receive individual measurements for all registered metrics.
The registry holds a single MeasurementPublisher so that each metric object does not need to hold a separate collection.
Adds the metric name and a publisher to the signature of all metric constructors to allow them to emit measurements with the associated name. I couldn’t see a nicer simple way of doing this while retaining the metrics as the source of measurements.
Nested metrics do not report their measurements since these are meta-metrics—aggregations themselves.
There is now a slightly wrinkly problem around MetricRegistry.register() since the name of the metric is supplied and present in the metric. I could add a name() accessor to Metric but this would be a further break to the interface.
Gauge measurements do not make it to the listeners. I can contribute an instance of ScheduledReporter which optionally passes (configured through the MetricRegistry) Gauge samples on a regular interval to listeners, and will contribute this approach if the maintainers are happy.

I see following problems with this PR:

All third-party implementations of histograms, timers and counters will be broken by this change.
All client code which instantiates any metric directly through constructor will be broken.
The metric name must not be a private field of metric itself, because one metric can be added to multiple registers, and same metric can has different names in different registers.

Also the problem of listeners can be easy solved by using decorator pattern, without adding unnecessary complicity to the core of library.

Thanks for the comments!
I have gone back and forth on the design of this change, trading off complexity to the design and breaking existing code and felt that actually submitting something might lead to some good suggestions.

All third-party implementations of histograms, timers and counters will be broken by this change.

I’m not sure that third party implementations histograms, timers and counters would be broken unless you’re referring to the change to MetricSupplier?

All client code which instantiates any metric directly through constructor will be broken.

What do you think about retaining the previous constructors in a deprecated form? That way no client code would break, but measurements would be lost for code which wasn’t updated.

The metric name must not be a private field of metric itself, because one metric can be added to multiple registers, and same metric can has different names in different registers.

That’s interesting—I wondered if there was an explicit design decision behind the name not existing on the metrics themselves and hadn’t considered that. Our more complicated design for this change gets around having to add the name to the metrics by holding it on an intermediate object which acts as a listener on the metric. It’s a layer of complication I wanted to avoid but could reintroduce to resolve that problem.

Also the problem of listeners can be easy solved by using decorator pattern, without adding unnecessary complicity to the core of library.

Are you suggesting decorating the registry rather than changing any classes in the library itself? Following that approach, I could not see a way to obtain measurements emitted by third party client code. I believe a change to each implementation of Metric would still be required, although I believe that can be done without breaking any public API.

Why not just make a custom reporter that pushes the metric to the listeners? Then there wont be any broken apis and no changes needed in metrics core.

Something resembling this is planned for v4. Let me take a look at it
tomorrow and I'll see if it's a good fit.
On Sat, Feb 25, 2017 at 6:11 PM Chris Lohfink<EMAIL_ADDRESS>wrote:

Why not just make a custom reporter that pushes the metric to the
listeners? Then there wont be any broken apis and no changes needed in
metrics core.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dropwizard/metrics/pull/1091#issuecomment-282519451,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHkbyHprQuERJQcFoiuX8xpvbvSzT7kks5rgLU2gaJpZM4MMJZ7
.

@mrmanc,

I’m not sure that third party implementations histograms, timers and counters would be broken unless you’re referring to the change to MetricSupplier?

There are many open-source projects like Cassandra or Rabbitmq Java Driver uses Dropwizzard/Metrics for monitoring and makes own implementation of timers or histograms. In general Metrics Core is well extensible, but absence of interfaces(only Gauge has interface) for metrics is worst drawback for extensibility. As result, there is only one way to provide own implementation would be subclassing already existed class from core. But subclass must call constructor of superclass and if already used constructor changes its signature then subclass will be broken. So each client which uses this kind of third-party libraries will decline migration to new version of metrics-core until thirdparty library will be compatible with new versions of metrics-core, and this creates the risks of community splitting.

What do you think about retaining the previous constructors in a deprecated form? That way no client code would break, but measurements would be lost for code which wasn’t updated.

This solution help to preserve backward compatibility, but introduces the point of inconsistency. Your request is heavy concentrated on flow when MetricRegistry creates the new Metric instance, but there is another flow when Metric firstly instantiated in client code through constructor and then added to registry, and that is why specifying listeners at construction time is undesirable, because code which creates new metric potentially is very far from MetricsRegistry and knows nothing about listeners which can be applied on metric.

@vladimir-bukhtoyarov

There are many open-source projects like Cassandra or Rabbitmq Java Driver uses Dropwizzard/Metrics for monitoring and makes own implementation of timers or histograms.
…
As result, there is only one way to provide own implementation would be subclassing already existed class from core. But subclass must call constructor of superclass and if already used constructor changes its signature then subclass will be broken.

Yep, I see that now, thanks for clarifying. Extracting interfaces from each of these implementations would also break downstream implementations but would be easier to resolve. Could you point me at those implementations you mentioned as I was unable to find them? The implementations I did find appeared to exist to alter the aggregation mechanism or to hook into the measurements. The latter case should be satisfied by providing a mechanism to hook into measurements.
I think the first case highlights a problem with the current design. The identity of the metrics and mechanism to report a measurement is too closely coupled to the metrics aggregation. That reminds me of a comment made by @bentatham in #822 about making the current aggregations observers themselves.
Metrics has become somewhat a de-facto standard around recording metrics, and I think that has been positive, encouraging more third party instrumentation of code with correct semantics around the type of events. I think I would love to see more separation between the interface (to register, retrieve and measure against metrics) and the rest of the functionality. This would allow people to make things ‘metrics-compatible’ without making any assumptions about what happens downstream.

So each client which uses this kind of third-party libraries will decline migration to new version of metrics-core until thirdparty library will be compatible with new versions of metrics-core, and this creates the risks of community splitting.

Since 4.0 is going to be a breaking change as it is then third party library updates seem like they are going to be necessary anyway.

This solution help to preserve backward compatibility, but introduces the point of inconsistency. Your request is heavy concentrated on flow when MetricRegistry creates the new Metric instance, but there is another flow when Metric firstly instantiated in client code through constructor and then added to registry, and that is why specifying listeners at construction time is undesirable, because code which creates new metric potentially is very far from MetricsRegistry and knows nothing about listeners which can be applied on metric.

Agreed. How would you feel about making the implementations mutable by adding an addMeasurementListener() method instead? Mutability is something I try to avoid.

How would you feel about making the implementations mutable by adding an addMeasurementListener() method instead?

@mrmanc I think it would be better to not change existing Metric implementations and MetricRegistry. You can easy achieve your goals by extending registry and metrics, else there is no clean and effective way to keep API and documentation in consistency.


Update site-recovery-overview.md

Grammar and dead link changes

Hi @jimlane, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;


terminal editor context menu

This PR fixes #127341

Copy paste right click behavior is still showing the menu in the editor... fixing


Task - Geographic area checklist

As a user I want a checklist of valid species in some geopolitical unit.

[ ] Scope by geopolitical unit
[ ] Scope by proxy of nomenclatural hierarchy

Summarize, and include type of record

Collecton Objects

Georeferenced
Collecting event -> Geographic area

(use cached level descriptors)

Asserted Distributions

For now focus on geopolitical areas.
Columns

Order
Family
Species
Earliest record (inferred)
Latest record (inferred)

Consider

Citations
Specimen count

we have basic endemism task. It could be used as a start point.

@proceps is this high on your priority list?

I would say medium/high. In 90% cases I can get data using basic endemism task, which take only one area into consideratin. Which is good for small countries. If I have bigger country brocken into province. It is more chelenging. The high priority issues are listed in Priority project. There are some issue there which could be related to this one. For example the the query to build hierarchical nomenclature has some problems.

Requires https://github.com/SpeciesFileGroup/taxonworks/issues/2652


Use phpspec for tests

I think that spec tests would be better to test these classes. What do you think?

I would be happy to provide a PR.

IteratorIterators are not cloneable


Issue with BLIP Node Installation and Usage

I encountered the following issue while installing a BLIP node:
WAS NS: Installing BLIP dependencies...
WAS NS: Installing BLIP...
Using Legacy `transformImage()`
Traceback (most recent call last):
  File "F:\AI_research\Stable_Diffusion\ComfyUI\execution.py", line 182, in execute
    executed += recursive_execute(self.server, prompt, self.outputs, x, extra_data)
  File "F:\AI_research\Stable_Diffusion\ComfyUI\execution.py", line 58, in recursive_execute
    executed += recursive_execute(server, prompt, outputs, input_unique_id, extra_data)
  File "F:\AI_research\Stable_Diffusion\ComfyUI\execution.py", line 67, in recursive_execute
    outputs[unique_id] = getattr(obj, obj.FUNCTION)(**input_data_all)
  File "F:\AI_research\Stable_Diffusion\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 4770, in blip_caption_image
    os.mkdir(blip_dir)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'F:\\AI_research\\Stable_Diffusion\\ComfyUI\\ComfyUI\\models\\blip'

Later, I manually created a symbolic link, which solved the installation problem:
mklink /D F:\AI_research\Stable_Diffusion\ComfyUI\ComfyUI F:\AI_research\Stable_Diffusion\ComfyUI

However, it would be better if the path issue could be fixed or if the root path of the ComfyUI repo could be passed in manually when executing "python main.py".
Lastly, I encountered another issue when using BLIP:
Using Legacy `transformImaage()`
reshape position embedding from 196 to 576
load checkpoint from https://storage.googleapis.com/sfr-vision-language-research/BLIP/models/model_base_capfilt_large.pth
Traceback (most recent call last):
  File "F:\AI_research\Stable_Diffusion\ComfyUI\execution.py", line 182, in execute
    executed += recursive_execute(self.server, prompt, self.outputs, x, extra_data)
  File "F:\AI_research\Stable_Diffusion\ComfyUI\execution.py", line 58, in recursive_execute
    executed += recursive_execute(server, prompt, outputs, input_unique_id, extra_data)
  File "F:\AI_research\Stable_Diffusion\ComfyUI\execution.py", line 67, in recursive_execute
    outputs[unique_id] = getattr(obj, obj.FUNCTION)(**input_data_all)
  File "F:\AI_research\Stable_Diffusion\ComfyUI\custom_nodes\was-node-suite-comfyui\WAS_Node_Suite.py", line 4784, in blip_caption_image
    caption = model.generate(tensor, sample=False, num_beams=6, max_length=74, min_length=20)
  File "F:\AI_research\Stable_Diffusion\ComfyUI\custom_nodes\was-node-suite-comfyui\repos\BLIP\models\blip.py", line 159, in generate
    outputs = self.text_decoder.generate(input_ids=input_ids,
  File "C:\ProgramData\Anaconda3\envs\comfyui\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "C:\ProgramData\Anaconda3\envs\comfyui\lib\site-packages\transformers\generation\utils.py", line 1490, in generate
  File "C:\ProgramData\Anaconda3\envs\comfyui\lib\site-packages\transformers\generation\utils.py", line 2749, in beam_search
    decoder_attentions += (
  File "C:\ProgramData\Anaconda3\envs\comfyui\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "F:\AI_research\Stable_Diffusion\ComfyUI\custom_nodes\was-node-suite-comfyui\repos\BLIP\models\med.py", line 886, in forward
    outputs = self.bert(
  File "C:\ProgramData\Anaconda3\envs\comfyui\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "F:\AI_research\Stable_Diffusion\ComfyUI\custom_nodes\was-node-suite-comfyui\repos\BLIP\models\med.py", line 781, in forward
    encoder_outputs = self.encoder(
  File "C:\ProgramData\Anaconda3\envs\comfyui\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "F:\AI_research\Stable_Diffusion\ComfyUI\custom_nodes\was-node-suite-comfyui\repos\BLIP\models\med.py", line 445, in forward
    layer_outputs = layer_module(
  File "C:\ProgramData\Anaconda3\envs\comfyui\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "F:\AI_research\Stable_Diffusion\ComfyUI\custom_nodes\was-node-suite-comfyui\repos\BLIP\models\med.py", line 361, in forward
    cross_attention_outputs = self.crossattention(
  File "C:\ProgramData\Anaconda3\envs\comfyui\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "F:\AI_research\Stable_Diffusion\ComfyUI\custom_nodes\was-node-suite-comfyui\repos\BLIP\models\med.py", line 277, in forward
    self_outputs = self.self(
  File "C:\ProgramData\Anaconda3\envs\comfyui\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "F:\AI_research\Stable_Diffusion\ComfyUI\custom_nodes\was-node-suite-comfyui\repos\BLIP\models\med.py", line 178, in forward
    attention_scores = torch.matmul(query_layer, key_layer.transpose(-1, -2))
RuntimeError: The size of tensor a (6) must match the size of tensor b (36) at non-singleton dimension 0

Are you by chance outdated? 5he new version checks to see if ComfyUI is already in the base path, and if if it is, doesn't add ConfyUI twice

I encountered have been resolved and this new version works great! I believe that the WAS node plugin will definitely become an essential tool for ComfyUI users.
Thank you again for your great work!


Please make this library for appcompact.

Hello manoj
This library not work in appcompact, and also solve the issue of databinding, means user can use this library with use of databinding.
thanks

Hi Rajam,

As androidx is updated one, we are using this. Please convert your project to androidx. its super easy, trust me.
Make sure you have enabled databinding in your gradle


In Safari 11, animated PixiJS sprites are rendered leaving fragments

Just in case it's of interest:
https://bugs.webkit.org/show_bug.cgi?id=179284
(Otherwise please close.)

Works in the latest Safari Tech Preview.
Closing.


Displaying file diffs between two versions

Shows the changes to files between two work versions. The versions may be of any type, either draft or published. Changed file names are shown using the same method as metadata changes. Any removed or added files are show as differently-colored rows in the table.

@rschenk the test failure is unrelated to the PR. I should be able to fix that up later today.


Unhandled Exception: Exception: FormatException: Missing extension byte (at offset 2610)

Hi,
I am getting above error during my loadModel() block. Here is the full error stack:
I/flutter (21928): Interpreter Created Successfully
I/flutter (21928): input_shape:
I/flutter (21928): [1, 224, 224, 3]
I/flutter (21928): TfLiteType.uint8
I/flutter (21928): output_shape:
I/flutter (21928): [1, 965]
I/flutter (21928): output_type:
I/flutter (21928): TfLiteType.uint8
E/flutter (21928): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: Exception: FormatException: Missing extension byte (at offset 2610)
E/flutter (21928): #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1783:7)
E/flutter (21928): #1      Utf8Decoder.convert (dart:convert/utf.dart:321:42)
E/flutter (21928): #2      Utf8Codec.decode (dart:convert/utf.dart:62:20)
E/flutter (21928): #3      AssetBundle._utf8decode (package:flutter/src/services/asset_bundle.dart:81:17)
E/flutter (21928): #4      _IsolateConfiguration.apply (package:flutter/src/foundation/_isolates_io.dart:83:34)
E/flutter (21928): #5      _spawn.<anonymous closure> (package:flutter/src/foundation/_isolates_io.dart:90:65)
E/flutter (21928): #6      Timeline.timeSync (dart:developer/timeline.dart:163:22)
E/flutter (21928): #7      _spawn (package:flutter/src/foundation/_isolates_io.dart:87:35)
E/flutter (21928): #8      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:304:17)
E/flutter (21928): #9      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
E/flutter (21928):

And below is my code:
class _HomeState extends State<Home> {
  Interpreter interpreter;
  List<int> _inputShape;
  List<int> _outputShape;
  TfLiteType _outputType = TfLiteType.uint8;
  TensorImage _inputImageTensor;
  TensorBuffer _outputBuffer;
  List<String> labels;
  final int _labelsLength = 965;
  final String _labelsFileName = 'assets/aiy_birds_V1_labelmap.txt';
  String modelName = 'aiy_vision_birds.tflite';

  bool _predicting = false;
  final picker = ImagePicker();
  File _imageFile;
  Category category;

  @override
  void initState(){
    super.initState();
    loadStuff();
  }

  loadStuff() async{
    await loadModel();
    await loadLabels();
  }

  Future<void> loadModel() async {
    try {
      interpreter = await Interpreter.fromAsset(modelName);
      print('Interpreter Created Successfully');

      _inputShape = interpreter.getInputTensor(0).shape;
      print('input_shape:');
      print(_inputShape);
      print(interpreter.getInputTensor(0).type);
      _outputShape = interpreter.getOutputTensor(0).shape;
      print('output_shape:');
      print(_outputShape);
      _outputType = interpreter.getOutputTensor(0).type;
      print('output_type:');
      print(_outputType);

      _outputBuffer = TensorBuffer.createFixedSize(_outputShape, _outputType);

    } catch (e) {
      print('Unable to create interpreter, Caught Exception: ${e.toString()}');
    }
  }

I have also run the required install.bat the output of which is below:
C:\AndroidStudioProjects\flutter_app_tfliter>install.bat
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   652  100   652    0     0    652      0  0:00:01 --:--:--  0:00:01  1605
100 1270k  100 1270k    0     0  1270k      0  0:00:01  0:00:01 --:--:-- 1270k
        1 file(s) moved.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   654  100   654    0     0    654      0  0:00:01 --:--:--  0:00:01  1901
100 1843k  100 1843k    0     0  1843k      0  0:00:01  0:00:01 --:--:-- 3080k
        1 file(s) moved.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   652  100   652    0     0    652      0  0:00:01 --:--:--  0:00:01  1738
100 4774k  100 4774k    0     0  2387k      0  0:00:02  0:00:02 --:--:-- 6254k
        1 file(s) moved.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   655  100   655    0     0    655      0  0:00:01 --:--:--  0:00:01  1824
100 4732k  100 4732k    0     0  2366k      0  0:00:02  0:00:02 --:--:-- 5031k
        1 file(s) moved.

Please suggest what may be causing this?
Thank you

I managed to fix this,
for anyone else having this problem, it was related to the labels txt file being loaded.
My labels.txt file was in ANSI encoding whereas the required is UTF-8. Saving it in correct encoding fixed this error.
such a simple mistake and 2 days wasted =/


Fix bug the engine might choose a replica with a smaller head size to be the source of truth for auto-salvage

More details are in the issue description of longhorn/longhorn#8659

I am also Modify the salvageRevisionCounterDisabledReplicas logic in this PR:
The old logic is that:

Filter replica candidates to keep only replicas which was modified
within the last 5 seconds from the last modified replica
Then filter to keep only replicas with head size equals to the biggest
one
Then pick a random replica from the set

The new logic:

Filter replica candiates to keep only replicas which was modified
within the last 5 seconds from the last modified replica
Then filter to keep only replicas with head size equal to the biggest
one
Then pick the last modified replica from the set

Looks like the github action is taking a long time waiting for an available runner:

Do we need to change the runner from oracle-aarch64-4cpu-16gb to longhorn-infra-arm64-runners as we did in the longhorn-instance-manager https://github.com/longhorn/longhorn-instance-manager/pull/500/files ?
Btw, may I have a question about the location (providers) of oracle-aarch64-4cpu-16gb and longhorn-infra-arm64-runners? @derekbit @FrankYang0529 ?

ping @shuo-wu Can I get an approve for merging this PR. Thank you

The only downside I can think of here is that repeated attempts to salvage will always choose the same replica. If that replica is broken somehow, we can never make a different choice. I think this is not a compelling enough reason to change the logic.

Then, we need records the broken replica and prevent picking up it in the retries.

If a replica is broken beyond repairable state it wouldn't be able to start running state in the first place? In addition, if the best replica here is still broken, I would prefer the user manual intervention here instead. Wdyt?

@mergify backport v1.6.x v1.5.x


Glitchy playback on macOS

Hello, I'm using kira to make a simple little podcast player with a terminal interface, and its been really nice to use so far :)
I am however experiencing some subtle but audible glitches when playing MP3 files on macOS (I have not tried any other OS). I've tried several different files and they all seem to have the same problem.
At first I thought it could have been something with the StreamingSound setup that made this happen, but I'm having the same issues using StaticSound.
I can reproduce it locally using the simple_sound_playback with one of the files I have (seems any MP3 file would do).
Additionally, I tried playing the same file in the example symphonia-play in the Symphonia repo, which did not exhibit the same issue.
Let me know if you want more information, or if I can help out in any way!

By any chance, can you record the output of your program and post it here?
What optimization level are you using?

Here is a recording of the output that contains the glitches https://drive.google.com/file/d/1Lf6XyiKoxU6p2N7qPTrQXa3XRBP0SCqO/view and its a brief recording of this source https://www.podtrac.com/pts/redirect.mp3/traffic.megaphone.fm/ADV7712059188.mp3.
The result seems to be same regardless of optimization levels, tried 0 and 3.

Is this the program in question?

I got your podcast app running on Windows, and I didn't have any audio glitches. I used the Song Exploder podcast.
Are you able to test on another OS?

Alright scratch all this. For some reason the playback is glitched when using Airpods. I should have ofc tried it with something else! Sorry!

Interesting! I think that's still an issue worth investigating, although I don't know anything about airpods and how they differ from other playback devices.

I'll try and see how it behaves with other bluetooth headphones on Linux and Mac this coming week to pinpoint if its just related to Airpods. Anyway, I'll close this issue for now since its not really accurate. Thanks for you time!


Incompatibility with Podfile's "use_framework!"

Hi,
We are trying to integrate customerio on an Expo SDK47 app.
We also have @react-native-firebase/analytics package which requires the use of the following plugin according to their doc
[
  'expo-build-properties',
  {
    ios: {
      useFrameworks: 'static',
    }
  }
]

However, whenever I try to build the app with EAS, I get the following error :
App (true) and NotificationService (false) do not both set use_frameworks!

Any way I can fix that or use also use_frameworks! for your library ?
Thanks in advance

Hey @simontoulouze, thanks for writing in. Did you configure our plugin to use the same? You will need to set ios.useFrameworks  to static

Hey @Shahroz16, thanks for your reactivity, I indeed missed the fact that there's an ios.useFrameworks option in the plugin configuration ! I'll give it a try this morning and keep you in touch !
Thanks very much

I still have the same error. My guess is that it's the NotificationService app extension which needs the useFrameworks's option

You were right @Shahroz16 the option allow me to pass the "Install pods" step 🙏🏻. Now I'm stuck in the "Run fastlane" step with the following error :
▸ The following build commands failed:
▸ ProcessInfoPlistFile /Users/expo/Library/Developer/Xcode/DerivedData/ActualEspacePersonnel-efapmjzrslowkzcnvyahlwkhfokw/Build/Intermediates.noindex/ArchiveIntermediates/App/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/NotificationService.appex/Info.plist /Users/expo/workingdir/build/app/native/ios/NotificationService/NotificationService-Info.plist (in target 'NotificationService' from project 'App')

Hi @Shahroz16, any chance you had a look at my error ?
It is building fine on android though, so I'll start my tests with it

Hey @Shahroz16, even if the prebuild ends right, its giving me interesting logs :
Error copying file from ./node_modules/customerio-expo-plugin/src/helpers/native-files/ios/PushService.swift to [...] Error: ENOENT: no such file or directory

We are using yarn workspace and ./node_modules/customerio-expo-plugin should in fact be ../node_modules/customerio-expo-plugin.
I'll try to figure out which file is doing the copy and patch the path but I'll be very happy if you had some clue about that !

Everything's working fine after the lib update !
Thanks for your time @Shahroz16


:bring and :to has no error and doesn't work

There's no error, whatsoever, but the command acts like it ran.
No errors in :serverlogs and F9.

Works for me using R15, please provide more of a description like RigTypes and if you have any form of anti-exploits.

Has no form of anti-exploit, and is using R6 characters instead of R15 as you've stated.

Just tested in a studio 3 player test server and they both seem to be working fine.
https://gyazo.com/a8de08f2d830c659c7b28d935ad922cd

Found the problem to this.
Adonis is using ; as the 'bring/to' command, which means it never fires, because its not using my default prefix in settings which is ':'

Apparently when using :settings to set a prefix, it conflicts with itself? The admin command still only responds to :, but anything that re-uses that command, only accepts ; that was in :settings?

Appears resolved. Cannot reproduce this issue.


How to install pup for all users (i.e. in /usr/local/bin/)

Hi,
Can you please update your README.md to explain how to install pup for all users (i.e. in /usr/local/bin/) ?

Duplicate of #145

Duplicate of #145

@sebma Could you, please, close this issue as we already have #145 ?

@sebma Could you, please, close this issue as we already have #145 ?


Normalization for input variables to domain (0,1)

Hi, I'm writing to ask if  Normalization for input variables  to domain (0,1) is good for convergence and improves accuracy?
Best!

I think symbolic regression should be fairly robust to different input variables. If you care about things like physically-meaningful constants, then I wouldn't normalize. If you just want a good fit and to learn something from the functional form, then normalization should be okay.
This is a generic symbolic regression question, I don't think there's anything DSO-specific here.


Support for composite datasources

It should be possible to have composite datasources, i.e. logical datasources which are comprised of multiple primitive datasources (data streams). E.g the hue bulbs are currently several independent datasources (on/off, hue, brightness, saturation, colour temperature). This makes giving an app access to such a datasource tedious and error-prone (e.g. may accidentally select hue on one bulb and saturation on another).
This requires that

drivers can express this relationship in hypercat, including some suitable indication of type.
app manifests can express the desired composite datasource (e.g. type and/or sub-datasources)
the app can relate the composite datasource and the primitive datasources with the information it receives from the CM
permission are enforced appropriately.

I can imagine either an implementation in which the CM explicitly expands the composite datasource to the primitive datasources and uses the current system, or in which stores directly supporting composite datasources, e.g. through hierarchical structuring of the datasource ids.

Not sure I follow your last paragraph. Isn't it up to the driver author to determine what ends up in the driver's store (ie., which of the datasources), and then up to an app author to compose data from multiple stores as they see fit? Certainly there may be value in having some structuring of hypercat entries though, to enable (eg) discovery.

With the current key-value store the key is the datasource id and the value is a single JSON object. Permissions (e.g. macaroons) are defined at the level of paths including the datasource id.
The second implementation option (which is probably more complicated and not immediately more useful) was the idea that datasource ids might be (e.g.) : and permissions might be given in terms of the : path prefix, which thereby gave access to all sub-sources.
I think the main requirement in the shorter term is a UI one, i.e. that the manifest->SLA process can allow someone to select a "hue lightbulb" (as a whole) and not worry about its individual data sources.
Partly I was also thinking about other structured stores, e.g. like Redis, where a single entry can be structured, e.g. a set, hash, but that is probably an orthogonal issue.


[dv] Add assertion to check double_lfsr err triggers an alert

Also update all IPs to add an assertion for double_lfsr

https://github.com/lowRISC/opentitan/pull/10517 has been merged - has this been updated accordingly?

Done, just updated.


Add standard workflows

This allows us to adopt out standard development and release process.

I also added a a dependabot.yml to keep our actions up to date, see:
https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot


Improve schema registry

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 42.04545% with 51 lines in your changes missing coverage. Please review.

Project coverage is 88.62%. Comparing base (c0b0f93) to head (e7a63c0).

Files with missing lines
Patch %
Lines

formatter.go
20.75%
42 Missing :warning:

writer.go
66.66%
6 Missing and 1 partial :warning:

message.go
71.42%
1 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
- Coverage   93.29%   88.62%   -4.68%
==========================================
  Files          17       17
  Lines        1283     1345      +62
==========================================
- Hits         1197     1192       -5
- Misses         57      122      +65
- Partials       29       31       +2

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


Add support for MOI.EqualTo{Bool}

Closes #58

This now works:
julia> using JuMP, MiniZinc

julia> model = GenericModel{Int}(() -> MiniZinc.Optimizer{Int}("chuffed"));

julia> @variable(model, 1 <= x[1:3] <= 3);

julia> @constraint(model, x in MOI.AllDifferent(3));

julia> @constraint(model, x[1] == 2 || x[3] == 2 := true)
(x[1] == 2) || (x[3] == 2) = true

julia> @objective(model, Max, sum(i * x[i] for i in 1:3));

julia> optimize!(model)

julia> value.(x)
3-element Vector{Int64}:
 2
 1
 3


Replace babel-preset-2015 with babel-preset-env

Babel has moved to a system of instead of using yearly presets to a more long term solution that incorporates all yearly presets in a single preset. This helps with creating a more future proof solution.
This pull request replaces the current babel-preset-es2015 with babel-preset-env for the reasons as explained in the dialog upon install:

We're super 😸  excited that you're trying to use ES2015 syntax, but instead of making more yearly presets 😭 , Babel now has a better preset that we recommend you use instead: npm install babel-preset-env --save-dev. preset-env without options will compile ES2015+ down to ES5 just like using all the presets together and thus is more future proof. It also allows you to target specific browsers so that Babel can do less work and you can ship native ES2015+ to user 😎 ! We are also in the process of releasing v7, so please give http://babeljs.io/blog/2017/09/12/planning-for-7.0 a read and help test it out in beta! Thanks so much for using Babel 🙏, please give us a follow on Twitter @babeljs for news on Babel, join slack.babeljs.io for discussion/development and help support the project at opencollective.com/babel

This has the advantage of packages that build parts of gl-matrix not having to install babel-preset-es2015 just for gl-matrix when the rest of the build tools are already using babel-preset-env.

duplicated of my PR see also this
Though nobody seems to car about updates :(


[1.10] Tuning the Lua HTTP client recv() timeout

High-level description
This PR increases the timeout of the Lua HTTP client from 10 to 60sec to accomodate for the longer response times from upstream DC/OS components (e.g. Mesos and Marathon). See the corresponding JIRA ticket on details.
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:
https://jira.mesosphere.com/browse/DCOS-38323
Checklist for all PRs

[ ] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change:
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[ x ] Read the DC/OS contributing guidelines
[ x ] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and review process
What is the review process and when will my changes land?
All PRs require 2 approvals using GitHub's pull request reviews.
Reviewers should be:

Developers who understand the code being modified.
Developers responsible for code that interacts with or depends on the code being modified.

It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner. Once a PR has 2 ship-it's, no red reviews, and all tests are green it will be included in the next train.

@mesosphere-mergebot ee-bump

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label Ready For Review

Thank you, @jgehrcke. I will take your last comment as a basis for a future work.

Thank you @vespian. I will also add your suggestion in a future PR as a code comment.

Perfectly valid concerns, @jongiddy -- thanks for expressing them.

I hope we always unlock;
The 'lock expiration', I think, has been built by the library author as a stop-gap -- which we hopefully don't rely on. Quoting their docs:

exptime Specifies expiration time (in seconds) for the lock entry in the shared memory dictionary. You can specify up to 0.001 seconds. Default to 30 (seconds). Even if the invoker does not call unlock or the object holding the lock is not GC'd, the lock will be released after this time. So deadlock won't happen even when the worker process holding the lock crashes.

will the clients start to timeout before the 180 second lock timeout?

In the code path discussed here we intercept nginx' HTTP processing machinery before the proxy module is taking effect for handling the request, so I at least believe that nginx' does not abort request handling earlier than we think. HTTP clients, however, might totally abort earlier if they have a tighter recv() timeout set than the time scales discussed here.

@mesosphere-mergebot label Ship It

I have applied the "Ship It" manually as my page was showing three PR approvals and no "Ship It" label, but the mergebot had apparently applied the label before.


Bug with Assistants Beta V2

Describe the bug
I used the openAi API playground
I  created an assistant, noted the assistant ID. It has an attached file that is used for the file_search.  I noted the file_id (starts with vs for a vector store)
The assistant works well on the playground as desired. I have a total of 2 user messages sent and 2 received back from OpenAi
I note the threadID on the playground (starts with thread_)
I use the latest library, with the support for Assistants V2 Beta
When I retrieve the thread & the message using the Open-Ai Orhanerday library, i don't see anything :-(
Same goes when I try to retrieve the files associated with the assistants. Please see below for the codes
Am I doing something wrong or are "files" not yet supported with the assistants V2 beta?
Thanks!
To Reproduce
List assistant files
`use Orhanerday\OpenAi\OpenAi;
try {
$open_ai = new OpenAi('my_API_KEY');
$open_ai->setAssistantsBetaVersion("v2");
$assistantId = 'asst_ID.________';
$query = ['limit' => 100];

$files = $open_ai->listAssistantFiles($assistantId, $query);

} catch (Exception $e) {
echo "Got Error!" . $e->getMessage() . " ";
}
//Results in  empty files:
/* list of files
{
"object": "list",
"data": [],
"first_id": null,
"last_id": null,
"has_more": false
}
*/
`
retrieveThread & listThreadMessages
`$threadId = 'thread_ID_____________';
require ($home_dir . '/includes/vendor/autoload.php');
use Orhanerday\OpenAi\OpenAi;
include_once($siteConfig['htmlHeader']);
try {
        $open_ai = new OpenAi('myOpenAiKey');
        $open_ai->setAssistantsBetaVersion("v2");

        $thread = $open_ai->retrieveThread($threadId);
        $query = ['limit' => 101];
        $messages = $open_ai->listThreadMessages($threadId, $query);

        echo "
result of thread... is

" . print_r($thread, true) . "
";
        echo "
result of messages in thread $threadId is

" . print_r($thread, true) . "
";

} catch (Exception $e) {
echo "Got Error!" . $e->getMessage() . " ";
}
/* results in  empty threads and empty messsages!
result of thread... is
{
"id": "thread_ID_____________",
"object": "thread",
"created_at":<PHONE_NUMBER>,
"metadata": {},
"tool_resources": {
"code_interpreter": {
"file_ids": []
}
}
}
result of messages in thread thread_ID_____________ is
{
"id": "thread_ID_____________",
"object": "thread",
"created_at":<PHONE_NUMBER>,
"metadata": {},
"tool_resources": {
"code_interpreter": {
"file_ids": []
}
}
}
*/`
OS
PHP Apache
PHP version
PHP Version 7.4.33
Library version
3.5 - 2023-02-10 latest version including V2 assistants Beta:

@itscvenk I don't know about listing files, but listing messages should work just fine. In your example you are dumping $thread twice instead of $messages.

Duhhhhhh.... thanks for spotting it!

Sorry... the listing files is not returning anything

Asking questions using issues doesn't seem efficient. Can we move this conversation to our Discord server?
https://discord.gg/xpGUD528XJ


Jquery repeater with required for first repeater item

Hello,
Is there any way to make the first repeater item non-required and the other items which I will add will be the required one?
Please help me with this.

same issue


Implementation section on frontends needs screenshots -- waiting to see if we can fix syntax highlighting

Now tracked in #90.


Add metadata file to cache directory for each cached file.

Currently each cache directory contains many files, but we don't know what the files are:
$ ls -1 coronadatascraper-cache/2020-3-28 | wc -l
155

$ ls -1 coronadatascraper-cache/2020-3-28 | head -n 3
018472faea35c3c9fa713caa8b9e21be.csv
01b0a96cf8f3121f1696e57ccdf11e4f.html
02a85b7c27387c85398b4e4bceee27fa.html
...

The filenames are hashes of the source URL.
It would be useful to have a human-readable index of these files, along with the date they were actually fetched from the source.
Suggested implementation (drawing from various slack comments)
Each file will have a corresponding metada-{filename}.json file, with the following data:
{
  cachefile: {filename-with-extension},
  url: {source url},
  cachedatetime: date time cached
}

This file will be created in the method caching.saveFileToCache(url, type, date, fetchedBody).
It may be nice to have the calling scraper written in the metadata file as well, but that should be a separate PR/issue as it would require more changes to the code (i.e. each scraper would have to pass itself during the call to get content).
It may be useful to get all of the metadata files as an iterable data structure, so also provide a method in in cache that gets all of the metadata files:
caching.listAll()

returns array of information

[
  {
    cachefile: {filename-with-extension},
    url: {source url},
    cachedatetime: date time cached,

    // These are 'nice-to-have', because the callers
    // could derive this information from the above.
    fullpath: {cache-date-folder}/{cachefile}
  },
  ...
]

Note that @ryanblock has suggested separate folders for each source so we can begin caching multiple times per day.

Separate folders for each source -- we could do that.  We could also append the datetime to the hashed filename, it would work out to the same thing without much difference in the code.  However, that opens up some other questions, as currently the calls to get first check the cache, and then do a fetch if it's missing ... but would every scrape then create a new cached file?
I'll go ahead with this as-is and we can revisit on the multiple-caches-per-day in a separate issue/PR.

@jzohrab yes, that's a possibility. We should probably have a flag, -c/--cache that will use the latest cache (if it's from today), otherwise create a new cache file.
@ryanblock please weigh in

Can we put that discussion in a new issue?  I didn't see one, can create if needed.  That helps separate this issue from that, which I feel is something new.

I'm working on this now, fyi.  (Can't assign myself).

Hey there, sorry I didn't port my slack comments on this over here earlier, but this opens us to lots of state bugs and isn't presently necessary given the new caching format. Closing for now!


Ignore White / monotone svg

Thanks for this great script. I have a question though:
When tracing pixelimages to vector in Adobe Illustrator, there's an option to "Ignore white".
This means there will be no white box around an object.
I'm trying to achieve the same output with this script, but the palette-options seems to only change the input image before the tracing part, so it does not output correctly.
This is my image:

This is my options:
options = { colorsampling:false, colorquantcycles:1,
pal:[
{r:0,g:0,b:0,a:255},
{r:255,g:255,b:255,a:255}
]
};
This is the result:

Now, if I change the white color in my palette to transparent( {r:255,g:255,b:255,a:0}), this happens:

This is what I was expecting to get:

Is it possible to get my expected output?

Hi,
Yes, it's possible, you just need to change the palette after tracing, but before rendering. imageToTracedata is probably the easiest way to do this. Here's an example with some boilerplate HTML:
<html>
<body onload="onload_init()">
<script>

function onload_init(){

	var options = { colorsampling:false, colorquantcycles:1,
		pal:[
			{r:0,g:0,b:0,a:255},
			{r:255,g:255,b:255,a:255}
		]
	};

	ImageTracer.imageToTracedata(
		'cat.jpg',
		function(tracedata){

			// loop on palette, set white-like colors transparent
			for(var i=0; i<tracedata.palette.length; i++){

				var whiteness = tracedata.palette[i].r+tracedata.palette[i].g+tracedata.palette[i].b;
				var whitetreshold = 600; // r>=200 g>=200 b>=200 will be considered white

				if(whiteness>=whitetreshold){
					// tracedata.layers[i] can be removed with array.splice()
					// but we will render it with transparency for simplicity
					tracedata.palette[i].r = 0;
					tracedata.palette[i].g = 0;
					tracedata.palette[i].b = 0;
					tracedata.palette[i].a = 0;
				}

			}// End of loop on palette

			// render and append SVG string to body
			ImageTracer.appendSVGString(
				ImageTracer.getsvgstring( tracedata, options )
			);

		},// End of imageToTracedata callback()

		options

	);// End of ImageTracer.imageToTracedata()

}// End of onload_init()

</script>
<script src="imagetracer_v1.2.5.js"></script>
</body>
</html>

I hope this answers your question, you can reopen this issue if you need more help. :)


software_spec: GitHub Packages/Bintray fixes.

assign the version for the resource before the downloader is created
fix the reference to Bintray

Review period skipped due to critical label.


Investigate Go Vendoring

Look into vendoring for project.

I've been using govendor for a while https://github.com/kardianos/govendor and it has worked well. Here's  a working example  https://github.com/ottogiron/automi/tree/testbranch.
I really like the automi idea, at some point I'll need something like this.
BTW I can provide a PR for vendoring if you are interested :).

@ottogiron thanks the interest.  I am interested in Vendoring as long as it's compatible with the language-supported build-flow.  Meaning, that it works with GOPATH, support all existing go tool chain, etc.  I am on a pause right now, you are welcome to drop in the vendor PR.  Thanks for the help.

Decided to keep core automi independent and only relying on built-in packages.  Eventually, non-core sources, sinks will be implemented as separate repos.


Memory corruption on Windows in optimized generated binaries with LLVM >= 6

I have noticed that release builds of the stdlib library tests on Windows fail with strange errors.  They were not caught in CI until now because #3010.
What I see locally and on AppVeyor (https://ci.appveyor.com/project/kulibali/ponyc/builds/22429150/job/b290m7e326qsfj9e) is that tests in the collections/persistent package fail due to various memory corruption problems, either trying to dereference invalid pointers or trying to allocate astronomical amounts of memory.
I had noticed other problems sometimes where it looked like code was trying to dereference unboxed integers, but I could never track it down.

@kulibali - does this work if you disable the pony_specific optimization passes in genopt.cc.

Well, well, well, the culprit seems to be our old friend the heap-to-stack pass.


How to make time count and visualize?

May I ask how to make time count and visualize at the same time?
The effect is just as your reference video shows.
https://github.com/dreamgaussian/dreamgaussian/assets/57009216/6396a546-66ce-4fca-955d-135123aeec8b

@ALEEEHU Hi, you'll need another timer when running the GUI. I just record the screen and add a timer later (see https://github.com/ashawkey/made-in-heaven-timer).

@ashawkey What about the visualization? Can I run the main.py to get this visualization effect?

More specifically, how does this optimization progress visualization to be made?

@ashawkey Thanks for your reply! But my current circumstance is that I connect the server to run code without display. So based on this situation, how can I visualize the optimization progress?

You'll need to modify the code to save some images during training in this case.

@ashawkey Thanks! I will have a try.


Panel Version
1.11.5
Wings Version
1.11.8
Service
ARK Ascended
Modified
No, I did not modify the egg
Expected Behavior
For  the Egg to allow me to add it.
Actual Behavior
It says Error 500 on the website as I try add it in.
Steps To Reproduce
1: Downlead the egg.
2: Try to add it in.
This is where the error page kicks in "There is something not wright with the egg"
The older egg works but it does fail when it starts "Meaning I can install it, But  the one you updated 3 weeks ago I can not install at all from the Admin side"
Install logs
N/A

Their are 2 files. 1 for pterodactyl and one for pelican. Use the right one please

Hello I am using the right one then, I am getting this error.
Error 1:
crash_20240618160847_5.dmp[26]: Uploading dump (out-of-process)
/tmp/dumps/crash_20240618160847_5.dmp
crash_20240618160847_5.dmp[26]: Finished uploading minidump (out-of-process): success = no
crash_20240618160847_5.dmp[26]: error: libcurl.so: cannot open shared object file: No such file or directory
crash_20240618160847_5.dmp[26]: file ''/tmp/dumps/crash_20240618160847_5.dmp'', upload no: ''libcurl.so: cannot open shared object file: No such file or directory''
Assert( Assertion Failed: Error while parsing text KeyValues for resource manifest ):../tier1/KeyValues.cpp:2925
Error 2:
[2024-06-18 16:08:47] Startup - updater built Dec 13 2017 05:27:43
[2024-06-18 16:08:47] Checking for update on startup
[2024-06-18 16:08:47] Checking for available update...
[2024-06-18 16:08:47] failed to load manifest from buffer.
[2024-06-18 16:08:47] Failed to load manifest
[2024-06-18 16:08:47] Error: Download failed: http error 200
[2024-06-18 16:08:47] Verifying installation...
[2024-06-18 16:08:47] Performing checksum verification of executable files
[2024-06-18 16:08:47] Unable to read and verify install manifest /mnt/server/steamcmd/package/steam_cmd_linux.installed
[2024-06-18 16:08:47] Verification complete
[2024-06-18 16:08:47] Downloading Update...
[2024-06-18 16:08:47] Checking for available update...
[2024-06-18 16:08:47] failed to load manifest from buffer.
[2024-06-18 16:08:47] Failed to load manifest
[2024-06-18 16:08:47] Error: Download failed: http error 200
[2024-06-18 16:08:47] Error: Steamcmd needs to be online to update.	 Please confirm your network connection and try again.
[2024-06-18 16:08:47] Shutdown
How can I fix this? "pterodactyl egg"

[2024-06-18 16:08:47] Verification complete
[2024-06-18 16:08:47] Downloading Update...
[2024-06-18 16:08:47] Checking for available update...
[2024-06-18 16:08:47] failed to load manifest from buffer.
[2024-06-18 16:08:47] Failed to load manifest
[2024-06-18 16:08:47] Error: Download failed: http error 200
[2024-06-18 16:08:47] Error: Steamcmd needs to be online to update.	 Please confirm your network connection and try again.
[2024-06-18 16:08:47] Shutdown

Not an Egg issue. Steam issue or a issue with your Server

Are you able to help as this is the only server doing it out of all of my steam servers "I have tried many different things and nothing seems to work unless I am doing something wrong".


Add a way to override hasPermission method

Permission manager plugins needs to override hasPermission method.
Can be used like any other events:
	public void handlePlayerCheckPermissionEvent(PlayerCheckPermissionEvent event) {
		boolean hasPermission = event.hasPermission();

		if (hasPermission)
			return;

		final Player player = event.getPlayer();

		// Your behavior

		event.setHasPermission(/* true or false */);
	}

I did something similar but for PermissionHandler
#1138
Man, it's old now.

@LoisDuplain you should probably address the issues i commented on if you still want this merged

Permissions are removed as of #2445


Schema/builder extension update

@SGStino, your changes will publish with this PR.
Resolves #704

Seems this broke things.  Reverting.  Will include in next major version.

It broke the binary compatibility as you predicted?

Yep.  You can still cast them to IReadOnlyList<T>.  It's a little cruft in your code, but it'll work.


Add check of start state for trajectory publisher

The PR aims to prepare joint_trajectory_publisher for checking the start conditions.
PR info:

This is very useful when launching test nodes on the real hardware to protect the robot from collision.
The start state check can be disabled by the configuration file
Tackling UR#94

Example of config file:
publisher_joint_trajectory_controller:

  ros__parameters:

    controller_name: "joint_trajectory_controller"
    wait_sec_between_publish: 6

    goal_names: ["pos1", "pos2", "pos3", "pos4"]
    pos1: [0.785, -1.57, 0.785, 0.785, 0.785, 0.785]
    pos2: [0.0, -1.57, 0.0, 0.0, 0.0, 0.0]
    pos3: [0.0, -1.57, 0.0, 0.0, -0.785, 0.0]
    pos4: [0.0, -1.57, 0.0, 0.0, 0.0, 0.0]

    joints:
      - shoulder_pan_joint
      - shoulder_lift_joint
      - elbow_joint
      - wrist_1_joint
      - wrist_2_joint
      - wrist_3_joint

    check_starting_point: true
    starting_point_limits:
        shoulder_pan_joint: [-0.1,0.1]
        shoulder_lift_joint: [-1.6,-1.5]
        elbow_joint: [-0.1,0.1]
        wrist_1_joint: [-0.1,0.1]
        wrist_2_joint: [-0.1,0.1]
        wrist_3_joint: [-0.1,0.1]

Codecov Report

Merging #128 (5bd2a20) into master (9ac3bf8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #128    +/-   ##
=======================================
  Coverage    0.00%   0.00%
=======================================
  Files           6       3     -3
  Lines         588     294   -294
=======================================
+ Misses        588     294   -294

Flag
Coverage Δ

unittests
0.00% <ø> (ø)

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

Impacted Files
Coverage Δ

.../ros2_control_demo_hardware/src/diffbot_system.cpp

.../ros2_control_demo_hardware/src/diffbot_system.cpp

...l_demo_hardware/src/rrbot_system_position_only.cpp

...l_demo_hardware/src/rrbot_system_position_only.cpp

...demo_hardware/src/rrbot_system_multi_interface.cpp

...demo_hardware/src/rrbot_system_multi_interface.cpp

.../ros2_control_demo_hardware/src/diffbot_system.cpp
0.00% <0.00%> (ø)

...demo_hardware/src/rrbot_system_multi_interface.cpp
0.00% <0.00%> (ø)

...l_demo_hardware/src/rrbot_system_position_only.cpp
0.00% <0.00%> (ø)

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 9ac3bf8...5bd2a20. Read the comment docs.


Reporting and showing cgroup-based metrics

See https://github.com/elastic/apm/issues/291 for implementation details

I already implemented  this issue in this PR:
https://github.com/elastic/apm-agent-python/pull/846
Issue refer: https://github.com/elastic/apm-agent-python/issues/831
I already implemented this on a java, with  @eyalkoren supervision  and recoded this to python on that PR.


Better backwards compatibility w/ 5.1

Summary of the new feature / enhancement
There are a lot of changes between PS 5.X and PS 7.X, and some of these changes make keeping scripts backwards compatible difficult,
Some examples,
Invoke-WebRequest
The return type has changed and some useful parsing has been removed. This would be mostly tolerable but currently accessing headers is a pain in 7.1 is a bit painful. For example,
$response = Invoke-WebRequest "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.manifest"

API's like this would include Last-Modified as a header. In 5.1 this allowed direct access to the datetime via,
$lastModified = $response.BaseResponse.LastModified

In 7.X the return type has changed, so now it would be,
$response = Invoke-WebRequest "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.manifest"
$lastModified = [DateTime]$response.BaseResponse.Headers.'Last-Modified'[0]

The problem is here, https://learn.microsoft.com/en-us/dotnet/api/microsoft.powershell.commands.webresponseobject.headers?view=powershellsdk-7.2.0#microsoft-powershell-commands-webresponseobject-headers, which is a Dictionary<String, IEnumerable<String>>.
In order to make this backwards compatible, you would need to write code like this,
$lastModified = $response.Headers.'Last-Modified'

if ($PSVersionTable.PSVersion.Major -gt 5) {
    $lastModified = [DateTime]$lastModified[0]
} else {
    $lastModified = [DateTime]$lastModified
}

Set-Content
Previously, byte encoding was an option in the Encoding parameter. So in 5.1, you could do this,
Set-Content "file" ([byte[]][char[]] "$content") -Encoding Byte

But in 7.X, it's now,
Set-Content "file" ([byte[]][char[]] "$content") -AsByteStream

So now to support backwards compatibility, you would need to write,
if ($PSVersionTable.PSVersion.Major -gt 5) {
  Set-Content "file" ([byte[]][char[]] "$content") -AsByteStream
} else {
  Set-Content "file" ([byte[]][char[]] "$content") -Encoding Byte
}

These are just two examples, and others may have some other examples, but as you can see these are very tiny inconsistencies that end up doubling code.
Proposed technical implementation details (optional)
I'm not sure how to address this problem, but I think part of the challenge is being able to collect feedback about specific backwards compat problems.
Other than that perhaps there could be some sort of polyfill solution, or some sort of dedicated module that bridges 5.1 <-> 7.X. Or maybe some code analysis rules added to the powershell language server for vscode.
If nothing else, maybe there needs to be some sort of knowledge base or wiki in this repo that documents these nuances.
I'm pretty sure it is probably too late to change binaries so maybe this is something 8.0 can address (although then there might be backwards compat issues between 7 -> 8).

As for:

there needs to be some sort of knowledge base or wiki in this repo that documents these nuances.

There's an official page here, and I encourage you to suggest additions / corrections, as warranted:  https://learn.microsoft.com/en-us/powershell/scripting/whats-new/differences-from-windows-powershell

Fundamentally, the cross-edition changes fall into the following categories:

Unavoidable / justifiable changes:

Changes in the underlying .NET APIs, in which case PowerShell is just the messenger:

Your Invoke-WebRequest example falls into that category.
This also extends to cmdlets no longer being available due to the underlying .NET APIs no longer offering the required support.

Changes that were made for the sake of better cross-platform compatibility:

E.g., the CLI now defaulting to -File instead of -Command, and the removal of built-in aliases such as ls that would shadow platform-native utilities (not using aliases altogether in scripts  avoids that problem; interactively, use only PowerShell-idiomatic aliases, such as gci).

Changes, which - despite being technically breaking - were deemed to be beneficial to a degree that outweighs breaking some code, potentially; in other words: bucket 3 changes.

Example: #13136

Ill-advised changes that could / possibly will be reversed:

Getting the default wrong: making a change that is beneficial in principle, but, by making it opt-out, breaking a lot of existing code:

#18694 is a prime example.

Frivolous changes that needlessly broke a lot of code while adding no value:

No longer supporting -Encoding Byte in favor of requiring -AsByteStream is a prime example (it is mentioned in the linked docs page, but that's little consolation).

Unacknowledged / neglected regression bugs; e.g.:

Breaking --%: #18664
Breaking string interpolation in native argument-passing: #18502

The gap between WinPS 5.1 and pwsh is already huge - there are probably hundreds of differences. The distance between them is increasing every day. We can assume that in 2-3 years the compatibility policy will have to be abandoned in fact.

The PS7 version looks more generic because there is no guarantee that LastModified cannot have multiple values. An array of datetime looks like an alternative for the if monster:
PS> [datetime[]]("2022-12-29","2023-01-20")

Thursday, December 29, 2022 12:00:00 AM
Friday, January 20, 2023 12:00:00 AM

PS> [datetime[]]"2022-12-29"

Thursday, December 29, 2022 12:00:00 AM

In this case Last-Modified is part of rfc9110, so there is somewhat of a guarantee - https://httpwg.org/specs/rfc9110.html#rfc.section.8.8.2
Get Outlook for iOShttps://aka.ms/o0ukef

From: Aleksei Guzev @.>
Sent: Friday, January 20, 2023 12:14:40 AM
To: PowerShell/PowerShell @.>
Cc: Julius Liu @.>; Author @.>
Subject: Re: [PowerShell/PowerShell] Better backwards compatibility w/ 5.1 (Issue #18989)
The PS7 version looks more generic because there is no guarantee that LastModified cannot have multiple values. An array of datetime looks like an alternative for the if monster:
PS> datetime[]
Thursday, December 29, 2022 12:00:00 AM
Friday, January 20, 2023 12:00:00 AM
PS> [datetime[]]"2022-12-29"
Thursday, December 29, 2022 12:00:00 AM
—
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F18989%23issuecomment-1398048599&data=05|01|juliusl%40microsoft.com|dea9022e130d4348ff9d08dafabe6143|72f988bf86f141af91ab2d7cd011db47|1|0|638097992828722894|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=Ugyh1VR%2FuI6KESjc%2BnHFHJRp5%2FOhzU89Jn%2FTYszE0Tk%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABLZUEZ2JM22KSJFVX24M53WTJCPBANCNFSM6AAAAAAUA7PNZU&data=05|01|juliusl%40microsoft.com|dea9022e130d4348ff9d08dafabe6143|72f988bf86f141af91ab2d7cd011db47|1|0|638097992828722894|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=AqU1BItvp7Szr8KXCGK8A5wFkV9628hWFqdh%2F9iSKPE%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>

Thank you @juliusl for taking the time to report this. PowerShell 7 is not intended to be in complete parity with Windows PowerShell 5.1.  There are situations we have decided to not remain compatible.  We feel that the your invoke-webrequest issue is something that should be investigated and encourage you to open it as a single issue.


proposal: log: change standard date format to ISO 8601

If you write the 2009/04/03 - is it the fourth day of March or the third of April?
The log package uses YYYY/MM/DD - so the order is the one it should be, but the separators make it look like it could be different.
The ISO 8601 uses dashes - as separators, so most developers, libraries and tools see 2009-04-03 and recognize the ISO format.
Why does Go differ from the international standard?
There is no logical reason for that, so it should be changed.

Duplicate of #34416

I have to disagree with calling this a duplicate of #34416. I don't think we need a flag to optionally set the date format to ISO, I think we need to make ISO the default. No flag needed.


Fixed failed parent setting children to NS/ Failed not remaining PBC

Fixed issue when:

Children of failed parent got reset to not started
Failed parent with passed children didn't remain passed by child

@borzamircea, please pull from master and fix the conflicts.

Solved by #40


Add websocket authentication using jwt token

The cli expects to receive websocket-access-token, websocket-refresh-token, and websocket-token-address.
It does not send the authentication header if above arguments are not provided, so it works with the old eda-server that does not authenticate incomming websocket connecitons.
Fixes AAP-17776: ansible-rulebook uses token for authentication

@bzwei the PR and commit title are not following the conventional commit style. Most probably the pre commit hooks have not been installed in your dev env.

@bzwei Since a lot of e2e tests depend on the audit events being correctly reported we should run these changes thru the eda-qa e2e tests to ensure we are not dropping any events

@bzwei Since a lot of e2e tests depend on the audit events being correctly reported we should run these changes thru the eda-qa e2e tests to ensure we are not dropping any events

Ran e2e tests in eda-qa. Auditing works fine.


jade and transformers are deprecated

npm WARN deprecated<EMAIL_ADDRESS>Jade has been renamed to pug, please install the latest version of pug
instead of jade
npm WARN deprecated<EMAIL_ADDRESS>Deprecated, use jstransformer

Rewriting the examples that use jade to use something else like pug would be a great first pull request :) !

I forgot to comment here earlier but I created a PR which converts all of the Jade templates to Pug and will resolve the issue you posted 🤘

@dougwilson might want to create a "good first pr"/"starter issue"/etc. label for that :)

@strugee that is a good suggestion. I just added the "help wanted" label. Do you think that conveys the right ask or think we need a more specific label?

@dougwilson I think that'll be useful. However it might still be a good idea to create a "starter issue" label or something to help more people get involved in the project :)

As a newcomer-ish to open source contributions, that's the label I always look for first. In-fact, that's what I was looking for when I found this!

Looks like there was interest in this. Has this issue been officially claimed/is it being worked on yet? If not, I'd love to take it on.

So there are a couple aspects about the issue. The issue itself is basically to somehow get the jade module out of our dev dependencies. The PR #3183 was made to simply completely swap it out to pug, which seemed great at first, but apparently they don't have quite the same Node.js version support we do on the 4.x branch.
I'm thinking that we could probably attack this with a couple iterations:

Examples that use jade which have no particular need to use a template at all can just remove template from them (the search example can just be a static page, with search.jade -> public/index.html and client.js -> public/client.js and then use express.static).
Examples that use a template engine, but which one doesn't matter can maybe use ejs or something else (?) not fully thought out
The "jade" example could either be converted just to pug (which PR #3183 already does) or convert it to a different template engine

I proposed ejs as the "different" engine simply because we already have that one in the dev deps. Other thoughts welcome :)
I hope that helps everyone.

And that doesn't have to be one giant PR :) Incremental progress PRs are certainly welcome.

I'm happy to work on your suggestions @dougwilson
Removing Jade examples might be a great way to push forward and reintroduce Pug when the dependencies are settled.
We could look at other engines, e.g. react views, handlebars. With good enough documentation, I don't really see the need for examples to live amongst the express codebase. A topic covered many times before 😏

Ok, jade has almost been removed through PRs from @notrab 👍

@strugee, I've been lurking repos to see where I could contribute. Node uses the good first contribution tag so that may be cool to use.

Yea, the "help wanted" is a default tag from somewhere. I added the "good first contribution" tag now, and even got one done: https://github.com/expressjs/express/issues?utf8=✓&q=is%3Aissue label%3A"good first contribution"  👍


Typo "availability" should be "availability set"

This:
When more than five virtual machines are configured within a single availability with five update domains, the sixth virtual machine is placed into the same update domain as the first virtual machine, the seventh in the same update domain as the second virtual machine, and so on.
Should be:
When more than five virtual machines are configured within a single availability set with five update domains, the sixth virtual machine is placed into the same update domain as the first virtual machine, the seventh in the same update domain as the second virtual machine, and so on.

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

ID: 7342d51a-4565-df38-ec28-03c140464e73
Version Independent ID: 78938f56-dc65-055c-a238-015f1de5b900
Content: Availability sets overview - Azure Virtual Machines
Content Source: articles/virtual-machines/availability-set-overview.md
Service: virtual-machines
GitHub Login: @mimckitt
Microsoft Alias: mimckitt

@mkennten Thanks for pointing this out. The document is updated and changes will go live soon.


go get -u github.com/opensibyl/sibyl2 error

github.com/smacker/go-tree-sitter/javascript: ambiguous import: found package github.com/smacker/go-tree-sitter/javascript in multiple modules
Use the opensibyl fork, and add a tag.

did not happen now


Unstaking has not occurred

Package
Unstake
What wallet app are you using to connect?
Valora
Browser
Safari
Describe the bug
Good day to whomever is reading this.
I had unstaking my stCELO from the DAPP and I haven’t received my CELO. Even after waiting three days I was not able to see the countdown even after my stCELO was sent to the burn wallet. This is the Tx Hash for the transaction. 0x6042dac2372c765524773ff7e1ff998758caee598f998645514ee43d61b9ba51
This is also the wallet that was used to burn the stCELO. 0x0000000000000000000000000000000000000000
Here are images of the transactions.

I also encountered the problem of not being able to unstake

I also encountered the problem of not being able to unstake

Yeah I hope we haven't lost our Celo honestly.

我还遇到了无法解除股份的问题> > 我还遇到了无法解除股份的问题>> 是的，我希望我们没有诚实地失去我们的Celo。>> 是的，我希望我们没有诚实地失去我们的Celo。yes

Hi @Katamosu, are you still having this issue?
Did you use the stCELO webApp when withdrawing or did you send your transaction directly to the contract without connecting to the webapp?
It is recommended that you use the webApp UI when interacting with stCELO, as there are additional functions that needs to be called during the withdrawal process. See deposit and withdrawal flow documentation.
I have manually processed the transaction on your behalf, based on the address provided above, so now you should be able to see the pending withdrawals that should unlock in 3 days.
In the future, please use the stCELO webApp UI, to avoid this issue.

Closing as stale


GetElementById

I'm using winforms ( VB.NET )
i want to accomplish the same as the build-in browser, fill a form from a website with a value from my textbox, but i cant seem to get it to work or find an answer on internet
i've got it working with the build-in browser, with this code:
WebBrowser1.Document.GetElementById("ctl00_ContentPlaceHolder1_txtUserName").SetAttribute("value", TextBox1.Text)
How do i make this work with CefSharp?
Greetings!

Already asked at https://stackoverflow.com/questions/63782001/how-to-handle-getelementbyid
Please only ask in one place.


Upload manifest issues

It appears there are multiple issues related to data upload. This appears to only being happening on the production_testing branch

Saved data is stored at behavior_behavior_<mouse_id>_<date time> instead of behavior_<mouse_id>_<date time>
The behavior modality is not accurately being added to the upload manifest

I suspect the behavior_behavior_ issue is something to do with https://github.com/AllenNeuralDynamics/dynamic-foraging-task/pull/1003. @micahwoodard Can you take a look?
I suspect the behavior modality not being added is due to https://github.com/AllenNeuralDynamics/dynamic-foraging-task/pull/1051 causing a breaking change. @XX-Yin Can you take a look?

To be explicit about the behavior modality: the upload manifest code checks for Modality.BEHAVIOR in stream.stream_modalities, yet in sessions generated by the testing branch, there is no Modality.BEHAVIOR in stream.stream_modalities.
@XX-Yin Is this intentional? If so, we need to modify the upload manifest code. If not, we need to fix how we make the session.json

It's intentional to remove the behavior from the stream per Saskia's suggestion. This is one error I found.

@alexpiet I will make PR to update the manifest code


Serializability of the data passed to IMonitoringProducer must be defined

Currently, IMonitoringProducer accepts data in the form of Object instances.  This works fine for objects which never leave the address space of the JVM.  However, this limits how the data can be used.  Specifically, it prevents the platform from being able to investigate ways of passing this data between servers on the same stripe, which will likely be required for effective monitoring of passive server state and entities.
Here are 3 suggestions for how to address this, to get the conversation started:

Change the value type from Object to Serializable.  This is simple but does fix the serialization approach which may appear sub-optimal to some use-cases.
Change the value type from Object to byte[].  This maximizes the freedom of the serialization approach but pushing this burden into the services and entities does make their implementation quite cumbersome.
Require that a codec is passed into the monitoring service when it is looked up (as part of its ServiceConfiguration).  This works well on the encoding side but not so well on the decoding side where it isn't clear which codec would be used (although it may be possible to assume they are the same, between servers, for a given consumer ID).

@mathieucarbou @anthonydahanne @myronkscott @ramsai1729: Let me know what you think.

I would be in favor of 1. As we discussed, this seems to be the easier one and then the platform would be responsible for the serialization, the way it wants to do it.

I also like 1 for its simplicity.
As a voltron user, 2 does not sound appealing :-)
if 3 was chosen I'm pretty sure we would use a VoltronProxy-like layer to handle and keep in sync the codecs across nodes

For the most part, this change to Serializable is relatively straight-forward.  The exception to this appears to be in PlatformClientFetchedEntity since there is a ClientDescriptor as part of it.
My current thinking is to make this a transient instance variable for 2 reasons:

This is somewhat similar to the idea of a file descriptor in that deserializing it doesn't mean that you can use it in any meaningful or safe way
The only reason why we are likely to serialize this object (and this MUST be documented in the class) is if we are passing information from the passive back to the active and PlatformClientFetchedEntity instances aren't created on the passive (meaning that this is well-defined way of limiting the scope of what is probably a moot point)