[added] autoHighlight prop to toggle automatic highlighting of top match

As requested by #146. Not sure about the prop name, so I would appreciate some feedback. I originally went with highlightFirst, but didn't feel that was good enough.

Prop name is good! When will release with this code?

I think autoHighlight works. I tried to think of something that might work as well, and all I could come up with is useHighlight which maybe only makes more sense from the code standpoint and not the prop.
I think we should merge it and 🚢 it. Did you get a chance to get me your npm handle for releases btw?

@CMTegner I added you to the npm access (per the other thread).
The only reason I did not go ahead and publish the new version is that I overlooked the CHANGELOG.md was not included in the PR and I wasn't quite sure what version area to bump here. If you want to add your stuff along with the current unreleased change (the babelrc changes already merged) and then publish this I think we're good to.

@sprjr I updated the changelog, but I'm hesitant to publish since I don't really know the process. I'm assuming you're using rackt release, but as far as I can tell this makes changes to changelog, which then get published to npm before you're able to make edits.
How do you handle this?

@CMTegner actually, I didn't like the 'auto changelog if your commits are formatted right' behavior so I've just been releasing this manually. Usually I run the build, tests, then I publish it, then I commit the changes/changelog with a manual [release] {version} message. I can publish this out though if it's good to go otherwise - was more wondering what the new version number / changelog updates would be actually.

@CMTegner I went ahead and published 1.2.0, since it was a new prop I felt like that was more semantic. Let me know if you disagree moving forward.
Also - the .babelrc changes actually broke my rackt build command. If I reverted the file, I was able to run it to generate the build (to the old .env.test.presets - so we'll have to figure out what's going on there at some point otherwise releases have this weird step...
I'll get the gh-pages up to date as well now.

So you publish from inside /build, right? I started work on replacing rackt-cli last weekend. I think we'll benefit from having something that's a bit more flexible.

I should probably elaborate a little: I noticed that npm start no longer works because babel v5 doesn't recognize presets at the top level in .babelrc. I'm getting pretty tired of having to deal with weird build issues due to - amongst others - mismatch between our local babel version and the one that rackt-cli is running. I don't really want to do the counter-intuitive thing and downgrade ours, so I'd rather replace the entire setup with something more simple:

babel-cli to transpile the source
browserify to create UMD bundles and build/run examples
A simple, npm-run-script-powered deployment:

npm version
npm run build
npm publish

Mkay, apparently GitHub didn't want to show me your second comment until now. Apologies for the duplicate observations.

I went ahead and published 1.2.0, since it was a new prop I felt like that was more semantic. Let me know if you disagree moving forward.

Totally agree, that was the same version I had planned to publish.

Hmm, ya sorry for the frustrations there. When I was trying to get npm test working I hadn't even tried the other commands.
I've typically thought the rackt cli was neat but only if you made it or used it for your components. If you're new to it, it's kinda proprietary.
I'm all for removing it, although of late between the build and other issues I've only been able to comment on PRs or release things, but not actually dig in to the tasks. So I think you're the best one to make the call there on what would work for you and anyone else wanting to contribute.
Thanks for all the collaboration / effort on this.
Sent from my iPhone

On Aug 9, 2016, at 2:35 PM, Christian Maughan Tegnér<EMAIL_ADDRESS>wrote:
I should probably elaborate a little: I noticed that npm start no longer works because babel v5 doesn't recognize presets at the top level in .babelrc. I'm getting pretty tired of having to deal with weird build issues due to - amongst others - mismatch between our local babel version and the one that rackt-cli is running. I don't really want to do the counter-intuitive thing and downgrade ours, so I'd rather replace the entire setup with something more simple:
babel-cli to transpile the source
browserify to create UMD bundles and build/run examples
A simple, npm-run-script-powered deployment:
npm version
npm run build
npm publish
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


[Incubator][VC]  Add metrics to measure checker scan duration

This change adds metrics to measure the time spent in running periodic checker.
We also adds metrics to measure the time spent in sending node heartbeats.

/lgtm
/approve


DEV mode - config to disable internalization

Related with https://github.com/Laravel-Backpack/basset/issues/16.
I did it with a small change for basset blocks; I thought it would be better to output the code block instead of internalizing it, also because this PR introduces a small new change;
@bassetBlock is now generating an hash and appending it to the file name, that way any minor change in the code will render a different file 👌
It is super fast, (the ~75 bassetBlocks on monster edit take way less than 1ms to generate every hash) I run some benchmarks with md5, sha1 and Hash, md5 was the fastest and it's more than enough, I'm using the first 8 bytes to append to the file — 1 in 3 thousand billion hit chance is more than enough 😅

So regarding dev mode;

[x] CDNs - use directly
[x] local bassets - internalize even if already internalized
[x] basset blocks - internalize even if already internalized renders code block
[x] basset directory - internalize even if already internalized
[x] local basset archive - internalize even if already internalized
[x] online basset archive - do nothing differently (internalize only if not already internalized)

Also added tests for basset and bassetBlock, archive and directory are still missing generally.

That is AWESOME! Great work @promatik 👏👏👏 Only one note - see my inline comment above please.


Wrong image view

In albums, either auto generated or user albums, when an image selected to view sometimes the first image in the album is opened instead of the selected image.

Same happens to me

Is there any update on this?

I believe this may have been fixed. Are you still seeing this?

Yes true
seems OK now

I can also confirm I'm not having the problem anymore


fix for gradle

[895] - https://transfer.sh/12nKUo/jdi-dark-tests.tar.gz

[895] - Allure report on Netlify: https://5e7c8929b35534049024c159--jdi-dark.netlify.com


Global Command-Line Options

Ticket to investigate whether Typer gives us a way to define a command-line arg that applies to all commands in an app. Possible use cases:

Pass the Hasura admin secret on an ad-hoc basis (#22)
Pass an ad-hoc host name and/or configuration instead of using persistent sessions (#14)
Specify output options (verbosity, pretty-print vs. script-friendly responses, etc.)

One solution is to use typer's app.callback, which allows us to receive additional command-line args. We can use this to write the arguments to a global variable.
Typer also provides a context that can be supplied to methods, but that would require passing the context to every command to work globally.
One issue with the current method is that the additional options can only be passed after aerie-cli. The options cannot come after commands. For example, aerie-cli --v plans list will be accepted. However, aerie-cli plans list --v will be rejected. This can be written in the documentation in order to avoid any confusion.
For an example of this solution in practice, see: 6216bb5


Adds: update name on the edge-app

Refs https://phorge.wireload.net/T7416
Update name on the edge app.
Decided that cli command should look like this.
screenly edge-app update name=newname
Please comment on this.

Why not use the same format as crate command like --name=<new_name>?

@vpetersson it uses app_id as source - either from manifest or by passing - as all other commands.


output with bounding box image

Hello All,
nnDetection provides some results as json file. Could you please let me know where I can find the output as an image with bounding box surrounded.
Regards,
Maysam

Dear @orouskhani,
you can refer to this https://github.com/MIC-DKFZ/nnDetection/issues/16 issue for more information on visualization. Note: this is only intended for visual inspection and should not be used for quantitative evaluation.
Best,
Michael

Dear Michael,'
That's awesome. Thank you!


Update azure-stack-version-profiles-go.md

I believe that the fqdn of integrated system should be same format which is used in the following document.
https://docs.microsoft.com/en-us/azure/azure-stack/azure-stack-integrate-endpoints
Best regards.

Looks good, thank you for the contribution! #sign-off


fixed property setter override by default setter

What does this PR do?
Fixes a bug within LightningWork class wherein properties with custom __setter__ defined get overridden by the default __setter__, which would lead to JSON Serialization errors.
Fixes #13934
Does your PR introduce any breaking changes? If yes, please list them.
None
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Yes

@hhsecond This is the PR regarding the issue #14259. There are some cloud related tests failing which at a glance seem like something to do with invalid URL / token issues, i.e., unrelated to this PR.

@pranjaldatta Awesome. Thank you for the PR. I just found that we have an issue (#13927) with running cloud test on PRs from forked repo. We'd need to wait for that to be fixed unfortunately :(

@pranjaldatta Awesome. Thank you for the PR. I just found that we have an issue (#13927) with running cloud test on PRs from forked repo. We'd need to wait for that to be fixed unfortunately :(

Understood! No worries!

Hi @hhsecond, I see that #13927 was just closed but during the cloud E2E tests, I see this error https://dev.azure.com/Lightning-AI/lightning/_build/results?buildId=92543&view=logs&j=4f63abee-993d-5237-1fd4-9fc286c82252&t=d8e19db7-f33f-5cff-ead3-b7436d0cd5e5&l=618. It seems like there is some issue with this particular test file.

The tagged issue was fixed 2 days ago but I see some of the tests are failing in the e2e pipeline. Probably flaky tests but lemme take a look

Hi @hhsecond seems like all the required tests are passing. Some of the other tests that are failing seem to be unrelated to the file changes in this PR. Is this PR good to be reviewed? Please let me know if you would like me to make any further changes!

@pranjaldatta thanks for looking into this. If you have time, could you try to address my comments. Otherwise I will be happy to help and do it.

@pranjaldatta thanks for looking into this. If you have time, could you try to address my comments. Otherwise I will be happy to help and do it.

@awaelchli Sure, thanks for the comments! I'll do them as soon as possible!

Hi @awaelchli, can you have a please do a review of the changes introduced via 72be4ea to resolve your comments?
Please let me know if you would need me to make any further changes!

mind add a changelog?

Added an entry in https://github.com/Lightning-AI/lightning/pull/14259/commits/c424d3ea67ecb542b3eefcbf18c623b554f95acb


Running spinningup in WSL2 with WSLg on Windows (Success)

Don't know if this has been detailed before, but I have gotten spinningup to work on WSL2 on windows without needing to install a X server for X11 forwarding. If you didn't know, WSL2 has WSLg which allows for you to run GUI apps in WSL.
First make sure you have WSL2 enabled in your system, you can check by using: wsl -l -v in cmd/powershell. To upgrade to WSL2, issue the command wsl --set-version <distro name> 2 replacing <distro name> with the name of the distribution you want to upgrade.
Next, install the vGPU driver for Ubuntu by following this link here. At the time of this post, the cuda version was 11.8, this will be important later on.
Install miniconda by downloading the .sh from here. Personally, I use pyenv which you can check out here. If you run into any dependency issues creating your virtualenv you might need to find one with python=3.6 support.
Follow spinningup for the rest of the installation.
Here is where we need to potentially fix things. If you encounter no errors, then maybe the issues were patched out. However, when trying to watch the trained policy you might encounter this error:
ImportError:
    Error occurred while running `from pyglet.gl import *`
    HINT: make sure you have OpenGL install. On Ubuntu, you can run 'apt-get install python-opengl'.
    If you're running on a server, you may need a virtual frame buffer; something like this should work:
    'xvfb-run -s "-screen 0 1400x900x24" python <your_script.py>'

To fix this issue, install an OpenGL library. The python-opengl library may not be present in your Ubuntu WSL distro, but you can install sudo apt install freeglut3-dev
You might also encounter another error:
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast

Most likely this is due to the anaconda/miniconda install having too old of an GLIBCXX binary (even if your system has a new one). We can check this by exporting this variable: export LIBGL_DEBUG=verbose and running the command again. If we see:
libGL: MESA-LOADER: failed to open /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: /home/dev/.pyenv/versions/miniconda3-latest/envs/su/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /lib/x86_64-linux-gnu/libLLVM-13.so.1)

Then we can fix this by symlinking our systems GLIBCXX to conda distribution by executing:
ln -s -f /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30 $CONDA_PREFIX/lib/libstdc++.so.6

If everything works you should see the training video when running the command again.

That solved my problem, thanks a lot!

Thank you :-D

excelent


TinyXML2 in biicode

Hi Lee,
My name is David and I write you from biicode a small start-up that’s developing a C and C++ dependency manager; just like Maven and Maven Central for Java.
Recently some of our users pointed us to your lib TinyXML2. Our users have been demanding for a while that lib should be hosted in biicode. That’s why we decided to upload it. Our mission is to make it as simple as possible to include and config the most popular libs written in C and C++.
In the process of uploading your library, we found a small bug in the contrib/html5-printer.cpp file that we have fixed. To help in the task of error control, we also include a system of continuous integration in Linux (Travis CI) and another one in Windows (AppVeyor). We use them very frequently because it's almost impossible to control how a change in one file affects the rest of the project.
Here are the links to the github's fork and tinyXML2 in biicode. My idea is to make a merge request to your main repository to integrate all the changes and fixes. We have also included two new files, biicode.conf and bii/post_process_hook.py, these files make your library work with biicode.

Wow what a ton of changes upon changes

First off - thanks, that's a lot of work. Thanks for taking the time. And Biicode is certainly interesting, and anything to help sort out dependencies in C++ is worth looking at.
The pull requests has several key issues:

Way way too big. Can't even get my head around what's changing. Additionally, it looks like line ending changes may be confounding the diffs and making them even bigger.
Is the Biicode change too intrusive?
Can the Biicode additional files be in a subdirectory?
Your name (david) is in the diffs. They shouldn't have user names in them.

Unless it's a much smaller change, and isolated to a sub-directory, I can't really move forward with this. Another option is "wait and see" and if Biicode takes off, we can merge changes back from your fork.


wrong obs in test obs dir - test suite fails

@doutriaux1 @durack1 changes obs really much up everything.  We need to make it easier to update obs database and not have issue propagate across package.   Need to replace test obs file...
tas_pcmdi-metrics_Amon_ERAINT_198901-200911-clim.nc
with
tas_ERAINT_000001-000012_ac.nc
Yes... we want to have the dates in the obs clim filenames but we've got to clean up obs database before making a new version of pmp obs database

@gleckler1 this is all taken care of in the "conda" branch which revamps the test suite to address all these things. It's 99% done but I need to sit with you because of some discrepancies that appeared on mac.


feat : Replace 'status' with 'git status',which is a common mistake beginners makes

help for beginners

LGTM!
PS:
This PR includes 'feat: replace 'commit' with 'git commit'...' PR, which is rejected before because the committed file is empty.
I will merge this PR though, because the empty does not affect any harmful effect, but make sure not to make such a mistake after!


TuneIn not showing up in radio overview

What version of Music Assistant has the issue?
2.0.4
What version of the Home Assistant Integration have you got installed?
2024.5.5
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

[X] Yes

The problem
TuneIn radio’s not showing up in the radio section. Also search and global search are not working.
How to reproduce
Add TuneIn plugin to MA.
Look for channel
Music Providers
TuneIn
Player Providers
Sonos
Full log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2024.5.5
What type of installation are you running?
Home Assistant Container
On what type of hardware are you running?
Alternative

What you have written above suggests you have not read the docs. Have you?

@OzGav, hes I have. My navigation in HA relies on the back button. When using it as a panel, it does not provide one. This is why I said using the webpage view. No need to be this passive aggressive.

Which I have and they are not showing up :)

Then they might be premium or geo blocked?

I don't know what it was. I removed the MA container from docker, restarted my server and reinstalled everything. For some reason everything is working correctly now. Maybe it had something to do with an earlier installation (and no reboot after removing the previous installation?)

Not sure. Glad all is working now.


In markdown height and width attribute of img tag is not working

This doesn't work
<img src="someImage.jpg" height="150px">

This is due to their width and height being set to auto in the webapp stylesheet.

Fixed e20d96b


CORS error when using style.label === 'generic'

I am using PayPal Checkout together with braintree-web/paypal-checkout component. My code looks like this
braintree.paypalCheckout.create({
  client: clientInstance
}, function (createErr, paypalCheckoutInstance) {
  paypal.Button.render({
    env: 'sandbox',
    locale: 'en_US',
    style: {
      label: 'generic'
    },
    payment: function () {
      return paypalCheckoutInstance.createPayment({
        flow: 'vault'
      });
    },

   ...
  }, '#paypal-button');
});

The button renders as expected but after clicking to it following error occurs
Refused to display 'https://www.paypal.com/cgi-bin/webscr' in a frame
because it set 'X-Frame-Options' to 'SAMEORIGIN'.

With any other possible label value ('checkout', 'pay', etc) all works just fine.

Thanks for the heads up. I've reverted the change, please clean your cache in 60 minutes and you should see this resolved. Closing as dupe of https://github.com/paypal/paypal-checkout/issues/495


Bump GMT from 6.2.0.dev3+2148f92 to 6.2.0.dev4+92c5676

This is an automated pull request!
This PR will update the following package:

gmt from 6.2.0.dev3+2148f92 to 6.2.0.dev4+92c5676

Full list of commits made since last release viewable at compare view

Notes for merging this PR:

Feel free to push to the bot's branch to update this PR if needed.
Checklist before merging this PR:

[ ] Dependencies have been updated if changed
[ ] Tests have passed

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Fix undefined language and change background on all monitors

Changes

Fix undefined language when current Lang doesn't have a complete list of translations.
Added background changing on all monitors with greeter_comm from web-greeter and nody-greeter (git master versions).

And thanks to @0xfMel for bringing multi-monitor support for this theme.
Preview
https://user-images.githubusercontent.com/59768785/176983924-7fb1a6b1-e6a2-4e71-9036-c0041e43cae7.mp4

Very nice! Thank you :D


latest package is missing module file in dist (index.mjs)

the dist folder is missing the module version of the node module (index.mjs)

@Fabiopf02 @fabiofranca02 can you grant me access to open pull requests? i fixed this locally

could you not create a fork of the repository?

@Fabiopf02 why would I create a fork when I could open a pull request and fix this library?

I don't know this process very well, so I thought you could create a pull request from the fork


Mycanal.fr doesn't work anymore

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.11.23. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.11.23

Before submitting an issue make sure you have:

[X] At least skimmed through the README, most notably the FAQ and BUGS sections
[X] Searched the bugtracker for similar issues including closed ones
[X] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[X] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'http://hls-od-mycanal-aka.canal-plus.com/replay/cplus/hls/cpl100020766-ant-1198741-7/ANT_1198741_7.m3u8']
[debug] Encodings: locale ISO8859-1, fs utf-8, out ISO8859-1, pref ISO8859-1
[debug] youtube-dl version 2018.11.23
[debug] Python version 2.7.15 (CPython) - Darwin-18.2.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1, ffprobe 4.1, rtmpdump 2.4
[debug] Proxy map: {}

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: http://hls-od-mycanal-aka.canal-plus.com/replay/cplus/hls/cpl100020766-ant-1198741-7/ANT_1198741_7.m3u8
Single video: http://hls-od-mycanal-aka.canal-plus.com/replay/cplus/hls/cpl100021211-ant-1198741-8/ANT_1198741_8.m3u8

Description of your issue, suggested solution and other information
Until a few weeks ago, downloads from videos hosted by mycanal.fr were possible through the URL of the video (accessible through a well placed right click). However, the site has changed the structure (and maybe the servers) for the video links.
An old video link would be in that form (the URL still works actually): https://strcpluscplus-vh.akamaihd.net/i/1810/26/1198741_6_,200k,400k,800k,1500k,.mp4.csmil/master.m3u8?secret=pqzerjlsmdkjfoiuerhsdlfknaes
However, the same video is now hosted officially here: http://hls-od-mycanal-aka.canal-plus.com/replay/cplus/hls/cpl100019805-ant-1198741-6/ANT_1198741_6.m3u8
The URL for the web browser hasn't changed: https://www.mycanal.fr/divertissement/groland-le-zapoi-emission-du-27-oct-2018/h/10441916_50001

Updated youtube-dl to the 2018.11.23 release. The problem is still there.


Times out on quick mode

I get this when running --mode quick

It might also happen on other mode after a longer time out. I'm not sure.

I slightly increased the timeout for quick mode.


update resvg to latest, same with guillotiere

Hello, also to update resvg, which removes old deflate and old png, and many other deps in a tree.

Oh no, it looks that resvg has removed raqote and uses a "tiny skia" which is native build? maybe it's not good, i don't know.

Yeah, the dependencies of resvg have grown considerably. We may consider using an updated version once tiny-skia matures or whenever we implement a Skia renderer.
In any case, thanks for taking a shot at this. Closing for now!

Switched to resvg from git in my fork now: https://github.com/myfreeweb/iced/commit/a2d07cb759d6ac3debc04ae6d0c906672cfa712b (tiny-skia is all-Rust already)
It outputs RGBA instead of BGRA.. for now I just added the conversion right there using image, but it would be much better to "convert" in the fragment shader.
Code size of rustybuzz+tiny_skia+usvg+resvg in release mode is considerable, though wgpu+wgpu_core+naga+gfx_backend_vulkan+ash is still bigger :)
 File  .text     Size Crate
 9.4%  22.7% 812.1KiB wgpu
 3.9%   9.4% 337.4KiB std
 3.1%   7.4% 266.0KiB rustybuzz
 3.0%   7.3% 260.9KiB tiny_skia
 2.2%   5.3% 189.0KiB usvg
 2.1%   5.0% 179.4KiB iced_wgpu
 1.9%   4.6% 166.1KiB naga
 1.7%   4.0% 144.3KiB wgpu_core
 1.3%   3.1% 111.8KiB smithay_client_toolkit
 1.0%   2.5%  90.9KiB resvg
 0.9%   2.3%  82.1KiB ttf_parser
 0.9%   2.1%  75.0KiB wayland_client
 0.7%   1.8%  63.1KiB gfx_backend_vulkan

@myfreeweb Cool! Yeah, I saw the announcement of tiny-skia a while ago.
We are just waiting for a new resvg release at this point. Feel free to open a PR!


Apache 2.0 license added

@razzeee
Same as https://hosted.weblate.org/projects/flathub/frontend/#information

Thank you, we need to wait for https://github.com/flathub/frontend/issues/248 to land this.
Closes https://github.com/flathub/frontend/issues/248


I was able to circumvent this when I swapped the thefuck/conf.py and thefuck/types.py to how they look in GH-1465.


python310Packages.frozendict: 2.3.1 -> 2.3.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.frozendict is: "An immutable dictionary"
meta.homepage for python310Packages.frozendict is: "https://github.com/slezica/python-frozendict"
meta.changelog for python310Packages.frozendict is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

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

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

found 2.3.2 with grep in /nix/store/0vzqjf3922rlp7rl6nqdm7i550qmx80n-python3.10-frozendict-2.3.2

found 2.3.2 in filename of file in /nix/store/0vzqjf3922rlp7rl6nqdm7i550qmx80n-python3.10-frozendict-2.3.2

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

27 total rebuild path(s)

14 package rebuild(s)

14 x86_64-linux rebuild(s)
13 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
markdown-anki-decks
matrix-synapse
matrix-synapse-plugins.matrix-synapse-mjolnir-antispam
matrix-synapse-plugins.matrix-synapse-shared-secret-auth
matrixcli
octoprint
python310Packages.canonicaljson
python310Packages.frozendict
python310Packages.genanki
python310Packages.signedjson
python39Packages.canonicaljson
python39Packages.frozendict
python39Packages.genanki
python39Packages.signedjson

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0vzqjf3922rlp7rl6nqdm7i550qmx80n-python3.10-frozendict-2.3.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0vzqjf3922rlp7rl6nqdm7i550qmx80n-python3.10-frozendict-2.3.2
ls -la /nix/store/0vzqjf3922rlp7rl6nqdm7i550qmx80n-python3.10-frozendict-2.3.2/bin

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

1 package failed to build:

octoprint

13 packages built:

markdown-anki-decks
matrix-synapse
matrix-synapse-plugins.matrix-synapse-mjolnir-antispam
matrix-synapse-plugins.matrix-synapse-shared-secret-auth
matrixcli
python310Packages.canonicaljson
python310Packages.frozendict
python310Packages.genanki
python310Packages.signedjson
python39Packages.canonicaljson
python39Packages.frozendict
python39Packages.genanki
python39Packages.signedjson

Maintainer pings

addressed by #181620


feature request: Implement both path_remove_directory and path_unlink_file

Feature Request
We are implementing 2 of the syscalls that deal with removing files and empty directories.
https://github.com/bjorn3/browser_wasi_shim/blob/7349f7d32a8e6db7ecbd52df8d7373eb0a876130/src/fd.ts#L99-L101
https://github.com/bjorn3/browser_wasi_shim/blob/7349f7d32a8e6db7ecbd52df8d7373eb0a876130/src/fd.ts#L108-L110
https://wasix.org/docs/api-reference/wasi/path_unlink_file
https://wasix.org/docs/api-reference/wasi/path_remove_directory
Status
We have implemented both and it seems to work for empty file and empty directory.
The code is based on https://github.com/bjorn3/browser_wasi_shim/pull/42/files#diff-177a21b9f40c72ea679cf8658d14ed0d9702afcea694e92e0936f11ab182d2a3R331-R333
with some additional checks.
Challenges

Fails on a directory that is not empty. In Golang with https://pkg.go.dev/os#RemoveAll it uses a recursive algorithm with unlinkat to unlink the files and remove the empty directories. This goes into an infinite loop.
The WASI spec requires that we check file and directory permissions/rights before removing/unlinking but the rights base isn't stored anywhere? We couldn't find many examples of checking rights https://github.com/bjorn3/browser_wasi_shim/blob/7349f7d32a8e6db7ecbd52df8d7373eb0a876130/src/wasi_defs.ts#L116
other than https://github.com/bjorn3/browser_wasi_shim/blob/7349f7d32a8e6db7ecbd52df8d7373eb0a876130/src/fs_fd.ts#L290-L291

The WASI spec requires that we check file and directory permissions/rights before removing/unlinking but the rights base isn't stored anywhere?

Correct. Currently we entirely ignore permissions except at the location you mentioned. https://github.com/bjorn3/browser_wasi_shim/pull/42 has an implementation of this, but I need to look further into how exactly wasi's rights system works to check if the implementation is correct.

Fails on a directory that is not empty. In Golang with https://pkg.go.dev/os#RemoveAll it uses a recursive algorithm with unlinkat to unlink the files and remove the empty directories. This goes into an infinite loop.

Weird.

https://github.com/bjorn3/browser_wasi_shim/pull/50/files#diff-177a21b9f40c72ea679cf8658d14ed0d9702afcea694e92e0936f11ab182d2a3R381
This is the code we have so far

I will take a look tomorrow.


Should body copy be Roboto?

I was wondering whether it would make sense to just use Roboto everywhere vs Open Sans in some places, as to me they’re not different enough:

I just chose the font pairing based off Google Fonts recommended font parings for Roboto here. Imo I think a distinction between heading fonts and body text is best. There might be better options out there.

ah nice, I didn’t know about that pairings feature. I feel like all their suggestions are barely different enough from Roboto! But oh well. I wonder if we know anyone with an Adobe subscription who can let us use the original fonts 😆


Make ¨U work NOT online but offline

Ok but why can't it just always work?

So that people can't use the online interpreter to do things like commit crimes or access illegal data. Basically it's to ensure we ain't liable for anything


ActiveMQ delayed messages

Hi,
is it possible to send the 'AMQ_SCHEDULED_DELAY' property on a message?
And if, how would that look like.
Thanks

I think I found it
https://issues.apache.org/jira/browse/AMQ-6037

I'm sorry to open this up again.
I activated the scheduler in the server, which works when sending messages through the web interface.
var options = { annotations: { 'x-opt-delivery-delay': 10000 }};
return sender.send({ key: "Value" }, options);
```

When I try it like this, the message gets returned immediately. Am I totally wrong?

Thanks

I'm sorry to open this up again.
I activated the scheduler in the server, which works when sending messages through the web interface.
var options = { annotations: { 'x-opt-delivery-delay': 10000 }};
return sender.send({ key: "Value" }, options);

When I try it like this, the message gets returned immediately. Am I totally wrong?
Thanks

@klexxp that looks correct, for completeness sake could you provide the raw hex of the data sent when you send that message? (enable debug mode by specifying the environment variable DEBUG=amqp*).  Perhaps ActiveMQ requires it to be encoded differently?

Oh, that would make sense.
  amqp10:framing sending frame:  @begin(17) [remoteChannel=null nextOutgoingId=1 incomingWindow=100 outgoingWindow=100 handleMax=4294967295 offeredCapabilities=null desiredCapabilities=null properties={}] +3ms
  amqp10:trace raw: [0000001f02000001005311c012084052015264526470ffffffff4040c10100] +1ms

debug_log.txt

@klexxp can you try running this instead:
var message = {
  annotations: { 'x-opt-delivery-delay': 10000 },
  body: { key: "Value" }
};

return sender.send(message);

oh doh, scratch all of that. There is no such thing as annotations, they are either deliveryAnnotations or messageAnnotations (I believe JMS calls messageAnnotations just annotations, but please don't quote me here).

It worked using messageAnnotations.
Thank you very much.


[Bug] DisplaySnackBarAsync Task never completes if another SnackBar appears

Steps to Reproduce
Execute the following:
            var task1 = page.DisplaySnackBarAsync("Test1", "Action", () => Task.Delay(10));
            var task2 = page.DisplaySnackBarAsync("test2", "Action", () => Task.Delay(10));

            var res1 = await task1;
            var res2 = await task2;

Expected Behavior
Both tasks are completed, res1 and res2 are false;
Actual Behavior
task1 never completes, therefore execution is stuck.
Basic Information

Version with issue: 1.1.0
Platform Target Frameworks:

Android

@Dreamescaper
Could you attach a small repro?

Sure!
I've attached a sample project. Start the project, click on "Show multiple SnackBars" button.
Expected:
When all snackbars are hidden (due to timeout), button handler completes, and prints 'Completed';
Actual:
Execution is stuck on await snackbarTask1 line, it never completes.
Repro.zip

@Dreamescaper Thanks for the sample project! It helped a lot with the investigation.
Issue will be fixed after #1357 is merged.

You can test the solution yourself. NuGet is it pipeline artifacts.


Current build failing on test_retrieve_sam_network

It looks like this is related to the downloads from the NREL website. When I tried to manually download the files, it took about a minute for the first download to happen (and it was fine after that). We might want to consider hosting the files locally? I'm not sure what the limitations are on that.

The files total only 2 MB, so to me it doesn't seem like a big deal to include them along with the Linke turbidities and eventually the Driesse inverter database. This is what the Matlab version does too.

I ran it again locally on my machine, and it worked fine. I also re-started the travisCI and we're now passing. So, I think this is fine for now. The advantage of pulling from SAM is that the database is always up to date, however a future addition might be to have a set of files included as a baseline to ensure that a user can use these algorithms without an internet connection, or if the website is down.

The links are actually to specific versions of the files (see here).

Is this resolved? I am trying to close the 0.1 milestone ;-)

Well, it's resolved in the sense that the test passes again, but there is still the question of if we should just include the files in the distribution. Another possibility is to remove this test from the standard test suite. Those all seem like 0.2 questions, though.

The same test failed again, though in a slightly different way and for only one of the builds.
https://travis-ci.org/pvlib/pvlib-python/jobs/60250664

I think it would be worthwhile to include the files locally, I'm putting together a PR

I'm going to push this to 0.3.


Uffd restart interrupted system calls

I've been looking at some userfaultfd crashes in the Android testing spreadsheet, specifically "row 20" since the crash is easy to reproduce and gives you enough time to attach a debugger.
I thought maybe UffdBlockFaultingThreads() wasn't blocking enough threads since it seems like there is a potential race condition during the first access by a thread, before it gets added to the uffd_fault_causing_threads list. However, preemptively adding more threads to uffd_fault_causing_threads actually made things worse, crashing almost immediately after the extra thread IDs were added. Then I tried disabling UffdBlockFaultingThreads and the crashes went away, but there were lots of graphical glitches in another title (makes sense, that synchronization was in there for a reason).
I was able to take an strace and saw this for one of the crashing threads during the RT signal handler:
9272  futex(0x74b322a930, FUTEX_WAIT_BITSET_PRIVATE,<PHONE_NUMBER>, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>
9200  tgkill(9093, 9272, SIGRT_9 <unfinished ...>
9272  <... futex resumed> )             = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
9272  --- SIGRT_9 {si_signo=SIGRT_9, si_code=SI_TKILL, si_pid=9093, si_uid=10289} ---
  <more syscalls inside the signal handler>
9272  rt_sigreturn({mask=[QUIT USR1 PIPE RTMIN]} <unfinished ...>
9272  <... rt_sigreturn resumed> )      = -1 EINTR (Interrupted system call)
9272  --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x10} ---

I think this is what is happening:

Thread 9272 makes a futex system call
Thread 9200 touches a faulted page, triggering an RT signal to Thread 9272 from UffdBlockFaultingThreads because it has also touched a faulted page before
Thread 9272 runs the RT signal handler, interrupting the futex call
Thread 9272 resumes the futex call and returns EINTR because it was interrupted
Something bad happens, maybe the app didn't expect EINTR? Maybe that somehow results in it dereferencing a null pointer? This is the part I am least sure about
Seg fault

There's a nice hint in the strace log about SA_RESTART, so I tried it and it worked! No more crash, no more corruption.
And here is the updated strace:
10631 futex(0x74b322b770, FUTEX_WAIT_BITSET_PRIVATE,<PHONE_NUMBER>, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>
10584 tgkill(10493, 10631, SIGRT_9 <unfinished ...>
10631 <... futex resumed> )             = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
10631 --- SIGRT_9 {si_signo=SIGRT_9, si_code=SI_TKILL, si_pid=10493, si_uid=10289} ---
  <more syscalls inside the signal handler>
10631 rt_sigreturn({mask=[QUIT USR1 PIPE RTMIN]}) =<PHONE_NUMBER>84
10631 futex(0x74b322b770, FUTEX_WAIT_BITSET_PRIVATE,<PHONE_NUMBER>, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>
10584 tgkill(10493, 10631, SIGRT_9 <unfinished ...>
10631 <... futex resumed> )             = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
10631 --- SIGRT_9 {si_signo=SIGRT_9, si_code=SI_TKILL, si_pid=10493, si_uid=10289} ---
  <more syscalls inside the signal handler>
10631 rt_sigreturn({mask=[QUIT USR1 PIPE RTMIN]}) =<PHONE_NUMBER>84
10631 futex(0x74b322b770, FUTEX_WAIT_BITSET_PRIVATE,<PHONE_NUMBER>, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>
10584 tgkill(10493, 10631, SIGRT_9 <unfinished ...>
10631 <... futex resumed> )             = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
10631 --- SIGRT_9 {si_signo=SIGRT_9, si_code=SI_TKILL, si_pid=10493, si_uid=10289} ---
  <more syscalls inside the signal handler>
10631 rt_sigreturn({mask=[QUIT USR1 PIPE RTMIN]} <unfinished ...>
10631 <... rt_sigreturn resumed> )      =<PHONE_NUMBER>84
10631 futex(0x74b322b770, FUTEX_WAIT_BITSET_PRIVATE,<PHONE_NUMBER>, NULL, FUTEX_BITSET_MATCH_ANY <unfinished ...>

This shows the same futex call getting restarted each time it exits the RT handler.
I made this a draft since I would like to do more testing. So far it seems like there isn't really a downside to enabling the SA_RESTART flag, especially when interrupting application threads running code we do not control.

CI gfxreconstruct build queued with queue ID 213590.

CI gfxreconstruct build # 4387 running.

CI gfxreconstruct build # 4387 passed.

CI gfxreconstruct build queued with queue ID 219356.

CI gfxreconstruct build # 4439 running.

CI gfxreconstruct build # 4439 passed.


I cannot select two or more favorite drivers (top, left).

I can select one driver (input "ALO")[OK].
However, I want to select a few drivers at the top left (input "ALO + LEC + VER"). But no lines at Lap time and Gap to leader[NG].
Input image

After pushing the "enter key," no lines[NG].

My question:
Please let me know the selection or input of the drivers.

Thank you for your suggestion. I can select drivers after reloading the page[OK].


Cylindrical images as input

I like the approach and implementation of this viewer very much, and I'd like to use it heavily for my photo gallery, but there is a blocking point: most my source images are not in equirectangular, but in cylindrical projection.
While several other pano viewers also accept cylindrical projection, this one does not, and AFAICS this is a matter of efficiency and also of development effort.
Can you recommend any tool (ideally one that can be used in batch mode with all necessary parameters like field of view given as command line options) that can be used to transform JPEG images to equirectangular projection such that they can be used with Pannellum?

I don't know of any tools to do this out of the box, but it's fairly easy to do with Hugin's command line tools. There following set of commands should do the conversion, where 200 is the horizontal field of view:
pto_gen -p 1 -f 200 -o project.pto image.jpg
pano_modify --fov=AUTO --canvas=AUTO --crop=AUTO -o project.pto project.pto
nona -o image_equirectangular.jpg -m JPEG project.pto

It wouldn't be difficult to adapt this set of commands into a script.

Thanks a lot for your swift and very helpful response - this is pretty much what I was looking for!
I should get a newer version of nona (which so far I can't find for Mac OS X) because the one of 2014 does not accept the -m JPEG option (and the related interpretation of the -z <percent> option). Thus my bash script currently looks like this:
base=`base $image`
pto_gen     >/dev/null -p 1 -f $hfov -o $base.pto $image
pano_modify >/dev/null --fov=AUTO --canvas=AUTO --crop=AUTO -o $base.pto $base.pto
nona -o /tmp/${base}_equi $base.pto && #-m JPEG -z 80
convert -quality 80 /tmp/${base}_equi0000.tif ${base}_equi.jpeg

One question remains to me here. Do I need to handle the case that the horizon in the cylindrical input is not in the middle, but typically at around 40% of the image height (calculated from above), and if so, how to do this?
If I try compensating to this giving --rotate 0,$pitch,0 to pano_modify, the horizon gets wrongly curved. If I try setting any of the x, y, or z values in --translate x,y,z, things go pretty wrong.
If I instead simply give the pitch as the vOffset parameter to the viewer in the .html file, everything seems fine.
BTW, I do the image parameter calculation in a Perl script as follows.
if (`exiftool $image` =~ m/\nMake\s*: SONY.*?\nOrientation\s*: (.*)\nScene Mode\s*: Sweep Panorama.*?\n.*?\nImage Width\s*: (\d+).*?Image Height\s*: (\d+).*?Field Of View\s*: ([\d\.]+) deg.*?Focal Length\s*: [\d\.]+ mm \(35 mm equivalent: ([\d\.]+) mm\)/s) {
      print "Sony wide-angle ($5 mm) cylindrical Sweep Panorama";
      $projection = "cylindrical";
      $width=$2;
      $height=$3;
      $vfov=$4;
      $horizon = 0.40; #default
      $vfov=$vfov*2/3 if $1 =~ m/Horizontal/;
      $radius=$height/2/tan($vfov/2*pi/180);
      $hfov=$width/$radius*180/pi;
      $mintilt=(0-$horizon)*$vfov;
      $maxtilt=(1-$horizon)*$vfov;
      $pitch=-($maxtilt+$mintilt)/2;
}

To change the pitch of the image, you'll want to use pto_var, not pano_modify (pto_var modifies image parameters, while pano_modify modifies the output parameters). Something along the lines of this should work: pto_var --set p0=20 -o project.pto project.pto.

I tried pto_var --set p0=$pitch.
It turns out that it has the same effect as pano_modify --rotate 0,$pitch,0.
That is, as far as the pitch is concerned, both these commands modify the input image parameters. I wonder if this is intended.
Thus if I use any of these commands before invoking nona, the horizon (which was straight in the input image) gets bent.
If I do the pitch modification after invoking nona, the output image looks fine (although the elevated horizon is not taken into account for rendering), and still the horizon information is recorded (as the 'p0' parameter of the line starting with 'i') in the .pto file. Yet I'm not sure if this is the real solution.

Meanwhile, after quite some trial and error (it's a shame that whoever invented or maintains the PTO file format does not provide online documentation for it; at least I searched for it several times with no results),
I managed to find the right way to do the transformation of images with cylindrical projection and a non-zero pitch: the key is the e parameter for the input file lines of the .pto file. This is usually 0, but should be the offset of the horizon in pixels (negative if the horizon is above the middle).
I adapted the generate.py script to take this value as an extra parameter, which I calculate in the Perl script calling it as follows (where -$mintilt is the field of view of the cylindrical image above the horizon:
$radius =  $width*360/$hfov/2/pi;
$horizon = int($spherical ? $tilt/$hfov * $width
                          : tan($mintilt*pi/180) * $radius + $height/2);

Here is an example partial cylindrical pano generated this way.

The described solution is meanwhile implemented in PR #570.


chef_gem install fails for aws-sdk - issue with embedded gem

Description
Chef embedded gem fails to install aws-sdk from rubygems by entering a loop
Chef Version
13.8.5
Platform Version
Ubuntu 16.0.4 on Amazon EC2
Replication Case
Run a recipe with aws_s3_file ....
Client Output
Doing old-style registration with the validation key at /home/...
Delete your validation key in order to use your user credentials instead

Connecting to <IP_ADDRESS>
<IP_ADDRESS> -----> Installing Chef Omnibus (-v 13)
<IP_ADDRESS> downloading https://omnitruck-direct.chef.io/chef/install.sh
<IP_ADDRESS>   to file /tmp/install.sh.1451/install.sh
<IP_ADDRESS> trying wget...
<IP_ADDRESS> ubuntu 16.04 x86_64
<IP_ADDRESS> Getting information for chef stable 13 for ubuntu...
<IP_ADDRESS> downloading https://www.chef.io/stable/chef/metadata?v=13&p=ubuntu&pv=16.04&m=x86_64
<IP_ADDRESS>   to file /tmp/install.sh.1457/metadata.txt
<IP_ADDRESS> trying wget...
<IP_ADDRESS> sha1       1ecb70effcf557dbac0d0de528bbef6937f9c581
<IP_ADDRESS> sha256     ce0ff3baf39c8c13ed474104928e7e4568a4997a1d5797cae2b2ba3ee001e3a8
<IP_ADDRESS> url        https://packages.chef.io/files/stable/chef/13.8.5/ubuntu/16.04/chef_13.8.5-1_amd64.deb
<IP_ADDRESS> version    13.8.5
<IP_ADDRESS> downloaded metadata file looks valid...
<IP_ADDRESS> downloading https://packages.chef.io/files/stable/chef/13.8.5/ubuntu/16.04/chef_13.8.5-1_amd64.deb
<IP_ADDRESS>   to file /tmp/install.sh.1457/chef_13.8.5-1_amd64.deb
<IP_ADDRESS> trying wget...
<IP_ADDRESS> Comparing checksum with sha256sum...
<IP_ADDRESS> Installing chef 13
<IP_ADDRESS> installing with dpkg...
<IP_ADDRESS> Selecting previously unselected package chef.
(Reading database ... 51122 files and directories currently installed.)
<IP_ADDRESS> Preparing to unpack .../chef_13.8.5-1_amd64.deb ...
<IP_ADDRESS> Unpacking chef (13.8.5-1) ...
<IP_ADDRESS> Setting up chef (13.8.5-1) ...
<IP_ADDRESS> Thank you for installing Chef!
<IP_ADDRESS> Starting the first Chef Client run...
<IP_ADDRESS> Starting Chef Client, version 13.8.5
<IP_ADDRESS> Creating a new client identity for ... using the validator key.
<IP_ADDRESS> resolving cookbooks for run list: ...
<IP_ADDRESS> Synchronizing Cookbooks:
<IP_ADDRESS>   - scenefusion (0.1.168)
<IP_ADDRESS>   - hostsfile (3.0.1)
<IP_ADDRESS>   - aws (4.2.0)
<IP_ADDRESS>   - ohai (5.2.2)
<IP_ADDRESS>   - limits (1.0.0)
<IP_ADDRESS>   - aws-sdk (1.42.0)
<IP_ADDRESS>   - swap (2.2.1)
<IP_ADDRESS>   - build-essential (2.0.6)
<IP_ADDRESS>   - apt (2.4.0)
<IP_ADDRESS>   - sysctl (1.0.3)
<IP_ADDRESS>   - mysql (8.5.1)
<IP_ADDRESS> Installing Cookbook Gems:
<IP_ADDRESS> Compiling Cookbooks...
<IP_ADDRESS> [2018-04-05T16:28:51+00:00] WARN: The default aws recipe does nothing. See the readme for information on using the aws resources
<IP_ADDRESS> Converging 76 resources
...
...
<IP_ADDRESS> Recipe: scenefusion::main
<IP_ADDRESS>   * aws_s3_file[/tmp/...] action create
<IP_ADDRESS>     * chef_gem[aws-sdk] action install[2018-04-05T16:32:13+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process terminated by signal 9 (KILL)

When I try to install aws-sdk from the embedded ruby gem:
# /opt/chef/embedded/bin/gem install aws-sdk -VV --no-rdoc --no-ri -v "3.0.1" --source=https://www.rubygems.org
HEAD https://api.rubygems.org/api/v1/dependencies
200 OK
Getting SRV record failed: DNS result has no information for _rubygems._tcp.www.rubygems.org
HEAD https://www.rubygems.org/api/v1/dependencies
200 OK
GET https://api.rubygems.org/api/v1/dependencies?gems=aws-sdk
200 OK
GET https://www.rubygems.org/api/v1/dependencies?gems=aws-sdk
200 OK
GET https://api.rubygems.org/api/v1/dependencies?gems=aws-sdk-resources
200 OK
GET https://www.rubygems.org/api/v1/dependencies?gems=aws-sdk-resources
200 OK
GET https://api.rubygems.org/api/v1/dependencies?gems=aws-sdk-acm,aws-sdk-acmpca,aws-sdk-alexaforbusiness,aws-sdk-apigateway,aws-sdk-applicationautoscaling,aws-sdk-applicationdiscoveryservice,aws-sdk-appstream,aws-sdk-appsync,aws-sdk-athena,a
ws-sdk-autoscaling,aws-sdk-autoscalingplans,aws-sdk-batch,aws-sdk-budgets,aws-sdk-cloud9,aws-sdk-clouddirectory,aws-sdk-cloudformation,aws-sdk-cloudfront,aws-sdk-cloudhsm,aws-sdk-cloudhsmv2,aws-sdk-cloudsearch,aws-sdk-cloudsearchdomain,aws-sd
k-cloudtrail,aws-sdk-cloudwatch,aws-sdk-cloudwatchevents,aws-sdk-cloudwatchlogs,aws-sdk-codebuild,aws-sdk-codecommit,aws-sdk-codedeploy,aws-sdk-codepipeline,aws-sdk-codestar,aws-sdk-cognitoidentity,aws-sdk-cognitoidentityprovider,aws-sdk-cogn
itosync,aws-sdk-comprehend,aws-sdk-configservice,aws-sdk-connect,aws-sdk-costandusagereportservice,aws-sdk-costexplorer,aws-sdk-databasemigrationservice,aws-sdk-datapipeline,aws-sdk-dax,aws-sdk-devicefarm,aws-sdk-directconnect,aws-sdk-directo
ryservice,aws-sdk-dynamodb,aws-sdk-dynamodbstreams,aws-sdk-ec2,aws-sdk-ecr,aws-sdk-ecs,aws-sdk-efs,aws-sdk-elasticache,aws-sdk-elasticbeanstalk,aws-sdk-elasticloadbalancing,aws-sdk-elasticloadbalancingv2,aws-sdk-elasticsearchservice,aws-sdk-e
lastictranscoder,aws-sdk-emr,aws-sdk-firehose,aws-sdk-fms,aws-sdk-gamelift,aws-sdk-glacier,aws-sdk-glue,aws-sdk-greengrass,aws-sdk-guardduty,aws-sdk-health,aws-sdk-iam,aws-sdk-importexport,aws-sdk-inspector,aws-sdk-iot,aws-sdk-iotdataplane,aw
s-sdk-iotjobsdataplane,aws-sdk-kinesis,aws-sdk-kinesisanalytics,aws-sdk-kinesisvideo,aws-sdk-kinesisvideoarchivedmedia,aws-sdk-kinesisvideomedia,aws-sdk-kms,aws-sdk-lambda,aws-sdk-lambdapreview,aws-sdk-lex,aws-sdk-lexmodelbuildingservice,aws-
sdk-lightsail,aws-sdk-machinelearning,aws-sdk-marketplacecommerceanalytics,aws-sdk-marketplaceentitlementservice,aws-sdk-marketplacemetering,aws-sdk-mediaconvert,aws-sdk-medialive,aws-sdk-mediapackage,aws-sdk-mediastore,aws-sdk-mediastoredata
,aws-sdk-migrationhub,aws-sdk-mobile,aws-sdk-mq,aws-sdk-mturk,aws-sdk-opsworks,aws-sdk-opsworkscm,aws-sdk-organizations,aws-sdk-pinpoint,aws-sdk-polly,aws-sdk-pricing,aws-sdk-rds,aws-sdk-redshift,aws-sdk-rekognition,aws-sdk-resourcegroups,aws
-sdk-resourcegroupstaggingapi,aws-sdk-route53,aws-sdk-route53domains,aws-sdk-s3,aws-sdk-sagemaker,aws-sdk-sagemakerruntime,aws-sdk-secretsmanager,aws-sdk-serverlessapplicationrepository,aws-sdk-servicecatalog,aws-sdk-servicediscovery,aws-sdk-
ses,aws-sdk-shield,aws-sdk-simpledb,aws-sdk-sms,aws-sdk-snowball,aws-sdk-sns,aws-sdk-sqs,aws-sdk-ssm,aws-sdk-states,aws-sdk-storagegateway,aws-sdk-support,aws-sdk-swf,aws-sdk-transcribeservice,aws-sdk-translate,aws-sdk-waf,aws-sdk-wafregional
,aws-sdk-workdocs,aws-sdk-workmail,aws-sdk-workspaces,aws-sdk-xray
502 Bad Gateway
Getting SRV record failed: DNS result has no information for _rubygems._tcp.api.rubygems.org
GET https://api.rubygems.org/prerelease_specs.4.8.gz
200 OK
GET https://api.rubygems.org/specs.4.8.gz
200 OK
GET https://www.rubygems.org/api/v1/dependencies?gems=aws-sdk-acm,aws-sdk-acmpca,aws-sdk-alexaforbusiness,aws-sdk-apigateway,aws-sdk-applicationautoscaling,aws-sdk-applicationdiscoveryservice,aws-sdk-appstream,aws-sdk-appsync,aws-sdk-athena,a
ws-sdk-autoscaling,aws-sdk-autoscalingplans,aws-sdk-batch,aws-sdk-budgets,aws-sdk-cloud9,aws-sdk-clouddirectory,aws-sdk-cloudformation,aws-sdk-cloudfront,aws-sdk-cloudhsm,aws-sdk-cloudhsmv2,aws-sdk-cloudsearch,aws-sdk-cloudsearchdomain,aws-sd
k-cloudtrail,aws-sdk-cloudwatch,aws-sdk-cloudwatchevents,aws-sdk-cloudwatchlogs,aws-sdk-codebuild,aws-sdk-codecommit,aws-sdk-codedeploy,aws-sdk-codepipeline,aws-sdk-codestar,aws-sdk-cognitoidentity,aws-sdk-cognitoidentityprovider,aws-sdk-cogn
itosync,aws-sdk-comprehend,aws-sdk-configservice,aws-sdk-connect,aws-sdk-costandusagereportservice,aws-sdk-costexplorer,aws-sdk-databasemigrationservice,aws-sdk-datapipeline,aws-sdk-dax,aws-sdk-devicefarm,aws-sdk-directconnect,aws-sdk-directo
ryservice,aws-sdk-dynamodb,aws-sdk-dynamodbstreams,aws-sdk-ec2,aws-sdk-ecr,aws-sdk-ecs,aws-sdk-efs,aws-sdk-elasticache,aws-sdk-elasticbeanstalk,aws-sdk-elasticloadbalancing,aws-sdk-elasticloadbalancingv2,aws-sdk-elasticsearchservice,aws-sdk-e
lastictranscoder,aws-sdk-emr,aws-sdk-firehose,aws-sdk-fms,aws-sdk-gamelift,aws-sdk-glacier,aws-sdk-glue,aws-sdk-greengrass,aws-sdk-guardduty,aws-sdk-health,aws-sdk-iam,aws-sdk-importexport,aws-sdk-inspector,aws-sdk-iot,aws-sdk-iotdataplane,aw
s-sdk-iotjobsdataplane,aws-sdk-kinesis,aws-sdk-kinesisanalytics,aws-sdk-kinesisvideo,aws-sdk-kinesisvideoarchivedmedia,aws-sdk-kinesisvideomedia,aws-sdk-kms,aws-sdk-lambda,aws-sdk-lambdapreview,aws-sdk-lex,aws-sdk-lexmodelbuildingservice,aws-
sdk-lightsail,aws-sdk-machinelearning,aws-sdk-marketplacecommerceanalytics,aws-sdk-marketplaceentitlementservice,aws-sdk-marketplacemetering,aws-sdk-mediaconvert,aws-sdk-medialive,aws-sdk-mediapackage,aws-sdk-mediastore,aws-sdk-mediastoredata
,aws-sdk-migrationhub,aws-sdk-mobile,aws-sdk-mq,aws-sdk-mturk,aws-sdk-opsworks,aws-sdk-opsworkscm,aws-sdk-organizations,aws-sdk-pinpoint,aws-sdk-polly,aws-sdk-pricing,aws-sdk-rds,aws-sdk-redshift,aws-sdk-rekognition,aws-sdk-resourcegroups,aws
-sdk-resourcegroupstaggingapi,aws-sdk-route53,aws-sdk-route53domains,aws-sdk-s3,aws-sdk-sagemaker,aws-sdk-sagemakerruntime,aws-sdk-secretsmanager,aws-sdk-serverlessapplicationrepository,aws-sdk-servicecatalog,aws-sdk-servicediscovery,aws-sdk-
ses,aws-sdk-shield,aws-sdk-simpledb,aws-sdk-sms,aws-sdk-snowball,aws-sdk-sns,aws-sdk-sqs,aws-sdk-ssm,aws-sdk-states,aws-sdk-storagegateway,aws-sdk-support,aws-sdk-swf,aws-sdk-transcribeservice,aws-sdk-translate,aws-sdk-waf,aws-sdk-wafregional
,aws-sdk-workdocs,aws-sdk-workmail,aws-sdk-workspaces,aws-sdk-xray
502 Bad Gateway
Getting SRV record failed: DNS result has no information for _rubygems._tcp.www.rubygems.org
GET https://www.rubygems.org/prerelease_specs.4.8.gz
200 OK
GET https://www.rubygems.org/specs.4.8.gz
200 OK
GET https://api.rubygems.org/quick/Marshal.4.8/aws-sdk-xray-1.0.0.gemspec.rz
200 OK
GET https://api.rubygems.org/quick/Marshal.4.8/aws-sdk-xray-1.1.0.gemspec.rz
200 OK
GET https://www.rubygems.org/quick/Marshal.4.8/aws-sdk-xray-1.0.0.gemspec.rz
200 OK
GET https://www.rubygems.org/quick/Marshal.4.8/aws-sdk-xray-1.1.0.gemspec.rz
200 OK
GET https://api.rubygems.org/quick/Marshal.4.8/aws-sdk-xray-1.0.0.gemspec.rz
200 OK
GET https://api.rubygems.org/quick/Marshal.4.8/aws-sdk-xray-1.1.0.gemspec.rz
200 OK
GET https://www.rubygems.org/quick/Marshal.4.8/aws-sdk-xray-1.0.0.gemspec.rz
200 OK
GET https://www.rubygems.org/quick/Marshal.4.8/aws-sdk-xray-1.1.0.gemspec.rz
200 OK
GET https://api.rubygems.org/quick/Marshal.4.8/aws-sdk-workspaces-1.0.0.gemspec.rz
200 OK
GET https://api.rubygems.org/quick/Marshal.4.8/aws-sdk-workspaces-1.1.0.gemspec.rz
200 OK
GET https://www.rubygems.org/quick/Marshal.4.8/aws-sdk-workspaces-1.0.0.gemspec.rz
200 OK
...

Successfully installed aws-sdk-workspaces-1.1.0
Downloading gem aws-sdk-xray-1.1.0.gem
GET https://www.rubygems.org/gems/aws-sdk-xray-1.1.0.gem
200 OK
/var/lib/gems/2.3.0/gems/aws-sdk-xray-1.1.0/lib/aws-sdk-xray.rb
/var/lib/gems/2.3.0/gems/aws-sdk-xray-1.1.0/lib/aws-sdk-xray/client.rb
/var/lib/gems/2.3.0/gems/aws-sdk-xray-1.1.0/lib/aws-sdk-xray/client_api.rb
/var/lib/gems/2.3.0/gems/aws-sdk-xray-1.1.0/lib/aws-sdk-xray/customizations.rb
/var/lib/gems/2.3.0/gems/aws-sdk-xray-1.1.0/lib/aws-sdk-xray/errors.rb
/var/lib/gems/2.3.0/gems/aws-sdk-xray-1.1.0/lib/aws-sdk-xray/resource.rb
/var/lib/gems/2.3.0/gems/aws-sdk-xray-1.1.0/lib/aws-sdk-xray/types.rb
Successfully installed aws-sdk-xray-1.1.0
GET https://www.rubygems.org/quick/Marshal.4.8/aws-sdk-resources-3.14.0.gemspec.rz
200 OK
Downloading gem aws-sdk-resources-3.14.0.gem
GET https://www.rubygems.org/gems/aws-sdk-resources-3.14.0.gem
200 OK
/var/lib/gems/2.3.0/gems/aws-sdk-resources-3.14.0/bin/aws-v3.rb
/var/lib/gems/2.3.0/gems/aws-sdk-resources-3.14.0/lib/aws-sdk-resources.rb
/usr/local/bin/aws-v3.rb
Successfully installed aws-sdk-resources-3.14.0
GET https://www.rubygems.org/quick/Marshal.4.8/aws-sdk-3.0.1.gemspec.rz
200 OK
Downloading gem aws-sdk-3.0.1.gem
GET https://www.rubygems.org/gems/aws-sdk-3.0.1.gem
200 OK
/var/lib/gems/2.3.0/gems/aws-sdk-3.0.1/lib/aws-sdk.rb
Successfully installed aws-sdk-3.0.1
142 gems installed

Stacktrace

that looks like buggy rubygems (which will just get fixed in the next release when we bump rubygems) or else a transient issue with the rubygems API

One more point, this was working before and has only stopped working in the last 24 hours

Can I ask if people ever managed to understand this issue? I'm seeing a similar one with the aws-sdk gem though with a different embedded ruby rather than with chef. Crucially, after fetching the dependencies, gem seems to be fetching each gemspec at least twice, and then after going through all the dependencies of aws-sdk-resources in order, it then switches to (apparently) random requests. Notably this seems to be happening even if the gems are already installed. gem list with the embedded does seem to detect these, but somehow gem install is ignoring them.
I'm no expert on gem, I'm afraid.


Automate bin/suspenders in development environment without --path

Some facts:

Suspenders includes itself in the generated application's Gemfile
Suspenders generators run in the context of the generated applications
Generated applications include Suspenders as a development dependency

Given the last item, if we're running Suspenders in development, we'd end up with two copies of it: the development copy and a gem copy. The problem is that:

The development copy will start up Suspenders
Generators, since they run in the context of an application, will be picked up from the gem

Therefore, running bin/suspenders in development may put us in a situation where the development copy has changes that the gem copy does not, which means our code changes would not fully apply.
To prevent such a mismatch, the existing solution is to run Suspenders with --path, which inserts a path option in the Gemfile:
gem "suspenders", path: "..."

To activate this behavior, running bin/suspenders with a --path option is necessary:
bin/suspenders myapp --path=$HOME/suspenders

That is not an intuitive solution and may trip up developers working on suspenders, which won't always remember to use --path. What if we could infer when to use a path option in the Gemfile by detecting if we're running in development? We can certainly do that.

@thiagoa now that #1135 is merged, is this issue still relevant?

Closing since bin/suspenders was removed in #1135


Develop Lemonade-Stand for Sugarizer

This is the issue to discuss the development of Lemonade-Stand for Sugarizer.
I'm not sure how we want to tackle this. We could just try to blindly copy over the code from the repo and hope it works on Sugarizer after converting it to JavaScript. I don't think we would need to port over the Fortune Engine as well, but someone who knows Python better than me could probably definitively say whether we need any functionality from that or not. We could probably get away with taking specific elements from the Fortune Engine that lemonade-stand requires (like GameEngineElement in LemonadeGui.py) and recreating them in a separate JS file, but I'm not sure if that's completely necessary.

I would love to get started on making a baseline HTML/CSS setup, but as I only can see a handful of screenshots from the Sugarlabs release page and the FOSSRIT page about this project, I'm not sure where to start.

I was able to get Lemonade-Stand working in sugar by directly running the activity.
This only seems to work for the downloaded activity. I tried doing the same with
https://github.com/FOSSRIT/lemonade-stand but I get an error about sugar.datastore
not being found.
So to run it in sugar you need to download from the browser activity http://activities.sugarlabs.org/en-US/sugar/addons/versions/4321#version-5
and try running it once. Then you go to the terminal activity, and run cd ~/Activities/Lemonade.activity && python2 LemonadeStand.py.
Keybinds are found here http://wiki.sugarlabs.org/go/Lemonade_Stand under Game Play

I got a skeleton going of the game using createjs. There's a splash screen, the field, and the store. No gameplay but I set up the ui for the field and transitioning between the field and store.
ian/lemonadestand

Looks great! I can start taking a look at game code later today and get to work on that.

Just made a new branch where I converted most of the game's logic into JavaScript. Haven't hooked it into anything yet, but it's mostly all there--there's just one line I couldn't figure out how to convert. Maybe someone a bit better versed in Python can figure it out.
Here's the link to my branch.

The specific line I'm talking about is here, line 233. I have the original Python function listed above that line in the comments.


Reinstate service questions for copying

https://trello.com/c/OZT4aPjn/367-copying-services-some-missing-fields
Pulls in previously excluded service questions, which can now be safely copied: ~https://github.com/alphagov/digitalmarketplace-frameworks/pull/609~ Spotted some further missing fields - see https://github.com/alphagov/digitalmarketplace-frameworks/pull/610

Closing in favour of https://github.com/alphagov/digitalmarketplace-supplier-frontend/pull/1194

Closing in favour of https://github.com/alphagov/digitalmarketplace-supplier-frontend/pull/1194


Need to handle auth_db upgrade to avoid CI test failure

Interesting excerpt from CI test failure
01/13/17 06:23:00 224047 [Thread-1] [ERROR  ] DB upgrade is not supported. Please remove the DB file at /etc/vmware/vmdkops/auth-db. All existing configuration will be removed and need to be recreated after removing the DB file.
01/13/17 06:23:00 224047 [Thread-1] [ERROR  ] Unhandled Exception:
Traceback (most recent call last):
  File "/usr/lib/vmware/vmdkops/bin/vmdk_ops.py", line 1359, in execRequestThread
    opts=opts)
  File "/usr/lib/vmware/vmdkops/bin/vmdk_ops.py", line 710, in executeRequest
    error_info, tenant_uuid, tenant_name = auth.get_tenant(vm_uuid)
  File "/usr/lib/vmware/vmdkops/Python/auth.py", line 123, in get_tenant
    _auth_mgr = get_auth_mgr()
  File "/usr/lib/vmware/vmdkops/Python/auth.py", line 48, in get_auth_mgr
    thread_local._auth_mgr.connect()
  File "/usr/lib/vmware/vmdkops/Python/auth_data.py", line 456, in connect
    raise DbConnectionError(self.db_path)
auth_data.DbConnectionError: DB connection error /etc/vmware/vmdkops/auth-db

Currently test-esx removes removes existing auth_db completely before running any tests hence the issue was not observed so far and volume creation was not complaining.
CI does resetting the testbed and it seems ESX does contain auth-db that causes the above issue.
Proposed solution: need to remove auth-db during deployment. We may enhance the check by looking at the auth-db version before removing it.
/CC @kerneltime

Ideally we should test upgrade case going forward, blindly deleting the DB during each test run seems a bit harsh. For now this should be fine but we need to track a testing issue to track how we test upgrades.

//CC @lipingxue

Proposed solution: need to remove auth-db during deployment. We may enhance the check by looking at the auth-db version before removing it.

Our original plan was as follows:

introduce  schema version in the DB
force DB deletion on test to hide "no versioned" -> "versioned" schema update
For further schema changhes, support version to version in-place upgrade

so, the auth_db deletion was a temporary measure. It should not be needed anymore, we just need to make sure we do not have really stale DBs around - which is one time effort
Actions:

we should drop the DB delete from test set
we should make sure (@liping) that DB is upgradeable -in place

@Liping - are we introducing new schema updates ?
Comments please ?


Move appropriate location rendering functional from example app to the SDK

We need to move as much rendering functional from Subscriber app to the SDK because customers want to have a subscriber app as simple as possible and focus mostly on UI rather than location visualisation
┆Issue is synchronized with this Jira Task by Unito

blocked by #263

Closing because the corresponding PR was landed.


summary() modifier not display in Array

Since I want to get fan page's post like_count,
I use the summary() modifier, but it's not display in the array.
Facebook::object("cnn/posts/")->fields('likes.limit(1).summary(true)')->get()->toArray();

Hey @sephXD! You are correct that the summary cannot be accessed in v4.0 of the SDK. However in v4.1 the summary value has a helper to access it. Unfortunately v4.1 hasn't been released yet, but it's close to release. If you'd like to get a head-start on the next release, the 4.1 documentation is almost up-to-date and LaravelFacebookSdk v2 plays nicely with v4.1 of the SDK. :)


Glossary entry for lifecycle hooks somehow collides with container entry

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
To see the symptoms, visit https://kubernetes.io/docs/reference/glossary/?all=true and mouse over the word “container” when it's used as a glossary reference.
You'll see that the tooltip in fact comes up with the text from the container-lifecycle-hook entry. I replicated this in Firefox and in Brave, to rule out this being a browser-specific behaviour.
Page to Update:
https://kubernetes.io/docs/reference/glossary/?all=true
I looked at container-lifecycle-hooks.md and didn't see anything that looked wrong with it. However, renaming that file to x-container-lifecycle-hooks.md makes the symptoms disappear.

This is an interesting issue. I observed this for other terms as well. For example, Pod getting linked to Pod Priority.
@zacharysarah

I ran into this as well. I believe the issue partially stems from the glob on the term_id in the corresponding shortcode:
https://github.com/kubernetes/website/blob/b1c288926b00198840ddd1a560845c29f04d4ef9/layouts/shortcodes/glossary_tooltip.html#L8
This allows container* to match container-lifecycle-hooks (similarly for pod*). GetMatch returns the first match, but I suspect the order of the glossary items may not put the desired container as the first defined term. It's unclear to me why the glob is specified with a * at all, unless in an attempt to allow pod to match pods (but that's an English-specific thing and wouldn't necessarily help other languages.)
I also note that something causes the inverse problem for pod lifecycle, which links back to pod instead. This may be related to the above.

@sftim, I opened a PR #14227 which is related with this issue.
The PR was merged already. So you can check this issue have been resolved.

This is fixed. Nice!


Merge App check auth integration into master branch

Discussion

Integrate AppCheck and Auth for ios sdk, passing AppCheck token as a URL fragment according to this guide

Testing

Passed all Unit Tests
Passed all integration tests, see the bug bash lists

Please rebase or merge with the master branch


Feature/xcode 9

xcode 9.2 support

Wrong repo, closing.

@blender you should archive this repo, no? or at least disable the issues

@netbe  done


Material and Texture full flow

Added Material between Model and Texture flow (Importer/Resource)
Added Material placeholder between Model.ccp and Mesh.cpp
Normalized extensions because some assets have the extension on UpperCase and others on LowerCase.
On some models the file.data get from assimp was the full path of the texture and not only the name (Expected output). Now it's normalized.
Imported changes from pbrmaterial-materialMap to add Materials. And moved to the correct functions on Resource
Texture now save on binary

#include model.h on the placeholder class mesh.cpp is there because model.h have the placeholder material struct, used on the call NewDraw of mesh.cpp on a parameter.
In my opinion Materials should have all the Maps (NormalMap, SpecularMap, OcclusionMap, etc) We can talk it about but other engines (Blender, Unity, etc) put all that references to textures inside the material.
CamelCase numMaterial solved. With the assimp import of a model (inside ModelImporter) some models have more than 1 material. And I need to save the size of that vector for binary read/write purposes.


Stuck just before training! OSError: Could not load shared object file: libllvmlite.so

run-docker 7 0-5 python second/pytorch/train.py train --config_path=second/configs/car.fhd.config --model_dir=./predicts
Launching container sofisti_GPU7_20-10-16_09-51-53 on GPU 7
Traceback (most recent call last):
File "second/pytorch/train.py", line 14, in
import second.data.kitti_common as kitti
File "/exp/second/data/init.py", line 1, in
from . import kitti_dataset
File "/exp/second/data/kitti_dataset.py", line 8, in
from second.core import box_np_ops
File "/exp/second/core/box_np_ops.py", line 3, in
import numba
File "/opt/conda/envs/py36/lib/python3.6/site-packages/numba/init.py", line 14, in
from numba.core import config
File "/opt/conda/envs/py36/lib/python3.6/site-packages/numba/core/config.py", line 16, in
import llvmlite.binding as ll
File "/opt/conda/envs/py36/lib/python3.6/site-packages/llvmlite/binding/init.py", line 4, in
from .dylib import *
File "/opt/conda/envs/py36/lib/python3.6/site-packages/llvmlite/binding/dylib.py", line 3, in
from llvmlite.binding import ffi
File "/opt/conda/envs/py36/lib/python3.6/site-packages/llvmlite/binding/ffi.py", line 153, in
raise OSError("Could not load shared object file: {}".format(_lib_name))
OSError: Could not load shared object file: libllvmlite.so
I'm tring to setup a docker to run training on a server but i'm encountering a tons of errors.
Someone has solved this?
ps. what i'm supposed to put as model_dir and where i should put the input data directory?
Thanks

The solution is to install an older version of numba, in my case 0.43.1


yolox_nano ncnn inference slower than onnx inference

I trained a yolox_nano model and then convert to ncnn & onnx, when I inference on my laptop, onnx get >20 fps while ncnn just 10 fps

I trained a yolox_nano model and then convert to ncnn & onnx, when I inference on my laptop, onnx get >20 fps while ncnn just 10 fps

I have trained a nano model as well and transferred it to onnx, but the speed is quite slow on my cpu (about 3s / img). It seems impossible, did you use any trick to get 20fps of onnx model? I just follow the README.md step by step...

I trained a yolox_nano model and then convert to ncnn & onnx, when I inference on my laptop, onnx get >20 fps while ncnn just 10 fps

I have trained a nano model as well and transferred it to onnx, but the speed is quite slow on my cpu (about 3s / img). It seems impossible, did you use any trick to get 20fps of onnx model? I just follow the README.md step by step...

My cpu is I7-4600 and i use test size (320,320)


[5.2] Added view composer parameters.

This PR allows additional parameters to be passed to view composer callbacks by way of a new composeWith(...) method in Illuminate/View/View
Controller:
class BlogController extends Controller
{
    public function article()
    {
        return view('blog.article')
            ->composeWith(Input::get('id'));
    }
}

View composer:
class BlogArticleViewComposer
{
    public function compose(View $view, $articleId)
    {
        $view->with('article', BlogArticle::find($articleId));
    }
}

Obviously this is a very simple example but it demonstrates how we can pass information to the view composer without assigning it directly to the view. The cleans up the view data and provides a clearer interface for the composer as we no longer need to check the data using code like this:
if (!isset($view->articleId)) {
    throw new Exception('...');
}

Hope you find this useful!

I'm curious why you wouldn't just set the data directly in the controller?

@taylorotwell For me it's personal preference; when using view composers I prefer to remove any view-related responsibilities from the controller, including assignment of data.
Unfortunately that's unavoidable in some cases, particularly with data that gets injected into controller methods (e.g. route parameters, route bindings, etc). In these cases the data has to be passed to the view outside of the composer, so my suggestion is to 'formalize' this approach. It offers a few benefits:

Superfluous information does not need to be assigned to the view just so a composer can pick it up and process it further.
The composer does not need to assume (or check for) certain data within the view prior to further processing.
It's immediately obvious what data needs injected into the composer requires thanks to the compose(..) method signature.

I should add that the example I included above doesn't do a good job of emphasising my case for this. Imagine if the view composer included a number of extra $view->with() calls, perhaps to set a page title based off the blog post, initialise a 'related posts' menu, etc.

Not a huge fan of this because it seems to be passing the same arguments every view composer, even if the arguments aren't relevant to the given composer.

Ah the composer properties need to be stored under View rather than ViewFactory. Is it worth fixing this up or shall I shelve it?


DRAFT: Add 2D interactor and image readers

Fixes #49

[x] Add 2D interactor
[x] Allow to switch between 2D and 3D interactors with 2 and 3 keys
[x] Set the 2D interactor automatically for 2D data
[x] Disable lighthing for 2D image data
[ ] Set image scalars visibility by default for 2D image data
[ ] Tests

Allow to switch between 2D and 3D interactors with 2 and 3 keys

There is already a hotkey to switch between interactors, why not cycle through available interactors ?

Allow to switch between 2D and 3D interactors with 2 and 3 keys

There is already a hotkey to switch between interactors, why not cycle through available interactors ?

Which key are you thinking about? K ?

Allow to switch between 2D and 3D interactors with 2 and 3 keys

There is already a hotkey to switch between interactors, why not cycle through available interactors ?

Which key are you thinking about? K ?

yes

Allow to switch between 2D and 3D interactors with 2 and 3 keys

There is already a hotkey to switch between interactors, why not cycle through available interactors ?

Which key are you thinking about? K ?

yes

K enables trackball in 3D mode, looks a bit different to me and mixing the 2 concepts looks a bit confusing to me, don't you think?

maybe we should discuss a bit about the right way to integrate this. There a few possibilities imo.

K enables trackball in 3D mode, looks a bit different to me and mixing the 2 concepts looks a bit confusing to me, don't you think?

Thinking about it, I agree


Added support for default translations.

For cases where you want to overwrite the browser language.

I really need this now 😟

+1


Blog Page Does Not Exist

The Blog link in the nav does not appear to link to anything/even a placeholder page like the About page.  On hover the mouse will point as if it is a live link, but nothing happens.
I assume this still needs to be built or set to redirect to whatever blog engine they want to use.

There was a suggestion with #194 that this has been fixed, but I don't see the fix on testing.

If you are logged in as Admin, it goes to the htbox.org/blog page (which is close. @tonysurma will supply the correct URL for all-ready specific blog posts.
The volunteer and public (anonymous) pages go to the allready home page. These should also go to the htbox/blog page that is specific to the allready posts.

@tonysurma It seems the concept of a blog in no longer in the application currently. Is there a wider requirement to include a blog concept or is this an issue that is now redundant?

@tonysurma bump

we should remove this link altogether

@tonysurma I think the link is gone? Maybe just needs someone to check the views though to validate that.

will assume it is gone and it can come back up as an issue if it still is somewhere, thanks.


Allow BUILD_IMAGES to be updated from a setting

Fixes #3254

@agjohnson please take a look at this again. I just renamed the setting to DOCKER_BUILD_IMAGES but also I intruduced a couple of changes related to the styling. This simple PR could be a good example of how things will go on and the first discussion :)


Fixed some bugs + added specs

Hi, I made the following changes:

schema dumping didn't work before
added regexp for checking if a string is a valid array
added specs for the string and array extension, as well as integration specs

Best regards,
Fabian

this PR also fixes issue #2

Hi Fabian
I've merged your pull request and pushed a new gem to rubygems.org.
Thanks for your help.
Tim
On 6 February 2012 21:04, Fabian Schwahn
<EMAIL_ADDRESS>wrote:

Hi, I made the following changes:

schema dumping didn't work before
added regexp for checking if a string is a valid array
added specs for the string and array extension, as well as integration specs

Best regards,
Fabian
You can merge this Pull Request by running:
git pull https://github.com/fschwahn/activerecord-postgres-array master
Or you can view, comment on it, or merge it online at:
https://github.com/tlconnor/activerecord-postgres-array/pull/5
-- Commit Summary --

correct mapping between array type and postgres type; fix dumping bug with string arrays
added regexp for validating postgres arrays and specs for the regexp
added integration specs using combustion, added specs for array methods
explicitly require postgres adapter (fixes combustion issues)
fixed validation regexp not working for empty postgres arrays
fixed another possibility for an invalid case

-- File Changes --
M .gitignore (1)
A .rspec (2)
A Gemfile (3)
A Rakefile (13)
M activerecord-postgres-array.gemspec (7)
M lib/activerecord-postgres-array/activerecord.rb (36)
M lib/activerecord-postgres-array/array.rb (12)
M lib/activerecord-postgres-array/string.rb (23)
A spec/array_ext_spec.rb (26)
A spec/integration_spec.rb (86)
A spec/internal/app/models/article.rb (2)
A spec/internal/config/database.yml (6)
A spec/internal/db/schema.rb (6)
A spec/internal/log/.gitignore (1)
A spec/spec_helper.rb (12)
A spec/string_ext_spec.rb (105)
-- Patch Links --
https://github.com/tlconnor/activerecord-postgres-array/pull/5.patch
 https://github.com/tlconnor/activerecord-postgres-array/pull/5.diff

Reply to this email directly or view it on GitHub:
https://github.com/tlconnor/activerecord-postgres-array/pull/5


[MINOR:TYPO] Update index.md

r/effictive/effective

Thanks, this was done with https://github.com/dreadnode/rigging/pull/11

@monoxgas Is docs/index.md generated from /README.md?

Good call, I've pulled this change in: https://github.com/dreadnode/rigging/releases/tag/v2.0.2


Proposal: Decrease weight of memory function

What is the problem you are seeing? Please describe.
Right now, 45% of your current score is based off of your previous score. This may be too high, and it definitely makes it hard for apps to improve if they got a bad score in the past.
How is this problem misaligned with goals of app mining?
While we would like to have some stability, you should be able to be rewarded well if you provide dramatic improvements to your app.
What is the explicit recommendation you’re looking to propose?
Let's change the memory function to something more like 15% of your previous score, instead of the current 45%.
Describe your long term considerations in proposing this change. Please include the ways you can predict this recommendation could go wrong and possible ways mitigate.
This will provide more 'mobility' in the rankings - it's easier to go up or down in rank from month-to-month.

Yes and I believe this goes back on what apps should be sign up for app mining.  Should an app that is still in development without an MVP join?  If so, then the early scores will significantly impact the later as the app evolves.
Brings up another point of determining eligibility.  If I'm not mistaken, apps that are applied to the google/apple store need to fit some type of criteria before being eligible.  This would safeguard against the app owners themselves from potentially low early scores.
Just going to copy and paste what I wrote in https://github.com/blockstack/app-mining/issues/61

Did I just ruin my overall app mining score by submitting too early? @xanbots // @pstan26
Should the better approach have been WAITING until everything was flushed out? Will I always be fighting my way to the top carrying the burden of my negative early scores?
If I had a choice between 87 cents + lower score vs. not submitting. I think you know the answer.

I am for this proposal because it makes app mining more fun and more clear that you should not rely on a steady income from app mining but also look for other funding.
I am again this proposal because development planning within monthly cycles is difficult.

As discussed with Jeremy, this is good because app mining should be about rewarding (hopefully positive) changes!

I'm 100% for this. This will motivate apps to keep working hard to improve.

Regarding decreasing of Weight of Memory function:  I fully agree that the weight of the memory function needs drastically reduced. Cryptocracy has went down in ranking each month, even though we have continued to march ever closer to our MVP and have steadily added unique features that add utility to the ecosystem. The weight has such an impact that it would seem to inspired app developers to wait until MVP is done, before registering to avoid being punished for being reviewed while under active development.

@hstove final answer? 15% 20% 25%? Think I'm worried about overcorrecting here but defer to you.

25% seems reasonable

I am think 15% would be best, but that is just cuz I prefer less incumbency and more mobility.

I think @jeffdomke makes a good point, feels more reasonable to start with 25% and see what that results in.

I am leaning towards 15%.  It really depends on how many apps are in significant development vs. MVP and currently participating in app ming.

I think 25% would be good to test the waters! Agree 45% seems very high.

20% is a good compromise, I'd say for the next month

Leaning toward changing this to 25% for April. It is something we can continue to discuss, but I plan to close this out at end of week unless there are objections to that plan. 🙏

@GinaAbrams Is it moving forward 25% memory function or is it going to be applied prior as well?

We will only do 25% moving forward, because if we applied it retroactively it would effectively change the rankings for prior months.

But the ranking is not relevant here, just the numbers of the total score count. You can apply the new memory value on the old numbers and get the new total for this month.

You can apply the new memory value on the old numbers and get the new total for this month.

I understand that this is possible on a technical level, but it adds much more complication and room for error. I also understand that app developers don't want to be 'punished' for low scores, but once we switch to 25%, that old score only counts for an extremely low percentage of your new score after just 2-3 months.


yaml.constructor.ConstructorError: could not determine a constructor for the tag

I have a yaml file which has the following lines:
grasp_pose: !!python/object/new:geometry_msgs.msg._Pose.Pose
    state:
      - !!python/object/new:geometry_msgs.msg._Point.Point
        state: [0.445, -0.449, 0.116]

which loads with no problem using yaml:
with open(os.path.expanduser(config_path), 'r') as f:
    self.config = yaml.load(f, Loader=yaml.Loader)

However, using hydra and the @hydra.main(config_path=config_path, strict=True) as described here, I get the following error, where it uses omegaconf to load the yaml file:
    main()
  File "/xxx/lib/python3.6/site-packages/hydra/main.py", line 24, in decorated_main
    strict=strict,
  File "xxx/lib/python3.6/site-packages/hydra/_internal/utils.py", line 174, in run_hydra
    overrides=args.overrides,
  File "xxx/lib/python3.6/site-packages/hydra/_internal/hydra.py", line 79, in run
    config_file=config_file, overrides=overrides, with_log_configuration=True
  File "xxx/lib/python3.6/site-packages/hydra/_internal/hydra.py", line 343, in compose_config
    config_file=config_file, overrides=overrides, strict=strict
  File "xxx/lib/python3.6/site-packages/hydra/_internal/config_loader.py", line 61, in load_configuration
    job_cfg = self._create_cfg(cfg_filename=config_file, record_load=False)
  File "xxx/lib/python3.6/site-packages/hydra/_internal/config_loader.py", line 437, in _create_cfg
    cfg = self._load_config_impl(cfg_filename, record_load=record_load)
  File "xxx/lib/python3.6/site-packages/hydra/_internal/config_loader.py", line 253, in _load_config_impl
    loaded_cfg = OmegaConf.load(fullpath)
  File "xxx/lib/python3.6/site-packages/omegaconf/omegaconf.py", line 61, in load
    return OmegaConf.create(yaml.load(f, Loader=get_yaml_loader()))
  File "xxx/lib/python3.6/site-packages/yaml/__init__.py", line 114, in load
    return loader.get_single_data()
  File "xxx/lib/python3.6/site-packages/yaml/constructor.py", line 43, in get_single_data
    return self.construct_document(node)
  File "xxx/lib/python3.6/site-packages/yaml/constructor.py", line 52, in construct_document
    for dummy in generator:
  File "xxx/lib/python3.6/site-packages/yaml/constructor.py", line 404, in construct_yaml_map
    value = self.construct_mapping(node)
  File "xxx/lib/python3.6/site-packages/yaml/constructor.py", line 210, in construct_mapping
    return super().construct_mapping(node, deep=deep)
  File "xxx/lib/python3.6/site-packages/yaml/constructor.py", line 135, in construct_mapping
    value = self.construct_object(value_node, deep=deep)
  File "xxx/lib/python3.6/site-packages/yaml/constructor.py", line 92, in construct_object
    data = constructor(self, node)
  File "xxx/lib/python3.6/site-packages/yaml/constructor.py", line 420, in construct_undefined
    node.start_mark)
yaml.constructor.ConstructorError: could not determine a constructor for the tag 'tag:yaml.org,2002:python/object/new:geometry_msgs.msg._Pose.Pose'
  in "xxxxxxxxx/config/rl_config.yaml", line 85, column 15

I'm not sure what the problem is however and lack experience in how yaml works.

You asked the same question in Stack Overflow and I answered there.


Reimplement max-warnings as a proper option

Placeholder for now. - WORK IN PROGRESS
Fixes #856.

What do the changes you have made achieve?
Are there any new warning messages?
Have you written tests?
Have you included relevant documentation
Which issues does this resolve?
<DCO 1.1 Signed-off-by: YOUR_FULL_NAME YOUR_EMAIL>

Coverage increased (+0.3%) to 97.527% when pulling d7eae872cd37c924da5e95e40c085af48558fe57 on nottrobin:max-warnings-option into 01eb6961bd758937ffa554ba2bb7c07c3b51c2a2 on sasstools:develop.

Coverage increased (+0.3%) to 97.527% when pulling 71a291765a467fac70dd0ac9085a5948bf11f097 on nottrobin:max-warnings-option into 01eb6961bd758937ffa554ba2bb7c07c3b51c2a2 on sasstools:develop.

Coverage increased (+0.3%) to 97.527% when pulling d57be3b8a14b4fa8395edabbad48410153f81108 on nottrobin:max-warnings-option into 01eb6961bd758937ffa554ba2bb7c07c3b51c2a2 on sasstools:develop.

Coverage increased (+0.3%) to 97.527% when pulling d57be3b8a14b4fa8395edabbad48410153f81108 on nottrobin:max-warnings-option into 01eb6961bd758937ffa554ba2bb7c07c3b51c2a2 on sasstools:develop.

Coverage increased (+0.3%) to 97.527% when pulling ac6a8fe65d72153c2eb991ddc149474f6a7fd54e on nottrobin:max-warnings-option into 01eb6961bd758937ffa554ba2bb7c07c3b51c2a2 on sasstools:develop.

Looking good @nottrobin, can we add a few test cases for when the user specifically sets max-warnings to 0 in their config file. I can see that it will pass but just belts and braces for the future.
As a side note we will need to remember to replace that util.inherits when we drop support for earlier versions of node as they come off of LTS.
Thanks! 👍

Good idea. I'll get those new tests written in the next couple of hours.
On Thu, 1 Sep 2016, 09:34 Dan Purdy<EMAIL_ADDRESS>wrote:

Looking good @nottrobin https://github.com/nottrobin, can we add a few
test cases for when the user specifically sets max-warnings to 0 in their
config file. I can see that it will pass but just belts and braces for the
future.
As a side note we will need to remember to replace that util.inherits
when we drop support for earlier versions of node as they come off of LTS.
Thanks! 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sasstools/sass-lint/pull/857#issuecomment-244012773,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAfu_76dI-5qhOuJiFG_05Ol28Qj4S8hks5qlo4kgaJpZM4Jx4i-
.

No rush, got a few other things to finish and add in 1.10 anyway.

Coverage increased (+0.3%) to 97.527% when pulling 4fd8964e58a346840998c69f66c378eb8176e1c7 on nottrobin:max-warnings-option into 01eb6961bd758937ffa554ba2bb7c07c3b51c2a2 on sasstools:develop.

@DanPurdy I've now added two new tests:

should raise MaxWarningsExceededError if warnings exceed max-warnings of zero
should not raise error if no warnings even if max-warnings is zero

Thanks just the copy n pasted comments to deal with and then this lgtm for me!
👍

Coverage increased (+0.3%) to 97.527% when pulling fbaf73825dfe57bc6827d1d4bd79bba513fd5934 on nottrobin:max-warnings-option into 01eb6961bd758937ffa554ba2bb7c07c3b51c2a2 on sasstools:develop.

Awesome, thanks @nottrobin looking good.

Sorry @nottrobin I seemed to miss a unfortunate outcome from this to do with silencing errors and preventing unhandled exceptions with the --no-exit flag on the cli which lead to this change always throwing an unhandled error if a rule of severity 2 detected an issue.
I've had to sort of half patch the old functionality on top of yours so you should still encounter exit code 1 when max-warnings fails but the error itself won't be thrown if you're specifiying --no-exit or -q.
Let me know if there's any issues here and we can work a solution out.


Regression: Source code editor is resetting

Describe the bug
If you try to edit code in the code editor you get reset all the time. There is no way you can use the editor for code editing.
To Reproduce
Steps to reproduce the behavior:
See Video
Expected behavior
The editor should not auto-refresh from the UI model if you are working on the source code.
Screenshots

This was fixed by changes in code sync.


Scaling?

I like the feel of nact better than comedy but isn't the whole point of actor pattern is to scale (sustainably). How is nact being used right now?

It's not exactly scale, but I'm using Nact for the UI on my home-built RPi synthesizer

Looks great but why the decision to use actor pattern?

isn't the whole point of actor pattern is to scale

Well, for our day to day usage, we actually treat it as an alternative to Object Oriented Programming, to build session/connection oriented applications, and also have added simple layering and scheduling to act as a message driven API server.

Looks great but why the decision to use actor pattern?

Gotta use something. The actor pattern works well - it is real OOP.
It worked really well, because I built another hardware unit, with a different screen and input hardware, and all I needed to do was make a driver layer and everything else stayed exactly the same.

Looks great but why the decision to use actor pattern?

Gotta use something. The actor pattern works well - it is real OOP.

Yup, you are right that it's real OOP. I am also getting around to using it as OOP replacement. But still really wanna wield the magic scaling of actor pattern.
I mean nodejs being single-threaded really needs this.


Add dependabot config

This commit adds a dependabot config to automatically open pull requests
with version bumps for dependencies. This will configure dependabot to
check daily if any pyo3 dependency versions are out of date and if they
are it will open a PR for each dependency. You can find more details on
the dependabot configuration and usage in in the github
documentation. [1]
[1] https://docs.github.com/en/github/administering-a-repository/enabling-and-disabling-version-updates

This was prompted by me preparing a PR to bump the hashbrown version in the Cargo.toml since there was a new release today, but I figured instead of doing it manually we could just have the bot do it (that's how I was notified about the new release: https://github.com/Qiskit/retworkx/pull/133 )

I think keeping the dependencies up-to-date through a bot is nice, but I'm wondering if the MSRV can be configured such that it only proposes to update dependencies that are compatible with currently set minimal supported version.

I think keeping the dependencies up-to-date through a bot is nice, but I'm wondering if the MSRV can be configured such that it only proposes to update dependencies that are compatible with currently set minimal supported version.

I don't think dependabot has enough logic for that yet. It probably wouldn't be a hard feature to implement in the bot, but there is no metadata in the Cargo.toml for the MSRV yet (there is an approved rfc for it, but it hasn't been implemented). So it's not like the bot could easily know which version is the MSRV for pyo3 and for any dependency updates. I think at least for now we'd just have to rely on the MSRV ci job to detect this after the bot opens a PR.

I guess it's worth a try, if it ends up being too spammy it can still be disabled

FYI dependabot is currently already configured through the GUI, though afaik github wants to move everyone to the file-based configuration

My view on this:

yes, let's move to dependabot file, but weekly not daily please!
if dependabot opens a PR which bumps MSRV before we want to do so, we can just close the PR and remember for later. I actually need to make an issue for the package updates waiting for 1.45. :)

but weekly not daily please!

Agreed

Ok, I updated the update interval to be weekly instead of daily in https://github.com/PyO3/pyo3/pull/1148/commits/e0e82e37ec94a61b3d762e75dcc8ce35aab22a49

Thanks!