Implementing Equals()/GetHashCode() causes YesSql to fail

Implementing Equals() and GetHashCode() on an entity class causes Save to fail.
With a model like this:
class Person
{
    public int Id { get; set; }
    public string FirstName { get; set; }
    public string LastName { get; set; }

    public override bool Equals(object obj)
    {
        var other = obj as Person;
        return other != null &&
            this.FirstName == other.FirstName &&
            this.LastName == other.LastName;
    }

    // Any implementation of GetHashCode - using this for example
    public override in GetHashCode() => HashCode.Combine(FirstName, LastName);
}

A test like this will fail:
IStore store = InitStore(); // Create a store with any configuration
using (var session = store.CreateSession())
{
    var person = new Person() { FirstName = "Joe", LastName = "Bloggs" };
    session.Save(person);
}

using (var session = store.CreateStore())
{
    var dbPerson = session.Query().For<Person>().FirstOrDefault();
    var dbPerson.FirstName = "Bob";
    session.Save(dbPerson); // Fails on save
}

With the code above, Session.Save(object) throws the error: System.ArgumentException : An item with the same key has already been added. Key: 1
If Id is included in the Equals()/GetHashCode() methods, the test fails on the first save with the exception: System.InvalidOperationException : The object to save was not found in identity map.
I do have a change which can fix this, but I wasn't sure about raising a pull request.

Probably because you have two items with the same hashcode (i.e. same Firstname/LAstname), however I would expect it to handle conflicts.
The issue with the Id is the opposite one, it varies the hashcode before and after you call Save, so it won't find it in the expected dictionary bucket.

Basically any implementation of GetHashCode makes YesSql unusable.
Any idea of a solution / workaround?

@AkosLukacs use a wrapper class instead, i.e. keep the db entities free of any logic, including equality comparison.

@AkosLukacs use a wrapper class instead, i.e. keep the db entities free of any logic, including equality comparison.

@dlidstrom Yes, did that. Btw the type was a record type from F#, the compiler "implements" GetHashCode.

Good catch! That means F# records should be annotated with ReferenceEquality attribute in order to be used with YesSql.


Some element features are not visible on low-quality displays

When displaying UI in displays not supporting high contrast, certain parts like input in vaadin-text-field are not visible
Here a screenshot of the projector installed in lounge

Here the same in thunderbolt display

This is unfortunate but expected. The visual style is such that it’s not really possible to make it look nice in both regular displays and in projectors or TVs.
We could offer a high-contrast version of the theme for these situations, or maybe use some media query to use different styles on certain devices.

FYI: the Color Contrast analyzer shows the following output for preset "Level AA, Small Non-Bold Text (4.5:1)"
Personally, as a short-sighted person, I would suggest using better contrast, especially in Valo demo page sidebar, and also for labels and placeholders.
See also color contrast section in the Web Components Gold Standard checklist.

@web-padawan, I agree, thanks for the resources. The demo sidebar has really poor contrast, and I’ll fix that specifically as well.
I have some changes pending in my local repo that should fix some of the contrast issues. I’m using the awesome contrast-grid tool for checking the default color contrast ratios (the dark version as well). Those are still with older colors, I’ll have to redo the exercise.

@web-padawan, I hope the new version improves the situation. I tried to make the colors comply with 3:1 contrast ratios (or better) in most cases (used the Chrome add-on for testing).
Please take a look: https://cdn.vaadin.com/vaadin-valo-theme/2.0.0-alpha5/demo/

Thank you @jouni, it does look much better now. Both sidebar and controls contrast is nice to me.

I tested the default colors with our office TVs, and all of them worked okay, in my opinion, no obvious contrast issues.
Tested with an old Samsung display (710T S), and there are some problems still. The main issue is the text field style, as the gray background is really light and not very well visible. Though, even Google has similar issues in some of their products (like Drive). I’m probably going to try and tweak the grayscale colors a bit more so that the jump from 5% to 10% is not so drastic, and we could then use 10% for the text field background.
Projectors are definitely still a potential issue, but I’m willing to sacrifice that for a nicer overall look and feel.

Could you at least check if it works in the projector at the lounge, I think covering all kind of devices is hard, but at least this might be a reference

Yeah, sure, but I’m still skeptical I can do much about it. Maybe we’ll add a hidden feature, that you can toggle some “increased contrast mode” with a special URL parameter 😝


NMAP device tracker not respecting track_new_devices directive

Looks like nmap device tracker does not respect "track_new_devices: false" in config.  New MAC devices are tracked, added to known_devices, and show up in front end.
Home Assistant release (hass --version):
0.38.3 (but no mention of changes to nmap component since then)
Python release (python3 --version):
3.4.2
Component/platform:
nmap : device_tracker
of Raspberry Pi 3.
Description of problem:
NMAP device tracker ignores "track_new_devices: false"
Expected:
New MACs detected are either ignored or added to known_devices with "track : false"
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):

Additional info:

Having same issue 0.38.4.

Same issue in 0.39.2.

brahmafear, I was reading on https://home-assistant.io/components/device_tracker/ and it reads as follows:
The following optional parameters can be used with any platform. However device tracker will only look for global settings under the configuration of the first configured platform
I looked at my config and I had OwnTracks above NMAP, which means that the track_new_devices was most likely not adhered to, since it was defined on the second tracker on the list.
I moved OwnTracks below NMAP, deleted one of my devices, restarted HA, and watched the deleted device get recreated.
The track was set to false.
On your config, does the first tracker have track_new_devices defined?
Here's what fixed it for me:
`device_tracker:

platform: nmap_tracker
hosts: !secret home_ip_range
track_new_devices: false
interval_seconds: 30
consider_home: 600
home_interval: 10
scan_options: " --privileged -sP "
platform: owntracks
max_gps_accuracy: 100`

@nordicblue - I hadn't noticed that aspect of those parameters - IE, those settings are only applied if included within the first platform.  Two issues with this -- why is this a global setting and not a per platform setting?  Also, I use a include_dir_merged_list for the device tracker section and have each platform in a separate file.  How am I to determine which is 'first'?

That's a great question that I don't have an answer for:) I agree that it should not be global setting, maybe one of the great HA gurus can update this for us in a future release.
Going to guess that they may load in alphabetical order or by create date....
Question, why have separate files for each tracker? It's not that many lines of yaml that finding what you need in a single file would be difficult. Not trying to tell you how to organize yours, but if you put them into a single file, then easy enough to know which one is loaded first. And, this way, you could fix it for now.
I'm just happy that I found a solution that works for now. Having friends devices become trackable, when they come over and connect to melt network the first time, got highly annoying.

Yeah, guess I should create a feature request.
Deciphering globbed file order in linux is magic and can't be predicted.  ;-)
Good point about multiple files - and I'm going to switch to a single one for now.  The main reason is that I can disable certain trackers by adding ".disabled" to the file name and restart hass.  That was easier to me then going in to a file and commenting out a section.

Didn't think of renaming files to disable things. Pretty nifty idea though:)


[TA] Update release date and increase versions

/azp run java - textanalytics - tests

API change check
API changes are not detected in this pull request.


Add citation info to README and pod

The citation info is currently not in every log and also not if only using --help but only in the README and when using --man (which has been fixed).
This resolves AliTVTeam/AliTV#129

Coverage remained the same at 99.181% when pulling 54085de29026cba60dedf8af7ce55507ba43e9d1 on develop into 7fb4b31a4352d52b0fafb19ce9ef88c7ba4489fd on master.

Thanks for the review, added myself to the list of authors and fixed the <>

Coverage remained the same at 99.181% when pulling 0452b4ba84e74463ccb5f03fe5548d9ab11626a4 on develop into 7fb4b31a4352d52b0fafb19ce9ef88c7ba4489fd on master.


Unable to save HAR file when a CypressError is raised during the test

This spec DOES NOT generate a har file when run.
describe("Smoke", () => {
  beforeEach(() => {
    cy.recordHar();
  });

  afterEach(() => {
    cy.saveHar({ fileName: "smoke.har" });
  });

  it(["pre-deploy"], "loads the webpage without any issues", () => {
    cy.visit("https://website-that-doesnt-exist.com");
  });
});

I would expect the above spec to fail because it will get an ENOTFOUND error, however I would still like a HAR file in this case.
If you tweak it to this then it does generate a HAR file.
describe("Smoke", () => {
  beforeEach(() => {
    cy.recordHar();
  });

  afterEach(() => {
    cy.saveHar({ fileName: "smoke.har" });
  });

  it(["pre-deploy"], "loads the webpage without any issues", () => {
    cy.visit("https://google.com");
  });
});

If you make the version pointing to a valid website fail in a different way then it will still generate a HAR file. For example, this fails but will still give you a HAR.
describe("Smoke", () => {
  beforeEach(() => {
    cy.recordHar();
  });

  afterEach(() => {
    cy.saveHar({ fileName: "smoke.har" });
  });

  it(["pre-deploy"], "loads the webpage without any issues", () => {
    cy.visit("https://google.com");
    cy.get("body").should("not.exist");
  });
});

Ideally, I would like all three to still generate a HAR file to allow me to debug what is causing the CypressError.

@gavinhenderson unfortunately, there is no quick fix. Cypress uses cy.request handling cy.visit sending requests via some proxy, outside of the browser. Perhaps, it can be solved by #59 intercepting the requests made by cy.request (simular to #48).

Hey @derevnjuk thanks for the reply and explanation. I had assumed that cy.visit was doing requests via the browser but I can now see what you mean about it happening outside the browser. This, isn't really a problem for me anymore because I have solved the root of the problem for my site so feel free to close this issue

@gavinhenderson I'll keep the issue open to verify it while working on issue #59. Currently, converted to a feature request.

Question:  When I have an error, the ScreenShot is done and I can trap that event
Is there a way to generate the HAR from here?
const { defineConfig } = require('cypress')
module.exports = defineConfig({
  e2e: {
    setupNodeEvents(on, config) {
      on('after:screenshot', (details) => {
        /*
       is there a way to save the HAR file from here?
       I tried  cy.saveHar but get an error that cy is not defined
       */
      })
    },
  },
})


lib.fileset.toList: init

Description of changes
This adds lib.fileset.toList to turn a fileset into a list of its files as requested in https://github.com/NixOS/nixpkgs/issues/288592. See also this Discourse thread for the motivation.
This work is sponsored by Antithesis :sparkles:
Things done

[ ] Tidy code
[x] Documentation

[ ] Mention strictness

[ ] Tests

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

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/tweag-nix-dev-update-54/39990/1


Migration to v2 streamer 🚧

This is more of a collection of issues rather than a single one ;)
As discussed, I think it would be best to first create two new Heroku environments. For this I would first rename the current Heroku project into something like crowdbreak-v1 and then name new one crowdbreaks. Then I would create a staging and production environment for the new project, add the same Heroku add-ons as in crowdbreaks-v1 and then deploy the current Crowdbreaks code. After the whole migration is finished you can simply point the DNS (in Namecheap) to the new Heroku instances and delete crowdbreaks-v1.
The major changes between v1 and v2 are:

Removal of the Flask API. On the Rails side the code for communication with Flask can be found in app/controllers/apis_controller.rb, so most changes willl happen there.
Streaming is now fully containerized and restart of stream is automatically triggered on config change
The streamer now doesn't contain any tweet ID queues anymore, this means the selection for tweets for public annotation has to be done differently. A Redis-based priority queue used to hold a pool of 1000 recent tweets with the priority equalling the number of times they had been annotated. One solution is to store public annotations on Elasticsearch by adding a field annotations to the ES mapping which will contains an array of annotations. Then we can query Elasticsearch without the need for any priority queues.

The migration involves the following (listed by importance):

Starting/stopping the stream code. Involved and API call to Flask, can probably now be easily done via AWS API call
Modifying project configs code. Involved API call to Flask, now simply updating a json file on S3 will be sufficient. The streamer will then automatically start.
Visualizations, i.e. query sentiment trend/predictions code. Here we make an API call to Flask which then queries Elasticsearch (see here). The idea is to do this now directly from Rails. This will involve re-writing the Elasticsearch query in Ruby.
Get tweet in stream mode code. Again a Flask API call is done to fetch a new tweet for annotation from the priority queue. Since we removed queues instead here we should make a call to Elasticsearch, which should retrieve us a recent tweet which has not been annotated by the requesting user and has not yet been annotated more than 3 times. Any sort of uncertainty sampling criterion could be added here, but this would be experimental, see query strategies in active learning.
Communication with Sagemaker (e.g. list models or update models or predict for the ML playground interface). The idea here was to keep a list of endpoints for each project. Each project would have a list of active endpoints (endpoints which are used for inference) as well as one endpoint which is marked as primary (considered as the currently best model). As for now these are FastText models. Because querying the Sagemaker API constantly is problematic, the endpoint info is cached as JSON in the projects table in Rails. As above, Rails communicates with Sagemaker through Flask (see Flask code here. This means this logic will have to be implemented on the Ruby side.
Daily/weekly status emails: The status reports are compiled on Rails and are triggered by the Heroku scheduler. Here we make a call to Flask to get counts of tweets collected per day/week. This information we could probably get from AWS kinesis via API call. Otherwise, this feature could be discontinued as well.
Stream monitoring (interface): Is cool to get an idea of the throughput. Again, this could be done via direct calls to Elasticsearch from Rails instead of through Flask. But def. isn't high priority.
Managing Elasticsearch indices (interface): Not really necessary anymore. When creating a new project a ES index is now automatically created on the streamer side (currently one has to do this manually).

Note that some code in ApisController are remnants from a distant past ;) and can be removed. This includes update_sentiment_map, any visualizations for the COVID-19 project (StreamGraphKeywords, trending topics, trending tweets, controller actions get_stream_graph_data, get_stream_graph_keywords_data). Don't forget to also clean up the respective routes for these actions.

Thanks Martin!
Sagemaker predictions are currently handled in a processing lambda in v2. Before sending the data to ES, if there're Sagemaker endpoints in the project config, it envokes the endpoints. There're rare internal server errors.


FIX: TSV2JSON should convert empty TSV files to empty JSON files

Hello @effigies, thank you for submitting the Pull Request!

In the file niworkflows/interfaces/tests/test_utility.py:

Line 37:1: E302 expected 2 blank lines, found 1

To test for issues locally, pip install flake8 and then run flake8 niworkflows.


Endless Scrolling with RecyclerView question

In this example Endless Scrolling with RecyclerView we pass LinearLayoutManager to constructor of EndlessRecyclerViewScrollListener class is this the best approach?
With this implementation we can't use GeidLayoutManager for example and we create a new instance of LinearLayoutManager inside ScrollListener class. Why not use abstract methods to get total and first visible items?

Also there is an instance of RecyclerView which we can use to get layout manager.
public void onScrolled(RecyclerView recyclerView, int dx, int dy)

Take a look at http://guides.codepath.com/android/Endless-Scrolling-with-AdapterViews-and-RecyclerView.   Somehow this page was brought back alive and doesn't contain the newer layout maangers.


Export DMN as .ods, .xlsx or PNG

It could be a good idea to get export features for DMN tables, typically to share it with non technical collaborators as sheet files, or as PNG for illustrate our documentations.
Thanks for taking note, and thanks to camunda team for their great job.

Unfortunately we don't have the resources to act on this topic any time soon.
We'd appreciate contributions and/or pointers to related work on this, though.

Please resurrect this requirement!  We need confirmation from business users on our logic and have captured it all in DMN tables. They have requested PDF versions that they can show to their leadership but we can't do it, and therefore are recreating everything in Excel.

Adding DMN view / edit support in Cawemo, our cloud-based, collaborative and business user friendly modeling environment is on our roadmap.
Consider Cawemo to bring business users and technical stakeholders closer together, not PDF support.


Standardize style

This PR cleans up some unused dependencies and style issues in the code. We're preparing to add CI and testing to this package during the hackathon, and a style check is a good thing to include in CI.
One thing to note - there was a util.py file that seemed to do nothing, is this safe to remove?

Yeah, util.py was accidentally kept around.


[BUG] Using the range from-to syntax, some IPv6 addresses fail

Describe the bug
The "range" configuration parameter allows addresses in a from-to format, e.g.
"range": "2001:d3ad:b33f:f00d:d00d:d00d:000:0000-2001:d3ad:b33f:f00d:d00d:d00d:0000:0004/64",

Which would allocate 5 IPv6 addresses. Some IPv6 addresses however, wind up parsing into a name key for the CRD names that are invalid. With the above range resulting in an error such as:
Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create pod network sandbox k8s_samplepod_default_3f6249c4-191e-44ea-9ef3-f5d8b5d707a6_0(a2dd58c84fcf5069c52b2c229d66639f1e8fd510f1b8a05058e25d89666944fd): error adding pod default_samplepod to CNI network "multus-cni-network": plugin type="multus" name="multus-cni-network" failed (add): [default/samplepod/3f6249c4-191e-44ea-9ef3-f5d8b5d707a6:wb-rangeerror-conf]: error adding container to network "wb-rangeerror-conf": error at storage engine: OverlappingRangeIPReservation.whereabouts.cni.cncf.io "2001-d3ad-b33f-f00d-d00d-d00d--" is invalid: metadata.name: Invalid value: "2001-d3ad-b33f-f00d-d00d-d00d--": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')

Expected behavior
Parses properly.
To Reproduce
Steps to reproduce the behavior, use this set of yaml:
---
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
  name: macvlan-conf
spec:
  config: '{
	"cniVersion": "0.3.1",
	"name": "wb-rangeerror-conf",
	"plugins": [{
		"type": "macvlan",
		"master": "eth0",
		"mode": "bridge",
		"ipam": {
			"type": "whereabouts",
			"range": "2001:d3ad:b33f:f00d:d00d:d00d:000:0000-2001:d3ad:b33f:f00d:d00d:d00d:0000:0004/64",
			"gateway": "2001:d3ad:b33f:f00d::1"
		}
	}]
}'
---
apiVersion: v1
kind: Pod
metadata:
  name: samplepod
  annotations:
    k8s.v1.cni.cncf.io/networks: macvlan-conf
spec:
  containers:
  - name: samplepod
    command: ["/bin/ash", "-c", "trap : TERM INT; sleep infinity & wait"]
    image: alpine

Environment:

Whereabouts version : master
Kubernetes version (use kubectl version): v1.23.6
OS (e.g. from /etc/os-release): Fedora 35

In Doug's words, a workaround to this issue exists, which I am including for reference in case someone is blocked before we resolve this issue:
"As a work around in the meanwhile, what you can do is specify the range as so...
{
	"type": "whereabouts",
	"range": "2001:1b74:480:603d:0304:0403:000:0000/125"
        "range_start": "2001:1b74:480:603d:0304:0403:000:0000",
	"range_end": "2001:1b74:480:603d:0304:0403:0000:0004",
	"gateway": "2001:1b74:480:603d::1"
}

the /125 is a range of 8 addresses, and we use the range_start and range_end to specify a subset of those addresses to only allocate 0 through 4."

I found the source of the bug. Haven't provided a fix yet, but here's an update:
See the following 2 cases. In the first case the range is parsed and the error appears. In the second case the range is parsed and no error appears.
Case 1 - Error case
(logs from whereabouts code)
2023-01-25T18:49:35Z [debug] (before) n.IPAM.IPRanges[idx].Range: 2001:1b74:480:603d:0304:0403:000:0000-2001:1b74:480:603d:0304:0403:0000:0004/64
2023-01-25T18:49:35Z [debug] (after) n.IPAM.IPRanges[idx].Range: 2001:1b74:480:603d::/64
2023-01-25T18:49:35Z [debug] (after) n.IPAM.IPRanges[idx].RangeStart: 2001:1b74:480:603d:304:403::
2023-01-25T18:49:35Z [debug] (after) n.IPAM.IPRanges[idx].RangeEnd: 2001:1b74:480:603d:304:403:0:4

(logs from describing the pod)
Warning  FailedCreatePodSandBox  7s    kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create pod network sandbox k8s_samplepod_openshift-multus_13586fb1-7414-4f43-982c-e103c7f74b6d_0(9a7a7bd838f1a82735bbfa7b4de9994397bc5a9f419d91a96cf70e2e5b043af4): error adding pod openshift-multus_samplepod to CNI network "multus-cni-network": plugin type="multus" name="multus-cni-network" failed (add): [openshift-multus/samplepod/13586fb1-7414-4f43-982c-e103c7f74b6d:wb-rangeerror-conf]: error adding container to network "wb-rangeerror-conf": error at storage engine: OverlappingRangeIPReservation.whereabouts.cni.cncf.io "2001-1b74-480-603d-304-403--" is invalid: metadata.name: Invalid value: "2001-1b74-480-603d-304-403--": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')

Case 2 - No error case
(logs from whereabouts code)
2023-01-25T19:06:06Z [debug] (before) n.IPAM.IPRanges[idx].Range: 2001:1b74:480:603d:0304:0403:000:0001-2001:1b74:480:603d:0304:0403:0000:0004/64
2023-01-25T19:06:06Z [debug] (after) n.IPAM.IPRanges[idx].Range: 2001:1b74:480:603d::/64
2023-01-25T19:06:06Z [debug] (after) n.IPAM.IPRanges[idx].RangeStart: 2001:1b74:480:603d:304:403:0:1
2023-01-25T19:06:06Z [debug] (after) n.IPAM.IPRanges[idx].RangeEnd: 2001:1b74:480:603d:304:403:0:4

(no error logs appear when describing the pod, all logging is standard)

We can see in the error case that the ip range is parsed by whereabouts to end like ...403:: meaning it ends in 2 colons, whereas in the no-error case, it ends with ...403:0:1. I think that the parsing converts colons to - (dash) symbol...which is correct technically. The issue however is it does not insert a 0 after a colon/dash and so we get something like the error case with trailing --.

The ending in dashes is a problem, like, the way that we munge the address and how it's stored as a custom resource, it must start and end with an alphanumeric character. So I like the idea of tagging on the zero there, as that should be equivalent when ending in ::
Nice sleuthing Nikhil! :tips-hat:


Remove basil from cppcheck

Description
With confirmation that the Java 11 update is working in https://github.com/jenkinsci/cppcheck-plugin/pull/56#issuecomment-1175060915, my work here is done. I have marked the plugin for adoption already.

https://github.com/jenkinsci/cppcheck-plugin

Submitter checklist for adding or changing permissions

Always

[x] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[ ] Add link to resolved HOSTING issue in description above

For a new permissions file only

[ ] Make sure the file is created in permissions/ directory
[ ] artifactId (pom.xml) is used for name (permissions YAML file).
[ ] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[ ] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[ ] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[ ] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[ ] Make sure to @mention the users being added so their GitHub account names are known if they require GitHub merge access (see below).
[ ] All newly added users have logged in to Artifactory at least once

Reviewer checklist (not for requesters!)

[ ] Check this if newly added person also needs to be given merge permission to the GitHub repo (please @ the people/person with their GitHub username in this issue as well). If needed, it can be done using an IRC Bot command
[ ] Check that the $pluginId Developers team has Admin permissions while granting the access.
[ ] In the case of plugin adoption, ensure that the Jenkins Jira default assignee is either removed or changed to the new maintainer.
[ ] If security contacts are changed (this includes add/remove), ping the security officer (currently @Wadeck) in this pull request. If an email contact is changed, wait for approval from the security officer.

There are IRC Bot commands for it

Thank you!


Repositories that require login stop import processing until credentials are entered

The internal github Enterprise server requires a user login EVERY time a clone is done.  In panhandler, this means that when importing a skillet repository, the user has to enter their username and password.  This means they either have to attach to the docker container and enter their id and password and hit enter, or if they are running it via source, they need to submit the username/password on the cmd line of their server and then processing continues.

can they use SSH based credentials?

This was fixed in cnc commit: 55e7f2b9ed430ee9f1644601c983ad7d63f4835b. The fix is to use the GIT_ASKPASS env var when we detect an http like URL scheme. Since this is in a container, private repos using http can't be supported, The user must use SSH based auth in this case (which is better). ASKPASS points to fake binary which will always cause auth to fail fast. This usually only happens when a user enters a git URL that doesn't exist


Refactor interface for free diagrams and (co)limits

Refactors the interface for free diagrams and defines the interface for limits and colimits:

Submodule ShapeDiagrams renamed to FreeDiagrams to conform to terminology of the nLab
Free diagrams of specific shapes: multispans, multicospans, and parallel morphisms and, as special cases, spans, cospans, and parallel pairs
Free diagrams of arbitrary shape, based on C-set graphs
Conversion of the specialized diagram types to general diagrams
Data structures for limits and colimits, both general and specific, which encapsulate the diagrams that they are (co)limits over (#185)
Consistency with GATs for categories with (co)limits (#177)
Implements iteration interface for both free diagrams and (co)limits (#185)

Resolves #171 and resolves #185.

@jpfairbanks @mehalter @olynch, I'd appreciate any feedback since you've all had thoughts on/worked on this part of the codebase.

It seems to me like this just consolidates and cleans up the shapes, but fundamentally doesn't change how they are used. That is, this solves little inconsistencies, but doesn't really rethink how we are doing limits and colimits.
One crazy idea that would be a rethinking of how we do limits and colimits would be to have a type like a CSet, but for generic categories; i.e. a functor from a small, presented category to a generic category. This would be implemented by a vector of objects and a vector of homs in the generic category. Then we could have natural transformations between such types, which would again just be vectors of homs. A (co)limit would result in a natural transformation from the constant functor (which would be another implementation of the abstract interface of a functor from a small category to a generic category) to the original diagram.
But this is probably not a good use of your time to implement as it fundamentally wouldn't change much, and though it might be a good use of my time, I think I should finish other things before starting a new project.

That's right, there is nothing radical here: just trying to clean up and improve the approach we already have.
If/when we have more general machinery describing functors into an arbitrary category, we could consider re-expressing (co)limits in the style that directly mirrors in the standard mathematical presentation, but I agree that is a project best left for another day :)


[Feature] A naive REPL

Naive means nothing more, just a REPL. Advanced features should be done in others issues.

NOTE: Maybe trigger it on save?

https://github.com/racket-templates/guiapp/blob/master/main.rkt seems like a good start.

Note the paper https://www2.ccs.neu.edu/racket/pubs/icfp99-ffkf.pdf refers to an earlier version before the introduction of the module system.

Need to figure out which is a better way for executing the whole program and get output.

Since the target already archive, just close this first. Advanced issues leave for other issues.


Rocky 9 cmctl check api inconsistent/fails

I'm seeing an issue with cmctl running on Rocky 9.1 and 9.2 seemingly regardless of the k8s version:
[root@ip-xx-xx-xx-xxx ~]# cat /etc/rocky-release
Rocky Linux release 9.2 (Blue Onyx)
[root@ip-xx-xx-xx-xxx ~]# cmctl check api --wait=10m
The cert-manager API is ready
[root@ip-xx-xx-xx-xxx ~]# cmctl check api
[root@ip-xx-xx-xx-xxx ~]# echo $?
1

I get the same results with cert-manager v1.5 and (after I ignored the failing check and upgraded to) v1.11.2
NAME        	NAMESPACE   	REVISION	UPDATED                                	STATUS  	CHART               	APP VERSION
cert-manager	cert-manager	3       	2023-05-23 13:28:09.097508597 +0100 BST	deployed	cert-manager-v1.11.2	v1.11.2

Seen on K8s versions, v1.25.9, v1.21.5, v1.23.17

Hi, facing a similar issue on Mac (13.3.1).
Running cmctl check api  returns 0 (via echo $?).
But running cmctl check api --wait=10m returns The cert-manager API is ready within a couple of seconds.

Thanks @inteon

Tested and working, much appreciated


Draw map coordinate

It would be nice to have map coordinate from A1 to E5.

Please don't make it A-D 1-4 like VNDOT.


separate eslint and prettier package

close https://github.com/Jonghakseo/chrome-extension-boilerplate-react-vite/issues/515
eslint package

Set .eslintignore to ignorePatterns in base.js of the eslint package

Move all eslint-related packages from the root package.json to the eslint package

Added the following sections to the package.json of each package

{
  "devDependencies": {
    "@chrome-extension-boilerplate/eslint-config": "workspace:*",
    "eslint": "8.57.0"
  },
  "eslintConfig": {
    "root": true,
    "extends": [
      "@chrome-extension-boilerplate/eslint-config/base"
    ]
  },
}

prettier package

Added the following sections to the package.json of each package

{
  "devDependencies": {
    "@chrome-extension-boilerplate/prettier-config": "workspace:*",
  },
  "prettier": "@chrome-extension-boilerplate/prettier-config"
}

Other details

Applied the above changes to the package.json of the tailwind-config package and added a tsconfig file

Added exclude to the base file of the existing tsconfig package

The following warning keeps occurring due to version issues when linting (this is not limited to this PR)

WARNING: You are currently running a version of TypeScript
which is not officially supported by @typescript-eslint/typescript-estree
SUPPORTED TYPESCRIPT VERSIONS: >=4.3.5 <5.4.0

I faced Cannot find moudle error in my Webstorm. :(
Error: Failed to load plugin 'react' declared in 'package.json » @chrome-extension-boilerplate/eslint-config/base': Cannot find module 'eslint-plugin-react'

@wonkyDD Any moves forward?

@Jonghakseo  @PatrykKuniczak
I apologize for the delayed update.
I have some scheduled commitments for a while, so it will be difficult to focus on this.

I apologize for the delayed update.
I have some scheduled commitments for a while, so it will be difficult to focus on this.

@wonkyDD
No need to apologize! Thank you for always being so kind to this project. Your contributions are very helpful to me and other developers :)

@Jonghakseo @PatrykKuniczak I apologize for the delayed update. I have some scheduled commitments for a while, so it will be difficult to focus on this.

I also has a lot to do IRL and now i'm more free to do sth, i totally understand you :)

To keep ESlint behavior inside the IDE in Webstorm, I ended up having to install eslint config and plugin inside each package (page). While this worked fine via the CLI, I ran into issues with IDE support, which resulted in a drop in DX. 🫠

@Jonghakseo You suggesting to don't separate these packages?

@Jonghakseo You suggesting to don't separate these packages?

IMHO.... Yep...
At least, users who use a WebStorm are uncomfortable with this separation.

@Jonghakseo I using webstorm :)
On that condition i think, we can close this thread


feat: terraform for release deployments

simply run spartan/terraform/deploy-release/deploy.sh. Gives a public network with 3 validators in GCP with proving on.

Merging without changes because I don't want to mess with this branch more; its current commit was the exact one that deployed what is rough-rhino.


openpgp: signature made by unknown entity

I tried to upgrade from my locally built debiman to debiman 0.0~git20180319.c870bfe-2 from the Debian package, but the debiman call will fail:
$ debiman -serving_dir=/srv/man -local_mirror=/srv/mirror -sync_suites='' -sync_codenames=wheezy,jessie,stretch,buster -base_url=http://example.com/man
2018/05/02 15:11:54 main.go:185: gathering packages: LoadInRelease(dists/wheezy/InRelease): openpgp: signature made by unknown entity

Not right now. That will require some plumbing in pault.ag/go/debian/archive first.

Then this bug report is about requesting this.


Feature Request: Support for the MGRS tile grid

Hello, morecantile looks like a very useful package which I would ideally like to use in combination with rio-tiler to split my image datasets into Military Grid Reference System (MGRS) tiles. This format is the base gridding system for many remotes sensing datasets, including the Sentinel-2 optical satellite mission.
Is MGRS support something that morecantile could offer in the future, and if so what can I do to contribute?

Hi @forrestfwilliams thanks for opening this discussion.
Sadly the MGRS grid do not follow the TileMatrixSet speficiation, so there is no real way to define it using Morecantile
worth noticing that the Sentinel 2 mission does not strictly follow the MGRS grid https://hls.gsfc.nasa.gov/products-description/tiling-system/
note: in https://github.com/developmentseed/titiler-digitaltwin/blob/main/titiler_digitaltwin/reader.py we've used a geojson of the MGRS grid


Helper function to reload a quantized state_dict

issue number: #162

@ManoBharathi93 your pull-request is not exactly aligned with the contributions guidelines.
In particular, please try to use conventional commits.
Regarding your tests, you simply duplicated the existing quantize tests without calling the newly introduced function, hence not verifying it works.
What I suggest for requantize tests is that you simply extract test_serialize_quantized_mlp from test_quantize_mlp.py and put it in a new test_requantize_mlp.py file.
Then, change the two lines at 123-124 to use your new helper.

replacing  line 123-124 code with  requantize(model,state_dict)

@dacorvo , can you check my changes please.

Please rebase your branch, then make sure it follows the contributing guidelines: the CI fails even before running the tests.
If you have trouble rebasing your branch, please look at the instructions in the guidenies and let me know if something is not clear.

Also, as I said before please do not cc all the test from test_quantize_mlp.py in your new test file. This increases the codebase without any benefit.

Also, as I said before please do not cc all the tests from test_quantize_mlp.py in your new test file. This increases the codebase without any benefit.

Okay I will modify in the new commit

@dacorvo, Added test for MLP and serialize_quantized_mlp only and removed rest of the tests

Commit messages:
🚩 added_requantize
🚩 Add: Helper to reload a quantized state_dict
🚩 add:helper to requantize
✅ fix:style corrections
Error: 🚫 According to the conventional-commits specification, some of the commit messages are not valid.

If you just want to reword your commits, rebase iteratively from the root of your branch:
$ git rebase -i c75cd06

In the editor, select r or reword in front of the guilty commits, save and exit.
Now, rewrite each message when prompted.
Once done:
$ git push -f origin reload_quantized_state_dict

Commit messages: 🚩 added_requantize 🚩 Add: Helper to reload a quantized state_dict 🚩 add:helper to requantize ✅ fix:style corrections Error: 🚫 According to the conventional-commits specification, some of the commit messages are not valid.

It means, red flagged commits needs to rename as fix: added_requantize,... ?

They should all start with an allowed prefix, whose list is here:
https://github.com/huggingface/quanto/commit/416db04d7eab6d5af4295864f698cf5bcb85443c

Alternatively, you can squash all your commits into one clean commit an rephrase it to feat: add requantize helper or something like that (just select s on the left while rebasing).

They should all start with an allowed prefix, whose list is here: 416db04

Then in my case all should be prefix with fix: ..

feat: add requantize helpe

Yes I was my first time  with this git features. I was squash as you said, but  it deletes all my commits and my head points to this commit c75cd now and

$ git rebase --continue

git rebase --continue

git rebase --continue
error: cannot 'squash' without a previous commit
error: please fix this using 'git rebase --edit-todo'.

ah yes, the first one must stay if you squash.
You can alwaus git rebase --abort and restart if you want

@dacorvo , Thanks for your patience and helping me, it takes some time to understand for me..

@dacorvo do  I missed something ?

@dacorvo do I missed something ? I have been waiting for your comments..test cases passed

Patience is the key ... you must understand that:

this is an open-source project,
I have many other things to do.

Also, please credit @calmitchell617 in your commit message because you basically cced his branch.

Credits:@calmitchell617 with help of his work I made this PR  Thanks 😊

@calmitchell617 work has to be merged since I reuse his code with some extra test case I am closing this pr.

@ManoBharathi93 thank you for acknowledging this. I have other issues that require help if you want to contribute.

@ManoBharathi93 thank you for acknowledging this. I have other issues that require help if you want to contribute.

😊 absolutely love to contribute.


Failing to configure agent to online VSTS

I'm trying to attach an agent via a proxy with an admin PAT key to VSTS, but it's failing to in the test phase. I do see that it's been added to the pool, but shown as offline.
When i try to run it, i get an error that's not been configured.
I read that when running a local TFS server you have to enable Anonymous Authentication, but we are using the online version so that's not possible.
What is the correct approach to make sure it's added successfully?
Have you tried trouble shooting?
Trouble shooting doc
Yes
Agent Version and Platform
2.134.2 and 2.138.6
Windows
OS of the machine running the agent? OSX/Windows/Linux/...
Windows server 2012 R2
VSTS Type and Version
online visualstudio.com
What's not working?
Please include error messages and screenshots.
./config.cmd --proxyurl http://proxyServer:8080  --url https://X.visualstudio.com --auth pat  --token

Connect:
Connecting to server ...
Register Agent:
Enter agent pool (press enter for default) >
Enter agent name (press enter for ServerName) >
Scanning for tool capabilities.
Connecting to the server.
Enter replace? (Y/N) (press enter for N) > y
Successfully replaced the agent
Testing agent connection.
VS30063: You are not authorized to access https://X.visualstudio.com.

Agent and Worker's Diagnostic Logs
[2018-08-21 13:00:19Z ERR  VisualStudioServices] POST request to https://X.vssps.visualstudio.com/_apis/oauth2/token failed. HTTP Status: Forbidden
[2018-08-21 13:00:19Z ERR  VisualStudioServices] OAuth issued token provider instance 23085090 failed to retrieve a token.
Reason: Microsoft.VisualStudio.Services.WebApi.VssServiceResponseException
at Microsoft.VisualStudio.Services.OAuth.VssOAuthTokenHttpClient.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.OAuth.VssOAuthTokenProvider.d__14.MoveNext()
[2018-08-21 09:38:08Z ERR  VisualStudioServices] GET request to https://X.visualstudio.com/_apis/connectionData?connectOptions=0&lastChangeId=Y&lastChangeId64=X is not authorized. Details: VS30063: You are not authorized to access https://X.visualstudio.com.
[2018-08-21 09:38:08Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2018-08-21 09:38:08Z ERR  Agent] Microsoft.VisualStudio.Services.Common.VssUnauthorizedException: VS30063: You are not authorized to access https://X.visualstudio.com.
at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at System.Net.Http.HttpClient.<FinishSendAsyncBuffered>d__58.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__51.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__471.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.AgentServer.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.Listener.Agent.d__5.MoveNext()
[2018-08-21 09:38:08Z ERR  Terminal] WRITE ERROR: VS30063: You are not authorized to access https://X.visualstudio.com.

I too have an issue in the test phase of setting up a VSTS agent.  In my case it times out. I'm not sure if it is related.
2018-08-21 11:11:56Z INFO RSAEncryptedFileKeyManager] Loading RSA key parameters from file C:\vstsagent\A1.credentials_rsaparams
[2018-08-21 11:12:18Z WARN VisualStudioServices] Attempt 1 of POST request to https://doitsolutions.vssps.visualstudio.com/_apis/oauth2/token failed (WinHttp Error: ERROR_WINHTTP_TIMEOUT). The operation will be retried in 10.825 seconds.
[2018-08-21 11:13:10Z WARN VisualStudioServices] Attempt 2 of POST request to https://doitsolutions.vssps.visualstudio.com/_apis/oauth2/token failed (WinHttp Error: ERROR_WINHTTP_TIMEOUT). The operation will be retried in 12.709 seconds.
[2018-08-21 11:13:36Z WARN VisualStudioServices] GET request to https://doitsolutions.visualstudio.com/_apis/connectionData?connectOptions=0&lastChangeId=179916836&lastChangeId64=179916836 timed out after 100 seconds.
[2018-08-21 11:13:36Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
[2018-08-21 11:13:36Z ERR  Agent] System.TimeoutException: The HTTP request timed out after 00:01:40. ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at System.Net.Http.HttpClient.<FinishSendAsyncBuffered>d__58.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.VisualStudio.Services.OAuth.VssOAuthTokenHttpClient.<GetTokenAsync>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.VisualStudio.Services.OAuth.VssOAuthTokenProvider.<OnGetTokenAsync>d__14.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.VisualStudio.Services.Common.IssuedTokenProvider.GetTokenOperation.<GetTokenAsync>d__21.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.VisualStudio.Services.Common.IssuedTokenProvider.<GetTokenAsync>d__33.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.<SendAsync>d__17.MoveNext()    --- End of inner exception stack trace ---    at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.<SendAsync>d__17.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at System.Net.Http.HttpClient.d__58.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.d__51.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.d__47`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.AgentServer.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.Listener.Agent.d__5.MoveNext()
[2018-08-21 11:13:36Z ERR  Terminal] WRITE ERROR: The HTTP request timed out after 00:01:40.

@Olav-Adema does your proxy server blocked https://X.vssps.visualstudio.com/_apis/oauth2/token? the oauth2/token endpoint is used by the agent to exchange an oauth token from service, make sure your proxy server allows that url.

the oauth2/token endpoint is a public endpoint (you don't need auth header to hit it), but you are getting Forbidden, which makes me few something in your network is blocking it.
https://X.vssps.visualstudio.com/_apis/oauth2/token failed. HTTP Status: Forbidden

i am going to close this issue for now, please re-open if you need more help.


python311Packages.pytest-httpserver: 1.0.6 -> 1.0.7

Diff: https://github.com/csernazs/pytest-httpserver/compare/refs/tags/1.0.6...1.0.7
Changelog: https://github.com/csernazs/pytest-httpserver/blob/1.0.7/CHANGES.rst
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

@ofborg build python311Packages.pytest-httpserver python311Packages.responses python311Packages.solax python311Packages.simple-rest-client python311Packages.unsearth maigret


how to set color for scroll

hi
I used jquery-selectric in page and set this code:

so it put scroll for dropdownlist I want change scroll bar's color for dropdownlist
How I can do it?
Best regards
neda

You can use something like https://css-tricks.com/custom-scrollbars-in-webkit/ (WebKit only).
Or use a jQuery plugin, like:

https://github.com/malihu/malihu-custom-scrollbar-plugin
https://github.com/mzubala/jquery-custom-scrollbar
https://github.com/gromo/jquery.scrollbar


bug: header and localStorage: SSR Next >15

Check existing issues

[X] I checked there isn't already an issue for the bug I encountered.

Describe the bug
Incompatibility Between Next.js 15+ and wagmi Due to Cookie System Changes
Description
When using Next.js 15 (or later) with wagmi, several errors occur due to changes in the cookie management system and the runtime environment. The observed issues are as follows:
Error with headers() not being awaited
An error is thrown when attempting to use headers().get("cookie") in the RootLayout component:
Error: Route "/login" used `headers().get('cookie')`. `headers()` should be awaited before using its value.
Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis
    at RootLayout (src/app/layout.tsx:42:14)
  40 |   const initialState = cookieToInitialState(
  41 |     getConfig(),
> 42 |     headers().get("cookie")
     |              ^
  43 |   );
  44 |
  45 |   return (

Error with localStorage in non-SSR-compatible environments
Another error is encountered due to the absence of localStorage in the server environment:
[StorageManagerWeb: getPersistedChannelConfig()] Can't find existing channel config ReferenceError: localStorage is not defined
    at Generator.next (<anonymous>)
    at new Promise (<anonymous>)
    at Generator.next (<anonymous>)
    at new Promise (<anonymous>)
    at Generator.next (<anonymous>)
    at new Promise (<anonymous>)
    at Generator.next (<anonymous>)
[initializeMobileProvider] failed to get cached addresses: ReferenceError: localStorage is not defined
[StorageManagerWeb: getCachedChainId()] Error reading cached chainId ReferenceError: localStorage is not defined

Context
The issue appears to stem from changes in Next.js 15 related to dynamic API management, particularly with headers(), as well as wagmi's reliance on client-side APIs such as localStorage and window.
Link to Minimal Reproducible Example
(https://github.com/sinolopes/storage-issue)
Steps To Reproduce

Create a project with Next.js 15 or later.
Install and configure wagmi for Web3 connections.
Implement a feature that accesses cookies using headers() in a route.
Observe the errors during execution.

What Wagmi package(s) are you using?
wagmi
Wagmi Package(s) Version(s)
<EMAIL_ADDRESS>Viem Version
<EMAIL_ADDRESS>TypeScript Version
<EMAIL_ADDRESS>Anything else?
No response

The localStorage error comes from the metamask connector.
Temporary fix for header: const initialState = cookieToInitialState(
getConfig(),
(await headers()).get("cookie")
);

I downgrade wagmi version to 2.13.0, then localStorage error  seems to dissappeared.

the only change needed is to update the docs:
-headers().get("cookie")
+(await headers()).get("cookie")

ill let someone PR this ;)

I don't know if it's a problem that the layout is asynchronous. The error with the local storage of the metamask connector explained above is perhaps due to this. If this is not the case and using the asynchronous header does not create a problem, I will make a pull request with the update of the documentation and the next template and I will reopen a dedicated issue for the problem with the metamask connector/SDK

If there is an issue with MetaMask SDK, please raise it on their repo: https://github.com/MetaMask/metamask-sdk


Fast switching between tabs

[x] When you switch tabs really fast, the animation gets messed up and crosses in wrong direction
[x] Making animation between tabs faster w/ less jank. Testing on example showed a 200ms transition is ideal. The framerate does drop to 15-20fps on a newer android phone which makes me worried about worse phones — note was not done in performance mode.

@Nealsoni00, I just released 0.1.2 that makes improvements but I'm unable to reproduce the animation messing up. Can you see if this is still happening?

decrease animation time to like 1 second and it's easy to see - not major to fix anytime soon but a bug

I'm not 100% sure it's a bug I can fix though since I'm just using AnimationSwitcher to do this and it looks like it might be an issue there.

This should be fixed, but @Nealsoni00, can you test this and close it if it's fixed?


Application Usage card throws 500

Pulse Version
1.0.0-beta11
Laravel Version
10.42.0
PHP Version
8.2.13
Livewire Version
3.4.4
Database Driver & Version
MySQL
Description
Application Usage card stopped working after the update from beta7 to beta11.
[2024-01-30 10:00:12] production.ERROR: Undefined property: stdClass::$id {"view":{"view":"/var/www/vendor/laravel/pulse/resources/views/livewire/usage.blade.php","data":[]},"userId":"01g512gg5pqbzjncpdsepk6nbp","exception":"[object] (Spatie\\LaravelIgnition\\Exceptions\\ViewException(code: 0): Undefined property: stdClass::$id at /var/www/vendor/laravel/pulse/resources/views/livewire/usage.blade.php:53)

[previous exception] [object] (ErrorException(code: 0): Undefined property: stdClass::$id at /var/www/storage/framework/views/5ecb34298cf4b6b02c0ac901429d166c.php:137)

I tried to delete all the records with user_request but it didn't help.
DELETE FROM pulse_aggregates WHERE type = 'user_request';
DELETE FROM pulse_entries WHERE type = 'user_request';

Config has a default state.
Recorders\UserRequests::class => [
            'enabled' => env('PULSE_USER_REQUESTS_ENABLED', true),
            'sample_rate' => env('PULSE_USER_REQUESTS_SAMPLE_RATE', 1),
            'ignore' => [
                '#^/pulse$#', // Pulse dashboard...
            ],
        ],

Probably something wrong with resolving users but I'm not sure. Any ideas? 🙄
Steps To Reproduce

Heya, thanks for reporting.
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here? Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.
laravel new bug-report --github="--public"

Please do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue.
Thanks!

@asamofal Curious where you have ->id in that file. It is nowhere in the original file
https://github.com/laravel/pulse/blob/1.x/resources/views/livewire/usage.blade.php
Did you manually alter it in the vendor folder?

@driesvints With all due respect, if I do all of your steps probably I can figure out the problem myself, not confident that I have so much time to jump so deep into this...
@sinnbeck This is the most interesting part, of course, no, the vendor folder is unattached. I don't even have anything special, just installed one extra package for pulse - laravel-pulse-schedule but I don't think it's related to the issue, the problem with Recorders\UserRequests.
I use ULIDs as id in users table but it shouldn't be a problem because I see user ids in pulse's tables.
And again it happened after the update from beta7 to beta11. I checked the changelog but not found anything related to UserRequests recorder, therefore I'm so confused...

@asamofal Did you check the file on the server? Or try clearing it if its perhaps an old version php artisan view:clear

@sinnbeck php artisan view:clear did the trick 🤔 But I've tried artisan cache:clear before and was so confident that this includes clearing all the cache types, isn't?


[10.x] Add database expressions with bindings

The goal of this PR is to add a safe method to provide non-atomic database expressions as attribute values in Eloquent.
This is the proposed syntax:
$object->location = DB::expression('ST_MakePoint(?, ?)', [56.97, 24.09]);
$object->save();
// executes: update "objects" set "location" = ST_MakePoint(?, ?) where "id" = ?
// with bindings [56.97, 24.09, $object->id]

To accomplish it I've added a new kind of expression that I've named ExpressionWithBindings. I made the new expression class somewhat compatible with the grammar-dependent ideas of #44784 by @tpetry.
While it would be pleasant to add an optional $bindings parameter to DB::raw and a getBindings() method to the existing interface, it would break compatibility with whoever is extending the class.
Instead I've opted to create a completely new interface, a new expression class and an DB::expression helper. In addition to leaving more code unaffected, that should also make people feel less incentivized to try this behaviour in other places (like where and order clauses) where the new tooling is not supported and other tools (like orderByRaw($expr, $bindings)) are already sufficient. Creating a completely new interface and methods also allows to make it all entirely natively typed.

That your new construct is kind of similar to the existing expressions (DB::raw) but still different as it can't be used in many placed (WHERE, ORDER BY) makes it a very complicated thing to add to Laravel. We would have to educate users that there are two very similar things but for different purposes. Which is not a big problem, but we're also talking about a very niche problem. And having two conflicting solutions for a niche problem is too complicated in my opinion.
Your idea is kind of solved by my original expressions PR for Laravel 9.x: I've added the ability to use quote() within expressions so an expression can transform any value to a database safe literal that can then be embedded into the expression code. And this will work everywhere where expressions work - and no further BC break is needed. I promised @taylorotwell to do it shortly after the 10.x release. I plan to finish tpetry/laravel-query-expressions this week and then build the PR for the next minor 10.x release.

From the ways I experimented with the query builder, I kind of wish all expressions carried their own bindings instead of being extracted into one common bindings array like $this->bindings['where']. It would make it so much easier to join builder segments - where, joins etc. where you could just remove the expression without having to worry what bindings were added by it and how to remove them etc..

kind of similar to the existing expressions (DB::raw)

@tpetry true, that could be solved by renaming it to something less similar like DB::insertable or new InsertableExpression (although I'm not a fan of the OOP syntax) to make the supported usecase more obvious.
Or I could work on supporting ExpressionWithBindings in wheres, selects and orderBys and then it would be the thing that's also returned by DB::raw (who'd have an optional $bindings param) and we wouldn't have the two factories 🤔 I think that could be done in a backwards compatible way if ExpressionWithBindings extends Expression and the old Expression is still supported for those who are already extending it or implementing the interface.
@donnysim I think I agree, but that would be a huge rewrite :)

Not sure I totally love this PR for reasons listed by @tpetry


Exception when creating service with app name containing a slash

I created a service where the app name is riodemo/app now there is an error when deleting it.
➜   rio run --app riodemo/app -name hellorio https://github.com/rancher/rio-demo
default/riodemo/app:v0

➜   rio ps
NAME                  CREATED         ENDPOINT   REVISIONS   SCALE     WEIGHT    DETAIL
default/riodemo/app   4 seconds ago

➜  rio rm default/riodemo\/app
FATA[0000] not found (types=[config router publicdomain externalservice app secret build stack]): default/riodemo/app

We avoid using slash in app name as it is used as a separator for ${namespace}/${name}

This makes perfect sense. The case should be handled correctly than by not accepting slashes or allowing to remove them again

I accidentally put value in app instead name

Closing this, configuration issue.


Logo Suggestions?

Here is a logo I whipped up for the project - not amazing, but it will work
you are welcome to use it if you would like

Since you suggested for a logo
I think it is necessary to take your opinion on this.
I'm trying to build this as a cli tool, you can read issue #24
I have tried hard to convert your logo to ASCII and not achieved much perfection

Please comment on this:
Is it useless? -> I might request you to suggest another logo
It's good but can be better -> I will make more versions and post here for your review!
@B1GBOOM420

https://github.com/CybrZone/phishkiller/issues/26#issuecomment-2209497670
@CybrZone
The "issue" has been addressed and is being worked on in #26


Support context being passed to TypeAdapter's dump_json/dump_python

Change Summary
Support passing in of context to TypeAdapter's  dump_python and dump_json functions, allowing context to be present during TypeAdapter serialization.
Related issue number
No related issue, but I can create one if required. Seems like this change fits into "trivial change", but I may be missing some context of my own.
Issue I'm solving for is that I want to be able to serialize an object in different contexts (using fastapi), so this piece is needed to support context based serialization of type adapters.
The upstream problem this solves (in fastapi) is illustrated here: https://github.com/tiangolo/fastapi/pull/11634

Checklist

[x] The pull request title is a good summary of the changes - it will be used in the changelog
[x] Unit tests for the changes exist
[x] Tests pass on CI
[x] Documentation reflects the changes where applicable
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

@sydney-runkle if I recreate this PR against 2.7 would it be accepted? Not sure the rules on if something should be in 2.8 or 2.7...


Fixes for swift 4.2 and xcode 10

fixes for swift 4.2
xcode 10

@glenyi can you merge and update pod? What about Xcode 10.2 / swift 5?

@romk1n @cohen72 @glenyi
How we can use Pod with Swift 4.2 with this update?

@bilawal-liaqat you can reference my repo for it or just create your own and specify it in your cocoa pod file like pod 'FloatRatingView', :git => 'https://github.com/romk1n/FloatRatingView.git, :branch => 'fix/xcode10'`

@romk1n
it works.
Thank you


Call superset /superset/sql_json/ interface

How to call an interface not in rest api such as /superset/sql_json

/?

Hi, can you provide more details what you are trying to achieve? thanks!


Update OpenJDK from <IP_ADDRESS> ->  <IP_ADDRESS>

Use latest available OpenJDK development kit from CentOS 7.

Fixed with 5daaadc4b012673c658d4885ca579935d673956e


Issue with updating rects

I am using:
useIsomorphicLayoutEffect(() => {
    measureDroppableContainers();
}, [columns, measureDroppableContainers]);

to update the rects of cards in my columns. When I am dragging it works fine in the first place... but when I start moving my mouse quicker the rects won't be updated anymore and the dragging stops working correctly. In an older version of my code I don't have this problem. After upgrading to dnd/kit 6.0 and react 18 I have this problem. Is something changed that could have resulted on this?

Does it have something to do with:
https://github.com/clauderic/dnd-kit/pull/788
and when is this PR going to get merged?


Expand on which templates engines we support

Description
A https://github.com/expressjs/expressjs.com/pull/1588#issuecomment-2327093394 made previously:
It refers to the template engines page, the last part of this sentence.

The Express application generator uses Pug as its default, but it also supports Handlebars, and EJS, among others.

Which others?
Suggest literally adding a list for better support. May require input from @expressjs/express-tc to answer this.
Expectations
Adding list of all templates supported, or at least a variety on top of the big four.  Else, remove the wording "among others."

I think the medium to long term goal is to remove the template engines from "core" express and move things over to middleware (details TBD I think). I don't know if that should change the plans for documentation, but just wanted to call it out since I saw this issue.


BUY AND SELL STOCK II

hey @ayu8 i want to add this solution  in cpp into the DP folder. Pls assign me this and add this under hacktoberfest label.

#5
Already assigned this to someone and issue closed.


Add script parameter back

(Not) discussed here :) https://github.com/cake-build/cake/issues/1207

I would also like to see this returned to the script as I am making use of the script parameter to separate concerns.  i.e., build.cake for build tasks, integration.cake to automate running integration suites.
integration.cake loads build.cake as a dependency, but otherwise keeps the set of tasks for running the integrations [and additional helpers/utilities in a utils.cake] out of the context of the main build script.

@adamhathcock @kcamp what's the use case when building Cake?
The recommended bootstrapper still has this parameter:
cake-build/resources/build.ps1#L43

@devlead -- yes.  i misread the comments/situation.  the redistributed version of the script is what i took this to refer to.  my mistake, disregard.

I didn't realize the "recommended" one is different from the official one.  Oops.

The recommended one has always came from a known URL, as documented here:
http://cakebuild.net/docs/tutorials/setting-up-a-new-project
The one used in the Cake repo is the same as every other bootstrapper in that it is customized as per requirements for the project that it is being used on.


@rest/require should create object on each item

@rest\require auth_token
@rest\require auth_code
@rest\require auth_implicit
it should be:
https://monosnap.com/file/FH4NnOGbsA97CvPPySxWrq8poefiWc.png
http://swagger.io/specification/#securityRequirementObject
but now it is elemet of array:
https://monosnap.com/file/KkSDqHfxflSB9fikwcNn11Ke51oG3e.png

Thanks for the detailed bug report!
I added new testcases to confirm the fix but could you please verify that the new version (2.0.15) fixes this issue?


Question: Windows Server Nano and ModSecurity

Hello Team, did you ever tried to install and test it on Server Nano?

I'm not part of the team, but I have had issues running it on IIS (full blown install). Specifically something with .net 4.0 crashing w3wp.exe, and blaming kernelbase.dll
For WSUS / Exchange it seems to be stable (using 3.0 rules, with blocking turned off, and 'SecStreamInBodyInspection On' added to the modsecurity.conf file) These are 2012 boxes, haven't tested 2012 R2, and even in this mode it broke a third party app using IIS, and kept crashing w3wp.exe

Hi @eosfor,
I didn't had the chance to test it. Please do share your findings ;)


Idea: command repeat in console

When I press arrow up, the command from before is repeated. With the arrows you can switch between the last commands.

I like the idea. The feature will be implemented in the next few days. Thanks! :)


[FEATURE]: Force update or / and delete to have where or additional chaining

Describe what you want
to prevent accidental changes or deletions due to forgetting to use where

Drizzle already provides an ESLint package for this exact purpose. See: https://orm.drizzle.team/docs/eslint-plugin#enforce-delete-with-where.
We won't force it at runtime because using delete and update without where is part of SQL and there might be use cases for it, for that reason the ESLint plugin exists so the editor can catch that for you if you want.

@L-Mario564 I didn't think to read the eslint part, thanks!


Use commander to build a minimal CLI

Thanks for this! :pray:
It seems somewhat weird to me that we're adding all the lockfiles to this repo. I'd be down to just settling on a single one. What would be the reason for adding all of them? Wouldn't there be a "danger" of them getting out-of-sync?
If we go for just a single one, I'm fine with any one of them, what's your preference?
And lastly, I think that can be another PR. Just noting it here :)


date-time bug

The same bug as https://github.com/secvisogram/secvisogram/issues/216 (see https://github.com/ajv-validator/ajv-formats/issues/55) applies here. We should use https://github.com/ajv-validator/ajv-formats/issues/49 version 3.0.0 even if it is not stable yet.

Me too... I thought it had been fixed with version 3: https://github.com/ajv-validator/ajv-formats/issues/55

As discussed today.

As described in https://github.com/ajv-validator/ajv-formats/issues/55 the RFC 3339 requires by ABNF and description the use of T as a separator and the use of an timezone. The note

NOTE: ISO 8601 defines date and time separated by "T".
Applications using this syntax may choose, for the sake of
readability, to specify a full-date and full-time separated by
(say) a space character.

is not changing the ABNF but telling a potential representation in the GUI resp. pointing to ISO 8601. Therefore, the ajv-formats needs to be fixed.
The following examples are invalid:
'2020-01-01 20:00:00.000', '2020-01-01 20:00:00.000Z', '2023-05-04\t01:14:00+21:00', '2023-05-04\r01:14:10+16:20', '2023-05-04\n01:14:21+09:50', '2023-05-04\n01:14:21-04:31', '2023-05-04t01:14:21-04:31:00'

The following examples are fully valid:
'2020-01-01T20:00:00.000Z', '2020-01-01T20:00:00.000Z', '2023-05-04T01:14:00+21:00', '2023-05-04T01:14:10+16:20', '2023-05-04T01:14:21+09:50', '2023-05-04T01:14:21-04:31', '2023-05-04T01:14:21-04:31'

The following examples are valid but should not be produced by Secvisogram:
'2020-01-01t20:00:00.000Z', '2020-01-01T20:00:00.000z', '2023-05-04t01:14:00+21:00', '2023-05-04t01:14:10+16:20', '2023-05-04t01:14:21+09:50', '2023-05-04t01:14:21-04:31', '2023-05-04t01:14:21z'

Please provide an appropriate PR to ajv-formats.


timestamp as time object

Curently the timestamp seems to be just text. This means no possibility to filter for time ranges.
Something like time >= 2024-07-11T00:00:00Z AND time <= 2024-07-12T00:00:00Z would be helpfull.
Cheers

@erwiese this is now possible with recent 0.14 release! You can now filter by time.
Take a look at the docs.

:+1:


Is there a calculation code for LV loss?

I did not find the calculation code related to LV loss and EPI in the code, may I ask how to train under semi-supervised conditions?

Thanks for your message. You can refer to the COSINESIMILARITY function. https://pytorch.org/docs/stable/generated/torch.nn.CosineSimilarity.html


Document dependencies

There are dependencies required to run the code; document them on the Wiki.

Can you please also add information on the following commands to the wiki:
dir, add_dir
Thanks.

Done

Looks like readline is not required on Linux; command-line completion works without it installed. The only dependency seems to be SQLAlchemy. This is addressed in the Vagrantfile.


When will the code be released?

Awesome work! In the introduction of the paper, you mention that "we provide the source code of our approach"
When will the code be released?

The code is released!


After update to 0.65 (including 0.65.6) Sonos restore does not resume playback on some media

Make sure you are running the latest version of Home Assistant before reporting an issue.
Home Assistant release (hass --version): 0.65.6
Python release (python3 --version): 3.5.3
Component/platform: sonos
Description of problem:
I was using a Sonos TTS script with automations, working well up until about version 0.65. After that, sonos_restore would no longer restore playback.
Expected:
Problem-relevant configuration.yaml entries and steps to reproduce:
None of the code below was changed, but was working on one version of HA, and stopped working on upgrade.
This is the TTS script:
    alias: "Sonos TTS script"
    sequence:
      - service: media_player.sonos_snapshot
        data_template:
          entity_id: "{{ sonos_entity }}"
          with_group: 'true'
      - service: media_player.sonos_unjoin
        data_template:
          entity_id: "{{ sonos_entity }}"
      - service: media_player.volume_set
        data_template:
          entity_id: "{{ sonos_entity }}"
          volume_level: "{{ volume }}"
      - service: tts.google_say
        data_template:
          entity_id: "{{ sonos_entity }}"
          message: "{{ message }}"
      - delay: "{{ delay }}"
      - service: media_player.sonos_restore
        data_template:
          entity_id: "{{ sonos_entity }}"
          with_group: 'true'

It is called by this script:
    alias: "Morgon, rubbet"
    sequence:
      - service: script.sonos_say
        data_template:
          sonos_entity: media_player.kok
          volume: 0.4
          message: "God morgon! Just nu är det {{states('sensor.yr_temperature') | round}} grader ute. Det är {% if states('sensor.yr_cloudiness') | float > 80 %} mycket {%endif %}{% if states('sensor.yr_cloudiness') | float < 20 %} inte så {%endif %} molnigt ute."
          delay: '00:00:14'

Also related is the following action from an automation:
    - service: media_player.select_source
      data:
        entity_id: media_player.kok
        source: 'P4 Värmland'
    - service: media_player.volume_set
      data:
        entity_id: media_player.kok
        volume_level: "0.27"

If I call say_morgonallt with something already playing, playback will resume or not, depending on what is currently playing.

If currently playing is something from Spotify, or indeed, it seems, anything I have started from the Sonos app -- it works.
If currently playing was started by the "action" mentioned above, playback does not resume. The media is loaded but does not start playing (as in: I can see the stream on the HA frontpage, and the correct stream starts playing when I press play).

I tried removing unjoin from the TTS script. It did not have an effect.
I tried adding a delay after unjoin. It did not have an effect.

The media title, when playback was started through the "action", is x-sonosapi-hls:channel:204?sid=235&flags=32&sn=2.
The media title is exactly the same if I start playing the same radio station through the Sonos app, but for some reason playback is then resumed.
To repeat:
a1) Start playback of radio station through "action".
a2) Run say_morgonallt.
a3) sonos_restore has restored media_title (x-sonosapi-hls:channel:204?sid=235&flags=32&sn=2), having played the TTS stream, but the media_title has not started playing. If I press play manually, it starts.
b1) Start playback of same radio station as in a) through the Sonos app.
b2) Run say_morgonallt
b3) sonos_restore has restored media_title including playback (of media title x-sonosapi-hls:channel:204?sid=235&flags=32&sn=2).
There is nothing mentioned in the logs.

I don't see this problem with any source that I try. Can you help me add "P4 Värmland" ?

The station is added through a Sonos service called ‘Sveriges Radio’ ( https://www.sonos.com/sv-se/Sveriges ).

https://sonos.custhelp.com/app/answers/detail/a_id/4375/~/sveriges-radio-and-sonos

Thanks, that helped. Fix in #13401.


Issue#47

Made Ending_test_widget
Made LineEdit_with_explanation: Custom widget that have label and line_edit

resolved #47

@akrisfx

норм


Submenu "leaves" the ol3 map

Hi Jonatas,
I'm using your component with sub menus. I have around 10 elements in the sub menu, and when it right click at the "bottom" of the page, the sub menu will partially disapear:
I illustrated it in a image:
http://nsa38.casimages.com/img/2016/09/29/160929120456152917.png
Here is a quick JS Fiddle that reproduces the bug: http://jsfiddle.net/YoannBureau/ooxs1w5d/44/
Thanks a lot!

Ah yes, I mean that's horrible. I'm not computing the left space for the submenu.
I'll provide a solution ASAP. @YoannBureau thank you for reporting this bug.

@YoannBureau feel free to come up with a solution if you have some time.


Error module @sqlite3-node

Hello,
I recently have the following issue. I suppose a new version of sqlite is breaking some dependencies. Do you know how to handle it ? Do you plan to upgrade your version ?

Hmm, it looks like the native part of the node-sqlite3 package didn't get compiled. Can you try removing node_modules and doing yarn install and yarn run build:prod again? If the problem recurs, you might be able to find an earlier error message saying what is going wrong with compiling node-sqlite3.
Separately, I have a personal fork with some upgrades, including pre-compiling binaries for many platforms. If there's a need I could look at landing this in @gristlabs/node-sqlite3 sooner rather than later.

Thanks, it's working now


Provide completion for partial expression on closing jsx tags

Please verify that:

[x] There is an associated issue in the Backlog milestone (required)
[x] Code is up-to-date with the master branch
[x] You've successfully run gulp runtests locally
[x] There are new or updated unit tests validating the change

Fixes #41963

@andrewbranch this was my first contribution to typescript. I learnt a lot and now have a better understanding how typescript parser and node hierarchy works!

Also while doing this implementation I noticed that we don't have (or I might not have been able to find anything useful) to determine the optional replacement span in fourslash test-cases. I had to do them manually.

Take a look at completionsOptionalReplacementSpan1.ts.

Take a look at completionsOptionalReplacementSpan1.ts.

It seems that api is buggy, it won't return the proper marker number. It always starts at 0. I'm gonna move the test-cases to another file to make it cleaner. Maybe I'll have a look to fix test.range() api later...

It always starts at 0.

@aminpaks that’s just Array.prototype.forEach; the second callback argument is the index. In that test it’s the marker number because I wrote the markers to start at 0 😄

You don’t have to use forEach either; that’s just one option. You can just pass test.ranges()[someIndex] to it, if it’s clear enough what range you’re referring to.

You don’t have to use forEach either; that’s just one option. You can just pass test.ranges()[someIndex] to it, if it’s clear enough what range you’re referring to.

Cool I didn't notice it's just an array foreach. Adjusted.

Nice job @aminpaks 🌟

Thanks for all the help :)

Nice job @aminpaks 🌟

Thanks for all the help :)


Update documentation links to point to new URL

There are a total of 14 links to the Mix documentation, to the following 2 URLS:
https://docs.mix.nuance.com/  should now be https://docs.nuance.com/mix/
https://docs.mix.nuance.com/mix-api/v4/#bots should now be https://docs.nuance.com/mix/apis/mix-api/v4/reference/bots/

This was already fixed in issue 138.


build.gradle: upgrade TestFX dependency to 4.0.15-alpha

The current version of TestFX dependency we are using is 4.0.12-alpha.
TestFX version 4.0.15-alpha has been announced for a while and it gives
better support for JDK11[1], which we may wish to upgrade to in the
future.
To keep us updated with TestFX's development, let's upgrade TestFX
dependency to its latest stable version 4.0.15-alpha.
[1] https://github.com/TestFX/TestFX/issues/640#issuecomment-436079910

build.gradle: upgrade TestFX dependency to 4.0.15-alpha

The current version of TestFX dependency we are using is 4.0.12-alpha.

TestFX version 4.0.15-alpha has been announced for a while and it gives

announced -> released would describe the situation better.

better support for JDK11[1], which we may wish to upgrade to in the
future.

To keep us updated with TestFX's development, let's upgrade TestFX
dependency to its latest stable version 4.0.15-alpha.

[1] https://github.com/TestFX/TestFX/issues/640#issuecomment-436079910


provide output for workers IAM role ARN

Is your request related to a new offering from AWS?
No.
Is your request related to a problem? Please describe.
I am attempting to create S3 buckets, managing permissions with S3 policies. The principles accepted in this include IAM role ARNs. Cluster workers have their own role created, NOT the (already exposed) cluster role, so cluster_iam_role_arn is not useful for this sort of thing.
Describe the solution you'd like.
Similar to the existing module.eks.cluster_iam_role_arn output, something like module.eks.workers_iam_role_arn would do the job.
Describe alternatives you've considered.
I have tried a variety of ways to access this data, but have failed (likely due to my being a terraform newbie). I'm sure there's another way to get at this, but I think it's sufficiently useful that it should be an eks module output as this would be useful broadly in managing cluster node's access to other AWS resources without manually creating / managing the worker IAM role itself.
Additional context
Both of the following terraform states have the value I am interested in:

module.eks.aws_iam_role.workers[0] (arn variable)
module.eks.aws_iam_role_policy_attachment.workers_AmazonEKSWorkerNodePolicy[0] (role variable)

The output is not that straight forward because the node groups use for_each so the result is 0-n ARNs (depending on how many node groups are created). However, you can see how you can extract the IAM role ARNs here https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/outputs.tf#L168-L171

@bryantbiggs thanks, that looks like what I need.
What's interesting though, is I only have one of these ARNs in my state even though I am creating 9 node groups. Nosing around on the AWS side, they all have the same role.

Eh actually I don't understand how to make use of this, or that eks_managed_node_group module call is something v18 added.
output "worker_iam_role_arns" {
  description = "IAM role ARNs of the EKS nodes."
  value       = [for group in module.eks_managed_node_group : group.iam_role_arn]
}

throws:
│ Error: Reference to undeclared module
│
│   on outputs.tf line 48, in output "worker_iam_role_arns":
│   48:   value       = [for group in module.eks_managed_node_group : group.iam_role_arn]
│
│ No module call named "eks_managed_node_group" is declared in the root module.

I also noticed this difference in behaviour.
In 17.x all nodes used the "cluster_iam_role_arn".
In 18.x, it creates one policy for each node group.
This made me change the way I added roles to my cluster.
What I did:
before:
resource "aws_iam_role_policy_attachment" "my-role-policy" {
  policy_arn = my-policy.arn
  role       = module.eks.cluster_iam_role_name
}

module "eks" {...}

After:
module "eks" {
...
eks_managed_node_group_defaults = {
    iam_role_additional_policies = [my-policy.arn]
  }
}

Hope it helps!

the correct output for what was posted above would be:
output "worker_iam_role_arns" {
  description = "IAM role ARNs of the EKS nodes."
  value       = [for group in module.eks.eks_managed_node_groups : group.iam_role_arn]
}

closing out issue for now


[iOS 17 beta] no Apple calendar export possible

Hi,
I upgraded to iOS 17 development beta and saw, that the Apple Calendar Export Button can not activate.  In iOS 16.x everything works well with the calendar export.
If iOS 17 will be supported in the future, this information could be helpful for you.
br,
Chris

Hi,
With the latest version from today, calendar feature is back again, if I give GlycoseDirect full access to the calendar.
Thanks a lot and many thanks for your fast update.
Chris

Closed


Hoping to continue the development

We are hoping that this project for kong will continue as to support OAuth2.0 :(

@shandye2  these guys have what I believe to be a working fork.  https://github.com/akarmazyn/3rd-party-oauth
They've been updating it so we'll see. I'm going to be looking into using it.


Webpack common component code

Coverage remained the same at 91.696% when pulling 36223603b74e9860b33e9c2104d7c142c776955c on webpack-components into 024bb2c3ffcc3f2bba5bb4b95c3d41c3caeb10e8 on master.

lgtm assuming the rest of the 3rd-party stuff is also included if need be


lidar lite v3 HP can not run in ll40ls drivers

Describe the bug
A clear and concise description of the bug.
To Reproduce
Steps to reproduce the behavior:

Drone switched on '...'
Uploaded mission '....' (attach QGC mission file)
Took off '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Log Files and Screenshots
Always provide a link to the flight log file:

Download the flight log file from the vehicle (tutorial).
Share the link to a log showing the problem on PX4 Flight Review.

Add screenshots to help explain your problem.
Drone (please complete the following information):

Describe the type of drone.
Photo of the IMU / autopilot setup if possible.

Additional context
Add any other context about the problem here.

failed to initialize LidarLiteI2C on busnum=1

This is different device than the original v3 device in the way the reading from the sensor is done. Continues v3 vs. cyclic reading v3 HP. So I think you will have to weight until somebody makes new driver for it for PX4 (nuttx).

@dagar Can the original driver for the LidarLite v3 be changed so it can handle the V3 HP?

Someone will need to dig into the manual to determine the differences.
Does anyone have one to test?

Here are the two tech docs.
LIDAR_Lite_v3_Operation_Manual_and_Technical_Specifications.pdf
LIDAR_Lite_v3HP_Operation_Manual_and_Technical_Specifications.pdf

ll40ls start pwm ，and I test pwm  Driver not found。

It seems the ardupilot forums have a head start into supporting the LIDAR_LITE_v3HP.
Just wanted to bring this to light to potentially help reduce duplicate work on this modification for px4.
https://discuss.ardupilot.org/t/add-support-for-lidar-lite-v3hp-tested-on-pocketpilot/31291
https://github.com/ArduPilot/ardupilot/pull/9169

@tonight123 @tubeme this pr:
https://github.com/PX4/Firmware/pull/10578 was merged last week into master. Now the v3HP works on i2c.

Are there any not-so-obvious parameters that need to be set in PX4/Qgroundcontrol(v3.5) to get this working? I could not get the V3HP to respond wired in to a pixhack v5 i2c(3&4), and wouldn't show on the widgets at all. sett the ll04ls to v3hp... i2c. tried both primary and aid . Had to ask owner to verify lidar operation before spending any more time with no response.

@1Gump Please don't hijack old closed issues. Ask the question on the discussion boards first, and link issues if you think they might be relevant. Docs for lidarlite are https://docs.px4.io/en/sensor/lidar_lite.html
AFAIK there are no other special parameters than the one mentioned there.

@1Gump Also, could be related to https://github.com/PX4/Firmware/issues/11492

My apologies. That was my 1st post ever on any of these forums – im not familiar with the protocol / areas yet.
Every Day is an Adventure when nothing is taken for granted.
From: Hamish Willee<EMAIL_ADDRESS>Sent: Monday, March 11, 2019 3:42 PM
To: PX4/Firmware<EMAIL_ADDRESS>Cc: Gumpper, Duane<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [PX4/Firmware] lidar lite v3 HP can not run in ll40ls drivers (#10434)
This message originated outside of DISH and was sent by<EMAIL_ADDRESS>@1Gumphttps://github.com/1Gump Please don't hijack old closed issues. Ask the question on the discussion boards first, and link issues if you think they might be relevant. Docs for lidarlite are https://docs.px4.io/en/sensor/lidar_lite.html
AFAIK there are no other special parameters than the one mentioned there.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/PX4/Firmware/issues/10434#issuecomment-471741513, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AuNHTSnQ0rnIQK8tXuXg26ySaGrKFFJGks5vVs2UgaJpZM4WfIXD.


Basilisk always upgrades Pip, which sometimes fails if conflicts with user's cache

Describe the bug
Basilisk always upgrades Pip. Recently a new version of pip was released (23.3.0) which conflicts with a user's cache ~/Library/Caches/pip/selfcheck/. The pip upgrade does not purge/remove cache items (using pip cache remove/purge) and so fails.
To reproduce
Steps to reproduce the behavior:

Assume installed pip version of 22.0.1 or less
Run conanfile.py which will automatically upgrade to latest (23.3 as of writing)
Upgrade will fail due to conflict with cached data in ~/Library/Caches/pip/selfcheck/

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots/plots to help explain your problem.
Desktop (please complete the following information):

OS: Macos
Version 13.6
Python version 3.9.15

Additional context
Some additional rumination: the build system should be sufficiently opinionated so to ensure that the build configuration is robust and repeatable across systems e.g. pinning conan recipes, but not so much as to specify options not needed, or at least give the user an option to configure their system. In the case of pip, the project can specify a minimum required, and only then try and update. This doesn't fix the issue of deleting the local cache, but it does at least mean that it doesn't trigger the issue unnecessarily. I think a good solution here would be to check for a minimum version, and if an upgrade is required, run a strategic (if some strategy exists) pip cache purge/remove.

As the pip cache is not held in the virtual environement, running pip cache purse/remove in our setup would not make sense?

True. I use a combination of pyenv and virtual environments. A large majority of the time I use pyenv. It gives me a bit more control over my python versions and builds. And managing the pip cache would work in the case of pyenv. For sure, virtual environments are good for everyday BSK development. I'll poke around further to see about a general solution.


Secure connection between UI and cosmos REST server

Currently the node-process communicates with the Gaia REST server via unsecure HTTP.

We could it via IPC (ask Matt and Jae)

blocked by https://github.com/cosmos/cosmos-sdk/issues/595

Closed in favor of #1346


Add options for scheduled notification as console provide

My Environment:
Operating System version: Any
Firebase SDK version: Any
Library version: Latest
Firebase Product: firebase cloud messaging
This feature is same as #236 .
But, we don't have schedule options which is provided in console already, I hope scheduled notification option be added to admin sdk soon.

It's been two years since the last update, may I ask how's the progress of this?


Allow multiple UDP clients

Allow multiple clients to connect to the server.
Send data to all subscribed clients.

Implemented in dev.

Release


[Feature request] Ping for visit time

Hello, I am trying to use umami in a mobile app. That's why I do not want to to send pageview every time the user changes the screen. However, visit time seems to be calculated by those pageview requests. Is there any way I could do just pings, not page visits, to update the server that the user is still online?
Thanks for such an amazing piece of software!

The plan is to use the beacon api and that is covered by #446