Visual appearance -  static dark blue block at the main MagicMirror's screen

When running MMM-Volume, I am getting the static dark blue block on my main MagicMirror's screen - see the screenshot https://github.com/sergge1/bugs/blob/master/MMM-Volume/volume.png
May be this relates to my previous issues #13
Extract from config.js

{
	module: "MMM-Volume",
	disabled: false,
	position: "top_left", // It is meaningless. but you should set.
	config: {
		usePresetScript: "ALSA", // "ALSA" is supported by default.
		volumeOnStart: 4,
	}
},

**Environment:**

Raspbian version

pi@raspberrypi:~/MagicMirror $ cat /etc/os-release
>PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
>NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian

Linux core

pi@raspberrypi:~/MagicMirror $ uname -a
Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux

Hardware model

pi@raspberrypi:~/MagicMirror $ cat /proc/device-tree/model
Raspberry Pi 3 Model B Plus Rev 1.3

Node and NPM version

pi@raspberrypi:~ $ node -v v10.18.1
pi@raspberrypi:~ $ npm -v 6.13.4

Audio devices

pi@raspberrypi:~/MagicMirror $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 7/7
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 IEC958/HDMI [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: ALSA [bcm2835 ALSA], device 2: bcm2835 IEC958/HDMI1 [bcm2835 IEC958/HDMI1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Device_1 [USB Audio Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Before you post issue, try this first

Confirm you have completed installation with instruction
Confirmed
Copy your content of config.js and paste it into http://esprima.org/demo/validate.html to check whether you have syntax error or not. If there might be errors, usually your issue will be solved by fix those errors.
Confirmed
If you are using pm2 to execute MM, stop pm2 (pm2 stop mm) then execute npm start dev on your MagicMirror directory. It will show front-end log on dev-console of MM, and back-end log on your shell terminal. Both logs are needed to examine.
Confirmed. PM2 is not used

It has the same cause with issue #13, so I'll close this.


Fat jar with REGEXP and other common extensions?

Hi,
I'm the author of qStudio an SQL IDE for data analysts that includes drivers for sqlite: https://www.timestored.com/qstudio/
Currently I embed https://github.com/xerial/sqlite-jdbc but users have raised an issue with REGEXP missing (https://github.com/timeseries/qstudio/issues/50) .
THis issue has been raised 4 times on your repo: https://github.com/xerial/sqlite-jdbc/issues?q=is%3Aissue++regexp
Would you consider releasing a "Fat" JDBC driver with REGEXP and other standard calls?
Alternatives

I create a bundle or add REGEXP for qStudio. -> can't as we support 30+ databases and I can't support them to that level.
Let the user bring their own jar -> this is currently possible in qStudio but 90% of users don't have the skills to add it. 99% don't have the skill to build such a jar.
?

it's already supported as user functions, it won't be added as default. If REGEXP is really necessary, it should be requested at SQLite and added in the C code.


Not hole-punchable after restarting Beaker

To Reproduce
Steps to reproduce the behavior:

Launch Beaker
Wait a minute
Click on the network button
Quit Beaker (including the daemon)
Wait 10 seconds
Start Beaker again
Wait a minute
Click on the network button

Expected behavior
Hole-punchable: Yes on both sessions.
Actual behavior
Hole-punchable: Yes on first session. Hole-punchable: No on the second session.
Desktop (please complete the following information):

OS: macOS 10.15.4
Bro’: Beaker 1.0.0-pr1

Additional context
The macOS application firewall is turned on. Beaker and the daemon are allow-listed. Restarting Beaker or indeed the device doesn’t restore the functionality. Quitting Beaker and the daemon for about an hour seems to resolve it.

I'm going to bring @mafintosh in on this one. It's possible it's mis-reporting (we've seen some bugs where beaker's notice doesnt align with what hyperdrive status says) but maf, do you know if restarting might cause hole-punching to report as missing?

I have seen something similar on my cloud instance, which is holepunchable 100% of the time, so I'll try to investigate this a bit more.


jumpiness on click interactions / impossible to know which tile to query based on loading state

Interaction is being removed in 2.0: #112


Too Slow rendering of both steering and car video.

Can someone help?

你好 你的方向盘可以转动吗？我这里遇到了问题 方向盘一开始转动一下 然后就是保持静止不动了

yes my steering wheel is turning but its very slow


Fix archive butterbar v17.03

Fixes #4837 for 17.03

@johndmulhausen I am not sure why the Jenkins job failed. @seemethere any ideas?

@mstanleyjones Appears like it has to do with this line:
https://github.com/mstanleyjones/docker.github.io/blob/c849a0eff43d17fed6fdc5889c8a8579580a6676/Jenkinsfile#L18
There doesn't appear to be a Dockerfile in tests/ directory

Hmm that's so strange, the base branch doesn't include the tests/Dockerfile either. Did this run before?

Looks like something got screwed up in archiving. I am working on finding the root cause now.

Jenkins failed due to upstream changes we are waiting for in docker/distribution... Merging.


Ghost atoms with custom basis are not marked as ghost

Calculations crash for heavy atoms
  File "/wrk/users/jzlehtol/pyscf/pyscf/lib/misc.py", line 601, in aliased_fn
    return getattr(self, fname)(*args, **kwargs)
  File "/wrk/users/jzlehtol/pyscf/pyscf/scf/hf.py", line 1638, in scf
    conv_check=self.conv_check, **kwargs)
  File "/wrk/users/jzlehtol/pyscf/pyscf/scf/hf.py", line 122, in kernel
    dm = mf.get_init_guess(mol, mf.init_guess)
  File "/wrk/users/jzlehtol/pyscf/pyscf/scf/hf.py", line 1571, in get_init_guess
    dm = self.init_guess_by_atom(mol)
  File "/wrk/users/jzlehtol/pyscf/pyscf/scf/hf.py", line 1527, in init_guess_by_atom
    return init_guess_by_atom(mol)
  File "/wrk/users/jzlehtol/pyscf/pyscf/scf/hf.py", line 462, in init_guess_by_atom
    atm_scf = atom_hf.get_atm_nrhf(mol)
  File "/wrk/users/jzlehtol/pyscf/pyscf/scf/atom_hf.py", line 52, in get_atm_nrhf
    atm_hf.run()
  File "/wrk/users/jzlehtol/pyscf/pyscf/lib/misc.py", line 482, in run
    self.kernel(*args)
  File "/wrk/users/jzlehtol/pyscf/pyscf/lib/misc.py", line 601, in aliased_fn
    return getattr(self, fname)(*args, **kwargs)
  File "/wrk/users/jzlehtol/pyscf/pyscf/scf/atom_hf.py", line 139, in scf
    return hf.RHF.scf(self, *args, **kwargs)
  File "/wrk/users/jzlehtol/pyscf/pyscf/scf/hf.py", line 1638, in scf
    conv_check=self.conv_check, **kwargs)
  File "/wrk/users/jzlehtol/pyscf/pyscf/scf/hf.py", line 122, in kernel
    dm = mf.get_init_guess(mol, mf.init_guess)
  File "/wrk/users/jzlehtol/pyscf/pyscf/scf/hf.py", line 1580, in get_init_guess
    dm = self.init_guess_by_minao(mol)
  File "/wrk/users/jzlehtol/pyscf/pyscf/scf/hf.py", line 1521, in init_guess_by_minao
    return init_guess_by_minao(mol)
  File "/wrk/users/jzlehtol/pyscf/pyscf/scf/hf.py", line 419, in init_guess_by_minao
    occ_add, basis_add = minao_basis(symb, nelec_ecp)
  File "/wrk/users/jzlehtol/pyscf/pyscf/scf/hf.py", line 369, in minao_basis
    for b in basis_add[l][1:]])
IndexError: list index out of range

The problem is that the minao basis set only covers a small fraction of the periodic table.
The problem was fixed for the atom guess in 697f5e871e901795636397cc465519e72f2e8a6d, and broken again by 6ba5f9b1021bfe31397930a3293c5e091c240f7b.

It looks like the main issue I am facing with is that the guess isn't handling ghost atoms properly. Here's a reduced test case
#!/usr/bin/python3

from pyscf import gto
from pyscf import dft, scf
import numpy
import os

mol = gto.M(
        verbose = 4,
        symmetry = 0,
        spin = 0,
        atom = '''
Ba 0.0 0.0 -1.5
ghost_Cn 0.0 0.0 0.000000000000000e+00
Ba 0.0 0.0 1.5
''',
        basis = {
                    'Ba' : gto.basis.load('ugbs.nw', 'Ba'),
                    'Cn' : gto.basis.load('ugbs.nw', 'Cn')
                }
    )

method = scf.RHF(mol)
method = method.x2c1e()
method.kernel()

Indeed, the problem with the atom guess is that https://github.com/pyscf/pyscf/blob/fe0416a004317b9b1aa6125e3adce287cc2fe19f/pyscf/scf/atom_hf.py#L43 is not catching the ghost Cn atom.
For the minao No basis found problem, someone who knows the code should comment.

Ghost atoms are not treated in the MINAO basis for initial guesses.
See https://github.com/pyscf/pyscf/blob/fe0416a004317b9b1aa6125e3adce287cc2fe19f/pyscf/scf/hf.py#L354-L355
It shouldn't affect the result much though.

Ghost atoms are not treated in the MINAO basis for initial guesses.
It shouldn't affect the result much though.

Exactly - nothing should be done for ghost atoms in the initial guess!

Maybe the problem is the same in minao as in atom: the code flies through the ghost atom check. I'm guessing the No basis found error is generated three lines after at https://github.com/pyscf/pyscf/blob/fe0416a004317b9b1aa6125e3adce287cc2fe19f/pyscf/scf/hf.py#L358

Problem was fixed in ff236bcb1bc77cfcc0103bc7861763f7696a7c40

@sunqm thanks, but I think the issue is deeper: the ghost atom checks are falling through!

minao is still printing the error No basis found for atom GHOST-Cn which should have been caught by https://github.com/pyscf/pyscf/blob/fe0416a004317b9b1aa6125e3adce287cc2fe19f/pyscf/scf/hf.py#L354-L355
Similarly, atomic RHF is running for Cn even though it's a ghost atom and should have been trapped by
https://github.com/pyscf/pyscf/blob/2fce03ce7bc67f974467dae3f347f2d72169cd7c/pyscf/scf/atom_hf.py#L43
The remaining problem is that the ghost atoms aren't marked as ghost if a custom basis set is used as in the example above.

Which git stash is your version at?  With the updates in ff236bcb1bc77cfcc0103bc7861763f7696a7c40 and newer versions, I couldn't reproduce the error No basis found for atom GHOST-Cn

@sunqm I just merged master and recompiled the library too.
Date: Sun Mar 22 13:23:08 2020
PySCF version 1.7.1
PySCF path  /home/work/pyscf.susi/pyscf
GIT ORIG_HEAD 48fcf5a5cb182e8b6f9c924b0b96fcca9c3ae1b3
GIT HEAD      ref: refs/heads/master
GIT master branch  8015c2dbdf242200368e8b29b16a784bd8ec43a8

I still get the same results: the ghost atom checks fall through.
To get the basis not found error you need to change the initial guess to minao.
As for atom, to see it is building a density matrix for the Cn ghost atom you can e.g. put a debug statement like print('Running NRSRHF for {}, {}'.format(a,b)) at https://github.com/pyscf/pyscf/blob/8015c2dbdf242200368e8b29b16a784bd8ec43a8/pyscf/scf/atom_hf.py#L49

I think my experience is not relevant, but I was also tracking down an error of the type "No basis found for atom [...]", when calculating systems with ghost atoms using pyscf basis sets. For me, the error was printed in the invocation here:
https://github.com/pyscf/pyscf/blob/e498c0a7e9c0c669b65dd8ab54a3ab8049becfb6/pyscf/scf/hf.py#L438
Which I believe is building a new mol object without any of the ghost atoms. Therefore, in the make_env method, no basis is found for the atoms.
The only place I could find with the text "No basis found" occurs here:
https://github.com/pyscf/pyscf/blob/e498c0a7e9c0c669b65dd8ab54a3ab8049becfb6/pyscf/gto/mole.py#L840

But @btglau's issue is only affecting minao; a similar issue also exists in atom.

Basis sanity check was done when parsing the basis files or basis strings. The check in gto/mole.py L840 is not needed any more. The inaccurate error message was removed.

@sunqm I repeat, @btglau's issue is unrelated to this report.

Problem was fixed in commit ce35a520e010b069439a0ffaf2c5f4fd69561a53 . Ghost atoms are excluded from atomic HF calculations

Thanks @sunqm, I can confirm the issues are solved!


Organize samples as submodules of a single :sample gradle module

Handles #14
Moves samples to be a submodule of :samples, making :samples:groovy-android and :samples:kotlin-android. Also moves sample_specs.json into the samples directory.
Testing done:
Did ./gradlew :samples:kotlin-android:gS :samples:groovy-android:gS and autogenerated files appeared in the src directories.

Hey @MatthewTPage sorry for the late review :(
So the code looks fine.
Can I ask you to rebase on top of master + include the samples-generated-code module inside you refactoring?
If you can't I can still take care of that :)

np on the delay. Happy to also include samples-generated-code. I'll work on it this weekend :)

Awesome :)

@cortinico  howdy, sorry for the delay on coming back to this, slipped my mind. Updated with master and also updated the README with the new locations. If there's anything else to do lmk :)

Looks great @MatthewTPage thanks 💪


Can't trigger event on array element

EventsArrayIssue.docx
I have an issue with triggering an event on an array element (see attached for example in blocks). The following code works, where I trigger an event on a zombie dying, and spawn another zombie (the spawned element comes from an array):
mobs.onMobKilled(mobs.monster(MonsterMob.Zombie), function () {
mobs.spawn(Monsters[level - 1], positions.createWorld(16, 4, 21))
})
However the code below does not work. Here I am again attempting to spawn a zombie when a zombie is killed, however this time I trigger the event on the zombie array element instead of on the zombie directly. I know this array element is indeed a zombie because it works for the spawning in the example above. When I run the code below, it does not detect zombies being killed.
mobs.onMobKilled(Monsters[level - 1], function () {
mobs.spawn(Monsters[level - 1], positions.createWorld(16, 4, 21))
})

Sorry for the late reply -
This is by design. Event registration is the first code that runs in the program, meaning that when they register, the array is still uninitialized.
We do not support "dynamic" events, they must be hard-coded into the program


Off-by-three with backslash-escaped newline inside precommand parameter assignment

The following highlights ar e as a command:
x=":\
" y=foobar echo hello world

With added backticks, it highlights the bar⎵  as a command:
x="`:\
`" y=foobar echo hello world

(The easiest way to see what the space is highlighted as is to paste those two lines and let the "highlight pastes in reverse video" functionality do its job.)

${(z)} (bufferwords()) gives x=":" as the first word.  No hint whatsoever of the swallowed newline.

Simpler reproducer:
% \
; rsync


Get distinct keys

Is it possible to get distinct keys from the database?
For example I have
{
    "users": [
        {
            "name": "ABC",
            "job": "Engineer",
            "age" : 28
        },
        {
            "name": "XYZ",
            "job": "Product Manager",
            "age" : 32
        },
        {
            "name": "ASD",
            "job": "HR Manager",
            "age" : 325
        }
    ]
}

I want to get a array of jobs
["Engineer", "Product Manager", "Human Resource"]

users.map(i => i.job).filter((e, i, self) => self.indexOf(e) === i)
i hope it will helpful for u

You still have to do this once you get all the data, would be nice if we could get distinct values. I dropped using this module, thanks anyways.


Complete assignment submission

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Add answer to quiz.
What did you learn from the changes you have made?
How to interact with shell.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Use a programming language instead.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
Read manual to submit assignment.
How were these changes tested?
Manually
A reference to a related issue in your repository (if applicable)
@mentions of the person or team responsible for reviewing proposed changes (At least 2 people)
<EMAIL_ADDRESS>Checklist

[x] I can confirm that my changes are working as intended

@dwz92


Hello, my friends and I have been playing a version of this game in person on a weekly basis for years!  We tried to hack together something to make the game work remotely, and it was pretty horrible.  But we recently discovered this, and we're very excited to playtest it!
At first glance though, we were wondering if it would be possible to (a) organize into more than two teams and (b) choose who goes on each team.  Please let me know if this is feasible.
Thanks,
Kyle

@millerk123 Haha, well I hope this version works for you!
re: more than 2 teams - not supported today, but it should be technically possible!
And (b) you can do this today!  Using the "rotate" icon next to each player tag in the Assign Teams step.

Oh, glad to hear that the team selection is possible!  And we had a great time playing, thank you!  Please let me know here if more than 2 teams are ever supported.


Upgrades Azure Communication Services SMS from 1.1.2 to 1.1.3

Description
Upgrades Azure Communication Services SMS from 1.1.2 to 1.1.3

API change check
API changes are not detected in this pull request.

/check-enforcer reset


Expose insert action in public api

The problem
The question of how you insert text with Cursorless comes up quite often. People often want to insert text at a position away from their current cursor position.
The solution
There is no way we can support all different ways people want to insert text. Different languages, math formulas and so on. The list is basically infinite. If we instead just exposed a insert action the user can insert text however they want.
def cursorless_insert(destination: CursorlessDestination, text: Union[str, List[str]]):

Examples
For example, this could be used as follows:
word <user.word> <user.cursorless_destination>:
    user.cursorless_insert(cursorless_destination, word)

Then the user would be able to say eg "word hello after air"

Can you explain a bit about the intended use of List[str] for text?  Thanks.

It's if you have multiple destinations.
insert <word> and <word> <user.cursorless_destination>: ...
"insert foo and bar after air and bat"

To expand on @AndreasArvidsson 's example a bit, I think something like the following should work:
word <user.word> (and <user.word>)* <user.cursorless_destination>:
    user.cursorless_insert(cursorless_destination, word_list)

And then you could say "word hello and world after air and bat" to go from
aaa bbb

to
aaa hello bbb world

What would happen if there's a length mismatch in your example, @pokey? "word hello after air and bat"? Or word hello and world after air"?

(stares in https://www.hyrumslaw.com)

Have a look at https://github.com/cursorless-dev/cursorless/blob/main/packages/cursorless-engine/src/actions/Replace.ts, but basically if there is one text and many destinations, it will broadcast so the text goes after all destinations. If there is more than one text, it will try to zip them and you'll get an error message extension side saying they need to have same length

Cool. Just wanted to confirm that we're okay locking in that behavior.

In theory in the future we could join the texts if there is >1 text and 1 target, like we do with "bring", but I think it's ok to go from error to functional even when we make something an api.

Sounds like this is a go!


React "material-ui" : unresolved reference React

After generation kotlin stubs for react material-ui (ts2kt v0.0.20, material-ui v0.20), runtime results:
src/material/index.__MaterialUI.kt:339:33: error: unresolved reference: React
external interface PaperProps : React.HTMLAttributes<Any>, React.Props<Paper> {
                                ^

RIght now you should convert react declarations by your self and maybe fix some references. Sorry for the inconvenience.

Can you provide example at least for this case ? I mean React declaration and its attributes.
Thanks in advance!

Declarations that are you need are here https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react/v15/index.d.ts

yeah but i don't think those are compatible with JetBrains React Wrapper... Is there any solution to make material-ui work with the official wrappers?


mark all read vs mark as read

Would it be possible to add a configuration option where one can choose to mark as read only the items on the current page (the old behavior)?
In my workflow, a lot of feed items are pulled in, and I try to go through them quickly, but if I'm interrupted then I'll have to re-scan through up to 100 items to find where I was before. With the old mark as read, I don't accidentally mark as read things that haven't yet shown in my current item listing.
I could change my workflow a bit by using the "m" key on each item, but then if I realize I need to go back to check something, it's already been moved to history. When I click history, the oldest items appear first, making it hard to get to the end of the list.

I agree with this request. I prefer the old behavior, only marking items on the page. Analogous to #188, when the original link behavior "reverted" back to marking an item read.

Personally I prefer one way to do something, instead of adding dozen of settings. For me it's more or less the same as with Android and iOS.
iOS hasn't that much options to configure things, but the "default" way of doing something is very well thought. That is one reason why iOS is an easy to use system. It may not fulfill everybody's needs, but it fits for 90% of the people. That's Miniflux for me.
Android on the other hand gives you the power of configuing nearly everything. But it takes a huge amount of time to find the optimal configuration and there is the danger of getting lost in the configuration. That's is tt-rss for me.
@pcwalden Based on the knowledge I've today, I wouldn't implement the "original link" option again. At the time I wrote the code, I wasn't aware of the "full content" display mode. Today I would assign the 'original link' function to the item title, without marking the item as read (in "full content" display mode).
@fguillot What about reverting ee98a625194ef444cd8f1d8b43d1c3a3f16c6767 and changing the label "Mark all read" to "Mark page read" instead. It seams that I'm the only one who noticed the misbehaviour and people rely on the way it worked before.

I agree, it seems very odd to always mark everything as read. Here's two use cases where marking everyting as read on the current page makes far more sense:

If there are new items coming in while I read, there's absolutely no way to catch them - they are never presented to the user, but still marked as read
There's multiple pages of items. The user reads page 1 and clicks on mark all as read, hoping to continue with the next batch. Instead, all items are marked as read now. That seems very unintuitive to me.

@fguillot what's your opinion? Sounds like we had a better behaviour in the past (see https://github.com/miniflux/miniflux/issues/134)

+1 for making "Mark all as read" only apply to the current listing and not for all unread items (or possibly adding another function to "Mark current listing as read".
It is a lot faster to quickly scan the (50 by default) and clicking "Mark all" than it is to individually remove every uninteresting item.


[WFLY-19110] Connector: restore application security configuration

https://issues.redhat.com/browse/WFLY-19110

can this one be reviewed? downstream depends on it, thanks

@fjuma @darranl @Skyllarr Can one of you review this? Thanks.

Thanks @tadamski and @fjuma


Mapping two subdomains to the same service

Hi guys, viewing the examples I won't find a way to mapping domain and subdomain in the same module
Example: I have enmanuelmoreira.com which mapping to root srv and www mapping as well to root srv, but i am able to mapping just the root domain.
Any help is welcome.
Regards.

Hi @amandakarina, it is not related with secure-cloud-run-core. I'm triying to deploy a couple of single cloud run services.

@enmanuelmoreira this module should be used to create a single Cloud Run service mapping to a single domain (it could be domain say example.com or subdomain service1.example.com).
If there are multiple services, use maps and loops to create multiple services with their respective domain maps.


No component factory found when MatDilog is used inside lazy loaded module

What is the expected behavior?
I am loading some modules lazily by following the article https://blog.angularindepth.com/building-an-aot-friendly-dynamic-content-outlet-in-angular-59c1a96171a.
Once the module is loaded all the material elements should work normally.
What is the current behavior?
I am able to successfully load the module lazily but when dialogs are opened I am getting following error eventhough the components are included in entryComponents array of lazy loaded module.
No component factory found for DynamicMultipleTwoComponent. Did you add it to @NgModule.entryComponents?

Apart from dialog module there is no other issues with any of the material modules.
What are the steps to reproduce?
Unable to reproduce lazy loading the module in Stackblitz. Please check this project to reproduce the issue,
https://github.com/HegdeSach/angular-dynamic-content
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
"dependencies": {
"@angular/animations": "^7.0.4",
"@angular/cdk": "^7.3.2",
"@angular/common": "~7.0.0",
"@angular/compiler": "~7.0.0",
"@angular/core": "~7.0.0",
"@angular/forms": "~7.0.0",
"@angular/http": "~7.0.0",
"@angular/material": "^7.3.2",
"@angular/platform-browser": "~7.0.0",
"@angular/platform-browser-dynamic": "~7.0.0",
"@angular/router": "~7.0.0",
"core-js": "^2.5.4",
"rxjs": "~6.3.3",
"zone.js": "~0.8.26"
},
"devDependencies": {
"@angular-devkit/build-angular": "^0.12.1",
"@angular/cli": "~7.0.6",
"@angular/compiler-cli": "~7.0.0",
"@angular/language-service": "~7.0.0",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4",
"codelyzer": "~4.5.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tslint": "~5.11.0",
"typescript": "~3.1.6"
}
Is there anything else we should know?
I am using @angular/material: 6.4.0 version in my actual application. It will be helpful if the issue can be resolved without upgrading material version

I’m the author of the blog post above and too am curious how t I make this work with dialogs in material. Any help would be greatly appreciated.

Have the same issue

Noticed in the example above that it is missing DialogOverviewExample2Dialog in AppModule.
I believe this example that was fixed by DenisSemionov resolves it: https://stackblitz.com/edit/modal-issue-angular-7-429dn9?file=main.ts

Any lazy-loaded component that might be opened in a dialog must also have MatDialogModule imported in its NgModule ) and you need to then use that more specific instance of MatDialog to open the component. This is a limitation of Angular, since the ComponentFactoryResolver at the root level doesn't know about lazy-loaded components, so you need a different MatDialog instance that has injected the "correct" ComponentFactoryResolver.
I've been told that the new ivy renderer will make this easier.


Invoking "useMutation" with onDone hook does not decrement global mutation loading

Describe the bug
Invoking "useMutation" with onDone hook does not decrement global mutation loading (useGlobalMutationLoading)
Will investigate and provide more details or fix soon
workaround
use ".then()" or update function
Versions
vue: 3.2.41
vue/apollo-composable: 4.0.0-beta.1
@apollo/client: 3.7.14

Update: error was caused because in onDone hook body i destroyed component that used mutation, thus i lost global loading tracking

I also ran into this issue.
I know it´s not beautiful, but it does the trick.
import { nextTick } from 'vue'

.....

onDone(async () => {
  await nextTick()
   .......
})


Fixing a problem with culture

In some cultures the numbers with floating point use ',' and not '.'-char for separating. Because of it Azure Search throws an Exception.
I added on two places a CultureInfo.InvariantCulture to fix this problem.

@sharbag Good catch on this bug. Thank you for your contribution!


Remove obsolete Feature:openstack label

We now track openshift/openstack tests with [Suite:openshift/openstack].
This is a cherry-pick of 61409a88ec92dddabb836be062cbd2ed77a248ab (https://github.com/openshift/openstack-test/pull/35)
/hold until https://github.com/openshift/release/pull/29854 is merged

/hold cancel

/test test


KRnD fix Name

Ampersands are not handled well by the client

A changed metanetkan target doesn't appear to trigger a a new .ckan build

Won't be triggered, but will be picked up by the indexer on its regular run. LGTM.

That might make sense if the indexer only ran weekly.

@politas hmm, I'm really not sure (sorry busy week), the indexer is simple in design.
Did netkan generate changes? Yes/no

No, do nothing.
Do they pass validation? Yes/No
No, log error in status.
Yes to both -> Commit

I'll need to have a closer look.

I can only guess that there's a point where some tests for changes are failing and dropping out completely rather than continuing to check the rest of the file.


delay and lag  issue with  a huge number of slides

Hi @davidghi
I made a slideshow of 400 images and slider become slow and lag, any suggestion?
Thanks for your help.

did you try to uses a 1x1 white pixel as the lazy load image instead of a smaller version of the same image?  that 1x1 image processes 1 time for 400 images instead of 400 small images plus 400 large images.  i did not look at your attached zip but that is how i run my example 2 slider pro with 40-50 images.

i originally responded to this asking if you used a small 1x1 white image for your lazy load but you did use a small clear image so that is smart.
try removing your lower preview images.  i have a feeling that is causing your issue because it has to load 800 images instead of 400 images.  try the slider pro without the preview images and i bet it slows up.  or keep it and also test it with the same clear image.  either way i bet it speeds up the carousel.  loading 401 images is easier than 800 images.

about:

loading 401 images is easier than 800 images

@walkoffhomerun, That's not a bad idea. I will give it a try .many thanks!

 Also, optimize image on tinyjpg or tinypng (same service) or similar online programs because even when i optimize images in photoshop tinyjpg will still cut 30% to 50% more file size in just embedded junk. It really helps out. Plus, if u do Google page speed insights tests on their website optimizing images is a massive scoring issue they use to determine a grade for ur mobile and desktop scoring. That test also gives a link at the very bottom to download all optimized files including all optimized images. Pretty simple to get optimized images that way


Not able to download universal packages from public feeds

Command Name
az artifacts universal download --organization https://dev.azure.com/dynamicssmb2 --project DynamicsBCPublicFeeds --scope project --feed bcartifacts --name sandbox.us.21 --version 5.53619.62937
Errors:
ERROR: Failed to update Universal Packages tooling.
Before you can run Azure DevOps commands, you need to run the login command(az login if using AAD/MSA identity else az devops login if using PAT token) to setup credentials.  Please see https://aka.ms/azure-devops-cli-auth for more information.

To Reproduce:
az logout
az artifacts universal download --organization https://dev.azure.com/dynamicssmb2 --project DynamicsBCPublicFeeds --scope project --feed bcartifacts --name sandbox.us.21 --version 5.53619.62937

We have public feeds for our partners to download packages - they should not need to authenticate to anything in order to download packages from our public feed.
It seems like the upgrade feature is requiring the authentication - not the actual download.
Is there any way I can tell az to not check for updates?
Expected Behavior
That the public package is downloaded
Environment Summary
Windows-10-10.0.22621-SP0
Python 3.11.5
Installer: MSI

azure-cli 2.56.0

Extensions:
azure-devops 0.26.0

Dependencies:
msal 1.24.0b2
azure-mgmt-resource 23.1.0b2

Additional Context

Anonymous access to Universal Packages is not currently supported. Even if you could download the tooling, you wouldn't be able to access the contents of the package. Adding that functionality would require both client and server changes, which are not currently planned.
I agree that we should have that feature, but our backlog is currently full of higher-priority items, sorry.


Visual Studio 2022 Support

Installed product versions

Visual Studio: 2022 All Versions

Description
Make the extension available in Visual Studio 2022.
Steps to recreate

Download the extension installer.
Run the installer.

Current behavior
Message that it is already installed to all applicable products appears even though it is not installed in Visual Studio 2022.
It is also not listed in Online Extensions in Manage Extensions Visual Studio 2022.
Expected behavior
Installs and works in Visual Studio 2022.
Note: Sorry for the all the extra details.  I probably could have stopped with the title on this one.

There is, but it's a separate extension called "Tweaks 2022"

@madskristensen When searching for "Tweaks 2022" in the marketplace I get no results:

Should it be listed in the marketplace?

Found it now. Even if it is not listed when searching in the marketplace, it shows as [Preview] when searching in Visual Studio 😀👍
Link for others looking for the 2022-extension:
https://marketplace.visualstudio.com/items?itemName=MadsKristensen.Tweaks2022


Bridge between Bevy and Vello types

I'm wondering if this crate would be the right place to provide mappings between Bevy and Vello primitives. Being able to use Bevy's Color and math types would make it feel more integrated when using the Scene API.

We export vello,
https://github.com/loopystudios/bevy_vello/blob/d25d787f14c77533b9b038ad153847b0f13e1c46/src/lib.rs#L20
Which, vello will export peniko, kurbo, etc.
In other words:

bevy_vello::vello::peniko
bevy_vello::vello::kurbo

Is this what you're asking?

Maybe this crate isn't the right place, but I was sort of thinking something along the lines of bevy's 2d gizmo API where you're working with glam Vec2 and bevy Color. And maybe it could also take bevy math 2d primitive shapes.

Can you give an example?
Because currently, the bevy types are used for the most part.
I think you should only need peniko, kurbo, etc.. when you build or encode a VelloScene/vello::Scene

@cpetzold Is this what you are looking for? https://github.com/nixon-voxell/bevy_motiongfx/tree/main/crates/bevy_vello_graphics


Update MainIdealGasLawCalc.js

Issue Id you have worked upon -
573
Briefly explain your program logic -
PV=nRT There are two types of units in GasConstant（atm·L/(mol·K) and J/(mol·K)）
Screenshots(Attach 2 screenshots of your own input and output) -

By raising this PR I affirm that -

[x] My code follows the guidelines of this project.

[x] I have performed a self-review of my own code.

[x] I have commented my code.

[x] My code gives the correct output.

[x] I affirm that I strictly follow contributing guidelines and code of conduct.

Congratulations 🎉 @DapaoK  on your contribution.
Thanks for adding value to this repository. 😊
Let's celebrate this fest 😃 by providing more developers 👨💻👩💻 an opportunity to contribute. Help us make this repository reach far and more by sharing this to your friends and colleagues.
Your efforts can make difference.

Hey 👋, may you also encourage us by clicking the star icon on the repository main page. ⭐


Add support for pre-push hooks

Pre-push hooks are passed the name and url of the remote as arguments, and STDIN contains info about pushed commits, one per line, in the format local_ref local_sha1 remote_ref remote_sha1.

Thanks!


Incorrect AVP1032 Warning: CLR property accessor accessibility does not match...

Describe the bug
I think AVP1032 should be adjusted to account for more modifiers on get/set.

This seems like a valid use-case to me for derived controls to still have access to this property. This could be debated as SetValue/SetCurrentValue can be used instead.
Additional context
Add any other context about the problem here.

I think what this warning means is that anyone can call SetValue(ThirdComponentProperty, value) (i.e. as if it was public), so it doesn't make much sense to have a protected setter.

Hm, yes, you are probably right. I've become accustomed to having the "clean" API in the CLR property while allowing a work-around with the SetValue() method for those that know what they are doing. That always seemed harmless to me. Perhaps that was a bad habit.
I guess this is a candidate for a read-only DirectProperty as was suggested by @maxkatz6 originally too.


Black window on Linux version.

OS: Arch Linux x86_64
Kernel: 4.4.1-2
DE: KDE Plasma 5
GPU Driver: nvidia-361.28-2

I installed this using the AUR package listed here.
When I run it, I get a black window with no decorations.  I get no errors when running it from cli.

I have a feeling that the AUR package is not made very well.  It does not even list node.js or npm as dependencies.

Same Issue. I have nodejs package and npm installed, not sure if I need to do more though (within npm).
Distro: Arch Linux
Kernel: 4.4.3-1-ARCH x86_64 (64 bit gcc: 5.3.0)
Desktop: Xfce 4.12.3 (Gtk 2.24.28)
Graphics:  Card: NVIDIA GM206 [GeForce GTX 960]

@yochaigal what happens when you run:
npm install && npm run build && npm start in the repo directory?  Or is the issue occurring for you when you run the binary built by the aur package?

The latter, sorry - my issue is only building from AUR. I suppose I could build from source and then see if things work with the AUR package, but I'd love to help it get fixed - I'll assume that this issue is related to the AUR package and message the maintainer there instead!

I don't know how AUR packages work, someone else set that up.  Your best bet is to find them and figure this out.  Try the gitter room I think they are in there :dart:

This also happens on linux mint 64-bit, after installing google-play-music-desktop-player_3.0.0_linux_amd64.deb - here are my system details:

Kernel: 3.13.0-37-generic x86_64 (64 bit)
Desktop: Cinnamon 2.4.8  Distro: Linux Mint 17.1 Rebecca

I had gotten the first login correctly (with 2-step auth), though it froze on the 2-step window.
The login page seems to be open, though not visible, my cursor changes from the usual pointer to a "text cursor" (as when pointing an editable text box) - I copied all text CTRL+A, copy+paste and the login window text was captured:
One account. All of Google.
Sign in to continue to Google Play Music

Enter your email
Next
Need help?
Create account

One Google Account for everything Google

About Google Privacy Terms Help Change language

Additional information  - login possible still
At the word what from the still-shown page (see @mccore 's screenshot), there is a field that if clicked, can still be filled and when I pressed "Enter", the same step could be taken to enter my password. I received a text with my 2-step password and entered it (both the password field and the text-message code field are selected by default). The code worked as I then closed the app and re-opened to a fully working app. :)

Additional information - system
I had two lingering processes, which I killed, that seemed from the installation - this is after installation from the package installer (successfully) and start+close of application:
ps aux | grep music
$user   28136  1.2  0.1<PHONE_NUMBER>0 ?        Sl   16:49   0:27 gksu --desktop /usr/share/applications/gdebi.desktop --message <big><b>You need to grant administrative rights to install software</b></big>   It is a possible security risk to install packages files manually. Install software from trustworthy software distributors only.  -- gdebi-gtk --non-interactive /home/$user/Desktop/google-play-music-desktop-player_3.0.0_linux_amd64.deb
root     28708  0.0  0.0  71440  2412 ?        Ss   16:52   0:00 /usr/bin/sudo -H -S -p GNOME_SUDO_PASS -u root -- gdebi-gtk --non-interactive /home/$user/Desktop/google-play-music-desktop-player_3.0.0_linux_amd64.deb
root     28714  0.6  3.2<PHONE_NUMBER>12 ?       Sl   16:52   0:11 /usr/bin/python3 /usr/bin/gdebi-gtk --non-interactive /home/$user/Desktop/google-play-music-desktop-player_3.0.0_linux_amd64.deb
$user   32541  0.0  0.0  11764   932 pts/4    S+   17:24   0:00 grep --colour=auto music

Here is the output from my terminal showing the running process with its options:
/usr/share/google-play-music-desktop-player/Google Play Music Desktop Player --type=renderer --enable-experimental-web-platform-features=1 --enable-overlay-scrollbar=1 --enable-smooth-scrolling=1 --no-sandbox --lang=en-GB --node-integration=true --preload=/usr/share/google-play-music-desktop-player/resources/app/build/inject/generic.js --num-raster-threads=2 --content-image-texture-target=3553,3553,3553,3553,3553,3553,3553,3553,3553,3553,3553,3553,3553 --video-image-texture-target=3553 --disable-accelerated-video-decode --disable-webrtc-hw-encoding --disable-gpu-compositing --channel=32460.0.1796462644 --v8-natives-passed-by-fd --v8-snapshot-passed-by-fd```

I hope this helps.

Can you guys try using the --disable-gpu flag when running the player.  Other users are reporting it fixes linux issues


forc command docs missing in master version of the book but latest release (v0.58.0)  has them

https://fuellabs.github.io/sway/master/book/forc/commands/forc_addr2line.html as it can be seen at the moment, master version of the book is missing auto generated forc command docs. But latest release  https://fuellabs.github.io/sway/v0.58.0/book/forc/commands/forc_addr2line.html has them. We should investigate why.
Thanks for @sarahschwartz reporting

fixed by #6424


Add ability to parse date-time patterns from extent.properties for folder name

This will make ensure that repeated runs will not overwrite existing reports. This can be done by adding the current timestamp. Support for a recognizable Java DateTimeFormatter for naming report files or folders.

Added in version 1.6.0


Release Version 1.2.2

[x] Establish official MSRV and document in README - ~early 2018 edition~ 1.40.0 (checked via CI)
[x] Move home to Ardaku organization
[x] Change references to main branch to reference stable branch
[x] Update licenses
[x] Version bump to 1.2.2

Test on:

[ ] Linux
[ ] Mac
[ ] Windows

Before merging


If csv is loaded to import objects would be good to also include Sector

Steps
click FILE
click IMPORT AS CSV
Find proper file and import it`s contents
While grid is populated, Sectors field remains empty. It would make sense to also during csv import update sectors with provided sectors of the grid objects. That way updating the entries would be much easier.
https://github.com/karl5252/PlantPassportGenerator/assets/32590103/2bfc7120-2b16-457b-8300-dc04d4582e05

Resolved
https://github.com/karl5252/PlantPassportGenerator/assets/32590103/cdd0d2a0-f1a9-4fcb-bf64-9517b6fd72d9

Resolved


Add release train dependencies BOM

Closed for https://github.com/spring-cloud/spring-cloud-stream-starters/pull/2


Flag new maintainers

We'd like to be able to label / prevent auto-merge on PRs where the release was published to NPM by a new maintainer. This would allow us to do a manual security review and probably wait a bit to ensure permissions to publish wasn't granted to a bad actor.

@jrjohnson thanks for your suggestion, I like this idea! We've got some related ideas that we'll want to make sure fit together nicely before adding.

@jrjohnson I'd be happy to work on this - what is the logic that you would use to identify whether a release was published under a new maintainer?

That would be fantastic and do a lot to improve our security stance against a specific kind of supply chain attack! I'm not sure of the specifics, but this was handled in dependabot v1. I don't think it was much more complicated than "has this account ever published this package before", but maybe you see an option for more granularity of better security?

@jrjohnson  There are a few different options based on whether we just care if the primary owner/maintainer changed, or if we care about any changes to the list of people who have write access on that package.
I would worry that something like this could give a false sense of security if one of the users with write access is <packagename>bot and the list of users who can invoke that bot's workflow is maintained elsewhere.
Do you have a few examples of npm packages that changed owners between versions that I could use for testing some options?

Here's an example of what this used to look like if that helps https://github.com/ilios/frontend/pull/6342

Interesting - I wonder where that information was coming from before.  It doesn't seem to be available in npm:
$ npm owner ls<EMAIL_ADDRESS>rwjblue<EMAIL_ADDRESS>jelhan<EMAIL_ADDRESS>$ npm owner ls<EMAIL_ADDRESS>rwjblue<EMAIL_ADDRESS>jelhan<EMAIL_ADDRESS>

Here's an example of what this used to look like if that helps https://github.com/ilios/frontend/pull/6342

That PR is from 3 months ago using the Github-native Dependabot.  So, am I correct that this feature is already working correctly in the PR that dependabot creates, but you just want access to that information from the fetch-metadata action?

Yes. We don't want to auto-approve anything with a maintainer change. Those will need a look from a real human.

That makes sense.  I'm not sure we want to have fetch-metadata graph the PR body and try to parse that because I'm not sure how that would work with internationalization.  The best approach would be to add maintainer-change as another entry in the section that dependabot generates for fetch-metadata.  Something like:
---
updated-dependencies:
- dependency-name: ember-cli-content-security-policy
  dependency-type: direct:development
  update-type: version-update:semver-major
  maintainer-change: true
...

I think it's a great idea!  It's just not something we can change exclusively in fetch-metadata -- it would need to first be changed in dependabot-core and then we can change fetch-metadata to use it.  Is just "true"/"false" useful, or is there additional detail that would be useful to pull as well?

True/false would completely solve our use case.

@brrygrdn it doesn't look like the code which generates the fetch-metadata section of the commit is part of dependabot-core - is there a separate repo that manages that, or is that an internal github thing?
For example, if I run bin/dry-run.rb --pull-request I only get the following:
--commit--
Bump Mono.Options from 1.0 to <IP_ADDRESS> in /Compiler

Bumps Mono.Options from 1.0 to <IP_ADDRESS>.
--/commit--

@mwaddell I think that'll live inside the internal service layer at the moment. We've discussed having more of the API interaction to actually push diffs happen within core, but I'm not sure its something we'll change in the medium term.
I'll check where we augment the commits that are passed from dependabot-core and which objects we use, I think there's a Dependency object we use for most of the existing fields which could potentially be augmented to include this attribute so we can wire it up in the internal service.

I just reviewed #174 and hopefully we can land it soon.
Also, this feature is neat, I had no idea before this PR that dependabot-core supported flagging when maintainer changes were happening. 🎉
It looks like it requires support from the registry/package manager ecosystem, and today npm may be the only one exposing that.
So down the road perhaps we can evangelize the feature to other package registries / language ecosystems, as I can see it being helpful for lots of folks.


⚠ Bofrost.lu has degraded performance

In 8d3a86d, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1250 ms

Resolved: Bofrost.lu performance has improved in 27461e8 after 36 minutes.


Backport RHEL and ifconfig test fixes

Description
[Please describe what this change achieves]
Issues Resolved
[List any existing issues this PR resolves, or any Discourse or
StackOverflow discussion that's relevant]
Check List

[ ] New functionality includes tests
[ ] All tests pass
[ ] RELEASE_NOTES.md, has been updated if required (not required for bugfixes, required for API changes)
[ ] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco

@scotthain if you remove the bundler uninstall in the appveyor config that'll fix that failure

looks fine so far


GIT-85: Fix available quests for a user if already one completion

Fixes #85

(I just closed then reopened the PR to trigger the Travis build :wink: )

GTM


cloudstrap-dns doesn't work with zone != domain

See also #13, #14
If I want to deploy my cluster such that HCPDomainName isn't my Route53 zone's domain name, things break.  For example, my hosted zone could be mook-as.example.com, but my HCPDomainName setting could be hcp.aws.mook-as.example.com. (The end result being a host named identity.hcp.aws.mook-as.example.com)

Resolved in eec8060 (0.37.0)


Added README and comments to exported functions for issue #11589

Can you please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "master" git@github.com:arthurbarr/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

This will update the existing PR, so you do not need to open a new one.

@arthurbarr Also, can you duplicate README.md contents in resolv.conf top in form of Package resolvconf ....
See http://blog.golang.org/godoc-documenting-go-code
Also I wanna ask you to change other comments in that file to fit conventions listed in link above.

And seems like file is not properly formatted with gofmt.

LGTM
@arthurbarr thanks!

@arthurbarr apologies, would you mind rebasing it?

Re-based on master.  I'm not sure why the Windows build is now failing though - any pointers would be much appreciated!

LGTM


lsb_release

On Debian WSL (Stretch), lsb_release isn't installed by default and I got this error:
$ AZ_REPO=$(lsb_release -cs)
-bash: lsb_release: command not found
$ echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main" | \

 sudo tee /etc/apt/sources.list.d/azure-cli.list

deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/  main
I had to sudo apt-get install lsb-release to get it.

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

ID: fe1526a9-7f22-504e-484c-0f3edc11b178
Version Independent ID: c5dec108-efcd-aa77-04b5-803b6b894dba
Content: Install the Azure CLI 2.0 on Linux with apt
Content Source: docs-ref-conceptual/install-azure-cli-apt.md
Service: azure
GitHub Login: @sptramer
Microsoft Alias: sttramer

Closed by #795


Custom Effect Fragment Shader Help

I have successfully created a Custom Effect via react-postprocessing based on a lightweight fullscreen effect from https://www.airtightinteractive.com/demos/js/badtvshader/. My effect works, I'm seeing it influence the scene but I'm not confident in my shader re-writes and am looking for a bit more detail on how vUv vs. uv and texture / inputBuffer translate from more "stock" fragment shaders from THREE.
The effect works but there is a static part of the original scene that remains persistent and my custom effects aren't chaining effectively.
Any help would be much appreciated.
https://codesandbox.io/s/r3f-postprocessing-customeffect-rd-4w43o?file=/shaders/HorizontalBlurShader.js

Hi,
I can't help with the React part, but you'd implement these effects like this using the vanilla library:
https://codesandbox.io/s/frosty-bush-jbx64?file=/src/App.js
Implementation details

Effects should always use the uv parameter that is provided to mainSupport, mainUv or mainImage. Don't use vUv.
The HorizontalBlurEffect samples the inputBuffer in its fragment shader and is therefore a convolution effect.

Such effects should specify the EffectAttribute CONVOLUTION.

The BadTVEffect only manipulates the UV coordinates, so the mainUv(const inout uv) function should be used.

Effects that modify UVs in the fragment shader can't be merged with convolution effects. Otherwise, the original image will bleed through.

Check the Wiki for more details.

I forgot to say that the original HorizontalBlurShader used a texture uniform to bind the input image. Since effects already have access to this texture via the central inputBuffer sampler, you don't need it.

Thanks for the help, this is exactly what I was looking for clarity on. Appreciate it!


[IO] Add new api to create ReadableCSVChannel/WritableCSVChannel from file

Description:
With the changes of the I/O channel separation task. we removed existing api to create CSVChannel from file because now CSVChannel is break down to two channels called ReadableCSVChannel and WritableCSVChannel. So with this change, only way to create ReadableCSVChannel is through ReadableByteChannel.
We need to come with better api to create ReadableCSVChannel/ WritableCSVChannel from a give file path.
Related Issues (optional):
#10654
Suggested Labels (optional):
improvement
Suggested Assignees (optional):
@pamod

Closing this issue. This improvement is addressed in PR #11109


Web Editor doesn't create Project issue

Godot version:
v3.2.4.beta4.offical.b5e8b48bb
OS/device including version:

Windows, PC, Nvidia GTX 1060 3GB, Vulkan
Issue description:
"Missing Project" issue
Steps to reproduce:
Creating a project
Minimal reproduction project:

@ITZProGamerDieYT Please fill in the issue template instead of replacing it when opening issues.

@ITZProGamerDieYT Please fill in the issue template instead of replacing it when opening issues.

@ITZProGamerDieYT Please fill in the issue template instead of replacing it when opening issues.

sure

@ITZProGamerDieYT Please fill in the issue template instead of replacing it when opening issues.

sure

So, a workaround to this exists:

upload a zip of project, this will lead to "missing project" screen
click on "import"
"Browser", select the zip and confirm
there should now be another "Browse" for the install path
go into the /projects folder! this part is important
create a new folder within the /projects folder and confirm
complete the import, your project should now be available

I don't think this is intended behaviour and should be fixed. I see two possible solutions:

Explain this rather complex workflow to the user
Directly extract the zip file to a folder inside /projects so that there are no missing projects in the first place

I would prefer approach number 2.

So, a workaround to this exists:

upload a zip of project, this will lead to "missing project" screen
click on "import"
"Browser", select the zip and confirm
there should now be another "Browse" for the install path
go into the /projects folder! this part is important
create a new folder within the /projects folder and confirm
complete the import, your project should now be available

I don't think this is intended behaviour and should be fixed. I see two possible solutions:

Explain this rather complex workflow to the user
Directly extract the zip file to a folder inside /projects so that there are no missing projects in the first place

I would prefer approach number 2.

Directly extract the zip file to a folder inside /projects so that there are no missing projects in the first place

This requires https://github.com/godotengine/godot/pull/34444 to be merged.

Directly extract the zip file to a folder inside /projects so that there are no missing projects in the first place

This requires https://github.com/godotengine/godot/pull/34444 to be merged.

Directly extract the zip file to a folder inside /projects so that there are no missing projects in the first place

This requires #34444 to be merged first.

k

Directly extract the zip file to a folder inside /projects so that there are no missing projects in the first place

This requires #34444 to be merged first.

k

Duplicate of #44754

Duplicate of #44754


panic when kube context used is for a stopped cluster

Describe the bug
Using educates with local kind cluster, since I have different instances, I start/stop them at will, but sometimes the kube context that is selected in my kubeconfig file points to a cluster that is stopped. In these cases I get a panic on some commands:
educates list-workshops
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x105b84524]

goroutine 1 [running]:
github.com/vmware-tanzu-labs/educates-training-platform/client-programs/pkg/cmd.(*ClusterWorkshopsListOptions).Run(0x1400004ca60)
	/Users/runner/work/educates-training-platform/educates-training-platform/client-programs/pkg/cmd/cluster_workshop_list_cmd.go:48 +0x194
github.com/vmware-tanzu-labs/educates-training-platform/client-programs/pkg/cmd.(*ProjectInfo).NewClusterWorkshopListCmd.func1(0x140001baf00?, {0x107477900?, 0x4?, 0x105b9e155?})
	/Users/runner/work/educates-training-platform/educates-training-platform/client-programs/pkg/cmd/cluster_workshop_list_cmd.go:109 +0x20
github.com/spf13/cobra.(*Command).execute(0x1400061b800, {0x107477900, 0x0, 0x0})
	/Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x658
github.com/spf13/cobra.(*Command).ExecuteC(0x1400061a900)
	/Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x320
github.com/spf13/cobra.(*Command).Execute(0x1400004c9c0?)
	/Users/runner/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992 +0x1c
main.main()
	/Users/runner/work/educates-training-platform/educates-training-platform/client-programs/cmd/educates/main.go:32 +0xc0

How to test:
educates create-cluster
# Once is created
docker stop educates-control-plane
# then
educates list-workshops

Additional information
No response

This is solved in the new installer


refactor: Exposing more of nullifier tree state

Description
Making more of nullifier tree state "protected" instead of "private" so that a testing harness can be written.
Note: Don't merge or review before https://github.com/AztecProtocol/barretenberg/pull/584 is merged.
Checklist:

[ ] I have reviewed my diff in github, line by line.
[ ] Every change is related to the PR description.
[ ] The branch has been merged with/rebased against the head of its merge target.
[ ] There are no unexpected formatting changes, superfluous debug logs, or commented-out code.
[ ] There are no circuit changes, OR a cryptographer has been assigned for review.
[ ] New functions, classes, etc. have been documented according to the doxygen comment format. Classes and structs must have @brief describing the intended functionality.
[ ] If existing code has been modified, such documentation has been added or updated.
[ ] No superfluous include directives have been added.
[ ] I have linked to any issue(s) it resolves.
[ ] I'm happy for the PR to be merged at the reviewer's next convenience.

Closing this as it has been decided that we'll update the Nullifier tree stuff in aztec-packages at a later date making this PR not yet necessary.


rspamd: disable LuaJIT support on aarch64 [ZHF 19.93]

Motivation for this change
#68361
Things done
When compiled with LuaJIT support, rspamd segfaults on aarch64.
Without LuaJIT, rspamd falls back to plain Lua and torch support needs to
be disabled.

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

[x] NixOS (x86_64-linux & aarch64-linux)
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

In theory luajit can be enabled for i686 as well, but I surprising, if someone use rspamd in production on i686

Well, there are various workarounds to make LuaJIT work compatibly on aarch64, if you're really interested in that, but I believe there's apparently no standard/"clearly best" approach yet.


Lighthouse: Serve static assets with an efficient cache policy

Tasks

[ ]

Writing the Issue

[ ] Write each task for this issue using checkboxes
[ ] Write all verbal instructions as tasks

Before Working on the Issue

[ ] Assign yourself
[ ] Share your screen on Discord
[ ] Write which issue you are starting on Slack
[ ] Git: Fetch the latest main
[ ] Git: Create a branch with the name of the issue

Pre-PR Checks

[ ] Insure that changes include only what is necessary for this PR
[ ] Implement necessary Unit tests
[ ] Implement necessary E2E tests
[ ] Perform functionality checks

https://github.com/sveltejs/kit/issues/3642#issuecomment-1031640046

https://github.com/sveltejs/kit/issues/3194#issue-1092646279

How to set "Cache-Control" Header for static files in Caddy


erro

Hello, currently I can send pings using your bot, but when I log in on the web, it does not display proxy pings (only one ip from the browser).

Same issue

It is fixed about 3 hours ago. Just clone the git again on a new folder. Copy your proxy.txt and token.txt over and run the script.


sitemap-generator outdated

Hi @lgraubner,
first of all thanks for providing this command line tool.
I just noticed that it currently uses sitemap-generator at version 8.3.0 which still matches regular pages as AMP pages. Would it be possible to update the sitemap-generator dependency?
Many thanks in advance.

Sure. I try to make a new release today.

Sorry took a little longer. Updated and published now.

Thanks a lot for the update.


There is no css file?

I can't find the stylesheet file for the classes used in the examples.

https://github.com/troch/troch.github.io/tree/master/angular-multi-step-form

Why they are not in the same repo? it would be handy.

Handy for what? they are illustrative examples of a JS library, and the CSS for them is located where they are hosted.
Now, if you wanted to do a copy paste and raised an issue because you couldn't, then I'm GLAD to have made it awkward for you. Bye.

I just thought examples where part of the library and stylesheets were missing. Now I see your point. Don't need to be rude man ;)

The reason for being rude is your rudeness in the first place. Being polite when asking for something goes a long way.


Default Fips DRBG cannot call Rand_poll() during the reseed process

I call the FIPS_mode_set(1), then call RAND_pseudo_bytes for more than 1 << 24 times to trigger the reseed process, but Rand_poll() still cannot be called during the reseed process.

Yes, I am using OpenSSL 1.0.2o with Fips 2.0.16.
But I am very confused about this. If we don't set Fips mode, system will call ssleay_rand_cleanup to clean the global variable initialized, and it will call the Rand_poll to get fresh entropy in reseed process. But the cleanup method for Fips doesn't do this, I don't know why.

...system will call ssleay_rand_cleanup...

Who is "the system" and when does it call the cleanup function?
I don't see RAND_cleanup()/ssleay_rand_cleanup() called anywhere inside the library itself, only from application code:
util/libeay.num:457:RAND_cleanup                            465	EXIST::FUNCTION:
crypto/rand/rand_lib.c:133:void RAND_cleanup(void)
crypto/rand/rand.h:100:void RAND_cleanup(void);
crypto/rand/md_rand.c:160:static void ssleay_rand_cleanup(void);
crypto/rand/md_rand.c:170:    ssleay_rand_cleanup,
crypto/rand/md_rand.c:181:static void ssleay_rand_cleanup(void)
apps/speed.c:2168:        RAND_cleanup();
apps/speed.c:2263:        RAND_cleanup();
apps/speed.c:2356:        RAND_cleanup();
apps/apps.h:192:                        RAND_cleanup(); \
apps/apps.h:203:                        RAND_cleanup(); \
doc/crypto/RAND_add.pod:69:L<RAND_load_file(3)|RAND_load_file(3)>, L<RAND_cleanup(3)|RAND_cleanup(3)>
doc/crypto/RAND_load_file.pod:46:L<rand(3)|rand(3)>, L<RAND_add(3)|RAND_add(3)>, L<RAND_cleanup(3)|RAND_cleanup(3)>
doc/crypto/RAND_set_rand_method.pod:49:RAND_bytes(), RAND_cleanup(), RAND_add(), RAND_pseudo_rand()
doc/crypto/RAND_egd.pod:76:L<RAND_cleanup(3)|RAND_cleanup(3)>
doc/crypto/RAND_cleanup.pod:5:RAND_cleanup - erase the PRNG state
doc/crypto/RAND_cleanup.pod:11: void RAND_cleanup(void);
doc/crypto/RAND_cleanup.pod:15:RAND_cleanup() erases the memory used by the PRNG.
doc/crypto/RAND_cleanup.pod:19:RAND_cleanup() returns no value.
doc/crypto/RAND_cleanup.pod:27:RAND_cleanup() is available in all versions of SSLeay and OpenSSL.
doc/crypto/rand.pod:30: void RAND_cleanup(void);
doc/crypto/rand.pod:173:L<RAND_cleanup(3)|RAND_cleanup(3)>
doc/ssleay.txt:4973:void RAND_cleanup();

yes, you are right, cleanup will be called by application

I was too pessimistic. Now I believe that in contrary to the DRBG on the master branch, an automatic reseeding will do no harm, because the SSLEAY PRNG does not maintain an error state.
See pull request #7247 for full details.

For the modification in the rand_lib.c, the comments:
* Note: it is threadsafe to increment the counter, since RAND_bytes()
* takes the CRYPTO_LOCK_RAND somewhere up the stack.
*/
I don't see any lock in the source code, could you give more hint for this? Thanks.

@laogaolao thank you for asking this question. It showed me, that this note is actually not helpful and rather distracting. I will give you a more detailed answer to your question later, when I have more time. For the moment, I decided to remove the Note entirely.

I don't see any lock in the source code, could you give more hint for this? Thanks.

As I already mentioned in my last reply, my note was far too technical and in this particular case practically irrelevant. Because the point is that the access to the entire random generator (not only to the counter) needs to be synchronized in a multithreaded application.  The RAND API normally takes care of this automatically (provided the application has set the locking callbacks during initialization). So if the application calls RAND_bytes(), the CRYPTO_LOCK_RAND lock will be taken internally before generating the  random bytes.  Since reseeding happens during generation of random bytes, it follows that the CRYPTO_LOCK_RAND lock is held in rand_drbg_reseed(). (CRYPTO_LOCK_RAND is actually just an index in an array of locks provided by the application).
That's all the comment was about. I hope this information adds to your stock of useless knowledge ;-).
msp@msppc:~/src/openssl-1.0.2$ grep -rnH CRYPTO_LOCK_RAND crypto
crypto/rand/md_rand.c:148:                                           * holds CRYPTO_LOCK_RAND (to
crypto/rand/md_rand.c:150:/* access to lockin_thread is synchronized by CRYPTO_LOCK_RAND2 */
crypto/rand/md_rand.c:223:        CRYPTO_r_lock(CRYPTO_LOCK_RAND2);
crypto/rand/md_rand.c:225:        CRYPTO_r_unlock(CRYPTO_LOCK_RAND2);
crypto/rand/md_rand.c:230:        CRYPTO_w_lock(CRYPTO_LOCK_RAND);
crypto/rand/md_rand.c:262:        CRYPTO_w_unlock(CRYPTO_LOCK_RAND);
crypto/rand/md_rand.c:315:        CRYPTO_w_lock(CRYPTO_LOCK_RAND);
crypto/rand/md_rand.c:328:        CRYPTO_w_unlock(CRYPTO_LOCK_RAND);
crypto/rand/md_rand.c:393:        CRYPTO_w_lock(CRYPTO_LOCK_RAND);
crypto/rand/md_rand.c:396:    CRYPTO_w_lock(CRYPTO_LOCK_RAND2);
crypto/rand/md_rand.c:398:    CRYPTO_w_unlock(CRYPTO_LOCK_RAND2);
crypto/rand/md_rand.c:473:        CRYPTO_w_unlock(CRYPTO_LOCK_RAND);
crypto/rand/md_rand.c:531:        CRYPTO_w_lock(CRYPTO_LOCK_RAND);
crypto/rand/md_rand.c:535:            CRYPTO_w_unlock(CRYPTO_LOCK_RAND);
crypto/rand/md_rand.c:539:        CRYPTO_w_unlock(CRYPTO_LOCK_RAND);
crypto/rand/md_rand.c:583:        CRYPTO_r_lock(CRYPTO_LOCK_RAND2);
crypto/rand/md_rand.c:585:        CRYPTO_r_unlock(CRYPTO_LOCK_RAND2);
crypto/rand/md_rand.c:590:        CRYPTO_w_lock(CRYPTO_LOCK_RAND);
crypto/rand/md_rand.c:595:        CRYPTO_w_lock(CRYPTO_LOCK_RAND2);
crypto/rand/md_rand.c:597:        CRYPTO_w_unlock(CRYPTO_LOCK_RAND2);
crypto/rand/md_rand.c:612:        CRYPTO_w_unlock(CRYPTO_LOCK_RAND);
crypto/crypto.h:205:# define CRYPTO_LOCK_RAND                18
crypto/crypto.h:206:# define CRYPTO_LOCK_RAND2               19

@mspncp Thanks for your explaination, that's helpful.

@laogaolao would you mind trying #7259 for me and let me know whether it works as you expect? Thanks!

@mspncp Sure, I have make the change in our system, but still need to wait the bsp guy to finish the random device work, because we should get the seeds from this new random device instead of the /dev/urandom

Well, /dev/urandom will be good enough for me...   ;-)

The fix has now been merged.  Thanks @laogaolao for reporting the issue!


Fail running setup.py

When running:
Det3D$ python setup.py build develop

I get:
/home/iglopezfrancos/miniconda3/envs/py3D/lib/python3.7/site-packages/setuptools/dist.py:476: UserWarning: Normalizing '1.0.rc0+11f2398' to '1.0rc0+11f2398'
  normalized_version,
running build
running build_py
copying det3d/version.py -> build/lib.linux-x86_64-3.7/det3d
running build_ext
building 'det3d.ops.nms.nms' extension
gcc -pthread -B /home/iglopezfrancos/miniconda3/envs/py3D/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/iglopezfrancos/miniconda3/envs/py3D/lib/python3.7/site-packages/torch/include -I/home/iglopezfrancos/miniconda3/envs/py3D/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/iglopezfrancos/miniconda3/envs/py3D/lib/python3.7/site-packages/torch/include/TH -I/home/iglopezfrancos/miniconda3/envs/py3D/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/iglopezfrancos/miniconda3/envs/py3D/include/python3.7m -c det3d/ops/nms/nms.cc -o build/temp.linux-x86_64-3.7/det3d/ops/nms/nms.o -g -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=nms -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
/usr/local/cuda/bin/nvcc -I/home/iglopezfrancos/miniconda3/envs/py3D/lib/python3.7/site-packages/torch/include -I/home/iglopezfrancos/miniconda3/envs/py3D/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/iglopezfrancos/miniconda3/envs/py3D/lib/python3.7/site-packages/torch/include/TH -I/home/iglopezfrancos/miniconda3/envs/py3D/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/iglopezfrancos/miniconda3/envs/py3D/include/python3.7m -c det3d/ops/nms/nms_kernel.cu -o build/temp.linux-x86_64-3.7/det3d/ops/nms/nms_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -O2 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=nms -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_60,code=sm_60 -std=c++11
In file included from /usr/local/cuda/include/cuda_runtime.h:120:0,
                 from <command-line>:0:
/usr/local/cuda/include/crt/common_functions.h:74:24: error: token ""__CUDACC_VER__ is no longer supported.  Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead."" is not valid in preprocessor expressions
 #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported.  Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead."
                        ^
error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1

My system has:

CUDA v.10.0
Pytorch 1.4
CUDNN_MAJOR 7
CUDNN_MINOR 6
CUDNN_PATCHLEVEL 5

Commenting out the following  from setup.py, which was added in the merge allowed me to compile it.
CUDAExtension(
                name="det3d.ops.nms.nms",
                sources=[
                    "det3d/ops/nms/nms.cc",
                    # "det3d/ops/nms/nms.h",
                    "det3d/ops/nms/nms_kernel.cu",
                    # "det3d/ops/nms/nms_cpu.h",
                ],
                extra_compile_args={"cxx": ["-g"], "nvcc": ["-O2"]},
            ),

But removing it casues this other issue ModuleNotFoundError: No module named 'det3d.ops.nms.nms' . So how do we fix the setup issue in the first place?

For your first question,

/usr/local/cuda/include/crt/common_functions.h:74:24: error: token ""CUDACC_VER is no longer supported.  Use CUDACC_VER_MAJOR, CUDACC_VER_MINOR, and CUDACC_VER_BUILD instead."" is not valid in preprocessor expressions
#define CUDACC_VER "CUDACC_VER is no longer supported.  Use CUDACC_VER_MAJOR, CUDACC_VER_MINOR, and CUDACC_VER_BUILD instead."

That seems to be some cuda/torch/python version error. Maybe try the thing I mentioned here #71.


Add "locate" functionality

This is an idea for major new functionality for Specter. Not all the details are worked out yet.
The idea is to have a new top-level function called "locate" that provides brand-new functionality on paths. This function would be as significant as "select" or "transform" and would add a new dimension to the library. "locate" returns paths to the individual elements found, and then those paths can be used to do further selection/manipulation. Here's a speculative example:
(def locations (locate [ALL :a ALL] structure))
(if (>= (count locations) 2)
  (->> structure
         (transform (first locations) inc)
         (transform (second locations) dec)))

The locations could also be introspected to know – in this case – which indices in the two sequences the locations correspond to.
A "location" works like any other path but it can navigate back to itself in the data structure faster than using the general path that found it in the first place (for example, because it knows the specific indices in the sequence to jump to rather than do a scan). It is also specific. So you could have workflows that locate something of interest deep in the data structure, do further queries on that location along with retrieving relevant information from other sources, and then finally do a transformation on that location when all the info has been put together.
Implementation-wise, any Specter path statically implies what its location path will be. [ALL :a ALL]'s location path would be [keypath :a keypath] (minus working out some details about dealing with non-vector sequences). So the specific location is just a parameter list for those parameterized selectors.

Specter how has recursive navigation which will affect the design of this feature.

Is there an ETA for this feature?

No ETA as of now

Ideas for what protocols could provide the locate functionality:
(locate* [this current-path structure next-fn]
  ;; current-path is a vector of navigators built up so far
  ;; current-path = [] at the top level
  (next-fn (conj current-path ...) (... structure)))

(locate* [this structure next-fn]
  ;; must return a sequence of paths
  (map #(conj % ...)
    (next-fn (... structure))))

Sets could be an issue when working with ALL; how can you guarantee a path into a specific item from a set?
(let [data #{{:a 1} {:a 2 :b 3}}
      [p] (locate [ALL :a even?] data)]
  (->> data
       (transform p inc)
       (transform p inc)))
=> #{{:a 1} {:a 4 :b 3}}
;; how?

So the tricky thing with this is that locate needs to return compiled paths, and it needs to do so efficiently. Returning an uncompiled path is straightforward but it will be slow to use those paths. That's what I was getting at in the original description with a location path being statically knowable from the navigation path. It seems that the fundamental operation of locate is generating an array of parameters for each location. Recursive paths and mutually recursive paths imply that the length of the parameters array can vary.
Regarding data structures like sets that don't have ways to point to a specific element, I'm not sure what the right approach would be. I'm leaning now towards throwing a runtime error for cases like that.

A couple more thoughts:

Actually, sets do have a valid stable key, which is the value itself in the set.
Since a data structure can change and invalidate prior locations, there should be a way to determine if a location is still valid. So for something like navigating by key, this would work by un-intertwining the filtering logic that must does from its actual navigation.

keypath seems like the natural location equivalent of ALL, but it doesn't translate to maps. I think this is evidence the current formulation of ALL is wrong and that for maps it should only navigate to the map values. Similarly, ALL on vectors doesn't navigate to pairs of index/value.
For consistency and to enable the locate feature, MAP-VALS should be removed and ALL's semantics should be changed. ALL should be renamed to VALS, and a new KV-PAIRS navigator should be added. Additionally, VAL should be renamed to something else to avoid confusion (COLLECT-VAL?).

I mostly concerned with transparency of paths - e.g. for debugging or diagnostics.
Having access to only compiled paths would obfuscate this and forces me to use Specter library with found paths also. On the other hand since found path is just a sequence of keys that I can feed to get-in, for example, is there a need for more optimizations?

Decided not to add a locate implementation to the open source version of Specter.


Invalid value for "max_discharge_current" : 200.000015 (range 1.0 - 200.0)

My Home Assistant keeps complaining in the logs about this:

Invalid value for number.jk_bms_max_discharge_current: 200.000015 (range 1.0 - 200.0)

I will have a look!

Seems like a classic floating point comparison issue. Not sure what the best fix would be, perhaps change the whole thing to use integers instead? I doubt anyone desperately needs to set discharge current to sub-ampere accuracy.

If pushed a fix which relaxes the upper limit. If the value passes the validation it should be handled/rounded properly.

Yeah I guess that works too :+1:


Add links for all github badges in social template

For example the contributors badge in social template does not make the buttons clickable, while the stars badge does.

Just a tip on timing, that it might be a little easier to do this post-refactor.
Once #2253 is merged all the github services will be easy to convert.

I have started working on this issue
As there seems to be a lot of badges for github
I will gradually include remaining badge types, add links for all the respective badges and simultaneously update below
Please update if you find any links that are wrong

[ ] Activity
[ ] Build
[ ] Size
[ ] Issue Tracking
[ ] Downloads
[ ] Other
[ ] Social
[ ] Version
[ ] Analysis
[ ] License
[ ] Platform & Version Support
[ ] Dependencies

Badge (Type: Activity)
Badge path
Link (example for badges/shields)

All Contributors
/github/all-contributors
https://github.com/badges/shields/graphs/contributors

Commit Activity
/github/commit-activity
https://github.com/badges/shields/graphs/commit-activity

Commit Since Tagged Version
/github/commit-since
https://github.com/badges/shields/compare/a0663d8da53fb712472c02665e6ff7547ba945b7...HEAD

Commit Since Tagged Version (Branch)
/github/commit-since
https://github.com/badges/shields/compare/a0663d8da53fb712472c02665e6ff7547ba945b7...historical

Commit Since Latest Release (By Date)
/github/commit-since
https://github.com/badges/shields/compare/latest...HEAD

Commit Since Latest Release (By Date) for a branch
/github/commit-since
https://github.com/badges/shields/compare/latest...historical

Commit Since Latest Release (By Date including pre-releases)
/github/commit-since
https://github.com/badges/shields/compare/latest...HEAD

Commit Since Latest Release (By SemVer)
/github/commit-since
https://github.com/badges/shields/compare/latest...HEAD

Commit Since Latest Release (By SemVer incl. pre-releases)
/github/commit-since
https://github.com/badges/shields/compare/latest...HEAD

Contributors
/github/contributors
https://github.com/badges/shields/graphs/contributors

Last Commit
/github/last-commit
https://github.com/badges/shields/commits/master

Last Commit (Branch)
/github/last-commit
https://github.com/badges/shields/commits/gh-pages

Release Date
/github/release-date
https://github.com/badges/shields/releases

Pre-release Date
/github/release-date-pre
https://github.com/badges/shields/releases

I have started working on this issue
As there seems to be a lot of badges for github
I will gradually include remaining badge types, add links for all the respective badges and simultaneously update below
Please update if you find any links that are wrong

[ ] Activity
[ ] Build
[ ] Size
[ ] Issue Tracking
[ ] Downloads
[ ] Other
[ ] Social
[ ] Version
[ ] Analysis
[ ] License
[ ] Platform & Version Support
[ ] Dependencies

Badge (Type: Activity)
Badge path
Link (example for badges/shields)

All Contributors
/github/all-contributors
https://github.com/badges/shields/graphs/contributors

Commit Activity
/github/commit-activity
https://github.com/badges/shields/graphs/commit-activity

Commit Since Tagged Version
/github/commit-since
https://github.com/badges/shields/compare/a0663d8da53fb712472c02665e6ff7547ba945b7...HEAD

Commit Since Tagged Version (Branch)
/github/commit-since
https://github.com/badges/shields/compare/a0663d8da53fb712472c02665e6ff7547ba945b7...historical

Commit Since Latest Release (By Date)
/github/commit-since
https://github.com/badges/shields/compare/latest...HEAD

Commit Since Latest Release (By Date) for a branch
/github/commit-since
https://github.com/badges/shields/compare/latest...historical

Commit Since Latest Release (By Date including pre-releases)
/github/commit-since
https://github.com/badges/shields/compare/latest...HEAD

Commit Since Latest Release (By SemVer)
/github/commit-since
https://github.com/badges/shields/compare/latest...HEAD

Commit Since Latest Release (By SemVer incl. pre-releases)
/github/commit-since
https://github.com/badges/shields/compare/latest...HEAD

Contributors
/github/contributors
https://github.com/badges/shields/graphs/contributors

Last Commit
/github/last-commit
https://github.com/badges/shields/commits/master

Last Commit (Branch)
/github/last-commit
https://github.com/badges/shields/commits/gh-pages

Release Date
/github/release-date
https://github.com/badges/shields/releases

Pre-release Date
/github/release-date-pre
https://github.com/badges/shields/releases

Rather than just covering social template
Should all github badges be covered ?
including commits, pull requests, releases etc. ?
Because any badge can be made to social using ?style=social

Rather than just covering social template
Should all github badges be covered ?
including commits, pull requests, releases etc. ?
Because any badge can be made to social using ?style=social


Pass --nocapture when running tests

The initial idea was to show debug messages produced by the driver.
However there are no such message, and all that is displayed are confusing panick messages for tests are have the #[should_fail] attribute.
I guess I'll close this.


Landingpage

On the Landingpage should be the following components:

[x] Banner image caroussel
[x] Possible Uses
[x] #62
[x] #54
[x] #53
[x] Map

Pictures (Some pictures?)
Team

Image carousel is done by #26

All done


Lazy load for large galleries

I have a gallery with over 300 pictures and that doesn't work.

Interesting. What browser? My gallery does lazy-load actually. Lazy load is just usually a tag in the HTML to tell the browser what to do I believe.

Hmm that is odd... I have the current Chrome version installed.

@KillerTic It's been a long time since this was posted. If you're still using the tool, would you be able to check if you can reproduce the issue with the v2-branch?


X should not scroll

don't allow the "X" to scroll with the page, has to be js to override it

applied x across html files


Access to the path is denied

Prerequisites

[X] I have written a descriptive issue title
[X] I have verified that I am running the latest version of ImageProcessor
[ ] I have verified if the problem exist in both DEBUG and RELEASE mode
[X] I have searched open and closed issues to ensure it has not already been reported

Description
My .NET application is crashing many times per day. Errors similar to the one shown below are logged in the Windows Event Log - Application.
I have done everything to my knowledge to isolate the root of this error. I have set permissions on the \App_Data\cache to full control, but that did not remedy. I do not know what to do and would value any guidance.
An unhandled exception occurred and the process was terminated.
Application ID: /LM/W3SVC/5/ROOT
Process ID: 7180
Exception: System.AggregateException
Message: One or more errors occurred.
StackTrace:    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at ImageProcessor.Web.Caching.ImageCacheBase.CacheTrimmer.TimerRelease(Func`2 trimmer)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.TimerQueueTimer.CallCallback()
   at System.Threading.TimerQueueTimer.Fire()
   at System.Threading.TimerQueue.FireNextTimers()
InnerException: System.UnauthorizedAccessException
Message: Access to the path '<redacted>\App_Data\cache\b\a\a\8\c' is denied.
StackTrace:    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.Directory.EnumerateFiles(String path)
   at ImageProcessor.Web.Caching.DiskCache.<TrimCacheAsync>b__12_0(CancellationToken token)
   at ImageProcessor.Web.Caching.ImageCacheBase.CacheTrimmer.<PerformTrim>d__9.MoveNext()

Steps to Reproduce
I cannot reproduce the issue in development environment, but it is happening on production server.
System Configuration
cache.config file:
<?xml version="1.0" encoding="utf-8"?>
<caching currentCache="DiskCache">
  <caches>
    <cache name="DiskCache" type="ImageProcessor.Web.Caching.DiskCache, ImageProcessor.Web" maxDays="0" memoryMaxMinutes="0" browserMaxDays="0">
      <settings>
        <setting key="VirtualCachePath" value="~/app_data/cache" />
      </settings>
    </cache>
  </caches>
</caching>

ImageProcessor version: 2.8.0
ImageProcessor.Web version (if applicable) 4.11.0
Other ImageProcessor packages and versions:

ImageProcessor.Web.Config 2.6.0

Environment (Operating system, version and so on): Windows Server 2012 R2 Datacenter
.NET Framework version: 4.6

After reformatting your comment, I see you've already provided the contents of the cache.config file :+1:
Setting all cache durations to 0 makes no sense (you can't and absolutely don't want to disable caching)!
This also causes the error: after the image is processed and cached, it wants to trim/delete it right away (because of the maxDays="0"), but it's still in use, as the client is probably still downloading it...
Simply put: your configuration is invalid and unsupported. Check the documentation for the default/correct values: https://imageprocessor.org/imageprocessor-web/configuration/#cacheconfig.

BTW your application is only crashing on the production environment because that has Rapid-Fail Protection enabled: https://docs.microsoft.com/en-us/iis/configuration/system.applicationhost/applicationpools/add/failure.


PowerShell task which executes not file but script itself

As VSO user I often want to execute some PowerShell expression without having a file. It may seems like a bad practice (since that expression not in git), but it is actually really useful, especially during experiments.
Anyway, a lot of build specific data end up in VSO steps, so it makes sense to keep short expressions there too without trashing repo.
Currently, as workaround, I use command line task, calling powershell.exe with -c some-cmdlet argument. This approach has multiple flaws (string literals require ugly escaping, you should not forget to add -NonInteractive, etc.) and causes following bug/confusion.
It would be great to have PowerShell task which executes not a script file but expression and shares setup with current PowerShell task (like -NoProfile -NonInteractive, etc.).

Appreciate your feedback.
One of the reasons inline script/expression weren't prioritized was due to the fact that the changes to release weren't tracked for audit yet.
Support for inline script in lieu of PS script is in backlog. However, it might take a while before we get to it.

Closing since tracking on back log


Feature: Progress-bar-scroll-Effect

Is your feature request related to a problem? Please describe.
To add a Progress Bar Component with a scroll effect
Describe the solution you'd like
will add a component to the Progress-bar folder
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
screen-recording (1).webm
Additional context
Add any other context or screenshots about the feature request here.

Just remove the upper component. Keep only the progress bars !

sure


Return storage in debug_traceTransaction structLogs

Since geth removed support for fullStorage in ethereum/go-ethereum#15499, we won't add support for it, either. Repurposing this issue to handle implementation of returning the storage updates (as we presently don't do this).


BackgroundWorkerCollection scenario is badly clearing invisible button.

The reason is the Start button is set to Visible=false before the window is loaded, causing clear an nonexistent button yet. To avoid this it's needed to set the ClearOnVisibleFalse = false, thus prevent the button been clearing when is set to invisible.

I can't tell if this is fixed or not because it appears I broke something else in this Scenario with #2544.

I can't tell if this is fixed or not because it appears I broke something else in this Scenario with #2544.

Yes, it's broken. I fixed with the #2560.

This issue is fixed by #2421. It seems the issues aren't automatically closed by the "Fixes #" prefix after they are merged.

It seems the issues aren't automatically closed by the "Fixes #" prefix
after they are merged.

Because the default branch is develop and not v2_develop PRs won't
close tickets even after merge.
On Sun, 16 Apr 2023, 21:02 BDisp, @.***> wrote:

Closed #2420 https://github.com/gui-cs/Terminal.Gui/issues/2420 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/gui-cs/Terminal.Gui/issues/2420#event-9018186103, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHO3C5FXYYPJYZPXUMRWHQ3XBRF6JANCNFSM6AAAAAAV4OUVHE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks for clarification @tznind.


Make license SPDX compatible in package.json

This fixes the following npm warning:
npm WARN<EMAIL_ADDRESS>license should be a valid SPDX license expression

Thanks :+1:


Update Cocoapods Podfile with dependencies as I add/remove categories in the CLI

When setting up an Amplify project for iOS, I would like for the CLI to automatically update the Cocoapods Podfile as I add or remove categories in the CLI.
For example, if I want to add Auth to my app with the default "basic auth", there are known AWS SDK dependencies that need to be added to my Podfile to install the AWS SDK on the client.
Here's the scenario:
Amplify init as an iOS project
amplify add auth - select the default option which is just basic auth (username/password)
amplify push
The CLI updates my awsconfiguration.json with any new endpoints.
At this point I need to go back to the iOS docs and figure out what dependencies are needed for adding the auth SDK to my app. In the case of the default auth here, the following three dependencies should be added to my Podfile:
Amazon Cognito User Pools (Basic Auth)
pod 'AWSUserPoolsSignIn', '~> 2.8.0'   # Optional dependency required to use drop-in UI

Shared auth components
pod 'AWSMobileClient', '~> 2.8.0'    # Required dependency for Auth with AWS SDK for iOS
pod 'AWSAuthUI', '~> 2.8.0'          # (Optional) dependency is required when using drop-in UI

So, with this feature implemented, after an amplify push, the Podfile is automatically updated and I simply run pod install.

Amplify 2.x only supports SPM and CocoaPods support has been deprecated.


Brok and Sindri NPC

Functionality :

Replace enchantments with an alternative that will only be provided by Brok and Sindri characters

Envisioned process :

Player throws item on the ground
Player throws  magic stone on the ground (Inspiration from mythos)
Brok / Sindri picks up (or drags) item  and stone to their work station
Depending on desired enchantment, different effect (Lightning Imbued causes static and lightning, Frost causes the area to be covered in snow, etc) will occur while item is being upgraded.

Issues :
No idea how to make NPCs!

More detail on these npcs. I like the idea of there only being one pair of Brok and Sindri and no duplicates (For Immersion ™ , you see).
How to accomplish this?
They will only spawn next to Dwarven Forges, and there will likely be multiple of these forges in a given minecraft world (only created by players).
Some obvious issues with the idea of a mob that cannot duplicate :
For servers with a respectable player base, finding Brok and Sindri might be a nightmare, given that they will randomly spawn at any given Dwarven Forge.
Could make it so that you can request them at any Dwarven Forge but thats a huge bottleneck for players that need to upgrade their stuff, having to "wait their turn" with Brok and Sindri.
On a technical level, implementing this will be difficult, on a gameplay design level, its just shite. What to do?... Decide at a later date and go for the easiest route.

Or! Have it be a config. Either have the one instance of Brok and Sindri and they randomly go to a forge that has the most players in the area; Or every instance of the forge spawns a new set of Brok and Sindri entities. Best way forward.

Another approach is to let there be duplicates, but they will not spawn if they are within, say 400 blocks of each other. So many options...

done. buggy.


integrated with iframe

integrated with iframe
see the effects:
https://weituotian.github.io/AdminLTE-With-Iframe/pages/index_iframe.html
using the custom json to create the menus,and js the control how the iframes tab being created,being closed,being changed!
enjoy!

Thank you for sharing your code with us. Unfortunately, we are not adding new features to AdminLTE 2 since we are working on 3.
We appreciate your contribution!

does this ui is the first version of adminLTE?
http://www.supermgr.cn/admin/index_iframe.html

Nope thats SuperUI, they copied the style of AdminLTE since v1.3.1


Not installing on rhel7/centos7

Hello,
Trying to get my vmwaretools installed on my a clean rhel 7 machine
puppet agent -t gives:
....
Info: Caching catalog for rhel7-test.memnon.se
Info: Applying configuration version '1430383137'
Notice: /Stage[main]/Vmwaretools::Config/File[/tmp/vmwaretools]/ensure: created
Notice: /Stage[main]/Vmwaretools::Install::Archive/File[/tmp/vmwaretools/VMwareTools-9.4.11-2400950.tar.gz]/ensure: defined content as '{md5}98bbfe57aa2dd473cbeacb799a000884'
Info: /Stage[main]/Vmwaretools::Install::Archive/File[/tmp/vmwaretools/VMwareTools-9.4.11-2400950.tar.gz]: Scheduling refresh of Exec[uncompress_vmwaretools]
Notice: /Stage[main]/Vmwaretools::Install::Exec/Exec[uncompress_vmwaretools]: Triggered 'refresh' from 1 events
Info: /Stage[main]/Vmwaretools::Install::Exec/Exec[uncompress_vmwaretools]: Scheduling refresh of Exec[install_vmwaretools]
Notice: /Stage[main]/Vmwaretools::Install::Exec/Exec[install_vmwaretools]: Triggered 'refresh' from 1 events
Info: /Stage[main]/Vmwaretools::Install::Exec/Exec[install_vmwaretools]: Scheduling refresh of Exec[clean_vmwaretools]
Notice: /Stage[main]/Vmwaretools::Install::Exec/Exec[clean_vmwaretools]: Triggered 'refresh' from 1 events
Info: /Stage[main]/Vmwaretools::Install::Exec/Exec[clean_vmwaretools]: Scheduling refresh of Exec[remove_vmwaretools_working_dir]
Notice: /Stage[main]/Vmwaretools::Install::Exec/Exec[remove_vmwaretools_working_dir]: Triggered 'refresh' from 1 events
Notice: Finished catalog run in 8.66 seconds
Does this every agent run and never installs. It works on my older rhel6/5 and centos6/5
Only settings I have touched are: $version = '9.4.11-2400950', and added the tar.gz file under files/ folder.
What might be the issue? Feels like Im missing something rhel7 related?

Hi,
There's a known issue with VMware Tools and RHEL 7 - see #55 for more detail.
To work around, you may need to set the force_install parameter to true (see the documentation in init.pp for more detail on what the parameter does).
I'll add a few notes to the Readme in future, and I'm considering adding a auto-force parameter that automatically uses the force_install parameter on known-bad OS versions, but this is a non-trivial change and may take a while to fully test :)
Can you confirm that the force_install parameter fixes your issue?
Thanks,
Craig

Thanks!
Got it working now. I was a bit wary about setting a value like force_install to true ;)