kermit-terminal: 3.8 -> 4.0

Description of changes

Changelog
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Maintainer: @AndersonTorres

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

Result of nixpkgs-review pr 318917 run on aarch64-darwin 1

2 packages built:

kermit-terminal
kermit-terminal.man

Result of nixpkgs-review pr 318917 run on x86_64-darwin 1

2 packages built:

kermit-terminal
kermit-terminal.man


Auto-import of nitro utils stopped working in 3.14

Environment
- Operating System: Linux
- Node Version:     v20.18.0
- Nuxt Version:     3.14.1592
- CLI Version:      3.16.0
- Nitro Version:    2.10.4
- Package Manager<EMAIL_ADDRESS>
Reproduction
/server/utils/sum.ts
export function useSum(a: number, b: number) { return a + b }

/server/api/result:
export default defineEventHandler(() => {
  const sum = useSum(1, 2)
  return { sum }
})

ERROR  useSum is not defined
Describe the bug
Everything works fine when pinning<EMAIL_ADDRESS>Additional context
No response
Logs
No response

Please provide your config

What do you mean?

It has been reported Issue

this seems like it might be a regression from https://github.com/unjs/unimport/pull/395.

The nitro passes the glob server/utils/*:
https://github.com/nitrojs/nitro/blob/575144f0efa9e8115251abb8d0bd09165ecd55f2/src/core/config/resolvers/imports.ts#L30
In versions < 3.14.x, unimport would scan the raw dirs glob and the glob like {dir glob}/*.{ts,js,...}, which worked for nitro.
After #395, unimport lost the ability to scan the raw dirs glob, as it only scanned with the glob xxx/server/utils/*/*.{ts,js}, which could not match anything, so the case of nitro was not handled.
It will be fixed in issue #400.

version 3.14.3 seems to work a little better, but I'm currently having issues autoimporting files within a subfolder of server/utils in Nuxt. I tried adding various paths manually to nitro.imports.dirs in nuxt.config.js, to no avail. Maybe I'm doing it wrong? It used to work fine without needing to be specific in version 3.13.

I found that in version 3.13, nitro can only automatically import files within two levels of theserver/utils, this may be  unexpected.


Firefox and Chrome profiles won't load

Firefox: The code "driver.SetProfile "C:\ProfileFolder"" does not load any profile, Firefox tries to load a profile from "C:\Users\Username\AppData\Local\Temp\Selenium\ff-96a4ec00" (this last folder name is random);
Chrome: The code "driver.SetProfile "C:\ProfileFolder"" loads a profile from "C:\ProfileFolder\Default".
I managed to fix the last bug by manually moving all the contents from the ProfileFolder to ProfileFolder\Default.
Thanks for the great work!

Firefox: The code "driver.SetProfile "C:\ProfileFolder"" does not load any profile, Firefox tries to load a profile from "C:\Users\Username\AppData\Local\Temp\Selenium\ff-96a4ec00" (this last folder name is random);

If persistent is false, the driver works with a copy of the provided folder to TEMP/Selenium.
The folder C:\ProfileFolder probably contains an incorrect profile.

Chrome: The code "driver.SetProfile "C:\ProfileFolder"" loads a profile from "C:\ProfileFolder\Default".

The path needs to be the parent folder of the Default folder.
Here are some usage examples:
Private Sub Use_Chrome_With_Custom_profile_name()
  ' Profiles folder : %APPDATA%\Google\Chrome\Profiles
  ' Note that with Chrome the profile is always persistant

  Dim driver As New ChromeDriver
  driver.SetProfile "Selenium"

  driver.Get "https://www.google.co.uk"
  driver.Quit
End Sub

Private Sub Use_Chrome_With_Custom_profile_path()
  ' Default profile : %LOCALAPPDATA%\Google\Chrome\User Data
  ' Profiles folder : %APPDATA%\Google\Chrome\Profiles
  ' Note that with Chrome the profile is always persistant

  Dim driver As New ChromeDriver
  driver.SetProfile "%LOCALAPPDATA%\Google\Chrome\User Data"

  driver.Get "https://www.google.co.uk"
  driver.Quit
End Sub

Private Sub Use_Firefox_With_Custom_profile_name()
  ' To manage firefox profiles: firefox -p
  ' Profiles folder: %APPDATA%\Mozilla\Firefox\Profiles
  ' When persistant is False, the driver works with a copy in the Temp folder.

  Dim driver As New FirefoxDriver
  driver.SetProfile "Selenium", persistant:=True

  driver.Get "https://www.google.co.uk"
  driver.Quit
End Sub

Private Sub Use_Firefox_With_Custom_profile_path()
  ' To manage the profiles: firefox -p
  ' Profiles folder: %APPDATA%\Mozilla\Firefox\Profiles
  ' When persistant is False, the driver works with a copy in the Temp folder.

  Dim driver As New FirefoxDriver
  driver.SetProfile "%APPDATA%\Mozilla\Firefox\Profiles\kfvj49h4.Selenium", persistant:=True

  driver.Get "https://www.google.co.uk"
  driver.Quit
End Sub


Add path to LSP messages requesting completion in order to filter relevant variables

Part of investigating how to make intellisense variables context specific

This work is no longer applicable as it is handled under other feature work for R12.

This work is no longer applicable as it is handled under other feature work for R12.


Scrollbar enhancements/fix request

When dragging the scrollbar, if leaving the grid element and releasing the mouse button, the grid does not detect it, and still believes that the mouse button is still down when hovering backing over the grid (so it will scroll even though the mouse button isn't down). [Moved to new finbars Issue #6]
Also want to request the scrollbar functionality be enhanced to include a button (up/down/left/right) at each side of the scrollbar, [Moved to new finbars Issue #4] and holding down a mouse button on the bar (not the thumb) will scroll the grid to that position incrementally.   These are standard scrollbar functions which do not seem to be currently implemented in hypergrid. [Moved to new finbars Issue #5]

Hello @RandomGHUser, We appreciate your feedback. I am moving your second paragraph to a new ticket. In future please submit multiple issues as separate tickets.

I am moving your first paragraph to a new issue in the finbars repo.


Fix client release update

First commit contains a fix for release api.

Looks good to me. Please squash before merging.

@erichuanggit Why squash? Those two changes are pretty much unrelated.

ah, I was thinking both of these two commits for fixing PDC-1083. ignore my last comment.


Create static assets bucket

This is to implement alphagov/govuk-rfcs#91.
This PR creates a world-readable bucket to hold the assets. The code is mostly taken from the infra-database-backups-bucket project, minus the cross-region replication and lifecycle rules.
Next step is to set up a point Fastly at this bucket.
https://trello.com/c/dCXLbdBH

I'm going to close this as I can't deploy this project yet and I don't have time in the coming weeks to investigate.


NA cells tolerance

When parsing tables NA cells may split the content in more than one table.
These NA cells may belong to a merrged cell or to an empty row beneath the headers. Resulting in the headers parsed as one table and the content as a different one.
When feeding tables to LLMs this is not ideal.
I propose the addition of two variables that allow to add some tolerance for NA cells which in some cases may help the user extracting tables as a whole:
https://github.com/ChrisPappalardo/eparse/pull/2

Hi @Antonio-Velasco, thanks for opening this issue and your PR.  This seems like a good enhancement.  I don't think you intended for empty columns and rows to always be added to the parsed table, however, and with the algorithm you proposed in the PR, this will always be the case.  I think we need a third parameter to strip NAs from the table when an entire row and/or column at the edges are NA.  We also need unit tests for this feature to accept the PR.  I will push a commit to your fork with these changes.

Merged into main.


Can't delete a brand, product or todo

Hello,
I forked and tried the last version with a postgres sql database and docker.

I can create and update a brand, product and todo but I can't delete it. I have no error. I debugged code and everything seems to be fine inside for example "DeleteBrandHandler" method.

Did anybody had the same issue ?

I don't understand why when I start the project, the blazor client app is open inside a new browser window with a port like '50412' and I can't connect to the app. I have to use "localhost:7100" for example.

I searched inside the code to understand but I didn't find the reason.
An idea please ?
Thanks

I checked inside my databse and for example a brand is "soft" deleted. But it is still displayed in the Blazor Gui. Maybe a filter is missing to not displayed soft deleted item @iammukeshm ?

Might be a filter issue. Softdelete has been set.

I had the same problem, I deleted the database, it was recreated by the project, the problem was solved. If you have data, you can back up the data, delete the database to recreate it, and the problem is solved.

I tried this afternoon and I still have the problem !

Use the latest version 2.0.4. Download the latest update from the project root. Let it create a new database. It works correctly.
https://github.com/fullstackhero/dotnet-starter-kit/archive/refs/heads/main.zip

Hi there,
Fix.

yes @aabordalo  it is good for me. Thank you for the fix.
Do you know why I always have a new window with Blazor app with a port like 59097 and I can't connect to the app with "fill administrator credentials" and a clic on "sign in" (it work with localhost:7100) ?

You can also use this method to increase the normal deletion capability

For better database management, you can change the AuditableEntity file in the Domain folder as follows so that only the classes you want to use the SoftDeletable feature have special fields.

thanks @Hadi69ans for the tip about "launchBrowser". it's a solution. It's not a problem for me to open automatic window, the problem is the port which is used can't allow me to connect to the app but it's a solution to set "launchBrowser" to false and open a window with localhost:7001 !


docs: implement KLT -> Keptn name change

Closes https://github.com/keptn/lifecycle-toolkit/issues/1848
TO BE MERGED ONLY BY @thisthat !!!! in coordination with public announcements and the related blog post
Files that are modified or were checked
Main documentation sections (added when the change is drafted)

intro-klt
This is name change only, but this section must be rewritten by the time of publication.  See https://github.com/keptn/lifecycle-toolkit/issues/2005
getting-started
install
operate
implementing
tutorials
concepts/architecture
yaml-crd-ref
troubleshooting
migrate

Contributing guide

docs
general
software

API/CRD autogenerated docs

lifecycle/v1alpha3
lifecycle/v1alpha2 (no instances)
lifecycle/v1alpha1 (no instances)
options/v1alpha1 (no instances)
metrics-operator/api/v1alpha3 (no instances)
metrics-operator/api/v1alpha2 (no instances)
metrics-operator/api/v1alpha1 (no instances)

README's

main (lifecycle-toolkit)
examples/sample-app
examples/support/argo
examples/support/metrics
examples/support/observability
helm/chart
klt-cert-manager

Includes mention of Lifecycle Toolkit operator Versions 0.6.0.  Does that remain the same?

lifecycle-operator (no instances)
metrics-operator (no instances)
runtimes/deno-runtime

KeptnTask reference should link to one of the reference sections

runtimes/python-runtime

Issues
Needed to complete this PR

How do we handle links to videos that include "Keptn Lifecycle Toolkit" or "KLT" in their titles?
In Use Keptn Automatic App Discovery, we have a sample KeptnApp resource that includes the following:apiVersion: lifecycle.keptn.sh/v1alpha2
kind: KeptnApp
metadata:
  name: podtato-head
  namespace: podtato-kubectl
  annotations:
    app.kubernetes.io/managed-by: "klt"

   Is it going to be `managed-by: "klt"` or `managed-by: "keptn"`?
   Answer: it should be "keptn" but that requires modifying the Helm Chart, so https://github.com/keptn/lifecycle-toolkit/issues/2015

* The graphic in concepts/architecture/components references `KLTComonentKeptn` and `KLTComponents`.   Should those be renamed or stay as is?

   Answer: rename those strings on the graphic

* In the main README.md file, is it still "Keptn Application Lifecycle working group"?

### Related issues outside the scope of this PR

* In a Keptn vs Keptn V1 world, I'm not thrilled that the API libraries are named `v1alpha*`.  I assume we will soon be renaming all those libraries to be something other than `alpha` so maybe we address this at that time.
* What happens to the domain name? Right now everyone is linking (PPTs / presentations / web links) to https://lifecycle.keptn.sh/ - will redirects be implemented? (h/t @agardnerIT )

Pedantic but the CNCF style guide advises "cloud native" uncapitalized unless used in a name: https://github.com/cncf/foundation/blob/main/style-guide.md


Schedule description

Added schedule description, mapped to trigger description

I've pulled, rebased & squashed your branch. There was a lot of noise in it. Review #605, then I think this will be shipable -- unless @phatboyg has any other thoughts.


Edit readme and add Telestream json

@jocontr - This PR edits all the Docs links in the Readme.md file so they should be ready to go once the Docs are live. Also, the file Resources_Telestream_Workflow_Definitions.json was in the /docs folder of the zip. It isn't a doc and isn't referred to by any of the docs, but I noticed that the last line of the Readme links to it. I wasn't sure where to put it, so just put it loose in the project for now. Thanks.


Status?

Yesterday-today I tried switching to Atom. I can't make any use out of it.

Breaking blockers: it seems that Golang support is abandoned.
Weird keyboard shortcuts: I have to remap most of them to make them reachable.
Not used to it: besides the basics, navigating in a file is just difficult; stuff I expect, just isn't there, or I don't know of it.

I wanted to demo CodeRibbon, yet there is no practical way for me to do it. As such, I'm probing on the status of the VSCode VSCodium version: there has been 0 activity for almost a year.

Well "not good" is the shortest answer.
My research lab has been disbanded since both the professors left UTK. ( my prior advisor: https://austinhenley.com/blog/leavingacademia.html ) So I no longer have funding after this semester to continue a PhD, and I don't think any other professors at UTK are interested in picking up CodeRibbon.
This doesn't mean I've given up on it though, I started work on CodeRibbon before I was a grad student and will likely continue developing it afterwards. Right now I'm trying to get some additional hands on VSCR by means of a class project, but starting this semester with a covid infection isn't making it easier. While I'm stuck at home at least I can spend some more time writing code.

New status: moved to https://github.com/CodeRibbon/CodeRibbon-Theia and progress is looking good again. Nowhere near feature-complete or comparable yet, but minimal implementation proves the technology is working.


feat(scenarios): include protected by default flag

Substitute this line for a meaningful title for your changes
Overview
Please write a description. If the PR is hard to understand, provide a quick explanation of the code.
Designs
Link to the related design prototypes (if applicable)
Testing instructions
Please explain how to test the PR: ID of a dataset, steps to reach the feature, etc.
Feature relevant tickets
Link to the related task manager tickets

Checklist before submitting

[ ] Meaningful commits and code rebased on develop.
[ ] If this PR adds feature that should be tested for regressions when
deploying to staging/production, please add brief testing instructions
to the deploy checklist (docs/deployment-checklist.md)
[ ] Update CHANGELOG file

shouldn't we update seeds?

will default all to false


Local invariant toString on NDArray

With some local, comma is used to separate decimals. But comma are also used to separate value of the matrix coefficient. It wouls be usefull to make the string representation of NDArray independant of locals.

This would be a great pull request: https://github.com/deeplearning4j/nd4j/blob/fce0b9080531a296e70e83f820d9053b137cfef3/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/string/NDArrayStrings.java#L47-L47
It's a standalone class that handles all ndarray formatting if you (or someone reading this :P) would like to give it a shot.


Switching Session to MonitoredTrainingSession Produces Negative Dimension Tensors from Queues

I already posted on StackOverflow, but received no response.
I've made some changes to my code since posting on StackOverflow, but the problem is still the same: the readers and queues I use without a problem with a vanilla tf.Session() work fine, but if I try to switch to a tf.train.MonitoredTrainingSession, I get the following error:
InvalidArgumentError (see above for traceback): Shape [15,-1,4] has negative dimensions 	 [[Node: define_inputs/y = Placeholder[dtype=DT_FLOAT, shape=[15,?,4], _device="/job:local/replica:0/task:0/cpu:0"]()]]
I'm using TensorFlow v1.2.0-5-g435cdfc 1.2.1. Here's my code. This works:
# fix random seed to permit comparison between training runs
tf.set_random_seed(seed=0)

# define graph
model = import_model()

with tf.Session() as monitored_sess:

    monitored_sess.run(tf.global_variables_initializer())

    # create coordinator to handle threading
    coord = tf.train.Coordinator()

    # start threads to enqueue input minibatches for training
    threads = tf.train.start_queue_runners(sess=monitored_sess, coord=coord)

    data = monitored_sess.run([training_data])
    x, y, x_lengths, y_lengths = data[0]

    # when done, ask the threads to stop
    coord.request_stop()

    # wait for threads to finish
    coord.join(threads)

But then, this code doesn't work:
tf.set_random_seed(seed=0)

# define graph
model = import_model()

# create a one process cluster with an in-process server
server = tf.train.Server.create_local_server()

# define hooks for writing summaries and model variables to disk
hooks = construct_training_hooks(model.summary_op, model.loss, train_log_directory)

# create monitored training session to write model variables and summaries to disk
with tf.train.MonitoredTrainingSession(master=server.target,
                                       config=tf.ConfigProto(allow_soft_placement=True),
                                       is_chief=True,
                                       hooks=hooks) as monitored_sess:

    # create coordinator to handle threading
    coord = tf.train.Coordinator()

    # start threads to enqueue input minibatches for training
    threads = tf.train.start_queue_runners(sess=monitored_sess, coord=coord)

    # train
    data = monitored_sess.run([training_data])
    x, y, x_lengths, y_lengths = data[0]

    # when done, ask the threads to stop
    coord.request_stop()

    # wait for threads to finish
    coord.join(threads)

The function construct_training_hooks is pretty straightforward:
def construct_training_hooks(summary_op, loss, train_log_directory):
    hooks = [tf.train.StopAtStepHook(last_step=tf.flags.FLAGS.max_steps),
             tf.train.CheckpointSaverHook(checkpoint_dir=train_log_directory,
                                          saver=tf.train.Saver(),
                                          save_steps=5),
             tf.train.SummarySaverHook(output_dir=train_log_directory,
                                       summary_op=summary_op,
                                       save_steps=1),
             tf.train.NanTensorHook(loss_tensor=loss)]

    return hooks

Is it possible for you to try the code at head? I think this may be fixed (at least that error is no longer generated by the shape code).

I'm sorry I wasn't clear! (Not a stupid question :) I meant to try the most recently checked-in code which I think has fixed this problem, rather than the version 1.2.0 that you report above.
If you don't want to wait for the next release that would mean installing from sources or trying the nightly binaries.

@MicaelCarvalho Any update on then this is going to be release?
I see the same problem when restoring a saved session.

How do I update to the most recently checked-in code? When I try pip install --upgrade tensorflow, it just tells me that everything is already up to date.

I'm unable to reproduce this problem.
Please provide details about what platform you are using  (operating system, architecture). Also include your TensorFlow version. Also, did you compile from source or install a binary?  Make sure you also include the exact command if possible to produce  the output included in your test case. If you are unclear what to include  see the issue template displayed in  the Github new issue template.
We ask for this in the issue submission template, because    it is really difficult to help without that information. Thanks!

@ali01 , previously I was using TensorFlow v1.2.0-5-g435cdfc 1.2.1 on macOS Sierra version 10.12.6. I used pip to install.
I'll try to create a simplified example that recreates the problem, but I had to abandon that code because it wasn't working and I needed to make progress on my internship project, so I don't know if/when I'll get to it.

@mrry, do you have any insight?

The original error is printed in TF 1.2 when you call sess.run() on some tensor/op that depends on a placeholder and do not feed that placeholder. (The error message is improved in TF 1.3.) The cause is probably a hidden sess.run() call in one of the queue runners.
IIRC, you should never call tf.train.start_queue_runners(sess) where sess is a MonitoredSession, because it will attempt to run hooks in every queue runner run() call. These hooks (e.g. for summaries) might be what is causing the placeholder to be evaluated. Instead, you must rely on the MonitoredSession to start the queue runners for you.

It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Closing due to lack of activity.

i have the save questions. is there any examples to show how to start queue_runners rely on MonitoredSession ? thanks.


chore: gpu cleanup

[x] remove init() functions in gpu devices - change to dynamic device registration.
[x] remove custom gpu tags from the Makefile with the exception of habana (libhlml.go cgo implementation in vendor directory is problematic) so that all device implementations are built in.
[x] add missing copyright tags
[x] cleanup dcgm, nvml, and habana globals

will rebase once https://github.com/sustainable-computing-io/kepler/pull/1788 is merged

Tested with Kubeadm :
 kubectl logs -n kepler kepler-exporter-wm9sd
WARNING: failed to read int from file: open /sys/devices/system/cpu/cpu0/online: no such file or directory
I0930 13:33:58.022593  779728 exporter.go:103] Kepler running on version: 0b12e73b-dirty
I0930 13:33:58.022740  779728 config.go:293] using gCgroup ID in the BPF program: true
I0930 13:33:58.022774  779728 config.go:295] kernel version: 5.14
I0930 13:33:58.022938  779728 config.go:322] The Idle power will be exposed. Are you running on Baremetal or using single VM per node?
I0930 13:33:58.022952  779728 config.go:256] ENABLE_EBPF_CGROUPID: true
I0930 13:33:58.022959  779728 config.go:257] ENABLE_GPU: true
I0930 13:33:58.022964  779728 config.go:258] ENABLE_PROCESS_METRICS: false
I0930 13:33:58.022970  779728 config.go:259] EXPOSE_HW_COUNTER_METRICS: true
I0930 13:33:58.022975  779728 config.go:260] EXPOSE_IRQ_COUNTER_METRICS: true
I0930 13:33:58.022981  779728 config.go:261] EXPOSE_BPF_METRICS: true
I0930 13:33:58.022988  779728 config.go:262] EXPOSE_COMPONENT_POWER: true
I0930 13:33:58.022994  779728 config.go:263] EXPOSE_ESTIMATED_IDLE_POWER_METRICS: true. This only impacts when the power is estimated using pre-prained models. Estimated idle power is meaningful only when Kepler is running on bare-metal or with a single virtual machine (VM) on the node.
I0930 13:33:58.023002  779728 config.go:264] EXPERIMENTAL_BPF_SAMPLE_RATE: 0
I0930 13:33:58.023046  779728 power.go:59] use sysfs to obtain power
I0930 13:33:58.023119  779728 csv_cred.go:68] failed to read csv file: node name u37-h31-000-r7425.rdu3.labs.perfscale.redhat.com not found in file /etc/redfish/redfish.csv
I0930 13:33:58.023130  779728 redfish.go:173] failed to initialize node credential: no supported node credential implementation
I0930 13:33:58.025843  779728 acpi.go:71] Could not find any ACPI power meter path. Is it a VM?
I0930 13:33:58.025851  779728 power.go:79] using none to obtain power
I0930 13:33:58.029368  779728 dcgm.go:66] Initializing dcgm Successful
E0930 13:33:58.029379  779728 device.go:135] Device with type NVML doesn't exist
I0930 13:33:58.029390  779728 device.go:163] Try to Register DCGM
I0930 13:33:58.029395  779728 device.go:121] Adding the device to the registry [gpu][DCGM]
I0930 13:33:58.029402  779728 device.go:170] Registered DCGM
I0930 13:33:58.029411  779728 dcgm.go:69] Using DCGM to obtain processor power
I0930 13:33:58.029415  779728 fakehabana.go:24] Error initializing habana: ERROR_LIBRARY_NOT_FOUND
I0930 13:33:58.033739  779728 nvml.go:50] Initializing nvml Successful
I0930 13:33:58.033779  779728 nvml.go:55] Error registering nvml: DCGM already registered. Skipping NVML
I0930 13:33:58.033792  779728 accelerator.go:139] Initializing the Accelerator of type gpu
I0930 13:33:58.033796  779728 device.go:183] Starting up DCGM
I0930 13:33:58.046281  779728 dcgm.go:455] Created device group "dev-grp-2024-09-30-13-33-58"
I0930 13:33:58.092921  779728 dcgm.go:123] DCGM initialized successfully
I0930 13:33:58.092944  779728 dcgm.go:88] Using DCGM to obtain gpu power
I0930 13:33:58.092952  779728 accelerator.go:151] Startup gpu Accelerator successful

Maybe one improvement would be to not do init twice (once as a registration test then again for the real initialisation), I'm open to suggestion.

@dave-tucker thanks for the ping. I will go through the patch today. Meantime, @maryamtahhan , would you mind rebasing this ?


⚠ PrivateHD has degraded performance

In 8757532, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 1456 ms

Resolved: PrivateHD performance has improved in baf7d31.


extract video stream from html to c++

Is there any way of extracting real-time HTML video to c++ environment, suppose I have webrtc media which I want to process frame by frame at high-resolution 30fps but the conversion of every frame to base64 using javascript is very computationally expensive and causes too much delay.

Hi, sorry for late reply.
If you browse on the internet, there are several WebRTC client libraries in C++. You can also create an intermediary NodeJS client that receives WebRTC stream from web browser then forward it to another C++ process using an interprocess cross-language communication library (there must be one). To reduce the latency, I think you don't have any choice but to reduce the quality and resolution of the frames or using transport protocol other than TCP.
FYI, I built this library to help scientists and hobbyists to visualize their project and not focusing on perfomance (at least for now). Since this library is using HTTP (which is built on top of TCP that has handshakes and congestion control), of course it is less performance if you compare it to another library that using other protocol like UDP.
Thank you.


Status health checks doesn't support tunnels

As a user of Waggle Dance
I'd like to see the status of a metastore that is connected to via a tunnel
Acceptance Criteria:

Fix the STATUS check returned by the rest api to support a tunnelled connection.

From looking at the code I think it would be great (if possible) if we can reuse the connections already setup in the MetastoreMappingImpl. That way the status check is a more accurate representation of available connections.

I've created a branch for this issue already that added some logging and a quick fix to unblock us.
Branch is here : https://github.com/HotelsDotCom/waggle-dance/tree/issue-34


Container Networking Thoughts

I was originally looking at container networking, so wonder if this could be used to give each container their own IP address or in the future? Pretty sure others would love this for that use case too. So you could have container hosts running in different locations or providers, and have your own internal network between them, so then the only stuff exposed to the public internet IPs would be your entry points to the system like your load balancers, etc.
I also do like how you can manually set IPs too, it seems some other systems handle this all for you magically so being able to give a server you know going to be around a long time a static IP is cool! I know I heard someone was running a cluster in their containers using another solution and the thing reassigned the same IP to another similar node during reboots and caused different clusters to join each other causing issues - so they had to customize the IPAM for their use case so being able to manually control is a great feature already.
Just not too sure how you would handle this with containers or if the same host could use multiple IPs(even as separate certs so don't have to allocate IPs together per node in case you later wanted to move a container). I know a very early project though, and I know other networking projects seems to use their own CNI plugin for this sort of thing, to use with Docker, Podman, etc.
I think getting this working with one private IP per host would work for sure and then just give each private container a different port on that interface but I really would love giving each container their own IP treating them like their own mini virtual machine in a way so one big network no matter where you are running your workloads. So not sure the whole every container getting their own part or possible yet with this, but I do believe this could be a very popular use case.

I’ve been kinda out of following the whole containers news and stuff. Seen that Podman is going to have a API more like Docker instead of the varlink protocol (which no Node lib for). So that sounds exciting :slightly_smiling_face: https://podman.io/blogs/2020/01/17/podman-new-api.html
I did look at LXC more, but the whole idea of treating them as VMs and didn't seem to have a dockerfile equivalent, so I'm still aiming for something like Podman since I can wrap my head around it more.
I think a CNI thing at some point would be cool but no clue where to start with something like that. but I guess Podman is like a Docker alternative but security people I guess like it. Image format is compatible too. and also has a CNI interface. Right now I kinda shifted my focus though to working on parts of my apps idea itself, but the PaaS and infrastructure stuff I dream about seems will be able to get it going some day as this space progresses, and plus some things I want the app and platform itself to communicate for some things too but not that far along yet.

I'm running a couple of plain-old servers in a Nebula network and I would like to make some Kubernetes-based workloads join this same network for easy & secure communcation between services. As far as I can tell there currently is no way built-in to make this work.
Is container networking still planned for the future of Nebula? How should this work with the dynamic nature of containers? (Dynamic IPs? IP-per-service? Via "sidecars" or at a lower level?)

@nbrownus Can you explain how you use nebula with k8s?


Architecture attribute

I found a couple other resources that also have the architecture attribute and would cause the same error when being called

Thanks!


Add base64 functions and add access function for the IO-loop(s)

Base64 encode and decode functions are added. Depends on OpenSSL is installed or not, 2 great implementations are added. 1 directly use OpenSSL functionalities and the other is using by Microsoft.
check out the "/base64" folder.
Add access function for IO-loop(s). This maybe useful for events/actions that needed to be executed by the IO-loop, e.g. sending EMailsssss.

@ihmc3jn09hk Thank your very much!
But there are already Base64 Codecs in drogon:
https://github.com/an-tao/drogon/blob/b733eee7e4bfe5bb1f42ddba28429edb274ec89a/lib/inc/drogon/utils/Utilities.h#L56-L62
And some commits of the PR have been merged in master of drogon in the #345 , please make the PR based on the last commit of drogon. (Note: I use squash and merge to accept your PR #345 , so your drogon repository does not have the last commit of drogon, please force your repository to be updated and then make the new PR).

@an-tao Yeah, just realized the Ultilities.h . My bad.
Shall fix it.


Adding CORS headers

I'm trying to add CORS header to my server, so that the new version I'm developing can access the backend.  Specifically, the new version is currently hosted here : https://lyrgard.github.io/ffbeEquipNG
I tried using https://www.npmjs.com/package/cors to add that feature, but while it works on my computer, the Access-Control-Allow-Origin header is not sent in production.
var cors = require('cors');

let corsOptions = {
  origin: 'https://lyrgard.github.io',
}
app.use(cors(corsOptions));

Any idea of something that could block it ? could it be Apache removing it ? @Adezandee @Indigo744

Got some time to look into it.
I have no idea, actually 🙁
I wonder if, due to the Apache Proxy, the URL really seen by the app is really https://lyrgard.github.io?
You could try setting the origin parameter to a function (see an example or the doc) and use a debug print to check it server side.

I'm now sorry I pinged you guys, it strangely begin to work by itself... probably a browser cache or something, I don't understand.
Well, it is olved anyway.


Document structure

Create respective word docs for:

[ ]  https://www.bevespi.com/ (home page)
[ ]  https://www.bevespi.com/copd-management-resources.html
[ ]  https://www.bevespi.com/copd-treatment.html
[ ]  https://www.bevespi.com/copd-management-resources/talking-to-your-doctor.html
[ ]  https://www.bevespi.com/about-copd/what-causes-copd.html
[ ]  https://www.bevespi.com/copd-management-resources/finding-personal-motivation.html
[ ]  https://www.bevespi.com/copd-management-resources/staying-active.html
[ ]  https://www.bevespi.com/copd-management-resources/creating-a-routine.html
[ ]  https://www.bevespi.com/copd-management-resources/types-of-inhalers.html
[ ]  https://www.bevespi.com/about-copd/copd-treatment.html
[ ]  https://www.bevespi.com/copd-management-resources/what-is-copd.html
[ ]  https://www.bevespi.com/how-to-use-bevespi-inhaler.html
[ ]  https://www.bevespi.com/bevespi-coupon.html
[ ]  https://www.bevespi.com/about-copd/signs-and-symptoms-of-copd.html
[ ]  https://www.bevespi.com/about-copd/what-is-chronic-obstructive-pulmonary-disease.html
[ ]  https://www.bevespi.com/copd-management-resources/getting-started-on-bevespi.html
[ ]  https://www.bevespi.com/frequently-asked-questions.html
[ ]  https://www.bevespi.com/copd-management-resources/shortness-of-breath.html
[ ]  https://www.bevespi.com/about-copd/copd-stages.html
[ ]  https://www.bevespi.com/copd-management-resources/activities-with-copd.html
[x]  https://www.bevespi.com/contact-us.html
[ ]  https://www.bevespi.com/bevespi-side-effects.html

@dicagno sorry for keeping this empty. My idea was to track status of content structure in Sharepoint, aka translating website content in word doc content. This was meant to be for all pages, maybe we need separate issues or a task list.
AFAICS index is not complete btw

@paolomoz i can take care of creating a tasklists for that

@dicagno the full list of pages is here https://adobe.sharepoint.com/:x:/r/sites/HelixProjects/_layouts/15/Doc.aspx?sourcedoc={4D0BB77B-A16E-417C-9C89-A09AFC1A9BAD}&file=pages.xlsx&action=default&mobileredirect=true

as agreed with @lansami , he is taking over the content migration/creation task

Superseded by #50


Stop Loss/Daily Goal

Discussed in https://github.com/lmusarella/Pancakeswap-Prediction-Bot/discussions/11

Originally posted by rootisareservedword March 26, 2023
When stop loss or daily goal is reached, what determines when the bot will resume trading? Is there a certain amount of time required to pass?
Also, I see the .json history files that get created with statistics, round info, etc which is really helpful. Would it be possible to at least have the statistics (profit, percentage, win, loss, etc.) results written to CSV? I am currently using json2csv npm package via CLI and it works well. Am new to javascript, so my smooth brain is still trying to figure out how to implement it programatically :sweat_smile:
Bot doesn't resume trading unless history files are deleted. Can it be changed to resume trading starting 24 hours after the last trade was placed? Or, maybe not a full 24 hours, but at least reset at the start of the next day?
Thanks!

hello, as soon as I return to Italy I will take charge of the request. I am currently on vacation.

Yes exactly, when the bot reaches the stop loss or the daily goal, it checks if there are any rounds waiting. If there are no more rounds pending, it closes directly, otherwise it waits for the outcome of the pending rounds.
Yes in csv it could be better, maybe it could be a future feature.
That's right if you delete the stats file history the bot is reset.
Here too I'll see whether to implement something that does it automatically.

Ok, thank you for explaining. So if I am understanding correctly, the only way to reset the bot is to delete the history files?
As an example, let's say I start the bot at 12 PM and it hits stop loss at 2 PM, so the bot stops. I wait 24 hours and then try to start the bot again at 2 PM the following day, but the bot will not start and throws the "Stop loss or daily goal reached" message. It may not be obvious to the average user that the history files need to be deleted in order for it to resume trading. By saying "Daily", some might assume that the bot could be started at any time 1 day, 2 days, 3 days, etc. later without it automatically stopping.
If a user is using multiple strategies and they have history files for each strategy, deleting them could be time consuming. Sure, it could be scripted, but again not obvious for the average user. Csv files could be useful for analyzing different strategies over a period of time.
Many thanks for this wonderful project and all of your efforts to make it successful!


AUTO VJ not working when scratch control (timecode vinyl) enabled

Hi, auto vj works fine in my setup, but when I enable vinyl control, video stops displaying (blank).

Interesting, I wonder if Traktor generates a timecode differently in this
mode. I don't have a vinyl setup to test so please could you change the
logging mode to verbose in the traktor-obs-relay config and capture logs in
both cases (working and not)?
Does this happen with other time sensitive plugins? (Subtitles, VFD,
playlist recorder)
I have a feeling that this might be an issue that has to go to the
underlying API developer though, but worth a check nonetheless.
Much appreciated!
On Sat, Sep 28, 2024, 17:33 donmurdoc @.***> wrote:

Hi, auto vj works fine in my setup, but when I enable vinyl control, video
stops displaying (blank).

—
Reply to this email directly, view it on GitHub
https://github.com/vladkorotnev/traktor-obs-relay/issues/11, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFAGQWJIIFW5Q7VMBXLN2TZYZSUVAVCNFSM6AAAAABPANSLI2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2TIMJRGAYTKMQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi, ok so this is the log. I'm playing a track, autovj works fine, and then I activate timecode, logging just stops
scratch log.txt

I tried to do it myself but it doesn't seem to have any effect. I presume this is the right setting?

How do you activate scratch control?
cc @ErikMinekus this might be up your alley since my code isn't doing much about Traktor integration

You need to have setup an audio interface, and run through it a traktor timecode signal, so as to actually activate the timecode control. Once traktor recognizes a timecode signal, you can actually activate it:

https://github.com/user-attachments/assets/382ad337-d9f4-481a-b2b8-f6cef876ec5e
I'll upload a video (even tho I'm using traktor 4, this also happens with traktor 3)
Here, I when I'm playing a trak without timecode control, it plays ok. But when I activate timecode control, it stops (and no update on console)
BUT when I move the vinyl, console updates (there's ticks?) even tho no video playback

Oh, now I think I understand
When you turn on the vinyl control, it turns off the play button, thus it's not considered "on air" by the software and the video disappears.
If you could please drop the log with it playing but vinyl mode on (the play button is not green, but the vinyl control is enabled so the track is going on), I might find a way to track that condition, if there is enough information being sent from Traktor.
On a sidenote I wonder if other similar apps support vinyl now. And thanks for the heads up that it works with Traktor 4, I really want to try it out and this is one less thing to worry about. The auto stems thing sounds crazy!

To be sure, do I just copy and paste the messages from the console for the log, or there's a better way to get it?

Running the command as ./traktor-obs-relay | tee debug.log would record it into a file (I presume you are on a Mac)
Also please change the log level from Trace to Debug so that the size is a bit more bearable

https://github.com/user-attachments/assets/f379c060-a48d-4f1c-939f-0e579171e1b5
OK here's a video, and the log of that video.
As you can see, I start the script, with timecode running, I load a track, no video, I scratch a bit, then I disable timecode (press play) and video starts.
debug.log

Thanks, I'll try to take a look during the coming weeks. Things are a bit piled up here so I don't have an exact timeframe. As a sidenote, is the timecode soundtrack available anywhere online for testing without a turntable?

Yes, here I found one:
https://mega.nz/file/RzhR0YzQ#Hb4JxZX1kBd7J-ZYYuhY-yTw2TiCsRqETTEm9syuJzU

Also, idk if you knew about this:
https://devpost.com/software/video-happy
But that functionality I think is still in traktor, just hidden

Interesting, I didn't know that existed. I wonder if it's outputting it via midi or something.
As a temporary workaround, what happens if you go into api.js and change the line 59 from
let newTracks = Object.fromEntries( info.songsOnAir.filter(x => x.isPlaying == true).map(x => [x.filePath, x]) );

to
let newTracks = Object.fromEntries( info.songsOnAir.map(x => [x.filePath, x]) );

In theory that removes the requirement for the play button, but as a consequence stopped songs will turn up a video player too as soon as they aren't closed behind the faders. Let me know if that works for you!

Nope, it's still the same, no video with timecode on

Oh, there is one more thing to change in the Traktor side counterpart:
https://github.com/ErikMinekus/traktor-api-client/blob/main/D2/Api/ApiDeck.qml#L118-L129
In this block, change the value for isRunning to be just true instead of propIsPlaying.value.
Otherwise there won't be ticks coming from the deck unless the play button is hit.
FWIW, keep backups of all the files we're changing here, as I don't know if we might explode something as a side effect :P

Ok, still no video, but that actually changed. Now in the console, I see updates, but the video is not displaying.
I attach log
debug2.log


[Auto] Track modified size in TxMemPoolEntry to correctly compute priority

CTxMemPoolEntry::GetPriority was incorrectly using the full size of a transaction to caclulate a priority delta to figure out current priority as opposed to priority when the transaction entered the mempool.  I added nModSize to CTxMemPoolEntry and fixed GetPriority.

utACK

no regressions, will write more fee tests later to cover all this


rpc接口生成markdown格式，<>不会转义，这个可以把它转义一下么

Summary(关于这个pr的描述)
Brief explanation of the feature.
Basic example(pr的用例)
If the proposal involves a new or changed API, include a basic code example. Omit this section if it's not applicable.
Motivation(提出这个pr目的)
Why are we doing this? What use cases does it support? What is the expected outcome?


Update Set-AtpPolicyForO365.md

https://github.com/MicrosoftDocs/office-docs-powershell/issues/4538

Docs Build status updates of commit 5fb7da2:
:clock10: Full build: the average full build time is 11 min(s) 50 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 5fb7da2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/advanced-threat-protection/Set-AtpPolicyForO365.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 9e3a346:
:clock10: Full build: the average full build time is 11 min(s) 50 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 9e3a346:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/advanced-threat-protection/Set-AtpPolicyForO365.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 219e27d:
:clock10: Full build: the average full build time is 11 min(s) 51 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 219e27d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/advanced-threat-protection/Set-AtpPolicyForO365.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 5edcf16:
:clock10: Full build: the average full build time is 11 min(s) 51 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 5edcf16:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/advanced-threat-protection/Set-AtpPolicyForO365.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[FEA] Support time zones that are not UTC

Is your feature request related to a problem? Please describe.
This is related to #6603 but a super set of it. I will list out the issues here to complete both sets of work, and then reference some of them in #6603 too.
The following are the tasks to do:
Phase I (P0) - Release 23.12

[x] https://github.com/NVIDIA/spark-rapids/issues/6831
[x] https://github.com/NVIDIA/spark-rapids/issues/9737
[x] https://github.com/NVIDIA/spark-rapids/issues/6832
[x] https://github.com/NVIDIA/spark-rapids/issues/9802
[x] https://github.com/NVIDIA/spark-rapids/issues/9805
[X] https://github.com/NVIDIA/spark-rapids/issues/9804
[x] https://github.com/NVIDIA/spark-rapids/issues/9829 (might move to Phase II)
[x] https://github.com/NVIDIA/spark-rapids/issues/9915 (might move to Phase II)

Phase II (P0) - Release 24.02

[x] https://github.com/NVIDIA/spark-rapids/issues/9606
[x] https://github.com/NVIDIA/spark-rapids/issues/9815
[x] https://github.com/NVIDIA/spark-rapids/issues/9605
[x] https://github.com/NVIDIA/spark-rapids/issues/6836
[x] https://github.com/NVIDIA/spark-rapids/issues/9927
[ ] https://github.com/NVIDIA/spark-rapids/issues/10079
[x] https://github.com/NVIDIA/spark-rapids/issues/9801
[x] https://github.com/NVIDIA/spark-rapids/issues/6834
[x] https://github.com/NVIDIA/spark-rapids/issues/9747
[x] https://github.com/NVIDIA/spark-rapids/issues/9881
[x] https://github.com/NVIDIA/spark-rapids/issues/9855
[ ] https://github.com/NVIDIA/spark-rapids/issues/9633
[ ] https://github.com/NVIDIA/spark-rapids/issues/6840
[ ] https://github.com/NVIDIA/spark-rapids/issues/9997 2 kernel: Parse string to local time; convert local time to UTC time.
[ ] https://github.com/NVIDIA/spark-rapids/issues/10034
[ ] https://github.com/NVIDIA/spark-rapids/issues/10035
[ ] https://github.com/NVIDIA/spark-rapids/issues/10083

Phase III/Uncategorized (P1)

[ ] https://github.com/NVIDIA/spark-rapids/issues/6835
[x] https://github.com/NVIDIA/spark-rapids/issues/10006
[ ] https://github.com/NVIDIA/spark-rapids/issues/6838
[ ] https://github.com/NVIDIA/spark-rapids/issues/6841
[x] https://github.com/NVIDIA/spark-rapids/issues/6842
[ ] https://github.com/NVIDIA/spark-rapids/issues/6843
[ ] https://github.com/NVIDIA/spark-rapids/issues/6844
[ ] https://github.com/NVIDIA/spark-rapids/issues/6845
[ ] https://github.com/NVIDIA/spark-rapids/issues/6846
[ ] https://github.com/NVIDIA/spark-rapids-jni/issues/1588
[x] https://github.com/NVIDIA/spark-rapids/issues/9916
[ ] https://github.com/NVIDIA/spark-rapids-jni/issues/1571

Uncategorized

[ ] https://github.com/NVIDIA/spark-rapids/issues/9653
[ ] https://github.com/NVIDIA/spark-rapids/issues/9912
[ ] https://github.com/NVIDIA/spark-rapids/issues/9913
[x] https://github.com/NVIDIA/spark-rapids/issues/9914 (might move to Phase II)

Test improvements

[ ] #10039
[ ] #10040
[x] #10041
[ ] #141

Benchmarking

[ ] https://github.com/NVIDIA/spark-rapids/issues/10142

In general we are going to try to have timestamps follow what Spark does and store them in UTC. Then convert the inputs to the desired timezone whenever we need to operate on it in a different time zone.
We should also go through other operators and see if there are things that we can/should support once we can support timezones.

Not sure if FromUTCTimestamp support PST should be a sub task.

Follow on issue: https://github.com/NVIDIA/spark-rapids/issues/9570

Adding in some issues for testing too
https://github.com/NVIDIA/spark-rapids/issues/9627
https://github.com/NVIDIA/spark-rapids/issues/9633

Test cases statistics:

code snapshot
TZ
passed
skipped
xfailed
xpassed

Before #9773
UTC
TODO
TODO
TODO
TODO

After #9773
non-UTC
7589
2214
3719
8613

Not planing work on this for release 24.04
@sameerz can we move it to next release?


⚠ Bofrost.ch has degraded performance

In 773e768, Bofrost.ch (https://www.bofrost.ch) experienced degraded performance:

HTTP code: 200
Response time: 1764 ms

Resolved: Bofrost.ch performance has improved in 6c07456.


Kubeflow Training Operator Logo

It would be nice to design logo for the Kubeflow Training Operator given our work on V2 APIs.
So users can differentiate various projects of the Kubeflow ecosystem (e.g. Katib, KServe, etc.)
Additionally, it would be nice to have logo for TrainJob and TrainingRuntime CRDs.
cc @kubeflow/wg-training-leads @franciscojavierarceo
A few initial ideas:

Love this feature?
Give it a 👍 We prioritize the features with most 👍

I am preferential to the second one. Even though it's heavily correlated with a simple hidden layer neural network architecture, it feels representative of training AI/ML models.

I also like the second one.

Feel free to propose any of your ideas!
@kubeflow/wg-training-leads @varshaprasad96 @akshaychitneni @deepanker13 @helenxie-bit @Electronic-Waste @saileshd1402 @kannon92 @kuizhiqing @shravan-achar @jbottum @rimolive @sandipanpanda @shashank-iitbhu @Syulin7 @tariq-hasan @bigsur0

Does CNCF provide any support for the design of the logo?
We may want to contact CNCF support by ticket.

I'd vote for either (2) and (4). (2) - as mentioned before, being more representative of a NN and (4) just for its simplicity.

Does CNCF provide any support for the design of the logo?

I think they still do: https://contribute.cncf.io/resources/project-services/cncf-support/#design-and-aesthetics. IIRC, we had opened a similar ticket for one other CNCF accepted project.

second one looks good !

I think they still do: https://contribute.cncf.io/resources/project-services/cncf-support/#design-and-aesthetics. IIRC, we had opened a similar ticket for one other CNCF accepted project and they were helpful.

Thank you for pointing that out. @andreyvelich Could we contact CNCF via the maintainer portal?

@varshaprasad96 Please can you point me to the CNCF ticket that we should open for it ?
Additionally, can we ask #krafternetes Kubernetes Slack channel for their help?

Second one looks good to me!

I also like the second one:)

I like the second one, but sure we can reach out to CNCF or #krafternetes if we want to consider more options.

I support the second logo.

second one looks good

@varshaprasad96 Please can you point me to the CNCF ticket that we should open for it ?
Additionally, can we ask #krafternetes Kubernetes Slack channel for their help?

I think you can open a ticket in here https://cncfservicedesk.atlassian.net/servicedesk/customer/portal/1/user/login?destination=portal%2F1 and select the "artwork" option. I'm not sure of the #krafternetes channel, but looks like it seems to be a good option too.


Public key store file publicy accessible

Edit: All website owner who use this SDK and read this I would strongly recommend to block web access to the keystore.txt with an .htaccess (Apache) or something similar, depending on your webserver.

[Here] (https://github.com/threema-ch/threema-msgapi-sdk-php/blob/master/samples/testSendE2EFile.php#L15) you recommend a txt file for storing the public key. I just wonder why you use a txt file for this. I mean does this key have to be accessible for the Threema MSGAPI server?
Or why is this necessary?

Or do I get something wrong...
So what public key(s) are stored there?
The own one or the ones of the receivers?
Edit: Just saw by looking into the  code that it stores the public keys of receivers.
So I would say the recommendation to use a txt file is very bad. I mean you hope webmaster configure their server in a way that the file(s) is/are not publicly accessible, but you can never be sure.
So a kind of php file (which would have to be formatted correctly of course and put all this things into a variable for example) would be better, because if the file is accessible from outside an attacker could possibly get out what IDs the server sends messages to.

Good point, but you have the same Problem with your private key file.
If you don't want a public key store, you can instantiate the Connection class without a PublicKeyStore implementation (second argument).
Feel free to implement a PHP-PublicKeyStore or another (Database or Crypted File) implementation.

Yes, but with the private key you explicitly have to specify (the file path), so web admins hopefully know what they are doing and protect it. The keystore.txt is created automatically, so in the worst case they won't even notice it is created and used. (or if they do they are not aware that this can be a privacy issue)
Maybe a notice in the Readme about the fact could already be helpful.

The auto-creation of the keystore happens only on the cli tool.
If you use the sdk in your php-application, you have to specity explicity the file path to your keystore.
We will make a notice in the Readme.
Thank you

Well... okay. It's just that nearly everyone uses the CLI tool for creating the keys. At least I assume this, because no one first creates a script for doing an action which is only done one.
So you can close this issue if the Readme notice is added. At the current stage that's the best thing to do.
Maybe I'll have a look into adding another key store provider at some point.


layers: Fix VkGraphicsPipelineCreateInfo flags check

"pCreateInfos->flags | VK_PIPELINE_CREATE_DERIVATIVE_BIT" is always true

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


rna-transcription: don't transcribe both ways

I can't remember the history of this, but we ended up with a weird non-biological thing in the RNA transcription exercise, where some test suites also have tests for transcribing from RNA back to DNA. This makes no sense.
If this track does have tests for the reverse transcription, we should remove them, and also simplify the reference solution to match.
If this track doesn't have any tests for RNA->DNA transcription, then this issue can be closed.
See https://github.com/exercism/x-common/issues/148

Good point, I'll keep it in mind for other languages.
As for Groovy, ComplementSpec.groovy looks good.
I guess the issue can be closed

Great, thanks for following up on this one.


can't play twitch/ustream

i'm running debian 8 jessie, and when i try to play ustream or twitch stream i get :
error: No streams found on this URL: (url of the stream)
it is working with others stream like youtube

Seems that both plugins are working correctly. Which stream are you trying to watch?

ISS live stream : http://www.ustream.tv/channel/iss-hdev-payload

Are you using the latest version?
livestreamer "http://www.ustream.tv/channel/iss-hdev-payload" best
[cli][info] Found matching plugin ustreamtv for URL http://www.ustream.tv/channel/iss-hdev-payload
[cli][info] Available streams: 240p, 240p_alt_fstl, 240p_alt_highwinds, 240p_alt_llnw, 360p, 360p_alt_fstl, 360p_alt_highwinds, 360p_alt_llnw, 480p, 480p_alt_fstl, 480p_alt_highwinds, 480p_alt_llnw, 720p+ (best), 720p+_alt_fstl, 720p+_alt_highwinds, 720p+_alt_llnw, mobile_240p (worst), mobile_360p,mobile_480p
[cli][info] Opening stream: 720p+ (uhs)

$ livestreamer -V
livestreamer 1.10.2

is it the lastest ? i tried to install livestreamer with pip but it can only run on root

No. The current version is 1.12.2

well it seems that the debian package is outdated ?

You are using an outdated version. More informations are available here: #835

Once a Debian version is released it usually only receive security updates. The latest version of Livestreamer is available in Debian testing and unstable, or you can install from source.

I installed the lastest version with pip and it's working ! thanks


Input element styling (range and color)

The <input type="range"> control is supported in most browsers, however the CSS to style it is not the same between browsers. Styling for the element needs further work.
The <input type="color"> control is mostly supported currently.
As of Fermion, these elements will not be styled, as they are not integral to the user experience and can be omitted. They might be added later down the line.

For range inputs, this could be a useful resource:
https://css-tricks.com/styling-cross-browser-compatible-range-inputs-css

Update
<input type="color"> should be possible to style using styling similar to the one used for buttons. Browser support is currently at ~77%, meaning that it's about time I dealt with it. Maybe it will be added behind a flag to allow turning off, as it is not such an important feature for certain projects.
<input type="range"> support is at ~95%, which makes it an important thing to style. This will be done using browser-specific CSS rules, as it is really the only way currently. Furthermore, styling might be behind a flag.
I will be tinkering with both of these elements in the near future. Support for them might land in the next couple of updates.

Update
Due to no real need for this feature, apart from completeness, and based on the fact that the most popular competitor of ours, Bootstrap, does not provide styling for said element (true as of the current alpha of v4), the current decision is to close the issue and stop development of this feature, using our resources to improve the framework otherwise.


feat: integrated player changes

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: Nandana-NNR:x: Nandana-RYou have signed the CLA already but the status is still pending? Let us recheck it.


"expand" method name changed to "grow" in 1.12

What prompted this change? which issue if any?

the gravity generator would only work in one quadrant without this patch, infact, the codebase should be searched for areas where "expand" is used, and replaced with "grow"


Memory Viewer

As a program user
I want a way to view the memory of the code during execution
So that I can better understand what my program is doing while it is running.
Request Description
Implement a GUI element which allows the user to view a certain portion of memory.  The user should be able to see the values update in real time, seek to different areas in memory, and have highlighted any values in the program which changed because of the most recent instruction.

Closed by #133


Implement pagination for courses route

support limit + offset params, i.e. /courses?limit=10&offset=100

Done in #62


Update wording of the DID list in Manage Decentralized ID

In english only, no translation
did:key EdDSA
did:key Secp256k1
did:key P-256
did:key EBSI V3 P-256
did:jwk P-256
did:jwk P-256 Hardware
JWK Thumbprint P-256
PoligonID
NB : there is a new one did:jwk P-256 Hardware see


Power Toys Crashing after First Run

Microsoft PowerToys version
0.72.0
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
General
Steps to reproduce
after having played around with power toys for a few hours I decided to enable the Mouse without boarders legacy ui option:
since doing so now power toys will only succesfully run once after a reinstall and config clear
I am not sure if this is at all realavent but its the only option I played with prior to having issues.
things I have tried
1, deleting the mouse without boarders service via sc.exe

deleting the config folder in %localappdata% this allows powertoys to start but if you exit the program and attempt to re-launch it it will crash when attempting to access the settings

Full Uninstall/Reinstall With a complete config wipe

Addionally bug reports don't seem to be providing useful information
here is a A-B bug report theone is a report I ran directly after the
installation and first run the other one is after I have exited the program and relaunched it
[PowerToysReport_2023-08-24-17-52-50-secondrun.zip]
(https://github.com/microsoft/PowerToys/files/12433714/PowerToysReport_2023-08-24-17-52-50-secondrun.zip)
[PowerToysReport_2023-08-24-17-51-41 first run .zip]
✔ Expected Behavior
don't crash?
❌ Actual Behavior
Crashes
Other Software
No response

anybody help?

Hi @UrbanPotato, could you download the latest version of PowerToys are verify if this issue still exists?


refactor: code smell review

:white_check_mark: Build TheIdServer 7.0.0-prepare-7-0-01-0086 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/8eef8f1364 by @)


Postman: init at 5.5.0

Motivation for this change
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Added in https://github.com/NixOS/nixpkgs/pull/34681


Add upload-artifact workflow

WHAT

Add an upload-artifact workflow.

WHY

To store the container images to the Artifact registry

I'll just merge this PR when CI checks will be green.
When something wrong, will try to fix soon. 🙋🏼♂


[MM-28188] e2e cypress tests for subpath

Summary

Tests for MM-T985, MM-T986, MM-T987, MM-T988, MM-T989
Add docs for how to run subpath tests
Add configuration to cypress.json for specifying other subpath server
Add control flag to check if test should run under subpath.

Ticket Link

https://mattermost.atlassian.net/browse/MM-28188

@ashishbhate Thanks! Will take a look after release testing, probably later this week.

@ashishbhate Thanks! Will take a look after release testing, probably later this week.

/update-branch

/update-branch

@josephbaylon
The code to check if the server is running in subpath mode checks the ServiceSettings.SiteURL server config setting. I wonder if the override MM_SERVICESETTINGS_SITEURL doesn't update the setting ServiceSettings.SiteURL read from the server config.
On my local machine I've been testing by setting the ServiceSettings.SiteURL  setting in the server config. Can you try updating your server config setting?
In the meantime I will look into supporting the override environment variable.

@josephbaylon
The code to check if the server is running in subpath mode checks the ServiceSettings.SiteURL server config setting. I wonder if the override MM_SERVICESETTINGS_SITEURL doesn't update the setting ServiceSettings.SiteURL read from the server config.
On my local machine I've been testing by setting the ServiceSettings.SiteURL  setting in the server config. Can you try updating your server config setting?
In the meantime I will look into supporting the override environment variable.

@josephbaylon You'll need to set the MM_SERVICESETTINGS_SITEURL override in the server repo as well before running make run.
i.e. the first step in your steps would be:
cd mattermost-server/
export MM_SERVICESETTINGS_SITEURL='http://localhost:8065/company/mattermost'
make run-server

@josephbaylon You'll need to set the MM_SERVICESETTINGS_SITEURL override in the server repo as well before running make run.
i.e. the first step in your steps would be:
cd mattermost-server/
export MM_SERVICESETTINGS_SITEURL='http://localhost:8065/company/mattermost'
make run-server

/update-branch

/update-branch

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: 1c8679566c40bb5468d56299fd3dedb2ff323b1b

Pull Request successfully merged
SHA: 1c8679566c40bb5468d56299fd3dedb2ff323b1b


Move to Algolia v3

Fixes: #931
Signed-off-by: Daniel Holbach<EMAIL_ADDRESS>

The styling of the search field in the menu bars seems off compared to v2.


⚠ Processors has degraded performance

In 19e81b7, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 71 ms

Resolved: Processors performance has improved in 9400fb9.


Please add support for Weiser Lock  9GED18000-009

Could you add the Weiser 9GED18000-009 lock to the list of devices please?
Reference: https://www.zigbee2mqtt.io/devices/9GED18000-009.html
Thanks !

@martardif Could you please update plugin and check

It works very well! Wow! I can lock or unlock the lock from Domoticz... Thank you very, very much, I'm extremely grateful !
Is it complicated to add the state of the battery ? ({"state":"UNLOCK","linkquality":26,"battery":100,"user":65535,"source":1})
Greetings from Canada!

It probably should show battery status on Devices page (battery column), like on the screenshot:

Doesn't it?

Yes it does, I just saw it ... Sorry ...
Thank you for your help and for adding the device!
Regards
Marco


Cryptic error printout from Micrometer

Environment Details

Helidon Version: 4.0.5
Helidon SE
JDK version: OpenJDK 21.0.1+12-29
OS: Ubuntu 23.10 6.5.0-17-generic

Problem Description
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running me.test.MainTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.48 s - in me.test.MainTest
[INFO] Running me.daniel.se.quickstart.DummyTest
2024.02.17 13:50:41.254 Unexpected discovery of unknown previously-created meter; creating wrapper for io.micrometer.core.instrument.composite.CompositeGauge@8c71f846
2024.02.17 13:50:41.262 Unexpected discovery of unknown previously-created meter; creating wrapper for io.micrometer.core.instrument.composite.CompositeGauge@763f8121
2024.02.17 13:50:41.262 Unexpected discovery of unknown previously-created meter; creating wrapper for io.micrometer.core.instrument.composite.CompositeGauge@8cb1f1f9
2024.02.17 13:50:41.262 Unexpected discovery of unknown previously-created meter; creating wrapper for io.micrometer.core.instrument.composite.CompositeGauge@c923efe7
2024.02.17 13:50:41.263 Unexpected discovery of unknown previously-created meter; creating wrapper for io.micrometer.core.instrument.composite.CompositeGauge@9ef2fc51
2024.02.17 13:50:41.263 Unexpected discovery of unknown previously-created meter; creating wrapper for io.micrometer.core.instrument.composite.CompositeGauge@c47c45b3
2024.02.17 13:50:41.263 Unexpected discovery of unknown previously-created meter; creating wrapper for io.micrometer.core.instrument.composite.CompositeGauge@5007121b
2024.02.17 13:50:41.264 Unexpected discovery of unknown previously-created meter; creating wrapper for io.micrometer.core.instrument.composite.CompositeGauge@d3477c9d
2024.02.17 13:50:41.264 Unexpected discovery of unknown previously-created meter; creating wrapper for io.micrometer.core.instrument.composite.CompositeFunctionCounter@f0493908
2024.02.17 13:50:41.264 Unexpected discovery of unknown previously-created meter; creating wrapper for io.micrometer.core.instrument.composite.CompositeFunctionCounter@6b6e6c61
2024.02.17 13:50:41.264 Unexpected discovery of unknown previously-created meter; creating wrapper for io.micrometer.core.instrument.composite.CompositeGauge@59417b18
2024.02.17 13:50:41.265 Unexpected discovery of unknown previously-created meter; creating wrapper for io.micrometer.core.instrument.composite.CompositeGauge@fe8717a
2024.02.17 13:50:41.265 Unexpected discovery of unknown previously-created meter; creating wrapper for io.micrometer.core.instrument.composite.CompositeFunctionCounter@57613ee1
2024.02.17 13:50:41.265 Unexpected discovery of unknown previously-created meter; creating wrapper for io.micrometer.core.instrument.composite.CompositeFunctionCounter@cbd5f394
2024.02.17 13:50:41.265 Unexpected discovery of unknown previously-created meter; creating wrapper for io.micrometer.core.instrument.composite.CompositeFunctionCounter@6df5c008
2024.02.17 13:50:41.266 Unexpected discovery of unknown previously-created meter; creating wrapper for io.micrometer.core.instrument.composite.CompositeFunctionCounter@e26a74bb
2024.02.17 13:50:41.266 Unexpected discovery of unknown previously-created meter; creating wrapper for io.micrometer.core.instrument.composite.CompositeFunctionCounter@91b6f2f0
2024.02.17 13:50:41.266 Unexpected discovery of unknown previously-created meter; creating wrapper for io.micrometer.core.instrument.composite.CompositeFunctionCounter@62ba7a3

Steps to reproduce
helidon init --batch --version 4.0.5 -Dpackage=me.test  -Dflavor=se -Dapp-type=quickstart && \
cd ./quickstart-se && \
cat <<EOT >> ./src/test/java/me/test/DummyTest.java
package me.daniel.se.quickstart;
import io.helidon.webserver.testing.junit5.RoutingTest;
import org.junit.jupiter.api.Test;
@RoutingTest class DummyTest { @Test void test() {}}
EOT

And then:
mvn test

Looks like a duplicate of #8382 which, at this writing, has a PR awaiting review.

I was able to reproduce this and then, with the newly-merged PR for #8382 in place, I do not see the warnings.
Closing as duplicate.


freq_cis missing from model.state_dict(), causing convert_checkpoint.py to fail for Gemma

Attempting to convert_checkpoint with the latest gemma model from huggingface. It is throwing this error:
tensorrt-llm-1  | Loading source parameters from /tmp/model/gemma-7b-it
tensorrt-llm-1  | Traceback (most recent call last):
tensorrt-llm-1  |   File "/opt/TensorRT-LLM/examples/gemma/convert_checkpoint.py", line 849, in <module>
tensorrt-llm-1  |     main()
tensorrt-llm-1  |   File "/opt/TensorRT-LLM/examples/gemma/convert_checkpoint.py", line 758, in main
tensorrt-llm-1  |     ckpt_params = ckpt_parser.load_parameters(args.model_dir)
tensorrt-llm-1  |   File "/opt/TensorRT-LLM/examples/gemma/convert_checkpoint.py", line 245, in load_parameters
tensorrt-llm-1  |     model_params.pop('freqs_cis')
tensorrt-llm-1  | KeyError: 'freqs_cis'

My checkpoint file is a dictionary like this, where model is a torch model downloaded from huggingface:
{"model_state_dict": model.state_dict()}
It looks like the script is trying to remove a field that doesn't exist anymore in the model

Caused by trying to squash a hf checkpoint into the torch ckpt type. Resolved with the recent addition of ckpt-type: hf


Uploading APK, serviceType sre not supported

According to the Rustore documentation,
the method:
https://www.rustore.ru/help/work-with-rustore-api/api-upload-publication-app/apk-file-upload/file-upload-apk/
no serviceType support,
as is

to be
HMS or GMS

@karp4004 Hi!
Let's try a new param mobileServicesType into 0.3.2-SNAPSHOT plugin version. For more info how to use the new param and snapshot versions see README in snapshot-0.3.2 branch.


Tumblr: no user agent or escaped fragment support?

I'm wondering if anyone here may have a suggestion as to how to identify the Tumblr crawler.  Their documentation even mention that they use one but it seems as though they do when using their like buttons.
Here's my situation:
I created a custom like button by following their [documentation] (https://www.tumblr.com/docs/en/share_button).  I'm setting options using query string parameters and using https://www.tumblr.com/widgets/share/tool as the docs suggest.
When testing the button I'm seeing {{og.description}} in the like popup dialog which tells me that Tumblr is attempting to get Open Graph data using a crawler ( {{og.description}} doesn't appear anywhere in the like button code only in my head) and that the site is not being prerendered for the crawler.
When I look at the connections to the Express server that is hosting the site (and the prerender middleware) the Tumblr crawler doesn't appear to provide any user agent info and apparently they aren't using the escaped fragment spec either since the middleware isn't catching that.
Edit: I should also mention that we are running our own prerender server and it is working in other situations.
Does anyone know how I can identify the Tumblr requests and ensure that they get prerendered?  I know you can white/black list IP addresses but this seems like a less than desirable/reliable option.
Any input is greatly appreciated.  Thanks!

Interesting...So tumblr doesn't user a custom user agent or anything? Do they use a custom header, javascript variable, or anything?

I don't see anything in the request that could be used to identify it as a crawler.  Here's some gists, there's a blurb from the nginx access.log showing the 3 requests made by the crawler, then there are the contents of those three requests.  If you see anything that could be of use please let me know.
[Access.log entries] (https://gist.github.com/graywithanA/4e5aaa275c8d22ca7619)
[Crawler's HEAD request] (https://gist.github.com/graywithanA/e469af2795e2752fd471)
[Crawler's 1st GET request (no user agent)] (https://gist.github.com/graywithanA/49814aa763e27d6d84b8)
[Crawler's 2nd GET request (with generic user agent)] (https://gist.github.com/graywithanA/fd55b6d135befe2e0ebe)

Weird.... Yeah we wouldn't be able to do anything in that case. Is there a way you can contact their support letting them know what you're trying to do and see what they say? Seems bad that they wouldn't put tumblr in their user agent.

I've already submitted a post to their 'support forums' which is just a Google group that appears to be mostly abandoned.  After 2 days I've gotten 1 view and no responses.
They don't present any contact info on their page unless you do some digging but I finally found it.  I've now submitted a request directly to Tumblr's support.  I'll report back when I've received a response.
Thanks for your input.

Great! I'm interested to hear what they have to say.

Just an update:  A week after contacting Tumblr I received an unhelpful form response that made it pretty clear they hadn't even read my initial email.  At the very end of the email they did provide a method of contacting their developers so I did that on April 29th and still haven't received any response.

No worries. Feel free to let me know as soon as you hear something from them.

Update:  I am still yet to receive any further response from Tumblr despite a second attempt to contact their developers a few weeks after my Apr 29th attempt.  It does appear as though the message was received though as now their crawlers user agent is listed as 'Tumblr/14.0.835.186'.  Disappointing customer service on Tumblr's part but at least the situation is now resolved.


Add new extendLock method to Lock service

Description
This PR adds a new extendLock method to our Lock service to wrap the lockExtendOrThrow method in a safe way for our new code style.

this needs to have integration tests, is too important to deploy without them. or this test/integration/core/lock.spec.ts covers the changes?

New method is just a "safe" wrapper on lockExtendOrThrow which is tested in test/integration/core/lock.spec.ts. It also gets called as part of other methods in various places in the integrations tests so I was thinking explicit testing of the wrapping may not be needed.


added feature to render to svg

Refactoring useful code to render canvas into svg as a datauri.

Wait, how is this an SVG? Isn't it just an SVG that is embedding a PNG?

It's an svg:image element that gets updated in the SVG tree.

toDataURL() returns an encoded PNG. LGTM but I would rename the function because it's confusing.

Renamed.


Alternative ways of achieving the same effect

The same functionality can be obtained in one of these (less safe) ways:

swizzle UIScreenEdgePanGestureRecognizer to let it recognize pan gestures started not only from the edge (I haven't tested it yet)
grab the target and action from interactivePopGestureRecognizer and use them with UIPanGestureRecognizer (it uses private APIs): https://gist.github.com/fastred/3ccd1740e1464dbf8675

I am also thinking about swizzle method, but I dont know the detail of interactivePopGestureRecognizer.

Moved this issue to wiki: https://github.com/fastred/SloppySwiper/wiki


Resolve W0611(unused-import) occurring only in CI

As evidenced starting with this build core CI is failing with a single unused import error. However, the member Tuple that pylint is saying is unused? It's actually used further on in the file.
Not only this, but the error started seemingly randomly. There were no code-checkins that caused the pylint check to begin failing.
However, as this PR mentions, all of the simple checks have been completed. GIven the simple answers won't fit, we need to spend some time and fully understand why this error is throwing.

Found a pretty essentially change. Agent version went from
20200518.1 -> 20200604.1
Diffing the package versions.

Cannot repo. Closing this.


Typo in ReadMe

In Installation instructions for Windows, change :
pyrcc4 -o lib/resources.py resources.qrc
to
pyrcc4 -o libs/resources.py resources.qrc

Fixed  0a581ef

Fixed  0a581ef


Plug in the Authorization Module in keyserver.go

This PR plugs in the authorization module implemented in #698 in keyserver.go. This requires changing the authentication module to produce an *authentication.SecurityContext object that is passed to the IsAuthorized API.

Codecov Report

Merging #702 into master will increase coverage by 0.23%.
The diff coverage is 45.83%.

@@            Coverage Diff            @@
##           master    #702      +/-   ##
=========================================
+ Coverage   57.67%   57.9%   +0.23%
=========================================
  Files          37      38       +1
  Lines        2516    2518       +2
=========================================
+ Hits         1451    1458       +7
+ Misses        776     771       -5
  Partials      289     289

Impacted Files
Coverage Δ

impl/google/authentication/google.go
17.3% <0%> (+0.94%)
:arrow_up:

integration/testutil.go
70.9% <100%> (+0.26%)
:arrow_up:

core/authorization/fake.go
100% <100%> (ø)

core/keyserver/keyserver.go
42.51% <16.66%> (-0.17%)
:arrow_down:

core/authentication/fake.go
64% <57.14%> (-3.86%)
:arrow_down:

core/authentication/context.go
100% <0%> (+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 1f86886...0de9487. Read the comment docs.


Use default options from handler for GAC

We'd like to be able to use options configured in our middleware for GAC
as default when we don't specify them on our controllers.
# config/application.rb
config.middleware.use(Rack::Tracker) do
  handler :google_analytics, { ecommerce: true, tracker: 'UA-XXXXXXX-X' }
  handler :google_adwords_conversion, { id: 123456,
                                        language: "en",
                                        format: "3",
                                        color: "ffffff",
                                        label: "Conversion Label",
                                        currency: "USD" }
end

# app/controllers/checkouts_controller.rb
def show
  tracker do |t|
    t.google_adwords_conversion :conversion, { value: @order.cost }
  end
end

thx for your PR. Does it make sense to roll this out to the other handlers as well?

I guess that would make sense. Perhaps we can do it in a separate PR and keep things simple to review.

cool, looking forward to the next PR ;)


GRANDPA: Dynamic Validator Sets

Runtime digest items for issuing GRANDPA set changes:
/// A GRANDPA-compatible DigestItem. This can describe when GRANDPA set changes
/// are scheduled.
// TODO: with specialization, do a blanket implementation so this trait
// doesn't have to be implemented by users.
pub trait CompatibleDigestItem<N> {
	/// If this digest item notes a GRANDPA set change, return the number of
	/// blocks the change should occur after. Can be zero for instant changes.
	fn scheduled_change_in(&self) -> Option<N> { None }
}

The method of changing validator sets is to, when we encounter a chain with a signal for a change in M blocks, to refuse to vote for any chain containing that block with block beyond that M.
Approach:

store a list of all (signal-height, delay-height) in ascending order by delay-height
refuse to vote for blocks with height greater than smallest delay-height
whenever we finalize a block >= delay-height[0], check if the canonical block at signal-height has a transition.
if so, change validator sets and prune entries with signal-height between signal-height and delay-height

This needs import logic hooks in the client that can be called on each block (import notifications are not sufficient for this as they are spurious).
Current approach for such hook would be
// inspects a header and returns auxiliary keys to assign values to or delete (`None`)
type ImportHook = Box<Fn(&Header) -> Vec<(Vec<u8>, Option<Vec<u8>>)>>;
impl Client {
    fn add_import_hook(&self, ImportHook);
}

but any logic here should be in a consensus-specific import queue later on (cc #746)

Closed in #1014


Configure Chart.js component with dummy data to look like mockup

Task
Configure Chart.js component with dummy data to look like the mockup
See  wireframe.
Questions to consider:
What information will it provide?
What information will it need?
This will help with database decisions.
What done looks like:

We have a chart.js with dummy data.
(It will be replaced once all the components are in place and refactored. For now, we are setting things up then polishing it later).

@pavel-ilin is working on the sub-component. If you take #16 make you will replace the dummy component with what @pavel-ilin is working on.

Do we still need this?
Even if there is dummy data, part of V2 will be linking up client <--> server so we won't need to hardcode in dummy data

Good point. Not needed. We can nix it.


Obtain FIdC Tenant for use by Secure Banking

Story
As a project we want to deploy code nightly so that we can run tests against latest code.
Acceptance criteria

We have a a tennant.

We now have an Idenity Cloud tenant.
https://openam-forgerock-securebankingaccelerato.forgeblocks.com//

We now have an Idenity Cloud tenant.
https://openam-forgerock-securebankingaccelerato.forgeblocks.com//


feat:wow ~ add wow refresh button

Adds a button to easily load a new Wow!
fix #6

Hi,
Button itself looks good, I like it. A couple of quick changes I'd like to see for the commit, though:

Remove the extra empty lines around the button wrapper in App.js (lines 173 and 179.)
Center the button and add a bit of margin below before the Multiple Results section, I would style the "refresh-button-wrapper" class with something like:  display: flex;  justify-content: center;  margin-bottom: 2rem;

Thanks!

@amamenko Thank you for the feedback. I have updated the pull request with the suggested changes.

@amamenko Whoops, my bad. 😄

@amamenko updated.


TypeError: Cannot read property 'visitClass' of undefined

No worries. Fixing it...

Should be fixed now. Try again. =)


cups-client - help needed

When I try to install cups 2.2.4 on CentO it complains I have cups client 1.6 installed and need cups version 1.6 Can some one help me how to get cups version compatible with 2.2.4, even source code will do

You really need to use the mailing lists for questions like this.

I sent may mails to mailing list... no one responds, here I can at-least see your response which helped me may times..


Can't get find elements in new window after calling switchTo().window(1)

switchTo().window(1);
$(By.xpath(someXpath)).click()

The $ is still looking for elements on original window.  I've tried calling WebDriverRunner again like so:
switchTo().window(1);
WebDriverRunner.setWebDriver(driver);
$(By.xpath(someXpath)).click()

Any help would be much appreciated.  Thanks.

Hi @JeremyTX !
I am pretty sure that switchTo(window(1)) does switch to the window and looks for element inside the new window. Selenide has special tests for it.
Probably it's some kind of timing issue? Does it help if you put sleep(1000) after switchTo().window(1);?

Thank you for the quick response!
I tried sleeping before and after the switchTo() just incase it was switching before it loads, but no luck.  driver.getWindowHandles.length returns 2, so it is detecting both windows.  Any other suggestions?

It was a frame issue.  I solved it by switching to the frame after switching to the window.  Thanks for the quick response though.  Awesome project!  It's made my work much easier.


DRAFT: remove all OpenGL<x> mobs and the ConvertToOpenGL metaclass.

Overview: What does this pull request change?

The theme of this PR is removing all OpengGL<x> mobs and the consequences of their existence. It's still a work in progress, but I decided to share it as a proof of concept for how to approach addressing the problem.
The commit history outlines the changes, but here are specific descriptions of what was done:
Summary of changes:

(almost) All mentions of OpenGL mobs were removed across the library

Notable exception of opengl tests, which I wasn't sure how to deal with

almost all if config.renderer/config["renderer"] == "opengl" checks were removed from the library.

The "opengl" choices in these checks were kept.

opengl_geometry.py was removed.

OpenGLMobject --> Mobject

mobject.py was removed, and opengl_mobject.py was renamed to mobject.py.
All OpenGL prefixes in the file were removed.

i.e. OpenGLGroup -> Group

OpenGLVMobject --> VMobject

vectorized_mobject.py was removed, and opengl_vectorized_mobject.py was renamed to vectorized_mobject.py.
Adjusted implementation for DashedVMobject was ported over to OpenGLDashedVMobject
VDict was ported over to the file.
OpenGL prefixes were removed.

OpenGLSurface (and related 3d opengl mobs) -- > Surface

opengl_surface.py was renamed to surface.py.
opengl_three_dimensions.py was removed, and its only mob of OpenGLSurfaceMesh was moved into surface.py and renamed to SurfaceMesh
OpenGL prefixes removed

OpenGLPMobject (and related PMobjects) --> PMobject

point_cloud_mobject.py was removed and opengl_point_cloud_mobject.py was renamed to point_cloud_mobject.py.
OpenGL prefixes were removed.

ConvertToOpenGL

opengl_compatibilty.py was removed, and all mentions to it too.

all metaclass = ConvertToOpenGL in class definitions were removed.

i.e. for Axes / mobs in geometry.py and three_dimensions.py.

removed manim.opengl import in self.interactive_embed() too.

Outcome
with the following command:
manim -p mkt.py Sun --renderer=opengl

The following scene successfully renders and produces an interactive window.
class Sun(Scene):
    def construct(self):
        a = Axes().add_coordinates().rotate(45 * DEGREES)
        self.add(a)
        self.add(Dot(a.coords_to_point(1, 2)))
        self.interactive_embed()

--renderer=opengl is still required since the flags are not configured properly. Also, manim/__init__.py has not been cleaned up appropiately, so it's currently missing:
from ..renderer.shader import *
from ..utils.opengl import *

that are included in manim/opengl/__init__.py.
There are also some redundant cairo files, such as cairo_renderer.py/camera.py that should be removed.
OpenGL's default camera makes ThreeDScene mostly redundant, but I did not remove it since it still has some useful methods that should be ported beforehand.
Motivation and Explanation: Why and how do your changes improve the library?

Instead of further trying to accommodate the clashing implementations in the library, I think the best solution is to simply remove the old Mobject etc.. mobs and have them be replaced by their OpenGL counterparts.
With some notable exceptions such as #2155 #1240 and ImageMobject (in progress at #1837) , the OpenGL renderer generally has the same functionality as cairo. There are almost certainly some bugs / behaviour that we are unaware of, but IMO this PR is a step in the right direction towards solving those issues.
Links to added or changed documentation pages

Docs won't render.
Further Information and Comments

Tests will fail.

Reviewer Checklist

[ ] The PR title is descriptive enough for the changelog, and the PR is labeled correctly
[ ] If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
[ ] If applicable: newly added functions and classes are tested

Closing in favor of discussing a new architecture first


started basic Contributing section

Not sure why AppVeyor has a problem here, but I doubt it's actually related to your change. I can't see a failing build for this in the history; I see no build at all for this. I can't find a way to trigger a re-run either.
Having that section should indeed make life easier for possible contributors, so thanks for the suggestion. I think I'd prefer the three commands in a single code block, with shell syntax highlighting: Start with ```sh and end with ```, each on a line by itself. Will you update your file accordingly?

there were github connectivity issues when adding this. I guess that's why appveyor didn't work.
I'll update the doc with your proposals


resize problem

Hello! I run your WGAN's code.
I get this bug
input.resize_as_(real_cpu).copy_(real_cpu)
TypeError: resize_as_ received an invalid combination of arguments - got (!torch.FloatTensor!), but expected (torch.cuda.FloatTensor template)
How to solve it?

This looks a lot like the issue which was just addressed by https://github.com/martinarjovsky/WassersteinGAN/pull/19 .

fixed via https://github.com/martinarjovsky/WassersteinGAN/pull/19

I solve this problem!
Thank very much!
It bother me a lot of time!
Thanks again


Fixup docstrings

Reorganizes the docstrings and options. Matches docstring ordering to option ordering.

Small fixups to docstring content.

Adds a docstring for timeout that was missing.

Remove unused nagios, nagios_custom, and aggregate options.

@keymone there are still some leftover failing tests, can you address those?

@kmosher please ensure you have shipped this to production


Update on including chrono-swift in Xcode project

I tried dragging in the folder Chrono, but that didn't compile, so I fixed the issue by including the files Chrono.swift, ChronoParsedResult.swift, and chrono.min.js in my repo. Not sure if others ran into this issue. Currently using Xcode 8.3.2

Whoops, I updated the sample app recently using Xcode 9, which is probably why it didn’t compile for you on Xcode 8. Reducing the minimum build target and setting the Swift Language Version in your Build Settings to Swift 3 instead of Swift 4 should fix compiling on Xcode 8.


The problem of duplicate book highlighting

I would like October to distinguish between the highlighting of books purchased from the bookstore and the highlighting of books uploaded to the kobo e-reader by myself. I only want to upload the highlighting of the books I have deposited in the e-reader through October, while the books purchased from the kobo bookstore are synced to readwise through the official kobo sync plugin of readwise

Hi @Gikkingenhanaya,
Yep, this is indeed something that was overlooked at first and is mentioned in https://github.com/marcus-crane/october/issues/76
I plan to release a patch to fix this shortly but just haven't gotten around to it as I just recently got back from vacation 🙂
Hopefully a version will be out in the next couple of days now that I have some free time

Thank you for such a quick reply, looking forward to the new version!

Hi @Gikkingenhanaya, I've just released v1.3.2 which should ignore store-bought Kobo titles now. You'll need to delete any duplicate uploads one time however.


doc: Ubuntu dependencies

appindicator
To launch Firezone, Ubuntu 20.04 needs
sudo apt-get install \
libayatana-appindicator3-1 \
libayatana-indicator3-7

But even then, the tray icon doesn't show up. (#4053)
(The tray icon bug was caused by sudo. #3713 will fix it)
FUSE
(Don't worry about FUSE. It's needed for AppImage, and we aren't gonna ship AppImages)

I think we need a lot more than that: https://github.com/firezone/firezone/blob/b668f8944bfdc3018c924008ebe1c1b57c6cb912/scripts/nix/flake.nix#L31-L43

I ran dpkg --info on a release deb and got this:

libayatana-appindicator3-1
libwebkit2gtk-4.0-37
libgtk-3-0

And installing those works on my test VMs for Debian and Ubuntu 20.04

Closing in favor of #4873


programatically -> programmatically

Probably should have double checked the spelling before merging #436 instead of immediately after 😆

I used the spelling from: https://github.com/microsoft/reverse-proxy/blob/master/docs/docfx/articles/configproviders.md (that's where I pasted the value from). You might want to change that too.

Note the way our docs are branched right now this won't show up publicly until we branch for preview6.


Replace 'team_id' with 'team_name' when exporting results from explorer

Currently the results of a query are exported with 'team_id' instead of 'team_name' and the workaround is quite painful. It would be great if all the exports and API calls would return team/player names the same way Explorer returns them.
Here is an example query:
SELECT
team_match.team_id,
count(distinct player_matches.hero_id) distinct_heroes,
count(distinct matches.match_id) count
FROM matches
JOIN match_patch using(match_id)
JOIN leagues using(leagueid)
JOIN player_matches using(match_id)
JOIN heroes on heroes.id = player_matches.hero_id
LEFT JOIN notable_players ON notable_players.account_id = player_matches.account_id AND notable_players.locked_until = (SELECT MAX(locked_until) FROM notable_players)
LEFT JOIN teams using(team_id)
JOIN team_match ON matches.match_id = team_match.match_id AND (player_matches.player_slot < 128) = team_match.radiant
WHERE TRUE
AND player_matches.hero_id IS NOT NULL
AND matches.leagueid = 5504
AND matches.start_time >= extract(epoch from timestamp '2017-12-06T21:00:00.000Z')
GROUP BY team_match.team_id
HAVING count(distinct matches.match_id) >= 1
ORDER BY distinct_heroes DESC NULLS LAST

We can probably change the query template to replace ID with team name, since we don't have team pages to link to anyway.
However, doing this loses the ID field which is required to link to a page, so if we did this for players it would break the player links in the table.

fixed in odota/ui, you can test on https://stage.opendota.com