Diff code/wandb improvements

Small improvements to wandb setup.

define wandb run name and description
set the step in the validation videos so that they line up properly

Misc:

fix requirements.txt for missing deps (discovered at validation time)

You can see an example of how this works here. The results are garbage but you should see that the video indexes line up and there's a name for this run which is not automatically generated.


Have $q.fail to mimic kriskowal Q's fail

As title suggests,
currently $q has a catch method as Kriskowal's Q, but no fail method.
Any specific reasons for not including it ?

Yes, this is explained in "Differences between Kris Kowal's Q and $q" section of https://docs.angularjs.org/api/ng/service/$q:

Q has many more features than $q, but that comes at a cost of bytes. $q is tiny, but contains all the important functionality needed for common async tasks.

In short - we want to keep $q as small as possible.

Agree with @pkozlowski-opensource we are trying to keep $q as small as possible. Closing this issue


[branch] lazy-self-bounds

For https://github.com/phetsims/scenery/issues/408

Merged into master after testing.


Rebindable Keys

Allow rebinding keys in the config file.

I'll take a look at this today and see how hard it would be.

Here's an example of another Python project that handles this pretty well. https://github.com/bpython/bpython/blob/master/bpython/sample-config#L56

Hello !
I wan't to work on this enhancement.
Is there any work done about it ?

Hi rpesche! Thanks for offering to help, there has been no work done on this so far AFAIK.
I'm currently in the middle of refactoring a bunch of large components, including how the config is loaded and stored internally. The branch is here https://github.com/michael-lazar/rtv/blob/future_work/rtv/config.py. Because things will be changing within the next few weeks, I would recommend waiting until the next update before starting to implement anything new on top of the master branch.

Ok, I'm waiting for the merge of your branch !

Hey, FYI I just merged everything into master. I'll be doing a lot of testing over the next couple of days, but will only be pushing bugfixes. You're good to go now if you want to start working on this.

Ok ! I'm working on it.
I had made the branch rpesche/rtv to store my work

10 months and 3 failed attempts later, it's finally in! #195


how to accelerate the inference of lora-65B?

can we use Model parallelism or any method to accelerate this? I need help.

Model parallelism allow to split a large model onto several gpus that would not otherwise be large enough. It does not make it faster.
If your GPU is too small for inference, you can give 4 bits quantization a try.

hi@AngainorDev ,I came acocoss nearly the same question.If Model parallelism（tensor parllelism/pipeline parllelism ）compatible with lora . which will split the model parameters in 1/N


[Feature Request] Add configuration for Cloud Run CLI flags

Setting flags such as max instance and memory size from the configuration json.

Related: was discussed a bit here https://github.com/GoogleCloudPlatform/cloud-run-button/pull/89#issuecomment-541079900
I think overall we need some property bag objects in app.json to control various aspects. Ideally, not a flat list, as that can result in gigantic objects over time as we add more flags to gcloud. So maybe some categorization of such objects can help.

Mem & cpu options are now available via app.json See: #175

Would also be great to have the concurrency flag too if possible!

Many flags were added in #228; there needs to be some thought as to how to make these flags easier to add in the future; maybe directly passing through to gcloud run deploy?


how to draw Heatmap - Discrete Mapping of Color

how to draw picture like https://echarts.apache.org/examples/zh/editor.html?c=heatmap-large-piecewise

You'd have to add a new plugin or additional controls to an existing plugin. Closing this since it's not a bug, but we're open to GitHub Discussions or reviewing PRs :)


New Crowdin updates

Codecov Report

Merging #98 (87243c5) into master (06c4ed4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #98   +/-   ##
=======================================
  Coverage   26.37%   26.37%
=======================================
  Files          26       26
  Lines         872      872
  Branches      153      153
=======================================
  Hits          230      230
  Misses        642      642

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 06c4ed4...87243c5. Read the comment docs.


Crash report - runtime error: index out of range

Summary:
I ran git clone --mirror git://external-repository-url and then ran
hub remote add within the cloned repository, hoping that this would
add my GitHub repo as the remote. It did not.
Possibly noteworthy:

I actually don't have a GitHub repo of the exact same name; this
directory is blender.git and I wanted to update blender.
There is already a remote named origin.

The URL that I cloned was: git://git.blender.org/blender.git.
Autogenerated report:
Error (runtime.errorString): runtime error: index out of range
Stack:
goroutine 1 [running]:
panic(0x8ca4a0, 0xc82000e150)
	/home/travis/.gimme/versions/go1.6.3.linux.amd64/src/runtime/panic.go:443 +0x4e9
github.com/github/hub/git.WorkdirName(0x0, 0x0, 0x0, 0x0)
	/tmp/go/src/github.com/github/hub/git/git.go:70 +0xf7
github.com/github/hub/commands.transformRemoteArgs(0xc820098e60)
	/tmp/go/src/github.com/github/hub/commands/remote.go:66 +0x710
github.com/github/hub/commands.remote(0xbf2da0, 0xc820098e60)
	/tmp/go/src/github.com/github/hub/commands/remote.go:42 +0x89
github.com/github/hub/commands.(*Command).Call(0xbf2da0, 0xc820098e60, 0x0, 0x0)
	/tmp/go/src/github.com/github/hub/commands/commands.go:47 +0x188
github.com/github/hub/commands.(*Runner).Call(0xc820073450, 0xbf2da0, 0xc820098e60, 0x0, 0x0, 0x0, 0x0)
	/tmp/go/src/github.com/github/hub/commands/runner.go:108 +0x5e
github.com/github/hub/commands.(*Runner).Execute(0xc820073450, 0x0, 0x0, 0x0, 0x0)
	/tmp/go/src/github.com/github/hub/commands/runner.go:96 +0x1df
main.main()
	/home/travis/gopath/src/github.com/github/hub/main.go:14 +0x50

Runtime:
GOOS: linux
GOARCH: amd64

Version:
git version 2.14.2
hub version 2.2.9

Looks like this might have been fixed in 01c3099abe56a8dcca41e285c11c0f6f860cc338?

Yes, since --mirror implies --bare, this was covered by that fix. Thanks for reporting, though!


Add ObjectStoreScheme (#4047)

Which issue does this PR close?

Closes #4047
Rationale for this change

Inspired by the work in #4077 I started work on a generic ObjectStoreBuilder, however, this ran into a couple of challenges

Different stores have different configuration APIs, e.g. S3 has ClientOptions, whereas LocalFilesystem has a prefix
Some downstreams will want to use environment variables, and some will not
Some downstreams will want to filter config to just match those expected by the store, others will want to error
There are various valid ways LocalFileSystem and Memory URLs could be interpreted
The feature flag plumbing was extremely fiddly, the fact we separate the different stores is a historical artifact from when they brought in different SDKs, downstreams shouldn't need to do this

Whilst this PR does to a certain extent punt the issue onto downstreams, I think this standardises the non-trivial URL recognition logic, whilst allowing downstreams to make their own opinionated decision w.r.t the above.
What changes are included in this PR?

Are there any user-facing changes?

I will add a build_with_options method to this


director disk fills up

Opening this issue so we can discuss it later.
If people don't run bosh cleanup regularly, the director disk fills up.  Right now bbl doesn't let you change the disk size, and any manual changes you make will conflict with the BOSH state that bbl stores.  We could:
(a) make the disk size bigger
(b) document that people should be running cleanup regularly
(c) make the disk size configurable via a flag or command
(d) have a way to setup the IaaS but then just print out the director manifest and cloud config for users to edit and manage on their own, applying whatever post-processing they want
(e) several of the above
/cc @jtarchie @dsabeti

We have done (a) and will do (b).  We will likely not do (c) and will likely do (d).


[Performance] Do not use autolist.new when hitting  on empty line

Hello @gaoDean, me again 😄. Just notice that when I spam <CR> keys, the cursor is much slower than before. The cause is probably because of these lines, so I tried a simple patch:
if motion == nil then
  next_keypress = mapping
  vim.o.operatorfunc = "v:lua.require'autolist'.new"
  edit_mode = vim.api.nvim_get_mode().mode

  if fn.getline('.'):find('^%s*$') then
    return '<CR>'
  end

  return "<esc>g@la"
end

Before:
https://user-images.githubusercontent.com/47395035/210508868-de03c7d1-c44e-4bc4-8286-d7ba0af4064b.mp4
After:
https://user-images.githubusercontent.com/47395035/210508876-cd489ed5-ac27-4bdf-ae4f-7e1d08a0243c.mp4
I think it's great if you can consider an enhancement for this.
The patch above has an issue when one uses <CR> as the confirmation key for nvim-cmp, it will automatically select the first completion when hitting <CR>. It's not a problem for me because I don't use select on enter, but I believe you will have a much better solution 😊
Have a good day. Thanks!

alright, im gonna try one thing and see if that improves performance. on my computer i can't really tell, so try this pr.

Hmm, it's still quite sluggish I could say.

oh whoops i didn't actually make the change

okay try it now

Yes it's fast now @gaoDean, however, seems like I get the old issue with autopairs again. Is autopairs still good on your side 🤔?

Ah yes, that is a problem again.

oh im dumb, i didn't change the readme. Basically the capitalization must match the native vim capitalization of keymaps (<cr> should be <CR>)

@goingtosleep try it with the readme config in the main branch now

Worked now, thanks a lot @gaoDean!

It worked now. Thanks a lot @gaoDean 🎉

No problem!


Pinta will not start on Ubuntu 24.04 LTS

Installed Pinta with snap:
sudo snap install pinta

Tried to start pinta from command line and get the following errors:
Gtk-Message: 20:50:12.077: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb
xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb
Segmentation fault (core dumped)

Checked that /usr/share/X11/xkb was present and it was.
Check the installed version of Pinta and snap reported:
pinta                      2.1.2                35     latest/stable    james-carroll✪  -

I'm using a english language installation with a swedish keyboard layout.

Hi,
Could you try sudo snap revert gnome-46-2404 in your terminal and trying again? The issue doesn't appear to be with Pinta itself, but elsewhere in the Snap ecosystem, which I've reported in the link above.

I tried and got the following response:
~$ sudo snap revert gnome-46-2404
error: cannot revert "gnome-46-2404": no revision to revert to

snap list reported the following:
gnome-42-2204              0+git.510a601        176    latest/stable/…  canonical✓      -
gnome-46-2404              0+git.18eace2        39     latest/stable    canonical✓      -

Should I specify a revision?

It's a shame that didn't work as it would let you keep using the newer base distribution,
For an instant fix, assuming you have a previous copy of Pinta installed (from say last week), sudo snap revert pinta will cause it to use Gnome 42 over 46, which should sort you out.
Unfortunately you're actually on the same version of the runtime as I am, however I'm not experiencing an issue. As such there might not actually be anything to revert to, making this more curious.

I guess I have to be patient and wait for the problem to resolve in one way or the other.
Thank you for helping me out. Take care. :slightly_smiling_face:

Excellent! That solved the problem. :+1:
Many thanks.

I've reverted the Pinta snap on the store for the time being until the upstream issue is resolved. People should automatically start recovering from this, for Pinta.


Define public interface

We should have a pretty thorough public interface description before we start work

We should implement the INumber interface


Fixed printing bug, make the summary info printing more limpid

What this PR does / why we need it:

Fixed printing bug, make the summary info printing more limpid

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

Coverage remained the same at 28.708% when pulling d06fbfb05999d13295b1f915c37e3176e443a98a on xxwjj:devsds_print_bugs into 1e7944d17ab1eb8cf72305a5675c7cdd3a436d0e on opensds:development.


method recycle return change to boolean to tell what recycle is ok

Motivation:
Recycler can fail when they try to recycle object, and so it is necessary to inform the caller whether the recycle was successful
Modifications:

change Recycler#Handle#recycle return boolean
change ObjectPool#Handle#recycle return boolean
change ByteBufUtil#ThreadLocalUnsafeDirectByteBuf#deallocate deallocate quickly
add new unit tests and change recycle method return

Result:

You're breaking API by changing void to boolean. Revert it back, please.

the caller will ignored when return void change to boolean，so that not happen breaking

You're breaking API by changing void to boolean. Revert it back, please.

the caller will ignored when return void change to boolean，so that not happen breaking

If someone calls Recycler#recycle and the Jar isn't recompiled after updating netty, it will throw exceptions and break because Java is compiling the method calls differently if there is a return value.

If someone calls Recycler#recycle and the Jar isn't recompiled after updating netty, it will throw exceptions and break because Java is compiling the method calls differently if there is a return value.

As the others noted this is a breaking change and so not possible

As the others noted this is a breaking change and so not possible

As the others noted this is a breaking change and so not possible

so privide new method and deprecated old method ?

As the others noted this is a breaking change and so not possible

so privide new method and deprecated old method ?

Honestly I am not even sure why we need this change at all.

Honestly I am not even sure why we need this change at all.

Honestly I am not even sure why we need this change at all.

As the title states, the caller needs to know if the recycle was successful and the caller recycles the resource based on the return value

Honestly I am not even sure why we need this change at all.

As the title states, the caller needs to know if the recycle was successful and the caller recycles the resource based on the return value


ci: upgrade semantic-release to a stable version

This PR upgrades semantic-release to a stable version.

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


Visual Studio is extremally slow when editing .razor files in a Blazor project

Describe the bug:
It is almost impossible to work on Blazor projects.
Any project goes above 20-30 .razor files, and about 20-30 data models goes absurdly slow, and I am on 24 core Xeon, with 64 GB RAM, and PCIe SSD for both projects and VS.
There is multiple reports on this issue, but all of them are closed as fixed.
I am using Blazor since it was firstly introduced, and this issue was never, ever be even close to fixed.
The editor crashing now and then while typing, the colorization failing like there is an issue with the code, the editor performance degrading rapidly in large projects, and large .razor components, and at some point I have to wait about 30 seconds to complete a simple word.
Version used:
VS2019.x.x ( all ) up to current VS2022 17.0.4 ( all )
To reproduce:
Steps to reproduce the behavior:

Start Blazor project
Create about 20 blazor component pages
Create about 20 data models, and use them inside the created pages.
Make at least 1 big blazor component with a few tens of styles, a few hundred lines of code and a few hundred  lines of markup witch have attached to the code events and data sources.
Keep working. The error will appear for sure.

Expected behavior:
To never degrade the productivity.
Actual behavior:
It degrade awfully the productivity to the point of just leaving Blazor and going to other platform.
Additional context:
Please, if this is related to any tool like "hot reload" or alike - make an option to get rid of such tools in order to be able to at least continue work on Blazor projects.
An important note: After closing the project - the CPU and Memory usage remains unchanged and high, therefore it is some runaway process. The things goes fine only by restarting Visual Studio.

Here a screenshot :

Additional note / idea :
If it is hard to reproduce?!
maybe it would be good idea the threads which is involved into editors to be exposed in some maybe temporary tool window, to catch fast the guilty process for future checkups.

@YordanYanakiev could you try the latest VS preview build. There was one massive issue in 17.0.X that plagued many in regards to perf. I think you're running into that (fixed in preview release)

Hello @NTaylorMullen
Reporting that CPU wise it looks a bit better.
There is still some peaks, but so far it is better.
Anyway the syntactical colorization of the code keep failing now and then.
Possible way to preproduce it ( not all the time happening ) is when You edit the blazor XML tags setting up properties and events which is not yet declared in the code section, and then scroll down to the code section to declare them, if the Razor XML tags section is quite big one - the colorization is failing. Unfortunately this is not all the time repeatable. Just 2-3 times so far.

Possible way to preproduce it ( not all the time happening ) is when You edit the blazor XML tags setting up properties and events which is not yet declared in the code section, and then scroll down to the code section to declare them

Interesting, I definitely can't reproduce. Next time you encounter the colorization faltering could you do the Report a Problem in Visual Studio button in the top right corner and then use the step recorder to capture you hovering over a section that's uncolored?

Here a fresh screenshot:

Report sent.
But the bad news - the colorization is failing now even after restart of the IDE.
Closing / Opening the file with the issue doesn't help either. It's stays that way.

@YordanYanakiev ya that looks awful, could you try deleting your obj folder and see if things resolve (trying to figure out if there's something lingering in our serialized state)?
Mind linking the issue?

Just updated to the shiny new version 17.2.0.

No changes still.
Deleted the "obj" folder.
Still nothing changed.

And "Interesting" additional note.

If I open the project with the VS 2022 ( not preview ) the syntax highlighting is going ok, yes this does not affect VS 2022 Preview which stays bugged. So probably the highlighter cache does not hides within the project folder structure, but somewhere else, or I am misleading ?

Additional even more (at least for me) "interesting" note:

Creating a new .razor file, and copy / paste the content from the affected file to the new one - the new one get the same wrong syntax highlight as well.

Creating a new .razor file, and copy / paste the content from the affected file to the new one - the new one get the same wrong syntax highlight as well.

woa! This is probably a HUGE clue as to what's going on. It's possible that the syntax tree from the compiler is malformed. Would it be possible to share the project source, which file is at fault and repro steps? If not I'll continue to dig through your reported issue although it may take a while

The things gone even more weird.
I scrolled down to the end of the document ( without any changes ), and just were clicking there around, scrolled above and the syntax highlighting applied correctly all of the sudden.
PS. I would share it with pleasure, but I am not owner of the code - it's the company I am working for closed source project :|

I've decided to share anyway the code of the affected page.
After observation - it's nothing to hurt the company :)
I copy/paste it in Index.razor in a new project and it failed instantly.
I hope it is useful.
BlazorApp1.zip

Just wish to report that the high CPU usage is back on 17.2. Peaks going to 15% usage on 24 cores while editing some simple switch/case block:

@YordanYanakiev thank you for the project! I was able to reproduce and surprisingly it looks like we've fixed this in internal builds (17.2-Preview2 on left, 17.2-Preview1 on right):

@ryanbrandenburg & @allisonchou any changes jump out to you that could have been the root for this from a colorization perspective? Wondering what issue we should associate this with
Lastly, @YordanYanakiev with those CPU spikes could you use the VS step recorder to capture activity when things are feeling slow so we can look at traces to understand what's going on (max 10-20s)? That can be done on your VSTS issue. The last recording you did didn't include an ETL trace.

Sorry, I didn't clarify probably sufficiently that the spikes start to
rising slowly after some point.
Initially when I moved the project from VS 2022 to 2022 preview - it all
looked calm and OKish in the meaning of editing, but slowly with the time
the CPU start to spiking.
It does not goes right away on a new project. Something with the time
probably feel like, and during my recordings there were no such spikes back
then. They started recently.
will try to catch some.
On Tue, 22 Feb 2022 at 22:21, N. Taylor Mullen @.***>
wrote:

@YordanYanakiev https://github.com/YordanYanakiev thank you for the
project! I was able to reproduce and surprisingly it looks like we've fixed
this in internal builds (17.2-Preview2 on left, 17.2-Preview1 on right):
[image: image]
https://user-images.githubusercontent.com/2008729/155208558-7fa2f926-81fe-4b58-913e-b00a10438452.png
@ryanbrandenburg https://github.com/ryanbrandenburg & @allisonchou
https://github.com/allisonchou any changes jump out to you that could
have been the root for this from a colorization perspective? Wondering what
issue we should associate this with
Lastly, @YordanYanakiev https://github.com/YordanYanakiev with those
CPU spikes could you use the VS step recorder to capture activity when
things are feeling slow so we can look at traces to understand what's going
on (max 10-20s)? That can be done on your VSTS issue. The last recording
you did didn't include an ETL trace.
—
Reply to this email directly, view it on GitHub
https://github.com/dotnet/razor-tooling/issues/6084#issuecomment-1048179309,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABR3IN7R6LQVMWSYF7RX6J3U4PV45ANCNFSM5OLBYLKQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Yordan Yanakiev
design & software architectures

I'd like to join in:
https://developercommunity.visualstudio.com/t/Editing-Blazor-files-consumes-all-CPU-fo/1676170?entry=myfeedback
I have a couple of Blazor files open and edit in one of them (add an InputText with a binding to a local member). This results in VS 2022 17.2 Preview 1 to use all available CPU resources for minutes before finally calming down to idle.

@Tragetaschen would you mind doing the "Provide More Info" button on that issue and using the VS recorder to record yourself interacting with the editor for (10-20s max)? That should capture an ETL trace on your behalf to allow us to understand what's going on

I'm not sure which button to press. I had used the "Record your actions to reproduce the issue" function and I can see a couple of attachments from that. I can run that again, but there isn't a "Provide More Info" button on the page.

I'm not sure which button to press. I had used the "Record your actions to reproduce the issue" function and I can see a couple of attachments from that. I can run that again, but there isn't a "Provide More Info" button on the page.

Oh interesting, is that a new issue that you created? Those attachments are exactly what we're looking for 😄

@Tragetaschen would you mind linking the issue that was created? I'd love to take a look

I'm not sure how to see when everything is actually done after the recording. There's VS doing constant network traffic according to Task Manager, but a progress bar somewhere would be nice.
Anyway: In the above issue, there should now be two sets of files with recordings (fingers crossed):

One adding the InputText with the files open
One opening the set of razor files in a fresh instance of VS

For the latter, I stopped the recording pretty early. The syntax highlighting for the last file took about 2 minutes to appear. All "low priority background tasks" in VS took 7 minutes to complete while VS was using all available CPU resources.

@Tragetaschen I found your VS Feedback issue! Dug through your traces and you're running into this: https://github.com/dotnet/roslyn/issues/59818. Feel free to follow up there / share your concern

Closing this as duplicate


meshtastic

This project module is compatible with meshtastic?

@fab1an2 as far as I know, they don't support it yet. Please check it again from their webpage.

or https://reticulum.network/


Create msbuild.yml

Based on your recent history of PRs in the last few days, this appears to just be automated spam.

https://github.com/ScorpiusDraconis83
For example all these others that were rejected and on which you didn't write anything:

https://github.com/apple/swift-evolution/pull/2263
https://github.com/apple/swift-syntax/pull/2416
https://github.com/microsoft/onnxruntime/pull/19050

I'm closing and locking this.


wip: Fix white spaces in Text

Blocked by https://github.com/prezly/content-renderer-react-js/pull/20
we need to check that visually nothing changed

Alternative suggestion: #23


Add docs in specs for types

What
Add docs in specs for types, but not their fields or variants.
Why
To further expand and fill out what we store docs for in specs.

Todo:

[ ] Tests.


Breakpoints are not working

I'm new to Python Flask development and VS Code. I've been trying to create an app by referring the below tutorials.
https://code.visualstudio.com/docs/python/tutorial-flask
https://github.com/Microsoft/python-sample-vscode-flask-tutorial\
https://code.visualstudio.com/docs/python/debugging
Repo for reference: https://github.com/iamshivprasad/analytics
Cloned folder structure is:

Development

.vscode

launch.json

analyticspyengine

analytics_modules
controllers
datainterfaces
utils
init.py
analyticsservices.py
webapp.py
.
.
.

I am able to launch the program successfully with below settings in launch.json.
 {
    "name": "Python: Flask",
    "type": "python",
    "request": "launch",
    "module": "flask",
    "env": {
        "FLASK_APP": "analyticspyengine.webapp",
        "FLASK_DEBUG": true,
        "FLASK_ENV": "development"
    },
    "args": [
        "run"
    ],
    "jinja": true
}

Content of webapp.py
#!/usr/bin/python3
import sys
from . import app
from . import analyticsservices

Content of analyticspyengine/init.py
#!/usr/bin/python3
import sys, os
sys.path.insert(0, os.path.join(os.path.dirname(__file__)))

from flask import Flask
app = Flask(__name__)

I'm facing the following problems. Completely helpless and frustrated!!!

Execution is not hitting any breakpoints

After launching the app with the above settings, I'm not able to stop the service. i.e, Even after stopping the debugger, the app seems to be running. I can see the requests are being served through terminal output and Postman. The process seems to be alive until VS Code is closed.

Is it an issue? Could someone shed some light?

Hi @iamshivprasad--because your issue has to do with behavior of VS Code and the Python extension, and not this specific sample, please follow up on https://github.com/Microsoft/vscode-python/issues where the engineering team can investigate. There have been a few issues recently with Python debugging, and they may already have insight into this particular problem.

@kraigb  Thank you.


Add PopupDialog to site for tree-test

Adding the PopupDialog component containing a link to @Elltie's tree-test.

could this be in the CMS?

Yeah, I was thinking that. Probably should be I would say.
Having to pass the font-sizes into the children also doesn't feel that great to me either. I wonder if it's worth making it stricter, to take in a heading and a body prop?

I wonder if it's worth making it stricter, to take in a heading and a body prop?

Yip - sounds like that's the model.


How to hide days not in current month?

Hi Wenchao,
Is there a way to:

Hide days not in their current month?
Hide the the separator between month header and weekday header?
I uploaded a image below to illustrate this:

Thanks for creating this awesome library! It's very easy to use and highly customizable.

Hi @jsnthan
It's not been supported yet. Will add it in future version.

@WenchaoIOS Thanks!

Finished.Thanks

Thanks! Great work!

@jsnthan so how can you perform it in code?

@Gurbo : Just add this code calendar.placeholderType = FSCalendarPlaceholderTypeNone;. It should worked.

So, how to hide separator without hacks? :)

Yes @duyphan1206 is correct.
You can hide the days not in current month like this in Swift 3:
calendar.placeholderType = .none

Hi, how to decrease the number of rows in any month, I need 5. I am developing for Xamarin, hence got the package from nuget.

I want to decrease the number of rows to 5. Help me with it.

I could not find the option :/

Just curious to know how did you handle it, since you asked it 5 months back?

Honestly, I didn't. I think its handled internally as in case of the following example, it would need 6 rows to show the whole month.

Thanks for your opinion. In my case, It didn't. Partial available is fine. But it's completely disgusting if full row visible which is complete next month. Am just thinking how to solve this.

showing mon at the place of sat in my weeks view

Hi, how to decrease the number of rows in any month, I need 5. I am developing for Xamarin, hence got the package from nuget.

Have you found any solution for this?

How to decrease the number of rows of month as  i need 5 rows of every month for iOS

Can we hide the placeholder dates if my calendar scope type is set to .none ?

@Hardiktspaceo yes you can.
calendar.placeholderType = .none

Hi WenchaoD,
This above solution working fine calendar scope is .month, but in my case
i use* .week by default* at that time this calendar.placeholderType =
.none is not working.
On Tue, Apr 30, 2019 at 11:57 AM Jayraj914<EMAIL_ADDRESS>wrote:

@Hardiktspaceo https://github.com/Hardiktspaceo yes you can.
calendar.placeholderType = .none
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/WenchaoD/FSCalendar/issues/168#issuecomment-487833660,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGATXY4PYFPUPHUOWFVLIR3PS7RFTANCNFSM4BXEFH7A
.

@Hardiktspaceo Have you got any solution for your query
"Can we hide the placeholder dates if my calendar scope type is .week and set placeholderType set to .none ?"

No we can't.
On Thu, Aug 8, 2019 at 12:10 PM Sahil<EMAIL_ADDRESS>wrote:

@Hardiktspaceo https://github.com/Hardiktspaceo Have you got any
solution for your query
"Can we hide the placeholder dates if my calendar scope type is .week and
set placeholderType set to .none ?"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/WenchaoD/FSCalendar/issues/168?email_source=notifications&email_token=AGATXY5UKHQF5TC4E5TVMRTQDO5W5A5CNFSM4BXEFH7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD32TZJQ#issuecomment-519388326,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGATXY4SN346GZGXE3NPOTDQDO5W5ANCNFSM4BXEFH7A
.


Fix editor fragment not loading

What this PR does / why we need it:
Merge syna-editor.js and syna-react.js. Doesn't cost much if editor fragment is not used but fixes the editor fragment not showing up quite easily.
Which issue this PR fixes:
fixes #390
Special notes for your reviewer:
Release note:
- editor: Fix fragment not showing up occasionally

Doesn't that mean this issue would show up on other react usages too? We can't all merge into the react fragment.

PR #424 (js partial) adds the ability to specify which file would be loaded async and which loads synchronously. With that merged we can fix the issue globally without the need for merging files. This PR just fixes the issue for editor fragment, which is a built in fragment, not much overhead, predictable, which would make kinda sense to merge into the other bundle. Also reduces the amount of files we download separately in the page. We can later on bundle all the files together, with the js registry fully working.

Ok happy to merge as a fix for now and reevaluate later with the js registry fully working.
Yeah another merge \o/


.spec file fix

Small fix for the .spec file issued by @schaefi

@wintron04 perfect :+1: thanks.
I added you to the project as collaborator with write permissions. So next time you don't need to fork the repo but can push branches. Thanks


Refreshing Entries page gives sessionStorage error

Describe the bug
when you refresh the entries page after logging in, you'll get this error:
ReferenceError: sessionStorage is not defined
To Reproduce
Also, when refreshing the journal page, it takes you back to the login screen.
OS
No response
Node version
No response

Simple fix: moved const email = sessionStorage.getItem("email"); to inside the useEffect() hook.


Accepting completion sometimes overwrites text that comes after it

Type: Bug
I am not sure about the reproduction steps, but sometimes when you accept an auto-completion for JS in template, Volar (?) overwrites everything that comes next in the line.
It goes like this:

You write some code and request suggestions with Ctrl+Space (| represents cursor here)
<template>
  <div
     v-text="$t('hello|')"
   />
</template>

In the list of completions you choose an suggestion (e.g. hello-world.text in this case) and accept it.
This is what you get:
<template>
  <div
     v-text="$t('hello-world.text|
   />
</template>

(closing quotation mark for string, parenthesis for function, and double quotation mark for attribute, are all overwritten).
This is what you would have expected:
<template>
  <div
     v-text="$t('hello-world.text|')"
   />
</template>

(only text got completed)
It also works for template expressions: {{ $t('hello|') }} may auto-complete into {{ $t('hello-world.text|' }} or {{ $t('hello-world.text|.

Extension version: 1.0.9
VS Code version: Code 1.73.1<PHONE_NUMBER>f055b99068d3688932416f2346dd3b, 2022-11-09T04:27:29.066Z)
OS version: Windows_NT x64 10.0.19043
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4440 CPU @ 3.10GHz (4 x 3093)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
11.95GB (3.17GB free)

Process Argv
. --crash-reporter-id 00f2bb44-44e6-48df-99e8-c8d250a1afbb

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes516:30244333
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
vscccc:30610679
pyindex848cf:30577861
nodejswelcome1cf:30587006
fc301958:30595537
3biah626:30602489
gswce1:30612156
3d0df643:30613357
dbltrim-noruby:30604474
f6dab269:30613381

Enabled extensions

Extension
Author (truncated)
Version

gitlens
eam
13.1.0

EditorConfig
Edi
0.16.4

prettier-vscode
esb
9.9.0

vscode-firefox-debug
fir
2.9.8

codespaces
Git
1.13.1

todo-tree
Gru
0.0.220

vscode-icon-theme
jtl
1.6.6

vscord
Leo
5.0.10

fluent-icons
mig
0.0.18

vscode-language-pack-de
MS-
1.73.11090923

vscode-jupyter-cell-tags
ms-
0.1.6

vscode-jupyter-slideshow
ms-
0.1.5

remote-ssh
ms-
0.92.0

remote-ssh-edit
ms-
0.84.0

remote-explorer
ms-
0.0.2

rewrap
stk
1.16.3

even-better-toml
tam
0.19.0

errorlens
use
3.6.0

intellicode-api-usage-examples
Vis
0.2.6

volar
Vue
1.0.9

vscode-wakatime
Wak
22.0.0

material-theme
zhu
3.15.6

I try with following code but can't reproduce, if you can provide minimal reprouction it will be helpful.
<template>
  {{ $t('hello') }}
</template>

<script lang="ts" setup>
function $t(key: 'hello-world.text') { }
</script>

Unfortunately I cannot provide minimal reproduction, but this happens a lot while I'm working on i18n-restart branch of my Brawaru/knossos repo. It's by no means minimal, but if you want to try it out:

Clone the repo:
git clone -b feat/i18n-restart https://github.com/Brawaru/knossos.git modrinth-knossos
cd modrinth-knossos
Install all npm packages:
npm i
Generate (giant) type declaration file for locale file:
npm run i18n:watch (or npm run i18n:types to run without watcher)
Go to any .vue file and try $t('') there.

I noticed it occurs much more frequently after you change the localisation file (i18n/en-US/index.toml) and typings re-generate in background, but it does not only happen after that — it's very random. Maybe it has something to do with CPU load, I'm not sure, but there are no noticeable freezes in VS Code when such bad auto-completion happens.

I tried that repo before but couldn't reproduce, do you still find this problem with recent versions?

Haven't worked with Vue recently, so cannot tell. But I did experience similar thing with TypeScript autocompletion (mostly when autocompleting generics) so I guess it's a VS Code or TypeScript bug. It's incredibly inconsistent and I still haven't managed to find a clear reproduction, so I'll just close this (wanted do that quite a while ago, but forgot). Sorry for taking up your time.


refactor(bridge-ui-v2): Create a function to check a condition.

There are some overly long combined conditions, I think we should put them into an array for processing. This helps make the code cleaner.

@KorbinianK are we gonna merge this PR?

Stale. Let's close it. I add the suggested changes to another PR.


Problem with Telegram channel

Rasa version:
Rasa 1.10.0
Rasa SDK version (if used & relevant):
rasa-sdk:1.10.0
Rasa X version (if used & relevant):
Python version:
Python 3.7.7
Operating system (windows, osx, ...):
Linux
Issue:
I am getting multiple errors like below, and I notice unstable behaviour in the telegram client. Most of the times I get responses, but other times I get no responses, or mixed responses from previous questions.
Error (including full traceback):
Exception occurred while handling uri: 'http://localhost:5005/webhooks/telegram/webhook'
Traceback (most recent call last):
  File "/opt/venv/lib/python3.7/site-packages/sanic/app.py", line 976, in handle_request
    response = await response
  File "/opt/venv/lib/python3.7/site-packages/rasa/core/channels/telegram.py", line 215, in message
    if self._is_user_message(msg):
  File "/opt/venv/lib/python3.7/site-packages/rasa/core/channels/telegram.py", line 175, in _is_user_message
    return message.text is not None
AttributeError: 'NoneType' object has no attribute 'text'
Exception occurred while handling uri: 'http://localhost:5005/webhooks/telegram/webhook'
Traceback (most recent call last):
  File "/opt/venv/lib/python3.7/site-packages/sanic/app.py", line 976, in handle_request
    response = await response
  File "/opt/venv/lib/python3.7/site-packages/rasa/core/channels/telegram.py", line 215, in message
    if self._is_user_message(msg):
  File "/opt/venv/lib/python3.7/site-packages/rasa/core/channels/telegram.py", line 175, in _is_user_message
    return message.text is not None
AttributeError: 'NoneType' object has no attribute 'text'

Command or request that led to error:

Content of configuration file (config.yml) (if relevant):

Content of domain file (domain.yml) (if relevant):

Thanks for the issue, @dakshvar22 will get back to you about it soon!
You may find help in the docs and the forum, too 🤗

I have upgraded t rasa 1.10.1 and now telegram channel does not work at all :-(

same

In my case bot is answering to message only if it starts witgh "/start" in groups


Cannot read property '2' of undefined

I am getting this error. Some idea?

I have the same problem...

that happens because the tx.event doesn't have an args object with the public RPC json response, for me worked using infura mumbai endpoint and changing index.js endpoint to my infura's project endpoint

Same problem here. I got a mumbai network endpoint from alchemy, but still get this error, using:
    mumbai: {
      url: "https://polygon-mumbai.g.alchemy.com/v2/_myendpoinkey",
      accounts: [privateKey]
    },

Any ideas how to fix it?

Here is the event response for me:
{
    "transactionIndex": 3,
    "blockNumber": 23614582,
    "transactionHash": "0x13ca8c4f671446379bfcf72f0952b21b2b3d90e7133eae8b5579930f2d9949de",
    "address": "0x0000000000000000000000000000000000001010",
    "topics": [
        "0x4dfe1bbbcf077ddc3e01291eea2d5c70c2b422b415d95645b9adcfd678cb1d63",
        "0x0000000000000000000000000000000000000000000000000000000000001010",
        "0x0000000000000000000000004db8d681bbfce98c09edc2be013ae5c9008810b8",
        "0x000000000000000000000000c26880a0af2ea0c7e8130e6ec47af756465452e8"
    ],
    "data": "0x0000000000000000000000000000000000000000000000000000292365481d400000000000000000000000000000000000000000000000000dd066d2fba5ec00000000000000000000000000000000000000000000000446ad73541ed1461d9f0000000000000000000000000000000000000000000000000dd03daf965dcec0000000000000000000000000000000000000000000000446ad737d42368e3adf",
    "logIndex": 10,
    "blockHash": "0xe30e3abd46053ba63c792deb28878b22981bd5b5d0e53b8d6367a48d0a7a8fdf"
}

It seems we need to retrieve the tokenId initially passed by the front-end user in order to list it on the marketplace:
 transaction = await contract.createMarketItem(nftaddress, tokenId, price, { value: listingPrice })
As indicated by @CycloneOrg the arguments provided to the transaction are not returned in the event object

Any updates on a solution here?

I'm facing the same problem.
I've found this:

In order to obtain the return-value of a non-constant function when you call it from the off-chain, you can emit an event which contains the value which you are about to return.

from: https://ethereum.stackexchange.com/questions/88119/i-see-no-way-to-obtain-the-return-value-of-a-non-view-function-ethers-js/88122
As far as I understood, we can't read Solidity functions return values like this.
The function createToken on the NFT contract should emit an event if we're looking to have the created token id on the transaction receipt through ethers.js.
So I coded this on my contract (I just have a different name for the function, everything else is the same):

However this is still not working for me either, event.args is still undefined on the Mumbai testnet, but when I run a hardhat local node it works...
I've created a question on StackOverflow for this specific issue, if anyone would be able to help I appreciate: https://stackoverflow.com/questions/70733361/why-contract-event-data-is-undefined-on-a-testnet-but-not-in-a-local-node

This is the right method to fix the problem.
https://github.com/dabit3/polygon-ethereum-nextjs-marketplace/issues/30

UPDATE, figured out that you need to do the following if you are getting this error.
Restart your hardhat node, Redeploy your contracts (1:38:13 in the Youtube video), update your config.js with new contract addresses. In your Metamask on the connected account, go to settings>advanced>reset account to get the nonce back to 0.

Facing same issue.
above change and this repo deploy.js both are returning same addresses of nftaddress and nftmarketaddress.
no difference by applying above change.


README: Explicit the main requirements

When people discover the project, it's cool to give a quick overview of what are the dependencies to make this project being used.

I asked myself the same question.
Maybe linking is better
Le jeu. 23 mai 2024 à 16:44, Anisse Astier @.***> a
écrit :

@.**** commented on this pull request.
In README.md
https://github.com/criteo/hwbench/pull/14#discussion_r1611832192:

@@ -55,3 +55,18 @@ If a single output file is provided, hwgraph plots for each benchmark :
If multiple output files are passed as arguments, and only if they were generated with the same script file, hwgraph will compare for each benchmark the performance metrics.

For more details, see the specific documentation.
+
+# Requirements
+## Mandatory
+- python >= 3.9
Don't we want to document the runtime python dependencies? Or maybe link
to requirements/base.in ?
—
Reply to this email directly, view it on GitHub
https://github.com/criteo/hwbench/pull/14#pullrequestreview-2074199604,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCUIHP5RR2MX5VUQ7Z4QADZDX6FVAVCNFSM6AAAAABIFWB5N2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDANZUGE4TSNRQGQ
.
You are receiving this because you were assigned.Message ID:
@.***>


Can't not install cargo php under winrdows

Hello,
In Windows, while installing cargo-php, I encountered the following error
cargo install cargo-php
    Updating `ustc` index
  Installing cargo-php v0.1.9
    Updating `ustc` index
   Compiling ext-php-rs v0.11.2
error: failed to run custom build command for `ext-php-rs v0.11.2`
Caused by:
  process didn't exit successfully:
  ...
  ...
  ...
  --- stderr
  Error: Failed to download development pack

  Caused by:
      https://windows.php.net/downloads/releases/archives/php-devel-pack-7.4.33-nts-Win32-vs16-x64.zip: status code 404
error: failed to compile `cargo-php v0.1.9`, intermediate artifacts can be found at `C:\Users\xxx\.cargo\temp`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

This URL php-devel-pack-7.4.33-nts-Win32-vs16-x64.zip indeed does not exist, only php-devel-pack-7.4.32-nts-Win32-vs15-x64.zip is available.
Could you please advise on how to specify the version of the package to be installed?
Thank you.

Sorry for that
PHP 8.0 or later.
No support is planned for earlier versions of PHP.


Better feedback for whether creating/editing an entry succeeds or fails

If editing/creating an entry fails, the information should still persist and be fixable, not completely wiped out like happens currently

^ Check these too

Implemented.


[ImgBot] Optimize images

Beep boop.
Your image file size has been reduced by 27% 🎉

Details

File
Before
After
Percent reduction

/examples/draft-0-10-0/media/media.png
166.15kb
121.04kb
27.15%

/examples/draft-0-10-0/convertFromHTML/image.png
166.15kb
121.04kb
27.15%

/website/static/img/editorstate-race-condition-2-handlers.png
50.93kb
38.66kb
24.09%

/website/static/img/editorstate-race-condition-1-handler.png
24.89kb
19.00kb
23.65%

/website/static/img/draftjs-logo.svg
0.84kb
0.83kb
0.81%

Total :
408.96kb
300.57kb
26.50%

Black Lives Matter | 💰 donate | 🎓 learn | ✍🏾 sign
📝 docs | :octocat: repo | 🙋🏾 issues | 🏅 swag | 🏪 marketplace

If you want, you can install https://imgbot.net in this repo (or in the full organization).
It will automatically send PRs for image optimization 🙂


deploy.ps1 is not digital signed

Hi team,
I'm moving this from here: https://github.com/MicrosoftDocs/azure-docs.zh-cn/issues/507
The contributor is making a suggestion on the original documentation
@jznling commented 1 hour ago
In " Deploy industrial IoT services to Azure " part, there is an error that showed "deploy.ps1 is not digitally signed". The problem can be solved by command "Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass". Please add to the potential error check part.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7e60f086-ecba-acb3-c536-e101359a44bb
Version Independent ID: 9ee3715b-2dae-9382-e484-04e8bb012818
Content: How to deploy an OPC Twin module to an existing Azure project
Content Source: articles/iot-accelerators/howto-opc-twin-deploy-existing.md
Service: iot-industrialiot
GitHub Login: @dominicbetts
Microsoft Alias: dobett

@jznling Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

Hi @jznling - thanks for pointing this out, I've made some changes to the article to address this issue. The changes should be published shortly.
#please-close


Combo Box focus bug.

There is a toolbar with a combo box(with input enabled) in my app sample. When I click the blank area of the toolbar, the combo box will be unfocused. This is what we want.
Given that I have an ink stroke area below the toolbar, when I try to draw something, the combo box will remain the focus state. Is there any way to trigger the unfocus event of a combo box?

This does not appear to be a question about a sample in this repo. You can follow the instructions on Windows developer support for support options. (Click "Microsoft Q&A".)

Not helping at all, but thanks.


Fix All Compile Warnings

Code Review

Update derive(Show) to the new recommended derive(Debug).
Use #![feature()] tags for path, io, libc, and others, as necessary.

A clean rebuild no longer has any warnings.

+1000
Thank you so much for this!

Brilliant, cheers!


Fix cov

cov(N::Normal) returns the internal Matrix representation of the covariance if it is indeed a matrix. Otherwise it calls Matrix on the internal Matrix representation (i.e. if it is a Factorization)
cov(K::NormalKernel) returns a callable conditional covariance matrix always.
covp(N::Normal), covp(K::NormalKernel) to access internal matrix parameter.

Codecov Report
Base: 65.77% // Head: 65.63% // Decreases project coverage by -0.13% :warning:

Coverage data is based on head (d993e79) compared to base (5f225a4).
Patch coverage: 52.94% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
- Coverage   65.77%   65.63%   -0.14%
==========================================
  Files          12       10       -2
  Lines         225      227       +2
==========================================
+ Hits          148      149       +1
- Misses         77       78       +1

Impacted Files
Coverage Δ

src/distributions/normal_plotting.jl
0.00% <ø> (ø)

src/distributions/normal.jl
78.57% <52.63%> (-21.43%)
:arrow_down:

src/kernels/normalkernel.jl
58.62% <53.33%> (-23.20%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Include a way to ignore SCRIPT_DEBUG

Resolves the problem where someone has SCRIPT_DEBUG turned on and we do not include the non minified file, which is the case for The Events Calendar and Event Tickets since we do not want to bloat the ZIP size for customers.

Closing this PR, as the actual problem was due to another issue, related to minified paths not the actual minified files.


Development service/taskdef

Dev service, task def, vpc flow logs + a Cloudwatch log-group added.

Closing this out as the desired state is to  keep the dev and production clusters separate.

Closing this out as the desired state is to  keep the dev and production clusters separate.


Support vertical text layout

User request for vertical text layout, example given of Chinese text laid out vertically for vertical lines (would they switch back to horizontal when the line rotated as well?).
See https://github.com/tangrams/tangram-es/pull/506#issuecomment-187082328:

It would be nice to have a feature called 'Vertical text', which is a very common in CJK displays.
This is used to show the label of vertical line.
It looks like ('Vertical text' in Chinese '竖排文字')
|竖
|排
|文
|字

@bcamper
would they switch back to horizontal when the line rotated as well?

Yes, it is.
This kind of vertical text is just showed at certain angle range(like ±30° around Vertical line of screen), while out of that range, text is showed the same way as English does.

Closing this issue. I don't think this feature adds enough value to justify the added complexity in the text layout system.


QLC Webinterface/Websockets does not reset the selected Universe

Describe the bug
When trying to reset the simple desk set values back to 'normal' operation, the webinterface will reset whatever universe is selected in the gui and not what is selected in the webinterface
I believe its because the sdResetUniverse function in the websockets api does not take a universe input and reset that specific universe. If you had taken 1 arg on sdResetUniverse, you could then reset the selected universe in the webinterface
I believe the specific culprit can be found in this file on line 743;
https://github.com/mcallegari/qlcplus/blob/351ee83b9a3df810d41fd155728d10ae39d5aa6d/webaccess/src/webaccess.cpp#L743

else if (apiCmd == "sdResetUniverse")
        {
            if (m_auth && user && user->level < SIMPLE_DESK_AND_VC_LEVEL)
                return;

            m_sd->resetUniverse();

To Reproduce
Steps to reproduce the behavior:

Go to webinterface
Set some sliders to various levels in some of the universes
Try to reset the specific universe you have select - Note that the only universe which will be reset is the one selected in the Qt GUI application

Expected behavior
The selected universe in the webinterface was reset
Screenshots
N/A
Desktop (please complete the following information):

OS: Ubuntu 24.04
QLC+ Version: 4.13.1
Currently only debugging locally, the issue is not specific to hardware

Additional context
We are controlling some lights externally from a script, the reason for needing this method to function is to be able to reset the simple desk sliders so that we can use functions pre-setup in QLC (which we are also calling from the api)

Without knowing too much about c++ or programming in general, what im suggesting is to do something along the lines of the singlechannel reset function observed here; https://github.com/mcallegari/qlcplus/blob/a76affda86cdae84d7886903c8954502e32615c1/webaccess/src/webaccess.cpp#L732
if (cmdList.count() < 3)
    return;

quint32 uniNum = cmdList[2].toUInt() - 1;
m_sd->resetUniverse(uniNum);

Fixed, thanks for reporting :+1:


You cannot disable MFA for highly privileged roles for Azure AD and Office365.

"You cannot disable MFA for highly privileged roles for Azure AD and Office365. "  - Why is this the case?   If we choose to use AAD authentication federation and handle our MFA through a third party, why are we being forced to use AAD MFA inside of PIM as a secondary MFA?   We should have the choice of using MFA or not here.  It makes no sense for you to take this choice away from us.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 791cb6b6-4733-1c1d-75c5-9318049163af
Version Independent ID: 4752b0bc-ab61-69e3-972f-80d6be2baa55
Content: Configure Azure AD directory role settings in PIM
Content Source: articles/active-directory/privileged-identity-management/pim-how-to-change-default-settings.md
Service: active-directory
GitHub Login: @rolyon
Microsoft Alias: rolyon

@joeljanke Thank you for your feedback . We will investigate and update further.

This is a safety feature because these roles should be carefully protected.
If you would like this to change, you can make a feature request in User Voice and the product team will get back to you. https://feedback.azure.com/forums/169401-azure-active-directory
I will also bring your request to my product team contacts and update this thread if anything changes.

I am disappointed about this as well. Making this decision for customers is not the best path forward. This also is in direct conflict with the fact you can add a permanent assignment without this requirement. Overall this decision makes no sense to me. Let customers choose how they can implement security best practices.
https://feedback.azure.com/forums/169401-azure-active-directory/suggestions/35981299-require-mfa-for-permanent-highly-privileged-roles


Using outputPath may produce 2 identical files

Consider this instruction set:
yamlFiles:
  #
  # dex
  #
  - name: "adjust common file path location"
    path: "../vendor/dex/01-common.yaml"
    outputPath: "dex/unused/dex-common.yaml"

  - name: "ensure dex resources have the appropriate markers"
    path: "../vendor/dex/"
    overlays:
      - name: "inject dex resource name marker"
        value: dex #+workload:dexResourceName:default="dex":type=string
        query:
          - metadata.name
          - metadata.labels['app.kubernetes.io/name']
          - spec.template.metadata.labels['app.kubernetes.io/name']
          - spec.selector.matchLabels['app.kubernetes.io/name']
          - spec.selector['app.kubernetes.io/name']
          - roleRef.name
          - subjects[*].name
          - ..*.serviceAccountName
          - ..*.containers[*].name
          - ..*.configMap.name
          - ..*.ports[*].name

When the files are written, there is overlap between the directory path and the file path between the 2 separate yamlFile declarations.  The above will produce the following with the same content:

the original file (01-common.yaml)
the new output file (dex/unused/dex-common.yaml)

Here is a sample (more files included) to show what was produced:
static/components/core/identity/manifests/
├── dex
│   ├── 01-common.yaml
│   ├── 02-certs-selfsigned.yaml
│   ├── 03-cm.yaml
│   ├── 04-rbac.yaml
│   ├── 05-0-secret.yaml
│   ├── 05-deployment.yaml
│   ├── 06-service.yaml
│   ├── dex-deployment.yaml
│   ├── dex-rbac.yaml
│   ├── dex-service.yaml
│   └── unused
│       ├── dex-certs.yaml
│       └── dex-common.yaml
├── gangway
│   ├── 01-common.yaml
│   ├── 02-certs-selfsigned.yaml
│   ├── 02-gangway-service.yaml
│   ├── 03-config.yaml
│   ├── 03-dex-ca-config.yaml
│   ├── 03-secret.yaml
│   ├── 05-deployment.yaml
│   ├── dex-ca-config-map.yaml
│   ├── gangway-config-map.yaml
│   ├── gangway-deployment.yaml
│   ├── gangway-secret.yaml
│   ├── gangway-service.yaml
│   └── unused
│       ├── gangway-certs.yaml
│       └── gangway-common.yaml
└── ldap
    ├── ldap-deployment.yaml
    └── ldap-service.yaml

5 directories, 28 files

@scottd018 i don't think this is an issue with outputPath as the same issue would occur even if you didn't provide one. the output path does make it more apparent however. if you pas the same file in twice it will just overwrite the file with the last declaration. i think the way to solve this would be to dedup the yaml files and add the overlays together. I'll have to give this some thought as we would probably want the last one to have final authority so in your example we would probably want to shift the declaration with output path to be last. @ahuffman want to weigh in here?

@JefeDavis disagree here.  However, I should have included the original file structure for more clarity:
sdustin-a01:identity sdustin$ tree vendor/dex/
vendor/dex/
├── 01-common.yaml
├── 02-certs-selfsigned.yaml
├── 03-cm.yaml
├── 04-rbac.yaml
├── 05-0-secret.yaml
├── 05-deployment.yaml
└── 06-service.yaml

0 directories, 7 files
sdustin-a01:identity sdustin$ tree manifests/dex/
manifests/dex/
├── 01-common.yaml
├── 02-certs-selfsigned.yaml
├── 03-cm.yaml
├── 04-rbac.yaml
├── 05-0-secret.yaml
├── 05-deployment.yaml
├── 06-service.yaml
├── dex-deployment.yaml
├── dex-rbac.yaml
├── dex-service.yaml
└── unused
    ├── dex-certs.yaml
    └── dex-common.yaml

1 directory, 12 files

To me, it is perfectly valid to say "give me this directory, and run these overlays on this directory", and to also say "but this file right here (which happens to exist in aforementioned directory) I need these overlays on", which is essentially where I landed at, however, I'm not overlaying, but simply adjusting the outputPath.


Can't install it in macOS Big Sur 11.2.3

shoalb@eScience-Lab-Pro sustainable-software-sustainability.github.io % pip install howfairis
Collecting howfairis
Using cached howfairis-0.14.1-py3-none-any.whl (38 kB)
Collecting ruamel.yaml==0.16.*
Using cached ruamel.yaml-0.16.13-py2.py3-none-any.whl (111 kB)
Requirement already satisfied: colorama==0.* in /Users/shoalb/anaconda/lib/python3.6/site-packages (from howfairis) (0.4.4)
Requirement already satisfied: docutils==0.16.* in /Users/shoalb/anaconda/lib/python3.6/site-packages (from howfairis) (0.16)
Requirement already satisfied: beautifulsoup4==4.* in /Users/shoalb/anaconda/lib/python3.6/site-packages (from howfairis) (4.9.3)
Requirement already satisfied: pygments==2.* in /Users/shoalb/anaconda/lib/python3.6/site-packages (from howfairis) (2.8.0)
Requirement already satisfied: requests==2.* in /Users/shoalb/anaconda/lib/python3.6/site-packages (from howfairis) (2.25.1)
Collecting ratelimit==2.*
Using cached ratelimit-2.2.1-py3-none-any.whl
Requirement already satisfied: voluptuous==0.11.* in /Users/shoalb/anaconda/lib/python3.6/site-packages (from howfairis) (0.11.7)
Collecting backoff==1.*
Using cached backoff-1.10.0-py2.py3-none-any.whl (31 kB)
Requirement already satisfied: click==7.* in /Users/shoalb/anaconda/lib/python3.6/site-packages (from howfairis) (7.1.2)
Requirement already satisfied: soupsieve>1.2 in /Users/shoalb/anaconda/lib/python3.6/site-packages (from beautifulsoup4==4.->howfairis) (2.2)
Requirement already satisfied: chardet<5,>=3.0.2 in /Users/shoalb/anaconda/lib/python3.6/site-packages (from requests==2.->howfairis) (4.0.0)
Requirement already satisfied: idna<3,>=2.5 in /Users/shoalb/anaconda/lib/python3.6/site-packages (from requests==2.->howfairis) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/shoalb/anaconda/lib/python3.6/site-packages (from requests==2.->howfairis) (1.26.3)
Requirement already satisfied: certifi>=2017.4.17 in /Users/shoalb/anaconda/lib/python3.6/site-packages (from requests==2.->howfairis) (2020.12.5)
Requirement already satisfied: ruamel.yaml.clib>=0.1.2 in /Users/shoalb/anaconda/lib/python3.6/site-packages (from ruamel.yaml==0.16.->howfairis) (0.2.2)
Installing collected packages: ruamel.yaml, ratelimit, backoff, howfairis
Attempting uninstall: ruamel.yaml
Found existing installation: ruamel-yaml 0.15.87
ERROR: Cannot uninstall 'ruamel-yaml'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
shoalb@eScience-Lab-Pro sustainable-software-sustainability.github.io %

This was discovered at CW21 mini-workshop 1.4

Hi Shoaib,
It looks like you have some clashing dependencies. You have a couple of options:

install howfairis in user space (you were installing globally before)
pip install --user howfairis

install in a virtual environment
python -m venv venv3     # makes a new directory venv3 in your current directory
source venv3/bin/activate
pip install --upgrade pip
pip install howfairis

# (next time you want to use howfairis, activate the virtual environment first)

use a dockerized version of howfairis
# see the help
docker run --rm fairsoftware/howfairis --help
# run the analysis on one of you repos
docker run --rm fairsoftware/howfairis https://github.com/sustainable-software-sustainability/sustainable-software-sustainability.github.io

Hope this helps!


Corrected spelling mistakes

Signed-off-by: marci010101<EMAIL_ADDRESS>
What this PR does / why we need it: It corrects some grammatical mistakes in file README.md

Thanks @marci010101 for contributing to Litmus !


speech/captionasync: use GCS URI, inline audio is not allowed

"Inline audio is not allowed with LongRunningRecognize. Please use a GCS
URI."

R= @gguuss


Data corruption from #93 still relevant

Data corruption from #93 still relevant and situation worse than it looks.
		if (tlen <= sbspace(&so->so_rcv)) {
			if (th->th_seq == tp->rcv_nxt &&
			    OFP_LIST_EMPTY(&tp->t_segq) &&
			    TCPS_HAVEESTABLISHED(tp->t_state)) {
				if (DELAY_ACK(tp))
					t_flags_or(tp->t_flags, TF_DELACK);
				else
					t_flags_or(tp->t_flags, TF_ACKNOW);
				tp->rcv_nxt += tlen;
				thflags = th->th_flags & OFP_TH_FIN;
				TCPSTAT_INC(tcps_rcvpack);
				TCPSTAT_ADD(tcps_rcvbyte, tlen);
				ND6_HINT(tp);
				SOCKBUF_LOCK(&so->so_rcv);
				if (so->so_rcv.sb_state & SBS_CANTRCVMORE)
					odp_packet_free(m);
				else
					ofp_sbappendstream_locked(&so->so_rcv,
									m);
				/* NB: sorwakeup_locked() does an implicit unlock. */
				sorwakeup_locked(so);
			} else {
				/*
				 * XXX: Due to the header drop above "th" is
				 * theoretically invalid by now.  Fortunately
				 * m_adj() doesn't actually frees any mbufs
				 * when trimming from the head.
				 */
				thflags = ofp_tcp_reass(tp, th, &tlen, m);
				t_flags_or(tp->t_flags, TF_ACKNOW);
}

There are few moment:
First, ofp_sbappendstream_locked can drop packet. So tcp controll block shouldn't be updated before ofp_sbappendstream_locked called and return value checked. Currently it doesn't return anything, but int ofp_sockbuf_put_last can return -1 in case of error and why it not passed here is a big mistery.
Next, this implementation will call ofp_tcp_reass even if there are space only for 1 packet. But this function can try to add a lot more packets than 1. And it will try to do this with ofp_sbappendstream_locked, which will drop all that packets with succesfull updating of tcp controll block. So check of socket buffer should be added to ofp_tcp_reass too.

Ok guys, I fixed this. Well, checking of ofp_sbappendstream_locked should be added, but even without it now at least acked packets now dropped.
https://github.com/TolikH/ofp/commit/2eacc068848e4f80c2b550a766adb4a9773bedf4
P.S. And I'd like to contribute some patches but all resoures from ur website unavaileable.

Mailing list
The main communication channel for the project is our mailing list: https://list.openfastpath.org/mailman/listinfo/openfastpath
To post a message to all the list members you need to be a subscriber. Email<EMAIL_ADDRESS>Patches
Patches shall be submitted via the mailinglist in diff format. Please keep patches small, atomic (ie isolated to one fix or addition) and well-explained. Consider that the project uses Linux kernel coding style, which is verified through checkpatch.pl.

Hi
Thank you for the patch but @OpenFastPath patches are accepted why mailing lists. Please use git format-patch and send using git send-email to send the patch for review on the mailing list.


Data migration for MSRunSample's new placeholder unique constraint

Summary Change Description
The data migration creates temporary fake ArchiveFile mzXML records so that multiple placeholder records do not violate the new unique constraint (effectively treating MSRunSample.ms_data_file as null == null when ensuring the sample, sequence and mzxml are a unique combo).
Affected Issues/Pull Requests

Resolves #947 (alternate solution to what 947 describes)
Resolves #910
Merges into #949

Review Notes

See comments in-line.
Checklist

This pull request will be merged once the following requirements are met.  The
author and/or reviewers should uncheck any unmet requirements:

Review requirements

Minimum approvals: 1
No changes requested
All blocking issues resolved by reviewers
Specific reviewers: @add_username_here

Review period: 2 days

Associated issue/pull request requirements:

[x] All requirements in affected issues marked "resolved" are satisfied
[x] All required pull requests are merged (or none)

Basic requirements

[x] All linters pass
[x] All tests pass
[x] All conflicts resolved

Overhead requirements

[x] New/changed method tests implemented/updated (or no change)
[ ] Updated Unreleased section of changelog.md (or no change)
[x] Migrations created & committed (or no change)

Great idea to create some "fake" records to handle the existing problematic data. This migration looks good. I had a couple of suggestions, but nothing blocking.

Would you like to review #949 before or after I merge this PR into it?

I ended up rewriting this entire migration to satisfy #963 (based on what I learned from implementing the MSRunsLoader).  I will shortly submit a separate PR to supplant this PR.

Supplanted by #965


Cleanup styles.xml

The styles.xml files are a bit messy, specifically there is a separate file for API 21+ even though the minimum API level is set to 21. Additionally, by using the parent attribute with the styles that have an action bar for their NoActionBar counterparts, we can avoid some duplicate lines.
We tested this commit on an Android 9 (API 28) device and an Android 5.1.1 (API 22) virtual device and things looked as previously.

Test it out on on Android 9 and Android 7. Everything looks good. Thanks.
PS: Sorry for the late review.


Why Doesn't SignaturePadCanvasView implement INPC?

I'm using SignaturePad control in an Xamarin.Forms MVVM patterned project. I am trying to bind to the Points member of the SignaturePadView in the xaml View. Within the ViewModel, it doesn't appear that the Points member is ever being set.
It's also been identified that SignaturePadCanvarView doesn't implement INotifyPropertyChanged. Is this by design? If so, how may I bind to the SignaturePadView or bind to the Points member to access it in the ViewModel?

This is now something in v3.0

Released the first preview of v3.0 with loads of improvements:
https://github.com/xamarin/SignaturePad/releases/tag/v3.0-preview-77


Use git tags

What do you think about using git tags/releases that match with the versions of the NuGet packages?
I'd be happy to contribute and this would make the release history more clear.

It's a good idea and certainly the professional thing to do; put the lack of these down to slackness on my part :-)
When I have a few spare minutes I'll tag at least the current package.


Riak CS should respond '400 Bad request' on multipart completion if the request has no part item. [JIRA: RCS-156]

API incompatibility issue which is found by this test.
Although Amazon S3 respond 400 Bad request if multipart completion request has no part item, Riak CS accept the request.
A response sample from S3.
 HTTP/1.1 400 Bad Request
 x-amz-request-id: 7DCAB2138707FE68
 x-amz-id-2: hgAmdxlfDD7YxWsoktlpUx38KltSbSr4SXvjPi6wSQOPtAmnYMQYKYMuaLpvJ7Qn
 Content-Type: application/xml
 Date: Thu, 19 Mar 2015 16:23:46 GMT
 Connection: close
 Server: AmazonS3

<Error>MalformedXML<Message>The XML you provided was not well-formed or did not validate against our published schema</Message><RequestId>7DCAB2138707FE68</RequestId><HostId>hgAmdxlfDD7YxWsoktlpUx38KltSbSr4SXvjPi6wSQOPtAmnYMQYKYMuaLpvJ7Qn</HostId></Error>

For clarity's sake, this means the Content-Length is 0, correct?

OK, so it looks like the test is supposed to do the following:

Initiate a multipart upload
Send 0 upload parts
Send the "completed" upload message

Is my reading of this test case, correct?

Yes, you're right, Mark.

See https://github.com/basho/riak_cs/pull/1304
[posted via JIRA by Mark Allen]


Subsurface Scattering

There must be a support for subsurface scattering

Why did you choose ImGui over Qt?

Multiple reasons, ImGui is:

MIT licensed, which one of the most permissive licenses.
Fast to develop with, I can have a window with some stuff in it, in seconds, literally.
Easy to maintain, as the logic code and design code are one and the same.
Platform independence, it can be implemented to run anywhere, which means that after adding Vulkan support, it should be possible to get the engine to run on other platforms.
Very small, only a few files, Qt is a few GBs and includes a lot of stuff I don't need but can't remove.

This is what comes to mind now 🤔

How did you managed the inputs when you were in QT framework?

In directinput we need HINSTANCE to initialize the device. Where did you get that from?

Hi OdysseyCreations,
This issue is titled "Subsurface Scattering" and also has a "rendering" label.
Your question belongs to a different issue as it's related to Qt/Input.
However, since this question is Qt related, you should google it instead.
The one line code answer will come up as the first result.
Thanks

Which rendering API does PS4 uses?
Unreal engine and UNITY supports the PS4. But which API did they use?
You work in Sony right> therefore you must know this better than anyone.
What does it uses -> Directx, opengl, or some other api??

I googled it but found that it does not support DirectX, then what does it support?

Well well well, welcome back OdysseyCreations, or should I say rikseth? 😄
I googled what you googled and this is the first result that comes up.
I understand you are quite young and while I am happy to asnwer your questions, the conversation has escaped the context of this repository and could also be replaced by google searches. As a final warning, I would advice you to read on how to open an issue by clicking here.


Deploying to Elastic Beanstalk?

I'm trying to figure out how to start the server from a node.js script (as opposed to using the postgraphql command.
Assuming I have postgraphql in my package.json, is it possible to create a simple server.js file that will start the PostGraphQL server running?

Have you seen the library documentation article? (I really need to add a link to this in the README…)

You can also look at main.js (especially near the bottom) to see how we currently launch PostGraphQL from the command line.

Hm. Thanks for the fast response, @calebmer . For some reason, it's not working -- I have a very simple server.js, and I keep getting these log messages:
-------------------------------------
/var/log/nodejs/nodejs.log
-------------------------------------
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/var/app/current/node_modules/postgraphql/dist/createServer.js:31:21)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/var/app/current/node_modules/postgraphql/dist/postgraphql.js:13:21)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
module.js:327
    throw err;
    ^

That would be a bug in PostGraphQL. Fixed in 1.8.3. My bad :blush:

Awesome -- got it working. Thanks!


Badly formatted support page for IIS Web App Manage task

The documentation provided for IIS Web App Manage task is in need of some updates. The task provides no examples for some of the various methods it could be used. The documentation of the inputs provides very little correlation to the actual task inputs. Some inputs appear to be grouped together with various dependencies and the layout does not well support it.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b384e67a-beb3-a773-8e06-db831cf42bb4
Version Independent ID: a9a4ff47-e29a-e2e1-8e0a-01609c3bfdc3
Content: IIS Web App Manage task - Azure Pipelines
Content Source: docs/pipelines/tasks/deploy/iis-web-app-management-on-machine-group.md
Product: devops
Technology: devops-cicd-tasks
GitHub Login: @RoopeshNair
Microsoft Alias: ronai

@Nighteyez07 -- Duncan, thank you for your feedback.  Please consider these resources:

Azure DevOps Services
Azure DevOps on Stack Overflow

@RoopeshNair -- Roopesh, please look into this issue.


[GitHub] Improve ISSUE_TEMPLATE to ask for a running snippet

Many issues are being opened without user even knowing how to reproduce
it, a bin would help a lot and also speed up collaborators work.
Moving the comments about StackOverflow and regular issues up may help
to decrease the number of users asking non-related Material UI
questions.

What do you think about providing a webpackbin material-ui ready to fork demo?
Users will take less time to reproduce there issues.

Here is one http://www.webpackbin.com/VJzreCuCW. A bit more up to date than what we have in the CHANGELOG.md

Updated, @oliviertassinari thanks for providing the bin, I changed it to use react-tap-event-plugin.
Can we merge this?

Good idea!

That's funny. We originally had the comment first, but moved it to the bottom because people were missing the template. Comme ci comme ça!

@mbrookes thanks for the context, we will see if that help. That's like an experimentaion :).


Also, we need to add singularity and shifter to the container docs.

crossref #199


Fix signature codec with tuple type annotations

Backwards compatible solution to #1036 .
I'm unsure how/where to add a test for this as I didn't manage to run the test suite. Locally, I've experimented with the following snippet.
from typing import Tuple
import numpy as np
from mlserver.codecs.decorator import SignatureCodec

def predict_fn_typing_tuple() -> Tuple[np.ndarray, np.ndarray]:
    return (np.array([4]), np.array([2]))

def predict_fn_native_tuple() -> tuple[np.ndarray, np.ndarray]:
    return (np.array([4]), np.array([2]))

def predict_fn_tuple_object() -> (np.ndarray, np.ndarray):
    return (np.array([4]), np.array([2]))

def test_typing_tuple():
    signature_codec = SignatureCodec(predict_fn_typing_tuple)
    assert signature_codec._output_hints == [np.ndarray, np.ndarray]

def test_native_tuple():
    signature_codec = SignatureCodec(predict_fn_native_tuple)
    assert signature_codec._output_hints == [np.ndarray, np.ndarray]

def test_tuple_object():
    signature_codec = SignatureCodec(predict_fn_tuple_object)
    assert signature_codec._output_hints == [np.ndarray, np.ndarray]

Please note: The notation for the predict_fn_native_tuple test requires Python 3.9. The PR code, however, does not depend on Python 3.9.

Nice one! Thanks a lot for following up with this PR @sauerburger .
Changes look great! :rocket:
For the tests, perhaps you can add a new one for the _as_list method, covering the different ways to specify the type hint? We run tests in 3.8 - 3.10, so we'll need to skip the tuple[np.ndarray, np.ndarray] form unfortunately. Happy to help out writing the test if you've got any questions.

Thanks for the kind feedback. I've fixed the issue triggered the linter.


Avg Respons time

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
Hello, I just found this project and tried to play with it local.
I added a few websites but I noticed that all of them have a respons time of 5000-15000ms. Even google has 10000ms.
Any idea why the container has such a huge delay when each website loads within 200ms in a browser?
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.22.1
💻 Operating System and Arch
Windows 10
🌐 Browser
Google Chrome
🐋 Docker Version
Podman 4.5.1
🟩 NodeJS Version
No response

https://demo.uptime.kuma.pet
Can you reproduce the issue on our demo site?

I tried the demosite, google is down to ~200ms which seems fine and another test site is down from ~10000ms to ~1200ms

I also tested Podman 4.5.1 + Podman Desktop 1.1.0. Looks good to me.
If you eventually deploy on a server, I would suggest you should directly test on your server rather local.

I saw that rootless container is planned for v2.0.0 but is there any ETA?

See https://github.com/louislam/uptime-kuma/pull/2720#issuecomment-1615101427


Single event triggers onNotificationPress() of multiple apps with flutter_foreground_task

Hi, I have created two Android apps that utilizes flutter_foreground_task v4.1.0 (Flutter 3.7.3).
While both app are running in background on an Android device, tapping either of notification seems to trigger onNotificationPress() of both apps and the both apps end up showing ResumeRoutPage(). The app that was put to the background last seems to be get shown as the front most app with a higher provability but it is not always the case.
Am I missing something in setting up the plugin??
In getPendingIntent method of ForegroundService.kt (flutter_foreground_task version 4.1.0), Intent is declared as:
Intent(ACTION_NOTIFICATION_PRESSED).
Would it be possible to append unique uri to the Intent so that received Intents can be filtered at the receiving end?

@kmemo
can you tell me how you are starting the service, I'm not able to get the service  started, the startservice is returning false every single time, the example is also not working in my case, could you post the service started code in the reply.
for more info about my issue you can check at : https://github.com/Dev-hwang/flutter_foreground_task/issues/141
I'm really sorry for asking about my issue here, but i can't find any way to get it running.


Dev

@hemalidesai,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla2.dotnetfoundation.org.
It will cover your contributions to all .NET Foundation-managed open source projects.
Thanks,
.NET Foundation Pull Request Bot

Hey @hemalidesai -- do you mind signing the CLA so that we can look at your PR?
Thanks!
Henrik


Add /network name to the BCD link

This link refers to https://better-call.dev/KT1HriidwX43EYaZ7JDch7YuciXELhAn49Sd which is going to be redirected to https://better-call.dev/search?text=KT1HriidwX43EYaZ7JDch7YuciXELhAn49Sd, but in my thoughts the best solution would be to refer to https://better-call.dev/*network_name*/KT1HriidwX43EYaZ7JDch7YuciXELhAn49Sd, in my case it would've been https://better-call.dev/edo2net/KT1HriidwX43EYaZ7JDch7YuciXELhAn49Sd

Fixed via #409, will be merged and released with 0.7.1


Can't seem to get it to work with items from other mods

I've been configuring this mod for a decent amount of time and no matter what I try, I can't seem to get the trades to work on the villager. It just shows up like there is no items in the trade boxes.
        "trade_1_comment":"If there is '_comment' in name it won't be read and You can add some informations here - maybe details about trade for easier remembering what is what. Also '_comment' is used by default, You can change it in configuration file.",
        "trade_1_comment_1":"structure looks like this -> number x item:id + number x item:id = number x item:id",
        "trade_1_comment_2":"1xGranite + 1xPodzol = 7xFern",
        "trade_1":"50xordinarycoins:coinbronze = 1xordinarycoins:coinsilver",
        "trade_2":"50xordinarycoins:coinsilver = 1xordinarycoins:coingold"
    }

Could You try with 25x... + 25x... = 1x... ?


[AutoPR servicefabric/resource-manager] Add 2019-06-01-preview API version for Service Fabric

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/7092

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/7686

(message created by the CI based on PR content)


Support num.tryParse()

num SUM(List list){
  num result = 0;
  for (var v in list) {
    if (v is num) {
      result += v;
    } else if (v is String) {
      final parseV = num.tryParse(v);
      if (parseV != null) {
        list.add(parseV);
        result += parseV;
      }
    }
  }
  return result;
}

main() {
     return SUM([1, 2]);
}

Eval code failed with exception:
RangeError (index): Invalid value: Valid value range is empty: 0

When the exception was thrown, this was the stack:
#0      _Array.[] (dart:core-patch/array.dart:10:36)
#1      Variable.boxIfNeeded (package:dart_eval/src/eval/compiler/variable.dart:73:34)
#2      compileForStatement (package:dart_eval/src/eval/compiler/statement/for.dart:17:61)
#3      compileStatement (package:dart_eval/src/eval/compiler/statement/statement.dart:31:12)
#4      compileBlock (package:dart_eval/src/eval/compiler/statement/block.dart:16:20)
#5      compileFunctionDeclaration (package:dart_eval/src/eval/compiler/declaration/function.dart:72:14)
#6      compileDeclaration (package:dart_eval/src/eval/compiler/declaration/declaration.dart:20:5)
#7      Compiler.compileSources.<anonymous closure>.<anonymous closure> (package:dart_eval/src/eval/compiler/compiler.dart:389:11)

Find issue code at num.tryParse

Support for num.tryParse() added in v0.7.0


typing exit in a PowerShell instance doesn't close the Tab/Session

Environment
10.0.18362.0 Microsoft Windows NT 10.0.18362.0
Windows Terminal (Preview) Version: 0.6.2951.0
Steps to reproduce

open a PowerShell tab
type exit

Expected behavior
tab closes (if last tab, Terminal closes)
Actual behavior
powershell session ends, but tab stays open

of course, now I can't reproduce this again :(

Closing no repro. Let us know! Thanks.


Add missing fields to device and application response

These fields were missing while implementing an application using this sdk.

Thanks for the PR @cakoolen
I'll take a look at it early this week and get back to you

I think the CI errors are due to something that is fixed in https://github.com/einride/balena-go/pull/71
I'll look into merging that this week as well so we can get through this PR

@cakoolen would you like to rebase from master as the other PR is now merged?

@cakoolen we are using conventional commits in the repository and your commit titles are not matching that.
I'd say that 3 of the commits are feat and 1 fix but I'll leave that to your discretion

@alethenorio thanks for pointing out what convention you use for the commit messages. I've re-written the history of this branch to reflect it as best as I could. If you do find more details are missing in the messages then please let me know. I will be happy to get the PR in shape such that it can be merged. If this one is okay, I will try to do the same for the other branch as  well.

@cakoolen looking good. Just fix the last CI issues and I'll approve and merge

@alethenorio thanks for all the support getting these changes merged!


Failed upgrade to 2.13 on multiproject build

Here's a reproduction of the issue of mismatched versions, bin compat issue.

Thanks for reporting! Updated the example and the main scalapb docs: the shaded compilerplugin is no longer necessary. See c920177638e9f2e8573c7d0d86fe21f8bbd4d7e0


⚠ TorrentLeech has degraded performance

In 15d4075, TorrentLeech ($TL) experienced degraded performance:

HTTP code: 200
Response time: 6481 ms

Resolved: TorrentLeech performance has improved in afa86c5 after 7 minutes.


Settings Icon dropdown flickering.

https://user-images.githubusercontent.com/63781863/147792960-0862de20-4a23-4e56-a363-ac1f400b7e9b.mp4

Update: Seems to be a compatibility issue with the the "Pop!"

Pop! will not be supported. Please disable the module and everything should be fine.


chore: revert testcafe

Thanks for submitting a PR! Please check the boxes below:

[ ] I have run pre-commit to check linting
[ ] I have filled in the "Changes" section below?
[ ] I have filled in the "How did you test this code" section below?
[ ] I have used a Conventional Commit title for this Pull Request

Changes
Please describe.
How did you test this code?

Please describe.

Closed in favour of #2564


accessing arguments.callee leads to TypeError: invalid property access

Hello,
I'm trying to use this javascript code:
function myFunction() {
  console.log(arguments.callee);
}

myFunction();

and it generates TypeError: invalid property access.
Is this a normal behavior ?
thank you in advance !

Yes this is normal behaviour. Javy compiles and executes the provided JS as an ESM module which implies strict mode and arguments.callee is not allowed in strict mode.

Hi @jeffcharles thank you for the fast answer, this makes total sense now !


(WIP) Trigger canvas controls via the inspector padding controls

I'm already so curious to try this!!


Link on Drift Pub Page

Describe the bug:

what you were trying to do: I arrived at https://pub.dev/packages/drift and saw a link "Try the Flutter Chat Tutorial  💬". I clicked the linked to try out the flutter tutorial.
what you would have expected to happen: I expected to arrive at a webpage with a Drift tutorial with Flutter.
what actually happened: I arrived at a webpage titled "Android Chat SDK - Kotlin Messaging SDK"

Looking at the Moore documentation at https://pub.dev/documentation/moor/latest/, there is a similar link, but this one actually  goes to a Flutter tutorial. I presume this was the intended effect. Correct me if I am wrong.

Thanks, I see how the links aren't that clear at the moment. getstream.io, who are sponsoring this project, asked me to put them in the readme. I've reached out to them to see if the links should be updated and I'll fix them when I get a response.


Xcode 8.0

Description
XVim compile error
Operation
[When making, compile error occurred]
Expected behaviour
[Write here]
Environments

Xcode Version [8.0]
XVim branch and revision [lastest]
Keyboard Language [     ]
Input source language [    ]

Crash log (if any)
 XVim/DVTTextSidebarView+XVim.h:11:9: fatal error: 'DVTTextSidebarView.h' file
  not found
 #import "DVTTextSidebarView.h"
    ^
1 error generated.]

Sorry, my path to Xcode was wrong.


Error: 404 when downloading https://packages.microsoft.com/cbl-mariner/2.0/prod/base/x86_64/libsepol-3.2-2.cm2.x86_64.rpm

Hi, i try to install packages on mariner jdk docker container - got this errors (random packages)  any idea?
root [ / ]# tdnf  install -y --releasever=2.0 cracklib
Loaded plugin: tdnfrepogpgcheck

Installing:
libsepol                                                          x86_64                           3.2-2.cm2                                   mariner-official-base                   759.22k 777440
libselinux                                                        x86_64                           3.2-1.cm2                                   mariner-official-base                   172.59k 176732
libcap                                                            x86_64                           2.60-1.cm2                                  mariner-official-base                   193.69k 198343
gmp                                                               x86_64                           6.2.1-2.cm2                                 mariner-official-base                   642.37k 657788
coreutils                                                         x86_64                           8.32-5.cm2                                  mariner-official-base                    6.70M 7026879
ncurses-libs                                                      x86_64                           6.3-2.cm2                                   mariner-official-base                    1.41M 1482779
libstdc++                                                         x86_64                           11.2.0-2.cm2                                mariner-official-base                    2.32M 2432706
libgcc                                                            x86_64                           11.2.0-2.cm2                                mariner-official-base                   101.52k 103960
pcre-libs                                                         x86_64                           8.45-2.cm2                                  mariner-official-base                   473.07k 484426
pcre                                                              x86_64                           8.45-2.cm2                                  mariner-official-base                    1.09M 1142144
readline                                                          x86_64                           8.1-1.cm2                                   mariner-official-base                   434.72k 445158
grep                                                              x86_64                           3.7-2.cm2                                   mariner-official-base                   277.23k 283884
bash                                                              x86_64                           5.1.8-1.cm2                                 mariner-official-base                    3.40M 3565107
cracklib                                                          x86_64                           2.9.7-5.cm2                                 mariner-official-base                     70.71k 72407

Total installed size:  17.98M 18849753

Downloading:
Error: 404 when downloading https://packages.microsoft.com/cbl-mariner/2.0/prod/base/x86_64/libsepol-3.2-2.cm2.x86_64.rpm
. Please check repo url.
Error processing package: libsepol-3.2-2.cm2.x86_64.rpm
Error(1622) : Invalid argument

root [ / ]# cat /etc/os-release
NAME="Common Base Linux Mariner"
VERSION="2.0.20221026"
ID=mariner
VERSION_ID="2.0"
PRETTY_NAME="CBL-Mariner/Linux"
ANSI_COLOR="1;34"
HOME_URL="https://aka.ms/cbl-mariner"
BUG_REPORT_URL="https://aka.ms/cbl-mariner"
SUPPORT_URL="https://aka.ms/cbl-mariner"
root [ / ]#

Thanks for filing the issue! We're working with our internal partners to mitigate this problem.
One possible workaround might be to use tdnf clean all to refresh the repo metadata cache before attempting to install anything with tdnf.

Florian, this does appear that the local system metadata is stale.  Let us know if it works once getting the up to date metadata.

@oliviacrain  @davidduffey   thx for your help
I have done a full rebuild of all containers (microsoft-jdk -> custom image -> custom-image ) , it works now - maybe a corrupt layer


feat(revalidate): add special response to send revalidation data on mutations

Hey, I was looking at this:

And thought it would be better if it could look like this:

The idea is simple, have the mutation response include revalidation data. This could speed up revalidation by a lot for most use cases.
Here's a quick video demonstrating what this does:
https://user-images.githubusercontent.com/1500684/193799965-34b03519-6293-485e-8cd6-46242b9e2269.mp4
The API for this is simple:
export async function action({ request }: ActionArgs) {
  const formData = await request.formData();
  const title = formData.get("title");
  invariant(typeof title === "string", "title must be a string");
  await db.createTodo({ title });
  return revalidate(); // <-- this is all actions need to do to trigger revalidation of all applicable loaders
}

revalidate accepts data which will be used for the fetcher's data property and ResponseInit.
My implementation is missing a bunch of stuff. I just spent a few minutes working on this to play around with the idea and make sure it would work. Feel free to close the PR and re-implement it correctly if you'd like.
Let me know what you think!

Some thoughts

like that it cleans up the network tab
API is explicit (return revalidate()) so it doesn't feel magical

Question / Concerns
Before, the revalidation happened with additional independent GET calls., if we have a page with lots of nested routing and we need to make lets say 2-3 API calls for the current route, I sense we might run into issues where this POST is taking longer to resolve than expected slowing down the UI.
How will this effect streaming responses from some loaders higher up in hierachy?

Love the explicit API but what about browser cache?
If you have a loader with some sort of cache control for the browser, this revalidation will bypass it, and resend the data, so potentially you will send more than what is really needed.

Caching comments here makes sense. I wonder if in addition to this we also add rendering link tags to prefetch the individual loader URLs as well. I understand that feels wasteful, but having a much faster revalidation feels worth it in some scenarios.
As for loaders with cache headers, on mutations you probably want to bypass the cache anyway because that data may have actually changed.
To address @cliffordfajardo's question about how long it takes, this would always be faster because the transition manager will keep things in a pending state until revalidation is finished anyway.
I'm not sure how this would affect streaming.

I think this will be just another one of those "levers" the developer can pull. As with most tech decisions, it will have some tradeoffs (like caching), but for specific use cases, may be a net positive.
When I first started with Remix, I also wanted to minimize the number of requests by pipelining (my implementation added multiple route-ids in a header).

Hi @kentcdodds!
Are you still interested in getting this one merged?
If so, please rebase onto latest dev & resolve conflicts

This was a demo of a feature the Remix team will need to evaluate. I'm curious what @ryanflorence thinks

@kentcdodds wouldn't reloading the page trigger the same (duplicate) POST again?

I don't believe so