@jyegerlehner (or anyone), how long did it take to train all the audio data??

Other questions:

What hardware are you using? When I installed tensorflow-gpu, it gave me problems. So I uninstalled it and reinstalled just tensorflow (no gpu support), so this is all on my Intel cpu.
I'm currently on step 20 after about an hour. How many steps do I need to take? Can I just interrupt it at any time and then just generate from whatever steps I have? I am using a little bit more than 1GB of audio data. I am getting on average 5.438 loss (88.324 sec/step)

The size of the network (wavenet-params) is going to affect the speed.  On my 1070 GPU a step is often in the ballpark of 0.8 seconds.

One step is one sample of audio.  If you have 16000 samples a second then 20 steps is next to nothing.  With that said, the  loss is more important to look at.  This 'loss' is the training loss, we don't compute a validation loss.  After 64000 steps (4 seconds of audio), the network I'm training was at ~1.2 loss.  Of course it is going to depend on your training data and parameters.

@aclaussen1

Titan XP. I build tensorflow from source, and haven't had an unsolvable problem running on GPU. But setup and install can be a pain. I've gotten used to working through it.

As dunnevan pointed out, you're not getting anywhere with 20 steps/ hour, unless you have a year to wait.  5.438 loss is about the initial un-trained loss that I see. I've gotten "OK" results, for sufficiently small values of OK, at about 30K steps training on a single speaker, and loss would be somewhere around 2.0, and better results as loss gets down to around 1.0->1.5, as dunnevan suggests. I've gotten my best results after a week or so at around 500K steps. Which, by the way, is vaguely similar to what the Montreal guys reported in sample RNN which appears to be closely related to WaveNet.

And it can all depend on the many knobs available to turn. Silence trimming seems to be important, with better results turning it off or way down. And other things that have been discussed in the various PR and issue threads around here I don't have time to go dig up.

When running on the CPU of a NVIDIA DIGITS box, it takes about 60 seconds per step. When I use the Titan X GPU on the box, it takes about 1 second per step.

Right now I'm trying to replicate the results of an ipython notebook in the fast-wavenet (of which the generator from there was ported over to here). Running the fast-wavenet code, it completes training in about 5 minutes on the GPU. The test file there under assets/voice.wav is encoded as 44.1K. I re-encoded it to 16K to keep the same default parameters here. That wav file is only 1 second long so it trains quick. I get down to loss=0.05 within 100 steps. However, when I generate I don't get a good sounding waveform (still debugging that).

@dunnevan I just wanted to make sure I understand the steps properly. You stated above:

One step is one sample of audio. If you have 16000 samples a second then 20 steps is next to nothing.

My understanding from train.py and audio_reader.py's thread_main(), is that a sample in terms of training is defined by args.sample_size, which defaults to 100000. So a sample in terms of training is actually 100000 audio samples?

I also thought that a step encompassed trying to fit parameters to args.sample_size values, because when using convnets as wavenet does, it can adjust to a chunk of output values per training step. Isn't this correct? I thought this was a strength of the wavenet architecture.

I have tested smaller sample size with minibatch, it turned out similar.
2016년 12월 14일 (수) 오후 6:20, Göran Sandström<EMAIL_ADDRESS>작성:

I also thought that a step encompassed trying to fit parameters to
args.sample_size values, because when using convnets as wavenet does, it
can adjust to a chunk of output values per training step. Isn't this
correct? I thought this was a strength of the wavenet architecture.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ibab/tensorflow-wavenet/issues/193#issuecomment-266983836,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWXU_5nJVq8cfht3v_BhARcb2ATbtyTks5rH7TagaJpZM4LLiBl
.

Why would we train on 10 gigabytes of audio at 16khz if one step = one sample?
Also, if one step = one sample, then at 400k you would have trained 25 seconds of audio, which couldn't be nearly enough to differentiate between different speakers.
For google to reach their results on piano, which is 10 hours of material, that would mean:
576 BILLION steps! The only explanation I have is a multi-tower network with A LOT of GPU's running in parallel or even TPU's

Is the original set "SAMPLE_SIZE = 100000" in the train.py mean only train 100000/16000~6.25s of audio? wave?

I'm trying to figure this out, in the audio reader, if every training step would mean only one sample, then we essentially end up only training on every SAMPLE_SIZE samples since we feed a whole block per training step to the loss function, or am I missing something?

if every training step would mean only one sample, then we essentially end up only training on every SAMPLE_SIZE samples since we feed a whole block per training step to the loss function

Not just one sample. On each training step, every one of the many thousands of samples in the input is also a target for the output. See this line, and the code and comment above it: the target for the cross-entropy loss is just the entire input tensor shifted forward one time step.

@tszumowski

However, when I generate I don't get a good sounding waveform (still debugging that).

I'm also testing the fast-wavenet pynb and get quite strange results. My generated audio is clean in the first fraction of second and then becomes noisy. Did you eventually solve your problems?

@jyegerlehner
Greeting,
As you mentioned above, the network can only train 30sec audio data within one week. So I wonder HOW Google could train through their 30 hours training corpus? Do you any idea the method they used? Train in parallel then merge the model?

The number of wav file processed during one training step is only determined by the parameter BATCH_SIZE. This model splits one wav file into many sub parts and enqueue them all to the tensorflow queue. While sample_size is not necessarily larger than receptive field size because the size of the small parts is (sample_size + receptive field size).

Is the original set "SAMPLE_SIZE = 100000" in the train.py mean only train 100000/16000~6.25s of audio? wave?
to my understanding, they split input audio file into chunks of size roughly 6.25s, feed it to the network, and get the loss, and then use it in the optimizer which tries to minimize the loss.
Here you can find a clear explanation http://sergeiturukin.com/2017/03/02/wavenet.html

@dunnevan

One step is one sample of audio. If you have 16000 samples a second then 20 steps is next to nothing. With that said, the loss is more important to look at. This 'loss' is the training loss, we don't compute a validation loss. After 64000 steps (4 seconds of audio), the network I'm training was at ~1.2 loss. Of course it is going to depend on your training data and parameters.

64000steps is 4 seconds of audio, or 64000 * SAMPLE_SIZE(1000000) / 16000 seconds?
I am a bit confused here.


Different versions in different console

My Environment

[X ] Windows 10

I'm using NVM4W version:

[ X] 1.1.5

My issue is related to (check only those which apply):

[ X] A non-standard shell environment (Cmder, Hyper, Cygwin, git)

Expected Behavior
I'm using cmder.
In one console i want to use a v6 node version.
In another one i want to use a v8 node version.
But when i change a node version in to another console it's reflect to another, so both console have same node version
Steps to reproduce the problem:
Open a console and go into (A).
nvm use 6.11.1
Open another console and go into (B).
nvm use 8.11.1
Go to console (A)
nvm list and it's show that is selected 8.11.1
This don't depend on node version installed, you can test with two different node version

This is actually not a bug. Unfortunately it is not possible to run multiple node version at the same time. This is due to the folder link function of the OS.

Actually, it's not just about symlinks, this was a distinct architectural choice. This sparked a conversation quite a long time ago, documented at https://github.com/nodejs/version-management/issues/4.

In my opinion if this project ever wants Windows to compete with the MAC OS and Unix systems as a viable node development system; this issue should be addressed.  There is absolutely no technical reason you can't have multiple versions of node running at the same time in different consoles.  All you have to do is use different directories, create "symlinks" and manipulate the active PATH.  This is how MAC OS and Linux work.
I recently switched back to Windows as a development system from the MAC and I'm completely blown away by how weak a development system Windows 10 has become.
If you're creating a replacement/equivalent for some application/utility you should, at the very least, make it capable of doing what the original does; otherwise don't call it the same thing which sets the expectation that it can.
Right now my project requires that I run various versions of node on the same machine at the same time.  I'm currently using docker for windows to achieve this functionality but there are bugs in Docker for Windows that make using that solution cumbersome as well.
I almost wish I would have went back to the MAC, but those machines cost twice as much for half the machine.  Today's technology is horrible.

Manipulating the active path is the exact reason why prior version managers for Windows had so many issues. Even the most minor corruption while setting the path can nuke the whole PATH variable. This is more prevalent on older versions of Windows, where there is a maximum character limit for the PATH variable. It is also significantly more challenging to modify the path in enterprise environments controlled by Active Directory, where elevated admin privileges are required. Symlinks only require admin permissions.
The goal of this project was never to replace nvm or even be the equivalent. If you see other posts in old issues, you'll note that a) I regret the name choice and b) the next edition will not have nvm in the name at all. There are a tremendous number of edge cases that creep up in per-shell environments on Windows and it requires significant effort/time to support them all. I believe this is part of why Nodist's creator stepped away from the project. That said, the NVM4W roadmap is targeting a hook system, which would allow individual developers to mimic per-shell environments/workflows as they please, similar to git. I do not fundamentally agree that a version manager is the same as an environment manager, and this project focuses specifically on version management with the intention of providing developers the hooks they need to use the project the way they see fit.
If you really want the per-shell node environments, you could run the bash environment on Windows and use nvm, or you could use Nodist.
I can't say I've run into issues with Docker for Windows, so it would be nice to know what they are. I wrote a small utility (YMMV) for working with Node/Docker at https://github.com/coreybutler/workspace. I don't publicize it because it's kind of an internal tool, but perhaps it would help make Docker less cumbersome.

@coreybutler Thank you Corey for the response.  It's always easier said than done and always easier to arm chair quarterback; than to get off my butt and contribute; that's for sure :).
I've got a docker solution that works but you have to configure the javascript server to use the docker network interface address of 0.0.0.
The "Linux on Windows" solution works fine except you have to keep two copies off everything, I.E. git. etc, and switch between consoles when you want to run Windows VS Linux programs; so there here are definitely other solutions.
Thank you for telling me about the Nodist and your docker solution; I'm excited to check them out.
Thank you for the explanation, response and direction.  I still love nvm for Windows but my MAC and Linux using co-workers always joke with me that I need to go back to the MAC :) so I'm always looking for ways to show that Windows is at least as good at being developer OS.
On a different topic the Docker for Windows issues I saw and reported on the Docker repo has to do with docker-compose and using specific container_name values in the YML file.  The gist of it is this, if you have a YAML file that uses an environment variable for the container_name and you run it in two shells that set that environment variable differently and then bring up one container and then try to bring up the other container the activation of the new container will shut down other running container.  This even happens if you aren't using environment variables and you use 2 yaml files that have hard coded container_names  being run from the same directory.  So this situation:
You a file, "1.yaml", that brings up container_name "a" and a "2.yaml" file that brings up container_name "b".
Then if you, while in the same directory, bring up container "b" by running "docker-compose up -f 2.yaml" it will for some reason recreate container "a" and as a result shut it down before it creates and brings up container "b".    This only happens if you use the yaml files from the same directory.  Make a copy of the directory and you can run both containers at the same time just fine :).  This behavior doesn't seem to happen on Docker of MAC so I've reported this as an issue.


ci: cancel previous workflow runs

closes #34

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add SSL cert issues to the readme

Summary
Add information about certificate issues to the README.
Maybe this should live in the pydocs?
Details and comments

looks good thanks jon :)


fix sortIconSelector

Set sortIconSelector to 'fa-icon' (I'm trying to fix ordering icon in user management)
So now we have:
<fa-icon class="ng-fa-icon fa-sort fa-sort-up" ng-reflect-icon-prop="sort">...</fa-icon>
or
<fa-icon class="ng-fa-icon fa-sort fa-sort-down" ng-reflect-icon-prop="sort">...</fa-icon>
But it seems that the underlying svg is not "re-rendered" to display the correct icon.
I don't really know how it works, do you have an idea ?

@ctamisier I haven't looked into it after the font awesome migration. TBH i have no idea how the new font-awesome js works(I personally dont like the js + svg approach) My be the font awesome js is not playing nice with angular


Return array whit href and text-content

Hello,
I was using this module for a project, for which it was necessary for me to include the "text-content", as another return value. Hope you can consider it.
Greetings!

@tcort, this is a breaking change

Sorry, I'm in the learning process. I understand if the incorporation cannot be done.
I would like to know if I can access the version that provides me with this information?
Thanks

I've added an extended output mode. It includes the text (along with other information) and isn't a breaking change. Thanks for your input and I hope this helps you with your project. I'll be cutting a new release shortly.


feat: support grace_period_seconds in terminate_pods action

Support a new grace_period_seconds parameter in the terminate_pods action to configure the period before a pod is allowed to be forcefully killed. See also https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
Resolves #22
Signed-off-by: Guido García<EMAIL_ADDRESS>

Codecov Report

Merging #24 into master will increase coverage by 0.14%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage      80%   80.14%   +0.14%
==========================================
  Files           4        4
  Lines         280      282       +2
==========================================
+ Hits          224      226       +2
  Misses         56       56

Impacted Files
Coverage Δ

chaosk8s/pod/actions.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3fed982...1c55099. Read the comment docs.


Do not store apk index during install of build-base package

do not store/cache apk package index

this also fixes where apk can not find the package to be installed locally


Fixed publication of iOS artifact

We see that ios arm64 not published to maven. So we fix setup of lib (add symlink to enable support of both source sets of iOS without code duplication).
Also in request added RSSI passing to common code (on iOS).
Also commencted signing cause blocks us.
i create request as DRAFT (commented signing and not completed RSSI on android not allow to merge), may be useful for others

Hi, can you resolve the conflict and set the branch ready for merge. I will merge in and setup a new branch to get working for android

Hi, i have the fixes locally, but i cannot push, can you give me write access to your fork please.

nevermind i have pushed it to my repo via a new branch.

@Reedyuk are you republish library to maven? on maven central i not see update https://mvnrepository.com/artifact/dev.bluefalcon

strange, i thought i had released it this morning but apparently not. I will have to check later.

it takes a while to appear in mvn repository, check here:
https://search.maven.org/search?q=g:dev.bluefalcon


Filter option

I needed a way to filter down the installations and repositories the app is installed on. Posting here in case others find this useful.

Thanks @chrmarti. This seems reasonable, but could you give a little more insight into your use case? I'm mostly just curious.

I have a bot that is used on multiple accounts, so I had to make it publicly available. Some large accounts outside my control then installed the bot on all their repositories slowing the bot down because it would go through many repositories only to find that there was no config in their .github/ folder. I'm using the filter to skip over these installations.

Thanks @chrmarti for your patience. This is published as 1.2.0

Thanks @bkeepers !


Document additional labels

Follow-up to https://github.com/jupyterhub/grafana-dashboards/pull/42

I believe this PR together with #42 should be enough to close https://github.com/jupyterhub/grafana-dashboards/issues/30


bug fix - "build_client" does not terminate on Ctrl+C #325

Add the signal handler in build_client sequence.

Pressing "Ctrl + C" could end build_client task during running
using the exist SIGINT handler. But I'm afraid of using nested
process function calls.


support FreeBSD14 in hvt

The API around VM_RUN changed. With this change, all tests pass. The first commit is to avoid the clang warning:
# cc -MT hvt/hvt_main.o -MMD -MP -MF hvt/hvt_main.Td -fstack-protector-strong -Wall -Werror -std=c11 -O2 -g -I/.opam/4.13.1/.opam-switch/build/solo<IP_ADDRESS>/include -c hvt/hvt_main.c -o hvt/hvt_main.o
# hvt/hvt_main.c:156:9: error: variable 'argc1' set but not used [-Werror,-Wunused-but-set-variable]
#     int argc1 = argc;
#         ^
# 1 error generated.

I'm still dubious whether shipping releases of solo5 with -Werror is a good idea. IMHO it is nice for development, but since C compilers add new warnings in every release, it breaks the software.
FWIW, considering releases -- I'm still using the 0.7 series of solo5, and would appreciate a release in that series if possible. I have a branch (hannesm fork, FreeBSD14-0.7) that includes exactly these two patches, and it would be great to have them merged after review. If you could create a 0.7 branch (off of the v0.7.5 tag), I can open a separate PR.

The above patches make the tests pass on my FreeBSD 14. Maybe @sg2342 is up for a review of the latter commit (I'm not a seasoned C programmer, and may have forgot stuff that should be done) -- and he has FreeBSD knowledge?

Thanks @hannesm . I'm also in favor of removing -Werror (and dealing with every warning during the dev process).

I'd be in favour to add this to the release script, i.e. before/when building the tarball temporarily remove the -Werror.

We probably should add a new CI for FreeBSD 14. At least, this PR looks correct for FreeBSD 12.

Ok, the FreeBSD 14 was added into the CI, thanks for your patch, we are ready to cut a release. However, it seems that we have an issue with grub2-bhyve on FreeBSD14, the CI does an infinite loop. I will make an issue to track that but I decided to not test Solo5 virtio on FreeBSD 14.


Specular aliasing becomes more visible when depth of field or glow is enabled

Godot version:
Godot 3.0 rc1 official
OS/device including version:
Ubuntu 16.04 64 bit
GeForce GTX 750 Ti, NVidia driver 384.111
Issue description:
Graphical artifacts are visible (for some viewing angles and zoom levels) when Dof Far Blur or Dof Near Blur in environment is enabled. These artifacts are placed in the areas of "high" reflections (see images).
Steps to reproduce:
Open 3D material_testers demo, enable Dof Far Blur and Dof Near Blur,  try to zoom in/out, rotate camera. Make the same in the running scene. (artifacts are visible both in editor and in running scene).
Artifacts:

Blur off:

Blur on:

Minimal reproduction project:

Still reproducible in 41634199:

WIth higher roughness I get artifacts in other locations (foot):

Still reproducible in 3.3-stable. CC current @godotengine/rendering contributors in case you want to poke at this one :)

Note that this is most likely not reproducible in the master branch since it has a new DoF implementation with proper support for bokeh.

This is a form of specular aliasing resulting from the high intensity of the specular lobe.
To fix these sorts of artifacts what we need to do is convert the buffer to LDR before performing the blur operation then convert back to HDR after blurring. We should do something similar with Glow to reduce specular aliasing.

This was fixed for glow in master by https://github.com/godotengine/godot/pull/54409. I haven't checked if this applies to depth of field in master yet.

Right now it was just added for glow, but the same concept applies for DoF.


Make a plan for how to make Blueprint ergonomic

Starting in https://github.com/rerun-io/rerun/pull/2010 we will load the blueprint store from the data store each frame, then write it back. This has many sharp edges:

Things that are #[serde(skip)] will be forgotten between frames
We need to special-implement PartialEq for some thing due to #[serde(skip)]
For each new element in the blueprint we need to write code to:

Create a new component for it OR add it to an existing struct and change its arrow type in the "mandatory" doc-test
Load it from the store
Diff it
Write it to the store
Write a Python interface for it

This will very quickly collapse under its own weight unless we come up with a better plan
Related:

#2019

We have a plan: code-gen from Flatbuffers IDL. Generate Python and Rust SDKs including the arrow conversions.
We also have https://github.com/rerun-io/rerun/pull/2188

Re-opening this until we have line-of-sight on the code-gen flatbuffers IDL actually solving the described painpoints.


Android sample parity

There's some differences between the kotlin and java sample app configurations for Android. They should be brought into parity. need to copy/pasta some things so that they are the exact same so it is less confusing to consumers trying to implement kmp-tor.

Hey @05nelsonm I think I can take care of this, any preference of which one is the right implementation or were you thinking on a good mix?

Hey @05nelsonm I think I can take care of this, any preference of which one is the right implementation or were you thinking on a good mix?

Wouldn't worry about it right now.
With 2.0.0 coming in the next week or 2, current samples will be obseleted. A separate repository will be where samples live, kmp-tor-samples.
Thanks for the offer though!

Hey @05nelsonm I think I can take care of this, any preference of which one is the right implementation or were you thinking on a good mix?

Wouldn't worry about it right now.
With 2.0.0 coming in the next week or 2, current samples will be obseleted. A separate repository will be where samples live, kmp-tor-samples.
Thanks for the offer though!

Okay good to know, I'm really looking forward for 2.0.0 so if there any way I can contribute to this project please let me know, it brings me a lot of value 🙂


Taxon constraint: GO:0043073  germ cell nucleus

Please provide as much information as you can:
GO:0043073  germ cell nucleus
The nucleus of a germ cell, a reproductive cell in multicellular organisms.

Request to add a taxon constraint:

**only in taxon: **

Metazoa and plants (defined as multicellular)

**never in taxon: **

Request to remove a taxon constraint:
Please specify

Supporting evidence if available (e.g PMID):

A bit to unpack here...
"germ cell nucleus" is such an odd level of granularity..
"germ cell" as defined in GO and CL encompasses plants and I believe
plasmodium, some fungi, ...
We should put the TCs at the most parsimonious places along the chain:
germ cell nucleus -> germ cell -> fertilization -> sexual reproduction
I think there is a long confusing history of what is meant by
gamete/zygote/fertilization in GO, e.g from 2007:
https://github.com/geneontology/go-ontology/issues/6520
On Sat, Jun 15, 2024 at 2:32 AM Val Wood @.***> wrote:

Please provide as much information as you can:
GO:0043073 germ cell nucleus
The nucleus of a germ cell, a reproductive cell in multicellular organisms.

Request to add a taxon constraint:

**only in taxon: **

Metazoa and plants (defined as multicellular)

**never in taxon: **

Request to remove a taxon constraint:
Please specify
Supporting evidence if available (e.g PMID):
—
Reply to this email directly, view it on GitHub
https://github.com/geneontology/go-ontology/issues/28152, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAMMOOXYPEN4ZCCI4DSCF3ZHQC23AVCNFSM6AAAAABJLRQB3SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2TINRZGY4DEMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

right, in fungi a germ cell is a spore.


add turbolinks

This is a spike to explore if we want to add turbolinks as discussed in https://github.com/dcrdata/dcrdata/issues/220#issuecomment-334666580
Give it a whirl and let me know if you notice any issues.
If we end up going this route, it just takes a bit of awareness to structure our js in a way that doesn't create memory leaks, since the javascript context sticks around as you navigate.
Luckily turbolinks has a great api for controlling js execution, so it shouldn't be much of an issue.

Seems fine, although when run locally I don't see much difference.  :)  Maybe I need to try on the server.

A good way to test it is to simulate a slow connection via Chrome dev tools

You'll notice when navigating the html gets fetched via XHR.
Since we already do a great job setting cache headers adding turbolinks doesn't really optimize amount transferred over the network, but it does reduce the work the browser needs to do since it doesn't need to reload the whole page.
BTW, don't merge this yet. The js in root.tmpl that handles socket updates still needs to be scoped properly.

Cool, I'll give that a shot.  In any case, this seems really nice.  Are there any downsides or caveats to this?  Crawlers or search engines OK with this?

As I was looking at the js for root.tmpl to make sure it plays nice w/ turbolinks, I ended up refactoring it a bit. I added zepto.js to give us a bit more of a toolkit for writing terse client side html/css manipulations.
Sorry to lump the refactor into a single PR, but the changes are minimal functionality wise:

Ticket window progress bar now updates when new block is added
"Time" column now gets set when new block is added
The dark/light theme is now non-blocking after the initial load and gets applied to the turbolinks body before it hits the DOM.

One thing to note is that currently the socket connection stays open as you navigate away from root.tmpl, at first I was thinking we should close it. But another way to approach it would be to make it universal and use it to display best block in top right an keep that updated. Thoughts?

I do like the idea of reusing the same socket connection on each page for some bit of information like block height or maybe a status thing like nodes connected and sync height like Insight.  Perhaps number of transactions in mempool would be cool too since that would change more frequently than other values.
But that can wait for another PR of course.  I'm cool with the PR as is, just need to review one more time and we can merge in a few hours.


[BUG] LignhtRGA not working

Description
with the below .env settings, there is no Lightrag Botton in File Colletions. My python version is 3.10.
set to true if you want to use customized GraphRAG config file
USE_CUSTOMIZED_GRAPHRAG_SETTING=true
USE_NANO_GRAPHRAG=true
USE_LIGHTRAG=true
Reproduction steps
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots
![DESCRIPTION](LINK.png)

Logs
No response
Browsers
Chrome
OS
MacOS
Additional information
No response

@bookandlover currently USE_NANO_GRAPHRAG and USE_LIGHTRAG are mutually exclusive. Set only once variable to True.
However you just need to run Kotaemon once with these env var for the corresponding collection to appear. You can try running 2 times with each var set to True separately and later you can use both collections.


CloudFlare Flexible SSL Support

Good morning,
I have CloudFlare flexible SSL activated on my domain that is running my Cachet install. As you can see the flexible SSL appears to be running on the status page but the links to the login page for example from the footer is redirecting to the HTTP version.
I have tried uncommenting 'proxies' => '*',  in the trusted proxy.php file to no effect.
Thanks in advance for any suggestions,
Theo.

You're on the L5 branch, right? Could you try pulling the latest version and see if it helps?

I had this problem before. It's because with flexible SSL laravel doesn't see the connection is https, because the connection to the server is just http.

I had this problem before. It's because with flexible SSL laravel doesn't see the connection is https, because the connection to the server is just http.

That's what setting the trusted proxies correctly fixes.

Aa okay :)

That's what setting the trusted proxies correctly fixes.

Should do... We've always had issues :) The L5 branch now registers the service provider for TrustedProxies, so it should actually work.

@jbrooksuk I'll pull the latest Branch and try it out. Thanks.

@jbrooksuk I've replaced the trustedproxy.php with [this one](https://github.com/cachethq/Cachet/blob/8714f4643dbfbca89be18e47c58d7dc2612d0491/config/trustedproxy.php0 and I am still getting the same problem. Is there another file I need to update? I don't want to pull the whole branch as I assume it will overwrite my current install.

@TheoBearman you will need to update to the latest commit on the L5 branch please.

What else have you changed then?

You could stash the changes, pull down and pop them on again.

@jbrooksuk If I update to the latest commit, will it overwrite my install?

Stash your changes first.

@jbrooksuk Decided to do a fresh install and now I have this issue...

Ah you're on Windows, so chmod is useless for you.

Yeah... workaround?

run composer with --no-scripts

There you go ;)

or just delete the chmod step from the composer.json

What, so composer install --no-dev -o --no scripts?

composer install --no-dev -o --no-scripts.

Ok, well after all that. The HTTPS issue still hasn't resolved! See here.

Ah. It's the really annoying url helpers. Pull down latest changes, the links are fixed.

@jbrooksuk Pulled down the changes. Still nothing.

It won't auto-detect for some reason, this has been the case for a long time :/ you'll need to go back to the status page and click the link, or just visit it directly. https://status.theobearman.com/auth/login

@jbrooksuk Ok. Hopefully you guys will find a fix. Thanks anyway!

Yeah, me too. it's a right pain.

@TheoBearman @jbrooksuk @GrahamCampbell you could just create your own certificate and enable "Full SSL" which then also sends a HTTPS request to your server who also has to listen for SSL. So you'd have to disable port 80 and enable port 433 with this here in the server block:
###
# LISTENERS
###
listen 443 ssl spdy;
listen [::]:443 ssl spdy;

and this in your nginx.conf

@ApfelUser I'm on windows server. XAMPP not NGINX.

Well, I don't know how XAMPP works, but you probably can enable SSL on XAMPP too. And there is also a NGINX version for Windows.

http://nginx.org/en/docs/windows.html

Quite honestly, this issue is totally unrelated to cachet.

Just in case anyone else is having this problem, I finally found a fix.
# Copy and paste into your .htaccess file or include in your apache conf files

RewriteCond %{HTTP:CF-Visitor} '"scheme":"http"' [OR]
RewriteCond %{HTTP_HOST} !^example.com$ [NC]
RewriteRule ^(.*)$ https://example.com/$1 [R=301,L]

# And remember to always use https for future requests
Header set Strict-Transport-Security "max-age=16070400; includeSubDomains"

Just in case anyone else is having this problem, I finally found a fix.

This is not a proper fix. The correct fix is to set the trusted proxies.

@GrahamCampbell How is this not 'proper' ?

Anyone can sent a pretend CF-Visitor header in their requests. For this case, the security implications are minimal, but for other things, they could be more major, so hacks like this should not be encouraged.

@GrahamCampbell Well, seeing as the TrustedProxies fix did not work for me, this is the only working fix for me as it stands.


Could you run NodeJS code?

I wonder, can you run nodejs code?
I tried but fails.
Am I wrong or what?

Currently the runtime only allows for using console log function. This is a proof of concept.

Yes, I'm actively working on this. Please contribute if you want to see this project become mature sooner :)


Runtime error "ImportError: No module named util"

Hello,
I installed gftools on a debian strech with python/pip.
The execution fails:
$ gftools compare-font DroidSansJapanese.ttf DroidSansJapanese.ttf
Traceback (most recent call last):
  File "/usr/local/bin/gftools-compare-font.py", line 69, in <module>
    from util import google_fonts as fonts
ImportError: No module named util

Same error in a fresh install in a docker.
Have i missed something?
kind regards

Thanks for reporting this. I'm aware of the issue and will be providing a fix soon.

For the record, this is a packaging issue. We need to add the code from the util subdirectory to the python package as well. I failed to notice that on the initial migration of code from Fontbakery into gftools and the resulting migration of scripts from the rootdir into the bin subdirectory in this repo.

If you really-really need the scripts right now, then you may be able to use the code as it was a few commits in the past, prior to the migration to the bin subdir. But you probably won't have to resort to that since I'll soon provide a fix to this issue.
Sorry for the trouble I may have momentarily caused here.

Fine! Thank you!
2017-11-09 18:34 GMT+01:00 Felipe Corrêa da Silva Sanches <
<EMAIL_ADDRESS>
If you really-really need the scripts right now, then you may be able to
use the code as it was a few commits in the past, prior to the migration to
the bin subdir. But you probably won't have to resort to that since I'll
soon provide a fix to this issue.
Sorry for the trouble I may have momentarily caused here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/googlefonts/tools/issues/27#issuecomment-343231227,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNY4CG83ABbUrVhiy7Z9ml_7qtEX7VRks5s0zeigaJpZM4QYP0N
.

I've just merged the packaging code. Can you try this?

clone this repo
create a virtual env
pip install -e .
then try to run the scripts

Let me know if that's good enough or if you think something's still missing.

It works like a charm.
2017-11-09 19:31 GMT+01:00 Felipe Corrêa da Silva Sanches <
<EMAIL_ADDRESS>
I've just merged the packaging code. Can you try this?

clone this repo
create a virtual env
pip install -e .
then try to run the scripts

Let me know if that's good enough or if you think something's still
missing.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/googlefonts/tools/issues/27#issuecomment-343247650,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNY4OKk8PrfveZQQf5bStpYYpc-w7Zlks5s00TpgaJpZM4QYP0N
.

awesome!


Capture pressure when signing

update of #503
closes #503
closes #213
closes #379

_data is kind of public with the toData() method. I was thinking about that too. Instead of having all of these to* methods just making them separate packages.
Should I remove the toISOData method and let that be a separate package?

I forgot about toData() 🤦 .
I think it would be a good idea to extract it. I'm just wondering about API - if these toWhatever functions should accept the whole signaturePad instance or just the result of toData(). E.g. toSVG (which theoretically could also be extracted to a separate function, unless we treat it as a core feature) uses some additional properties like dotSize.

One of my next changes was going to put more of those properties into the point groups so we can save information like max/min width and dot size, etc.
I feel like toData() should give all of the properties.


docs(http): update request body for updating a task

Closes #12027
Briefly describe your proposed changes:

[x] Rebased/mergeable
[ ] Tests pass
[x] http/swagger.yml updated (if modified Go structs or API)
[x] Sign CLA (if not already signed)

Hi @mark-rushakoff  , request a review.

Good catches @zhulongcheng, thanks. Merging with red litmus_daily as known issue #11965.

@mark-rushakoff , two fields are required : flux and name, I am going to have a separate PR to add required: [flux, name]

@gshif neither of those are supposed to be required.  It's supposed to be at least one of the properties on TaskUpdate. It's fine if it's only token or only status or only flux or only name.


Elasticsearch sink - rolling file functionality?

Is it possible to configure the elasticsearch sink in a similar way like the File sink, by setting properties like rollingInterval, fileCountLimit, to limit the amount of data written to elasticsearch? I would like for instance to store some logs from different applications, for the last 30-60 days (kind of historical data, in a ring buffer). Are there any samples available for the elasticsearch sink, for this functionality?

Is the index lifecycle management https://www.elastic.co/de/blog/implementing-hot-warm-cold-in-elasticsearch-with-index-lifecycle-management supported by the serilog elasticsearch sink?

No, not as such. You can override the template creation and specify the required data yourself. But the sink only tries to deliver logevents as quickly as possible to ES and does not do any tricks for maintaining it.

It will be nice to have the capability to define ILM policy in this think,  so we can enforce this via CD pipeline to reduce administration overhead.
*beats can define ILM policy in its configuration.
https://www.elastic.co/guide/en/beats/metricbeat/current/ilm.html

Old issue, cleaning up. Still facing this issue, feel free to reopen.


Changing name of file in require

Changing the name of the soundManager2 so it's able to build

Sorry about that, I only just saw this. Was it causing any errors?


How to use this with the stripe_ prefix option?

Hey, I was wondering I'd like my stripe data to be in my public schema and just have the tables prefixed with stripe_. How do I enable this?

@johnpuaoi
You can just modify the sql to fit your needs.
However I believe this is no longer working with the current version of the Stripe API.


[Feature] User management is recommended to add the activation / deactivation status

User management is recommended to add the activation / deactivation status.
If reasonable, I am willing to achieve it.

+1,  I like this feature,haha

#2710  support this feature


Using feat_static_cat

I've got a few questions around using feat_static_cat for time series with more than one category.
My data set that I'm wanting to create forecasts on includes both a store id and a product id, per time series.
I'm able to create the predictor object, but how do I request a forecast for a specific store id and product id?
Using the When the forecast is returned, will the data distinguish each time series by store id and product id? Right now, I'm just looking through the array, hoping the order of the array/forecast is the same order of the time series it learned off of. I'm not seeing anything that say for each store id and product id a forecast is for.
It doesn't look like I'm able to use make_evaluation_predictions. Currently, when I use it on feat_static_cat with both a store id and product id, I get the following error on the returned forecast generator: AssertionError. However, if I use only store id to train the model, then use make_evaluation_predictions, it works fine.
Thanks!

Hi @RXY3832,
could you provide a minimal example and the exact error message output? That will help diagnosing the problem.

Sure thing.
I run the following lines, which run well, up to a point.
from gluonts.evaluation.backtest import make_evaluation_predictions
forecast_it, ts_it = make_evaluation_predictions(
dataset=test_ds,  # test dataset
predictor=predictor,  # predictor
num_samples=1000,  # number of sample paths we want for evaluation
)
forecasts = list(forecast_it) **This line causes the error.
tss = list(ts_it)
error is:

AssertionError                            Traceback (most recent call last)
 in ()
----> 1 forecasts = list(forecast_it)
2 tss = list(ts_it)
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/model/predictor.py in predict(self, dataset, num_samples)
307             freq=self.freq,
308             output_transform=self.output_transform,
--> 309             num_samples=num_samples,
310         )
311
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/model/forecast_generator.py in call(self, inference_data_loader, prediction_net, input_names, freq, output_transform, num_samples, **kwargs)
193         **kwargs
194     ) -> Iterator[Forecast]:
--> 195         for batch in inference_data_loader:
196             inputs = [batch[k] for k in input_names]
197             outputs = prediction_net(*inputs).asnumpy()
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/dataset/loader.py in iter(self)
229     def iter(self) -> Iterator[DataBatch]:
230         buffer = BatchBuffer(self.batch_size, self.ctx, self.dtype)
--> 231         for data_entry in self.transform(iter(self.dataset), is_train=False):
232             buffer.add(data_entry)
233             if len(buffer) >= self.batch_size:
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/transform.py in call(self, data_it, is_train)
322     ) -> Iterator:
323         num_idle_transforms = 0
--> 324         for data_entry in data_it:
325             num_idle_transforms += 1
326             try:
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/transform.py in call(self, data_it, is_train)
273         self, data_it: Iterator[DataEntry], is_train: bool
274     ) -> Iterator:
--> 275         for data_entry in data_it:
276             try:
277                 yield self.map_transform(data_entry.copy(), is_train)
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/transform.py in call(self, data_it, is_train)
273         self, data_it: Iterator[DataEntry], is_train: bool
274     ) -> Iterator:
--> 275         for data_entry in data_it:
276             try:
277                 yield self.map_transform(data_entry.copy(), is_train)
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/transform.py in call(self, data_it, is_train)
273         self, data_it: Iterator[DataEntry], is_train: bool
274     ) -> Iterator:
--> 275         for data_entry in data_it:
276             try:
277                 yield self.map_transform(data_entry.copy(), is_train)
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/transform.py in call(self, data_it, is_train)
273         self, data_it: Iterator[DataEntry], is_train: bool
274     ) -> Iterator:
--> 275         for data_entry in data_it:
276             try:
277                 yield self.map_transform(data_entry.copy(), is_train)
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/transform.py in call(self, data_it, is_train)
273         self, data_it: Iterator[DataEntry], is_train: bool
274     ) -> Iterator:
--> 275         for data_entry in data_it:
276             try:
277                 yield self.map_transform(data_entry.copy(), is_train)
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/transform.py in call(self, data_it, is_train)
273         self, data_it: Iterator[DataEntry], is_train: bool
274     ) -> Iterator:
--> 275         for data_entry in data_it:
276             try:
277                 yield self.map_transform(data_entry.copy(), is_train)
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/transform.py in call(self, data_it, is_train)
273         self, data_it: Iterator[DataEntry], is_train: bool
274     ) -> Iterator:
--> 275         for data_entry in data_it:
276             try:
277                 yield self.map_transform(data_entry.copy(), is_train)
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/transform.py in call(self, data_it, is_train)
273         self, data_it: Iterator[DataEntry], is_train: bool
274     ) -> Iterator:
--> 275         for data_entry in data_it:
276             try:
277                 yield self.map_transform(data_entry.copy(), is_train)
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/transform.py in call(self, data_it, is_train)
273         self, data_it: Iterator[DataEntry], is_train: bool
274     ) -> Iterator:
--> 275         for data_entry in data_it:
276             try:
277                 yield self.map_transform(data_entry.copy(), is_train)
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/transform.py in iter(self)
1284
1285     def iter(self) -> Iterator[DataEntry]:
-> 1286         yield from self.transformations(self.base_dataset, is_train=True)
1287
1288     def len(self):
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/transform.py in call(self, data_it, is_train)
277                 yield self.map_transform(data_entry.copy(), is_train)
278             except Exception as e:
--> 279                 raise e
280
281     @abc.abstractmethod
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/transform.py in call(self, data_it, is_train)
275         for data_entry in data_it:
276             try:
--> 277                 yield self.map_transform(data_entry.copy(), is_train)
278             except Exception as e:
279                 raise e
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/transform.py in map_transform(self, data, is_train)
290
291     def map_transform(self, data: DataEntry, is_train: bool) -> DataEntry:
--> 292         return self.transform(data)
293
294     @abc.abstractmethod
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/transform.py in transform(self, data)
309
310     def transform(self, data: DataEntry) -> DataEntry:
--> 311         return self.func(data.copy())
312
313
~/anaconda3/envs/mxnet_p36/lib/python3.6/site-packages/gluonts/evaluation/backtest.py in truncate_target(data)
84         target = data["target"]
85         assert (
---> 86             target.shape[-1] >= prediction_length
87         )  # handles multivariate case (target_dim, history_length)
88         data["target"] = target[..., :-prediction_length]
AssertionError:

@RXY3832
Did this problem resolve?
If not, could you please provide maybe a notebook that can be executed to reproduce this error?


Multiple SHIR containers with cascading failures - 0x80010002 (RPC_E_CALL_CANCELED))

We are running several windows SHIR containers on the same physical machines all containers are using the same network and default nat docker switch. Once one container is unhealthy it starts to slowly cascade to the rest of the SHIR containers. We do not use a proxy and network issues are not occurring between the onprem and Azure ADF/Synapse instance.
Are their any issues with running multiple SHIR containers on the same host that all connect to different Azure ADF/Synapse instances? We have the need to scale this out to hundreds of SHIR containers.
Server 2019 Standard 1809 build 17763.3406
Dockerfile is latest with this addtion:
RUN MD C:\Download ADD https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u345-b01/OpenJDK8U-jdk_x64_windows_hotspot_8u345b01.zip C:/Download RUN MD "C:\Program Files\Eclipse Adoptium\jdk8u345-b01" RUN tar -xf C:/Download/OpenJDK8U-jdk_x64_windows_hotspot_8u345b01.zip -C "C:\Program Files\Eclipse Adoptium" RUN SETX PATH "%PATH%;C:\Program Files\Eclipse Adoptium\jdk8u345-b01\bin;C:\Program Files\Eclipse Adoptium\jdk8u345-b01\jre\bin\server" /m RUN SETX JAVA_HOME "C:\Program Files\Eclipse Adoptium\jdk8u345-b01\" /m

The only docker warning that is logged on the host server:
Health check for container 39fbbf4f690da051145d18f9d4df16b6666108c76dd39cf73d177179bf961f60 error: context deadline exceeded
This show up on all the containers that are unhealthy
`[09/22/2022 12:23:08] Registering SHIR node with the node key: redacted@ServiceEndpoint=usgovva.frontend.datamovement.azure.us@Vredacted
[09/22/2022 12:23:09] Registering SHIR node with the node name: redacted
[09/22/2022 12:23:09] Registering SHIR node with the enable high availability flag: true
[09/22/2022 12:23:09] Registering SHIR node with the tcp port: 8060
[09/22/2022 12:25:54] Start registering a new SHIR node
[09/22/2022 12:25:54] Enable High Availability
[09/22/2022 12:25:54] Remote Access Port: 8060
[09/22/2022 12:31:59] Waiting 60 seconds for connecting
Get-WmiObject : Call was canceled by the message filter. (Exception from
HRESULT: 0x80010002 (RPC_E_CALL_CANCELED))
At C:\SHIR\setup.ps1:17 char:22

... essResult = Get-WmiObject Win32_Process -Filter "name = 'diahost.exe' ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (:) [Get-WmiObject], COMExcept

ion

FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands

.GetWmiObjectCommand

[09/22/2022 12:34:02] diahost.exe is not running
Get-WmiObject : Call was canceled by the message filter. (Exception from
HRESULT: 0x80010002 (RPC_E_CALL_CANCELED))
At C:\SHIR\setup.ps1:17 char:22

... essResult = Get-WmiObject Win32_Process -Filter "name = 'diahost.exe' ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (:) [Get-WmiObject], COMExcept

ion

FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands

.GetWmiObjectCommand

[09/22/2022 12:36:06] diahost.exe is not running
Get-WmiObject : Call was canceled by the message filter. (Exception from
[09/22/2022 12:38:09] diahost.exe is not running
HRESULT: 0x80010002 (RPC_E_CALL_CANCELED))
At C:\SHIR\setup.ps1:17 char:22

... essResult = Get-WmiObject Win32_Process -Filter "name = 'diahost.exe' ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (:) [Get-WmiObject], COMExcept

ion

FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands

.GetWmiObjectCommand

Get-WmiObject : Call was canceled by the message filter. (Exception from
HRESULT: 0x80010002 (RPC_E_CALL_CANCELED))
At C:\SHIR\setup.ps1:17 char:22

... essResult = Get-WmiObject Win32_Process -Filter "name = 'diahost.exe' ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (:) [Get-WmiObject], COMExcept

ion

FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands

.GetWmiObjectCommand

[09/22/2022 12:40:11] diahost.exe is not running
Get-WmiObject : Call was canceled by the message filter. (Exception from
HRESULT: 0x80010002 (RPC_E_CALL_CANCELED))
At C:\SHIR\setup.ps1:17 char:22

... essResult = Get-WmiObject Win32_Process -Filter "name = 'diahost.exe' ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (:) [Get-WmiObject], COMExcept

ion

FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands

.GetWmiObjectCommand

[09/22/2022 12:42:12] diahost.exe is not running
Get-WmiObject : Call was canceled by the message filter. (Exception from
HRESULT: 0x80010002 (RPC_E_CALL_CANCELED))
At C:\SHIR\setup.ps1:17 char:22

... essResult = Get-WmiObject Win32_Process -Filter "name = 'diahost.exe' ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[09/22/2022 12:44:12] diahost.exe is not running
+ CategoryInfo          : InvalidOperation: (:) [Get-WmiObject], COMExcept

ion
+ FullyQualifiedErrorId : GetWMICOMException,Microsoft.PowerShell.Commands

.GetWmiObjectCommand`

I found a work around to allow mass deployments of SHIR containers. We are currently running about 80 SHIR containers.


Add 'forecast' ability to yr weather sensor

Description:
Currently, the yr weather sensor can only display the current weather conditions. However, the yr API gives access to forecast data for the next couple of days. Such a forecast can be very useful, especially in automations where actions should be taken before it starts raining etc.
This patch adds the ability to access this forecast data. It adds a 'forecast' parameter to the yr sensor, specifying the number of hours that the sensor should "look into the future".
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#3059
Example entry for configuration.yaml (if applicable):
sensor:
  - platform: yr
    forecast: 24
    monitored_conditions:
      - temperature
      - symbol

Shows the temperature and symbol forecast for "now plus 24 hours".
Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Hi @tinloaf,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Well, the linter always runs into a timeout, I don't know how to fix that. :-/

Linters are happy now. :smiley:
The "YR Weather Sensor" as you describe it would be a new sensor, right?

It would be a platform for the weather component.


Dockerfile platform option is ineffective since build context directory is not changed from molecule_ephemeral_path

Issue Type

Feature request

Molecule and Ansible details
ansible 2.7.1
  config file = /home/danielkza/.ansible.cfg
  configured module search path = ['/home/danielkza/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/danielkza/cobli/deploy-gravitational-teleport/ansible/venv/lib/python3.6/site-packages/ansible
  executable location = /home/danielkza/cobli/deploy-gravitational-teleport/ansible/venv/bin/ansible
  python version = 3.6.6 (default, Jul 19 2018, 14:25:17) [GCC 8.1.1 20180712 (Red Hat 8.1.1-5)]
molecule, version 2.19.0

Desired Behavior
I have a scenario with multiple Docker containers. Some of them correspond to things I'm actually setting up with Ansible, and some are just external services needed for the tests. I want to use a custom Dockerfile to build the former (which is different from the Molecule dockerfile that installs the Ansible prerequisites).
So I have something like that in my config:
driver:
  name: docker
platforms:
  - name: etcd-1
    image: etcd
    dockerfile: Dockerfile-etcd

  - name: service-a
    # implicitly uses the Dockerfile.j2 template

  - name: service-b
    # implicitly uses the Dockerfile.j2 template

Actually running molecule create fails because the etcd build still happens inside the molecule_ephemeral_dir, and the Dockerfile obviously does not reside there (and is not copied there at all). The stacktrace is exceedingly verbose, but in short, Docker fails with:
docker.errors.APIError: 500 Server Error: Internal Server Error (\"Cannot locate specified Dockerfile: ./Dockerfile-etcd\")

Molecule should set the image build context directory to the directory of the custom Dockerfile by default, or allow it to be specified manually.

Closing as new support for build path likely fixed this issue.


[SP Edit page]User can't save personal information after making changes in the mandatory fields

Environment: Windows 10 Pro, Chrome Version 113.0.5672.129 (64 bit).
Reproducible: always.
Preconditions
The Service Provider has been already registered in the system
Log into OoS website as SP
Go to the 'ОСОБИСТА ІНФОРМАЦІЯ' tab of SP cabinet (by clicking the button in the top right corner)
Select the 'Edit' page of 'ОСОБИСТА ІНФОРМАЦІЯ' tab (by clicking the 'Редагувати' button)
Steps to reproduce

Delete the data in 'Прізвище' field and leave this field empty
Enter valid data in the 'Прізвище' field
Repeat step 1 for mandatory fields
Cancel the edit process by clicking the 'Скасувати' button
Click the 'Скасувати' button in pop-up message
Repeat step 4
Click 'Підтвердити' button in pop-up message

Actual result
The 'Зберегти' button is still disabled after the data in the 'Прізвище' or 'Ім'я' fields has been changed
Expected result
The data in the 'Прізвище' or 'Ім'я fields has been changed, the 'Зберегти' button becomes enabled
Labels to be added
"Bug", Priority ("Medium"), Severity ("Medium"), Type ("Functional"),

@Shveik861 can't reproduce the bag, can you specify which account you are using and check that bug is still exists?
Also we can discuss it in Discord

Can't reproduce, might be fixed


distributed-tracing updates

This PR:

adds my name to the post :)
streamlines content for an improved read

@HumairAK
@schwesig
@quaid

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign quaid after the PR has been reviewed.
You can assign the PR to them by writing /assign @quaid in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sallyom: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

aicoe-ci/prow/pre-commit
28063eb5502306a1efd7dcd54e64f2aa8a8087c3
link
true
/test pre-commit

Full PR test history. Your PR dashboard. Please help us and open an issue when you hit one in your PR.

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

@sallyom: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

aicoe-ci/prow/pre-commit
0e49bd436e27b6157b469d3faea3fecec2506441
link
true
/test pre-commit

Full PR test history. Your PR dashboard. Please help us and open an issue when you hit one in your PR.

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

@sallyom: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

aicoe-ci/prow/pre-commit
ef8026442de2bbc5b56a66f956065914ae962440
link
true
/test pre-commit

Full PR test history. Your PR dashboard. Please help us and open an issue when you hit one in your PR.

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

@sallyom: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

aicoe-ci/prow/pre-commit
97dcbc6712ebf6851cc4379aff03069a042dd6e5
link
true
/test pre-commit

Full PR test history. Your PR dashboard. Please help us and open an issue when you hit one in your PR.

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

/cc @durandom
/cc @quaid
/cc @schwesig

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: schwesig
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [schwesig]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@schwesig @sallyom this repo is no longer the blog. You should be able to cherry-pick the commit and create a PR against https://github.com/operate-first/operate-first.github.io


Cannot open the StoryMaker more than once - why static GlobalKey?

Hello author of StoryMaker!
When trying to open the StoryMaker screen the second time (I create one story, and then I want to navigate to StoryMaker again), I get an exception:

'package:flutter/src/widgets/framework.dart': Failed assertion: line 3888 pos 12: 'element._lifecycleState == _ElementLifecycle.inactive': is not true.
package:flutter/…/widgets/framework.dart:3888
The relevant error-causing widget was
StoryMaker

After modifying the source code to remove the static keyword, the StoryMaker screen can be opened again.
Why is the GlobalKey static?
https://github.com/NarekManukyan/story_maker/blob/079fd310844219fb9bb8fb28ebced4c8d9454899/lib/story_maker.dart#L46

Hi.
Thanks for reporting. Will fix it.

@NarekManukyan when are you gonna merge this?

@AleksandarSavic95 Sorry for such a late reply. The problem has been fixed.


Update StakeThat.toml for testnet 15

previous PR:
https://github.com/anoma/namada-testnets/pull/1050
Description
All previous genesis validators should name their PRs "Update {validator_alias}.toml for tesntet-15" and provide links to previous PRs merged.
If this is an UPDATE for a previous genesis validator
Checks are made against your net_address. If this has changed since the previous testnet, make sure you provide links of previous prs merged from your previous git username.
Thanks in advance!
Checklist before merging

[ ] Only one toml is added in this PR
[ ] The file being added is indeed a .toml file
[ ] The toml being added is to the correct folder, and only to the correct folder
[ ] The eth_hot_key and eth_cold_key are present
[ ] The email, discord, elements telegram, and twitter fields are present and valid

hi, I've been running a validator for a couple of testnets back, but unfortunately on testnet14 I wanted to change my key but did not make the PR in time for the genesis. My node ran for the whole length of the testnet, but I might not have singed bocks. I prepared a new key for this testnet, so I would appreciate if you could merge my changes


Create SECURITY.md

Create a github security policy referenced by the "Security" link.
Related Issue or Background Info

link to issue, or a few sentences describing why this PR exists

Changes Proposed

change 1
change 2

Additional Information

decisions that were made
discussion of tradeoffs / future work
complaints about how bad the code is

Screenshots / Demos
Checklist for Author and Reviewer
Infrastructure

[ ] Consult the results of the terraform-plan job inside the "Terraform Checks" workflow run for this PR. Confirm that there are no unexpected changes!

Design

[ ] Any UI/UX changes have a designer as a reviewer, and changes have been approved
[ ] Any large-scale changes have been deployed to test, dev, or pentest and smoke-tested by both the engineering and design teams

Content

[ ] Any content changes (including new error messages) have been approved by content team

Support

[ ] Any changes that might generate new support requests have been flagged to the support team
[ ] Any changes to support infrastructure have been demo'd to support team

Testing

[ ] Includes a summary of what a code reviewer should verify

Changes are Backwards Compatible

[ ] Database changes are submitted as a separate PR

[ ] Any new tables that do not contain PII are accompanied by a GRANT SELECT to the no-PHI user
[ ] Any changes to tables that have custom no-PHI views are accompanied by changes to those views
(including re-granting permission to the no-PHI user if need be)
[ ] Liquibase rollback has been tested locally using ./gradlew liquibaseRollbackSQL or liquibaseRollback
[ ] Each new changeset has a corresponding tag

[ ] GraphQL schema changes are backward compatible with older version of the front-end

Security

[ ] Changes with security implications have been approved by a security engineer (changes to  authentication, encryption, handling of PII, etc.)
[ ] Any dependencies introduced have been vetted and discussed

Cloud

[ ] DevOps team has been notified if PR requires ops support
[ ] If there are changes that cannot be tested locally, this has been deployed to our Azure test, dev, or pentest environment for verification

This is dependent on the recipients of<EMAIL_ADDRESS>knowing how to route vulnerability information.

Respectfully declining this PR, as this policy does not conform to the cited HHS Vulnerability Disclosure Policy. Since that policy governs, no additional documentation will be added to the repo at this time.


Both Koreas bugged

North and South Korea are having an issue loading the flags on the selection page. The information pages for both North and South Koreas also don't render properly.
Data from my API that renders on the country selection screen renders but not the flags <img src=
Images attached.

Somehow fixed. Not sure when it happend


Add the ability to forward headers

I have been working in a service oriented architecture where there are many small APIs involved. And each of the API uses Guzzle to make requests to the external APIs. Here is how it looks like
---------,        ,-----------,        ,---------,
Client    | ----> | API - 1   | -----> | API - 2 |
---------'        '-----------'        '---------'

Now, as you can see the API-1 is requesting the API-2 on behalf of the client so for API-2 to consider the actual client as the client instead of API-1 as the client, what I want is to forward the client's headers on the request instead of the server's.
What I am doing right now is manually setting the required headers. However it would be beneficial to have some option e.g. forward_headers that would automatically forward the actual headers alongside the request.

+1

So you mean to forward headers of an incoming PSR-7 RequestInterface to a Guzzle request that is sent to your API -1/2? That sounds like 5 lines of code.
Can you give a concrete usage example as I don't how you imagine this to work.

It may be 5 lines of code but why not standardize it with a one line of code in Guzzle itself :-)
Here is what I mean:
For example the client requests API-1 and sends the following:
[
    'x-host-ip' => <IP_ADDRESS>,
    'x-forwarded-for' => <IP_ADDRESS>,
    'x-some-custom-header' => 'some-value',
    'User-Agent' => '...',
    ....
]

Now API-1 uses Guzzle to request API-2; by default, nothing out of these headers will be forwarded to API-2. Now while initializing the guzzle, if I add the option
...
forward_headers => true
...

It would forward the same headers, given above, that the client sent; towards the API-2 without writing any custom code.

I'm not sure that I like this proposal because it moves Guzzle more into the application/server space than I'd like. Guzzle shouldn't have to know anything about the headers sent from another client to a server in order to send a request.
In my opinion, this would be best left to third-party middleware libraries instead of in Guzzle core.

forward_headers => true

I don't see how this should work. Guzzle client in API-1 does not know the incoming headers. It would need to access the RequestInterface instance of the incoming request.
Isn't all you want $newRequest = $newRequest->withHeaders($incomingRequest->getHeaders()); $guzzle->send($newRequest);? That's only one line as well.

@Tobion this is exactly how, I am handling it now.
@mtdowling it really won't move it more into the app/server space than it already is. I mean, guzzle is already on the server side, where client has to send requests and it won't be rare that the client may send certain headers along the request regarding their application logic for certain stuff. I just mean to optionally include the headers, if it is required.
But anyways, I can understand if you disagree.


Add: goad, an AWS empowered version of Apache Benchmark

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew tests with your changes locally?

reopening on https://github.com/Homebrew/homebrew-core


Dotty 0.21.0-RC1

Fixes #41

ResolveException: Error downloading ch.epfl.lamp:dotty-staging_0.19:0.21.0-RC1

Locally, for me, resolving works, but it does not compile:
sbt ++0.21.0-RC1! verifyJVM/test
[info] Compiling 31 Scala sources to /Users/david/workspace/nanotest-strawman/jvm/target/scala-0.21/classes ...
[warn] Flag -sourcepath set repeatedly
[warn] Flag -sourcepath set repeatedly
[warn] bad option '-Xlint' was ignored
[warn] bad option '-Ywarn-dead-code' was ignored
[warn] bad option '-Xlog-free-terms' was ignored
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:23:65
[error] 23 |  private[this] def runtimeSym = '[RecorderRuntime[_, _]].unseal.tpe.symbol match {
[error]    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error]    |value tpe is not a member of RecorderMacro.this.qctx0.tasty.TypeTree - did you mean TypeTree.eq?
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:31:41
[error] 31 |    val termArg: Term = recording.unseal.underlyingArgument
[error]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error]    |value underlyingArgument is not a member of RecorderMacro.this.qctx0.tasty.Term
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:50:44
[error] 50 |    val expectedArg: Term = expected.unseal.underlyingArgument
[error]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error]    |value underlyingArgument is not a member of RecorderMacro.this.qctx0.tasty.Term
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:51:38
[error] 51 |    val foundArg: Term = found.unseal.underlyingArgument
[error]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error]    |value underlyingArgument is not a member of RecorderMacro.this.qctx0.tasty.Term
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:71:25
[error] 71 |      val m = runtimeSym.method("resetValues").head
[error]    |              ^^^^^^^^^^^^^^^^^
[error]    |              value method is not a member of Any
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:72:14
[error] 72 |      runtime.select(m)
[error]    |      ^^^^^^^^^^^^^^
[error]    |     value select is not a member of RecorderMacro.this.qctx0.tasty.Term
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:89:25
[error] 89 |      val m = runtimeSym.method("recordExpression").head
[error]    |              ^^^^^^^^^^^^^^^^^
[error]    |              value method is not a member of Any
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:90:14
[error] 90 |      runtime.select(m)
[error]    |      ^^^^^^^^^^^^^^
[error]    |     value select is not a member of RecorderMacro.this.qctx0.tasty.Term
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:106:40
[error] 106 |      case Select(x@This(_), y) if expr.pos.start == x.pos.start => expr
[error]     |                                   ^^^^^^^^
[error]     |value pos is not a member of RecorderMacro.this.qctx0.tasty.Term - did you mean expr.eq?
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:131:25
[error] 131 |      val m = runtimeSym.method("recordValue").head
[error]     |              ^^^^^^^^^^^^^^^^^
[error]     |              value method is not a member of Any
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:132:14
[error] 132 |      runtime.select(m)
[error]     |      ^^^^^^^^^^^^^^
[error]     |   value select is not a member of RecorderMacro.this.qctx0.tasty.Term
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:135:10
[error] 135 |      sym.fullName match {
[error]     |      ^^^^^^^^^^^^
[error]     |value fullName is not a member of RecorderMacro.this.qctx0.tasty.Symbol
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:144:40
[error] 144 |        case IsDefDefSymbol(sym) => sym.signature.paramSigs.nonEmpty
[error]     |                                    ^^^^^^^^^^^^^
[error]     |                                value signature is not a member of Any
[error] -- [E007] Type Mismatch Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:145:46
[error] 145 |        case IsValDefSymbol(sym) => skipIdent(sym)
[error]     |                                              ^^^
[error]     |                       Found:    (sym : Any)
[error]     |                       Required: RecorderMacro.this.qctx0.tasty.Symbol
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:149:43
[error] 149 |      case Select(_, _) if skipSelect(expr.symbol) => expr
[error]     |                                      ^^^^^^^^^^^
[error]     |   value symbol is not a member of RecorderMacro.this.qctx0.tasty.Term
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:151:38
[error] 151 |      case Ident(_) if skipIdent(expr.symbol) => expr
[error]     |                                 ^^^^^^^^^^^
[error]     |   value symbol is not a member of RecorderMacro.this.qctx0.tasty.Term
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:153:36
[error] 153 |        val tapply = recordValueSel.appliedToType(expr.tpe)
[error]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error]     |value appliedToType is not a member of RecorderMacro.this.qctx0.tasty.Term
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:153:55
[error] 153 |        val tapply = recordValueSel.appliedToType(expr.tpe)
[error]     |                                                  ^^^^^^^^
[error]     |value tpe is not a member of RecorderMacro.this.qctx0.tasty.Term - did you mean expr.eq?
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:165:19
[error] 165 |    val pos = expr.pos
[error]     |              ^^^^^^^^
[error]     |value pos is not a member of RecorderMacro.this.qctx0.tasty.Tree - did you mean expr.eq?
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:171:29
[error] 171 |      case Apply(x, ys) if x.symbol.fullName == "verify.asserts.RecorderRuntime.recordValue" && ys.nonEmpty =>
[error]     |                           ^^^^^^^^
[error]     |   value symbol is not a member of RecorderMacro.this.qctx0.tasty.Term
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:176:13
[error] 176 |        expr.pos.startColumn + math.max(0, expr.pos.sourceCode.indexOf(y))
[error]     |        ^^^^^^^^
[error]     |value pos is not a member of RecorderMacro.this.qctx0.tasty.Term - did you mean expr.eq?
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/asserts/RecorderMacro.scala:177:36
[error] 177 |      case _                => expr.pos.startColumn
[error]     |                               ^^^^^^^^
[error]     |value pos is not a member of RecorderMacro.this.qctx0.tasty.Term - did you mean expr.eq?
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/sourcecode/Macros.scala:82:6
[error] 82 |    s.name.trim
[error]    |    ^^^^^^
[error]    |    value name is not a member of qctx.tasty.Symbol - did you mean s.ne?
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/sourcecode/Macros.scala:105:28
[error] 105 |    var owner = rootContext.owner
[error]     |                ^^^^^^^^^^^^^^^^^
[error]     |value owner is not a member of qctx.tasty.Context - did you mean Context.ne?
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/sourcecode/Macros.scala:113:28
[error] 113 |    val owner = rootContext.owner
[error]     |                ^^^^^^^^^^^^^^^^^
[error]     |value owner is not a member of qctx.tasty.Context - did you mean Context.ne?
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/sourcecode/Macros.scala:120:28
[error] 120 |    val owner = rootContext.owner
[error]     |                ^^^^^^^^^^^^^^^^^
[error]     |value owner is not a member of qctx.tasty.Context - did you mean Context.ne?
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/sourcecode/Macros.scala:132:28
[error] 132 |    val owner = rootContext.owner
[error]     |                ^^^^^^^^^^^^^^^^^
[error]     |value owner is not a member of qctx.tasty.Context - did you mean Context.ne?
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/sourcecode/Macros.scala:139:34
[error] 139 |    val name = Option(rootContext.source) match {
[error]     |                      ^^^^^^^^^^^^^^^^^^
[error]     |                    value source is not a member of qctx.tasty.Context
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/sourcecode/Macros.scala:140:30
[error] 140 |      case Some(file) => file.getFileName.toString
[error]     |                         ^^^^^^^^^^^^^^^^
[error]     |                         value getFileName is not a member of Nothing
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/sourcecode/Macros.scala:148:34
[error] 148 |    val path = Option(rootContext.source) match {
[error]     |                      ^^^^^^^^^^^^^^^^^^
[error]     |                    value source is not a member of qctx.tasty.Context
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/sourcecode/Macros.scala:157:28
[error] 157 |    val line = rootPosition.startLine + 1
[error]     |               ^^^^^^^^^^^^^^^^^^^^^^
[error]     |               value startLine is not a member of qctx.tasty.Position
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/sourcecode/Macros.scala:219:50
[error] 219 |    '{ Text($v, ${Util.literal(qctx)(rootPosition.sourceCode)}) }
[error]     |                                     ^^^^^^^^^^^^^^^^^^^^^^^
[error]     |               value sourceCode is not a member of qctx.tasty.Position
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/sourcecode/Macros.scala:235:30
[error] 235 |    var current = rootContext.owner
[error]     |                  ^^^^^^^^^^^^^^^^^
[error]     |value owner is not a member of qctx.tasty.Context - did you mean Context.ne?
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/sourcecode/Macros.scala:243:40
[error] 243 |          case IsClassDefSymbol(x) if x.flags.is(Flags.ModuleClass) => Chunk.Obj(_)
[error]     |                                      ^^^^^^^
[error]     |                                    value flags is not a member of Any
[error] -- [E008] Member Not Found Error: /Users/david/workspace/nanotest-strawman/shared/src/main/scala-3/verify/sourcecode/Macros.scala:244:40
[error] 244 |          case IsClassDefSymbol(x) if x.flags.is(Flags.Trait) => Chunk.Trt(_)
[error]     |                                      ^^^^^^^
[error]     |                                    value flags is not a member of Any
[warn] -- Feature Warning: /Users/david/workspace/nanotest-strawman/shared/src/main/scala/verify/DiffUtil.scala:34:42
[warn] 34 |        } else if (Character.isAlphabetic(head) || Character.isDigit(head))
[warn]    |                                          ^^^^
[warn]    |Use of implicit conversion method char2int in object Char should be enabled
[warn]    |by adding the import clause 'import scala.language.implicitConversions'
[warn]    |or by setting the compiler option -language:implicitConversions.
[warn]    |See the Scala docs for value scala.language.implicitConversions for a discussion
[warn]    |why the feature should be explicitly enabled.
[warn] -- Feature Warning: /Users/david/workspace/nanotest-strawman/shared/src/main/scala/verify/DiffUtil.scala:35:47
[warn] 35 |          str.span(c => Character.isAlphabetic(c) || Character.isDigit(c) && c != ansiColorToken)
[warn]    |                                               ^
[warn]    |Use of implicit conversion method char2int in object Char should be enabled
[warn]    |by adding the import clause 'import scala.language.implicitConversions'
[warn]    |or by setting the compiler option -language:implicitConversions.
[warn]    |See the Scala docs for value scala.language.implicitConversions for a discussion
[warn]    |why the feature should be explicitly enabled.
[warn] -- Feature Warning: /Users/david/workspace/nanotest-strawman/shared/src/main/scala/verify/DiffUtil.scala:40:36
[warn] 40 |            !Character.isAlphabetic(c) && !Character.isDigit(c) &&
[warn]    |                                    ^
[warn]    |Use of implicit conversion method char2int in object Char should be enabled
[warn]    |by adding the import clause 'import scala.language.implicitConversions'
[warn]    |or by setting the compiler option -language:implicitConversions.
[warn]    |See the Scala docs for value scala.language.implicitConversions for a discussion
[warn]    |why the feature should be explicitly enabled.
[warn] 8 warnings found
[error] 35 errors found
[error] (verifyJVM / Compile / compileIncremental) Compilation failed
[error] Total time: 7 s, completed 6-Jan-2020 2:00:24 PM

-.-  this library should really just lose the pointless macro.

I have no idea why it felt like everything compiled before. In any case, trying this again.
I don't think macro on its own is bad. It's just that it's annoying to track API changes by reading the Dotty code every time it changes.

Looks like many of the failure is related to import A._ no longer importing "given" instances. So I guess that's more of a language change.


Bolt argues with me about the existence of GPT-4o

Describe the bug
Asked it to change the OpenAI model to "gpt-4o". It refused, telling me that it doesn't exist, even when I explained that it's knowledge is out of date.

Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-ht8gc9
Steps to reproduce
Try to get Bolt to use gpt-4o.
Expected behavior
Do what I asked! :)
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 64932975,
  "usedJSHeapSize": 46253319,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = simonmesmith
Chat ID = cdf9de4dbede

Additional context
No response

for me it was just resetting the model name to gpt-4 until I advised bolt to put the model config into its own file. i believe i even added a comment on that line that this line should never be changed


Would be nice to update this for ASP.NET 5 :)

Hey - sounds like you want to make a contribution to the code :-)
Apologies I don't have much time at the moment to make any changes so probably won't get round to it for some time.
If you end up getting it to work let me know and I can retrofit the changes in.

After looking around, there is a new generic OAuth OWIN scheme in ASP.NET 5, which looks like it will work.  Maybe if I play with this stuff in future I can figure out how to do it.  I will let you know.


Update dependency on ledger-specs, remove overlay schedule

Updates after:
https://github.com/input-output-hk/cardano-ledger-specs/pull/1849 which breaks
the ledger snapshot compatibility.

Draft because https://github.com/input-output-hk/cardano-ledger-specs/pull/1849 hasn't merged yet.

bors r+


Updated French translation

I corrected some typos in the fr.po file

Please update CREDITS.json

I added myself in the CREDITS file, as a French translator


Extend CommitInfo with version when retrieving the history of a delta table

Description
When retrieving the history of a DeltaTable using Rust, the version of each commit is not included. This is a proposal with code included to extend the CommitInfo struct.
The problem today
let history = match delta_table.history(limit).await {
        Ok(vci) => {
            vci
        },
        Err(_) => Vec::new() // empty
    };

    for h in history {
      // Not able to get the version here
    }

Proposal
This proposal makes a minor change to the CommitInfo-struct and how the function commit_infos(...) operates when mapping actions.
In core/src/kernel/models/action.rs extend the CommitInfo with:
    /// The version of the commit - Note: Never included in the json
    #[serde(skip_serializing_if = "Option::is_none")]
    pub version: Option<i64>,

And in core/src/kernel/snapshot/mod.rs expand line 253:255 from:
if let Action::CommitInfo(commit_info) = action {
  return Ok::<_, DeltaTableError>(Some(commit_info));
}

To:
if let Action::CommitInfo(mut commit_info) = action {
  commit_info.version = meta.location.commit_version();
  return Ok::<_, DeltaTableError>(Some(commit_info));
}

Note: If you are using the SQL-extended command DESCRIBE HISTORY table_name, the version is included.
Use Case
With this "minor" change, we are now able to include the version of each commit:
let history = match delta_table.history(limit).await {
  Ok(vci) => {
    vci
  },
  Err(_) => Vec::new() // empty
};

for h in history {
  println("{}", h.version());
}

Related Issue(s)
None

I am aware of the issue that this breaks some kind of responsibility of CommitInfo. It is no longer completely matching the JSON-response from the file itself.

@rtyler - What do you think of this?


Auto encoder Doesn't work or i missing something obvious

from sknn.ae import AutoEncoder, Layer as aeLayer
dae_3 = AutoEncoder(n_iter=100,
layers=[aeLayer("Sigmoid",units=300,type="denoising")])

Error Output:
---> 6 dae_3.fit(xxc)
7 #X_dae3 = dae_3.transform(nw_train_1)
8 print x
/anaconda/lib/python2.7/site-packages/sknn/ae.pyc in fit(self, X)
127                       "\n-------------------------------------")
128
--> 129         self._backend._fit_impl(X)
130         return self
131
/anaconda/lib/python2.7/site-packages/sknn/backend/pylearn2/ae.pyc in _fit_impl(self, X)
37
38         input_space = self._create_input_space(X)
---> 39         ds = self._create_dataset(input_space, X=X)
40         datasets = self._create_ae_datasets(ds, ae_layers)
41         trainers = [self._create_trainer(d, self._ae_get_cost(l)) for d, l in zip(datasets, self.layers)]
/anaconda/lib/python2.7/site-packages/sknn/backend/pylearn2/nn.pyc in _create_dataset(self, input_space, X, y)
41                 return DenseDesignMatrix(X=X, y=y, mutator=self.mutator)
42             else:
---> 43                 return SparseDesignMatrix(X=X, y=y, mutator=self.mutator)
44
45     def _create_trainer(self, dataset, cost):
//anaconda/lib/python2.7/site-packages/sknn/backend/pylearn2/dataset.pyc in init(self, X, y, mutator)
63         X_source = 'features'
64
---> 65         dim = self.y.shape[-1] if self.y.ndim > 1 else 1
66         y_space = FastVectorSpace(dim=dim)
67         y_source = 'targets'
AttributeError: 'NoneType' object has no attribute 'ndim'

Try initializing with debug=True as a parameter to the auto-encoder.

dae_3 = AutoEncoder(n_iter=100,debug=True,
layers=[aeLayer("Sigmoid",units=30,type="denoising")])
This is my code. When I go to run the .fit command it still does not work... :(
Should I reinstall the entire library?

How did you install it in the first place?

pip install sckit-neuralnetwork in terminal on Mac

I uninstalled with pip and reinstalled it and it still doesn't work

Auto-encoder from PyLearn2 was removed, see #129 for implementing the new one in Lasagne.


TestData with auction example

I've left AuctionExample in the library, because it's not yet ready for end-to-end execution.


Following issue: setdefaultencoding

First thank you very much for working on this Haddon. I really do use it and it's amazing you can code this. Thank you very much!
An error occurred in an add-on.
Please post on the add-on forum:
https://anki.tenderapp.com/discussions/add-ons
Traceback (most recent call last):
File "aqt/addons.pyc", line 41, in loadAddons
File "/Users/mac/Library/Application Support/Anki2/addons/ir_addon.py", line 24, in
File "/Users/mac/Library/Application Support/Anki2/addons/ir/init.py", line 1, in
File "/Users/mac/Library/Application Support/Anki2/addons/ir/main.py", line 23, in
AttributeError: 'module' object has no attribute 'setdefaultencoding'

Thanks very much for the report. I've made a change that I think should resolve this issue.
Let me know if it works for you.

It did solve it, thank you very much.
Btw: where did you learn to code python & Anki, I want to learn it myself and help you and other people.

I learned Python from Dive Into Python 3, which is free to read online. Python isn't my first programming language, so I'm not sure if that book is any good for beginners. It's written well enough, though.
As for writing add-ons, I mostly just looked at what other people were doing. There is nothing new under the sun, so if you want to do something, someone else has probably half done it for you already. If I get stuck, I'll check the Anki source code.


Nim text reader

I'm likely going to merge this on Monday, you can see if you want to add something else.
I will also rebase so that the test pipeline commits don't spam the commit history.
Known issues: I can't get it to work within Windows pipelines so I'll need help from someone with windows to get python working with nim.
I will also add a fallback to use the old python implementation as a fallback if it throws within nim until we're confident with maintaining nim only implementation.

Great work!
I'll help you with windows on Monday. I have most of the day available.
I'll try to start early Monday morning so you can get me working on it.
I also don't see it as a show stopper as we can release it to dce as a .dev
version
On Sat, 30 Sept 2023, 13:19 Ratchet, @.***> wrote:

I'm likely going to merge this on Monday, you can see if you want to add
something else.
I will also rebase so that the test pipeline commits don't spam the commit
history.
Known issues: I can't get it to work within Windows pipelines so I'll need
help from someone with windows to get python working with nim.
I will also add a fallback to use the old python implementation as a
fallback if it throws within nim until we're confident with maintaining nim
only implementation.

You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Codecov Report

Merging #86 (f330b96) into master (ad562ff) will decrease coverage by 0.70%.
The diff coverage is 74.93%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##           master      #86      +/-   ##
==========================================
- Coverage   83.04%   82.35%   -0.70%
==========================================
  Files          24       25       +1
  Lines        3704     3910     +206
==========================================
+ Hits         3076     3220     +144
- Misses        628      690      +62

Files
Coverage Δ

tablite/__init__.py
100.00% <100.00%> (ø)

tablite/base.py
87.51% <100.00%> (+0.04%)
:arrow_up:

tablite/config.py
100.00% <100.00%> (ø)

tablite/core.py
86.58% <ø> (ø)

tablite/version.py
100.00% <100.00%> (ø)

tablite/import_utils.py
82.35% <88.65%> (+5.22%)
:arrow_up:

tablite/nimlite.py
10.76% <10.76%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


fix gcc 9.1 -Wdeprecated-copy warnings by declaring default copy constructor and assignment operators

Part 1 fixes for https://github.com/intel/tbb/issues/161

Thank you for the patch. Unfortunately, we cannot accept the patch "as is" because it relies on C++11 and will not work with pre-C++11. In any case, we have already been working on the issue and the issue will be fixed the issue in one of the future releases.

Sorry - did not realize C++03 is supported


perf: use improved comparison algorithm

Spent some time this evening profiling eslint on the eslint repo. Noticed that this rule seems to take a little longer than I would've guessed and spend a bit of time with @jviide improving the equality algorithm used for this rule. The result is that the changes in this PR make the rule ~10x faster.

Before
After

453ms
46ms

Alright it's ready now, fixed a typo in the commit message 🙈


WIP: change repository name

NOT targeting to be merged before the repository is renamed.

Codecov Report

Merging #85 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #85   +/-   ##
=======================================
  Coverage   76.52%   76.52%
=======================================
  Files          31       31
  Lines         720      720
  Branches       98       98
=======================================
  Hits          551      551
  Misses        118      118
  Partials       51       51

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update abf7a0e...b82b0a2. Read the comment docs.


Bump common entities

Motivation and Context
To comply with v0.3_RELEASE of the shared events (JSON schema / event dictionary) and to comply with 0.4.0-DRAFT we have to emit surveyUpdate events to the event_survey-update topic.
What has changed
Added UI form input sections to allow the users setting up surveys to specify the URL of the sample definition, which should be documented, versioned etc.
Also added input section for metadata.
Then, emitted the event when the survey has been inserted into the database.
How to test?
Create a survey. Have a look at the surveyUpdate event which was emitted.
Links
Trello: https://trello.com/c/GG73DrrF
Screenshots (if appropriate):

 Pass Survey details to integrated systems - Survey update event (8)