Improve Launcher concept

[x] Move out the runtime code (e.g. ConnectorRuntime.java) to the core:bootstrap module, make it overridable

[x] introduce bill-of-material (BOM) build files, much like the IDS BOM or the Ion BOM

[x] the launcher's build.gradle.kts then just references BOMs resulting in a very simplistic basic launcher

The upside of that is that we don't need to dupllicate the *Runtime.java files and a launcher becomes just a Gradle build file.

pull request #114

@beardyinc guess we can close this issue, right?

yup, think so. PR #114  is already merged.

@paullatzelsperger @jimmarino @MoritzKeppler
This change is not reflected in the documentation, e.g. README.md still points to the ConnectorRuntime.java file which is removed from the repository. At least, github cannot find it anymore. Hence, I ended up here.
So, please update the README.md.


Feature/inplementing load data

Branch name should be "implementing", but that can pass.

Deleting other related branches.


Various additions to SQL Nexus

Tempdb space usage by object report

Active Traces and Xevents
This shows up for both Traces and Xevents now

Expensive events Best practices rule show the right file now

AlwaysOn event is under Microsoft Xevents

If you import data Query Store.sql (perf collection) from SQL 2022 server you will see all of these new tables
tbl_query_store_wait_stats
tbl_database_query_store_options
tbl_query_store_query_hints
tbl_query_store_plan_feedback
tbl_query_store_query_variant

@asavioli, if you have a chance to test and review these changes, I'd appreciate your feedback. Thanks


Added --no-remove-original-file. Fixed a bug with ffmpeg accessing stdin.

I took a look at the failed tests; I have not known about them, so I didn’t add the ffmpeg option I added to the code, to the tests.

Thanks! I'll hopefully be able to review your amazing PRs tomorrow!
On Mon, Jul 22, 2019, 9:55 PM NightMachinary<EMAIL_ADDRESS>wrote:

I took a look at the failed tests; I have not known about them, so I
didn’t add the ffmpeg option I added to the code, to the tests.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ritiek/spotify-downloader/pull/580?email_source=notifications&email_token=AE27U5QTT5RWTWBHT473I63QAXNPHA5CNFSM4IEXZ4MKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2QM3FI#issuecomment-513854869,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE27U5WOJQF277NLYL6OGP3QAXNPHANCNFSM4IEXZ4MA
.


Hanting add mysql latest env

What does this PR do?
Adds the latest version to mysql's latest env
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

Conflict with master

There are conflicts

Conflict resolved


OHIF/Viewers with DICOMcloud not work fine

First very thanks for DICOMcloud,  It's good project.
Now i want use the OHIF/Viewers project to view dicom file.
OHIF/Viewers is use the last version of master: https://github.com/OHIF/Viewers
#1.  I download code of OHIF/Viewers, and run in localhost , default OHIF/Viewers is connect to server: https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE  ,  it is say the local OHIF/Viewers is work fine with DCM4CHEE  server.
#2. Then i change Viewers to connect localhost DICOMcloud server, config like below:
{
name: 'dcomcloud',
wadoUriRoot: 'http://localhost/dcomcloud/WadoUri',
qidoRoot: 'http://localhost/dcomcloud/qidors',
wadoRoot: 'http://localhost/dcomcloud/wadors',
qidoSupportsIncludeField: true,
imageRendering: 'wadors',
thumbnailRendering: 'wadors',
enableStudyLazyLoad: true,
}
I find 404 Error for StudiesController.cs
Because DICOMcloud not has the route for ：
http://localhost/dcomcloud/qidors/studies/999.999.2.19960619.163000/series/999.999.2.19960619.163000.1/metadata
And i add [Route("qidors/studies/{studies}/series/{series}/metadata")] , then can return data.
I use DICOMweb-js project ,  to upload a dicom file to DICOMcloud. Then i can see data list in localhsot  OHIF/Viewers, like below image:

I can see the data list of dicom files, so i think my localhost OHIF/Viewers is fine.
But when i click one item to view detail, then no element can display like below:

Expected Behavior
And when use localhost OHIF/Viewers connect to server: https://server.dcmjs.org/dcm4chee-arc/aets/DCM4CHEE , It is fine like below:

Actual Behavior
Dicom file cant display images detail.

I am getting this response after update these urls,

I have download latest DicomCloud code and OhifViewer.
Study List its working fine but Metadata API return 404 issue.
Please help me!

@ashu231083  this is caused by the OHIF viewer not sending the headers in the proper format. We need to get OHIF updated for this to work properly


Setup base system for omedev administrators

This adds a playbook to do the initial setup of a new CentOS 7 omedev VM to allow omedevs full admin access for running and developing other Ansible playbooks (or anything else):

Sets the /var/log partition to 4g
Expands / to fill all remaining space
Gives omedev passwordless sudo

Since this is mostly hardware configuration the included molecule.yml is just a syntax check.

Discussed today that since this is an initial step of what root may want to do to allow others to manage a system with ansible to leave it in this repository with a new name: "bootstrap"

Note: fairly similar to https://github.com/openmicroscopy/infrastructure/blob/master/ansible/ci-playbooks/ci-initial-setup.yml

AFAICT the linked playbook is quite different- it creates an admin user with a fixed username, adds multiple ssh public keys to that account, and allows sudo for that account. In contrast this playbook configures sudo using one of our published galaxy roles for existing users.

Agreed that it does more, but a subset like:
    - role: ci-admin-user
    - role: ci-admin-auth

approaches the same behavior, no?

We already have galaxy roles for creating users and setting up sudo:

https://galaxy.ansible.com/openmicroscopy/local-accounts/
https://galaxy.ansible.com/openmicroscopy/sudoers/

Yup. Which is why I was looking for suggestions for unification.
cc: @rleigh-codelibre

Thanks, @manics


Fix tests in init template

Codecov Report

Merging #317 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #317   +/-   ##
=======================================
  Coverage   96.84%   96.84%
=======================================
  Files          79       79
  Lines        3111     3111
  Branches       20       20
=======================================
  Hits         3013     3013
  Misses         95       95
  Partials        3        3

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 e50cb4d...d924f02. Read the comment docs.


CA1062#Aspire.Hosting.Elasticsearch

Contributes to #2649 and #5047
Microsoft Reviewers: Open in CodeFlow

@Zombach Small request or for whoever merges them, can you name them with a more meaningful title, something like "Adding public API test coverage for Aspire.Hosting.Elasticsearch". CA1062 is quite cryptic when you are not familiar with these PRs.

@sebastienros, this PR is ready to merge.

/azp run


bug in displaying numpy image while debugging

Hi,
First - great extension! thank you very much
I ran into a bug when referring to the bellow code:
from PIL import Image
import numpy as np

image = Image.open('data/sandbox/00599.jpg')
print(image.getpixel((0,0)))
image_np = np.array(image)
print(image_np[0,0,:]) #if stops here with debugger and presents image I get undesired prints to std
image_pil = Image.fromarray(image_np)
print(image_pil.getpixel((0,0)))

If I run it once, without any breaking point, it prints the expected result to std:
(docscanner-env) mhadar@mhadar-lx:~/projects/doc-scanner$  cd /home/mhadar/projects/doc-scanner ; /usr/bin/env /home/mhadar/anaconda3/envs/docscanner-env/bin/python /home/mhadar/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher 34741 -- /home/mhadar/projects/doc-scanner/tmp.py
(14, 14, 6)
[14 14  6]
(14, 14, 6)
But if I run this code with a breaking point where the comment is and present 'image_np' from the 'IMAGE WATCH' I get the undesired prints to std:
(docscanner-env) mhadar@mhadar-lx:~/projects/doc-scanner$  cd /home/mhadar/projects/doc-scanner ; /usr/bin/env /home/mhadar/anaconda3/envs/docscanner-env/bin/python /home/mhadar/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher 38931 -- /home/mhadar/projects/doc-scanner/tmp.py
(14, 14, 6)
[83 83 35]
(83, 83, 35)
and also the image is not presented correctly as you can see here:

I think that even if there is a bug in the presentation the extension should never change the original object (maybe the solution should be doing a hard copy for the image before processing it for presentation?)
And of course, there is a bug in the presentation of NumPy image (I think this only happens if I work with the PIL package in parallel).
Again, greater extension! love working with it!

Thanks for the fast response!
This is the image.

I now suspect that It may be a collision with a different presenting images extension. let me check this out.

I disabled the other extension and the bug keeps occurring.
Now I see it only happens when presenting images from the 'IMAGE WATCH' menu. If I display the image using the bulb of the code action it works as expected

This should be now fixed in version 2.3.0.
The problem was it was displayed as a tensor (which had a bug). Now you can display it either as a tensor or as an image.


Send environment from JupyterHub HTTP API

Hello! Just a quick question: is there any way to send variables from JupyterHub API request like POST /users/{name}/servers/{server_name} to the container. So for example if I set some kind of key in JSON body like { "key1":"value1"} would it be possible to use this variable inside the container at notebool?

Hi @YOxan,
The short answer to this is no, for various reasons:

AFAIK, environment variables can only be populated at a process start, and there isn't a way to change/add to them dynamically into a running kernel.
Potentially variables could be populated in new kernels, but I also don't think there is any existing way to pass any environment variables that weren't available on the JupyterLab instance start.

Can I ask, what's the use case?

Hey @michalc. Basically, the case is to put some identifier to container to retrieve the data from the db. I thought about using some pre-start scripts with using this id to query the DB and fill the dataframe. Thanks!

You can override the get_env() from the Spawner that runs in the hub just before the task is created, and then notebooks would I think have access to the environment variables. Not sure if you wanted something a bit more dynamic/done after the single user server startup...


listing top level folders/files

Hey @tj , first of all this looks great and thank you for creating this.
So I have a folder/file structure like this:
/
/school/
/work/
/pictures/
/resume.pdf

I try using a path of "/" in my test program and I get a path/malformed_path/ response back. But if I use a folder a level down (ex: "/school") it works just fine.
So the question is how do I list the top-level stuff? I just checked out the Dropbox API itself and I didn't see anything. Any thoughts about how to handle this? Thanks!

Hmm I've just been testing with an app dir and those sorts of requests seem fine, not sure off-hand

Forgot that they make you use "" for root, definitely a little awkward

Yeah that is a little awkward. Anyways, thanks again!


Enable config scanning

This PR resolves https://github.com/aquasecurity/trivy-action/issues/54
and is a follow up to https://github.com/aquasecurity/trivy-action/pull/55
Example output running with the below action params:
scan-type: 'config'
hide-progress: false
format: 'table'
severity: 'UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL'

@simar7 Would you give this a review?

Hey @simar7, is this good to be merged?

Thanks for the update folks. I'll take a look at it shortly.

Is there a way to scan all levels but only block on critical findings?

That would be a function of the underlying Trivy scanner being called by this action, and to my knowledge, that is not supported. I would love for this to be a thing though, but you may have to open an issue here first, so it could then be incorporated into the action.

That would be a function of the underlying Trivy scanner being called by this action, and to my knowledge, that is not supported. I would love for this to be a thing though, but you may have to open an issue here first, so it could then be incorporated into the action.

@bsord I opened up an issue over there and they suggested to run it twice. The first time with exit code 0 with all the levels and then the second time with exit code 1 for the blocking levels.

That would be a function of the underlying Trivy scanner being called by this action, and to my knowledge, that is not supported. I would love for this to be a thing though, but you may have to open an issue here first, so it could then be incorporated into the action.

@bsord I opened up an issue over there and they suggested to run it twice. The first time with exit code 0 with all the levels and then the second time with exit code 1 for the blocking levels.

Very good to know, thanks for sharing back here.


Get Activity with Where Custom Properties Doesn't Work

Hi,
I've been log user's activity like login and logout like with this properties:
withProperties([                     'status' => 'login success',                     'group' => 'user-activity',                     'type' => 'auth',                     'action' => 'login',                     'user' => [                         'email' => $email,                         'id' => $id                     ]                 ])
Then I am trying to get activity where type is 'auth' like this :
Activity::all()->where('properties->type','auth')
But it always return empty collection.
Did I Do it wrong?

Hey,
they issue is the order of your method calls. In your code-snippet you run the where() on the Eloquent Collection and not on the Eloquent Query-Builder.
Activity::where('properties->type', 'auth')->get();

This will add a JSON field WHERE condition to the DB query and return a filtered Collection.


Custom compilation parameters

In #140, I imported a library to give method hook.
like this:
@TransformProvider
@JkImport("libs/amadeus.maho-master-SNAPSHOT.jar")
class Build extends JkCommands {

    @Hook(at = @At(var = @At.VarInsn(opcode = Opcodes.ASTORE, var = 5)), lookup = @HandleLookup, capture = true)
    public static Exception allIml(final Exception capture, final JkPluginIntellij $this) {
        capture.printStackTrace(System.out);
        return capture;
    }

    static {
        MahoExport.Setup.minimize();
        Maho.setupFromCaller();
    }
    ...
}

But this library is compiled with the preview feature.
So I need to add the compile parameter "--enable-preview".
Is there a way like @JKImport to inject compiler parameters in Jeka?

No, there is not for now but not so difficult to add I think.


Couldn't get it to work in OSX

tmux version 2.1
Used tmp, plugin shows as installed, MacBook Pro touchpad
Any pointers to where might the issue be?

Hmm, not sure. Did you source your .tmux.conf after installing it again, too? I'm not 100% familiar with how tpm works, so that might be necessary?
You can try running tmux list-keys -T root from inside a tmux session. This should tell you what your WheelUpPane is bound to.
For me, it looks like this (the last line is the important one):
🏠 $ tmux list-keys -T root
bind-key -T root MouseDown1Pane   select-pane -t = ; send-keys -M
bind-key -T root MouseDown1Status select-window -t =
bind-key -T root MouseDown3Pane   select-pane -m -t =
bind-key -T root MouseDrag1Pane   if-shell -F -t = #{mouse_any_flag} "if -Ft= "#{pane_in_mode}" "copy-mode -M" "send-keys -M"" "copy-mode -M"
bind-key -T root MouseDrag1Border resize-pane -M
bind-key -T root WheelUpPane      if-shell -F -t = #{mouse_any_flag} "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' "copy-mode -e""

It doesn't work for me either. Here is output from above command:
bind-key -T root MouseDown1Pane   select-pane -t = ; send-keys -M
bind-key -T root MouseDown1Status select-window -t =
bind-key -T root MouseDown3Pane   select-pane -m -t =
bind-key -T root MouseDrag1Pane   if-shell -F -t = #{mouse_any_flag} "if -Ft= "#{pane_in_mode}" "copy-mode -M" "send-keys -M"" "copy-mode -M"
bind-key -T root MouseDrag1Border resize-pane -M
bind-key -T root WheelUpPane      if-shell -F -t = #{mouse_any_flag} "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' "copy-mode -e""
bind-key -T root S-Left           previous-window
bind-key -T root S-Right          next-window

Scrolling in iTerm does nothing. In Terminal it goes back in command line history (like upper arrow in keyboard).

This is weird. :/ I'm also on tmux on a macbook pro (but OS 10.10.5 Yosemite, I dunno if that matters).
This command came from https://github.com/tmux/tmux/issues/145. Maybe some of the comments there can help? Please let me know if they do!

Same as @radarek

@radarek @TaiSHiNet what command are you using to turn on mouse support? I found I had to change mine to get it working
Enable mouse support (works in iTerm)
set-option -g -q mouse on

Oh, huh. For me, i was able to do it with just
set-option -g mouse on

Don't you break selection with that? (I recall from linux that mouse options did that)
Currently mostly AFK, sorry that I haven't been able to get back at you guys

@NHDaly you're right, -q isn't needed
I realized I had just not changed the setting at all from pre 2.1 though, so before I had
setw -g mode-mouse on
And after I changed it to set-option it started working

Thanks guys! I removed "set -g mode-mouse on" because tmux says it doesn't know that option and didn't give me any advice that it changed to other name ;-). It works now.
Btw, is there a way to increase scrolling speed?

I've added a comment to README to clarify that you need to set the mouse option in 2.1 to set-option -g mouse on. Hopefully this clarifies things for others! :)

@radarek: I just added 4d917914e1c03dd8642ab3 which lets you set the scrolling speed. The default is now 3 lines per scroll, to match the scroll speed in tmux 2.0.
Thanks for the suggestion!

just a note for those who land on this page - with a mac brew tmux 2.1, el capitan, and Terminal.app system i had to install the SIMBL plugin https://github.com/saitoha/mouseterm-plus/releases to get my Terminal app to register mouse events. The original mouseterm URL from bitheap didnt resolve.  Great plugin thanks @NHDaly

It works to scroll up and down, but it does not highlight the selected

Prefix + ] will paste whatever I selected. thanks!


Scheduler module

ability to configure scheduler while application startup
ability to mount external sync drivers

This is going to be solved using broadcast sync.

Needs KV first.

Use https://github.com/spiral-packages/scheduler instead


Run ort analysis on current repo

Demonstrate that action can run the ort analyse command from Typescript via a Docker container. For now it should run the analysis on . which is a checkout repository.
The action should write out/analyzer-result.yml as output file.

Fixed in #91


Fix notebook.

Updates on BI and added example for Stratonovich SDEs.

Cell 1:

Can the SDE definition switch to dy(t) = f(t, y, theta) ...? In particular calling the state y and ordering the arguments t, y, for consistency with the code.

Cell 2:

For the simple SDE, can we avoid using torch.nn.Parameter. I've found that a surprising number of people have no idea what that is / that it exists, and are really only familiar with torch.nn.Linear etc. If you like (not a strong preference) the sample SDE could be a simple neural SDE with Linear or single-hidden-layer-MLP vector fields, which would help tie it into familiar territory for most people?
For a notebook giving a first introduction, I'd be inclined to use general noise for consistency with the mathematics just presented.

Cell 3:

d isn't used. I assume it's meant in y0. Additionally, could it be renamed to state_size? This is consistent with the term batch_size, and with DOCUMENTATION.md.
can T be specified on a separate line to batch_size, d, as it's not a dimension size.
Can y0 = torch.zeros(batch_size, 1).fill_(0.1) be replaced with torch.full?
For the discussion on the different solvers - can there be a comment saying that setting the method to None, the default, will mean it use an appropriate default method. (Once my method fixes go in, anyway.)

Cell 5:

I think names is reasonably niche / not-that-useful functionality, and I'd probably remove it from a first introduction. If you do want to keep it though, then I wouldn't use h but that conflicts with the prior drift.
Can the repeated plotting code be factored out to a function?

Cell 7:

BPath and BTree are used in the text. (BInterval is used in the code.)
BInterval is raising warnings. Explicitly passing the start point as the first query point will disable those. (Generally I regard Brownian motion as defined on intervals, not points, anyway, so I feel like this is also encouraging good practice thinking.)
Can the repeated plotting code be factored out to a function?

Cell 8:

I wouldn't specify the levy area approximation here, it's an additional complexity.
It's not quite accurate to say that this gives deterministic behaviour: it's only doing that because it's using a fixed solver.
These kinds of concerns (levy area; speed/memory trade-offs; determinism) perhaps warrant their own notebook, instead of being part of this one? They're a bit more advanced, and the defaults generally do the right thing for most use cases.

I'm tempted to suggest that backprop should be included in this notebook. (Or at least a notebook.) It's pretty important for a lot of use cases, and it has a couple caveats worth knowing about (i.e. prefer strat over ito; adjoint vs non adjoint). I think the latent SDE example is rather involved / tricky to follow so it'd be nice to have a simple example of this behaviour.

I don't see this as a big problem. The name Parameter itself should be quite sufficient in explaining what's happening there, IMHO. The reason of using diagonal is that we may then use more sophisticated solvers. A demonstration using only the Euler solver seems quite bland. Happy to discuss more if you still think otherwise.

The use of Parameter is just a small extra hurdle for many, is all. I think a reasonable fraction of our users may not be PyTorch experts -- they're here for the SDEs. I think using general is more important than using SRK; additionally Euler is a more familiar point of reference than SRK.
That said, I think you're right that diagonal/SRK are worth mentioning. I think I'd remove the BInterval stuff in favour of expanding the discussion on noise types. (Including a discussion on available solvers.)

Good points! Done for d. T is actually a dimension: it's the output dimension of the resulting tensor.

Ah, right - I missed that. I've more usually seen T used as the terminal time rather than the number of points (which I think I see written more often N in mathematics). I'd change that to t_size. (At least that's what I call it in the documentation. Generally some *_size makes sense as a name.)

This actually isn't that niche IMHO. In latent SDEs it's used for plotting the prior samples, since there're actually two SDEs there sharing a part with each other. I was also imagining people only training the drift with the most standard forward method of modules.

Fair enough. Do you think it's worth having some default zero-diffusion that makes only training the drift easy?

Factoring out the plotting might make sense, though I think it may complicate the demonstration, as then we would need to make the plotting function take in xlabel, ylabel, title, and maybe other parameters in the future. Not that we don't have one in the codebase (swiss_knife_plotter in one of the utility files), it might just complicate the demo.

I think it simplifies the demonstration. Its details don't matter from a pedagogical standpoint, and as long as its well named (plot) then it's clear that's it's not relevant. (I wouldn't put it in one of the utility files, so as to keep things self contained.)

So I thought deeply about including grad computation initially. The reason of not including it is that just doing squared loss minimization on some observations would basically end up learning an ODE -- it wouldn't really motivate SDEs that well. I obviously can't complain if you have better ideas on creating a simple example w/o getting into complicated models though.

I'm just suggesting some very straightforward:
ys = sdeint(....)
y = ys[-1]
y.backward(torch.randn_like(y))

Just to make the point that it's possible.
If you do want a reasonable reason for doing it then it can be something like:
ys = sdeint(...)
y = ys[-1]
value = f(y)
loss = (target - value.mean(dim=0)).pow(2).mean().sqrt()
loss.backward()

which is one of the standard uses of SDE models in the mathematical literature, as a way to model terminal densities satisfying certain (f) statistics. In modern ML terms it looks very MMD-like.

All done except:

I don't see using nn.Parameter as a hurdle. Rather, I see as putting there a big neural net as complicating the demo.
I think diagonal is more intuitive than general, since the function output looks more like the ODE case.

Fair enough. Do you think it's worth having some default zero-diffusion that makes only training the drift easy? (Not saying I do, just thinking out loud.)

I don't fully understand what you mean by "zero-diffusion". If this just means a diffusion function that always outputs zeros, then the SDE is essentially an ODE. If this mean a constant diffusion function, i.e. one without any trainable parameters, then I agree there's possibly something interesting here we could try.
I agree with having backward, factoring out plotting, and using t_size.

Haha alright, let's agree to disagree on the parameter/noise.
Zero diffusion - you described people using the forward method for the drift; this only seems natural to me if the diffusion isn't present, with the only natural default being zero. (Which as you say, reduces to the ODE case.) I'm not sure I really see a need for this, I was just positing what I thought was the natural scenario for what you were describing.

Cell 1:

It would be good to explicitly mention that gdW is a matrix-vector product.
plot is always called with cpu() arguments and samples.squeeze().t(), so they can be moved inside the function.

Cell 2:

After the third sentence: it would be worth adding a line saying "(See below for more detail on how the output of g depends on the different noise types.)" as I don't think it's made very clear here.
I'd propose a few wording tweaks for clarity:

"The attributes noise_type and sde_type are used in the solver to determine the particular numerical method being used and must be included." -> "The attributes noise_type and sde_type must be included to inform the solver about how to interpret the SDE, and determine which numerical methods are available."
"and batch matrix-vector product is performed under the hood" -> "and a batch matrix-vector product will be performed with the Brownian motion"
"The requirement of element-wise function is a rather technical condition to ensure the high-order solvers attain their theoretically derived efficiency." -> "" (Just remove.)

Cell 3:

"To solve a Stratonovich SDE with drift and diffusion defined above, we need only change sde_type to stratonovich:" isn't quite accurate, as the method must also be changed.

Cell 4:

"The drift and diffusion functions don't necessarily need to be defined as the f and g methods of the class." -> "The drift and diffusion functions don't necessarily have to be called f and g."

Cell 9:

additive noise: it should be made clear whether or not derivatives wrt t are allowed

The diffusion function shapes all need updating to state the inclusion of the mandatory batch dimension.

There's a spurious extra cell at the end.

(Overall despite my criticism I like it btw.)

All done! Genuinely thankful for the thorough comments!

LGTM!


Added profile amittri1025

Add my profile in public/data with my username as its name
Proposed Changes
-Change Name
-Change Designation
-Change Avatar

Screenshots

@amittri1025 , please can you resolve the conflicts in src/index.css thank you.


should not take base path from schema['servers'] url, if base_url is given in runner.prepare

Hi, thanks for the great library.
if my openapi schema contains server url as https://abc.xyz.com/a1
But during testing, i also want the base_url to be my testing url. say https://testing.xyz.com/t1
I want https://testing.xyz.com/t1/fetch to run for my /fetch path, not https://testing.xyz.com/t1/a1/fetch

@arvindjangra1996 thanks :)
Indeed, this part is broken. I am working on a fix

Oh, it seems like we need to rework our base_url handling. The change will be backward-incompatible, it will take some more time

okay. :)

Hey, is this issue handled in new release ?

Hi, I forgot to change the milestone, that PR will be finalized and merged in a few days together with #581 . It will be 2.0 release

okay. Thanks :)


Compile Kernel

Hi, I want to use WLLVM (clang compiler) to compile the Linux kernel. In fact, I readily do it! But when I use clang to compile the Linux kernel, I fail! The WLLVM is magic, it did what Clang didn't.  I wonder why it is?

Only a few versions of the linux kernel compile using clang.  Sorry. This is not an issue with wllvm.


ImageNotFound error while trying to use augmentation.

System Information

OS platform and distribution (e.g. Linux Ubuntu 16.04): Ubuntu 18.04.3 LTS
gobbli version: 0.0.2
Python version: 3.7.4
Other information relevant to the problem (GPU model, Docker version, etc): Docker version 19.03.2, build 6a30dfc

Description
I tried to run the BERTMaskedLM augmentation and got the following error:
ImageNotFound: 404 Client Error: Not Found ("pull access denied for gobbli-bert-maskedlm, repository does not exist or may require 'docker login': denied: requested access to the resource is denied")
Code for Minimal Reproducible Example

Install gobbli in a fresh virtualenvironment via pip install gobbli.

Run the following code:

from gobbli.augment import Word2Vec, BERTMaskedLM
import pathlib
wv = BERTMaskedLM(data_dir=pathlib.Path("./data/"))
X = ["Soccer is a fun game."]
wv.augment(X, times=10, p=0.5)

Output
This is the full error output:
---------------------------------------------------------------------------
HTTPError                                 Traceback (most recent call last)
~/.venvs/ctrl/lib/python3.7/site-packages/docker/api/client.py in _raise_for_status(self, response)
    260         try:
--> 261             response.raise_for_status()
    262         except requests.exceptions.HTTPError as e:

~/.venvs/ctrl/lib/python3.7/site-packages/requests/models.py in raise_for_status(self)
    939         if http_error_msg:
--> 940             raise HTTPError(http_error_msg, response=self)
    941

HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.35/containers/create

During handling of the above exception, another exception occurred:

ImageNotFound                             Traceback (most recent call last)
~/.venvs/ctrl/lib/python3.7/site-packages/docker/models/containers.py in run(self, image, command, stdout, stderr, remove, **kwargs)
    802             container = self.create(image=image, command=command,
--> 803                                     detach=detach, **kwargs)
    804         except ImageNotFound:

~/.venvs/ctrl/lib/python3.7/site-packages/docker/models/containers.py in create(self, image, command, **kwargs)
    860         create_kwargs = _create_container_args(kwargs)
--> 861         resp = self.client.api.create_container(**create_kwargs)
    862         return self.get(resp['Id'])

~/.venvs/ctrl/lib/python3.7/site-packages/docker/api/container.py in create_container(self, image, command, hostname, user, detach, stdin_open, tty, ports, environment, volumes, network_disabled, name, entrypoint, working_dir, domainname, host_config, mac_address, labels, stop_signal, networking_config, healthcheck, stop_timeout, runtime, use_config_proxy)
    428         )
--> 429         return self.create_container_from_config(config, name)
    430

~/.venvs/ctrl/lib/python3.7/site-packages/docker/api/container.py in create_container_from_config(self, config, name)
    439         res = self._post_json(u, data=config, params=params)
--> 440         return self._result(res, True)
    441

~/.venvs/ctrl/lib/python3.7/site-packages/docker/api/client.py in _result(self, response, json, binary)
    266         assert not (json and binary)
--> 267         self._raise_for_status(response)
    268

~/.venvs/ctrl/lib/python3.7/site-packages/docker/api/client.py in _raise_for_status(self, response)
    262         except requests.exceptions.HTTPError as e:
--> 263             raise create_api_error_from_http_exception(e)
    264

~/.venvs/ctrl/lib/python3.7/site-packages/docker/errors.py in create_api_error_from_http_exception(e)
     30             cls = NotFound
---> 31     raise cls(e, response=response, explanation=explanation)
     32

ImageNotFound: 404 Client Error: Not Found ("No such image: gobbli-bert-maskedlm:latest")

During handling of the above exception, another exception occurred:

HTTPError                                 Traceback (most recent call last)
~/.venvs/ctrl/lib/python3.7/site-packages/docker/api/client.py in _raise_for_status(self, response)
    260         try:
--> 261             response.raise_for_status()
    262         except requests.exceptions.HTTPError as e:

~/.venvs/ctrl/lib/python3.7/site-packages/requests/models.py in raise_for_status(self)
    939         if http_error_msg:
--> 940             raise HTTPError(http_error_msg, response=self)
    941

HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.35/images/create?fromImage=gobbli-bert-maskedlm

During handling of the above exception, another exception occurred:

ImageNotFound                             Traceback (most recent call last)
<ipython-input-11-ed0c43bcf157> in <module>
----> 1 wv.augment(X, times=10, p=0.5)

~/.venvs/ctrl/lib/python3.7/site-packages/gobbli/augment/bert/model.py in augment(self, X, times, p)
    142
    143         run_container(
--> 144             self.docker_client, self.image_tag, cmd, self.logger, **run_kwargs
    145         )
    146

~/.venvs/ctrl/lib/python3.7/site-packages/gobbli/docker.py in run_container(client, image_tag, cmd, logger, **kwargs)
     77     # Run as current UID to avoid files created by root
     78     container = client.containers.run(
---> 79         image_tag, cmd, user=os.geteuid(), group_add=[os.getegid()], **run_kwargs
     80     )
     81

~/.venvs/ctrl/lib/python3.7/site-packages/docker/models/containers.py in run(self, image, command, stdout, stderr, remove, **kwargs)
    803                                     detach=detach, **kwargs)
    804         except ImageNotFound:
--> 805             self.client.images.pull(image, platform=platform)
    806             container = self.create(image=image, command=command,
    807                                     detach=detach, **kwargs)

~/.venvs/ctrl/lib/python3.7/site-packages/docker/models/images.py in pull(self, repository, tag, **kwargs)
    442
    443         pull_log = self.client.api.pull(
--> 444             repository, tag=tag, stream=True, **kwargs
    445         )
    446         for _ in pull_log:

~/.venvs/ctrl/lib/python3.7/site-packages/docker/api/image.py in pull(self, repository, tag, stream, auth_config, decode, platform)
    412         )
    413
--> 414         self._raise_for_status(response)
    415
    416         if stream:

~/.venvs/ctrl/lib/python3.7/site-packages/docker/api/client.py in _raise_for_status(self, response)
    261             response.raise_for_status()
    262         except requests.exceptions.HTTPError as e:
--> 263             raise create_api_error_from_http_exception(e)
    264
    265     def _result(self, response, json=False, binary=False):

~/.venvs/ctrl/lib/python3.7/site-packages/docker/errors.py in create_api_error_from_http_exception(e)
     29         else:
     30             cls = NotFound
---> 31     raise cls(e, response=response, explanation=explanation)
     32
     33

ImageNotFound: 404 Client Error: Not Found ("pull access denied for gobbli-bert-maskedlm, repository does not exist or may require 'docker login': denied: requested access to the resource is denied")

Since BERTMaskedLM is a model, you need to call .build() on it before trying to use it so the Docker image is built.  i.e.:
from gobbli.augment import Word2Vec, BERTMaskedLM
import pathlib
wv = BERTMaskedLM(data_dir=pathlib.Path("./data/"))
wv.build()
X = ["Soccer is a fun game."]
wv.augment(X, times=10, p=0.5)

We really should be catching the ImageNotFound error and give you a more helpful error message, though.  I'll see about changing that.

Fixed in new release (0.0.3).  You should now see this error if you try this:
RuntimeError: gobbli couldn't find the Docker image for the container it was asked to run. This probably means you didn't call .build() on a model before using it.

Thanks @jasonnance. Doing this solved the problem.


Materializing SArray... shows twice

Repro steps:
import turicreate as tc
sf = tc.SFrame.read_csv('https://docs-assets.developer.apple.com/turicreate/datasets/tc-clang-format-results.csv')
sf['File Path'].show()

Expected:
In [36]: sf['File Path'].show()
Materializing SArray...
Done.

Actual:
In [36]: sf['File Path'].show()
Materializing SArray...
Done.
Materializing SArray...
Done.

Plumb up from [histogram.cpp] and [item_frequency.cpp] into tc.visualization.show file.


React Fragment (implicit) isn't bundled properly

https://github.com/daangn/karrot-ui/issues/34

No, it is working as expected


Setup workflow to publish on PyPI.org

Replaces #12, closes #8.

I have created the project on PyPI.org (https://pypi.org/project/mkdocstrings-vba/) and configured a trusted publisher for this workflow.

Happy to confirm that it worked :smile: 0.0.8 is available on PyPI.org :tada:


Paralell programming

Hi!
Is there any way to run multiple tasks at the the same time from javascript code without create new V8ScriptEngine instance? The tasks would use javascript code.
For example:
var task = System.Task.Run(new System.Action(function() { System.Console.WriteLine("I'm in the new task."); })); task.Wait();
Thanks,
Balazs

You can run parallel script using java script promise objects.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

@balazsszekely If you're using a single instance of V8ScriptEngine, you can execute JavaScript code on any thread, but not on multiple threads simultaneously.
Your example launches a JavaScript task on a worker thread, but waits for it on the current thread. This is a deadlock because the worker thread can't start running JavaScript code until the current thread stops doing so.
ClearScript supports asynchronous callbacks into script code, so as long as your scripts don't do any waiting or perform other long-running operations, you should be able to take full advantage of .NET's threading capabilities.
JavaScript's Promise objects don't provide concurrency by themselves, but they provide a standard API pattern that you can use to wrap the concurrency capabilities of the host.

Thanks for fast reply!


chore: release 0.4.0

:robot: I have created a release beep boop
0.4.0 (2024-10-31)
Features

add basic JSDocs (fd8bb84)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

hono-zod-openapi-v0.4.0
:sunflower:


feat(tutorial): complete step 5

BlueMix url:
https://carbon-tutorial-msimini.mybluemix.net/#/

👍  Looks good!
Feel free to stop this running application on IBM Cloud to avoid the possibility of incurring any charges 💵
Please see the wrapping up step to apply for your badge!
https://www.carbondesignsystem.com/tutorial/react/wrapping-up


Some issues with the Ghost deployed on Azure

Dear Sir,
Once I deployed the Ghost on Azure, faced the issues. "Updating Website Config” kept going and never stop, I get some error screenshots from My Azure account for you reference as below.

Thanks
Best Regards,
John

Thanks for reporting! I'm sorry to say that I have trouble reproducing your issue - could you do me a favor and try deploying again? Out of 500 deployments, one or two might fail for performance reasons, so I'm afraid that you're just one of the unlucky ones.

Dear Sir,
I have tried many times(>10) today, the result is the same.
Any Advice?

Thanks

Hm... I'm stumped. You're just clicking the "Deploy to Azure" button in the readme, right?

I have the same situation. Config update phase just keeps spinning and spinning.

@felixrieseberg
Yup！

Super weird. I'm so sorry for this, but I have no idea what's wrong. @davidebbo is the currently reigning king of Azure Web Apps - do you have any idea what could be wrong here?

Not sure. If you can share the info below as text, it should be possible for someone here to investigate further (info in screenshots is not easily consumable).
Also, as a test, does this simpler repo work for you? https://github.com/Tuesdaysgreen/HelloWorlddemo

@davidebbo Done and seems no any issues.
Submitting Deployment
Deployment Started
Creating Web Hosting Plan
Creating Website
Setting up Source Control
Fetching changes.
Deployment Complete
Manage your site / Browse to http://helloworld-tesing.azurewebsites.net
Access the URL, I can see 'Hello World 8'
Thanks

@davidebbo
Dear David,
Pls refer below text info

OPERATION ID
4FA7EDD0706EA36E
TRACKING ID
b84bdf3c-87ca-41c8-89e0-7eaf4d31605f
STATUS
BadGateway
PROVISIONING STATE
Running
TIMESTAMP
12/6/2015, 1:22:25 PM
DURATION
PT5.5441347S
TYPE
Microsoft.Web/Sites/config
RESOURCE ID
/subscriptions/47933bfc-a1a9-458a-99a2-fdc8bf2b063b/resourceGroups/GhostonAzure1/providers/Microsoft.Web/Sites/GhostonAzure/config/web
STATUSMESSAGE
{"error":{"code":"InternalServerError","message":""}}
RESOURCE
GhostonAzure/web

Thanks and best regards,
John

Do you know what time zone '12/6/2015, 1:22:25 PM' is referring to? I thought it would be UTC, but I see no records of any APIs called around that time.
One strange thing is that I see the site GhostonAzure having been created way back on December 3rd, and deleted on December 6th. Were you trying this on an existing site or a new site?

@davidebbo

UTC
Yup, deployed it and got fault then just deleted it and rebuilt it today.

Seems the time of latest creation is actually 5:22AM on 12/6. And do see the error at that time.
Please try the following:

go to https://portal.azure.com/
go to your GhostonAzure
Go to settings
Make some random change like setting the PHP version, and click Save

Does that work or also give some error?

@davidebbo
Just deployed 5 min ago

OPERATION ID
3C1DBA76C6E1FC0A
TRACKING ID
3e86c2a6-880d-4cb4-9003-5bfea6e8116a
STATUS
BadGateway
PROVISIONING STATE
Running
TIMESTAMP
12/7/2015, 1:32:23 AM
DURATION
PT1M16.9996979S
TYPE
Microsoft.Web/Sites/config
RESOURCE ID
/subscriptions/47933bfc-a1a9-458a-99a2-fdc8bf2b063b/resourceGroups/Ghost-Azured8b3/providers/Microsoft.Web/Sites/Ghost-Azured8b3/config/web
STATUSMESSAGE
{"error":{"code":"InternalServerError","message":""}}
RESOURCE
Ghost-Azured8b3/web

@davidebbo
FYI

@davidebbo
changed something, and save. updated successfully

Ok, I think I may know the problem. This ARM template is targeting an old version of the API which doesn't support RBAC (role based access control). Can you clarify your access to the subscription? i.e. are you admin, co-admin, or only have RBAC access to part of it? Is it a special subscription?

Can you try with the deploy button on my fork to see if that helps: https://github.com/davidebbo-test/Ghost-Azure

@davidebbo: Thanks for all this help! Shouldn't I use your updated version anyway, even if it doesn't fix this issue? Yes, right?

Yes, definitely. Just sent PR.

@davidebbo & @felixrieseberg
Thank you all very much! It's available now! awesome job! :))))

Submitting Deployment
Deployment Started
Creating Web Hosting Plan
Creating Website
Setting up Source Control
Fetching changes.
Preparing deployment for commit id '4a7bad13bc'.
Generating deployment script.
Running deployment command...
Deployment Complete
Manage your site / Browse to http://ghost-azuredb99.azurewebsites.net

@johnluo glad that worked!


Detect Spring Boot fat-JAR repackaging and use original thin JAR

Implements https://github.com/GoogleContainerTools/jib/issues/1852#issuecomment-557275771 for Maven. That is, auto-detect Spring Boot fat-JAR repackaging and use the original thin JAR.
Additionally takes care of the corner cases with <classifier> and <outputDirectory> from maven-jar-plugin. This is basically irrelevant of the Spring Boot fat JAR stuff, but I decided to fix them for correctness.

Oh, wait. Something's not right. Looking into the issue.

Added a Spring Boot integration test that verifies the image is built with a thin JAR and prints out "Hello world".
While doing that, I realized that JVM does not interpret the wildcard (*) in java -cp /some/path/*. Unfortunately, it has to end with .jar for JAR files. However, Spring Boot renames the original JAR with the .jar.original suffix, so we need to make the JAR filename end with .jar inside the image. The simplest solution I think is to copy the original JAR to a temp location for the sake of having the .jar suffix.

Okay, let's give this a spin. This won't make things worse even if this goes wrong, because the packaged mode has not been working for Spring Boot projects.


Type error within hash function during setting up

Issue Summary
I was trying to setup the docker container with mysql both are latest, version 5.49 of Ghost. It threw an error that there was an invalid type argument for hashing function SHA1 within mysql2 package. I have defined the password as string but somehow it assumes it's a number therefore some type issue. I'm attaching the pic of the error

Steps to Reproduce

Get the latest mysql and ghost(5.49)
Try to run the compose file with:-

version: '3.3'
services:
blog:
image: ghost:latest
restart: always
volumes:
- ~/data/content:/var/lib/ghost/content
environment:
# see https://ghost.org/docs/config/#configuration-options
database__client: mysql
database__connection__host: database
database__connection__user: root
database__connection__password: '1877'
database__connection__database: ghost
url: https://ghost.justarandomdev.com
NODE_ENV: production
database:
image: mysql:latest
restart: always
environment:
MYSQL_ROOT_PASSWORD: '1877'
MYSQL_DATABASE: ghost
MYSQL_USER: user
MYSQL_PASSWORD: '1877'
Ghost Version
5.49.2
Node.js Version
16.20.0
How did you install Ghost?
Using portainer with docker on linux
Database type
MySQL 8
Browser & OS version
No response
Relevant log / error output
[2023-06-02 01:52:43] INFO Ghost is running in production...
blog_1      | [2023-06-02 01:52:43] INFO Your site is now available on https://ghost.justarandomdev.com/
blog_1      | [2023-06-02 01:52:43] INFO Ctrl+C to shut down
blog_1      | [2023-06-02 01:52:43] INFO Ghost server started in 1.219s
blog_1      | node:internal/crypto/hash:109
blog_1      |     throw new ERR_INVALID_ARG_TYPE(
blog_1      |     ^
blog_1      |
blog_1      | TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (1877)
blog_1      |     at new NodeError (node:internal/errors:387:5)
blog_1      |     at Hash.update (node:internal/crypto/hash:109:11)
blog_1      |     at sha1 (/var/lib/ghost/versions/5.49.2/node_modules/mysql2/lib/auth_41.js:31:8)
blog_1      |     at Object.token [as calculateToken] (/var/lib/ghost/versions/5.49.2/node_modules/mysql2/lib/auth_41.js:57:18)
blog_1      |     at new HandshakeResponse (/var/lib/ghost/versions/5.49.2/node_modules/mysql2/lib/packets/handshake_response.js:28:26)
blog_1      |     at ClientHandshake.sendCredentials (/var/lib/ghost/versions/5.49.2/node_modules/mysql2/lib/commands/client_handshake.js:71:31)
blog_1      |     at ClientHandshake.handshakeInit (/var/lib/ghost/versions/5.49.2/node_modules/mysql2/lib/commands/client_handshake.js:162:12)
blog_1      |     at ClientHandshake.execute (/var/lib/ghost/versions/5.49.2/node_modules/mysql2/lib/commands/command.js:45:22)
blog_1      |     at Connection.handlePacket (/var/lib/ghost/versions/5.49.2/node_modules/mysql2/lib/connection.js:489:32)
blog_1      |     at PacketParser.onPacket (/var/lib/ghost/versions/5.49.2/node_modules/mysql2/lib/connection.js:94:12)
blog_1      |     at PacketParser.executeStart (/var/lib/ghost/versions/5.49.2/node_modules/mysql2/lib/packet_parser.js:75:16)
blog_1      |     at Socket.<anonymous> (/var/lib/ghost/versions/5.49.2/node_modules/mysql2/lib/connection.js:101:25)
blog_1      |     at Socket.emit (node:events:513:28)
blog_1      |     at addChunk (node:internal/streams/readable:315:12)
blog_1      |     at readableAddChunk (node:internal/streams/readable:289:9)
blog_1      |     at Socket.Readable.push (node:internal/streams/readable:228:10) {
blog_1      |   code: 'ERR_INVALID_ARG_TYPE'
blog_1      | }

Code of Conduct

[X] I agree to be friendly and polite to people in this repository

I was looking at the code found it was within core folder that's using mysql2 however it's not using the latest module

This seems to be due to the fact that  database__connection__password: '1877' becomes a number, and mysql2 doesn't like that. It's quite niche but we can probably workaround it, so a PR would be welcome 🙂


Support GlobalReplicationGroup in elasticache-controller

Is your feature request related to a problem?
GlobalReplicationGroup is not currently supported in elasticache-controller.
https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_CreateGlobalReplicationGroup.html
Describe the solution you'd like
Add support GlobalReplicationGroup into elasticache-controller
Describe alternatives you've considered

cc @kumargauravsharma @nmvk @echen-98


kerning looks awful for some character

SWF: 062d994172b912d00461dd8d71f4b6b305d0996489bc97a10412112bdaaca657 (Direct Link)
http://lesathlètes.com/ , click on some other menu entry and then on "Accueil"

Looks better


[UI] Programs Page

Description
On hovering the cards, the text is not properly aligned. It can be seen in the below video:
Vid1
Expected Behavior
Vid2
Enviroment:

OS:  Windows
Browser: Brave
Device: Desktop

Contributor Guides and Handbook
The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

📚 See the Contributing to Meshery.io Website section of the readme.md and other contributing instructions, too.
🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Thank you @psankhe28 for opening up an issue for this. I was thinking if we should keep the position of the text at the bottom-left and the text decoration be left-align or the position of the text  be bottom-center and the text-decoration be center because if we are positioning the text at the center both vertically and horizontally as you have shown in expected behavior video then the text LFX and MLH is not quite visible.

Should I proceed with the left-aligned version or the centered one?

text-decoration: center; will work better in my opinion because other 3 cards (from start) are center aligned.

Should I make a PR with the change?

Go ahead


Added error handling and logging points to page analyser

PR adds:

Added more error handling catches to analyser
Added extra logging to page analyser

Tested with the Dev Branch of PnP-PowerShell - related PR on that project: https://github.com/SharePoint/PnP-PowerShell/pull/2272
Related to issue #286

Thanks @pkbullock


Fix indents in Getting Started example playbook

Fix indents in Getting Started example playbook.

Thank you for merge.


Dynamic update not working in turbo-flask 0.8.1?

When following your blog post / guide on Dynamically Update Your Flask Web Pages Using Turbo-Flask
I found the dynamic update is not working with turbo-flask 0.8.1 and the example code.
It does work with 0.8.0.
Is this due to a bug in 0.8.1 or has the method of making dynamic updates work changed?

Looks like the CDN that hosts the Turbo JavaScript code is having an issue with the latest version: https://github.com/hotwired/turbo/issues/735. The 0.8.0 release works fine because that loads an older version of turbo.js.

I was also noticing this.  The load example, and my own code based on it, was working a few weeks ago, but not anymore.

How do we specify to use the older version? Uninstall turbo-flask with pip and reinstall with a specific version number ? Modify one of the .py or .html files ?

Or do we need to wait for the CDN issue to be resolved ?

You can run pip install turbo-flask==0.8.0 to force this version to be installed. If any other version are already installed, it will be removed first.

Yes, that worked for me. Thank you. With 0.8.0 the dynamic updates happen in the browser.

It seems like the CDN url is wrong.
https://cdn.skypack.dev/pin/@hotwired/turbo<EMAIL_ADDRESS>https://cdn.skypack.dev/pin/@hotwired/turbo<EMAIL_ADDRESS>are working.
https://cdn.skypack.dev/pin/@hotwired/turbo<EMAIL_ADDRESS>Is not (which is in 0.8.1)

The URL isn't wrong, they have just released a new version on top of the broken one. In any case, 0.8.2 is  now released with this fix. Thanks!

Jep, now it should work again with the 0.8.1 version I guess.


i/o timeout on push command

I have setup a SLES 12 with a local registry and portus on the same host under the same fqdn by following the procedure provided on port.us.org documentation. I use our company wildcard certificate. I managed to get the portus portal working with HTTPS, I can docker login to the registry but I receive a i/o timout error when I try to push an image. Here are the steps I followed:
1- https://sle12.mydomain.tld/portus -> created a new user under test team with contributor access to a namespace "test
2- On an Ubuntu client, docker login -u user -p password -e<EMAIL_ADDRESS>sle12.mydomain.tld returns: Login succeeded.
3- I have pull/tag hello-world: docker pull hello-world / docker tag hello-world sle12.mydomain.tld/test/hello-world
4- docker push sle12.mydomain.tld/test/hello-world
At this step it tries a couple of times then issue the following statement: dial tcp <IP_ADDRESS>:80: i/o timeout (<IP_ADDRESS> is the IP of mydomain.tld)
In the Apache2 error log I have the following lines:
App 27678 stderr: WARN: Unresolved specs during Gem::Specification.reset:
App 27678 stderr:
App 27678 stderr:       rake (>= 0.8.1)
App 27678 stderr:
App 27678 stderr:       rack (>= 0)
App 27678 stderr:
App 27678 stderr: WARN: Clearing out unresolved specs.
App 27678 stderr:
App 27678 stderr: Please report a bug if this causes problems.
App 27678 stderr:
App 27678 stderr: /usr/lib64/passenger/5.0.18/bin/passenger-config:32:in require' App 27678 stderr: :  App 27678 stderr: cannot load such file -- phusion_passenger App 27678 stderr:  ( App 27678 stderr: LoadError App 27678 stderr: ) App 27678 stderr: 	from /usr/lib64/passenger/5.0.18/bin/passenger-config:32:in '
In the portus log (/srv/Portus/log/production.log) I found this entry:
W, [2016-03-01T16:19:35.096644 #1483]  WARN -- : Exception: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
I think it's strange that the message "dial tcp <IP_ADDRESS>:80" states :80 as I configured Portus to listen on 443 and the registry on localhost:5000. I tried disabling the firewall and the error message changed to an Apache2 message starting with: error parsing http response invalid character '<' looking for beginning of value...
Any ideas where I should look to make it works?

After reviewing this issue I realise it is very similar. If my firewall is on and permitting only HTTPS trafic I get the dial tcp <IP_ADDRESS>:80 i/o timeout. If I permit HTTP trafic then I get the "Error parsing HTTP response...".
Apache is listening on 80 and 443 but only rewrites the URL in the vhost configuration listening to 443. I've moved the rewrite rule to the listen.conf and I stopped the firewall and now I have a message: access to the requested ressource is not authorized. This is the message I get even if I'm logged on as the admin user and trying to push to my personnal namespace.


[sfx] bugs

While the sfx queue is in the middle of playing, audio commands like:

resume
skip
sing

can break the voice client.
Also, playing sfx in the middle of a transition from one song to the next might also break things. Need to investigate.

Closing as v2 (and v2's voice) is dead.


Cannot register 'cmake.cmakePath'. This property is already registered.

Type: Bug
CMake Tools displays the following error message: Cannot register 'cmake.cmakePath'. This property is already registered.
Extension version: 0.0.17
VS Code version: Code 1.90.2 (5437499feb04f7a586f677b155b039bc2b3669eb, 2024-06-18T22:34:26.404Z)
OS version: Windows_NT x64 10.0.22631
Modes:

I also detected same bug.
Is thare any one know how to solve it?

Hi - I've been in a position for a while to make changes to this extension,
but have struggled to open a dialog with the maintainer.  No doubt they're
super busy.
Am contemplating forking the repo and starting a new extension otherwise.
On Mon, Sep 9, 2024 at 9:12 AM melissa311 @.***> wrote:

I also detected same bug.
Is thare any one know how to solve it?
—
Reply to this email directly, view it on GitHub
https://github.com/twxs/vs.language.cmake/issues/126#issuecomment-2337427265,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACOPMMVGTQWNAZH4AMYP7DZVVJ7XAVCNFSM6AAAAABJVXOGYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZXGQZDOMRWGU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

CMake extension cannot be activited even if no any other was installed


Appstudio update test-component-pac-vqjm

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-vqjm-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
20 seconds
clone-repository

✅ Succeeded
26 seconds
build-container

✅ Succeeded
2 minutes
deprecated-base-image-check

✅ Succeeded
16 seconds
sanity-inspect-image

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
52 seconds
clamav-scan

✅ Succeeded
16 seconds
sbom-json-check

✅ Succeeded
8 seconds
sanity-optional-label-check

✅ Succeeded
8 seconds
sanity-label-check

✅ Succeeded
5 seconds
show-summary

Pipelines as Code CI/test-component-pac-vqjm-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
17 seconds
clone-repository

✅ Succeeded
20 seconds
build-container

✅ Succeeded
11 seconds
deprecated-base-image-check

✅ Succeeded
12 seconds
sanity-inspect-image

✅ Succeeded
32 seconds
clamav-scan

✅ Succeeded
9 seconds
clair-scan

✅ Succeeded
15 seconds
sbom-json-check

✅ Succeeded
9 seconds
sanity-optional-label-check

✅ Succeeded
9 seconds
sanity-label-check

✅ Succeeded
7 seconds
show-summary


Parse interaction options with sapphire resolvers

Is there an existing issue or pull request for this?

[X] I have searched the existing issues and pull requests

Feature description
Maybe we should add a way to parse interaction options with sapphire resolvers?
Because there aren't many Discord's default types, so maybe Sapphire can offer a better api than manually importing resolvers...
Desired solution
const args = this.parseOptions(interaction); // Method in the core SapphireCommand class
args.get('option-name', 'date');
args.get('option-name2', 'hyperlink');
args.get('option-name3'); // Resolve with the discord's type entered in the option array.
// and so on

Alternatives considered
Using resolvers imported manually. It would work, but adding syntactic sugar: that's what a framework is for :)
Additional context
Vladdy told me on discord this was considered, but needs a refactor of the Arguments class to make it more abstract, so I thought I'd put it there as a reminder.
I'm willing to work on this if needed.

Resolvers to be fully compatible with interactions is just one of many things that still needs doing before release yeah.

This will be split in 2 parts. In v3 of the framework you will be able to directly call the various resolvers and pass interactions into them, i.e. for resolveMessage this is relevant. In v4 we will have Args support for interactions.

This particular issue will be closed as part of v3, and the Args support has been moved to #494


[incubator/gocd] Update install repository references to incubator

This is a minimal change to fix installation instructions for the incubator/gocd chart.  A duplicate change has been made in #3711, so this can be safely closed if that PR is merged first.

/assign @mattfarina

/assign @unguiculus

/ok-to-test

/lgtm


resolves #1895 allow theme to control top margin of callout lists

I'm going to rename the key, but otherwise accept this change. Thanks!


HH-189 | fix: fix calling getEventCardProps with wrong parameters

Description
fix: fix calling getEventCardProps with wrong parameters
noticed getEventCardProps parameter count difference in events-helsinki-monorepo when fixing types:

https://github.com/City-of-Helsinki/events-helsinki-monorepo/pull/607

refs HH-189
Issues
Closes
Related

HH-189
https://github.com/City-of-Helsinki/events-helsinki-monorepo/pull/607

Testing
Automated tests
Manual testing
Screenshots
Additional notes

@karisal-anders I must say that I don't really understand the fix. What has been the problem and how this fixes it? 🤔


Analytics API not available to customer-account extensions on the Order Status page

Please list the package(s) involved in the issue, and include the version you are using
app V3.52.0, cli V3.52.0, ui-extensions V2024.4.1, ui-extensions-react V2024.4.1
Describe the bug
When attempting to publish an event from a checkout extension when rendered to the block target on the order status page customer-account.order-status.block.render a browser console error is reported:
AnalyticsApiError: The analytics API is not available on the order status page.
    at publish (OrderDetails-c2d07e54873d5d20c206.js:1:5762)
    at Object.call (vendors-node_modules_preact_signals-react_dist_signals_module_js-node_modules_remote-ui_async-231f7c-e1912468c1248eb8e348.js:2:71448)
    at MessagePort._ (vendors-node_modules_preact_signals-react_dist_signals_module_js-node_modules_remote-ui_async-231f7c-e1912468c1248eb8e348.js:2:74023)

When clicking the code link to "OrderDetails-c2d07e54873d5d20c206.js:1:5762" this code is shown, which tells me that on the Order Status page, in the Order Details section, the analytics methods are simply defined to report this error, and nothing else.
function L({}) {
  const e = "The analytics API is not available on the order status page.";
  return {
    analytics: {
      publish: async()=>(console.error(new P(e)),
      !1),
      visitor: async()=>(console.error(new P(e)),
      {
        type: "error",
        message: e
      })
    }
  }
}

According to the customer-account.order-status.block.render target documentation, the analytics API should be available: https://shopify.dev/docs/api/checkout-ui-extensions/2024-04/targets/block/customer-account-order-status-block-render#customeraccountstandardapi-propertydetail-analytics
Steps to reproduce the behavior:

Create a new checkout extension according to the docs: https://shopify.dev/docs/apps/checkout/thank-you-order-status/add-survey?extension=react#create-a-checkout-ui-extension
Add the following simple example code to Checkout.tsx

import { Text } from '@shopify/ui-extensions-react/checkout';
import { useApi, reactExtension } from '@shopify/ui-extensions-react/customer-account';

const orderStatusBlock = reactExtension('customer-account.order-status.block.render', () => (
  <Extension />
));
export { orderStatusBlock };

function Extension() {
  const api = useApi<'customer-account.order-status.block.render'>();
  const { analytics } = api;
  analytics.publish('test_event', {
    name: 'order status test'
  });
  return <Text>This is the order status page</Text>;
}

Adjust the extensions.targeting section of shopify.extension.toml to this:

[[extensions.targeting]]
module = "./src/Checkout.tsx"
target = "customer-account.order-status.block.render"
export = "orderStatusBlock"

Run yarn dev, press p to open the preview console in your browser
Click the customer-account.order-status.block.render link to open a checkout
Complete the checkout process
View the Thank You page
Refresh the page to load the Order Status page
Open the browser dev tools console
See the error described above

Expected behavior
Analytics API methods are available on the Order Status page as described in the documentation: https://shopify.dev/docs/api/checkout-ui-extensions/2024-04/targets/block/customer-account-order-status-block-render#customeraccountstandardapi-propertydetail-analytics
Screenshots

@jamesvidler @robin-drexler @graeme-shopify are there any updates on this issue? Thanks!

@graeme-shopify I appreciate the update. I am attempting to fire custom events from my checkout UI extension (customer interaction with my extension) on both the thank you page and order status page, but the analytics API is unavailable on the order status page, so I am unable to measure those custom events.

Roger that @mikefortney!

I have encountered the same problem, hope it can be solved as soon as possible, thank you very much!


Fix typo of mvfst in docs

For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Description: Fix documentation typo
Risk Level: None
Testing: N/A
Docs Changes: typo fix
Release Notes: N/A

You'll have to sign your commit for CI to pass. https://github.com/envoyproxy/envoy-mobile/blob/main/CONTRIBUTING.md#dco-sign-your-work

@jpsim DCO is fixed. can you take a look?


565 palette conversion is wrong

The green calc is off for the palette routine, it should be:
static uint16_t  make565(int red, int green, int blue)
{
    return (uint16_t)( ((red   << 8) & 0xf800) |
                       ((green << 3) & 0x07e0) |
                       ((blue  >> 3) & 0x001f) );
}

that is true, actually.  the original code of:
(green << 2) & 0x03e0)
only uses 5 bits green, more like a 555 format processing.  do you have chance to create a pull request for it?  for both bitmap-plasma and native-plasma? if not I will create one and you could review it.
good catch, thanks!

ok, created a pull
https://github.com/googlesamples/android-ndk/pull/205
may you have a look and LGTM, I will merge it in. It is a bug, thanks.

LGTM! Thanks


iframe tag isn't converted to editorState using draft-js 's basic convertFromHTML method

when I try to edit posts, some tags are not converted to editorState properly.
For example, iframe tag isn't converted to editorState using draft-js 's basic convertFromHTML method.

I am having the same issue. Have you found a solution yet?

am having the same issue. Have you found a solution?

Modify the code to add the judgment of the iframe tag。
1，
,
2，

3.

@nileshbhingaradiya @ev0lerup

Thanks, @antiantian
can you share this file name or if possible can send full file

@nileshbhingaradiya     https://www.npmjs.com/package/draftjs-to-html    draftjs-to-html
https://github.com/antiantian/react-draft-wysiwyg_project/blob/master/src/routes/cms/resourceGather/d_html.js


[New Plugin]: RopView - Gadget Analysis Framework

Plugin Description
RopView is a gadget analysis framework capable of granular per-instruction based analysis and complex logical queries. The creation of this plugin was initially inspired by a similar, widely-used, decade-old tool in IDA called IDA Sploiter. RopView uses the unicorn cpu emulation framework to do gadget analysis and allow for semantic-based queries. Gadgets are discovered directly in the binaryview, cached and analyzed into dataframes. All the usual options exist for the gadget search in addition to analysis prestates and semantic options. See the following blog post for technical details and explanations on what the tool does.
Plugin Repository URL
Repo URL: https://github.com/elbee-cyber/RopView
Real Release

[X] I have made a real release

Added! Nice work


refactor: remove Dispatcher and related methods

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style update
[x] Refactor
[ ] Documentation
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[x] Yes. Issue #290
[ ] No

The PR fulfills these requirements:

[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix: #xxx[,#xxx], where "xxx" is the issue number)
[x] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:
Blocked until a new version containing #289 is released.

Awesome! Can you just run cargo +nightly format, then this should be good to go.

@nothingismagick Running cargo +nightly fmt did not change anything, so I went ahead and fixed the clippy warning manually in the last added commit. However, the warning is not at all related to my changes. I think it is triggered by a new clippy version in the CI.


added fireworks 404 template

Created a new 404 template with fireworks in regards to issue #18  to create more 404 templates with tsparticles.

Looks good to me


⚠ Bofrost.at has degraded performance

In 50e824b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1097 ms

Resolved: Bofrost.at performance has improved in 9c48cc7.


Load mediapipe as external library for project

Hej,
I am trying to build a minimal project structure and import mediapipe via bazel in the WORKSPACE file. I am relying on the example from here: https://github.com/mgyong/mediapipe_addons
First I add this at the top of the WORKSPACE file:
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")

git_repository(
    name = "mediapipe",
    remote = "https://github.com/google/mediapipe.git",
    branch = "master",
 #   commit = "c6fea4c9d9f3bdf081c10387d2b42ed854199d06", #v0.63
)

Then, I also copied the WORKSPACE content from the mediapipe repository into my projects WORKSPACE file. I also replaced all @//third_party with @mediapipe//third_party to get the references right. When building a simple "Hello World" program I run into the following error, which I have no idea to debug.
ERROR: Traceback (most recent call last):
	File "/home/desktop/.cache/bazel/_bazel_desktop/4de5d7532b73802ef9a35ea260dd1929/external/org_tensorflow/third_party/py/python_configure.bzl", line 284, column 42, in <toplevel>
		remote_python_configure = repository_rule(
Error in repository_rule: in call to repository_rule(), parameter 'remotable' is experimental and thus unavailable with the current flags. It may be enabled by setting --experimental_repo_remote_exec
ERROR: error loading package '': in /home/desktop/.cache/bazel/_bazel_desktop/4de5d7532b73802ef9a35ea260dd1929/external/org_tensorflow/tensorflow/workspace.bzl: Extension file 'third_party/py/python_configure.bzl' has errors

here is a repository which you can use to reproduce the error:
https://github.com/Rassibassi/mediapipe_app
Thanks,
Rasmus

Adding @mgyong, As the above repo from your repository.

Jiuqiang - Any ideas on this build issue?

No, I have not clue. It seems similar to https://github.com/bazelbuild/bazel/issues/12799, which might be a tensorflow issue.

No, I have not clue as well ;( It seems similar to https://github.com/bazelbuild/bazel/issues/12799, which might be a tensorflow issue.

Hi @Rassibassi , Did you get a chance to go through the above comment? Thanks!

Hej, thanks for the response and help. Sorry for the delay on my side.
I updated the WORKSPACE file to the latest version of the original mediapipe main branch and re-edited everything as explained in my first post. Also, updated the repository --> https://github.com/Rassibassi/mediapipe_app
Now, when building with --experimental_repo_remote_exec, as suggested by @jiuqiant:
bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 --experimental_repo_remote_exec hello_world:hello_world

The following error pops up:
DEBUG: Rule 'mediapipe' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "ecb5b5f44ab23ea620ef97a479407c699e424aa7", shallow_since = "1617237222 -0400" and dropping ["branch"]
DEBUG: Repository mediapipe instantiated at:
  /data/projects/kadk/mediapipe_rt/WORKSPACE:5:15: in <toplevel>
Repository rule git_repository defined at:
  /home/desktop/.cache/bazel/_bazel_desktop/4de5d7532b73802ef9a35ea260dd1929/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in <toplevel>
DEBUG: /home/desktop/.cache/bazel/_bazel_desktop/4de5d7532b73802ef9a35ea260dd1929/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: /home/desktop/.cache/bazel/_bazel_desktop/4de5d7532b73802ef9a35ea260dd1929/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: /home/desktop/.cache/bazel/_bazel_desktop/4de5d7532b73802ef9a35ea260dd1929/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: /home/desktop/.cache/bazel/_bazel_desktop/4de5d7532b73802ef9a35ea260dd1929/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: /home/desktop/.cache/bazel/_bazel_desktop/4de5d7532b73802ef9a35ea260dd1929/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'rules_cc' because it already exists.
DEBUG: /home/desktop/.cache/bazel/_bazel_desktop/4de5d7532b73802ef9a35ea260dd1929/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: /home/desktop/.cache/bazel/_bazel_desktop/4de5d7532b73802ef9a35ea260dd1929/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: /home/desktop/.cache/bazel/_bazel_desktop/4de5d7532b73802ef9a35ea260dd1929/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: /home/desktop/.cache/bazel/_bazel_desktop/4de5d7532b73802ef9a35ea260dd1929/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'bazel_skylib' because it already exists.
DEBUG: /home/desktop/.cache/bazel/_bazel_desktop/4de5d7532b73802ef9a35ea260dd1929/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'pybind11' because it already exists.
INFO: Analyzed target //hello_world:hello_world (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: /home/desktop/.cache/bazel/_bazel_desktop/4de5d7532b73802ef9a35ea260dd1929/external/mediapipe/mediapipe/framework/BUILD:359:11: Compiling mediapipe/framework/calculator_node.cc failed: (Exit 1): gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 51 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 51 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from external/mediapipe/mediapipe/framework/graph_service_manager.h:8,
                 from external/mediapipe/mediapipe/framework/calculator_state.h:30,
                 from external/mediapipe/mediapipe/framework/calculator_context.h:23,
                 from external/mediapipe/mediapipe/framework/calculator_base.h:23,
                 from external/mediapipe/mediapipe/framework/calculator_node.h:33,
                 from external/mediapipe/mediapipe/framework/calculator_node.cc:15:
external/mediapipe/mediapipe/framework/packet.h: In function 'std::shared_ptr<const _Tp> mediapipe::SharedPtrWithPacket(mediapipe::Packet)':
external/mediapipe/mediapipe/framework/packet.h:344:13: warning: lambda capture initializers only available with '-std=c++14' or '-std=gnu++14'
  344 |       ptr, [packet = std::move(packet)](const T* ptr) mutable { packet = {}; });
      |             ^~~~~~
external/mediapipe/mediapipe/framework/calculator_node.cc: In function 'std::unique_ptr<mediapipe::internal::Collection<mediapipe::PacketType, mediapipe::internal::CollectionStorage::kStoreValue, mediapipe::PacketTypeSetErrorHandler> > mediapipe::{anonymous}::RemoveOmittedPacketTypes(const PacketTypeSet&, const std::map<std::__cxx11::basic_string<char>, mediapipe::Packet>&, const mediapipe::ValidatedGraphConfig*)':
external/mediapipe/mediapipe/framework/calculator_node.cc:107:22: error: 'make_unique' is not a member of 'std'
  107 |   auto result = std::make_unique<PacketTypeSet>(tag_map);
      |                      ^~~~~~~~~~~
external/mediapipe/mediapipe/framework/calculator_node.cc:107:22: note: 'std::make_unique' is only available from C++14 onwards
external/mediapipe/mediapipe/framework/calculator_node.cc:107:47: error: expected primary-expression before '>' token
  107 |   auto result = std::make_unique<PacketTypeSet>(tag_map);
      |                                               ^
external/mediapipe/mediapipe/framework/calculator_node.cc: At global scope:
external/mediapipe/mediapipe/framework/calculator_node.cc:54:19: warning: 'const mediapipe::PacketType* mediapipe::{anonymous}::GetPacketType(const PacketTypeSet&, const string&, int)' defined but not used [-Wunused-function]
   54 | const PacketType* GetPacketType(const PacketTypeSet& packet_type_set,
      |                   ^~~~~~~~~~~~~
Target //hello_world:hello_world failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 2.166s, Critical Path: 2.10s
INFO: 8 processes: 8 internal.
FAILED: Build did NOT complete successfully

The error is you don't have --cxxopt=-std=c++17 flag. Please copy https://github.com/google/mediapipe/blob/master/.bazelrc into your workspace. Basically, all the necessary flags for mediapipe are in .bazelrc file.

It builds! Thank you very much! I've also updated the repository :)

Glad you resolved. We are closing this issue. Thanks!


prometheus exporter: idle metrics not re-exported when becoming active again

Issue
During periods of inactivity, after the idle_timeout period, metrics are correctly no longer exported. However, if these same metrics become active again, they are not re-exported.
This is problematic for my use case since my server provides long-lived streams with periods of activity lasting 15 minutes and then long periods of inactivity (>90 minutes). Additionally, even without supporting long-lived streams, clients can connect anytime before data is available, which would trigger the same idle timeout -> not re-exported issue.
Example
Currently I'm constructing and installing a prometheus push gateway exporter (with VictoriaMetrics instead of Prometheus):
PrometheusBuilder::new()
    .with_push_gateway(addr, Duration::from_secs(1))
    .expect("invalid push gateway endpoint")
    .idle_timeout(
        MetricKindMask::COUNTER | MetricKindMask::HISTOGRAM | MetricKindMask::GAUGE,
        Some(Duration::from_secs(30 * 60)), // 30 minutes
    )
    .install()
    .expect("failed to install prometheus exporter");

Timeline

@ 0m

client connects to server
client is assigned a long-lived stream with stream_id=A
metrics for stream_id=A start being exported (all 0s)

@ 30m

idle timeout kicks in
metrics for stream_id=A no longer exported

@ 60m

data is available
client's long-lived stream with stream_id=A  starts receiving data
metrics not re-exported = no metrics for long-lived stream with stream_id=A  being exported

Crate Versions
I'm currently using the following (which are a tiny bit out of date if that matters):
metrics = "0.20.1"
metrics-exporter-prometheus = { version = "0.11.0", features = ["push-gateway"] }
metrics-util = "0.14.0"

I only register metrics and interact with the handle types. Let me do some testing and I'll let you know if I find anything interesting.

If you're using the handle types directly, then the linked issue is definitively the cause.

I just saw that https://github.com/metrics-rs/metrics/pull/394 was merged which would mean there's no work-around for this issue anyone.
Just to clarify from your last message, here is how we were using the handle types before.
let sm = StreamMetrics {
    messages_received: register_counter!("messages_received", "stream" => id);
};

sm.messages_received.increment(1);

The not re-exported issue occurs when using the handle types (register_counter!). The solution was therefore to use the emission macros instead (counter!).
As of #394, I believe that the current emission macro (counter!) is being removed. Instead it's being replaced with the macro which returns the handle type (register_counter! -> counter!).
I might be confused on the recent changes, so maybe best to wait until the next release that includes #394 and I'll try it out then and let you know.

I understand the confusion now.
Under the hood, a metric always has to be registered before it can be used, whether you're holding on to it long-term (such as keeping it as a field in a struct) or just immediately performing the operation (increment, etc) and then moving on.
When calling register_*!, you get back the return value from Recorder::register_counter, so in that case, the owned Counter handle type representing your counter. When calling counter!, we still register the counter... we just use the returned handle type as a temporary to perform the operation, and then it's dropped.
Now, circling back to my comment prior, the change in #394 just means that let counter = counter!(...) is the new way to do what you previously would have called let counter = register_counter!(...) to do. For emission, you call the operation method inline, so instead of counter!(..., 42), you would just do counter!(...).increment(42);.


Bugfix for ESR Handling

🗃 Github Issue Or Explanation for this PR. (What is it supposed to do and Why is needed)
Following changes:

Handle incoming ESR:// link
Scan QR code that's not a token transfer (any chain action)
handling non-transfer transactions in all cases
Scan QR code that is a token transfer
unifying transactions - there was some duplicate code between send and scanning QR codes
Show success dialog on generic transactions
Renaming some stuff.

✅ Checklist

[x] I have tested all my changes.

🕵♂ Notes for Code Reviewer
Tested the following cases

Scan QR Code on "receive" - transfer SEEDS transaction
Scan QR code on gratitude transaction
Handle incoming ESR link for transaction while app is running
Handle incoming ESR link when app is not running (cold start)

esr://gmN0S9_Eeqy57zv_9xn9eU3hL_bxCbUs-jptJqsXY3-Jtawgk9sHycTQh0qBNwwZgICRoSCIq3n-2VQGEW-tIitFI0ZGBghggtKKMIECk6CZXqWhpwXS8osUiktSc3ISixTK84uygYYwAAA
Some more minor fixes and improvements
🙈 Screenshots

UPDATED confirm dialog with fixed time

👯♀ Paired with

Could each of these changes have been on its own PR instead of all into one large pr?

@RaulUrtecho and @gguij004  this PR is changing a lot of files and touching very important areas of the code.
Can you guys review this PR and run it.

Addressed all issues - waiting for more reviews
Tested deep links also, works fine because the ESR handler does nothing on non-esr links

I agree with Gery, the PR is very big, it would be good to do it in parts to better understand how each one was resolved.

@n13  I am not understanding this PR. and i truly believe this can be split into smaller more manageable prs.
I will not approve this PR and the other guys in the team and not comfortable doing so either.
Lets try to split this into smaller PRs, i am here all day tomorrow to chat about it.

Hi Team, I agree 100% this pr can be split. However we can sometimes get carry away and start coding until flow is fix. I did test flow and it works just the code itsefl is hard to test due to the amount of changes. I also find something weird weird about the send animation, it now stop at the appBar, not sure if is related to this pr.

It was stopping at the app bar before too in this situation, that bug was already in there!!
So you can't have it both ways, don't fix anything or the PR gets too big, and complain about bugs that were already there.

Hi Team, I agree 100% this pr can be split. However we can sometimes get carry away and start coding until flow is fix. I did test flow and it works just the code itsefl is hard to test due to the amount of changes. I also find something weird weird about the send animation, it now stop at the appBar, not sure if is related to this pr.

It was stopping at the app bar before too in this situation, that bug was already in there!!
So you can't have it both ways, don't fix anything or the PR gets too big, and complain about bugs that were already there.

Not a bug, is up to the designer. My bad idk why I was thinking you had it different on another pr

Hi Team, I agree 100% this pr can be split. However we can sometimes get carry away and start coding until flow is fix. I did test flow and it works just the code itsefl is hard to test due to the amount of changes. I also find something weird weird about the send animation, it now stop at the appBar, not sure if is related to this pr.

It was stopping at the app bar before too in this situation, that bug was already in there!!
So you can't have it both ways, don't fix anything or the PR gets too big, and complain about bugs that were already there.

Not a bug, is up to the designer. My bad idk why I was thinking you had it different on another pr

I think it should go all the way to the top, for sure, but it's a minor issue and unrelated to this PR.

@n13 I am not understanding this PR. and i truly believe this can be split into smaller more manageable prs.
I will not approve this PR and the other guys in the team and not comfortable doing so either.
Lets try to split this into smaller PRs, i am here all day tomorrow to chat about it.

I think we unnecessarily delay things here without providing a better product, and leaving our users hanging with this bug.
I also disagree, I don't see a way to split it meaningfully in smaller PRs.
That is, yes, I can see about ... IDK 2 or 3 things that could be moved into their own PRs but the main chunk of code would still be pretty big, I don't think it will make it a lot smaller.
Certainly happy to try and move these things into their own PR
Just thinking that if we split it up like that, we also increase risks of adding new bugs and breaking things again that are already working in this PR.
Let's talk about it when you're online.

this PR was too big and messy, split up into 4 PRs and merged. Closing this.


new function to show Distributed Transaction Coordinator (MSDTC) State

I've been discovering some info about the DTC for some time.
Now I've put 3 of my old scripts together and created a function to show the state of the service, the security settings and the CID's all together in one object per computer.
I think this is very useful to those DBA's who have to tolerate MSDTC,
so I suggest this new function: Get-DbaMSDTC
There's also a way to alter some of those settings, so Set-DbaMSDTC may follow later.
There's also the possibility to show transactions that are held open by the DTC, but that needs to be separated because that's not collected per host, but per instance.

What version of OS would your code support?

So far, tests ran successful on Win Server 2008 R2 (6.1.7601 Enterprise & Standard), 2012 R2 (6.3.9600 Standard) and 2016 (10.0.14393 Datacenter)

Hey @PowerDBAKlaas, please put all new command requests on the trello board (dbatools.io/trello), I'll add this one along with yall comments.


Resolve contextual computed properties with non-bindable names

fixes https://github.com/microsoft/TypeScript/issues/51906
fixes https://github.com/microsoft/TypeScript/issues/52954

@typescript-bot run DT
@typescript-bot user test this
@typescript-bot perf test this
@typescript-bot test top100

I think we can merge this when the bot tests come back ok.