timelineregion* events do not include Event element

What version of Shaka Player are you using?
latest master (@0698987)

Are you using the demo app or your own custom app?
demo app

What browser and OS are you using?
Firefox 52.0.2 on OSX

What did you do?

What content did you load?
A custom (internal) asset with <EventStream> in the manifest.

How did you interact with the content, if at all?
Added Added listeners for the timelineregion* events and examined event detail.

What did you expect to happen?
The event.detail.eventElement should have been populated with an Element corresponding to <EventStream>><Event>.

What actually happened?
Blank Object in its place (method of copying TimelineRegionInfo does not include it).

I can submit a PR with a fix for this issue.

Cherry-picked to v2.1.1.


chore(main): release 1.0.4

:robot: I have created a release beep boop
1.0.4 (2022-05-26)
Bug Fixes

use updated dependencies (#19) (508cde5)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/jobo322/linear-sum-assignment/releases/tag/v1.0.4 :sunflower:


Fix putting elements under

Fixed the errors around putting other html elements inside <p>
Added Jest test to catch this mistake in the future. It does it by watching console.error().To add in fixing the bug the test's emulated console.error() are echoed to the jest console.error() so they are not lost. I tested this by putting a <h1> back into the <p> and it caught it.

We should figure out how to use this technique in more places?

Close/reopen to generate deploy link for design.

Close/reopen to generate deploy link for design.

@janelien Design sanity check? https://d2zjid6n5ja2pt.cloudfront.net/justice40-tool/aa2826/en

@janelien Design sanity check? https://d2zjid6n5ja2pt.cloudfront.net/justice40-tool/aa2826/en

Hey Tom! Since the PR didn't update with the PR'd URL, did you get the hash from the deploy logs? This link totally looks right, it's just that when I look at the deploy logs, the hash I see is different? You might have found a way around it! Just curious.

Also I think the design asks for Alert to only show one Alert and the cards have card headings.. I thought you put that in? I'm wondering about the hash of the above link. Hmm

@janelien Design sanity check? https://d2zjid6n5ja2pt.cloudfront.net/justice40-tool/aa2826/en

This confused me for a second because I thought this had to do with this ticket. But it's actually in reference to the ABout page PR. Got it now!

Some thoughts:

In the mobile mockup, I had the graphics above the text so it wouldn't get too squished. Is it possible to have it lay out that way in mobile?
For the "Check it out on Github" link, could we have it open in a new tab?
Not sure if the alerts are part of this QA, but the "limited data sources" alert shouldn't be on the About page.

Otherwise, looks good to me! I know we're continuing to discuss typography and spacing, so there may be some future tickets around those things. Thanks for your flexibility on this page! It's gone through a number of iterations, so appreciate the continuous updates!

@janelien

In the mobile mockup, I had the graphics above the text so it wouldn't get too squished. Is it possible to have it lay out that way in mobile?

I looked into it, but it seemed to fit ok even on the smallest mobile?

And there's some talk of turning this whole logo into an svg image with text, so I punted the extra work.
Is it ok to create another issue to do this work in a different PR?

For the "Check it out on Github" link, could we have it open in a new tab?

Will do. Technically, I think we should have all "off site" links go into a new tab.

Not sure if the alerts are part of this QA, but the "limited data sources" alert shouldn't be on the About page.

OK. Will fix this as well.


Correct spelling of "gray"

The project uses the "gray" spelling, but the README shows "grey" (which does not work)

Yay! thank you, @duckbrain! 🔥


Version 3 is Work in Progress and comes with some neat features.

I am currently working on Version 3. You might wonder what changed.. it's not final yet, but the most important features are:

Support for hot module replacement

for systems
for components (and thus factories)
tested with webpack and with parcel.

Simplified creating components without blueprints (from engine)
Simplified syntax for pure marker components
Performance optimizations

Wait, did you say Hot Module Replacement?
Yes, while investigating a bug in a game, I had to always go back to the same place and repeat the same steps to be able to reproduce the bug, since every save would reload the entire game.
I could have created a special level with this bug, but I knew, that most bundlers nowadays support hot module replacement. So if this works for Single Page Applications, why not for games as well?
If you don't know: Hot module replacement means, that when you save a file while developing, the code (logic) will be replaced, but state (data) can be kept. This should work perfectly with an entity-component system, since we already separate logic (systems) and data (components).
My first idea was to just write the ECS in react, since the code to keep the state already exists. I made a prototype working relatively quickly and it even made the code a lot(!) simpler. But it would also force everyone to use react and it would prevent ecstasy from being used on the server-side. Aside from that, it would introduce very big breaking changes, since systems would have to be written in a completely different manner.
So I started experimenting with webpacks hot module replacement API and, while it took a lot longer to get a prototype working, the new approach works without react.
Breaking Changes
Sadly, this still requires quite a few breaking changes. A lot of things will remain similar or even unchanged, but if you have been using v1 or v2 before, you will have to put some work in to go for v3. Mostly on the component code. The adjustments required for systems are not as drastic. I will create a migration guide before the release.
Most notable breaking changes:

Switch from typedi to custom dependency injection code

Why? There doesn't seem to be a dependency injection library for typescript, which supports hot-module-replacement at this time.
This includes a switch to constructor-only dependency injection (to keep it simple for now)

Components have to be written in a very different way. No more classes. On the plus-side: it puts more focus on components just being data.

Feedback
The new API is not final yet. If you have any idea how to make the API better, feel free to comment here.
The current code can be found here: https://github.com/Lusito/typed-ecstasy/tree/v3
I will try to prepare some alpha/beta builds once I am a bit more confident about the API

@MadMed677 since you've recently been using typed-ecstasy, I wonder if you have any thoughts on improving the API.


Adapt analytic continuation so that it works with JAX

Currently (#58), analytic continuation has to be 'activated' by using an array of complex values as input. The invariant masses have this behavior by default since v0.9.1:
https://github.com/ComPWA/ampform/blob/349f6fe3dfe2a292438ffd645540249d2a1da2bb/src/ampform/data.py#L167
However, this approach results in a kind of 'double' analytic continuation when using phase_space_factor_ac (by default, phase_space_factor is used, but with complex input, this is already doing some form of analytic continuation). So some smarter approach has to be thought of that (and this is the challenging part) works well in both SymPy and JAX.
A notebook is available under the ComPWA/compwa-org documentation repo that describes the issue. It can be used to work out a solution.

Closed by #64, bug in ZenHub


Copy_Both_Response is missing OverallFormat byte when Encoded

Hello,
It looks Copy_Both_Response.go is missing the overallFormat byte as part of the first byte in the response. If you were to look at the decode method it is fairly obvious:

	columnCount := int(binary.BigEndian.Uint16(buf.Next(2)))
	if buf.Len() != columnCount*2 {
		return &invalidMessageFormatErr{messageType: "CopyBothResponse"}
        }

But in Encode we append dst = pgio.AppendUint16(dst, uint16(len(src.ColumnFormatCodes))) without appending the src.OverallFormat first.

I've opened #25 to address this.

Fixed in #25.


Pages: Insert content from another page

It should be possible to insert text content from other pages into the editor of the current page. Changes to the original text should not be tracked.
This feature should be anchored in the editor.

So this is basically copying the content of another page once.


not seen counter bugs

If irc client window is not focused, the currently selected channel view can't become red, even if you are pinged.
Number in window title shows how many PM views are red, excluding channel views.

Fixed in #121


Allow options for LaTeX minted blocks

I've not used them much, but LaTeX minted blocks can have optional arguments. My original regex did not consider this. Test and proposed fix attached.

Thanks for reviewing and merging.


Setup cob4-9

This PR requires: https://github.com/ipa320/cob_supported_robots/pull/4 and https://github.com/ipa320/cob_calibration_data/pull/130

I rebased and finalized this PR
@ipa-fmw please test again on cob4-9 hardware according to https://github.com/ipa320/cob4/issues/297#issuecomment-297689933

thanks @ipa-fxm your changes look good to me, tested? can be merged?


Update 05_1_gradientdescent_manually.py

Thank you for your excellent tutorials!
np.dot() sum items, so I think for MSE, 1/len(y) should be appropriate.

thanks for your input! You are not wrong, however, .mean() is doing the same thing and is the better choice for tensor operations...


Can’t see pokestops nor pokemons (phone & bot)

I started the bot this morning as usual and it can’t see any pokestops or monsters.
It just walks and updates location.
Closed it, checked on the phone, and cannot see anything either. Map is there, but all usual pokestops and gyms aren’t showing up.
Is there a fix? Softban fix isn’t helping, since there are no pokestops.
BTW it’s not a server issue, as other accounts work fine in the same area.
Thanks!

Ok, I let it walk and it fixed itself after quite a while of
[FollowSpiral] [INFO] [position_update] Walking from (GPS) to (GPS) (- m)
It may be a new type of softban, where you cannot spin pokestops as none show up.

I got this problem too. It is not catching pokemons to more.

2016-08-10 06:47:46,096 [PokemonGoBot] [INFO] [bot_start] Starting bot...
2016-08-10 06:47:47,873 [CollectLevelUpReward] [INFO] [level_up_reward] Received level up reward: []
2016-08-10 06:47:47,876 [IncubateEggs] [INFO] [next_egg_incubates] Next egg incubates in 0.15 km
2016-08-10 06:47:48,484 [FollowSpiral] [INFO] [position_update] Walking from (50.84680500146408, 4.351804538945183, 0) to (50.84680500146408, 4.351804538945183, 0) (0.0 m)
2016-08-10 06:47:50,516 [FollowSpiral] [INFO] [position_update] Walking from (50.84680500146408, 4.351804538945183, 0) to (50.84743669843314, 4.351804538945183, 0) (70.2414715398 m)
2016-08-10 06:48:20,101 [FollowSpiral] [INFO] [position_update] Walking from (50.84743669843314, 4.351804538945183, 0) to (50.84743669843314, 4.351095642586785, 0) (49.7695528726 m)
2016-08-10 06:48:41,900 [FollowSpiral] [INFO] [position_update] Walking from (50.84743669843314, 4.351095642586785, 0) to (50.84680500146408, 4.351095642586785, 0) (70.2414715398 m)
2016-08-10 06:49:13,701 [FollowSpiral] [INFO] [position_update] Walking from (50.84680500146408, 4.351095642586785, 0) to (50.84617330449501, 4.351095642586785, 0) (70.2414715398 m)
2016-08-10 06:49:41,568 [FollowSpiral] [INFO] [position_update] Walking from (50.84617330449501, 4.351095642586785, 0) to (50.84617330449501, 4.351804538945183, 0) (49.770900729 m)
2016-08-10 06:50:01,450 [FollowSpiral] [INFO] [position_update] Walking from (50.84617330449501, 4.351804538945183, 0) to (50.84617330449501, 4.352513435303582, 0) (49.770900729 m)
2016-08-10 06:50:20,682 [FollowSpiral] [INFO] [position_update] Walking from (50.84617330449501, 4.352513435303582, 0) to (50.84680500146408, 4.352513435303582, 0) (70.2414715398 m)
2016-08-10 06:50:59,553 [FollowSpiral] [INFO] [position_update] Walking from (50.84680500146408, 4.352513435303582, 0) to (50.84743669843314, 4.352513435303582, 0) (70.2414715398 m)
2016-08-10 06:51:35,341 [FollowSpiral] [INFO] [position_update] Walking from (50.84743669843314, 4.352513435303582, 0) to (50.84806839540221, 4.352513435303582, 0) (70.2414715398 m)

same hapenning here as well, i stopped the bot  for now.

Had the same thing. Apparantly your ip gets blocked... Resetting your modem should fetch you a new one ... Don't know for how long it will work though...

Same problem, changed IP, works now.

Was thinking the same

I confirm...

Same thing here

I switched location, started bot for few mins. Switched location back, started bot and works again.
Maybe something was cached in /web folder?

@Arcasss lets see if it will still work after 30mins or an hour.

check #3406


Missing assumptions

I'm running into issues following this, and it seems to stem from some assumptions that aren't made clear in the text. Example: Under Create a cloud spatial anchor,
this.localAnchor.CreateNativeAnchor();
since localAnchor is of type GameObject, this only works if we include
using Microsoft.Azure.SpatialAnchors.Unity;
but that's not specified in this document. Can you include an example of these steps fully implemented with no extra frills? Or is there some other barebones example we can reference instead?

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

ID: 47ed5367-ee97-31a2-78ff-dd98e5c23d24
Version Independent ID: 2e975197-ca07-351a-f538-372500c0cc8f
Content: Create & locate anchors in Unity - Azure Spatial Anchors
Content Source: articles/spatial-anchors/how-tos/create-locate-anchors-unity.md
Service: azure-spatial-anchors
GitHub Login: @RamonArguelles
Microsoft Alias: rgarcia

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

@Imaxsmith let me also share the Azure Spatial Anchors samples repository on GitHub that may help you overcome your current issue.
Thank you!

Thanks. I am digging into those samples to find my answers, and may find everything I need there eventually, but those are made with layers of abstraction and inheritance that make it tough to sort through. A more stripped down example would really help. Maybe just the steps of this tutorial gathered into one(ish) working script?

I have to agree with Imaxsmith. I am trying to figure out what code is driving at which point and what other files are involved. A stripped down sample of just the code necessary would be helpful. If you want people to use your service. Plus I don't want to have my apps codebase to be bloated with files unnecessary to my goal. I really want to use your spatial anchor service. Also, having a working simpler code example that works with newer versions of Unity would also be helpful.

Hi @lmaxsmith and @codeFunny71, thanks for the advice, I've filed an internal bug [#26543435] to track.


https://pypi.python.org/pypi/httpie missing file

There is a new release (0.9.1)  but it's missing from https://pypi.python.org/pypi/httpie.
Thanks
Carlos

@papachoco what happens when you run pip install -U httpie? Also, what OS are you on?

IT does work w/ pip, but it does not with easy_install and fails to download the egg using zc.buildout.
I am running MacOS yosemite ..
It does process Downloading httpie-0.9.1-py2.py3-none-any.whl (70kB)

I should mention I am running python 2.7.6

(nti.dataserver)hnic:site-packages csanchez$ easy_install-2.7 -U httpie
/Users/csanchez/VirtualEnvs/nti.dataserver/lib/python2.7/site-packages/setuptools-12.0.5-py2.7.egg/pkg_resources/init.py:2510: PEP440Warning: 'nti.deploymenttools (0.0.dev-r0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
Searching for httpie
Reading https://pypi.python.org/simple/httpie/
/Users/csanchez/VirtualEnvs/nti.dataserver/lib/python2.7/site-packages/setuptools-12.0.5-py2.7.egg/pkg_resources/init.py:2510: PEP440Warning: 'httpie (0.9.1.macosx-10.10-x86-64)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
/Users/csanchez/VirtualEnvs/nti.dataserver/lib/python2.7/site-packages/setuptools-12.0.5-py2.7.egg/pkg_resources/init.py:2510: PEP440Warning: 'httpie-0.9.1.macosx (10.10-x86-64)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
/Users/csanchez/VirtualEnvs/nti.dataserver/lib/python2.7/site-packages/setuptools-12.0.5-py2.7.egg/pkg_resources/init.py:2510: PEP440Warning: 'httpie-0.9.1.macosx-10.10 (x86-64)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
Best match: httpie 0.9.0
Downloading https://pypi.python.org/packages/source/h/httpie/httpie-0.9.0.tar.gz#md5=22ecf24e4126fd080f799d95a7ca3037
Processing httpie-0.9.0.tar.gz
Writing /var/folders/jd/g7fjfbn57695542zy0j_84b40000gn/T/easy_install-mUCn_H/httpie-0.9.0/setup.cfg
Running httpie-0.9.0/setup.py -q bdist_egg --dist-dir /var/folders/jd/g7fjfbn57695542zy0j_84b40000gn/T/easy_install-mUCn_H/httpie-0.9.0/egg-dist-tmp-dX_fT4
zip_safe flag not set; analyzing archive contents...
Copying httpie-0.9.0-py2.7.egg to /Users/csanchez/VirtualEnvs/nti.dataserver/lib/python2.7/site-packages
Adding httpie 0.9.0 to easy-install.pth file
Installing http script to /Users/csanchez/VirtualEnvs/nti.dataserver/bin
Installed /Users/csanchez/VirtualEnvs/nti.dataserver/lib/python2.7/site-packages/httpie-0.9.0-py2.7.egg
Processing dependencies for httpie
Finished processing dependencies for httpie
(nti.dataserver)hnic:site-packages csanchez$

Interesting, I'm on Python 2.7.9 and easy_install gives me this error:
$ easy_install httpie
Searching for httpie
Reading https://pypi.python.org/simple/httpie/
Best match: httpie 0.9.1.macosx-10.10-x86-64
Downloading https://pypi.python.org/packages/any/h/httpie/httpie-0.9.1.macosx-10.10-x86_64.tar.gz#md5=634a63b1ee02b9240828a218446c216e
Processing httpie-0.9.1.macosx-10.10-x86_64.tar.gz
error: Couldn't find a setup script in /var/folders/xp/4htnd0pj23b5stzrfy966k9m0000gn/T/easy_install-FD8h74/httpie-0.9.1.macosx-10.10-x86_64.tar.gz

Tried to update setuptools:
$ pip install -U setuptools
Downloading/unpacking setuptools from https://pypi.python.org/packages/3.4/s/setuptools/setuptools-12.0.5-py2.py3-none-any.whl#md5=87647eb8380c5da10e63fdd7274d8b49
  Downloading setuptools-12.0.5-py2.py3-none-any.whl (502kB): 502kB downloaded
Installing collected packages: setuptools
  Found existing installation: setuptools 3.6
    Uninstalling setuptools:
      Successfully uninstalled setuptools
Successfully installed setuptools
Cleaning up...

And now httpie gets installed:
$ easy_install httpie
Searching for httpie
Reading https://pypi.python.org/simple/httpie/
/Users/jakub/.virtualenvs/test-installing-httpie/lib/python2.7/site-packages/pkg_resources/__init__.py:2510: PEP440Warning: 'httpie (0.9.1.macosx-10.10-x86-64)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
  PEP440Warning,
/Users/jakub/.virtualenvs/test-installing-httpie/lib/python2.7/site-packages/pkg_resources/__init__.py:2510: PEP440Warning: 'httpie-0.9.1.macosx (10.10-x86-64)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
  PEP440Warning,
/Users/jakub/.virtualenvs/test-installing-httpie/lib/python2.7/site-packages/pkg_resources/__init__.py:2510: PEP440Warning: 'httpie-0.9.1.macosx-10.10 (x86-64)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
  PEP440Warning,
Best match: httpie 0.9.0
Downloading https://pypi.python.org/packages/source/h/httpie/httpie-0.9.0.tar.gz#md5=22ecf24e4126fd080f799d95a7ca3037
Processing httpie-0.9.0.tar.gz
Writing /var/folders/xp/4htnd0pj23b5stzrfy966k9m0000gn/T/easy_install-sVYduA/httpie-0.9.0/setup.cfg
Running httpie-0.9.0/setup.py -q bdist_egg --dist-dir /var/folders/xp/4htnd0pj23b5stzrfy966k9m0000gn/T/easy_install-sVYduA/httpie-0.9.0/egg-dist-tmp-BJ_V_A
zip_safe flag not set; analyzing archive contents...
Copying httpie-0.9.0-py2.7.egg to /Users/jakub/.virtualenvs/test-installing-httpie/lib/python2.7/site-packages
Adding httpie 0.9.0 to easy-install.pth file
Installing http script to /Users/jakub/.virtualenvs/test-installing-httpie/bin

Installed /Users/jakub/.virtualenvs/test-installing-httpie/lib/python2.7/site-packages/httpie-0.9.0-py2.7.egg
Processing dependencies for httpie
Searching for Pygments>=1.5
Reading https://pypi.python.org/simple/Pygments/
Best match: Pygments 2.0.2
Downloading https://pypi.python.org/packages/source/P/Pygments/Pygments-2.0.2.tar.gz#md5=238587a1370d62405edabd0794b3ec4a
Processing Pygments-2.0.2.tar.gz
Writing /var/folders/xp/4htnd0pj23b5stzrfy966k9m0000gn/T/easy_install-4UtTmH/Pygments-2.0.2/setup.cfg
Running Pygments-2.0.2/setup.py -q bdist_egg --dist-dir /var/folders/xp/4htnd0pj23b5stzrfy966k9m0000gn/T/easy_install-4UtTmH/Pygments-2.0.2/egg-dist-tmp-rYqUgX
creating /Users/jakub/.virtualenvs/test-installing-httpie/lib/python2.7/site-packages/Pygments-2.0.2-py2.7.egg
Extracting Pygments-2.0.2-py2.7.egg to /Users/jakub/.virtualenvs/test-installing-httpie/lib/python2.7/site-packages
Adding Pygments 2.0.2 to easy-install.pth file
Installing pygmentize script to /Users/jakub/.virtualenvs/test-installing-httpie/bin

Installed /Users/jakub/.virtualenvs/test-installing-httpie/lib/python2.7/site-packages/Pygments-2.0.2-py2.7.egg
Searching for requests>=2.3.0
Reading https://pypi.python.org/simple/requests/
Best match: requests 2.5.1
Downloading https://pypi.python.org/packages/source/r/requests/requests-2.5.1.tar.gz#md5=c270eb5551a02e8ab7a4cbb83e22af2e
Processing requests-2.5.1.tar.gz
Writing /var/folders/xp/4htnd0pj23b5stzrfy966k9m0000gn/T/easy_install-uvhHU3/requests-2.5.1/setup.cfg
Running requests-2.5.1/setup.py -q bdist_egg --dist-dir /var/folders/xp/4htnd0pj23b5stzrfy966k9m0000gn/T/easy_install-uvhHU3/requests-2.5.1/egg-dist-tmp-QxG41c
creating /Users/jakub/.virtualenvs/test-installing-httpie/lib/python2.7/site-packages/requests-2.5.1-py2.7.egg
Extracting requests-2.5.1-py2.7.egg to /Users/jakub/.virtualenvs/test-installing-httpie/lib/python2.7/site-packages
Adding requests 2.5.1 to easy-install.pth file

Installed /Users/jakub/.virtualenvs/test-installing-httpie/lib/python2.7/site-packages/requests-2.5.1-py2.7.egg
Finished processing dependencies for httpie

But it's not the latest version:
$ http --version
0.9.0

Fixed. I accidentally did python setup.py bdist upload instead of sdist when releasing 0.9.1.
(Pip now defaults to the wheel package, that is also available, that's why it only failed with easy_install.)
Thanks for the report :cake:

Great thanks a lot


Error when mapping large files on Windows

When I try to map files 2.1 GB or larger on Windows 10 I get errors.
Code looks like this:
extern crate memmap;

use memmap::MmapOptions;
use std::fs::File;
use std::io::{self, Error, Write};

fn main() -> Result<(), Error> {

    let path = "<large file>";

    let file = File::open(path)?;
    let mmap = unsafe { MmapOptions::new().map(&file)? };

    io::stdout().write_all(&mmap[..10])?;

    Ok(())
}

With a 2.1 GB file I get Error: Os { code: 8, kind: Other, message: "Not enough memory resources are available to process this command." }.
With a 16.6 GB file I get Error: Custom { kind: InvalidData, error: "memory map length overflows usize" }
Works file with a 1.1 GB file.

My machine has 32 GB memory and opening the files as memory maps in e.g. Python works just fine. I'm new to Rust, so perhaps I'm missing something obvious...

Hi @Skielex :wave:
Hmm, I'm wondering if you're ending up targeting 32bit instead of 64bit? What do you see if you add a:
println!("usize is: {}b", std::mem::size_of::<usize>());

and the output of:
rustup toolchain list

Thanks for the reply, sorry for the late answer.
usize is: 4b
and
stable-i686-pc-windows-msvc (default)
So you're absolutely right. I thought it would target 64bit as default and also that 2.1 GB file should work for 32bit. I guess not... Thanks!


Update .travis.yml

@hanneskaeufler this should fix it

nope - although it's a different error this time.
The command "./cmake-3.9.4-Linux-x86_64/bin/cmake . && make" exited with 1.

Any ideas?

Did you play around with something like cmake . -DSFML_INCLUDE_DIR=/path/to/libsfml/include?

I haven't tried that yet - any idea where libsfml/include would be on Travis (ubuntu)


0.8.1

Added the missing 0.8.0 change log.
Fixed an issue with AnimationState in CyclopsAnimation where it was possible for AnimationState.speed to remain altered past its relationship with CyclopsAnimation.
Fixed a theorectical domain reloading issue with CyclopsRoutine's use of a static CyclopsPool. Even if domain reloading is disabled, the pool will still be properly reset.

All tests pass.


Refactor to allow flexibility in how ChangeLogs are located

https://github.com/mongobee/mongobee/issues/57
@lstolowski

Hi, maintainer(s), it's been a few weeks. Any issues with this? Thanks.

i see that this won't quite work with the efforts to remove Spring dependencies, will rework.


Add a command to count # of messages in a channel

To ease our worries about people messaging and going over cap. Add a command !count with optional parameter #channel which prints the number of messages in a channel, or "{MAXIMUM_MESSAGES_TO_SCAN}+" if the amount is more than MAXIMUM_MESSAGES_TO_SCAN

Hmm, I feel that if we have the ability to count the number of messages in a channel, we also have the ability to just pass that number to channel.history?
...I've also just read the documentation on history() and realised we can just set limit=None to scan the entire channel.
Alternatively, we could just set the limit to something improbably high, but not infinity. So that in case we do accidentally run !list on an archive channel, it would perhaps take about a minute to time out, rather than much longer.
I'm not sure if you've run this on any of the archive channels yet, but somewhat surprisingly the largest count of messages I can find among a small sample are <3K for the entire event:
.
So perhaps we just want to stick with a limit, but one that's much higher than what could be reasonably sent in 15m?

Alternatively, we could impose no limit on channel.history, but make !list interruptable by a new !list invocation. I don't think we ever really want Busty to not read the entire channel, our only fear is that we don't want a scan run "too early" to block us for too long.
Extra: We could also add a command to cancel an active list without starting a new one, since it would be simple if we implemented the cancellable !list, though I'm not sure what the use case would really be other than saving VPS resources or wanting to not invalidate the file cache over an accidental !list, neither of which are a situation I've been in.


Unable to download the containers from the hub.

Expected behavior
Should be able to download the container from the hub.
Actual behavior
Throws following error when we click on CREATE:
(HTTP code 500) server error - {"message":"Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"}
Information about the Issue
Steps to reproduce the behavior

Open Kitematic
Search for Ubuntu or Hello World or anyother container.
3.Click on Create.

Please make sure that you're on a stable connection and use a solid DNS such as Google DNS.


How to install ... for Rust-novices?

As a person with almost no knowledge about Rust and/or cargo, I'm missing information in the README (or somewhere else) on how to install/use dokio. Maybe a link to the right portion of the cargo docs would already suffice?!
Thanks for any pointers!

There's binaries for every platform at https://github.com/Ookami86/dokio/releases - I added the link to the readme.md file :)


Suggestion for example

What do you think about example that control backlight based on webcam as light sensor ?

In my opinion, example should reflect usage only the of library itself, so probably I wouldn't include it in sources.
On the other hand, if there's a project that uses webcam library, I would gladly mention it in README file as an additional reference.


Polish the routing source code

I added the very naive implementation in #50
https://github.com/envoyproxy/ai-gateway/blob/a77bfc28a7c4400c02e8fcbe744222f5c83daf37/internal/extproc/router/router.go#L30-L69
which I think we should refactor before v0.1.0

Hi @mathetake,
May I help in improving this?

nah i am sorry but i would rather one of maintainers to take care of this, but thanks for the offer anyways

I'm click into here because the help wanted label.

but i would rather one of maintainers to take care of this

And seems like this probably not need to add the help wanted label (:

fair enough - removed the label


Add xvfb and acl to playbooks

package installs permit inclusion of an ubuntu machine to jck testing

Signed-off-by: Joe deKoning<EMAIL_ADDRESS>

Do we still require https://github.com/AdoptOpenJDK/openjdk-infrastructure/blob/master/ansible/playbooks/AdoptOpenJDK_Linux_Playbook/roles/x11/tasks/main.yml? I think that Shelley pointed out that the testing team did not require this on any of their machines

This partially resolves #184; it does not address the X11 removal portion.
I am not sure if 'acl' is a requirement or not for a jck client machine.  Can you comment as to what requires this installed @sxa555?

Trying to remember what it was that required it now but I had something in the process fail without it. It's not strictly necessary to remove x11 though. To be honest I suspect xvfb will pull in a healthy number of the X11 packages anyway


Inotify::read_events handles only a buffer's worth of events.

Change the documentation of Inotify::read_events to match the actual behavior:
return an iterator over only as many events can fit in the supplied buffer, not
over any available events. Since this is a backwards-incompatible change, bump
the crate version number to 0.9.0.
It would be possible to make Events behave as documented, but it would need to
hold a strong reference to fd and a mutable reference to buffer, and it
seems awkward. The notify crate's use of read_events is easily switched by
requesting level-sensitive notification on the inotify file descriptor, which is
designed for exactly this sort of situation.

Thank you, @jimblandy, good catch there! I wonder if the behavior changed at one point, or if the documentation was always wrong. Oh well.


Object layers support for tiled tilemaps

Object layer format example (json just for rectangles): https://github.com/alesegdia/evoswonie/blob/master/project/assets/test-airplat-floorplat.json#L47-103
Official specs: http://doc.mapeditor.org/reference/tmx-map-format/#objectgroup

Would you mind including links to the specific format specification node you're referring to?
There are already some things parsed by the Tiled parser that don't necessarily automatically "show" and are data only - it would be good to have the distinction clarified :)

I just updated the issue description to point to an example of mine and official specs. I'm currently using only rectangles and the format I use is .json, but the official specs are explained for tmx format.

Ok, so can you tell me if there is a problem in them here?
https://github.com/underscorediscovery/luxe/blob/master/luxe/importers/tiled/TiledObjectGroup.hx

Aww!! perfect, this is what I was looking for, sorry! I'm colsing this.

Not a problem!


MudRating component does not properly implement role or aria-checked attributes.

Things to check

[X] I have searched the existing issues for this bug
[X] To rule out a caching problem I made sure the bug also happens in an incognito tab

Bug type
Component
Component name
MudRating
What happened?
The MudRatingItem into the MudRating component does not add the expected aria-checked="true|false" attributes. Any accessibility checker expects this attributes on the element. Currently this aria attribute is being added only in the readOnly scenario.

Expected behavior
When adding a MudRating component, the MudRatingItem elements contained should have aria-checked settled in any scenario.
Reproduction link
https://try.mudblazor.com/snippet/wacebvQQfPqDuTKg
Reproduction steps

Add a MudRating component.
Scan the page using a accessibility checker like axe DevTools
-- OR --
Inspect the web app in chrome web development tools, and see that the Input contained do not have a aria-checked attribute.

Relevant log output
N/A

Version (bug)
7.15.0
Version (working)
No response
What browsers are you seeing the problem on?
Edge
On which operating systems are you experiencing the issue?
macOS
Pull Request

[X] I would like to do a Pull Request

Code of Conduct

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

hi @igotinfected what is the next step for this bug to be fixed?

Hi @nesh-globant! you are free to (and we encourage) opening a PR with a fix/improvement if you have the time, otherwise someone from the contribution team will eventually get around to it whenever they find the time to do so. All of us contribute in our free time ;)


Update source/AlexV525/index.md

Thanks for the great work, and here is my update about my bio and list.

Great work!


Add support for HAProxy

I can update the documentation if there is appetite for this :)
Note I haven't tested this with klipperlb

@nathankot This is great, thanks! Please add some docs, same as for the others, especially readme and kube.tf.example tweaks and will merge 🙏

@mysticaltech i've run fmt and updated the example/readme files, looks like there is a github bot that updates the the terraform.md file so didn't touch that :)


How do write a subquery?

Hi. @tgriesser .
first of all congratulations on the superb job you all have been doing creating this tool. It looks amazing and it's working quite well.
for example (for postgres)
SELECT
   *
 FROM
   tbl_a LEFT join (
      SELECT
          id, name
      FROM
           tbl_b
      GROUP BY
           id, name
   )  AS tbl_b on tbl_a.id = tbl_b.id

now
Knex('tbl_a').select('*').join(
                Knex.Raw('(SELECT id, name FROM tbl_b GROUP BY id, name) AS tbl_b')
                ,'tbl_a.id', '=', 'tbl_b.id', 'LEFT');

I want to create without the Raw method.
Is it possible to other, using the USING?
thank you.

It is possible:
// [users] to [offers] :: [1] to [n]

let countedVisibleOffers = knex.select("user_id")
  .count("* as total")
  .from("offers")
  .groupBy("offers.user_id")
  .as("visible_offers");

console.log(
  knex.select("*", "visible_offers.total")
    .from("users")
    .leftOuterJoin(countedVisibleOffers, "visible_offers.user_id", "users.id")
    .where(...)
    .orderBy(...)
    .toString()
);

Seems subqueries are now supported via http://knexjs.org/#Builder-as

I still can't seem to write a subquery. Why can't I pass a QueryBuilder to .select() or .column()?
Here's my query:
let query = knex.from('emr_client').column(columns).limit(Math.min(MAX_LIMIT,limit)).offset(offset).select();

Where columns is:
[ 'emr_client_id as id',
  'ecl_first_name as firstName',
  'ecl_last_name as lastName',
  'ecl_middle_name as middleName',
  'ecl_birth_date as birthDate',
  QueryBuilder {
    client:
     Client {
       config: [Object],
       connectionSettings: [Object],
       driver: [Object],
       pool: [Object],
       valueForUndefined: [Object],
       _events: [Object],
       _eventsCount: 3,
       makeKnex: [Function] },
    and: [Circular],
    _single: { table: 'emr_client_program', limit: 1, as: 'deathDate' },
    _statements: [ [Object], [Object], [Object], [Object] ],
    _method: 'first',
    _debug: undefined,
    _joinFlag: 'inner',
    _boolFlag: 'and',
    _notFlag: false } ]

The query it generates is:
select `emr_client_id` as `id`, `ecl_first_name` as `firstName`, `ecl_last_name` as `lastName`, `ecl_middle_name` as `middleName`, `ecl_birth_date` as `birthDate`, select `ecp_discharge_date` from `emr_client_program` where `ecp_client_id` = emr_client_id and `ecp_discharge_reason_id` = 3 order by `ecp_discharge_date` asc limit 1 from `emr_client` limit 5

But what I expect is:
select `emr_client_id` as `id`, `ecl_first_name` as `firstName`, `ecl_last_name` as `lastName`, `ecl_middle_name` as `middleName`, `ecl_birth_date` as `birthDate`, (select `ecp_discharge_date` from `emr_client_program` where `ecp_client_id` = emr_client_id and `ecp_discharge_reason_id` = 3 order by `ecp_discharge_date` asc limit 1) as `deathDate` from `emr_client` limit 5

How do I get my sub-query to wrap properly?

I think I figured it out. It's quite tricky.
If you define your columns like this:
{deathDate: knex => knex.from('emr_client_program').whereRaw('??=??',['ecp_client_id','emr_client_id']).select('ecp_discharge_date').orderBy('ecp_discharge_date').where('ecp_discharge_reason_id',ProgramDischargeReasons.DECEASED).first()}

You can convert it into a column like this:

function mapColumns(columns) {
    return _.map(columns, mapColumn);
}

function mapColumn(col, alias) {
    if(_.isString(col)) {
        return `${col} as ${alias}`;
    }
    return function() {
        return col.call(this,this).as(alias);
    };
}


netlify headers not working as expected

Hi, thank you very much for this real production project. I have used your netlify.toml file in my own project and deployed it to netlify. It works, but the custom headers are only set on .js files and not on the document itself.

No headers set on document

headers set on .js files as i defined in the netlify.toml file

Do you have any idea why it works for your project but not for mine?
Can it perhaps be related to the fact that you have pre-rendered the index page and thus the file has the extension .html? My index page is not pre-rendered.

good to know, but how can i set the headers on the sveltekit side?

@sw-yx thank you it works now, i set the headers inside the handle() function using sveltekit hooks 👍
Do i also need to set the headers inside the netlify.toml file? Do i need this only for prerendered pages or can I leave it out?
The only problem i have is, that the favicon is not found. The Dev Tools says:
Failed to load resource: the server responded with a status of 404 ()

When i manuell try to access mywebsite.com/favicon.png i also get the 404.
Do you have an idea, how can i solve this? Is this a bug coming from sveltekit or the netlify adapter?


Json correction

Hi! Love the project! I observed that when dealing with larger inputs, the integration often struggles to properly parse the JSON data, usually due to trailing commas. To address this, I've implemented a function that automatically corrects the JSON formatting for those cases :)

Hey I love this! I'm reviewing from mobile which makes why merge conflicts hard to manage, but if you're able to fix happy to pull this in!


Let apply settings to define the margin limits to export PDF

Hello
Please, would be possible enable margins configurations prior to export or generate a PDF?.
Some times long lines breaks in two lines, but I can see a good amount of empty space for the left and right margins.
So if I can reduce them I am sure that the content is going to be shown in one line.
Thanks for your understanding

AsciidocFX 1.7.6+
add in your adoc file header  :pdf-page-margin: [5cm, 1cm]
REF: https://docs.asciidoctor.org/pdf-converter/latest/asciidoc-attributes/
I have tested this setting and it works.

Huge thanks for this!, as I can see (not tested yet) it works for cms and inches


[FEATURE] Color Highlight Variable

Using prismjs, highlight variable syntax in the input field:

Hi @HenryHengZJ , I am new to this repo. I'd love to work on this, but it will require more detail.

Something like this:

Might be challenging though

I'll try my best to figure things out. I'll keep you updated!


Retrofit Requests

Dear ,
I tried using this package but I'm confused about some missing features. Firstly, why can't I upload a List of Files with a body model?
Files are annotated with @Part
Body model is annotated with @Body
Secondly, when I upload a file with a body model, only the body is sent, and the file is not included in the request.
Thirdly, what if this function expects both a body and a file, but I only want to send the body? Should I create two functions to handle this, or is there another approach?
Please provide examples for uploading a body with multiple images and an example for uploading a single file with a body.
Thank you.

I'm also facing this issue, any updates?


Create codeql-analysis.yml file

Adding CodeQL via github action.
Issue:  https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/2150
Docs: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-with-codeql

:shipit: looks great! Thanks @FuPingFranco Please link to the issue in the PR description. Thank you!

Thanks Jenny! I had it linked as part of the side development tab but added it to description as well.


[Builtins] Make 'BuiltinFailure' the last constructor

Just trying out.

/benchmark lists

/benchmark nofib

/benchmark nofib

/benchmark validation

@aadaa-fgtaa is telling me that simply making the constructor first isn't anywhere near being a reliable way to force GHC to branch-predict it and that for e.g.
data Foo = Bar | Baz

f Bar = 1#
f Baz = 2#

GHC would branch-predict the second one. Making the BuiltinSuccess case recursive would help, except... it already is! So why does reordering the constructors help? God knows.
@aadaa-fgtaa also referenced this GHC ticket.
We don't lose anything by reordering the constructors though, so if it helps some benchmarks, let's just do it and pray that GHC doesn't break things.

/benchmark nofib

/benchmark nofib

/benchmark nofib

/benchmark nofib

/benchmark nofib

/benchmark nofib

/benchmark nofib

/benchmark nofib

/benchmark nofib

/benchmark nofib

/benchmark nofib

/benchmark nofib

/benchmark nofib

/benchmark nofib

/benchmark nofib

/benchmark nofib

/benchmark nofib

/benchmark nofib

/benchmark nofib

/benchmark nofib

/benchmark validation

/benchmark validation

/benchmark validation

/benchmark validation

/benchmark nofib

/benchmark lists

/benchmark lists

/benchmark validation

/benchmark nofib

/benchmark lists

/benchmark validation

/benchmark nofib

/benchmark lists

One run:

Another run, same benchmarks, same commits:

I'm not sure what I should take from that, I've now run benchmarks in this PR dozens of times and they're sometimes no change and sometimes a major speedup.
Let's just merge it and get over it I suppose.


pip install cyvlfeat doesn't work sometimes

When setting up travis, i realized pip install cyvlfeat doesn't just work.
It needs cython and numpy installed beforehand. While this is reasonable, it would be nice to be able to just run pip install cyvlfeat and not worry about such things ( That's what package managers are for :) )
setuptools has a setup_requires which I think is meant for this ? (I haven't used it before)
I found h5py's setup adds cython in setup_requires  and also this SO question is something which tries to do the same with numpy.

I just realized that this works fine in conda (as mentioned in the readme), so this is only a pypi/pip thing

Yes, unfortunately this is a bit of a complicated issue. It's one of the many reasons that pip is really not a good venue for shipping compiled extensions, particularly when they require third party dependencies (such as vlfeat).
For example, numpy is shipped in wheels and is also distributed by conda. It is probably quite important to you that your numpy is optimised since its the cornerstone of the scientific Python stack. Unfortunately, if you use the various tricks that allow you install numpy as part of setup_requires, you will build numpy from scratch (you won't receive the wheel) and this build will likely be unoptimized.
Cython is something I could handle not requiring, though it makes the setup.py quite complicated. Numpy really is tough because you almost definitely don't want to build it from scratch.
Finally, satisfying the compiled vlfeat dependency is also quite complicated and would require the ability to pass arguments pertaining to the path of the library and include files. This I could also feasible sort out. It still wouldn't just work, however, as you'd need to have downloaded and built vlfeat yourself beforehand.

List of changes required to allow easily pip installing cyvlfeat:

[ ] Refactor Cython logic to allow for Cython to not be installed.

[ ] Ship c/c++ code with sdist

[ ] Use the Numpy trick from pandas to allow numpy in the setup_requires

class build_ext(_build_ext):
    def build_extensions(self):
        numpy_incl = pkg_resources.resource_filename('numpy', 'core/include')

        for ext in self.extensions:
            if hasattr(ext, 'include_dirs') and not numpy_incl in ext.include_dirs:
                ext.include_dirs.append(numpy_incl)
        _build_ext.build_extensions(self)

[ ] Add either arguments -vlfeat-include-dir= or environment variables VLFEAT_INCLUDE_DIR to set the path to vlfeat include and library dirs.

I made a start on grouping the logic for pandas-style setup.py into a single-file module that can be placed next to setup.py on this branch https://github.com/jabooth/menpo/tree/optcython
The idea being - we write this properly once, and then can reuse that logic across all packages (like versioneer). Perhaps cyvlfeat is a nice testing ground for it?
That branch is a little noisy as it includes a bunch of changes internal to menpo - the key thing to look at is just setup.py:
https://github.com/jabooth/menpo/blob/optcython/setup.py
and extmanager.py:
https://github.com/jabooth/menpo/blob/optcython/extmanager.py


Update CONTRIBUTORS.md

#ISSUE-NO
What does this PR do?
Description of Task to be completed?
How can this be manually tested?
Any background context you want to provide?
What is the relevant issue link?
Screenshots (if appropriate)
Questions:

Added my name to the contributors list

The place where you added your name was used as an example for people.
So, you have to remove your name and link from where you placed it first and create yours and add it alphabetically .
Thanks!

I'll help fix it


test

test

test what?

233，test test 。
But I think test(or try) is very important to learn coding.

can you  guys follow me

I am sorry to say that , you guys are big cow

big cow
噗蛤蛤蛤蛤蛤

大母牛。。。

我还以为母校计科已死，哈哈JU


Count value limitation

Hi
I want to use this widget to count the number of devices grouped by type. I've more than 100 devices having type X. But the widget count max value seems limited to 100. If I have 150 devices in my group with type X, the widget display 100 instead of 150. Is there any count limitation?
Thanks for your feeback

@

Issue fixed.
Please use release 1.1.1
Page size has been updated to 2000.

It works fine with the new page size. Thanks a lot.


Not all cluster properties can be queried using the PowerShell module

Describe the solution you'd like
We require a function that returns Rubrik cluster information, this can be challenging for functions that take Cluster IDs as a filtering mechanism.
I would like to rename the existing Get-RubrikSetting to Get-RubrikCluster with the following functionality:

Rename to Get-RubrikCluster / Set-RubrikCluster
Provide aliases for backwards compatibility
Query local cluster information
Able to query all cluster properties, including those currently only available in internal endpoints

Describe alternatives you've considered
Using Invoke-RubrikRESTCall to query the internal cluster endpoints.

Fixed in #474
Get-RubrikClusterInfo can be used for this purpose


checking the SID structure for TokenIntegrityLevel

if the SID for TokenIntegrityLevel isn't the expected structure, GetSidSubAuthority might produce UB.

Thanks again for the hlep.


style: header/footer adjustments

Hey Marian,
did some minor changes. Tackled the header bar of blog posts a bit as well as the footer.
I didn't:

test any possible layout and
didn't try to go for "full flexibility" for now. Just some small adjustments here and there.
touch images and their positioning as well as links (layout here depends a lot, so might not want to change in haste)
touch the font line height (removed your adjustment) as it actually seems to fit quite well in the overall theming I think

Based on the blog post provided, the necessary adjustments may vary and thus .. feel free to enhance, remove and whatnot else of course.
I also wanted to tackle comments as well but maybe another time, they can be ... different:

One more things regarding the Stylus Browser Extension vs Tampermonkey which I found might be interesting(?):

If there are specifics within blog posts you'd like adjustment with, lemme know and I can have a look.

Thanks, i updated it
https://userstyles.world/style/18406/sap-community
Yeah  everywhere :/
I saw that too, but did not find a CSS Extension which followed current Manifest. With CSS we can just switch to Tampermonkey at any point i guess.


[Sqlite] Set: NotNull, Primary Key, ->AutoIncrement<-

Is your feature request related to a problem? Please describe.
Kind of, using SQLite, after alter a table, removes the AutoIncrement. In options cant set to AutoIncrement
Describe the solution you'd like
Add a button to set AutoIncrement to an ID
Describe alternatives you've considered
Additional context

Hi @chriztheanvill,
can your issue related to this https://github.com/orgs/antares-sql/discussions/434?


[Scraper] Scrape product basic descriptions

We should hurry up finishing the scraper. Consider even using another scraper as a starting point.

I'll take care about this issue


fix(menu/save-project): Add missing XML prolog on document save

Most of the DOM methods for detecting the declaration/prolog are deprecated (Document.xmlVersion, Document.xmlEncoding, DOMImplementation.hasFeature()) so I avoided using them. There do not appear to be replacements.
As per previous discussions on Save Project, I don't think we can add a test without modifying the code for the test.
I think we should leave the issue open until we have a test for this as part of the Action/Editing API. i.e. carry out action, check that the document is well-formed.
I would be grateful for testing/review as this is quite important.
Part of #1163

Ooops wrong branch. Let me tidy this up.

LGTM, but is there a chance this might lead to prologue duplication in case there's a prologue with whitespace nodes before it or something (e.g. attribute order) is formatted differently? I don't know if these things can happen, or if there could ever be other encoding attribute values e.g.

I believe at best the document which did this would not be well-formed which is a reasonable requirement (?).
The spec requires that to be well formed the prolog should be unambiguously the first item (after the byte order mark): https://www.w3.org/TR/xml/#sec-prolog-dtd see section 2.1

Incidentally, it amuses me that we didn't notice this earlier. Anyone with a file editor GUI which inspected the files might have shown something like this:

In due course, I'll do a separate PR to tidy these and likely others.


Fix zooming

Zooming is functional - several bugs remain:

Vehicle rendering is broken;
Bitmap scaling may break when initialized in zoom level different than 100%

Vehicle rendering fixed in: 7267d51ef3790132c7c15ceb660396ed205c54cc

Incorrect bitmap scaling during initialization fixed in: 08054f1dcc75f6e0d522766597dec74d860e2b7b


terragrunt: 0.28.20 -> 0.28.22

Motivation for this change
Bump terragrunt to 0.28.22
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-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)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 119537 run on x86_64-linux 1

1 package built:

terragrunt


Fix Dimmed Contact Header

I am sure this will take two seconds, but it is late and I am mentally drained.

@JoseRoman can you knock this out by this evening real quick?

We dont need this anymore do we?


Plan, advertise, and run regular Q&A webinars

Schedule an initial Q&A webinar using for fielding questions from the VEuPathDb community:

[x] Set the date (the week of Sept 30) for the first webinar
[x] Advertise using all available email addresses, social media, and NIAID resources (ask VEuPathDb leadership is they can help as well)
[ ] Record the seminar and post the recording on a BRC YouTube Channel

Try to do this the week of Oct 28


change module and directory structure

Move all modules to under Addict namespace.
This change can avoid namespace collisions and
make addict follow the custom of mix project.
This is a breaking change.
I think that the modules naming needs more discussion.

Thanks for the PR @Joe-noh, what kind of changes do you deem necessary in what concerns to naming?

I'm not sure whether should directories mailers and plugs be made.
If you have any plan to implement more mailer modules, they should be put into lib/addict/mailers directory so making mailers makes sense while we now have only one plug Authenticated.
If you don't plan, Addict.AuthenticatedPlug in lib/addict/authenticated_plug.ex is not bad.
thanks.

I'm planning to add more mailing services and plugs further down the road, so I guess it should be ok:) Thanks again!


[BUG] ModuleNotFoundError: No module named 'rootpath'

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
I have installed TorchSparse v2.1.0 by running the installation script as you suggested:
python -c "$(curl -fsSL https://raw.githubusercontent.com/mit-han-lab/torchsparse/master/install.py)"
but when I try the code:
import torchsparse
gives

File "torchsparse/init.pyx", line 6, in init torchsparse.init
File "torchsparse/utils/tune.pyx", line 15, in init torchsparse.utils.tune
File "torchsparse/nn/init.pyx", line 2, in init torchsparse.nn.init
File "torchsparse/nn/modules/init.pyx", line 4, in init torchsparse.nn.modules.init
File "torchsparse/nn/modules/conv.pyx", line 17, in init torchsparse.nn.modules.conv
File "torchsparse/nn/functional/init.pyx", line 3, in init torchsparse.nn.functional.init
File "torchsparse/nn/functional/conv/init.pyx", line 5, in init torchsparse.nn.functional.conv.init
File "torchsparse/nn/functional/conv/conv_config.pyx", line 4, in init torchsparse.nn.functional.conv.conv_config
File "torchsparse/nn/functional/conv/utils/init.pyx", line 2, in init torchsparse.nn.functional.conv.utils.init
File "torchsparse/nn/functional/conv/utils/private_attribute_dict.pyx", line 6, in init torchsparse.nn.functional.conv.utils.private_attribute_dict
ModuleNotFoundError: No module named 'rootpath'

Is there anything I missed on the installation??
Expected Behavior
No response
Environment
- GCC:
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
- NVCC:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Tue_Mar__8_18:18:20_PST_2022
Cuda compilation tools, release 11.6, V11.6.124
Build cuda_11.6.r11.6/compiler.31057947_0
- PyTorch: 1.13.0
- PyTorch CUDA: 11.6
- TorchSparse: 2.1.0

Anything else?
No response

Hi, how did you solve this issue?

try pip install rootpath发自我的 iPhone在 2023年7月7日，03:03，Deepti Hegde @.***> 写道：
Hi, how did you solve this issue?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you modified the open/close state.Message ID: @.***>

try pip install rootpath


Update common types with Operation + OperationListResult

This is porting a change to common-types I had proposed but hadn't actually merged for an earlier preview API version for redisEnterprise. And then refactoring the existing 'redis' type to take advantage of it, and to make sure validations happen.
Contribution checklist:

[x] I commit to follow the Breaking Change Policy of “no breaking changes
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[x] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

/azp run automation - sdk

@pilor Looks like common-types v2 lacks these definitions too, should I add them there also?

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

@leni-msft May it be merged?

@akning-ms @pilor Thank you for the merge and the review!
We'll try to consume these new definitions in our ongoing PR here to make sure they work as intended: https://github.com/Azure/azure-rest-api-specs/pull/11360


missing torch.nn.functional.silu

torchsharp 0.100.5
missing torch.nn.functional.silu

Try torch.nn.functional.SiLU -- a holdover from before the big rename two years ago, apparently. I'll rename it to its proper spelling.


Vulnerabilities found in FirebaseFacebookAuthUI

Environment
Xcode version: 13.2.1
FirebaseUI Pod version: 12.1.1
Firebase Component: FirebaseFacebookAuthUI
Language: Swift
Problem
We are using a Dependency checker to run vulnerabilities in our swift codebase using the below pod file:
FirebaseFacebookAuthUI:12.1.1
While running the dependency run code using below the line, we found below error
Multiple stack-based buffer overflows in Aurigma Image Uploader ActiveX control (ImageUploader4.ocx) <IP_ADDRESS>, <IP_ADDRESS>, and <IP_ADDRESS>, and ImageUploader5 <IP_ADDRESS>, as used by Facebook PhotoUploader <IP_ADDRESS>, allow remote attackers to execute arbitrary code via long (1) ExtractExif and (2) ExtractIptc properties.

Hi, thanks for filing this issue! We are unable to promise any timeline for this, but if others also have this issue, adding a +1 on this issue can help us prioritize adding this to the roadmap.
(Googler-only internal tracking bug: b/217765002)

Hey @ArunkumarChandrasekar95, the libraries you've referenced belong to Facebook and are not maintained by Firebase. Please file an issue on the Facebook repository instead.


Make methods stick on jagged getitem[jagged bool mask]

Just a missing instance of using type(self) rather than self.JaggedArray which should be valid here.

When is the next release?  It'd be nice to have this in.


Decimal fields in MySQL being mapped to Typescript strings.

I recently pulled the latest and ran it on my MySQL database and where I had DECIMAL(19,4) column in MySQL I got this Typescript in the model:
@Column("decimal", {
		nullable: false,
		precision: 19,
		scale: 4,
		name: "validation_fee"
	})
	validationFee: string;

The string should be number

Ah. It might also be because of the IEEE 754 precision problem in Javascript.


Parse fq name correctly for images

When parsing a string name for repo and tag (for images output), we
should be using parsenormalizedname and reference.Canonical to
get the proper output.
Resolves: #2175
Signed-off-by: baude<EMAIL_ADDRESS>

fixed up and ready for merge

LGTM assuming happy tests

/lgtm


Feature Request: Add ability for user to dictate using local device microphone as input

Based from the concept used at:
https://github.com/facebook/lexical
It would make a great addition to this awesome project, but also allowing the user to change input language on the fly.
Best regards

Great NEWS...
When would I be able to download your CDN update from cdnjs.cloudflare.com ?
Thanks
Hugo

I really admire your work since the time I gradually started adopting your project.

@xdan are you saying that this feature will be added on the next version of Jodit?

@inglesuniversal Yes, already done https://github.com/xdan/jodit/tree/master/src/plugins/speech-recognize


Heroku memory issue

Attempts to fix the R15 - Memory quota vastly exceeded error in heroku deployments.

/cib heroku memory issue

Branch 94-heroku-memory-issue created!


PDF file renders with incorrect colors

Link to PDF: http://demo.finalsite.com/supporttest1/uploaded/mike_test/2015_Brochure.pdf
Location in PDF: all pages
Screenshots: http://fnlst.co/1tPctZI , http://fnlst.co/1tPcywC (What these should look like per Preview: http://fnlst.co/1tPcxbV , http://fnlst.co/1tPcDjH )
Browser version: Firefox 34.0 : http://fnlst.co/1tPcCMK
Operating system: OS X 10.9.5 : http://fnlst.co/1tPcJrD
PDFJS.version = '1.0.712';
JavaScript console warning/error messages:
Unknown pseudo-class or pseudo-element 'fullscreen'.  Ruleset ignored due to bad selector. viewer.css:58
Unknown pseudo-class or pseudo-element 'fullscreen'.  Ruleset ignored due to bad selector. viewer.css:73
Unknown pseudo-class or pseudo-element 'fullscreen'.  Ruleset ignored due to bad selector. viewer.css:82
Unknown pseudo-class or pseudo-element 'fullscreen'.  Ruleset ignored due to bad selector. viewer.css:90
Unknown pseudo-class or pseudo-element 'selection'.  Ruleset ignored due to bad selector. viewer.css:1250
"PDF 4a8255f99ea09878d5c821a0221eb6ff [1.5 PDFlib Personalization Server 8.0.4p6 (C++ legacy/Win32) / Rampage PDF PageAssembly] (PDF.js: 1.0.712)" viewer.js:3523

I see CMYK JPEG which has Decode array [1, 0, 1, 0, 1, 0, 1, 0] -- probably we don't take the inversion into account.

This appears to be the exact same issue as #4090, since the errors are identical and both files are generated by the same software.

Closing as duplicate of issue #4090.


refactor: rename followed page to following page

following seems more confusing.
following whom?
My suggestion is scraping both and go with supporters and subscriptions.

following seems more confusing. following whom? My suggestion is scraping both and go with supporters and subscriptions.

Done.


transpiler bugfix, fixes CFDF generation

CFDF now generates correct schema
one more unit test added in ABAP
run 3 more unit tests
update some actions to latest versions
skip SMBC, issue https://github.com/SAP/abap-file-formats-tools/issues/195 opened

@larshp ready to merge?


REQUEST: Additional Icons

Per request, we need icons match up with the terms of the Scrum template. The icons would be for the following items:
Priorities:

[ ] Must Fix
[ ] Nice to Have
[ ] Not very important
[ ] Unimportant

States on Work Item, Product Backlog Item:

[x] New
[ ] Approved
[ ] Committed
[x] Done
[ ] Removed

States with Priority Levels:

[ ] Critical
[ ] High
[ ] Medium
[ ] Low

States on Tasks, Epics, Features:

[x] To Do
[x] In Progress
[x] Done
[ ] Removed

States on Impediments:

[ ] Open
[x] Closed
[ ] Removed

States inside of a Space:

[x] Bug
[ ] Task
[x] Epic
[ ] Impediment
[x] Product Backlog Item

The icons are located in this file: almighty-core/space-template-scrum.yaml


Discuss what are the consequence of becoming positive in the model

issue #48 showed that it is possible to estimate the % of people that should be positive considering a particular time period. Define with Kristina and Astrid what happens in the model when agents become positive, whether a good approximation of the covid-19 recovery could be reflected by the gamma distribution, how to identify long-covid patients.

From Astrid's (@Astrid-p) research:

Number of people who are positive, and of people who are positive, the number who are likely to get long COVID
Time period and general information:

20% people still have symptoms 4 or 5 weeks after testing positive for COVID-19. That number continues to decline 12 weeks or more after infection.

After three months, symptoms (signs of long covid) such as tiredness (31%),shortness of breath (16%), loss of smell (12%), concentration problems (15%) and difficulty handling busy surroundings (13%) were reported significantly more often among people who had had COVID-19 compared to people who had not. In many cases, tiredness (28%) and/or cognitive problems (15%) and shortness of breath (13%) are so severe that normal daily activities are severely disrupted.

Long covid factors:

older ages

People who were hospitalised for COVID-19

people with an elevated BMI or asthma

more frequently in women.

Vaccination : Participants under 65 years of age who had been fully vaccinated were less likely to report problems with smell and taste after 3 months than participants who had not been vaccinated.

Regulations for positive cases:

Before 25 February 2022 (up to wave 24): positive covid patients are required to self-isolated (stay at home, proof of negative test is mandatory for travel

After 25 February 2022 (wave 25 onward): measure on corona admission ticket is expired, people with covid symptoms are advised to stay at home (self-isolated)

From 11 March 2023, the advice on testing for coronavirus infection and isolating after a positive test will no longer apply (but people are advised to keep following the general advice on official governmental websites) (not very relevant to the timeline of our data)


Add support for onPrettifyQuery callback to enable customised query formatting

This adds a new optional callback function named onPrettifyQuery to enable the use of customised query formatting, such as integrating Prettier. This is a very quick POC implementation but I'm happy to invest more time if the feature is accepted as being valuable.
When provided this callback will be invoked when the user formats the current contents of the query editor. It has no affect on the header or variable editors. The callback will receive the current value of the query editor and should return a string containing the formatted query. When the callback is not provided it will fallback to the current parse/print logic.
Intended to resolve #1517 and #3385.

@i-like-robots can you sign CLA?

superseded by https://github.com/graphql/graphiql/pull/3733

Thanks @dimaMachina 🙏


Implementing policy attachment GEP

What type of PR is this?
/kind documentation
/kind feature
What this PR does / why we need it:
This adds documentation for the policy attachment pattern described in GEP #713 and adds the associated PolicyTargetReference type. When combined with #732, this should be all that's required to implement the GEP.
Does this PR introduce a user-facing change?:
A new policy attachment model has been added.

Deploy Preview: https://deploy-preview-736--kubernetes-sigs-gateway-api.netlify.app/v1alpha2/references/policy-attachment/

Adding a hold to follow up with https://github.com/kubernetes-sigs/gateway-api/pull/732#discussion_r676920640.

/hold

xref #98  #99 #91 #89 #114 #97 #611

Thanks for the great feedback on this @hbagdi and @youngnick! I think I've responded to all feedback now, PTAL.

/lgtm

/hold cancel

/lgtm


chore: fix broken docker build caused by github.ref

Pull Request Test Coverage Report for Build 596290284

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 19.175%

Totals

Change from base Build 596224557:
0.0%

Covered Lines:
2022

Relevant Lines:
10818

💛  - Coveralls


[Docenhancement][SendproactivemessageWhatsnew]

Added to whats new document

Docs Build status updates of commit f8d558c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/whats-new.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Rewrite the test

Current test is written by shell, no one want to read or write it. It require a overhaul, and be intergrated into CI.

done now, though vitest-based tests come with some hidden troubles


add gutenberg support

fixes #2009

Overview
This adds a Gutenberg module to Kirki.
#2009 mentions the style conflicts of just having the enqueue added to the enqueue_block_editor_assets hooks, which is something that will happen.  Gutenberg uses a transform js method at runtime to prefix selectors, so to utilize this I added the styles to the editor's initialization settings in block_editor_settings - which is where add_editor_styles() calls are outputted.  This would allow kirki styles to undergo the same transformations, which helps namespace a lot of the more general selectors like body, h2, p, etc.  Ultimately, I think this is the best way to approach it as this all should lead the user back to WordPress' documentation on adding theme support for Gutenberg as the same rules apply.  Most things should work, but it's up to the developers to double check for conflicts - so following the same spirit of core - the feature should be opt-in for configs passed to Kirki.
Decisions

I did add this as a module, but wasn't entirely sure if this is where it was envisioned to live or if it should be added in /core.

As mentioned in #2009 as this being handled by Kirki it seemed appropriate to have a config setting for the plugins and themes to opt in to this feature.  I added the gutenberg_support config to be checked for the registered configs as the way to opt in.

As part of #1 mentioned, this PR does have Kirki check and set the add_theme_support to opt in for the 'editor-styles' transforms.

I used Kirki_Modules_Webfonts_Async to load the webfonts appropriately, but I guess other loading methods could be used.  This was most convenient for me as I use that for some editor typography controls as well.

Without thoroughly digging through the code, I wasn't sure when/where FontAwesome enqueue is actually being done, so I did add a getter to the CSS Module to get the $fa_enqueue var since it was protected to check and enqueue in editor_block_assets.  I assumed that it's probably set properly elsewhere, but have not tested.

Testing
I was using twentynineteen as a test case with the following code added to functions.php.
Kirki::add_config( 'twentynineteen', array(
	'gutenberg_support' => true,
	'capability'  => 'edit_theme_options',
	'option_type' => 'theme_mod',
) );

Kirki::add_section( 'typography_testing', array(
	'title'    => esc_attr__( 'Typography Testing', 'twentynineteen' ),
	'priority' => 100,
) );

Kirki::add_field( 'twentynineteen', array(
	'type'        => 'typography',
	'settings'    => 'typography_testing',
	'label'       => esc_attr__( 'Control Label', 'twentynineteen' ),
	'section'     => 'typography_testing',
	'default'     => array(
		'font-family'    => 'Roboto',
		'variant'        => 'regular',
		'font-size'      => '14px',
		'line-height'    => '1.5',
		'letter-spacing' => '0',
		'color'          => '#333333',
		'text-transform' => 'none',
		'text-align'     => 'left',
	),
	'priority'    => 10,
	'output'      => array(
		array(
			'element' => 'body',
		),
	),
) );

Test opt-in support by removing the gutenberg_support key from the config / changing to false.  I am only checking strict for true.
The PR should account for KIRKI_NO_OUPUT constant being defined & true, and also should check the config for disable_output being set to prevent specific configs from outputting.
This particular theme does have typography styles assigned that are more specific than just body, but you should be able to verify that the font is correctly loaded.

Note: I have done a similar implementations on some themes which worked fine for my own use cases, but I also know people extend Kirki and use it in different ways, so I could be missing somethings.


Mutations

Summary
Mutations are a common feature in data-fetching libraries:

https://github.com/tannerlinsley/react-query#mutations
https://www.apollographql.com/docs/react/data/mutations/

While I don't find this is fully necessary in many cases, since you can call api.request() directly, there is lots of value in building a transaction / rollback strategy, for example:

Managing a loading state to return from the hook and use in the UI
Optimistically updating the cache value
Making multiple API calls which are all required for a successful completion

If one API call fails, we want to roll back to the original value
In-between the API requests, we don't want the cache to be optimistically updated multiple times. While this could be jarring for the user, it may also introduce bugs. For example, if you're incrementing a counter really quickly with a button, we could optimistically show the last-pressed button, but the API will keep resetting it after each successive API call completes.

An explicit mutations API which supports an optimistic response could solve the above issues.
Additionally, the optimistic setter should accept a "setter" function in addition to just passing the new response directly. This would help to facilitate updating the response relative to the previous response in a deterministic way, similar to react#useState's function setter options.

Goals

Allow a minimal mutation to be performed without much boilerplate
Allow various API methods to be accessed, such as request, writeCachedResponse, readCachedResponse, buildUrl, etc. that may be useful during the mutation. Event handlers such as onError and onCachedUpdate should not be accessible during the mutation.
Should manage a loading flag to be returned in the hook while the mutation is occurring
There should be an optimistic mutation option which allows for setting the cache values in a transaction, so the cached response can be updated for the mutation query or any other query and can be rolled back if the request(s) fails
Concurrent requests should be allowed, with the most recent optimistic response being respected. Also, the loading flag should remain true while any requests are going on.
Default fetch policy of the mutation request method should only be no-cache or fetch-first. (we should consider constricting the default fetch policy of the Api object to one of these.

Usage Examples
Optimistic update pattern with key-value cache:
import {useApiMutation, useApiQuery} from 'fairlight'

const {showSnackbar} = useSnackbar()
const {handleUnexpectedError} = useErrorHandler()
const [users, usersQueryActions] = useApiQuery(UserEndpoints.list())
const [user, userQueryActions] = useApiQuery(UserEndpoints.findById(props.id))
const [updateUser, {loading: updatingUser}] = useApiMutation({
  mutation: (values, formikBag) => async ({request, setOptimisticResponse}) => {
    // transform data into request body payload
    const updatePayload = transformDataForUpdate(values)

    // optimistically update the UI
    const commitUser = setOptimisticResponse(
      UserEndpoints.findById(1),
      (prev) => ({...prev, ...updatePayload})
    )
    const commitUsers = setOptimisticResponse(UserEndpoints.list(), (prev) =>
      prev.map((prevUser) => {
        return prevUser.id === prop.id ? {...prevUser, updatePayload} : prevUser
      })
    )

    // make request(s)
    // - `deduplicate` is always `false`
    // - `fetchPolicy` is always `fetch-first` or `no-cache`
    const updatedUser = await request(
      UserEndpoints.partialUpdate(props.id, updatedUser)
    )

    // now we need to replace the cached versions with
    // the correct versions
    commitUser(updatedUser)
    commitUsers((prev) =>
      prev.map((prevUser) => {
        return prevUser.id === prop.id ? updatedUser : prevUser
      })
    )

    // we may even want to refetch these related queries instead
    usersQueryActions.refetch()
    userQueryActions.refetch()

    showSnackbar({
      variant: 'Success',
      message: `User '${updatedUser.name}' has been updated.`
    })
  },

  onError(error, {args}) {
    handleFormError(error, args[1], 'An error occurred')
  }
})

Potential future-version if we start supporting a normalized cache:
import {useApiMutation, useApiQuery} from 'fairlight'

const {showSnackbar} = useSnackbar()
const {handleUnexpectedError} = useErrorHandler()
const [users, usersQueryActions] = useApiQuery(UserEndpoints.list())
const [user, userQueryActions] = useApiQuery(UserEndpoints.findById(props.id))
const [updateUser, {loading: updatingUser}] = useApiMutation({
  mutation: (values, formikBag) => async ({request}) => {
    // transform data into request body payload
    const updatePayload = transformDataForUpdate(values)

    const updatedUser = await request(
      UserEndpoints.partialUpdate(props.id, updatePayload),
      {
        // must be set directly on the `request` because
        // it doesn't have a way to match up request body
        // to identify the correct request (ie. running multiple `POST` requests)
        optimisticResponse: {
          ...user.data,
          ...updatePayload
        }
      }
    )

    // we may even want to refetch these related queries
    userQueryActions.refetch()

    showSnackbar({
      variant: 'Success',
      message: `User '${updatedUser.name}' has been updated.`
    })
  },

  onError(error, {args}) {
    handleFormError(error, args[1], 'An error occurred')
  }
})

@azmenak As discussed offline, this draft API is ready for feedback!


python3Packages.types-dateutil: init at 2.8.9

Motivation for this change
Package was missing.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 159247 run on x86_64-linux 1

2 packages built:

python310Packages.types-dateutil
python39Packages.types-dateutil


Update config.php

Remove repeated replacement key for routes/api
Enable app/Models/ path generator (database/* paths are enabled by default, therefore models/ will be needed)
Format comments to collapsible and remove space between the comment and its related property.

The only thing of value in this PR is removing the duplicate replacement. Changing the comments adds no value, modules does not need to be enabled by default when a module is generated the models folder will be created automatically. You can use seeder without a model if you wanted to.

The only thing of value in this PR is removing the duplicate replacement. Changing the comments adds no value, modules does not need to be enabled by default when a module is generated the models folder will be created automatically. You can use seeder without a model if you wanted to.

Code is poetry! The cleaner the code get, the easier it will be to read and understand.
The comments formatting truly doesn't add any functional values to the project, but it makes the code more comprehensive.
Comments are naturally followed by its property, once a whitespace come in between, it alter the meaning!
For the app/Models, I enabled it for readability purpose. If the database/seeders, factory & migrations are enabled by default then the models has to follow suit, in order to comply with the MVC architecture.
While reading the config file, it should make a meaning.
All the paths will be created when the appropriate commands are use, but the context itself should be self explanatory.

I've closed this as I'm not going to argue with you about the comments, whichever style they are really makes little difference they just as readable with | or * I raise this in my reply and you relied to defend it.
If you want to use * and have models generated go ahead. The config can live that way in anyone projects just fine.
I'm spending most of my time trying to get the docs updated, demos and features out so I really don't have time to argue where a comment should be a | or a *

@dcblogdev @alissn can you boldly tell us that clean and readable code are a thing of concern here?
Your response will guard us in our subsequent contributions!
Thank you.

I've closed this as I'm not going to argue with you about the comments, whichever style they are really makes little difference they just as readable with | or * I raise this in my reply and you relied to defend it.
If you want to use * and have models generated go ahead. The config can live that way in anyone projects just fine.
I'm spending most of my time trying to get the docs updated, demos and features out so I really don't have time to argue where a comment should be a | or a *

I'm not making PR to start arguments!
We all understand your schedule at the moment, and really appreciate you for the tasks.
You could have kindly make a review and request for a fix/update to meet up with expected standards.
I'm the director of ICT and the lead developer in my organization currently. I'm as busy as anyone can ever be, but I still sacrifice little time to contribute to this project all the time.
If this PR doesn't meet the standards or your expectations, then it's okay. I understand not everything will be accepted into the project!
Thank you.

okay, I'll re-open please revert and remove the duplicate replacement.

@solomon-ochepa,
This package for the laravel-framework. Can you point me to a config file in the framework that resembles this structure?
If you believe that making changes for improved readability and cleanliness is beneficial, please consider implementing them in the framework.

I've updated the config now, everything I don't want so closing this PR.

It's okay, thanks.


Accessing $[variables['Build.Repository.Name']] not working

Unable to access build variables with more than one "."
i have a build pipeline and am unable to access vars that have more than one period. in the example below I can see the vars

SourceBranch
DefinitionName

but RepositoryName is null
variables:
  SourceBranch: $[variables['Build.SourceBranch']]
  DefinitionName: $[variables['Build.DefinitionName']]
  repo:  $[variables['Build.Repository.Name']]

I know the value is not null because if i print out the vars using I can see it there
Get-ChildItem Env:

@SmUrF3R5 - The variable $(Build.Repository.Name) is not known at plan compile time, only at job execution time.
You should be able to use $(Build.Reposity.Name) in the body of your script.

@jtpetty that var is the first one I tried. Maybe I should clarify that I am trying to use them in a windows machine file copy task as a display name and also as part of the folder target path
https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/deploy/windows-machine-file-copy?view=azure-devops

@SmUrF3R5 Can you try using $(Build.Reposity.Name) as part of the input to the task rather than attempting to assign it in the variables block.

@jtpetty thats the first thing I did I only started using variables to figure out what was going on. I am on vacation for a couple weeks so I can’t really show you the output.
When I used
display: $(Build.Reposity.Name)
It would fail or display as a taw string depending on the quotes. I’ll get more detailed info when I return. Thanks for the replies!

Can you try $(Build.Repository.Name) instead of $(Build.Reposity.Name)

my bad the var works in the TargetPath parameter. But the display parameter does not output the var correctly. It outputs the literal name

displayName: "Copy files from $(Build.Repository.Name)/src

Awesome. It appeared to just be a problem with us not resolving some variables for the display name.

Thanks @jtpetty do i need to update my agent to get these changes? or do the agents auto-update?

The agent will eventually auto-update. Once the referenced PR gets merged, the next agent release will have this fix.

this is still not working


Do not overwrite Drush Aliases upon installation of multiple Drupal VMs

Consider adding in a Drupal VM identifier or leveraging the local URL to not overwrite Drush Aliases.

This could be related to #133

@frob - Somewhat, yes... I was thinking of having a vagrant_machine_name identifier. For most people, there would be no need to change this, and I would likely default to drupalvm. But some use cases (like I know @nerdstein is using Drupal VM in an automated way for multiple projects on one developer workstation) would be able to have multiple instances without any conflict (and in a more logical layout) by using a machine-specific identifier.

Updated title to reflect broader scope, and wrap #133 into this issue.

Fix incoming...


[BUG]  modify-response-plugin  and crypotr-response-plugin are used at the same time, and no information is returned

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior

Expected Behavior
Return information correctly
Steps To Reproduce
1.use modify response plugin , set removeBodyKes  $code
2.use cryptor response plugin , set encrypt data.name
Returned JSON format
{
"code": 200,
"msg": "",
"data": {
"id": "",
"name": ""
}
}
Environment
ShenYu version(s): master

Debug logs
Response Code: 200 OK
[Response Headers Start]
transfer-encoding: chunked
Content-Type: application/json
Content-Length: 0
[Response Headers End]
[Response Body Start]
[Response Body End]

There is a problem with the combination? Is it okay to separate each one?


Application crashes with 401 everytime I access git

Expected Behavior
I have synced my insomnia project to gitlab. This was working perfectly until a couple days ago. I could switch branches and push/ pull code from the git icon in the top navbar.
Actual Behavior
For the last couple days, the application crashes as soon as a click on the git icon in the navbar (even before I try to perform an actual git interaction). I tried creating a new insomnia project and connected it to a different git repository, but I got the same result. Everything else works just fine, but it crashes as soon as I hit the git icon.

Reproduction Steps

Go to a document and sync it with gitlab
Click on the git icon on the top navigation bar

the app crashes

Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
No response
Insomnia Version
2023.1.0
What operating system are you using?
Windows
Operating System Version
Windows 11 version 22H2
Installation method
insomnia exe
Last Known Working Insomnia version
No response

same here...

latest beta is working better, but still having issues

same here on Windows 10 and using Gitlab :-(


error while converting

F0404 19:12:25.205163 373228992 net.cpp:767] Check failed: target_blobs.size() == source_layer.blobs_size() (1 vs. 2) Incompatible number of blobs for layer conv0

I've got the same problem

@jeffrey-antoine I fixed this by crushing one of the batch norm layers so it was compatible.  You can see my branch where I fixed this problem and also updated for android API level 28. I submiitted a PR here but I am not sure chuanqi is still actively maintaining this. Feel free to see my fixes here: https://github.com/gWOLF3/rscnn . Best of luck.

Thank you for your help@WOLF3. I tried merge_bn.py, but it reported an error "caffe.LayerParameter has no field named permute_param". I have rechecked a lot of times that I'm indeed using caffe-ssd from https://github.com/weiliu89/caffe/tree/ssd. Have you met this problem before? If you did, how do you solve it?

Thank you for your help@gWOLF3. I tried merge_bn.py, but it reported an error "caffe.LayerParameter has no field named permute_param". I have rechecked a lot of times that I'm indeed using caffe-ssd from https://github.com/weiliu89/caffe/tree/ssd. Have you met this problem before? If you did, how do you solve it?


[AIRFLOW-3583] Fix AirflowException import

Looks like the class path changed and broke wasb_hook
Make sure you have checked all steps below.
Jira

[X] My PR addresses the following AIRFLOW-3583

Description

[X] Simple fix for AirflowException import

Tests

[X] No tests needed :)

Commits

[X] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Code Quality

[X] Passes flake8

both from airflow import AirflowException and from airflow.exceptions import AirflowException should work as AirflowException is imported in the init file

@jgao54 Thanks for taking a look. I must missed something then. Below is the exception I got when turning remote logging to wasb on:
webserver_1  | Unable to load the config, contains a configuration error.
webserver_1  | Traceback (most recent call last):
webserver_1  |   File "/usr/lib/python3.5/logging/config.py", line 382, in resolve
webserver_1  |     found = getattr(found, frag)
webserver_1  | AttributeError: module 'airflow.utils.log' has no attribute 'wasb_task_handler'
webserver_1  |
webserver_1  | During handling of the above exception, another exception occurred:
webserver_1  |
webserver_1  | Traceback (most recent call last):
webserver_1  |   File "/usr/lib/python3.5/logging/config.py", line 384, in resolve
webserver_1  |     self.importer(used)
webserver_1  |   File "/usr/local/lib/python3.5/dist-packages/airflow/utils/log/wasb_task_handler.py", line 23, in
webserver_1  |     from airflow.contrib.hooks.wasb_hook import WasbHook
webserver_1  |   File "/usr/local/lib/python3.5/dist-packages/airflow/contrib/hooks/wasb_hook.py", line 21, in
webserver_1  |     from airflow import AirflowException
webserver_1  | ImportError: cannot import name 'AirflowException'
webserver_1  |
webserver_1  | The above exception was the direct cause of the following exception:
webserver_1  |
webserver_1  | Traceback (most recent call last):
webserver_1  |   File "/usr/lib/python3.5/logging/config.py", line 558, in configure
webserver_1  |     handler = self.configure_handler(handlers[name])
webserver_1  |   File "/usr/lib/python3.5/logging/config.py", line 708, in configure_handler
webserver_1  |     klass = self.resolve(cname)
webserver_1  |   File "/usr/lib/python3.5/logging/config.py", line 391, in resolve
webserver_1  |     raise v
webserver_1  |   File "/usr/lib/python3.5/logging/config.py", line 384, in resolve
webserver_1  |     self.importer(used)
webserver_1  |   File "/usr/local/lib/python3.5/dist-packages/airflow/utils/log/wasb_task_handler.py", line 23, in
webserver_1  |     from airflow.contrib.hooks.wasb_hook import WasbHook
webserver_1  |   File "/usr/local/lib/python3.5/dist-packages/airflow/contrib/hooks/wasb_hook.py", line 21, in
webserver_1  |     from airflow import AirflowException
webserver_1  | ValueError: Cannot resolve 'airflow.utils.log.wasb_task_handler.WasbTaskHandler': cannot import name 'AirflowException'
webserver_1  |
webserver_1  | During handling of the above exception, another exception occurred:
webserver_1  |
webserver_1  | Traceback (most recent call last):
webserver_1  |   File "/usr/local/bin/airflow", line 21, in
webserver_1  |     from airflow import configuration
webserver_1  |   File "/usr/local/lib/python3.5/dist-packages/airflow/init.py", line 36, in
webserver_1  |     from airflow import settings
webserver_1  |   File "/usr/local/lib/python3.5/dist-packages/airflow/settings.py", line 259, in
webserver_1  |     configure_logging()
webserver_1  |   File "/usr/local/lib/python3.5/dist-packages/airflow/logging_config.py", line 72, in configure_logging
webserver_1  |     raise e
webserver_1  |   File "/usr/local/lib/python3.5/dist-packages/airflow/logging_config.py", line 67, in configure_logging
webserver_1  |     dictConfig(logging_config)
webserver_1  |   File "/usr/lib/python3.5/logging/config.py", line 795, in dictConfig
webserver_1  |     dictConfigClass(config).configure()
webserver_1  |   File "/usr/lib/python3.5/logging/config.py", line 566, in configure
webserver_1  |     '%r: %s' % (name, e))
webserver_1  | ValueError: Unable to configure handler 'processor': Cannot resolve 'airflow.utils.log.wasb_task_handler.WasbTaskHandler': cannot import name 'AirflowException'

@chinhngt actually you are right, was able to reproduce. I'd expect airflow init module to be imported but turns out for logging config it's not the case.

Restarted build, will merge if all tests pass.

non k8 test passed, merging.


terraform-compliance: 1.2.11 -> 1.3.34

Diff: https://github.com/terraform-compliance/cli/compare/refs/tags/1.2.11...1.3.34
Changelog: https://github.com/terraform-compliance/cli/releases/tag/1.3.34
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 204861 run on x86_64-linux 1

1 package built:

terraform-compliance


Is there a way to run the server in debug mode?

HttpRouter does not have a debug mode. However, this package only provides HTTP request -> handler function routing. It is unlikely that you require debug information about that.
Since the router is just a regular http.Handler, you could wrap it in another http.Handler and make debug output about requests there.