Cannot get voiceChannel playfile() example to work

With<EMAIL_ADDRESS>I'm doing:
var Discord = require('discord.js');
var bot = new Discord.Client();
bot.login("token").then().catch(err => console.log(err));

bot.on('ready', (message) => {
  var voiceChannel = bot.channels.filter(g => {
    return g.type == 'voice' && g.name == 'General';
  }).first();

  voiceChannel.join()
   .then(connection => {
     console.log('playing');
     const dispatcher = connection.playFile('sound.mp3');
   })
   .catch(err => console.log(err));

});

The bot correctly joins the audio channel, but the 'playing' message is never displayed nor audio played.
I'm getting this output after 15 seconds:
Error: Connection not established within 15 seconds.
    at Array.client.setTimeout (/home/v/tjs/node_modules/discord.js/src/client/voice/ClientVoiceManager.js:121:43)
    at Timeout.setTimeout (/home/v/tjs/node_modules/discord.js/src/client/Client.js:163:16)
    at tryOnTimeout (timers.js:232:11)
    at Timer.listOnTimeout (timers.js:202:5)

Is this the new correct way of doing this ? Code for playing sample is taken from new documentation.

There could be a number of causes, first of all your path to your file should be './sound.mp3' as the ./ indicates the current folder. If that does not fix it please join the discord.js support server and we'll help troubleshoot the issue.

This would happen when your connection is really bad, or if you have network issues. It would happen when the client fails to connect a voice WebSocket or fails to set up UDP.

The reason was firewall;
on audio chat join, a UDP connection is done for audio (on port 52710 for me)
firewall was blocking, connection never made, .then() code never executed etc etc.
Hope this will help someone some day 🎉

Glad you fixed it :smile:

this will only join the general channel of the server .. .. how can we make the bot join to the channel the user is in .?

@tuneitbaby it's a bit late but here is the answere message.member.voiceChannel.join()


Wire performance improvements

This issue aims at starting a discussion about Wire performance. The main reason for it are the benchmarks of ZeroFormatter and some building blocks of protobuf-net reading streams in big chunks to a helper array.
Introduction
Currently wire operates on the level of a stream abstraction. That prohibits a direct access to the byte[] of a stream if any, requiring some coping to a helper buffers. We did a good job in limiting the needs of obtaining this helper buffer, but still, the serializer works on the stream level.
ZeroFormatter work on the byte[] + offset level, which makes it much faster and robust as it can make the buffer fixed and work with byte*.
Protobuf-net prefetches a chunk of memory to a helper byte[], which effectively moves it to the ZeroFormatter zone.
Current state
After reviewing the current structure, in my opinion, the coupling to the stream abstraction is very big. I can't see a way of peaceful moving to a better performing code without a lot of changes breaking the ValueSerializer API. Fortunately, it's not the user lvl API and even if changed, it's highly probable that after these breaking changes, users' code would just work.
Considerations
After reviewing two abstraction classes: SessionAwareByteArrayRequiringValueSerializer<TElementType> and SessionIgnorantValueSerializer<TElementType> I can see, that the only reason for separating them was the usage of the session. In every other case, they serialize values of a fixed length. If I was thinking of an abstraction being closer to the metal (byte[] or byte*). I'd say that any class that derives from one of them could be written as something like the following example:
public sealed class NewByteSerializer : ConstLengthValueSerializer<byte>
{
    public const byte Manifest = 4;

    public unsafe NewByteSerializer() : base(Manifest, () => Write, () => Read)
    { }

    static unsafe byte Read(byte* buffer)
    {
        return *buffer;
    }

    static unsafe void Write(byte* buffer, byte value)
    {
        *buffer = value;
    }

    public override int Size { get; } = sizeof(byte);
}

Which instead of working with stream and sessions, would just operate on the byte level. It could be moved one step further by replacing Write & Read with EmitWrite & EmitRead that would emit the writer/reader directly to the higher lvl serializer.
With this shape the emitting get more complex as:

the advancement of the buffer when reading/writing needs to be controlled
when writing, the buffer must be checked for the overflow
pinning with fixed must be emitted

If we decided to work on the byte[] level, this would remove the pinning points, still, leaving the buffer management for writes and the buffer advancement. The ICompiler would require a lot of work.
The redesign of the library in this shape would be hard (it looks that much more needs to be pushed down, to custom serializers) but could bring a big boost of performance.

Looking forward to hearing from you @rogeralsing :-)

Would the new Span help out with your Problems?

Possibly yes @jogibear9988 . I won't be able to work on this, so if you're willing to make this change, it's all yours.


progress.rs: don't fail if not a tty

It's not clear that it was intentional for progress to be disabled when
the output is not a tty.  Indeed there is reason we might want to have
progress output in that case.  For example, when cargo is invoked by
bitbake, cargo's output will be run through a pipe.  Bitbake can parse
out progress updates from that output, but only if cargo actually emits
them...

Thanks for the PR! This was originally done intentionally because most pipes don't handle the commands we later use for things like clearing a line too well (and redirecting to a file looks weird with the progress bar and such). That being said perhaps we could add an option to force the progress bar to show up even if the output isn't a TTY?

I personally would prefer a config option (which would implicitly support an env var), though not everyone agrees.  cc #5721

Something like this?

Seems reasonable to me! Let's see what others think.
@rfcbot fcp merge
As one question, do others have thoughts on the name? Would we maybe want to generalize --progress slightly or leave it targeted as it is now?

Do we want this to be a arg or an env var?
Do we want to add a symmetric way to force it off?

I still lean towards a config var myself.
Either way, I definitely think it should be generalized with a string. There have been several requests for a way to force it off.  The current solution of CI=1 is pretty hacky.

@ehuss so you want to see e.g. --progress=on and --progress=off?

This is the sort of env var I wish we didn't have to have: it would be ideal to me if tools wrapping cargo and piping its output were dealing with a lower level CLI, and the primary user focused CLI were just opinionated about what its output looks like.
That said, users have problems now so I don't know what else to do.

I'm also in favour of a config var and using a string. I'd prefer something more descriptive than on and off, e.g., none and something describing how the default bar is rendered?

Let's default to "auto" (progress if tty) and have --progress and --no-progress for forcing it on and off. Let's not worry about having a "batch friendly progress" beyond printing complete fetches or builds.

From what others have said and remembering about .cargo/config, I think that's the way to go here as well. We've already got a [term] section for other terminal configuration, and I think this'd fit nicely there. Eventually I'd like to implement an arbitrary --config CLI option as well so you can use that instead of an env var too!

This feels like the kind of arbitrary additions to the surface area of the CLI arguments, config keys and env vars that we don't want to rush out.
How many users of Bitbake (and similar) are we trying to cater to?  How important is this capability for them?
I don't mean to ask that in a harsh way, just trying to understand better.

:umbrella: The latest upstream changes (presumably #6615) made this pull request unmergeable. Please resolve the merge conflicts.

I've come around to this now, seeing how it mirrors --color.
@rfcbot reviewed

Eventually I'd like to implement an arbitrary --config CLI option as well so you can use that instead of an env var too!

Just cc'ing here too: there's now a proposal for that idea which we might want to consider: https://github.com/rust-lang/cargo/issues/6699

I don't understand the macOS failure in Travis

I've seen package::do_not_package_if_src_was_modified fail a few times on macOS.  Restarted.

@rfcbot fcp cancel
I'm gonna cancel the FCP request has this has gone a bit stale. @srwalter would you be up for switching this to a config option like I mentioned above?

I'm gonna go ahead and close this due to inactivity, but it can of course be resubmitted!

I like this proposal. Cargo wrappers are sometimes helpful and the progress bar really keeps things feeling snappy. I guess an alternative proposal would be to grab the build-plan beforehand and recreate the progress bar as the piped output is updated.


fix word list length type check

Hit an issue where this never fired when I changed the file name pattern. Ended up with a misconfigured bloomfilter since the word list length result ends up being NaN

Thanks for your PR :)


Unit tests fail in Windows

On Windows, npm test fails with errors like:

What the paths returned by locate(fn) should look like in Windows ?
Windows 10 v1903
Node 10.16.3

Thank you for the report. I will check it out this evening. To be honest, I did not run the tests on Windows. I will do and come back to you.

I have pushed the fix f7d5fb794b5fa2a62583ce74f8901fca79251f8a
Can you try if it is working for you?
Thank you 👍

All green now, thanks !


Implementing Probability of Feasibility (PoF) constraint handling

Dear GPyOpt authors,
I would like to upstream some additions I made to your code to enable GPyOpt to handle black box constraints of the type g_k(x) >= 0. I created a new class to perform the optimization and also added 3 new acquisition functions, the constrained versions of EI, MPI and LCB. The class I created was the modular constrained bayesian optimization version.
The code can handle a list of constraints, I have personally tested up to 7 simultaneous constraints, and I also made some notebooks demonstrating the functionality with some simple constrained optimization problems, in the manual/ folder, which has examples of function with one and two constraints.
I hope you find this implementation interesting.
Best regards,
José Hugo Elsas

Codecov Report

Merging #239 into master will decrease coverage by 4.15%.
The diff coverage is 15.91%.

@@            Coverage Diff             @@
##           master     #239      +/-   ##
==========================================
- Coverage   77.58%   73.43%   -4.16%
==========================================
  Files          97      101       +4
  Lines        4622     4953     +331
==========================================
+ Hits         3586     3637      +51
- Misses       1036     1316     +280

Impacted Files
Coverage Δ

GPyOpt/methods/__init__.py
100% <100%> (ø)
:arrow_up:

GPyOpt/acquisitions/EI_PoF.py
12.34% <12.34%> (ø)

GPyOpt/acquisitions/MPI_PoF.py
12.34% <12.34%> (ø)

GPyOpt/acquisitions/LCB_PoF.py
14.51% <14.51%> (ø)

...thods/modular_constrained_bayesian_optimization.py
19.38% <19.38%> (ø)

GPyOpt/acquisitions/__init__.py
36.11% <40%> (-0.93%)
:arrow_down:

GPyOpt/util/__init__.py
100% <0%> (ø)
:arrow_up:

... and 1 more

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 255539d...d46f4dd. Read the comment docs.

Hi @jhelsas , thanks for the PR. There is a huge amount of work that went into preparing these notebooks, much appreciated!
Unfortunately I don't think we are able to merge this PR in its current form. While it does implement PoF, it does it by duplication of code. All new acquisitions, as well as new bayes opt class, are essentially augmented copies of existing sources. That will be very hard for us to support/troubleshoot. It may also undermine future PRs, as people are likely to update say one BO class, but not both.
I appreciate that a lot of it is a consequence of how extensible GPyOpt is as a library. Although efforts were made to make GPyOpt's code reusable and easy to add stuff to, there are certain use cases which its design simply didn't account for. However, if you find a way to avoid duplication while still implementing PoF, we will be happy to have a look, especially if it makes GPyOpt more modular.
Also, I encourage you to check out our new library, Emukit, which is designed with extensibility in mind. Hopefully what required a lot of duplication in GPyOpt will be straightforward and simple to do in Emukit. Incidentally there is a PR implementing PoF in Emukit open right now: https://github.com/amzn/emukit/pull/217
You are also more than welcome to maintain your own fork of GPyOpt with these implementations, and mention it in discussions if PoF comes up again.
Again, thanks for making GPyOpt better, and sorry we couldn't accept this PR.

Dear Mr. Paleyes,
     Thanks for the kind response, and glad you liked the notebooks.
     I can try to rewrite the main classes, BayesianOptimization and

ModularBayesianOptimization to integrate the PoF code inside and add a
toggle flag to activate or not the PoF implementation. I didn't want to
simply overwrite your default classes because I thought it would be rude to
do so, but if this actually helps, I can do it no problem, and this would,
indeed, reduce the amount of code duplication.
I'll be glad to check your library Emukit, I was glad enough that
I found your original library, which actually works, and rolled with it.
I'll probably wait till the PR for it to be merged because I really need
black-box constraint handling the work I am doing now.
I am finishing writing a paper, after I submit it I'll get back
to the code and try cleaning it up.
In any case, I am glad to be able to contribute to your project,
and I understand that decision to what to keep or discard depends on the
need of the whole project, and I'll be glad to keep the fork alive in case
another solution can't be found.
Best regards,
José Hugo Elsas
Em qua, 5 de jun de 2019 às 11:31, Andrei Paleyes<EMAIL_ADDRESS>escreveu:

Hi @jhelsas https://github.com/jhelsas , thanks for the PR. There is a
huge amount of work that went into preparing these notebooks, much
appreciated!
Unfortunately I don't think we are able to merge this PR in its current
form. While it does implement PoF, it does it by duplication of code. All
new acquisitions, as well as new bayes opt class, are essentially augmented
copies of existing sources. That will be very hard for us to
support/troubleshoot. It may also undermine future PRs, as people are
likely to update say one BO class, but not both.
I appreciate that a lot of it is a consequence of how extensible GPyOpt is
as a library. Although efforts were made to make GPyOpt's code reusable and
easy to add stuff to, there are certain use cases which its design simply
didn't account for. However, if you find a way to avoid duplication while
still implementing PoF, we will be happy to have a look, especially if it
makes GPyOpt more modular.
Also, I encourage you to check out our new library, Emukit, which is
designed with extensibility in mind. Hopefully what required a lot of
duplication in GPyOpt will be straightforward and simple to do in Emukit.
Incidentally there is a PR implementing PoF in Emukit open right now:
amzn/emukit#217 https://github.com/amzn/emukit/pull/217
You are also more than welcome to maintain your own fork of GPyOpt with
these implementations, and mention it in discussions if PoF comes up again.
Again, thanks for making GPyOpt better, and sorry we couldn't accept this
PR.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SheffieldML/GPyOpt/pull/239?email_source=notifications&email_token=ACHBJ5YQB2L5NITCUO2SKFLPY7E5TA5CNFSM4HP5XJP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW74VFI#issuecomment-499108501,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACHBJ55GS2NY7LIWRQWNZZTPY7E5TANCNFSM4HP5XJPQ
.

I did some modifications to the code, but I wrongly deleted the original repository, I'll make another pull request with the corrections.


Wait, rebalance, reconfigure require explicit db or table

You can no longer call r.wait() without an explicit table or database selection.
r.wait(table) or r.table("blah").wait() is required now.

re: the issue title, If it was possible to call reconfigure and rebalance without an explicit database or table selection, it doesn't appear it was ever documented, so I'm only changing the documentation for wait.

@chipotle I think we forgot document it because it's not something you'd usually want to do. At least that forgetfulness is paying out now :-)


Source paths like

'~/.chef/dockersec-validator'
end up getting expaned as
$(pwd)/~/.chef/dockersec-validator
and then it can't find the file

Needs more context. Is this during a seed ?

Yes it was during a seed. I was trying to point it to a path where the file currently lived. I did not understand the assumtoion that all of your secrets would be in a subdirectory of your current path.

Fixed in https://github.com/Autodesk/aomi/tree/0.3.1


Fixed #25533 -- Changed dataypes mappings for GDALRasters

Changed datatype mapping in contrib.gis.gdal.raster.const.GDAL_TO_CTYPES and added corresponding regression test.

Thanks Daniel, pushed in 5d8985005e.


JS: JavaScript Debugging

Description
 Write about Debugging.
 Write about JavaScript Debugging.
 Ways to debug JavaScript code.
 Tell about debugger keyword.
 Give Examples and Syntax of each.
Domain
JavaScript
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

@paramsiddharth Sir, I'm working on this topic for documentation part


Bug in config tool

This made me insane a few times figuring out why the switch is not working.
Output is read wrong when reading the firmware file.
It's a bug right?

In the .txt file is it saved correctly:

@copystring Thank you! Fixed in the latest version on the latest version
https://ptvo.info/download/cc2530_io_1.2.2a.44539_firmware.zip?q=1624539384


devscripts: Remove proxy.patch

The PR merged in dev-scripts:
https://github.com/openshift-metal3/dev-scripts/pull/1607
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running

/approve


[Bug]: pb is not saved

What happened?
A bug happened! New records are not saved
Platform
Epic Games

Try it in v1.353.


gop.mod: register => import; func Project.Kind(ext string) Kind

Codecov Report
Patch coverage: 52.63% and project coverage change: -2.27% :warning:

Comparison is base (442e715) 100.00% compared to head (94b1c78) 97.73%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff             @@
##              main      #16      +/-   ##
===========================================
- Coverage   100.00%   97.73%   -2.27%
===========================================
  Files            3        3
  Lines          389      398       +9
===========================================
  Hits           389      389
- Misses           0        9       +9

Files Changed
Coverage Δ

modfile/rule.go
97.71% <52.63%> (-2.29%)
:arrow_down:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


checkpoint is not compatible with the network architecture

your model is perfectly satisfied with our requirements, but after several attempts, it seems that the checkpoint file that you provided is not compatible with the code. can you provide the latest pretrain-model?

me too. how can i get pre-trained model?

I am getting a similar error:
normal init for last conv
Trying to load from: ./ckpts/model_btmup/
Traceback (most recent call last):
File "calculate_mupots_btmup.py", line 30, in
M.Saver(model).restore('./ckpts/model_btmup/')
File "/home/jpsml/anaconda3/envs/3dmpp/lib/python3.6/site-packages/TorchSUL/Model.py", line 156, in restore
self.model.load_state_dict(state_dict, strict=strict)
File "/home/jpsml/anaconda3/envs/3dmpp/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1037, in load_state_dict
load(self)
File "/home/jpsml/anaconda3/envs/3dmpp/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1035, in load
load(child, prefix + name + '.')
File "/home/jpsml/anaconda3/envs/3dmpp/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1035, in load
load(child, prefix + name + '.')
File "/home/jpsml/anaconda3/envs/3dmpp/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1035, in load
load(child, prefix + name + '.')
[Previous line repeated 1 more time]
File "/home/jpsml/anaconda3/envs/3dmpp/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1032, in load
state_dict, prefix, local_metadata, True, missing_keys, unexpected_keys, error_msgs)
File "/home/jpsml/anaconda3/envs/3dmpp/lib/python3.6/site-packages/TorchSUL/Layers.py", line 106, in _load_from_state_dict
raise Exception('No weight found for layer:', prefix)
Exception: ('No weight found for layer:', 'backbone.lastfuse.c_all.conv.')

Please try to downgrade your TorchSUL to 0.1.28


Non-functional demaonstrator for the concept of a global tweaks instance

Description
A non-functional POC for how a tweaks class could be used for low-level changes at runtime. Intended to be used with -s mitmproxy/script.py.

I wonder how tweaks are different from options? You can enable/disable options from within an add-on as well and if I understand correctly tweaks are meant to be only available to add-ons? But what if I want --set no_strict_http2_headers without needing a script?


Incremental solving with an objective function

Hi,
I am using the Python interface of Choco to do incremental solving.
My situation is the following.
I have a model with a given objective to solve. After getting the optimal solution, I want to add a constraint to the model and re-solve to optimality again.
However, because of the consrtraints added to the solver during optimization, the status seems to be invalid.
Is there a way around this? Below is a minimal working example.
import pychoco as pc

model = pc.Model()

a = model.boolvar(name="a")
b = model.boolvar(name="b")
c = model.boolvar(name="c")
sum_of = model.intvar(0,3,name="thesum")

model.or_([a,b,c]).post()
model.sum([a,b,c], "=", sum_of).post()

solver = model.get_solver()
sol = solver.find_optimal_solution(maximize=False, objective=sum_of)

for var in [a,b,c]:
    print(var, sol.get_int_val(var))

model.arithm(sum_of, ">=", 2)
solver = model.get_solver()
sol = solver.find_optimal_solution(maximize=False, objective=sum_of)
print("Solution:", sol)
for var in [a,b,c]:
    print(var, sol.get_int_val(var))

Which produces the following output:
BoolVar 'a' = [0, 1] 0
BoolVar 'b' = [0, 1] 0
BoolVar 'c' = [0, 1] 1
Solution: Choco Solution
Unhandled exception: org.chocosolver.solver.exception.SolverException: Cannot access value of a = [0,1]: No solution has been recorded yet (empty solution). Make sure this.record() has been called.
    at org.chocosolver.solver.Solution.getIntVal(Solution.java:221)
    at org.chocosolver.capi.SolutionApi.getIntVal(SolutionApi.java:28)

Kind regards,
Ignace

Hi,
I need to include reset()and hardReset() in the API. It should be quick to do, I'll do it ASAP. Meanwhile, you can also encapsulate the creation of your base model (with the constraints of the first solving) in a function (e.g. make_model()), or a small encapsulating class if you want facilitated access to variables. That way, after solving the first problem, you can call make_model() again, post additional constraints, and solve again.
I will close this issue and let you know as soon as reset()and hardReset() are added to the API.
Best,
Dimitri.


Ignore Pragma when Cache-Control is present but blank

Resolves #15.

Thanks for the fix.
This needs rebasing.

@kornelski rebased!

Thank you


Refresh empty state after adding provider

This changes listens for the onboarding "Add Source" status and errors to see if the empty state should be refreshed.
Fixes https://github.com/project-koku/koku-ui/issues/561

Codecov Report

Merging #571 into master will decrease coverage by 0.06%.
The diff coverage is 20%.

@@           Coverage Diff            @@
##           master   #571      +/-   ##
========================================
- Coverage   83.06%    83%   -0.07%
========================================
  Files         162    162
  Lines        2480   2483       +3
  Branches      409    411       +2
========================================
+ Hits         2060   2061       +1
- Misses        373    375       +2
  Partials       47     47

Impacted Files
Coverage Δ

src/app.tsx
62.26% <20%> (-1.74%)
:arrow_down:

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 f868043...a975a89. Read the comment docs.

FYI, I attempted to request providers via the store's addSource action, when addSourceSuccess is dispatched. That would be ideal; however, I could not trigger the empty state to update. By listening for onboardingStatus, each page can refresh itself when necessary.
Will merge this, but if there is a better way, I'm all for it.


Define iso storage on CloudInit

Hi!
How to define storage for CloudInit function?
I'm trying to use context.WithValue something like
isoStorage, _ := node.StorageISO(context.Background())
ctxISO := context.WithValue(ctx, &isoStorage.Name, "templates")
target.CloudInit(ctxISO, "ide0", vm.CloudInit.UserData, "", "", vm.CloudInit.NetworkData)

but without success.
What am I doing wrong?

the cloud init func takes care of this for you: https://github.com/luthermonson/go-proxmox/blob/main/virtual_machine.go#L143-L146

i guess im also confused as to what youre trying to even do, are you naming your iso storage "templates" some how? there is no support for any storage types besides iso,vztmpl,backup,rootdir,images and proxmox wants ISOs in the iso storage so the cloudinit func puts them there.

@luthermonson
I have several storages that store ISOs. But for cloud-init ISOs, I want to define a storage with a specific name. In my case, this storage is called "templates". But the CloudInit function saves the ISOs in random storage.

can you show me the contents of 	pvesh get /nodes/{node}/storage ? make sure you anonymize anything that you dont want the world to see

so it's not random by the way, it loops over storage results returned from this endpoint and chooses the first one which is allows the content type of "iso", the logic is here: https://github.com/luthermonson/go-proxmox/blob/main/nodes.go#L202-L211
we could allow for allowing the storage to be passed in or filtered differently... show me the output and let's see what we can work with

can you show me the contents of pvesh get /nodes/{node}/storage ? make sure you anonymize anything that you dont want the world to see

The "qnap" and "templates" storages can store iso in my case.  But for store cloud-init isos I prefer to use only storage named "templates" because that storage is more reliable than "qnap".
And I have no idea how to do it.

so it's not random by the way, it loops over storage results returned from this endpoint and chooses the first one which is allows the content type of "iso", the logic is here: https://github.com/luthermonson/go-proxmox/blob/main/nodes.go#L202-L211
we could allow for allowing the storage to be passed in or filtered differently... show me the output and let's see what we can work with

Some temporary storages may store the iso for some maintenance/debugging.
In this case, it may happen that the cloud-init iso will be saved in some temporary storage, which will then be deleted.
VMs startup will be broken.
There is another problem here. Sometimes CloudInit tries to use storage "local" or "cephfs", which is disabled.
In this case, an error occurs:
500 storage 'local' is disabled
500 storage 'cephfs' is disabled

oh ya i could imagine it might appear random is the proxmox api sometimes return results in different orders. it's only picking storage that CAN have isos and it just so happens you have 2 that are disabled and the one it tries it never gets too... let me think about this for a bit and try and get a local setup that looks similar


Period selector & Customer ratings

Time period selector and customer ratings are necessary for business analysis purpose.
How can those features be added to Zendesk dashboard?

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

ID: 2231f5c7-c73c-0b80-d6b9-5adf207a6b62
Version Independent ID: 91e7c633-83d4-0714-e92f-e3f169549bd5
Content: Connect to Zendesk with Power BI - Power BI
Content Source: powerbi-docs/service-connect-to-zendesk.md
Service: powerbi
GitHub Login: @SarinaJoan
Microsoft Alias: sarinas

Hi @Gabae
Thank you for your suggestion.  I've forwarded this Issue to the document author who will get back to you shortly.  Thank you.

Hi,
I actually don't even know what time period is covered in the data. Any info to that?
Best
Martin

Hi Martin,
What I suggested was to add a time slicer and customer ratings in the main
dashboard page.
I really appreciate that you are considering my suggestion.
[image: image.png]
[image: image.png]
Regards
Gabae
On Sat, 9 Feb 2019 at 01:41, mamedca<EMAIL_ADDRESS>wrote:

Hi,
I actually don't even know what time period is covered in the data. Any
info to that?
Best
Martin
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/powerbi-docs/issues/516#issuecomment-461790775,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ArrhI1C1-_YNtGqPanvfZ-w0ezSJE2Xrks5vLXCDgaJpZM4ZOLtw
.

--
https://philandteds.com/
https://mountainbuggy.com/
https://www.mokopuna.com/
Gabae Yang
see&believe
product & supply - quality assurance
+64 4 380 0833
phil&teds
102-112 Daniell Street, Newtown
Wellington 6021
New Zealand

Hi Martin,
Thanks for getting back to me.
I have no idea what time period is covered in the data.
That dashboard was created by Zendesk app, which I cannot edit the format.
I would appreciate if you (or you team) can add a period selector.
Data without time selector does not mean anything.
I will be looking forward to hearing from you.
Regards
Gabae
On Mon, 11 Feb 2019 at 21:45, mamedca<EMAIL_ADDRESS>wrote:

Indeed, I don't know what people do with that data without proper
considerations about the time dimension. Hope this gets heard soon.
Best
Martin
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/powerbi-docs/issues/516#issuecomment-462252537,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ArrhI4BNjQTjFx2cpk-paL3VdVjQJcg2ks5vMS2mgaJpZM4ZOLtw
.

--
https://philandteds.com/
https://mountainbuggy.com/
https://www.mokopuna.com/
Gabae Yang
see&believe
product & supply - quality assurance
+64 4 380 0833
phil&teds
102-112 Daniell Street, Newtown
Wellington 6021
New Zealand

I just tried to match numbers now, it seems that most numbers where there is no date range covers 120 days or something around 4 months.

Thanks for the feedback, we just updated the Zendesk content pack to a template app and will take these changes into account


CLI final error is not printed in JSON format when using JSON progress mode

Bug Description

Probably because this error goes up the stack beyond main
Steps to Reproduce

Set MIRRORD_PROGRESS_MODE
Run mirrord exec against a non-existent target

Backtrace
No response
Relevant Logs
No response
Your operating system and version

Local process

Local process version
No response
Additional Info
No response

@Razz4780 What does this affect? Error looks bad in the IDE?

The error notification actually looks fine, because in ext and ls subcommands it is actually always printed as JSON. Other subcommands print the errors in the rich console-friendly format (one from the issue description). Generally - there's some mess around logging in the CLI

@Razz4780 What does this affect? Error looks bad in the IDE?

Found the source of the mess.
The error notification actually looks fine, because in ext and ls subcommands the error is actually always printed as JSON. Other subcommands print the errors in the rich console-friendly format (one from the issue description). Generally - there's some mess around logging in the CLI. Also using mirrord-console affects this behavior.
This issue is not very serious, I think the biggest impact is that mirrord ls always print the final error as JSON (even when used from the console).


luci-proto-wireguard: stricter input validation

Signed-off-by: Dan Luedtke<EMAIL_ADDRESS>

Depends on https://github.com/openwrt/luci/pull/1014

should you add base64 to the last validation visible there? You changed help text there, but not the validation itself.

Missed that. Fixed. Thanks!


Optimize polling

Cache and subgraph pollers should be run in the same interval, theres no need to have discrete polling loops for each.
https://discord.com/channels/454734546869551114/813920657267753000/971306248270143488

Closed due to master being done https://github.com/connext/nxtp/issues/1556


Img2img layout modification.

          Thanks for all the replies! I've switched to `--theme=dark` and again updated Quick CSS but the layout hasn't changed. Maybe I'm confused but I'm looking for this layout,

Also Nacurutu, I'm getting errors in the console if I select a style and hit Apply (Reload UI) but not if I hit Apply Style, then Apply Changes (Reload UI)
Originally posted by @BoxJockey in https://github.com/Nacurutu/Dark-Themes-SD-WebUI-Automatic1111/issues/2#issuecomment-1402444392

I'm wondering if this was moved to the end of the settings panel, and flex was modified on 'img2img_settings' to make this as a column, would it still work.
let m = gradioApp().getElementById("mode_img2img")
m.parentElement.insertAdjacentElement("beforeend", m)

I'm wondering if this was moved to the end of the settings panel, and flex was modified on 'img2img_settings' to make this as a column, would it still work.
let m = gradioApp().getElementById("mode_img2img")
m.parentElement.insertAdjacentElement("beforeend", m)

@Nacurutu How were you moving it before?

Just using CSS, modifying the flex order and forcing some heights and widths... (that's why it doesn't worked on mobile).
*----------------------------------------------------------------*/
/* img2img tab Layout test (WORK IN PROGRESS) v2
/*----------------------------------------------------------------*/

/*Puts settings and canvas next to each other. Flex grow make entire section bigger than the gallery*/
#img2img_settings {
  display: flex;
  flex-direction: row-reverse;
  flex-grow: 3 !important;
}

/* img2img tabs panel no wrap*/
.dark .tabitem .overflow-hidden .overflow-hidden .flex-wrap .overflow-hidden > .flex-col > .flex-wrap{
  flex-wrap:nowrap;
 }

/*Tabs and inpainting canvas, add less flex shrink to make canvas take up more space*/
#mode_img2img {
  flex-shrink: 0.4;
}

/* img2img tabs container fixed width and height */

.dark .tabitem .overflow-hidden .overflow-hidden .flex-wrap .overflow-hidden .flex-col .tabitem{
  max-height:800px !important;
  min-height:800px !important;

}

.dark .min-h-screen .mx-auto .overflow-hidden #tabs .tabitem .overflow-hidden .overflow-hidden .flex-wrap .overflow-hidden .flex-col .tabitem > .overflow-hidden > .overflow-hidden{
  max-height: 780px !important;
  min-height: 780px !important;
}

.dark .min-h-screen .mx-auto .overflow-hidden #tabs .tabitem .overflow-hidden .overflow-hidden .flex-wrap .overflow-hidden .flex-col .tabitem .overflow-hidden .overflow-hidden .h-60 .cursor-pointer{
  max-height: 760px !important;
  min-height: 760px !important;
}

.dark .overflow-hidden > .overflow-hidden > .flex-wrap > .overflow-hidden > .flex-col {
  max-width: 1200px !important;
  min-width: 610px !important;
}

/* Overflow hidden */
.dark .tabitem:nth-child(3) .overflow-hidden:nth-child(1) .overflow-hidden:nth-child(3) .flex-wrap:nth-child(1) > .overflow-hidden:nth-child(2) > .overflow-hidden:nth-child(2){
  min-width:450px !important;
  max-width: 610px;
  flex-direction:column;
  align-self:center;
 }

.dark .min-h-screen .mx-auto .overflow-hidden:nth-child(1) #tabs .tabitem:nth-child(3) .overflow-hidden:nth-child(1) .overflow-hidden:nth-child(3) .flex-wrap:nth-child(1) > .overflow-hidden:nth-child(2) > .overflow-hidden:nth-child(2){
  min-width:430px !important;
 }

/* Trying to fix the Resize issue on inpainting tab */

.dark #tabs .tabitem .overflow-hidden .overflow-hidden .flex-wrap .overflow-hidden .flex-col .tabitem .overflow-hidden .overflow-hidden .h-60 .cursor-pointer .h-full .hover\:cursor-none{
  width: 100% !important;
  height:100% !important;
 }

 /* New img2img buttons reposition and border*/

 #tabs .tabitem .gr-compact{
  margin-top:18px;
  z-index: 100;
 }

 #tabs .gr-compact .gr-button-secondary{
  border-color:var(--Secondary_color);
  border-width:0.5px !important;
 }

Try something like this
I don't know how to say take full column, so I tried a random number for span high enough to be greater than the number of siblings, it can probably be set higher.
I used grid-column to say be in the second column.
grid-template-columns takes in a value and each value is a column, auto auto means two columns that automatically determine their size.
#img2img_settings {
  display: grid;
  grid-template-columns: auto atuo;
}

#mode_img2img{
  grid-row: 1 / span 8;
  grid-column: 2;
}

Try something like this I don't know how to say take full column, so I tried a random number for span high enough to be greater than the number of siblings, it can probably be set higher. I used grid-column to say be in the second column. grid-template-columns takes in a value and each value is a column, auto auto means two columns that automatically determine their size.
#img2img_settings {
  display: grid;
  grid-template-columns: auto atuo;
}

#mode_img2img{
  grid-row: 1 / span 8;
  grid-column: 2;
}

gonna try it and let u know :)

@Gerschel

you are a genius... im so dumb for this things xD
now, need to check how to resize to cover everything, going to work on it
Thanks a lot!

@Gerschel
Well, I managed to do this:

/* img2img settings + mode img2img layout left to right*/
/*----------------------------------------------------------------*/
#img2img_settings {
  display: grid;
  grid-template-columns: 2.5fr 5fr;

}

#mode_img2img {
  grid-row: 1 / span 8;
  grid-column: 2;
}

/* Shrink Gallery*/
/*----------------------------------------------------------------*/
#img2img_gallery_container,
#img2img_gallery_container .livePreview,
#img2img_results,
#img2img_gallery{
  min-width: min(250px, 100%) !important ;
  flex-grow: 0.5 !important;
  }

/* img2img editor resize*/
/*----------------------------------------------------------------*/
  #img2img_image,
  #img2img_image > .h-60,
  #img2img_image > .h-60 > div,
  #img2img_image > .h-60 > div > img,
  #img2img_sketch,
  #img2img_sketch > .h-60,
  #img2img_sketch > .h-60 > div,
  #img2img_sketch > .h-60 > div > img,
  #img2maskimg,
  #img2maskimg > .h-60,
  #img2maskimg > .h-60 > div,
  #img2maskimg > .h-60 > div > img,
  #inpaint_sketch,
  #inpaint_sketch > .h-60,
  #inpaint_sketch > .h-60 > div,
  #inpaint_sketch > .h-60 > div > img
  {
      height: 800px !important;
      max-height: 800px !important;
      min-height: 800px !important;
 }

However, it has issues.
if you load an image on img2img, everything apparently looks ok,

But, when you add an image to the other 3 tabs (Sketch, inpaint, and inpaint sketch), the layout turns crazy.

The image expand, and if, for example, after you load an image to the inpaint, change to another tab and you get back to inpaint, the img2img settings shrink...

Also, we have the same issue where the inpaint makes the image smaller (with another same image in the background at the correct scale)

Annnnnnnd, the mobile version looks awful xD.
Dont know what else to do, I have tried everything I know (not to much)
Could you try?
Copy the code to the bottom of the Alani file and test.
Thank in advance.

oops. We'll come up with something soon. I deleted my presets, still have a local copy, privatized my xyz, deleted a few other projects. Had too many projects going on, I've dealt with others' just taking my work and making themselves look good too many times. Made it not fun. I'll have more time for this project. But, just so you know, you are welcome to the quickcss to do whatever, I had a problem with people just copying it and submitting it to the main app, stole my thunder.

oops. We'll come up with something soon. I deleted my presets, still have a local copy, privatized my xyz, deleted a few other projects. Had too many projects going on, I've dealt with others' just taking my work and making themselves look good too many times. Made it not fun. I'll have more time for this project. But, just so you know, you are welcome to the quickcss to do whatever, I had a problem with people just copying stuff and submitting it to the main app before I could, stole my thunder.

People should, at least, mention you if they use your code.. I understand.
Thank you for letting me add my little contribution to the quickcss extension.
Cheer up!

Your good dude, in my eyes, you have ownership of the other repo, it's your work too.

I'm putting this here for reference. It needs updating, it's an old file I was working on, but I almost lost it, so I'm dropping the contents here. The idea is to create a base template.
/*Controllers*/
root, *, quickcss_target{
    --highlight_color: #ce6400;
    --inactive_color: #4E1400;
    /*ENDCOLORPICKERS*/
    --left_column: 54;
    --font_scaler: 50;
    /*BREAKFILEREADER*/
}

/* generic html tags */
html { font-size: calc(16px / 50 * var(--font_scaler)); }
body, button, input, select, textarea { font-family: "Segoe UI"; font-variant: small-caps; }
img { background-color: black; }
input[type=range] { height: 14px; appearance: none; margin-top: 12px }
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 18px; cursor: pointer; box-shadow: 2px 2px 3px #111111; background: #50555C; border-radius: 2px; border: 0px solid #222222; }
input[type=range]::-webkit-slider-thumb { box-shadow: 2px 2px 3px #111111; border: 0px solid #000000; height: 18px; width: 40px; border-radius: 2px; background: var(--highlight_color); cursor: pointer; -webkit-appearance: none; margin-top: 0px; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #333333; }
::-webkit-scrollbar-thumb { background-color: var(--highlight_color); border-radius: 2px; border-width: 0; box-shadow: 2px 2px 3px #111111; }

/* main gradio components by selector */
div.gradio-container.dark > div.w-full.flex.flex-col.min-h-screen > div { background-color: black; }
div.gradio-container.dark > div.w-full.flex.flex-col.min-h-screen > footer { display: none; }

/* gradio shadowroot */
.gradio-container { font-family: "Segoe UI"; font-variant: small-caps;}

/* gradio style classes */
.tabs { background-color: black; }
.dark { background-color: black; }
.dark .gr-panel { border-radius: 0; background-color: black; }
.dark .gr-input-label { color: lightyellow; border-width: 0; background: transparent; padding: 2px !important; }
.dark .gr-input { background-color: #333333 !important; }
.dark .gr-form { border-radius: 0; border-width: 0; }
.dark .gr-check-radio { background-color: var(--inactive_color); border-width: 0; border-radius: 2px; box-shadow: 2px 2px 3px #111111; }
.dark .gr-check-radio:checked { background-color: var(--highlight_color); }
.dark .gr-button { border-radius: 0; font-weight: normal; box-shadow: 2px 2px 3px #111111; font-size: calc(0.9rem / 50 * var(--font_scaler)); min-width: 32px; }
.dark .gr-box { border-radius: 0; background-color: #222222; box-shadow: 2px 2px 3px #111111; border-width: 0; padding-bottom: 12px; }
.dark .dark\:bg-gray-900 { background-color: black; }
.dark .bg-white { color: lightyellow; border-radius: 0; }
.dark fieldset span.text-gray-500, .dark .gr-block.gr-box span.text-gray-500, .dark label.block span { background-color: #222222; padding: 0 12px 0 12px; }
.dark .bg-gray-200, .dark .\!bg-gray-200 { background-color: transparent; }
.gap-2 { padding-top: 8px; }
.border-2 { border-width: 0; }
.border-b-2 { border-bottom-width: 2px; border-color: var(--highlight_color) !important; padding-bottom: 2px; margin-bottom: 8px; }
.px-4 { padding-lefT: 1rem; padding-right: 1rem; }
.py-6 { padding-bottom: 0; }
.overflow-hidden .flex .flex-col .relative col .gap-4 { min-width: calc(10px * var(--left_column)); max-width: calc(10px * var(--left_column)); } /* this is a problematic one */

/* automatic style classes */
.progressDiv .progress { background: var(--highlight_color); border-radius: 2px; }
.gallery-item { box-shadow: none !important; }

/* gradio elements overrides */
#txt2img_settings, #img2img_settings { min-width: calc(10px * var(--left_column)); max-width: calc(10px * var(--left_column)); }
#txt2img_prompt > label > textarea { font-size: calc(1.2rem / 50 * var(--font_scaler)); }
#txt2img_neg_prompt > label > textarea { font-size: calc(1.2rem / 50 * var(--font_scaler)); }
#img2img_prompt > label > textarea { font-size: calc(1.2rem / 50 * var(--font_scaler)); }
#img2img_neg_prompt > label > textarea { font-size: calc(1.2rem / 50 * var(--font_scaler)); }
#txt2img_generate, #img2img_generate, #txt2img_interrupt, #img2img_interrupt, #txt2img_skip, #img2img_skip { margin-top: 10px; min-height: 2rem; height: 63px; }
#txt2img_interrupt, #img2img_interrupt, #txt2img_skip, #img2img_skip { background-color: var(--inactive_color); }
#txt2img_gallery { background: black; }
#tab_extensions table { background-color: #222222; }
#style_pos_col, #style_neg_col, #roll_col { display: none; }
#interrogate_col { margin-top: 10px; }
#txt2img_progress_row > div { min-width: calc(10px * var(--left_column)); max-width: calc(10px * var(--left_column)); }
#save-animation { border-radius: 0 !important; margin-bottom: 16px; background-color: #111111; }
#open_folder { display: none }

Code to get the list of media queries, you might find handy after reading:
Gradio and some a1111 (depends on a1111 injection method)
//Get stylesheets
let ss = gradioApp().styleSheets;
//Push Rules fom each into array
let ssArray = [];
[...ss].forEach( s => ssArray.push(Array.from(s.cssRules)));

//Flatten array
let s = ssArray.flat();

//Filter array for anything that has "@media" and print to console
s.filter( xx => xx.cssText.includes("@media")).forEach( m => console.log(m));

a1111 only
// Get rules from html style tag, expand like array so flatten can work
let cssrules = [...gradioApp().querySelector("style").sheet.cssRules].flat()
cssrules.filter( cssr => cssr.cssText.includes("@media")).forEach( media => console.log(media))

.
.
.
Here's what I know, the buttons in the img2img settings area are defined using these tags, you can use the prefix "img2img_copy_to" to target them [id^=img2img_copy_to].
Next, they try to declare the img boxes to have a certain height in the code, but it doesn't work, I tested it.
.
.

.
.
So they workaround it in the css, but they don't just do the img component, they do every layer associated with it.
.
.

.
.
.
Here it is in a format that's easier to see the different targets:
#img2img_image,
#img2img_image > .h-60,
#img2img_image > .h-60 > div,
#img2img_image > .h-60 > div > img,
#img2img_sketch,
#img2img_sketch > .h-60,
#img2img_sketch > .h-60 > div,
#img2img_sketch > .h-60 > div > img,
#img2maskimg,
#img2maskimg > .h-60,
#img2maskimg > .h-60 > div,
#img2maskimg > .h-60 > div > img,
#inpaint_sketch,
#inpaint_sketch > .h-60,
#inpaint_sketch > .h-60 > div,
#inpaint_sketch > .h-60 > div > img
{
    height: 480px !important;
    max-height: 480px !important;
    min-height: 480px !important;
}

.
.
This is why you have the small image inside the larger one.
.
.
.
Then, to address the grid for mobile, it would need to use media queries to establish different rules. Gradio is following a set common, which a1111 also follows ... mostly.
.
.
.
For testing sizes, I recommend chrome browser developer edition, run in incognito so it doesn't cache, firefox has other handy tools too, so don't descriminate.
https://www.google.com/chrome/dev/
But you can keep your same workflow. I don't know how much extra it really offers. Either way, and you probably do this, you can toggle as if it's a mobile device, some things wont run like a mobile device until a browser refresh, like touch events for example.

.
.
.
.
This is all the media query sizes that gradio and a1111 uses, note that 767 with 768 is not needed if logic is done correctly:
.
.

.
.
.
"(min-width: 640px)"
"(min-width: 768px)"
"(min-width: 1024px)"
"(min-width: 1280px)"
"(min-width: 1536px)"
"(min-width: 992px)"
"(min-width: 1200px)"
"screen and (min-width: 2500px)"
"screen and (min-width: 768px)"
"screen and (max-width: 767px)"

More detail on a 'screen' max-width, now use the codes at the top to print them if you want to poke around:

https://css-tricks.com/a-complete-guide-to-css-media-queries/#aa-anatomy-of-a-media-query

@Gerschel
Do you now where can I get all the IDs and divs the webUI has?
Sometimes I feel that I'm working blinless trying to get the names of the stuff,
With a list maybe I can start to restructure the CSS file, I want to have full control ov everything,. but for that, I need all the names.
Then, start changing everything again, but knowing what I'm doing and in order.
For example, in the CSS files I have code to primary buttons, but also some that modify just the generate buttons (that are primary buttons)
So I want to make a full customization of the primaries and then apply just what I want to the generate one.
but without the full list of things, I'm turning crazy trying to find the names with inspector.
Is there a way to get a full list of EVERYTHING? including the radio stuff?
Thanks.


Added email domain for ecole de turing

Already added ecoledeturing.fr although our students mail addresses use domain ecoledeturing.school.

@Intronirisme Please provide us with a proof, which shows that the school recognizes the domain ecoledeturing.school that you are submitting as an official email domain for the students.
You can provide us with any of the following:

A copy of instruction (a hard-copy or electronic one) given to you by the school that tells you to use an email address in this email domain
An URL of a page at the official school website that says that students use this email domain
A reference to a recognized journal where an article was published by someone from the school, with explicit affiliation to the school, and e-mail address from the email domain
A WHOIS data that link the email domain to the school somehow
A copy of official letter from the school representative saying that the school provides e-mail addresses in this domain to the students
Anything else that can prove this fact in similar way, i.e. can be verified independently.

@Intronirisme You might miss my previous comment. Please react.

Sorry, indeed I didn't saw it.
I am looking forward to find one of the requested proof.


[test] Update cudatoolkit version in GridTools check

Codecov Report

Merging #2005 (9fdbafc) into master (e8c8241) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2005   +/-   ##
=======================================
  Coverage   87.46%   87.46%
=======================================
  Files          50       50
  Lines        8850     8850
=======================================
  Hits         7741     7741
  Misses       1109     1109

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 e8c8241...9fdbafc. Read the comment docs.


Kestrel takes 2-3 seconds to shutdown if any connections have been made

Kestrel is taking 2-3 seconds to shutdown (e.g. after Ctrl-C) if any connections have been made to it. This is causing the development experience in Visual Studio to be poor due to the long time it takes to get the server going again after making a code change.
Repro steps

Start the server
Immediately Ctrl-C to end it without making a request
It exits immediately
Start the server again
Make a request from a browser then close the browser
Ctrl-C the kestrel server
It takes 2-3 seconds for the process to end

by @DamianEdwards

OK, let's investigate what we can do for Beta 8.

@muratg I tested the shalter/247 branch referenced above with the new WTE build. This seemed to reduce the time window where you could get a 502.3 response, but didn't eliminate it completely.
Bill thinks that the change to kill iisexpress on ctrl+f5 could fix the 502.3 issue as well, so I'm waiting on that change before doing any further work on this.

@halter73 Sounds good.  If WTE change can eliminate the need to do this in Beta 8, please move to RC1.

Assigning back to @halter73 as @cesarbs doesn't have cycles currently to work on this.
@halter73 Please look into this when you're in-progress work is done as it's a bad developer experience problem.

Not sure if this is the same bug/related, but kestrel wont respond (at all) to CTRL+C after it has served at least 1 page on OSX + CoreCLR.  If I CTRL+C before serving a page it exits properly.
Mono works fine and exits at any time.
dnx-coreclr-darwin-x<IP_ADDRESS>-rc2-16249

Need for RC2


Remove version: igoogolx.lux version 0.9.0

This version is older than what has been set in max-versions-to-keep by the publisher.
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/igoogolx/lux/releases/download/v0.9.0/lux-0.9.0+0.9.0-windows-setup.exe
Status Code: 200
(Automated message - build 797)


Simplify protoc plugin location

Previously, Model Compiler downloaded the executable Jar with the protoc plugin into the .spine directory. This solution is bad for several reasons. The primary one — as it has been discovered, it does not work with included builds.
In this PR we simplify the process of locating the Jar. Just like before, there are two scripts (for Windows and for *nix), which launch the Jar (via the java CLI tool). Unlike before, those scripts are not Maven artifacts but resources of the Model Compiler. Also, the script resources contain a placeholder for the path to the Jar.
To launch the plugin, Model Compiler resolves a dependency on the executable Jar and writes the appropriate script file into a temporary dir with the path to the resolved Jar. Then, Model Compiler configures the Protobuf Gradle plugin to launch the Spine protoc plugin via the written script file.
The benefit of the new solution is that all the FS paths are absolute, i.e. there is no difference in who requests the plugin: a root project, a subproject or an included build.

@armiol, PTAL.


How can I use it in Windows Docker, which base on Hyper-V

First , thanks for your applications
I want to use it on windows10, but there is no /var/run/docker.sock
So does it have a altenative function to implement the same result, monitoring docker nginx change and automatic to reconfigured and restart the nginx-proxy service.
Thanks again

any info ?
Thanks in advance

docker-gen can also use the standard docker env vars:
DOCKER_HOST - default value for -endpoint
DOCKER_CERT_PATH - directory path containing key.pem, cert.pem and ca.pem DOCKER_TLS_VERIFY - enable client TLS verification
``

If those values are set, it will use them as instead of defaulting to unix socket.

this works for me ;-)
-v //var/run/docker.sock:/tmp/docker.sock:ro


Update docs with to use the new Homebrew formula to install asn

I created and pushed the Homebrew formula to install asn simply running:
brew install asn

For more details: https://github.com/Homebrew/homebrew-core/pull/141539

hey @filippovitale,
thanks a lot for your contribution!
Appreciate it.


Pre-compiled module is missing<EMAIL_ADDRESS>

WARN Pre-compiled module is missing<EMAIL_ADDRESS>WARN Please an file issue at https://github.com/tessel/t2-cli/issues/new with this warning.
WARN
WARN This warning might be caused by one of the following:
WARN
WARN 1. A pre-compiled binary has not yet been built for this module.
WARN 2. The binary didn't compile correctly for the platform that you're developing on.
WARN    Binaries that are Linux-only or even OpenWRT-specific may cause this issue.
WARN    Try to npm install --force the affected module, then rerun your deployment command.
WARN 3. The binary may be platform specific and impossible to compile for OpenWRT.

Looks like mpg123 for mipsel wasn't included in the build config: https://github.com/TooTallNate/node-speaker/blob/master/deps/mpg123/mpg123.gyp#L48-L65


Methods' documentation are left behind

Hi,
When moving methods that contain documentation, the methods move but the documentations stay behind.
A bugfix would be highly appreciated  -Thanks!

Let me know what language you use!

Dart language.
Their documentation comments start with ///
i.e.
/// Some title
///
/// blablabla
void foo() {}
https://dart.dev/effective-dart/documentation

It as well leaves annotations behind. i.e:
@override
void foo(){}


Add a tab showing SMTP command log for each message

It is often useful to debug the actual SMTP conversation, to see if commands are submitted as expected.
It would be nice to a have a new tab (after "HTML", "Plain text" and "Source", but before "Analysis") called "SMTP log", showing the full SMTP log behind that message.

This would be great to see as well!

Hello,
I have added PR https://github.com/sj26/mailcatcher/pull/386 tonight which replaces SMTP Service with MidiSmtpServer. There could be added a seperate Logger class which will log the information into something else.
When the PR makes it into Mailcatcher I may have a look for this issue.
Cheers
Tom


Rails admin act as taggable not showing tags

I have an issue with Rails admin gem and act as taggable gem. I am using heroku. It is just not showing tags, but when i delete tags data and will add new it will show new tags. On localhost it is working too when I delete data from database. It is just blank
field :terrains
field :themes
field :activities
field :title do
  label "Tagline"
end
field :intro do
  label "Overview"
end
field :highlights do
  label "What we love"
end

#2166
try to define a name or a pretty_name method in your Terrain/Activity models
class Terrain < AR
 def pretty_name
   self.name # or self.title or other attribute
 end

 rails_admin do
  object_label_method do
      :pretty_name
    end
 end
end

The newer release does not show the blank box - you'll asked to perform search instead.
a515b37b2959980c60d8878125f6382fd95f9c0e


[question] go 1.22 iterators / rangefunc

Will the templ framework implement the new rangefuncs / iterators from go 1.22?
Not quite sure if it will add any value to the framework as I just recently picked up on using templ, but I guess it could make looping over stuff easier?
Like for instance creating your own multiple custom iterators on structs or custom slice types for different ways of listing out the data?

Seems templ already supports the iter.Seq and iter.Seq2 as looping functions. But could not get it working with the type func(yield func(V) bool) :shrug:

Yes, I wouldn't expect there to be any work for templ to do to support iterators. What you are referring to will be a bug if it is not working, can you provide a reproducible example please?

Closed: no further info provided.


gnome.gnome-autoar: 0.3.2 -> 0.3.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for gnome.gnome-autoar is: "Library to integrate compressed files management with GNOME"
meta.homepage for gnome.gnome-autoar is: ""
meta.changelog for gnome.gnome-autoar is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.3.3 with grep in /nix/store/5v6nrarn9mvb3s3svsnjhnrqbp3ik7ss-gnome-autoar-0.3.3

found 0.3.3 in filename of file in /nix/store/5v6nrarn9mvb3s3svsnjhnrqbp3ik7ss-gnome-autoar-0.3.3

directory tree listing: https://gist.github.com/d026faa45bed28481d1ab6e7c4e45323

du listing: https://gist.github.com/67cfa3395768e021d8dbfeb9cbd9d3f5

Rebuild report (if merged into master) (click to expand)

80 total rebuild path(s)

27 package rebuild(s)

27 x86_64-linux rebuild(s)
26 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
25 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
adapta-gtk-theme
chrome-gnome-shell
dropbox-cli
gnome-recipes
gnome.file-roller
gnome.gnome-autoar
gnome.gnome-control-center
gnome.gnome-session
gnome.gnome-shell
gnome.gnome-terminal
gnome.gnome-tweak-tool
gnome.gnome-tweaks
gnome.gnome-user-share
gnome.gnome_control_center
gnome.gnome_session
gnome.gnome_shell
gnome.gnome_terminal
gnome.nautilus
gnome.nautilus-python
gnome.pomodoro
gnomeExtensions.easyScreenCast
gnomeExtensions.gsconnect
gnomeExtensions.night-theme-switcher
kgx
pantheon.elementary-session-settings
pantheon.extra-elementary-contracts
phosh

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5v6nrarn9mvb3s3svsnjhnrqbp3ik7ss-gnome-autoar-0.3.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gnome.gnome-autoar https://github.com/r-ryantm/nixpkgs/archive/ccb2e3ade14af8b51624ace879a6ce7f481c243f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/5v6nrarn9mvb3s3svsnjhnrqbp3ik7ss-gnome-autoar-0.3.3
ls -la /nix/store/5v6nrarn9mvb3s3svsnjhnrqbp3ik7ss-gnome-autoar-0.3.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

22 packages built:

adapta-gtk-theme
chrome-gnome-shell
dropbox-cli
gnome-recipes
gnome.file-roller
gnome.gnome-autoar
gnome.gnome-control-center
gnome.gnome-session
gnome.gnome-shell
gnome.gnome-terminal
gnome.gnome-tweak-tool
gnome.gnome-user-share
gnome.nautilus
gnome.nautilus-python
gnome.pomodoro
gnomeExtensions.easyScreenCast
gnomeExtensions.gsconnect
gnomeExtensions.night-theme-switcher
kgx
pantheon.elementary-session-settings
pantheon.extra-elementary-contracts
phosh

Maintainer pings
cc @hedning @jtojnar @dasj19 @maxeaubrey for testing.

Seems fine to me.
https://gitlab.gnome.org/GNOME/gnome-autoar/-/blob/0.3.3/NEWS
Major changes in 0.3.3:
* extractor: Fix extraction of one file archives (Ondrej Holy)
* compressor: Fix usage of uninitialized value (Ondrej Holy)

/approve
On Thu, 29 Jul 2021, 00:00 ofborg[bot], @.***> wrote:

@ofborg https://github.com/ofborg[bot] requested your review on: #131888
https://github.com/NixOS/nixpkgs/pull/131888 gnome.gnome-autoar: 0.3.2
-> 0.3.3.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/131888#event-5082718689, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFMEY4UC47ZMBVP3HMBMVLT2B4YLANCNFSM5BFGKKJQ
.


More built-in libraries

animation
collision detection
more?

A set of great libraries has been added in V0.6.0_PRE_03: bump.lua, lume.lua, middleclass.lua


very long strings are cut off

very long strings are cut off and are not fully logged to the console. can I solve this problem somehow?

I'm also running into this.   We have some large JSON payloads that we're logging when we get them.  They log to files just fine but the xcode console truncates them so it's hard to see what is coming through the network when debugging.
Is there something that controls this truncation?  I was looking through the code and couldn't find anything.


Failing tests on master

Tests are failing on master:

Running "karma:unit" (karma) task
[...]
PhantomJS 1.9.8 (Linux) ERROR
SyntaxError: Parse error
at /home/travis/build/marmelab/ng-admin/src/javascripts/ng-admin/es6/lib/View/ListView.js:36

It seems to occur only on Travis.

It's trying to parse an ES6 file...
I've rebuilt the .min files, let's see if it fixes the problem.

Tests are still failing. I'm looking at it.

Fixed in #361


Add resistor-color version

This exercise is already synced with the latest canonical-data, but a version (#688) is missing.

Merging this as it's just a version file and checks passed.


Does it automatically use Java code before compiling to machine code or do I have to do something manually?

Hi, I  wanted to know does this crate automatically use Java code before compiling to machine code or do I have to do something manually like call something through Java?

No Java code is involved, Android native activities only need a library (.so) and AndroidManifest.xml. Under the hood Android itself has a Java NativeActivity class that loads and calls into this library.
As per the README all you need is cargo apk build (and a valid NDK toolchain installed).


Implement blocking inlining for kwcall with rule

@wsmoses
using Enzyme
using Enzyme.EnzymeRules

import .EnzymeRules: forward

function f_kw(x; kwargs...)
    x^2
end

function forward(::Const{typeof(f_kw)}, ::Type{<:DuplicatedNoNeed}, x::Duplicated; kwargs...)
    # @show kwargs
    return 10+2*x.val*x.dval
end

@show autodiff(Forward, f_kw, Duplicated(2.0, 1.0))[1] ≈ 14.0

# TODO: autodiff wrapper with kwargs support

g(x, y) = f_kw(x; val=y)
@show autodiff(Forward, g, Duplicated(2.0, 1.0), Const(42.0))[1] ≈ 14.0

Can you look at the calling convention mismatch?

JULIA_DEBUG=Enzyme julia --project -L kwtest.jl
[ Info: Precompiling Enzyme [7da242da-08ed-463a-9acd-ee780be4f1d9]
┌ Debug: Found frule for
│   mi.specTypes = Tuple{typeof(f_kw), Float64}
└ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/kb6yJ/src/utils.jl:50
┌ Debug: Trying to apply custom forward rule
│   TT = Tuple{Const{typeof(f_kw)}, Type{DuplicatedNoNeed{Float64}}, Duplicated{Float64}}
│   isKWCall = false
└ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/kb6yJ/src/utils.jl:50
┌ Debug: Applying custom forward rule
│   TT = Tuple{Const{typeof(f_kw)}, Type{DuplicatedNoNeed{Float64}}, Duplicated{Float64}}
└ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/kb6yJ/src/utils.jl:50
(autodiff(Forward, f_kw, Duplicated(2.0, 1.0)))[1] ≈ 14.0 = true
┌ Debug: Blocking inlining due to frule
│   mi.specTypes = Tuple{typeof(Core.kwcall), NamedTuple{(:val,), Tuple{Float64}}, typeof(f_kw), Float64}
└ @ Enzyme.Compiler.Interpreter ~/.julia/packages/GPUCompiler/kb6yJ/src/utils.jl:50
┌ Debug: Found frule for
│   mi.specTypes = Tuple{typeof(Core.kwcall), NamedTuple{(:val,), Tuple{Float64}}, typeof(f_kw), Float64}
└ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/kb6yJ/src/utils.jl:50
┌ Debug: Trying to apply custom forward rule
│   TT = Tuple{NamedTuple{(:val,), Tuple{Float64}}, typeof(forward), Const{typeof(f_kw)}, Type{DuplicatedNoNeed{Float64}}, Duplicated{Float64}}
│   isKWCall = true
└ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/kb6yJ/src/utils.jl:50
┌ Debug: Applying custom forward rule (kwcall)
│   TT = Tuple{NamedTuple{(:val,), Tuple{Float64}}, typeof(forward), Const{typeof(f_kw)}, Type{DuplicatedNoNeed{Float64}}, Duplicated{Float64}}
└ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/kb6yJ/src/utils.jl:50
┌ Error: ("Calling convention mismatch", [1 x double] addrspace(11)*,   %10 = addrspacecast [1 x [1 x double]] addrspace(10)* %9 to [1 x [1 x double]] addrspace(11)*, !dbg !9, 1, define double @julia_kwcall_1979([1 x double] addrspace(11)* nocapture nofree noundef nonnull readnone align 8 dereferenceable(8) %0, [2 x double] addrspace(11)* nocapture nofree noundef nonnull readonly align 8 dereferenceable(16) %1) #6 !dbg !35 {
│ top:
│   %2 = call {}*** @julia.get_pgcstack()
│   %3 = getelementptr inbounds [2 x double], [2 x double] addrspace(11)* %1, i64 0, i64 0, !dbg !36
│   %4 = getelementptr inbounds [2 x double], [2 x double] addrspace(11)* %1, i64 0, i64 1, !dbg !36
│   %5 = load double, double addrspace(11)* %3, align 8, !dbg !42, !tbaa !50, !invariant.load !8, !alias.scope !54, !noalias !57
│   %6 = fmul double %5, 2.000000e+00, !dbg !42
│   %7 = load double, double addrspace(11)* %4, align 8, !dbg !62, !tbaa !50, !invariant.load !8, !alias.scope !54, !noalias !57
│   %8 = fmul double %6, %7, !dbg !62
│   %9 = fadd double %8, 1.000000e+01, !dbg !63
│   ret double %9, !dbg !41
│ }
│ )
└ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/kb6yJ/src/utils.jl:50

I think the code around here will need help: https://github.com/EnzymeAD/Enzyme.jl/blob/f3d2868c6f17532cefd015a12020fe082e40e11d/src/compiler.jl#L3119

@vchuravy I fixed your test to work properly now. I will note something: currently we assume that both the original funnction, and custom rule have the same kwarg behavior (eg both have or both don't have). Handling the other combos is also likely to be necessary.

Can we have a test that tests the "active kwarg not handled". Say by returning x*val?

@vtjnash do you have a hint for how we could implement kwfunc detection on 1.7 & 1.8?

Codecov Report
Patch coverage: 26.51% and project coverage change: -7.95 :warning:

Comparison is base (74e9bf5) 71.97% compared to head (8816b60) 64.03%.

:exclamation: Current head 8816b60 differs from pull request most recent head 08ef86f. Consider uploading reports for the commit 08ef86f to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #638      +/-   ##
==========================================
- Coverage   71.97%   64.03%   -7.95%
==========================================
  Files          18       18
  Lines        6758     6567     -191
==========================================
- Hits         4864     4205     -659
- Misses       1894     2362     +468

Impacted Files
Coverage Δ

src/compiler.jl
64.67% <24.86%> (-8.08%)
:arrow_down:

src/compiler/interpreter.jl
25.77% <35.29%> (-31.37%)
:arrow_down:

... and 12 files with indirect coverage changes
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 in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Tensor.masked_fill_(mask, value)  missing

Tensor. masked_ fill_ And Tensor.masked_fill is two different methods
import torch

torch.manual_seed(2022)

tensor = torch.randn(4, 4)
tensor2 = torch.randn(4, 4)
mask = torch.zeros(4,4)

# build mask
for index, data in enumerate(range(3, -1, -1)):
    mask[index, data: ] = 1
# convert bool
mask = mask.bool()
tensor.masked_fill_(mask, -float('inf'))
print(tensor)
tensor2.masked_fill(mask, -float('inf'))
print(tensor2)

out
tensor([[-0.9788, -1.5154, -0.8222,    -inf],
        [ 0.0716, -0.0872,    -inf,    -inf],
        [ 0.2230,    -inf,    -inf,    -inf],
        [   -inf,    -inf,    -inf,    -inf]])
tensor([[-1.1104,  1.1890,  1.3730,  0.4915],
        [ 0.3579, -0.1685, -0.8579, -1.0574],
        [ 0.8460,  1.5126,  0.0289, -0.1584],
        [ 1.8371,  0.6688, -1.7776,  0.0020]])

torch.nn.functional.interpolate  missing

torch.softmax(Tensor tensor, long dim)   missing
torch.gather(input, dim, index, *, sparse_grad=False, out=None)    missing
torch.jit.annotate(the_type, the_value)   missing
torch.triu(input, diagonal=0, *, out=None)    missing

torch.nn.functional.interpolate missing

I find it in [Vision.cs, line 209[( https://github.com/dotnet/TorchSharp/blob/2230dec43027443201a5bdced240e5f11ee71dc7/src/TorchSharp/NN/Vision.cs#L209)
Is there another version you are looking for?

torch.softmax(Tensor tensor, long dim) missing

torch.nn.functional.softmax() is present, but torch.special.softmax() is missing. I presume it's the latter you're looking for?

torch.nn.functional.softmax() is present, but torch.special.softmax() is missing. I presume it's the latter you're looking for?

yes

torch.nn.functional.interpolate missing

I find it in [Vision.cs, line 209[( https://github.com/dotnet/TorchSharp/blob/2230dec43027443201a5bdced240e5f11ee71dc7/src/TorchSharp/NN/Vision.cs#L209)
Is there another version you are looking for?

Thank you. I was wrong.

torch.nn.functional.softmax() is present, but torch.special.softmax() is missing. I presume it's the latter you're looking for?

yes


urllib2  for python3 is duplicate

i think you guys need to update your code to run on python 3.x

like changing import urllib2 ;)
and add the () in the print hostlist -> print (hostlist) //i'm not really sure of this one

@silentcontrole
i made the code to work with pytohn3
but dont know how to merge with original version
i think its better to have two versions
one for who works on Python2.7
others who works on python3
check it out
https://github.com/R3DDY97/KICKthemOUT3


Remove version: Twilio.Authy version 2.2.3

:warning: End of Life
Twilio Authy Desktop has reached EoL status on 2024/03/19.

Resolves #164172

Microsoft Reviewers: Open in CodeFlow

URL: https://pkg.authy.com/authy/stable/2.2.3/win32/x64/Authy Desktop Setup 2.2.3.exe
OK
(Automated message - build 912)

URL: https://pkg.authy.com/authy/stable/2.2.3/win32/x64/Authy Desktop Setup 2.2.3.exe
Status Code: 200
(Automated message - build 887)

https://github.com/microsoft/winget-pkgs/issues/142854


Add Terraform Cloud to vendors

Supercedes #56, #94, #159.

Hey @ineffyble, @nicgrayson, @wookasz and @allensallinger,
Thank you for your contribution! I just integrated your PR into https://github.com/ssotax/ssotax as this repository was not maintained for a long time. Your changes are in https://github.com/ssotax/ssotax/commit/9fa62dbac75b2339b6dba1a669c5fce603c1229c.
You find the new page under https://ssotax.org/.  I also made a few improvements based on community feedback like showing free SSO providers. Feel free to share your feedback!


update blockifier

closes https://github.com/NethermindEth/juno/issues/1707
Upgrade the compiler and blockifier dependencies (cairo 2.6.0 / blockifier 0.5.0)
Note: starknet_api also needed to be upgraded to work with the updated cairo-lang-X /blockifier deps

Note: there's a still a few todos, but it would be useful to get some input on them. Eg should we add new parameters to the Call/Execute functions?

https://github.com/NethermindEth/juno/pull/1708/files#diff-8d744605e0447372940512f1f0ce8f36115ad8adf80941e0eb201bb7697d76b8R417
We need to pass "L1 data gas consumed" to go side as well.

0d6ae1f breaks TestV1Call for some reason?
Failed to read from state: error parsing JSON string for class hash 0x01338d85d3e579f6944ba06c005238d145920afeb32f94e3a1e234d21e1e9292.

Closing in favor of #1728


fix: implement add use client to all sds components

Summary
All SDS Components
Github issue: #814
We nee to add "use client"; in all SDS component files, so projects don’t have to do that manually themselves like here:
https://github.com/czbiohub-sf/CZBSF-Metadata-Tracker-refactor/pull/82#discussion_r1684929746

Thanks so much for adding this, @masoudmanson !
Sorry for just realizing this, but it seems like in this thread, we might be able to mark the exported modules with "use client" automagically by doing this in rollup config!
rollup/rollup#4699 (comment)
And if we ever need to selectively apply "use client" in just some files, there's a plugin for that now too 😄
rollup/rollup#4699 (comment)

OMG nooo 😯😱🤣
This is so embarrassing! I should have checked it myself! I thought we actually needed to add the directive on top of every single component 😬
Thank you for digging that up, it really makes a huge difference 🥳🎉🤩
I'll leave this PR here and create a new one with the rollup changes.

Thanks so much for adding this, @masoudmanson !
Sorry for just realizing this, but it seems like in this thread, we might be able to mark the exported modules with "use client" automagically by doing this in rollup config!
rollup/rollup#4699 (comment)
And if we ever need to selectively apply "use client" in just some files, there's a plugin for that now too 😄
rollup/rollup#4699 (comment)

OMG nooo 😯😱🤣 This is so embarrassing! I should have checked it myself! I thought we actually needed to add the directive on top of every single component 😬 Thank you for digging that up, it really makes a huge difference 🥳🎉🤩 I'll leave this PR here and create a new one with the rollup changes.

Ahaha I thought we had to manually add it ourselves too, so I probably misled you 😆 🤦 !! Thanks so much for creating a new PR!! 😂

H


[Update Request]: Avidemux.Avidemux 2.8.1

What type of update are you requesting?
A new version of an existing package
Current Package Identifier
Avidemux.Avidemux
Package Version
2.8.1
Please describe the changes you would like to see
https://github.com/mean00/avidemux2/releases/tag/2.8.1

[!WARNING]
Close with reason: https://github.com/microsoft/winget-pkgs/labels/Blocking-Issue https://github.com/microsoft/winget-pkgs/labels/Interactive-Only-Installer

See https://github.com/microsoft/winget-pkgs/issues/148012#issuecomment-2041286415
Previous failed attempt, see #167336

01:47:45 D:\...\winget-pkgs  [master ≡ +1 ~0 -0 !] 14ms pwsh> C:\Users\Dragon1573\Downloads\Avidemux.Avidemux_2.8.1\Avidemux_2.8.1_X64_nullsoft_en-US.exe --version
IFW Version: 3.0.6, built with Qt 5.9.5.
Build date: Dec 11 2018
Installer Framework SHA1: 19b0bb9

In previous version v<IP_ADDRESS>109, a Nullsoft installer wizard avidemux_2.8.0_win64.exe is provided. But in this version, the Nullsoft installer wizard is missing.
01:53:12 D:\...\winget-pkgs  [master ≡ +1 ~0 -0 !] 1ms pwsh> komac show --installer-manifest Avidemux.Avidemux
PackageIdentifier: Avidemux.Avidemux
PackageVersion: <IP_ADDRESS>109
Platform:
- Windows.Desktop
InstallerType: nullsoft
InstallModes:
- interactive
- silent
InstallerSuccessCodes:
- 1223
UpgradeBehavior: install
ReleaseDate: 2022-01-10
Installers:
- Architecture: x64
  InstallerUrl: https://github.com/mean00/avidemux2/releases/download/2.8.0/avidemux_2.8.0_win64.exe
  InstallerSha256: 5B3AEABEAAD29B785C76C87536054AD3C98618037E9E43812543CB555405E894
  ProductCode: Avidemux 2.8 - 64 bits (64-bit)
ManifestType: installer
ManifestVersion: 1.4.0

Hi @eumagga0x2a, can you weigh-in on this ?

Hi @mean00, would it be possible for you to weigh-in on this ?

in case it helps, the visual c++ builds are packaged using qt installer
( https://doc.qt.io/qtinstallerframework/ )


Several changes on compoz

add combination key to trigger undo & redo action, but this action still in progress
add onchange listener
refine onchangeheight which triggered on frontend project

Creating draft should use timer not based on changes on compoz.  For example, for every 20 seconds, update the draft content if only if the new content has changes. Pseudo code,
prevContent := ""
setInterval(function() {
   newContent := compoz.getContent()

   if newContent != prevContent {
      // call update draft API
      prevContent = newContent
   }
} , 20000),

I have made several changes according to your suggestions. Please check it again. Thank you. @shuLhan

I think you should test this on local.  Run npm run start and open the browser at localhost:8080.
How to tests:

Select all (ctrl+a)
delete all content (wait for 3 seconds, content should be "")
insert "a" (wait 3 seconds, content should be "a")
insert "b" (wait 3 seconds,  content should be "ab")
ctrl+z (content should be "a")
ctrl+z (content should be "")
ctrl+z (content should be "this is ... ")
ctrl+y (content should be "")
ctrl+y (content should "a")
ctrl+y (content should "ab")
11 .ctrl+z (content should "a")
12 .ctrl+z (content should "")
ctrl+z (content should be "this is ... ")
ctrl+y (content should be "")

and so on...

Okay Kak @shuLhan, I'll test it in another branch. Thank you


[Bug]: Passing Uri into android.intent.extra.STREAM cause an exception

Platform
Android 11
Plugin
android_intent_plus
Version
3.1.1
Flutter SDK
3.0.1
Steps to reproduce
According to Instagram documentation, the following code snippet should be able to pass Uri of image to Instagram Feed Post intent. But it caused an exception: Argument Error.
final intent = AndroidIntent(
      action: 'action_send',
      type: 'image/*',
      arguments: {'android.intent.extra.STREAM': file.uri}, // <- file is an instance of File
    );
    intent.launchChooser('Share to');

Logs
Exception has occurred.
ArgumentError (Invalid argument: Instance of '_Uri')

Flutter Doctor
[√] Flutter (Channel stable, 3.0.1, on Microsoft Windows [Version 10.0.19044.1706], locale en-US)
    • Flutter version 3.0.1 at D:\Tools\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fb57da5f94 (2 weeks ago), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2

[√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at C:\Users\<User>\AppData\Local\Android\sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[√] VS Code (version 1.67.2)
    • VS Code at C:\Users\<User>\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.42.0

[√] Connected device (4 available)
    • SHARK PRS H0 (mobile) • e56a9b65 • android-arm64  • Android 11 (API 30)
    • Windows (desktop)     • windows  • windows-x64    • Microsoft Windows [Version 10.0.19044.1706]
    • Chrome (web)          • chrome   • web-javascript • Google Chrome 102.0.5005.63
    • Edge (web)            • edge     • web-javascript • Microsoft Edge 102.0.1245.30

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Can you post the full error log?
My understanding is that you are mixing Dart code and Java code. You are sending a Dart URI object to the Java native side, and the Java native side doesn't support it.
I'd suggest you to look into either submitting a PR that supports that type of argument or looking into implementing that natively.
Take a look at: https://github.com/fluttercommunity/plus_plugins/blob/8252a3ff7a1f2a99d04c6f05ad0cdbba6cd67f11/packages/android_intent_plus/android/src/main/java/dev/fluttercommunity/plus/androidintent/MethodCallHandlerImpl.java#L133


Remove OCMock

Better ways to test, mocks are fragile
8.0 refactor will make testing even easier

done. 6f90c0e93a626b9557ce89c460a1a49598825466


Update DarkTheme.css

close [PE-D] Font error

Codecov Report

Merging #192 (fd3fb72) into master (4515eb8) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #192   +/-   ##
=========================================
  Coverage     45.25%   45.25%
  Complexity      470      470
=========================================
  Files           115      115
  Lines          2457     2457
  Branches        273      273
=========================================
  Hits           1112     1112
  Misses         1279     1279
  Partials         66       66

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 4515eb8...fd3fb72. Read the comment docs.


[ARCTIC-1691] Fix file count/size and quota occupation is 0 when in pending optimizing status

Why are the changes needed?

fix #1691
Brief change log

get file count and size from pendingInput when optimizing status is ending
fix quota occupation is zero
persist pending_input into sysdb
rename JsonSummaryConverter to JsonObjectConverter

How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before making a pull request

Documentation

Does this pull request introduces a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

I am considering the necessity of storing PendingInput in the system database. With the optimizing plan process to upgrade, PendingInput is highly likely to undergo frequent structural changes, which may bring compatibility risks with old data.
In my opinion, PendingInput itself is designed to optimize the planning process. It is not necessary to persist. In other words, when AMS restarts, it may be more appropriate for the table in the original Pending state to directly enter the Idle state.

I am just trying to fix an edge case where the file size/count in Pending status becomes 0 after restarting AMS. Even worse, in this situation, pendingInput will remain 0 if there are no new writes to the table.


Support for new Material You guidelines

Feature request type
Enhance component
Component name
MudThemeProvider
Is your feature request related to a problem?
No response
Describe the solution you'd like
The new material design 3 (also called Material You) looks modern and fresh. So, it is a good idea to extend support the new design guidelines. And I feel that it would be lot nice if people were given an option to switch to any design guideline, through theme provider. I expect atleast the new design components comes out as separate library if there is any breaking changes in guidelines. Also expecting easy switching between the guidelines.
Have you seen this feature anywhere else?
I haven't browsed any other libraries for this, atleast at the time of writing
Describe alternatives you've considered
No response
Pull Request

[x] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

We will probably offer a theme that can be applied to use Material 3. But Material 3 is still not done. There are only guidelines for a few components out. We will wait until the guidelines are ready

Any updates? M3 was released https://m3.material.io

Is there any update?

Is there already a statement on whether or not the M3 theme will be implemented?

I myself don't have too much time lately. And if no one else is willing to do the changes, yes we will stick to material 2. But imo we shouldn't adapt the new style completely. We should rather develop a unique mud-style that is inspired by material design. I prefer some things like the new m3 switches for example over the old ones. But I am personally not a fan of round buttons. So, imo we should adapt a mix between different styles and then allow an easy customizability through themes

M3 is M3. With all of its parts. No matter how much they are liked or not. So what you're basically saying is "No, MudBlazor will not support M3" as it is defined and released.

Well, currently Mud also doesn't strictly follow m2 design. The plan was to support m3 through theming. At least that's what Garderoben had in mind a few months ago. But nothing is set in stone. MudBlazor is largely driven by the community. If there is a large consensus about something, we will of course handle it differently.

That's sadly not the answer I had hoped for, but it is an answer nonetheless. In that case when one would want Material 3 the only option will be to migrate away from MudBlazor to either self-implement M3 or look for something else that implements it.

Like I said, if no one is willing to do the changes to support m3 and m3 is an absolute requirement for you, then yes that's your only option at the moment

Mudblazor will still stick m2 or are there any plans for m3?

I'm currently evaluating libraries and while M3 is not a strict requirement, if I find a good library that implementes M3 then I'll use that one. Otherwise, MudBlazor looks like a clear winner to me. I personally would like to have support for M3 though.

This is too much work for now for v7 or event v8.
We don't have enough people that can work on this productively. If community is not going to provide a significant help - I don't see it coming in near future.
FYI: @henon, @danielchalmers

If we add M3 support it would have to be in parallel to the current design. So first we need to add the structures to enable switching themes and find out how we can make it efficient so that apps only using M2 don't have to load all other themes as well.
That solved we could start working on M3 as long as somebody is willing to spend time on it. We could mark M3 support as experimental as long as it is not yet complete. So basically all other components than the worked ones will still display the old way.
Once we have v7 out of the way (end of April) somebody who wants to contribute and tackle M3 can start to work this.


Check Options interfaces for properties that should be optional

Check NavigationOptions, NavigationNavigateOptions, NavigationReloadOptions, and NavigationTransitionWhileOptions to see if their properties should be marked as optional.

These have now been made optional.


Add documentation for how to test a project that uses simple-env

Pre-requisites:

[x] Yes, I looked through both open and closed issues looking for what I needed

Feature Description

When a user incorporates simple-env within their project, tests can get complicated and might fail in CI pipelines. We should add some documentation to show users how to best test the project via jest.

@SpencerKaiser Can you read this in the notification?

@SpencerKaiser Can you read this in the notification?

@johnkahn did you get a notification for this?

@johnkahn did you get a notification for this?

@SpencerKaiser Did you get notified?

@SpencerKaiser Did you get notified?

@johnkahn sure did! How about you?

@johnkahn sure did! How about you?

@johnkahn make sure to include documentation for how to use the __mocks__ directory


cmake error on POWER9 due to recent  utils.cmake check

-- Reading vars from /home/r/code/tmp/ORG/OpenBLAS/kernel/power/KERNEL.POWER9...
CMake Error at cmake/utils.cmake:66 (if):
if given arguments:
"STREQUAL" "__ORDER_BIG_ENDIAN__"

Unknown arguments specified
Call Stack (most recent call first):
kernel/CMakeLists.txt:16 (ParseMakefileVars)
kernel/CMakeLists.txt:572 (build_core)
-- Configuring incomplete, errors occurred!
See also "/home/r/code/tmp/ORG/OpenBLAS/CMakeFiles/CMakeOutput.log".

@martin-frbg  Looks like there are new checks added in commit e7bbdfdf84419254743d2f4e7c09d1333e5b38ba.  Can this help?
diff --git a/getarch.c b/getarch.c
index c173d58b..c986e43b 100644
--- a/getarch.c
+++ b/getarch.c
@@ -1364,6 +1364,8 @@ int main(int argc, char *argv[]){
printf("BYTE_ORDER=ORDER_BIG_ENDIAN\n");
#elif defined(BIG_ENDIAN) && BIG_ENDIAN > 0
printf("BYTE_ORDER=ORDER_BIG_ENDIAN\n");
+#else
+printf("BYTE_ORDER=ORDER_LITTLE_ENDIAN\n");
#endif
#if defined(_CALL_ELF) && (_CALL_ELF == 2)
printf("ELF_VERSION=2\n");

Ah sorry, looks like I committed another half-baked solution there. While your suggestion will certainly fix the issue at hand, I guess I should look into making the cmake function more robust against missing arguments in comparisons. (At least I think I checked that the conditionals in KERNEL.POWER9 are handled correctly by gmake even when BYTE_ORDER is undefined)

Also with the above workaround ..  noticed sgemm_otcopy is not compiled...(ONLY with cmake)
[ 28%] Building ASM object kernel/CMakeFiles/kernel.dir/CMakeFiles/dgemm_kernel.S.o
[ 28%] Building C object kernel/CMakeFiles/kernel.dir/CMakeFiles/sgemm_incopy.c.o
[ 28%] Building ASM object kernel/CMakeFiles/kernel.dir/CMakeFiles/sgemm_itcopy.S.o
[ 28%] Building C object kernel/CMakeFiles/kernel.dir/CMakeFiles/sgemm_oncopy.c.o
[ 28%] Building C object kernel/CMakeFiles/kernel.dir/CMakeFiles/sgemm_beta.c.o
[ 28%] Building ASM object kernel/CMakeFiles/kernel.dir/CMakeFiles/strmm_kernel_RN.S.o
which resulted in
[ 98%] Linking C executable openblas_utest
../lib/libopenblas.a(sgemm_nt.c.o): In function sgemm_nt': sgemm_nt.c:(.text+0x42c): undefined reference to sgemm_otcopy'
../lib/libopenblas.a(sgemm_thread_nt.c.o): In function inner_thread': sgemm_thread_nt.c:(.text+0x658): undefined reference to sgemm_otcopy'
../lib/libopenblas.a(sgemm_tt.c.o): In function sgemm_tt': sgemm_tt.c:(.text+0x42c): undefined reference to sgemm_otcopy'
../lib/libopenblas.a(sgemm_thread_tt.c.o): In function inner_thread': sgemm_thread_tt.c:(.text+0x658): undefined reference to sgemm_otcopy'
../lib/libopenblas.a(spotrf_L_single.c.o): In function spotrf_L_single': spotrf_L_single.c:(.text+0x3c8): undefined reference to sgemm_otcopy'
../lib/libopenblas.a(spotrf_L_single.c.o):spotrf_L_single.c:(.text+0x4d0): more undefined references to `sgemm_otcopy' follow
collect2: error: ld returned 1 exit status
make[2]: *** [utest/openblas_utest] Error 1
make[1]: *** [utest/CMakeFiles/openblas_utest.dir/all] Error 2
Checking where sgemm_otcopy  entry is missing...

Hm, weird as there are no further gmake-style conditionals in KERNEL.POWER9 once it gets past the endianness check. Haven't experimented with cmake on POWER as much as on ARMV8 (where conditionals in the KERNEL files are much more prevalent as well)

Figured out it is due to extra space at the end of line (SGEMMOTCOPY) in KERNEL.POWER8 and KERNEL.POWER9.. I will open a separate PR for that...It could be due to GenerateNamedObjects() in utils.cmake not allowing filename with space at the end.


Fixing code snippet

Fixing code snippet under "Easy: In your non-React website, run Web Chat inline" section. Replaced "secret" with "token" as writing it as "secret" never works.

Thank you for your submission. I'm sorry we didn't give feedback in a timely manner. Unfortunately this PR is outdated from the v4 code base, so I am closing.


module set up steps in Protocol upload flow

provide instructions / a guide for users to set up their modules on their deck, aside from "put them on the deck"
design work needed
TC: need to ensure the lid is open for robot movement, and need to make sure the latch is engaged after putting labware inside.
Mag: clamp needs to be engaged
H/S: tbd but will require module setup + labware setup steps

for now, we only need to guide users for the mag module. we will need to revist and perhaps adjust these designs when we do h/s work.
https://opentrons.atlassian.net/browse/UX-3
https://www.figma.com/file/JCQNOTTK9tTmYPhRqeOfSj/Labware-Calibration?node-id=3283%3A10013


How can I hide the summary text on top of pivotUI

See it circled in red in the picture. How can I hide that?

Hi,
It took a bit of delay after the rendering. A direct chain did not work for me
$("#myPivot").pivotUI(data, {
renderers: renderers,
cols: ["item"], rows: ["color"], vals: ['count'],
aggregatorName: 'Integer Sum',
aggregator: sum(intFormat)(["count"]),
rendererName: "Stacked Bar Chart"
}).ready(function (){
setTimeout(function (){
$('td.pvtRendererArea').find('p').html('My custom text');}, 10);
});

Great library, thanks @nicolaskruchten


How to submit the post/send the form data to mail.php

sir your forms are grate and its nice but i have one problem i am using simple contact form which post the data to mail.php page to submit the data but the conventional form is not submitting the data please help...
Sample code of my form:
<form role="form" action="mail.php" method="POST" id="my-form-element" cf-form>  Name  <input type="text" placeholder="" name="name" id="name" class="form-control" required> Email <input type="email" placeholder="" name="email" id="email" class="form-control" required> Phone <input type="text" name="phone" id="phone" class="form-control" required> <button class="btn btn-info" type="submit">Submit</button>  <button class="btn btn-info" type="reset" >Clear</button>  </form>

@smacbca Have a look at issue #223 which also relates to form submitting. If you need more help please submit a code example including JS - preferably on GitHub or CodePen.