[WIP] Kubeification 1: Remove Config Files

This super tedious PR removes dependencies on external config yml files and puts environment variables in their place. Everywhere it makes sense I included a default; if there isn't one, it should be fine to be nil. My checking of these changes went as far as making sure a console would load, my environment needs a bit of work to be able to run tests.
The two capital-C Configurable classes, TalkApi and Designator, can stay such because the Configurable module looks for specifically-named env vars already before ||=ing the yml stuff, so that's nice.
This doesn't include separate services for sidekiq, there's got to be a way to not have to repeat all those env vars.
Please jump on this if you have the chance, I'd love to get some help and be able to just knock the rest of this out.
Review checklist

[ ] First, the most important one: is this PR small enough that you can actually review it? Feel free to just reject a branch if the changes are hard to review due to the length of the diff.
[ ] If there are any migrations, will they the previous version of the app work correctly after they've been run (e.g. the don't remove columns still known about by ActiveRecord).
[ ] If anything changed with regards to the public API, are those changes also documented in the apiary.apib file?
[ ] Are all the changes covered by tests? Think about any possible edge cases that might be left untested.

I'm having a hard time telling which of your comments you addressed in your subsequent commits and which are outstanding, so if there's anything further you'd like to see changed in this PR, please add additional commits.
I added a couple stages to the Jenkinsfile to deploy to staging on the master branch and to production on the production-kubenetes tag. I'll see how a staging deploy goes when this PR merges, then create the prod tag and push it manually.


Landing page links

Description
This is a small PR to add some simple question based links about where to go next on to the landing page.
Fixes #501
Type of change

[x] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist

[ ] Make sure you've run the pre-commit checks: $ pre-commit run -a
[ ] All tests pass: $ poetry run pytest

Further checks

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works
[ ] Relevant documentation reviewed and updated

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.91%. Comparing base (19d24a1) to head (1f5922d).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #502   +/-   ##
========================================
  Coverage    94.91%   94.91%
========================================
  Files           70       70
  Lines         3857     3857
========================================
  Hits          3661     3661
  Misses         196      196

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


Refactoring: New Screenwrapper Implementation

I have implemented a more stable and robust screen wrapper, found in commit  48b988d.
I pretty much wrote it quickly to get the ideas out of my head and onto the screen.
It therefore has minimal regards to readability, although it does have some. So far it is 1 large Update method.
It works well :+1:, but readability & flow could be improved. Some duplicated code may exist as well.
So I will be improving on it's current state as time permits, mostly by refactoring it to make it read like prose.
Perhaps @devmelon would also be interested in giving refactoring Screenwrapper.cs a go, while also explaining the thought process and general methods followed in doing so.

A preliminary refactoring: commit 9fe5b93
Screenwrapper.cs

My general attitude towards writing readable code is changing: :+1: :grin:

I used to avoid writing verbose variable/method names.
I kept variable/method usage to an absolute minimum.
I used to prefer clever hacks over clear code.
I kept refactoring iterations to a minimum.

These bad habits may have been a by-product of casually participating in timed coding competitions (TopCoder, HackerRank) and coding challenges (Project Euler, Rosalind Project), where solutions are written hastily or just simply solve one-off problems and don't require maintenance or revisits.


SW-4469 Remove planting season start/end months from API

We are no longer showing the admin-specified planting season start and end months
in the web app, so remove them from the API.

Current dependencies on/for this PR:

main

PR #1489   👈

This stack of pull requests is managed by Graphite.


Information on where is the code for channel creation and chaincode

Hello, where is the code for creating a new channel or deploying a new chaincode?

Create new channel:

First you need to build a channel config (JSON), the consoles starts by using this template file

Next send the JSON through a configtxlator to get a protobuf

Next sign the proposal:

signConfigUpdate() - https://github.com/hyperledger-labs/fabric-operations-console/blob/main/packages/stitch/src/libs/crypto_misc.ts#L187

To create a new channel you need to submit a config update to the ordering service

submitConfigUpdate() -https://github.com/hyperledger-labs/fabric-operations-console/blob/main/packages/stitch/src/stitch.ts#L1509

Last you wait for the tx to take. you can monitor block height, or look for your transaction id in a cut block.

Chaincode
Depends on if you want lifecycle 2.0 or the older stuff.

lifecycle 1 functions are here - https://github.com/hyperledger-labs/fabric-operations-console/tree/main/packages/stitch/docs#c---fabric-lscc-methods-fabric-v1x

steps are: install -> instantiate

life cycle 2 functions are here - https://github.com/hyperledger-labs/fabric-operations-console/tree/main/packages/stitch/docs#d---fabric-_lifecycle-methods-fabric-v2x

steps are: install -> approve  -> (repeat approve as needed) -> commit

Thank you for your support. I will study your proposals. One more question can I skip the browser UI and make all these operations by calling the appropriate functions from an other utility (like a proxy)?

@nkaramolegos np! so the UI does not offer APIs to create/edit channels or chaincode. But Fabric itself has grpc APIs to do these things directly (this is how the UI works). There are also "fat" SDKs that can help you do fabric operations. Here is the node.js fabric sdk docs and here's the node sdk repo.

Hello, maybe my question was not very clear. I would like to use fabric-console without the UI (no access from the browser). I just want to replace the browser with an other utility that can use the functionality of the fabric console to setup the network.
I believe somehow there is an API that the browser uses in order to interact with the console.

going to put your request in another issue and close this one! https://github.com/hyperledger-labs/fabric-operations-console/issues/80

@nkaramolegos afraid not, in short I don't think this repo offers what you are after. I'll add a list of APIs that the console offers and highlight fabric operations it cannot do via apis (in the readme, I'm sure it will be a common question).
As is, the console does not offer APIs that would duplicate Fabric apis. meaning it does not offer APIs to create/update channels/chaincode. For those things you would use a Fabric SDK.
Technically the console does offer APIs to create/update peers, cas, and orderers. However you need to use the IBM Support offering. The code in this repo expects to talk to a Kubernetes operator to actually build and edit components. This operator is not available. So the APIs in this repo that create/update peers, cas, and orderers are effectively broken.
tldr: The code base in this repo is really about providing a visual way to monitor/inspect running Fabric components. It has missing pieces if you want to build/edit the Fabric components.


Can we get the old (v6) typia.llm.schema under the name of typia.json.schema?

I was using that function to generate singular schemas but it has been deprecated with v7. Is there any chance you can bring it back as typia.json.schema or a different name?

typia.json.schema<T, "3.0">() is the thing what you want.

Are you sure? I'm getting this error on 7.0.2:
Property 'schema' does not exist on type 'typeof import(".../node_modules/typia/lib/json")'. Did you mean 'schemas'?
I don't see a schema function in typia/lib/json file.

There had not been typia.json.schema() function.
I think you are misunderstanding typia.llm.schema() function.

I think I was misunderstood. What I'm trying to say is:
typia.llm.schema() in 7.0.2 is in this type:
function schema<
  T,
  Model extends ILlmSchema.Model,
  Config extends Partial<ILlmSchema.ModelConfig[Model]> = {},
>(
  ...$defs: Extract<
    ILlmSchema.ModelSchema[Model],
    { $ref: string }
  > extends never
    ? []
    : [Record<string, ILlmSchema.ModelSchema[Model]>]
): ILlmSchema.ModelSchema[Model];

while 6.12.2, it was in this type:
function schema<T>(): ILlmSchema;

So in the end, old schema function is changed and can't be used in old way. We just can't use the expression below as before with the new typia.llm.schema() function.
const userSchema = schema<User>();

What I'm asking is, can you please make a new typia.json.schema() function that acts like old, 6.12.2 version typia.llm.schema()?

You can still use the typia.llm.schema<T, "3.0">() function as I've mentioned.
What do you specially want from the typia.json.schema() function? typia.json.schemas<Types>() function cannot satify you?

Ok I tried typia.llm.schema<T, "3.0">() and it works as before. You are right.
I tried it with 3.1 when I first upgraded and thought I needed to provide array of $defs. I guess it's not needed for 3.0.
Thanks for the information and attention 🙏


doesn't update comment as expected

basically post-new-comment: false doesn't work. I think it is because of my case (again).
https://github.com/maxisam/dotnet-test-reporter/blob/13ca76c96a6cd31e751b7b58477cdd58b1118dbf/src/utils/comments.ts#L62
If I use a token that is not a default token, it won't be a bot

Can you please provide more details? A screenshot of a comment/comments you get from the action could help. Also would be helpful to see your GitHub yaml file.

I added a "bot check" back when I made the tool to avoid the case when someone posts a comment with a header that could be recognized as a test-reporter comment since the comment header can be customized by a user

basically it is a token from an account, so it isn't identified as a bot
so this line won't be true, and it can't find the comment to update.
const isBotUserType = comment.user?.type === 'Bot'
I don't know what is the best way to solve this, might be need to query the name of the token first and check it

I think something like this might work
const username = await octokit.rest.users.getAuthenticated();
const isBotUserType = comment.user.login ===  username.data.login ;

i am going to test this

Well, it doesn't work with the default token. await octokit.rest.users.getAuthenticated(); requires token with user scope permission

@maxisam Sorry for taking so long to respond! I reviewed and merged your PR. I created a new release v1.3.2, I would appreciate if you could try it out and confirm if the issue is fixed

It is fixed. I have been using the same code already. Thanks for quick response. I don't think I respond to my own OSS project as fast as you do. lol


Windows 11 drag & drop

Description of the new feature / enhancement
In Windows 10 drag & drop works on 11 it's not working with third-party applications from GitHub I don't want to install it. Will be good to realize this functionality for windows 11 here.
Scenario when this would be used?
Exp. I want to share a file via messenger
Supporting information
No response

Missing key information: WHERE exactly is drag&drop not working? Can't triage this issue without that.
If you mean OS-things like the task bar: Microsoft is working on it. But, it takes time... (sigh)

In windows 11 its not possible to drag image to opened application in taskbar

As mentioned: Microsoft is working on it. https://www.windowslatest.com/2022/02/17/windows-11s-taskbar-drag-and-drop-feature-is-finally-rolling-out-to-testers/


Data tables

switch to bower for data tables

Fixes listener leaks in the fixed column plugin.
DataTables/FixedColumns@c0f03d8
DataTables/FixedColumns@f8669d4
DataTables/FixedColumns@a98d107
Fixes #1905

Ideally will be fixed by
https://github.com/DataTables/FixedColumns/issues/46

working through trying to isolate the failure on CI


modified agent binary download logic

I have enhanced agent starting performance.

deleting pid before starting the agent
downloading the agent binary from the controller only when it doesn't exist.

It supports "docker start" and "docker stop" scheme.

Merged. It's reflected to ngrinder/agent:3.3-p1 and ngrinder/multi-agent:3.3-1 in docker hub.


Content-Type

I just feel it has to be somewhere in the library. If you're OK with this PR, please guide me on how you want the copyright notice to look like in new files.

:+1:

Good thinking. My only question is the naming/location? eg, should it be MEDIA_TYPE? From the spec:

JSON API requires use of the JSON API media type (application/vnd.api+json) for exchanging data.

and http://www.iana.org/assignments/media-types/application/vnd.api+json
Furthermore, do we need another class for this or would it make sense to put it in the Document class, eg,
$json = json_encode($document->toArray());

return new Response($json, 200, ['content-type' => $document::MEDIA_TYPE);


Transcribe apps audio

Goal
Transcribe system audio / microfone (single or both) and preview it in realtime
Research
Possible to follow approaches in
https://github.com/CapSoftware/Cap
Useful Rust Crate
https://github.com/helmerapp/scap
Perhaps on:
macOS: https://github.com/svtlabs/screencapturekit-rs (screen capture kit)
Graphics.capture on Windows (https://github.com/NiiightmareXD/windows-capture)
macOS app which provides a way to capture system audio using ScreenCaptureKit API
https://github.com/Mnpn/Azayaka
Microsoft answer for how audacity manage to record audio from speakers (TLDR: Windows WASAPI)
https://answers.microsoft.com/en-us/windows/forum/all/how-record-speaker-output-windows-10/251bb695-5170-4a35-a90f-42d9f6f3345a
MacOS sample
https://gist.github.com/thewh1teagle/d02415b9768fd816a780f9af6a3f2bdb

Some platforms provide virtual channels for monitoring (PulseAudio and PipeWire on Linux, WASAPI on Windows, Core Audio on macOS), though not all, and cpal does not expose them
(not sure on Core Audio actually, they might have disabled it or removed it for security reasons)

Loopback added to cpal
https://github.com/RustAudio/cpal/pull/478 (working in windows)
Additional questions:
How to get system audio + microfone at the same time into single stream
Linux?
TLDR
Rust crate cpal provides a way to get audio stream from microfone(s)
On Windows it also provides audio stream from default output device (system audio)
On macOS we should use screencapturekit-rs and provide stream which is equivalent to cpal stream.
If two streams used, then mix them by adding both (simple addition to the sample(s) numbers works)
Push them to whisper in loop
Mixing can introduce synchronization issues (is it's two different sound cards etc) and RtAudio handle that better and possible to use through rtaudio-rs
whisper.cpp expects single channel (mono) 16khz rate and size of 16 bit
Probably need resampling, and converting to mono from stereo is by mean of both.
Simple approach
Record from speakers/mic concurrently and write to file every 5-10 at the best silent position
Write to queue of paths (each item will be one or two paths)
Another task which iterate the queue, merge if needed, and transcribe it.
https://github.com/ggerganov/whisper.cpp/tree/master/examples/stream#sliding-window-mode-with-vad

Hey, I sent the message on the rust audio discord. I'm very to new to digital audio processing and rust, but happy to help wherever I can.
I've come to a very similar solutions on my research and even got a test app working using screencapture kit + whisper cpp.
To convert the audio for whisper, i use only the left channel and only took every 3rd frame from the buffer, but obviously thats a hack and it needs to be done properly.
Also found this example for handling streaming in the whisper cpp repo:
https://github.com/ggerganov/whisper.cpp/blob/master/examples/stream/stream.cpp
And another repo we could check is obs, they handle it well. I took a look but wasn't able to understand it (I'm a C noob).
Lets work on this together, really love the Idea of vibe!

@quinn-eschenbach
Sounds great!
Currently, the challenges I'm facing are:

Mixing two audio streams together (speaker + mic).
Getting an audio stream from ScreenCaptureKit and doing the same as in 1 with it.
I'm trying to solve 1 first; not sure how to do that with cpal.

I don't have knowledge of the subject but been following whisper related colabs and believe the following link might help
https://github.com/Sourasky-DHLAB/Whisper
Especially  notebook 4.
https://github.com/Sourasky-DHLAB/Whisper/blob/main/Colab/Whisper_Speaker_Diarization.ipynb

I've made some progress; it will be added soon.
As starting point it will be possible by simply record mic / speakers / both. when finished it's just like transcribe any audio file in Vibe.
https://github.com/thewh1teagle/vibe/tree/feat/record
https://github.com/zmwangx/rust-ffmpeg/discussions/73 (For merging audio files after recording)
https://github.com/RustAudio/cpal/issues/876 (Probably will be added soon for macOS)

Added in 2.0.2


Unable to send buffers from node worker to runtime process

sending a nodejs buffer from node worker process results in an http error. I haven't investigated why this is happening.
const fs = require('fs');
const path = require('path');

module.exports = function (context) {
    fs.readFile(
        path.resolve(__dirname, 'randomFile.pdf'),
        function (err, fileBuffer) {
            if (err) {
                throw err;
            }
            context.res = {
                status: 200,
                headers: {
                    'Content-Type': 'application/pdf',
                    // 'Content-Disposition': 'attachment', // Has no effect in Chrome or Safari; Firefox emits a corrupt file.
                },
                isRaw: true,
                body: fileBuffer,
            };
            context.done();
        }
    );
};

@fabiocav already has a fix coming for this. I'll validate.
This is caused by this line: https://github.com/Azure/azure-webjobs-sdk-script/blob/09007463799ae340d4a816c9d1b2737265c21435/src/WebJobs.Script/Binding/Http/RawScriptResult.cs#L83


Password reset

Currently I do not see any feature for a user to reset his/her password.
Is this indeed missing, or am I not looking in the right place?

In the account menu on top right

I meant a password reset in the sense that a user forgot his password, and
cannot login anymore.
Usually one would then have some link "forgot password?" that allows one to
reset the password via a link sent to the users email account.


Fix class qualification

Build Fix.
I wonder why this builds under windows at all if you use the class qualifier for a method within the class declaration.
Usually, you would use this only if you make a call to a static class method or if you explicitly call an overwritten class method but want the base class implementation. Otherwise, the compiler should complain. Whatever... now it build also under linux

Ahhhh sorry about that! I will try to avoid doing this in the future


Is there any way to specify a required format for phone #'s

Since it randomly selects a phone number, we can't really use the phoneNumber method as it returns formats we don't accept.

You could just skip using the phoneNumber() method and go straight for the numerify() method instead. Just specify your allowed formats in your own array and call numerify() like faker does itself in PhoneNumber.php.
This way you have full control over the values Faker returns.

@ulrikjohansson Perfect! I'll do that.


Can I play DASH segments with custom boxes inserted?

I've been modifying DASH segments to add custom atoms/boxes to add some information to each segment.
I've used Bento4 tool to insert the custom atoms. When it's a DASH segment, it extracts every atom (when you insert custom atoms to a normal video, it does work properly), so I do the following:

Extract one by one, all atoms from my DASH segment (styp, sidx, moof, mdat) using mp4extract. Here's how I extract one, and then repeat for the other 3:
/path/to/Bento4/mp4extract styp /path/to/video/files/folder/video0-0-1.mp4 /path/to/atoms/files/folder/styp.atom

Generate new atom with js:
var buffer = new Buffer.from(atomComposition, 'hex'); fs.writeFileSync('/path/to/atom/psha.atom', buffer, 'binary');
where atomComposition is an hexadecimal string value which I want to insert

Atom composition is: 4 bytes for size (including even size and type info) + 4 bytes for type + N bytes payload
In my case payload is 32 bytes, so the first 4 bytes (size) have the value: 4+4+32=40 bytes, in hex, which is: 00 00 00 28.
The 4 following bytes (type) are a four letter identifier converted to hexadecimal (there's plenty of tools online to convert from string to hexadecimal) and you have to make sure you don't use existing atom names. In my case I chose 'sha', which in 4 byte hexadecimal format is: 00 73 68 61. 00='nothing', 73=s, 68=h, 61=a.
Then, the following bytes is the payload, in my case, a shasum 256 value, 32 bytes of hexadecimal values.

Insert again ALL atoms to the file:
/path/to/Bento4/mp4edit
/path/to/video/files/folder/video0-0-1.mp4
--insert :/path/to/atoms/files/folder/styp.atom
--insert :/path/to/atoms/files/folder/sidx.atom
--insert :/path/to/atoms/files/folder/moof.atom
--insert :/path/to/atoms/files/folder/mdat.atom
--insert :/path/to/atoms/files/folder/sha.atom
/path/to/video/files/folder/video0-0-1.mp4

Then I try to play segments in my local web server using Shaka Player, and it doesn't work. It shows a white background, and Chrome inspector shows 3014 and 3016 errors when playing video, and 3015 error when clicking on the duration bar, which are related to Media Source Extension.
I've also tried to insert sha information with ffmpeg, but it completely converts output file, so It doesn't work for me. I have another opened question regarding this (same, different forums):

https://video.stackexchange.com/questions/30516/how-to-add-metadata-tags-without-altering-video-structure-format-ffmpeg
https://stackoverflow.com/questions/62270923/add-custom-metadata-tag-to-video-file-without-altering-anything-else

I hope you can help me! Thank you in advance.

It is mostly the browser which is concerned with the structure of the MP4, not the player.  My guess based on the error codes you mentioned is that either the content is malformed or something you added is not supported by the browser.  I'm not sure which.
Here are some suggestions:

Try parsing the modified segment in Thumbcoil: http://thumb.co.il/  It will parse the file locally in your browser in JavaScript and show you the structure.  If it's malformed, you will probably see it.  I'm not sure how Thumbcoil handles errors, but I guess it will either report an error or it will stop rendering at the point where the first malformed box appears.  Look for errors or missing boxes.

Try playing the MP4 directly in the browser without using Shaka Player.  If it doesn't play, you can be certain it's not an issue with Shaka Player.

Try chrome:media-internals for media-specific logs.  You'll have to find the button associated with your media element to get the logs.  It may indicate why it failed or rejected the content.

Does this help?

I've tried all:

Thumbcoil finds all necessary atoms plus my custom one/ones. So there's no corruption in the file. There's only an extra atom. If I modify a normal .mp4 (not dash, not fragmented) and I add a custom atom, it is still playable and understandable by a normal player (VLC Player e.g.).

How can I play dash segments without shaka?

How does chrome:media-internals work? I've been searching and It seems to be a Chromium tool. (https://www.chromium.org/audio-video/media-internals) I'm using Chrome to play my video, do I have to add a line of code in my html?

Thank you for your support!

Re: thumbcoil, it's good that your content is not malformed.  But VLC works very differently from a browser.
DASH segments, if concatenated together in order with the init segment first, should still be playable just by putting the MP4 URL into the URL bar of the browser.
Re: media-internal, just put chrome:media-internals into the URL bar of a new tab.  It works in both Chromium and Chrome.  Nothing needs to be added to your HTML or JavaScript.  It's a diagnostic tool that you can use to get additional logs from inside Chrome's media pipeline and hopefully find out why your content won't play.

Yes! I've tried to

concat every segment with init-segment -> insert a custom atom to each modified segment -> concat them all into 1 file -> play that file with Chrome. It works!

extract every atom from segment_N -> insert all previously extracted atoms + custom one intro segment_N -> do it for N segments -> concat init-segment to all N segments into 1 file -> play with Chrome -> It works!

I've tried removing sidx atom and the final file still works. But those altered segments by themselves are unrecongnizable by Shaka/Chrome...
And after typing chrome:media-internals I can't see any information about my player. It displays information recorded from other players I've used before.

But in every combination, those altered segments by themselves, are unrecongnizable by Shaka/Chrome...

I think I maybe see the problem.  It sounds like you're trying to play an individual DASH segment without an MPD and without an init segment.  Is that correct?  That will never work, and it was never meant to work.
A fragmented MP4 is composed of an init segment and media segments.  The init segment contains the information needed to initialize the decoder, and the media segments contain a small, independent part of the encoded video.  For example, media segment 0 could have time 0-2, segment 1 could have time 2-4, etc.  But those media segments can't be played on their own.  The init segment is necessary to set up the decoder.
A DASH MPD describes all the different streams, their init segments, and their media segments.  Shaka Player will fetch the init segment for a stream, then append the media segment for the current time, then the next one, and the next one, etc.
To play a single MP4 file, as opposed to a DASH MPD, that MP4 file must start with the init segment, then the first media segment, then the second, etc.  This has nothing to do with Shaka Player or your custom atoms.  You just can't play an individual media segment by URL.
Does this help?

Maybe I misunderstood you in the previous answer.
I'm playing an .mpd file which refers to one init-segment and several media-segments.
I understand the basic structure of an .mpd XML file, so I know basically how it works.
My problem is:
A dash segment has four boxes/atoms in the mp4 container (some of them have more boxes/atoms inside of them, as you can see in 'moof' atom):
styp
sidx
moof
mfhd
traf
tfhd
tfdt
trun
mdat
What I'm trying to do is to add a custom box called 'psha' (my main aim is to add an identifier to each mp4 segment), for example, between 'sidx' and 'moof' and the strcuture would be as follows:
styp
sidx
psha
moof
mfhd
traf
tfhd
tfdt
trun
mdat
I don't know if you can understand me. I can send you my modified files if you want to check the structure with http://thumb.co.il/ or https://download.tsi.telecom-paristech.fr/gpac/mp4box.js/filereader.html
I hope I have explained myself this time. Sorry for the inconveniences.
Thanks!

No worries.  It's easy for us to misunderstand each other, but I think it's clear now.
I can tell you for certain that Shaka Player will not reject any well-formed MP4.  We parse the sidx box when the MPD tells us to, at the byte range indicated in the MPD.  We aren't parsing any other part of the MP4, only feeding it to the browser.
So that only leaves the browser.  I would suggest you take this issue to a Chrome bug at crbug.com, and they would be able to help you further.
Sorry we couldn't do more for you!

So, if I have understood you, Shaka ignores extra/custom atoms/boxes, right?
I thought it could be a set of bytes inside some atom/box that tells the player what to read and parse, and maybe Shaka crashed trying to read that extra atom/box. I mean, my segments are generated using ffmpeg and I modify them using Bento4's mp4edit tool afterwards.
Could shaka be parsing my extra atom/box instead of styp, sidx,moof or mdat? Or it is definetly a Chrome bug?
Sorry for all these questions, I'm a newbie and still don't fully understand ISO 14496 standard. (Mostly because I haven't found any free document).

I won't say it's a Chrome bug, but at least your issue is Chrome behavior.  They will be able to explain the behavior, whether or not it's intended, and suggest next steps.
Shaka Player does not, in general, need to parse the MP4 at all to play content.  So we not only ignore "extra/custom" boxes, but almost all boxes.
There are some cases where we have to parse sidx, but only when the MPD uses <SegmentBase> and effectively tells us to.  In other cases, the index info we need is right in the XML, and the only piece of software parsing the MP4 is the browser.

I attach some details, and highlight error codes, in case you can shed some light on this:
3014 and 3016 appear without clicking play icon, just when the web page loads
3015 appears when you click the play icon, after the other two

Also, structure is like this:

Thank you again for all your support!

3014/3015/3016 are all forwarded errors from the browser.  In this case, you can see ...Append: stream parsing failed..., which is from the browser.  So as we've said, the browser is rejecting your content.
Also note that I think custom top-level boxes aren't allowed inside the media segment by MSE.  If you look at the MP4 byte-stream format, it says only certain top-level boxes are allowed.  You could try moving the box to the start or end of the file so it isn't part of the media segment.  Also, the styp box specifies which brand/specs the file conforms to; so if you say it only conforms to the base MP4 spec, you can't add extra boxes since those aren't in the spec.

I tried moving it to the start and to the end, but none worked. I've tried to understand styp better but still dont know how to insert an accepted custom box. What I've discovered looking into the specification is that boxes 'free' and 'skip' may be filled with custom information. Is not what I would have wanted, but still not bad, could use them two.
My aim would be to add as many as necessary and them be skipped by players. But I think is more a ISO 14496 thing than Shaka Player.
Thank you very much for clarifying this to me!


sdk list is broken for PAGER containing arguments

The error is like this:
% sdk list
__sdkman_page:2: command not found: less -R -M --shift 5 -F -X

From the man 1 man page:
MANPAGER, PAGER
...
    The  value  may  be a simple command name or a command with arguments.

You need to do eval $PAGER in __sdkman_page.

This currently works in all our test environments (Cygwin, OSX, Ubuntu, Centos), so I would need to know a lot more detail than what was given above. Please provide your OS, your shell and other contextual details that might shed light on your issue.

The issue is environment independent.  You need to export PAGER="less -R -M --shift 5 -F -X" to reproduce it.

That's not standard shell behaviour though, which means that this is not a valid issue. We depend on the pager environment variable being set to a sensible value. Could you try setting to less and tell us if it works?

Fair enough, I've had a closer look at your PR and see your point. Will merge shortly.


Remove repeated content about RS2/3/4

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: Studio384 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Hi @Studio384 Thanks for noticing so quickly! I fixed the topic just before I saw your pull request.
Best,
Dawn


Issues/#1613 2

This looks fine, but in hindsight I'm a bit confused about the storage.volume/storage_volume thing. Since the storage attribute was already whitelisted in ETEngine, is that change actually needed? If so, do you know why?

I see that storage is already whitelisted. But it's volume specifically isn't. When I remove the storage_volume whitelisting the following happens:

Maybe if I replaced storage_volume with just storage in the technology importable attributes and let the StorageVolumeAttribute figure out how to fetch the volume from the storage hash? Maybe that will make more sense.
One sec.

Just gonna merge this PR for now.

I don't feel that ETMoses should be the one to know that one attribute returns a Hash and the other a Float

FWIW I disagree with this. I don't think ETEngine's public API should change to accommodate a (mostly) dead app like ETMoses. It returns an object/hash for storage because other users of the API might be interested in the other storage keys (decay and cost_per_mwh). Revoking the whitelisting of storage would break those clients.


test: add tests for export model feature

Companion PRs:

https://github.com/SubstraFoundation/substra/pull/261
https://github.com/SubstraFoundation/substra-chaincode/pull/141
https://github.com/SubstraFoundation/substra-backend/pull/395

This PR adds new tests for the "export model" feature, and covers the main use-cases:

proxied/unproxied model export (see substra-backend PR for details)
model export from model key
model export from tuple key

e2e tests: :heavy_check_mark:
run-ci.py --substra download-model --substra-chaincode download-model --substra-tests download-model --substra-backend download-model

Note that unit tests don't/can't pass because the substra branch used by the GitHub Action is master instead of download-models.

Local e2e tests don't work  !

@Kelvin-M could you please specify which test doesn't work / what error you are seeing?

@AurelienGasser  you can see them in the github action : https://github.com/SubstraFoundation/substra-tests/pull/182/checks?check_run_id=2230731891#step:5:142

@Kelvin-M Please see my comment above: tests don't pass because the version of the substra SDK is fixed to master in the GH Action. AFAIK there's no way to tell GHA to use another substra version.


Add Tag parameter please

Most organizations require Tagging resources at the policy level.  Can someone please add that option in during deployment?  Current workaround is to manually exempt the resource group, then tag the resources and re-add it.

@teds21 - Thanks for reaching us. Could you help me to provide additional information regarding tag parameter? Are you looking for one generic tag parameter and add the tag value to all the resources including RG?

@balas77 - That's correct. One generic tag parameter defined as an object that can be utilized for all the tags/values the organization requires.  That would be applied to the resource group and all child resources underneath it.

@teds21 Hi can you reach out to us via this email address<EMAIL_ADDRESS>I would like to have a more in depth conversation with you about the tags feature you are requesting. Also are you internal to microsoft or an external customer?

@ted21 - Total agree on the tagging issue.  We hit exactly the same issue deploying.

@parojasmsft - When we create a resource group, our policies require 5 tags be attached.  Your deployment scripts don't work because those tags aren't on the resource group that the deployment scripts create.  To deploy, I had to have someone suspend the policy, deploy the app, and then remediate the resource group and apply the missing tags to the resources deployed.

We're planning to add a default tags (SolutionName : StartStopV2) to RG and all the underlying resources.

It is now added in deployment package.


filaments: add RatRig filaments

I haven't added empty spool weight yet, will update as soon I finish a spool or as someone on discord can hook me up with the weight :)

I'll mark this as in draft then until you add the spool weight

@miklschmidt came through big time with a weight measurement straight at the factory! thank you!


feat: adding tests for network graph util functions

Description
This PR adds a few tests for flow util functions for the Network Graph. I'll some more in later PRs
Checklist

[ ] Investigated and inspected CI test results
~[ ] Unit test and regression tests added~
~[ ] Evaluated and added CHANGELOG entry if required~
~[ ] Determined and documented upgrade steps~
~[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

Testing Performed
Run npm test in the /apps/platform directory to run tests

/retest-required


Markers disappears if the value is same as yaxis.max

Description
If a data point is the same value as the max value of the Y-Axis when a custom max is set it won't render the marker that is expected there. You can hack fix this by setting y-axis: max: (max) => max + 0.01.
Steps to Reproduce

Set y-axis: max: (max) => max

Expected Behavior
Show the marker even if it's the same value as the y-axis max value.
Actual Behavior
Not showing the marker if it reaches y-axis max value.
Screenshots

Reproduction Link
https://codepen.io/oliverromhagen/pen/bGOrqQy

The bug is not only on the "monotoneCubic" curve but for any kind of line chart

It seems fixed now in your latest version 3.44.0
Nice work @junedchhipa!

Version 3.44.0 seemed to  have fixed issue shown in the codepen, Gj @junedchhipa!


Major drought maps

Changes

In the pipeline, tweak the sizing for the drought period maps and main inset map so that they are identical
Use v-for to dynamically add the map images for each of the major droughts, using the id field in scrollToDates to source the images and build the alt text
Place the dynamically added images and original map image within a new div with id "inset-image-container" and set the sticky positioning on that div, instead of the individual images
Retain position: sticky for the default drought map, so that it scrolls up with the grid at the end of the timeline
Set position: absolute; on the image class used for all drought-specific map images, so that they stack on top of the default map
Add the class hide with display: none; to hide the drought-specific maps
Use the scrollTo rectangles to trigger the show class for the map image that corresponds each drought when in that drought period

Note: currently the image just stacks on top of the original map, which means the shadow effect is doubled. I could change this by hiding the original image, but I actually kind of like it as a subtle way of highlighting that the map has changed

Unrelated, but I also fixed the bug w/ the 2nd legend annotation on mobile by combining it with the first

Image example

To test
Pull changes to local clone and run npm run serve

I added a comment about where scroll triggers are being placed for the "in drought" and "not in drought" parts of the timeline. I think that can be tabled until we're doing mobile testing, since we'll need to make sure triggers are working consistently across devices/OSs anyway.

Yes, we will definitely need to adjust those triggers - I added an issue (#27)

I do think that the points are a bit hard to see when they're "red" right now, not sure if we want to bring that to design studio or something. I think they're passable as-is for now, but something we may want to revisit.

Agreed -- might be worth demoing in design studio


Update localizations per July 8th

New translation, de-de thanks to DasIschBims and kujou_kju!

Great! Thanks!


feat: Allow configuring environment for AppMap services

Fixes #646
Followups:

documentation,
restart services on config change,
use credential storage for OpenAI key.

:tada: This PR is included in version 0.63.0 :tada:
The release is available on:

v0.63.0
GitHub release

Your semantic-release bot :package::rocket:


F_logs seems to be unmaintained and other packages can't get installed

Public comparison of frameworks: https://fluttergems.dev/debugging-logging/
F_logs is troublesome, because it didn't get updated in oner a year (15 months), including recently to intl 0.18, which became a roadblock in integrating #114 .
After researching it, I recommend switching to logger, as it's definitely the most maintained and used logging solution for Flutter.
sample code:
Because get_10101 depends on f_logs ^2.0.1 which depends on intl ^0.17.0, intl
  ^0.17.0 is required.
So, because get_10101 depends on intl ^0.18.0, version solving failed.

I've plastered over the problem by using a dev_override in #1113 .
we might not need to address it for a while, so closing it.

@bonomat was there a reason to reopen this issue?

@bonomat was there a reason to reopen this issue right now?

Mhmm... I think it was a mistake.

I imagine we can close this with the merging of #1477


[Feature Request] Re-order items in configuration

Hi,
It seems that once items are created you can only delete them and re-create them, but not reorder them, it would be great if they could be organized after the fact.
thanks

I plan to add it, but for now you can do it by manually editing config_view.dat file stored in configuration folder (%APPDATA%\Home Assistant Taskbar Menu\Home Assistant Taskbar Menu), it contains a JSON describing app's configuration.


unable to submit results of ref-youtube-vos to the server?

Hi, I cannot submit inference results of ref-youtube-vos to the server:
https://competitions.codalab.org/competitions/29139#participate-submit_results
Is this server out of service? And does this mean that the result of this dataset cannot be evaluated? Thank you!
Here is my login interface and I can't find the submit button.

I met the following problems in the evaluation server and the results are nan.
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
/opt/conda/lib/python2.7/site-packages/numpy/core/_methods.py:59: RuntimeWarning: Mean of empty slice.
warnings.warn("Mean of empty slice.", RuntimeWarning)
/opt/conda/lib/python2.7/site-packages/numpy/core/_methods.py:70: RuntimeWarning: invalid value encountered in double_scalars
ret = ret.dtype.type(ret / rcount)

Hi, I am facing the same issue (results are nan). please let me know if you figured out the solution.
Thanks


Secret of Mana [PCSE01153]

Game summary

Game name: Secret of Mana
Game serial: PCSE01153
Game version: 01.00

Vita3K summary

Version: v0.1
Build number: 1316
Commit hash: https://github.com/vita3k/vita3k/commit/d5378b8

Test environment summary

Tested by: IllusionMan1212
OS: Windows 10 Pro
CPU: AMD Ryzen 5 1600
GPU: NVIDIA GTX 1050Ti
RAM: 8 GB

Issues
Softlocks after sceFios calls
Screenshots
None at the moment
Log
vita3k.log

Vita3K v0.1.5 2601-f803e615
goes ingame
missing graphics during the intro
during gameplay the ground is yellow
vita3k.log

can fix force close after 15-30minutes of gameplay 🥺

Just launched the game and played it for 15 minutes without any issues. Intro is fine, menus are fine and gameplay seems to be fine. Looks good and gives me a steady 50-60 FPS @ 4x resolution with all settings tweaked for maximum performance.

App summary

App name: Secret of Mana
App serial: PCSE01153
App version: 1.00
#Test environment summary

OS: Windows 10
CPU: AMD Ryzen 5 5500u
GPU: AMD vega 7
RAM: 34 GB
Vita3K summary

Version: v0.2.0
Build number: 3666
Commit hash: https://github.com/vita3k/vita3k/commit/52b82dd3
CPU backend: Dynarmic
GPU backend: Vulkan
#Issues
normal play
#Screenshots

#Log
vita3k.log
#Recommended labels
playable


Dockerfile not installing properly

I tried to install and run jax from the given dockerfile but when I docker run the image in interactive mode it gives following output and exits :
if [ ! -d "/dist" ]
then
  echo "/dist must be mounted to produce output"
  exit 1
fi
+ '[' '!' -d /dist ']'
+ echo '/dist must be mounted to produce output'
/dist must be mounted to produce output
+ exit 1

Any ideas as to how to solve it ?

This dockerfile isn't intended for this use case. It's used as part of our wheel build process. (See build/build_jaxlib_wheels.sh for details on how it is used.) This is therefore as intended. We could add another dockerfile for running JAX, but that isn't the Dockerfile you are looking at.

This dockerfile isn't intended for this use case. It's used as part of our wheel build process. (See build/build_jaxlib_wheels.sh for details on how it is used.) This is therefore as intended. We could add another dockerfile for running JAX, but that isn't the Dockerfile you are looking at.

For those Googling for a dockerfile to run jax, I've found that tensorflow-gpu images work. See this discussion


Upgrade to BaseX 8.4.3 and BaseX XQJ driver 1.6.0

Hi there,
In the spirit of  #120, I propose to upgrade the XQJ driver for BaseX to the latest version. To be really honest, I don't have a good reason to justify the upgrade, other than bugfixes that have flown into BaseX since the last upgrade, but I've done the work and tested the resulting plugin against the latest IDEA, so I thought I could just as well submit a pull request.
On a related note, I have found out during my testing, that, very unfortunately, BaseX XQJ driver still doesn't support XQuery 3.0, so this upgrade isn't solving the issues I was hoping to get at. It seems that at this point, the only way to use XQuery 3.0 features is to go for BaseX vendor API:
https://mailman.uni-konstanz.de/pipermail/basex-talk/2016-April/010468.html
I have worked around the problem by opting to create Run configurations via the BashSupport plugin, completely bypassing your run mechanisms, but that's suboptimal to say the least.
Do you think you could implement the vendor API, if yes, shall I open an issue for it? Unfortunately, I can't offer a pull request for this feature myself due to the time constraints.
Many thanks!

Sorry, I have forgotten to add the new files in the first commit.

Hi,
Thanks for contributing these changes. Can you please add yourself to CONTRIBUTORS file as part of the pull request (following the existing format of the file)?
I'm considering adding native clients for all of the implementations over time as XQJ is quite slow with regards to upgrading to newer standard versions (3.0, 3.1, etc).
I can't promise any timelines though.
Thanks,
Grzegorz

Can you please add yourself to CONTRIBUTORS file as part of the pull request
(following the existing format of the file)?

Done!

I'm considering adding native clients for all of the implementations over time as XQJ
is quite slow with regards to upgrading to newer standard versions (3.0, 3.1, etc).

Great, I've filed #192 to track this. In the mean time, I'll go the BashSupport route...
Thanks!


Feature/documentation

This is a work-in-progress update of the documentation, covering detail on how the interface works from a high level.

There we go, did a rebase.

Coverage remained the same at 39.635% when pulling d1fba4a4fd2e61eb6ca861ce8ae405591d8fd80d on vrtsystems:feature/documentation into 31bd7322ae8ba86ebbc1b53e5955f072568418d6 on ChristianTremblay:develop.

Coverage remained the same at 39.635% when pulling d1fba4a4fd2e61eb6ca861ce8ae405591d8fd80d on vrtsystems:feature/documentation into 31bd7322ae8ba86ebbc1b53e5955f072568418d6 on ChristianTremblay:develop.

Many thanks… If I've got more I'll let you know. :-)


Assigning incorrect colors for a stylized layer

d3 renderer seems to be applying incorrect colors to certain polygons. I have a side by side view below. You can see the polygons colored for 1 in QGIS are being assigned the color for 2 in the generated map. Thanks so much

Which branch is the code from? 0.10 or the Master branch?
Is it a categorised or graduated symbol layer?
Lastly (honest) can you past the output from the Qgis Log Messages  panel
for the plugin. Should help me figure out what it's doing wrong.
Thanks
On 26 Jan 2017 21:14, "smitty1788"<EMAIL_ADDRESS>wrote:
d3 renderer seems to be applying incorrect colors to certain polygons. I
have a side by side view below. You can see the polygons colored for 1 in
QGIS are being assigned the color for 2 in the generated map. Thanks so much
[image: d3.png] https://postimg.org/image/db0o2my9l/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sbenten/d3MapRenderer/issues/35, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGmRUdOtjVIzqS3Ip33ALPHd7W53oGl6ks5rWQyzgaJpZM4LvJZ0
.

Failed to replicate it with the Open Data off the Washington DC portal...however, I can see that it hasn't added the correct CSS class to any of the "! homicides" class in your example.
I've run both categorized and graduated symbologies to no avail.  Attached are the log messages for each as an example for you to post back.
2017-01-27T10:06:06	0	model EXPORT start ==================================================
2017-01-27T10:06:06	0	model        Title = [2016 Homicides]
2017-01-27T10:06:06	0	model        Header = [False]
2017-01-27T10:06:06	0	model        Width = [800]
2017-01-27T10:06:06	0	model        Height = [600]
2017-01-27T10:06:06	0	model        Main layer = [2016Homicides]
2017-01-27T10:06:06	0	model        IDField = [GEOID]
2017-01-27T10:06:06	0	model        Projection = [Albers]
2017-01-27T10:06:06	0	model        Simplify = []
2017-01-27T10:06:06	0	model        Output = [D:\Downloads\Temp]
2017-01-27T10:06:06	0	model        Zoom/Pan = [False]
2017-01-27T10:06:06	0	model        Legend = [True]
2017-01-27T10:06:06	0	model        LegendPos = [Top Left]
2017-01-27T10:06:06	0	model        IncExtras = [False]
2017-01-27T10:06:06	0	model        Extras = [2016Homicides]
2017-01-27T10:06:06	0	model        IncPopup = [True]
2017-01-27T10:06:06	0	model        PopupPos = [Bubble]
2017-01-27T10:06:06	0	model        Popup = [
NUMPOINTS{NUMPOINTS}
]
2017-01-27T10:06:06	0	model        IncViz = [False]
2017-01-27T10:06:06	0	model        Chart = [Line Chart]
2017-01-27T10:06:06	0	model        VizWidth = [240]
2017-01-27T10:06:06	0	model        DataRanges = []
2017-01-27T10:06:06	0	model        Labels = []
2017-01-27T10:06:06	0	model EXPORT copying folders and files
2017-01-27T10:06:06	0	model EXPORT 2016Homicides
2017-01-27T10:06:07	0	qgisWrapper Adding field: d3Css
2017-01-27T10:06:07	0	model CATEGORIZED: idx NUMPOINTS
			0::0::FILL SYMBOL (1 layers) color 255,255,178,255:1
			1::1::FILL SYMBOL (1 layers) color 255,215,109,255:1
			2::2::FILL SYMBOL (1 layers) color 254,166,73,255:1
			3::3::FILL SYMBOL (1 layers) color 248,108,48,255:1
			4::4::FILL SYMBOL (1 layers) color 230,47,33,255:1
			::::FILL SYMBOL (1 layers) color 189,0,38,255:1
2017-01-27T10:06:07	0	model setCategorizedSymbol
2017-01-27T10:06:07	0	model Filter: "NUMPOINTS" = 0
2017-01-27T10:06:07	0	model Filter: "NUMPOINTS" = 1
2017-01-27T10:06:07	0	model Filter: "NUMPOINTS" = 2
2017-01-27T10:06:07	0	model Filter: "NUMPOINTS" = 3
2017-01-27T10:06:07	0	model Filter: "NUMPOINTS" = 4
2017-01-27T10:06:07	0	model Filter: "NUMPOINTS" =
2017-01-27T10:06:07	0	model EXPORT popup data
2017-01-27T10:06:07	0	model EXPORT complete ========================================================
2017-01-27T10:09:17	0	model EXPORT start ==================================================
2017-01-27T10:09:17	0	model        Title = [2016 Homicides Graduated Colors]
2017-01-27T10:09:17	0	model        Header = [False]
2017-01-27T10:09:17	0	model        Width = [800]
2017-01-27T10:09:17	0	model        Height = [800]
2017-01-27T10:09:17	0	model        Main layer = [2016Homicides]
2017-01-27T10:09:17	0	model        IDField = [GEOID]
2017-01-27T10:09:17	0	model        Projection = [Albers]
2017-01-27T10:09:17	0	model        Simplify = []
2017-01-27T10:09:17	0	model        Output = [D:\Downloads\Temp]
2017-01-27T10:09:17	0	model        Zoom/Pan = [False]
2017-01-27T10:09:17	0	model        Legend = [False]
2017-01-27T10:09:17	0	model        LegendPos = [Top Left]
2017-01-27T10:09:17	0	model        IncExtras = [False]
2017-01-27T10:09:17	0	model        Extras = [2016Homicides]
2017-01-27T10:09:17	0	model        IncPopup = [True]
2017-01-27T10:09:17	0	model        PopupPos = [Bubble]
2017-01-27T10:09:17	0	model        Popup = [
NUMPOINTS{NUMPOINTS}
]
2017-01-27T10:09:17	0	model        IncViz = [False]
2017-01-27T10:09:17	0	model        Chart = [Line Chart]
2017-01-27T10:09:17	0	model        VizWidth = [240]
2017-01-27T10:09:17	0	model        DataRanges = []
2017-01-27T10:09:17	0	model        Labels = []
2017-01-27T10:09:17	0	model EXPORT copying folders and files
2017-01-27T10:09:17	0	model EXPORT 2016Homicides
2017-01-27T10:09:17	0	qgisWrapper Adding field: d3Css
2017-01-27T10:09:17	0	model GRADUATED: attr NUMPOINTS
			0 - 0.8:: 0.0000 - 0.8000 ::FILL SYMBOL (1 layers) color 254,240,217,255
			0.8 - 1.6:: 0.8000 - 1.6000 ::FILL SYMBOL (1 layers) color 253,204,138,255
			1.6 - 2.4:: 1.6000 - 2.4000 ::FILL SYMBOL (1 layers) color 252,141,89,255
			2.4 - 3.2:: 2.4000 - 3.2000 ::FILL SYMBOL (1 layers) color 227,74,51,255
			3.2 - 4:: 3.2000 - 4.0000 ::FILL SYMBOL (1 layers) color 179,0,0,255
2017-01-27T10:09:17	0	model setGraduatedSymbol
2017-01-27T10:09:17	0	model Filter: "NUMPOINTS" >= 0.0 and "NUMPOINTS" <= 0.8
2017-01-27T10:09:17	0	model Filter: "NUMPOINTS" >= 0.8 and "NUMPOINTS" <= 1.6
2017-01-27T10:09:17	0	model Filter: "NUMPOINTS" >= 1.6 and "NUMPOINTS" <= 2.4
2017-01-27T10:09:17	0	model Filter: "NUMPOINTS" >= 2.4 and "NUMPOINTS" <= 3.2
2017-01-27T10:09:17	0	model Filter: "NUMPOINTS" >= 3.2 and "NUMPOINTS" <= 4.0
2017-01-27T10:09:17	0	model EXPORT popup data
2017-01-27T10:09:17	0	model EXPORT complete =========================================================

Simon,
Sorry for the delay. I'm not at my work computer at the moment. I was using the 0.10 branch. The symbology was graduated. I will reply with the log as soon as I sit down at the computer when I get into work.

No worries. If you could also add a screenshot of the symbols it would be of help. I suspect the values in the symbology are not correctly interpreted in the plugin, and the values in the data are on the cusp.
For example, the plugin uses "NUMPOINTS" >= 0.8 and "NUMPOINTS" <= 1.6 to filter the data and assign the style class to all those records. It might be better for the plugin to use "NUMPOINTS" >= 0.8 and "NUMPOINTS" < 1.6 and on the last graduation just "NUMPOINTS" >= 3.2
Thanks

I think what you just listed might be the exact problem, which I can probably fix myself by just changing the ranges slightly. Here is everything though. Below is the log. I'm also linking the shapefile and style file I used for this.
http://pc.cd/otQotalK
On another note, I just want to say this plugin is amazing for production flow. I use it for producing probably 4-5 maps per week. Putting together the D3 code by hand is obviously doable, but production would really slow down. This is speeding up everything! Please continue to develop this as its so great! More style options are always welcome too =p
2017-01-27T08:12:59	0	osHelper Windows
2017-01-27T08:13:48	0	model 2.18.3
2017-01-27T08:13:48	0	model 2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]
2017-01-27T08:13:48	0	osHelper Windows
2017-01-27T08:13:48	0	osHelper Windows
2017-01-27T08:13:48	0	osHelper Windows
2017-01-27T08:13:48	0	winHelper Query registry for HKEY_CURRENT_USER\Software\node.js\InstallPath
2017-01-27T08:13:48	2	winHelper No more data is available: Software\node.js
2017-01-27T08:13:48	0	osHelper Windows
2017-01-27T08:13:48	0	osHelper Windows
2017-01-27T08:13:48	0	osHelper Windows
2017-01-27T08:13:48	0	winHelper Query registry for HKEY_CURRENT_USER\Software\node.js\InstallPath
2017-01-27T08:13:48	2	winHelper No more data is available: Software\node.js
2017-01-27T08:14:17	0	model EXPORT start ==================================================
2017-01-27T08:14:17	0	model        Title = [Homicide in 2015]
2017-01-27T08:14:17	0	model        Header = [True]
2017-01-27T08:14:17	0	model        Width = [800]
2017-01-27T08:14:17	0	model        Height = [600]
2017-01-27T08:14:17	0	model        Main layer = [Homicide_CT]
2017-01-27T08:14:17	0	model        IDField = [OBJECTID]
2017-01-27T08:14:17	0	model        Projection = [Miller]
2017-01-27T08:14:17	0	model        Simplify = []
2017-01-27T08:14:17	0	model        Output = [G:\DC Policy Center\Crime Incidents\Maps\Homicide]
2017-01-27T08:14:17	0	model        Zoom/Pan = [True]
2017-01-27T08:14:17	0	model        Legend = [True]
2017-01-27T08:14:17	0	model        LegendPos = [Bottom Left]
2017-01-27T08:14:17	0	model        IncExtras = [False]
2017-01-27T08:14:17	0	model        Extras = [Homicide_CT]
2017-01-27T08:14:17	0	model        IncPopup = [True]
2017-01-27T08:14:17	0	model        PopupPos = [Bubble]
2017-01-27T08:14:17	0	model        Popup = [
Homicide_3{Homicide_3}
]
2017-01-27T08:14:17	0	model        IncViz = [False]
2017-01-27T08:14:17	0	model        Chart = [Line Chart]
2017-01-27T08:14:17	0	model        VizWidth = [240]
2017-01-27T08:14:17	0	model        DataRanges = []
2017-01-27T08:14:17	0	model        Labels = []
2017-01-27T08:14:17	0	model EXPORT copying folders and files
2017-01-27T08:14:18	0	model EXPORT Homicide_CT
2017-01-27T08:14:18	0	qgisWrapper Adding field: d3Css
2017-01-27T08:14:18	0	model GRADUATED: attr Homicide_3
			0 - 0::No Homicides::FILL SYMBOL (1 layers) color 166,166,166,255
			0.1 - 1::1::FILL SYMBOL (1 layers) color 254,240,217,255
			1 - 2::2::FILL SYMBOL (1 layers) color 253,216,164,255
			2 - 3::3::FILL SYMBOL (1 layers) color 252,183,121,255
			3 - 4::4::FILL SYMBOL (1 layers) color 252,141,89,255
			4 - 5::5::FILL SYMBOL (1 layers) color 235,96,63,255
			5 - 6::6::FILL SYMBOL (1 layers) color 211,49,33,255
			6 - 7::7::FILL SYMBOL (1 layers) color 179,0,0,255
2017-01-27T08:14:18	0	model setGraduatedSymbol
2017-01-27T08:14:18	0	model Filter: "Homicide_3" >= 0.0 and "Homicide_3" <= 0.0
2017-01-27T08:14:19	0	model Filter: "Homicide_3" >= 0.1 and "Homicide_3" <= 1.0
2017-01-27T08:14:19	0	model Filter: "Homicide_3" >= 1.0 and "Homicide_3" <= 2.0
2017-01-27T08:14:19	0	model Filter: "Homicide_3" >= 2.0 and "Homicide_3" <= 3.0
2017-01-27T08:14:19	0	model Filter: "Homicide_3" >= 3.0 and "Homicide_3" <= 4.0
2017-01-27T08:14:19	0	model Filter: "Homicide_3" >= 4.0 and "Homicide_3" <= 5.0
2017-01-27T08:14:19	0	model Filter: "Homicide_3" >= 5.0 and "Homicide_3" <= 6.0
2017-01-27T08:14:19	0	model Filter: "Homicide_3" >= 6.0 and "Homicide_3" <= 7.0
2017-01-27T08:14:19	0	model EXPORT popup data
2017-01-27T08:14:20	0	model EXPORT complete =========================================================

Actually the Qgis source code has it working the other way:
QString filterFunc = QString( "%1 > %2 AND %1 <= %3" )
.arg( attrName.replace( """, """" ) )
.arg( mLowerValue ).arg( mUpperValue );
I've altered the plugin to work this way with the condition of ">=" for the lowest range of values.
Works now with your example shp (thanks for that). Just checking I haven't regressed anything...
Yeah, some more styles would be good, please raise an issue for anything not listed.
Currently I'm refactoring the master branch to get some end to end unit tests in place before the Qgis 3 upgrade. Then it'll be back to more styles ;)

Fixing on Master as part of code refactoring


beta fcc (Basic CSS: Use CSS Selectors to Style Elements)

Challenge use-css-selectors-to-style-elements has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.
it keeps telling me that "your h2 element should be blue" , but as you look in the screenshot it is color blue :)

CatPhotoApp

Click here to view more cat photos.

Things cats love:

cat nip

laser pointers

lasagna

Top 3 things cats hate:

flea treatment

thunder

other cats

  <form action="/submit-cat-photo">
    <input type="radio" name="indoor-outdoor" checked> Indoor
    <input type="radio" name="indoor-outdoor"> Outdoor

    <input type="checkbox" name="personality" checked> Loving
    <input type="checkbox" name="personality"> Lazy
    <input type="checkbox" name="personality"> Energetic

    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>
  </form>

It works for me on Vivaldi:

but he also showed this one of it not working on Firefox:

Hi! Thank you for reporting this issue.
This is a known issue with CSS tests in Firefox and is being discussed in #10749
I'm closing this as a duplicate. Happy coding!

HI. I just had this issue and the solution was to remove my uBlock Origin extension from the browser. Hope this helps anyone else.

HI. I just had this issue and the solution was to remove my uBlock Origin extension from the browser. Hope this helps anyone else.


feat: #2563 - edit product page - added top barcode display and leading/trailing icons

Impacted files:

edit_product_page.dart: added barcode display; added leading icon and trailing arrow to items
pubspec.lock: wtf
pubspec.yaml: added package barcode_widget
simple_input_page_helpers.dart: added leading icon

What

New UI for edit product page.
Barcode display on top.
Leading icon for each item (default: "edit").
Same trailing icon for all items (forward arrow).
The leading icons are currently not the target ones; to be fine-tuned later according to #2563.

Screenshot

Part of

#2563

Codecov Report

Merging #2567 (581422a) into develop (2ea0da3) will decrease coverage by 1.30%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           develop   #2567      +/-   ##
==========================================
- Coverage     8.86%   7.56%   -1.31%
==========================================
  Files          161     210      +49
  Lines         6623   10091    +3468
==========================================
+ Hits           587     763     +176
- Misses        6036    9328    +3292

Impacted Files
Coverage Δ

...kages/smooth_app/lib/widgets/attribute_button.dart
0.00% <0.00%> (-92.00%)
:arrow_down:

...s/smooth_app/lib/data_models/user_preferences.dart
8.73% <0.00%> (-23.57%)
:arrow_down:

packages/smooth_app/lib/themes/smooth_theme.dart
60.00% <0.00%> (-22.98%)
:arrow_down:

...p/lib/generic_lib/dialogs/smooth_alert_dialog.dart
15.29% <0.00%> (-18.92%)
:arrow_down:

...mooth_app/lib/data_models/product_preferences.dart
24.65% <0.00%> (-6.78%)
:arrow_down:

packages/smooth_app/lib/main.dart
14.16% <0.00%> (-3.73%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/welcome_page.dart
0.00% <0.00%> (-3.13%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/scan_example.dart
0.00% <0.00%> (-2.28%)
:arrow_down:

...p/lib/pages/onboarding/consent_analytics_page.dart
0.00% <0.00%> (-1.57%)
:arrow_down:

...smooth_app/lib/pages/product/new_product_page.dart
0.00% <0.00%> (-0.88%)
:arrow_down:

... and 219 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e4ea159...581422a. Read the comment docs.

Just PR'ed:

recycling

https://fonts.google.com/icons?selected=Material+Icons&icon.set=Material+Symbols

Just PR'ed "recycling" icon for packaging item.

thanks @monsieurtanuki

Thank you @M123-dev @teolemon!
Does it look 100% like the mock? No it doesn't, but we're better off with this PR merged.
Now anybody can start from there if a perfect match with the mock is needed - I would say that there are other issues with higher priorities to solve before.


Q: why static_image_mode=True

The original code has static_image_mode=True for video, why?
    with mp_holistic.Holistic(
            static_image_mode=True, enable_segmentation=True, refine_face_landmarks=True) as holistic:

According to https://google.github.io/mediapipe/solutions/holistic.html#static_image_mode, this should be set to False for video processing.

changed to False and it works well.


Properties that start with an underscore get prefixed inside classes.

Property names inside classes get prefixed with the class name, even though they are not properties of that class.
input:
class Bad {
	doOddBehaviour(obj) {
    	console.log(obj._prefixed + 1)
    }
}

var myBad = new Bad()
myBad.doOddBehaviour({_prefixed: 5})

var myOk = {_prefixed: 5}
console.log(myOk._prefixed)

output (with --harmony option):
function Bad(){"use strict";}
	Object.defineProperty(Bad.prototype,"doOddBehaviour",{writable:true,configurable:true,value:function(obj) {"use strict";
    	console.log(obj.$Bad_prefixed + 1) //notice that accessing the property of this object will fail (the output will be 'undefined')
    }});

var myBad = new Bad()
myBad.doOddBehaviour({_prefixed: 5})

var myOk = {_prefixed: 5}
console.log(myOk._prefixed)

When executed, the console output will be:
undefined
5

Expected:
6
5

$ jsx -V
0.13.3

Wrong repository. Closing ticket.


[Qualcomm feedback]: Chapter 8.1.1: TVM execution paragraph

Reference: link

Following the assignment of memory and VCPU resources, the host can transition the guest into a
TVM_RUNNABLE state by calling sbi_covh_finalize_tvm(). The host must set up TVM Boot vCPU
execution parameters like the entrypoint (ENTRY_PC) and boot argument (ENTRY_ARG) using
arguments to sbi_covh_finalize_tvm(). Note that some TEE calls are no longer permissible after this
transition.

host calls? The TEE cannot even run before the TVM has been finalized

correct - should be COVH- will fix.
cc @ozkoyuncu

addressed by PR #67


Restocking does not work for meads

The restock functionality does not work for meads.
It works for other items such as food, ammo and wood -given that I have the latter enabled.
However, restocking does not fill up any of my meads* including major healing mead, lingering stamina mead, nor the fire resistance barley wine.
I have experimented with various configuration settings to try to get it to work.
Is this intended behavior?
*items from the fermenter
P.S. Appreciate the great mod!

this should and does work on past and the current version, but it's managed by quite a few variables. mead counts as a consumable, so it is affected by RestockOnlyAmmoAndConsumables and RestockStackSizeLimitConsumables. in the default config template it should be allowed to restock them. in my config template (goldens choice), I instead use RestockOnlyFavoritedItems, so my potions have to be favorited to get restocked. please go through the restock settings again to see what is wrong.
and if you are using a mod that adds "custom data" to the potions, like them spoiling or having quality or something, then my mod cannot stack them (because that would destroy the custom data of the other mod)


maint: upstream-dev: install sparse

sparse is removed as conda package but not re-installed (https://github.com/pydata/xarray/blob/9802411b35291a6149d850e8e573cde71a93bfbf/ci/install-upstream-wheels.sh)
I assume this is not intentional, @andersy005?

that was intentional, it's just that while copying the code this comment was forgotten: https://github.com/pydata/xarray/blob/9802411b35291a6149d850e8e573cde71a93bfbf/ci/azure/install.yml#L13-L14
It's good that you bring that up, though, maybe something changed since then?

thanks! I added the comment.

Ok, as it still does not work I'll merge this, so the comment is there.


Change default similarity

Change minimum similarity for cache hit to 0.99

Codecov Report
Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 0.71%. Comparing base (f0702da) to head (6d5a060).

Files
Patch %
Lines

src/CacheLayer.jl
0.00%
1 Missing :warning:

Additional details and impacted files
@@          Coverage Diff          @@
##            main     #18   +/-   ##
=====================================
  Coverage   0.71%   0.71%
=====================================
  Files         15      15
  Lines        417     417
=====================================
  Hits           3       3
  Misses       414     414

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


bump required ruby

Pull Request Checklist
Is this in reference to an existing issue?
General

[X] Update Changelog following the conventions laid out on Keep A Changelog

[X] Update README with any necessary configuration snippets

[X] Binstubs are created if needed

[X] RuboCop passes

[X] Existing tests pass

New Plugins

[ ] Tests

[ ] Add the plugin to the README

[ ] Does it have a complete header as outlined here

Purpose
bump required ruby for ease of future development
Known Compatibility Issues

@mattyjones you planning on picking this back up anytime soon?


Cleanup code for game to_str

Cleaning up the code for generating the to_str representation of Game objects. Started Game objects are now cleaned up in a periodic task.

Codecov Report

Merging #32 into master will decrease coverage by 0.43%.
The diff coverage is 91.42%.

@@            Coverage Diff             @@
##           master      #32      +/-   ##
==========================================
- Coverage   96.52%   96.09%   -0.44%
==========================================
  Files           5        7       +2
  Lines         547      589      +42
  Branches       89       93       +4
==========================================
+ Hits          528      566      +38
- Misses         15       19       +4
  Partials        4        4

Impacted Files
Coverage Δ

src/spellbot/__init__.py
94.55% <81.81%> (-0.62%)
:arrow_down:

src/spellbot/data.py
97.63% <93.93%> (-0.93%)
:arrow_down:

src/spellbot/constants.py
100.00% <100.00%> (ø)

...sions/versions/2b40fe59a18a_add_game_url_column.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 058a4ad...bfdfbed. Read the comment docs.


Build updates

Use balena-io-examples org for blocks. Also, workaround build error for armv7hf arch.

I self-certify!


check for well-formedness

This isn't an issue but a feature request. Since xml-stream depends on expat, is it possible to execute xmlwf on a stream?
Thanks.

I realized you could do xml.on('error', callback) but still ..

+1

+1


Show player names in Bond Monitor

Please add an option to show the player / npc names in each line of the bond monitor (maybe make it configurable so people can enable/disable it themselves) - during a run it would be a lot faster to see which player / npc has which bonds if you got a name next to the bonds line - especially when people use summon stones or allies appear in the party window you always have to move bond monitor next to the player names to keep an overview over which player has which bonds. (if Toolbox cant read out the names afterwards just read out the target name when casting the bond)
In the damage monitor the same option would be helpful but its most important in bonds monitor.

Bond monitor is meant to be placed next to your party window and match it's height. The party window itself shows the name. Adding names seem useless duplication of information to me. Again I don't understand the issue with moving, but let's discuss that in #90

the most elegant solution to all the damage / bonds monitor moving issues would probably be a custom party window showing damage and bonds in extra columns next to the names (merging party window, damage monitor and bonds monitor into one new "party window" that replaces the default party window during the run)- so whatever you do and wherever you place the new party window the columns are always automatically in the right place without manual moving, position settings / position adjust on fullscreen etc (but the effort is probably too high for this - although it would be a nice feature :) ).
Only adding the names in each monitor is probably really just redundant information once there is a convenient solution to keep the bars / bonds next to the players in the party window like in #90

I agree, but I have no plans to implement a party window. Closing this.


nemoguardrails generator has a lot of tqdm output

i'm getting a sunburn, seriously

let's suppress these

addressed in 11e9939ee96c2e081e1eeb6f35fa29c1eabe548c L34


Look up the pr-creator binary the right way

What this PR does / why we need it:
The pr-creator binary is on one of the usual PATH locations.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
NONE

/cc @danielBelenky

/approve

/override pull-kubevirt-e2e-kind-k8s-1.17.0-ipv6


Release 1.0

@Geethika14 Do you need some help over here? Let me know. Thanks.

@relrod mind closing this?


add basic fix to stop errors in multiserver parsing

Problem : fresh installs or re-indexes currently explode, because address[1] is undefined. This brings the whole app to a halt and the interface is completely un-useable because the indexing never finishes.
I don't know if this is a good solutions but it's an interim solution which lets my interface load.
I'm going to publish this immediately because the current HEAD is so breaking.

published as v2.13.6
@dominictarr can you loop back and check if there's any better way you want this logic adjusted?
Either implement it and publish, OR tell me what to do clearly.

well, this could be a reasonably solution, but I'd need to know what inputs it is failing on.
I suggest removing this fix, and adding logging to see what caused it, then turn that a test case.
just merging the fix means we don't know what the problem really was, and those two lines don't have test coverage, so someone might remove them while refactoring because the tests still pass.

I did put logging in. The code here assumes an array of arrays where each has 2 entries.
For some inputs, multiserver-address inner arrays which had only one entry, so going address[1].name explodes.
I needed a fix immediately and didn't want to role back to where-ever. I already burnt a bunch of time with ssb-ref this week which has been a bit frustrating (this happens, I'm just being up front about what else is influencing)
Agree this needs a better fix
Which module is dropping the ball. multiserver-address, or ssb-ref?
The failing test can be found by deleting your backlinks index, taking out my code and watching it try to re-index

@mixmix you said:

Either implement it and publish, OR tell me what to do clearly.

then I said, we need a test case.
then you said, I don't want to do that?
Well, I can't make you do that, but given that lots of things, maintained by too-busy people such as your self, depend on things like ssb-ref, so we need tests. We'd never have the level of stability that we do have without tests. As a policy, we can't go making changes to back end stuff without test coverage.


Add require_ssl property to secure local agent

This PR adds a property to the consul_agent_windows job to require SSL when communicating over localhost. The HTTP port is disabled when this property is specified and the HTTPS port is set to 8500.
The requisite unit tests pass on *nix and Windows.

Looks good thanks!

Kevin and Riz


Create an ASP.NET Core app with user data protected by authorization

The Button never Shows
@if (Model.Contact.Status != ContactStatus.Approved)
{
    @if ((await AuthorizationService.AuthorizeAsync(
     User, Model.Contact, ContactOperations.Approve)).Succeeded)
    {
        <form style="display:inline;" method="post">
            <input type="hidden" name="id"<EMAIL_ADDRESS>/>
            <input type="hidden" name="status"<EMAIL_ADDRESS>/>
            <button type="submit" class="btn btn-xs btn-success">Approve</button>
        </form>
    }
}

Issue description
In the Detail Page the Approve or Rejected Button never comes up
The is Authorized always false
Software
VS2019
.Net Core 2.1
Tested first with the own Code an then with your final source files 2.1
Best
Olli

Hello @scatman255 ... We recommend opening a docs issue from the bottom of the topic. Use the Content feedback button so that we know which topic+sample goes with the issue.
I think you're looking at the following, correct?
https://docs.microsoft.com/aspnet/core/security/authorization/secure-data

Looks like it's missing an instruction. In order for the seeding to work, a password must be supplied via the Secret Manager Tool before starting the steps at ...
https://docs.microsoft.com/aspnet/core/security/authorization/secure-data#test-the-completed-app

Delete any users you've created out of the app.

From the project's folder, execute the following command with a password following normal password guidelines ... for example ...
dotnet user-secrets set SeedUserPW Password1!

Run the app.

Login with<EMAIL_ADDRESS>and that password. Now, you should be able to see those buttons when you go to edit a user that you've added.

I'll make some quick updates to that section. Thanks for commenting @scatman255.


🐛 Front camera not detected at all on Xiaomi Mi Mix 2S

What's happening?
Hello,
I'm trying to integrate this library into my app over expo-camera. iOS works great for both back and rear camera, but on Android on this specific device (Xiaomi Mi Mix 2S) I am only able to get the back camera recognized. Front camera always defaults to the back camera instead.
Reproduceable Code
const cameraDevice = useCameraDevice("front")

 const cameraFormat = useCameraFormat(cameraDevice, [
    {
      videoStabilizationMode: 'cinematic-extended',
    },
  ]);

<Camera
ref={camera.cameraRef}
          device={cameraDevice}
          isActive={true}
          video={true}
          audio={true}
          format={cameraFormat}
          videoStabilizationMode={
            cameraFormat?.videoStabilizationModes.includes('cinematic-extended') ? 'cinematic-extended' : 'off'
          }

Relevant log output
This is when I open the Camera screen and explicitly specify that I want to fetch the "front" camera devices.

https://gist.github.com/fobos531/f1f5766ef8a04158253b8cc5b21cfa7d

Camera Device
cameraDevice {
  "sensorOrientation": "landscape-right",
  "hardwareLevel": "full",
  "maxZoom": 8,
  "minZoom": 1,
  "supportsLowLightBoost": false,
  "neutralZoom": 1,
  "physicalDevices": [
    "wide-angle-camera"
  ],
  "supportsFocus": true,
  "supportsRawCapture": true,
  "isMultiCam": false,
  "name": "BACK (0)",
  "hasFlash": true,
  "hasTorch": true,
  "position": "back",
  "id": "0"
}

Device
Xiaomi Mi Mix 2S
VisionCamera Version
3.1.0
Can you reproduce this issue in the VisionCamera Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information

[X] I am using Expo
[ ] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

To reiterate - it seems VisionCamera ONLY recognizes the back camera, it does not at all recognize the front camera. The front camera is recognized normally in expo-camera.

Wait in expo-camera it does actually find the front Camera, but in VisionCamera it doesn't? This sounds odd, normally VisionCamera detects more Cameras than expo-camera.
Can you share the output of this code:
const devices = Camera.getAvailableCameraDevices()
console.log(`VisionCamera detected ${devices.length} devices:`)
for (const d of devices) {
  d.formats = []
}
console.log(JSON.stringify(devices, null, 2))

And check if the front Camera actually is listed in there?

Hmm,
so - that method does indeed recognize the camera.
However, it seems that on this specific device the front camera is a telephoto camera. I suppose that on the vast majority of them it is actually a wide angle camera?
So if I do this:
  const cameraDevice = useCameraDevice('front', {
    physicalDevices: ['telephoto-camera'],
  });

Then the camera device is finally correctly picked up.
But if I just do this:
  const cameraDevice = useCameraDevice('front');

I expected that the camera device would get inferred automatically in this case and that VisionCamera would just fetch whatever physical device was available. Is this something that's missing from the API currently?
Also, I'm not sure if the below issue is unrelated or not, but listing it just for visibility:
Is there a recommended API usage for switching between the front/back camera in the viewfinder (i.e. NOT while recording, but before that)?
I experimented with the following approach:
const cameraDevice = useCameraDevice(cameraDirection) where cameraDirection is a "back" | "front" and then utilizing useState to switch between the camera devices. While this works perfectly on iOS, it seems to cause crashes on Android, see attached logcat: https://gist.github.com/fobos531/8f9acfdfbc32a7b0c471918fe40f30c7
The application crashes at
java.lang.IllegalArgumentException: CaptureRequest contains unconfigured Input/Output Surface!
                                                                                at android.hardware.camera2.CaptureRequest.convertSurfaceToStreamId(CaptureRequest.java:738)
                                                                                at android.hardware.camera2.impl.CameraDeviceImpl.submitCaptureRequest(CameraDeviceImpl.java:1087)

Please, let me know if there's anything else I can do to help!

Regarding point 4:

This is where the session gets re-built if you switch the device: https://github.com/mrousavy/react-native-vision-camera/blob/9bad0bb99eaf0ad88e6d045a7d46f585d510d815/package/android/src/main/java/com/mrousavy/camera/core/CameraSession.kt#L511-L561
And this is where I update the capture request: https://github.com/mrousavy/react-native-vision-camera/blob/9bad0bb99eaf0ad88e6d045a7d46f585d510d815/package/android/src/main/java/com/mrousavy/camera/core/CameraSession.kt#L563-L581

As you can see it's both under a mutex, so I wonder where this is coming from. Are you taking a photo or recording a video while flipping the camera or does this just happen in the preview?

Hey Marc,
It seems like https://github.com/mrousavy/react-native-vision-camera/commit/edd73619c3bde3f9c4eebb954e5c539f9f3db8da resolved the issue. As the initially reported issue seems to be fixed, I'll close this issue.
For the rest of the issues that we discussed (mainly point 4), these are slightly offtopic in the context of this issue, so I'll likely open a separate issue for them to continue the discussion there when I catch some time to do so.
But to answer your question straight away,

As you can see it's both under a mutex, so I wonder where this is coming from. Are you taking a photo or recording a video while flipping the camera or does this just happen in the preview?

I haven't tested it while taking a photo/recording a video, but it does indeed happen in the preview.

P.S. Let me know if you still need me to check this or not.

Thanks for reporting back!
Yes please open the issues when you have some time so we can discuss a fix there!
And no, I don't need you to test the focal length breakpoint now, thanks. :)

Hey @mrousavy ,
just wanted to touch on the CaptureRequest contains unconfigured Input/Output Surface! that was talked about later in this ticket.
I tried 3.4.0 and it seems to have fixed all related issues. I can know switch between front/back camera in the viewfinder/preview without any issues. Also, pre < 3.4.0 had some serious issues on certain Samsung devices like the Galaxy S20+ where the app would crash instantly on launch (with no useful logcat info at all) - also happy to report that with 3.4.0 such issues are also completely gone and I have yet to see a crash of this nature on Samsung devices.
Not sure if placebo, but the overall camera experience is super fast now on 5-year-old Android flagships.
Great work on the 3.4.0 release, many thanks! 🥇 🥇 🥇

Awesome that is really nice to hear!!! Thanks for letting me know @fobos531 :)


Add compatible with io.containerd.kata.v2

Hi,
When i running nerdctl with kata containers , there are some error on exit:
# nerdctl run --runtime io.containerd.kata.v2 -it --rm docker.io/library/alpine:latest sh
WARN[0000] To isolate bridge networks, CNI plugin "isolation" needs to be installed in CNI_PATH ("/opt/cni/bin"), see https://github.com/AkihiroSuda/cni-isolation
WARN[0000] cannot set cgroup manager to "systemd" for runtime "io.containerd.kata.v2"
/ # ls
bin    dev    etc    home   lib    media  mnt    opt    proc   root   run    sbin   srv    sys    tmp    usr    var
/ # exit
ERRO[0004] exit status 1: stdout: , stderr: time="2021-03-22T17:38:55+08:00" level=fatal msg="state dir must be set": unknown
WARN[0004] failed to remove container "981ec8f9968d8c61ee93e581b24e4520484177fd2dad2b3f74f7ce3cb4c3c7a5"  error="failed to delete task 981ec8f9968d8c61ee93e581b24e4520484177fd2dad2b3f74f7ce3cb4c3c7a5: exit status 1: stdout: , stderr: time=\"2021-03-22T17:38:55+08:00\" level=fatal msg=\"state dir must be set\"\n: unknown"
WARN[0004] failed to remove container "981ec8f9968d8c61ee93e581b24e4520484177fd2dad2b3f74f7ce3cb4c3c7a5"  error="failed to delete task 981ec8f9968d8c61ee93e581b24e4520484177fd2dad2b3f74f7ce3cb4c3c7a5: exit status 1: stdout: , stderr: time=\"2021-03-22T17:38:55+08:00\" level=fatal msg=\"state dir must be set\"\n: unknown"
WARN[0004] failed to release name store for container "981ec8f9968d8c61ee93e581b24e4520484177fd2dad2b3f74f7ce3cb4c3c7a5"  error="failed to delete task 981ec8f9968d8c61ee93e581b24e4520484177fd2dad2b3f74f7ce3cb4c3c7a5: exit status 1: stdout: , stderr: time=\"2021-03-22T17:38:55+08:00\" level=fatal msg=\"state dir must be set\"\n: unknown"
WARN[0004] failed to remove container 981ec8f9968d8c61ee93e581b24e4520484177fd2dad2b3f74f7ce3cb4c3c7a5  error="failed to delete task 981ec8f9968d8c61ee93e581b24e4520484177fd2dad2b3f74f7ce3cb4c3c7a5: exit status 1: stdout: , stderr: time=\"2021-03-22T17:38:55+08:00\" level=fatal msg=\"state dir must be set\"\n: unknown"

There are not error when running with ctr, so i think it may be some compatible issue in nerdctl.
It is better to support kata as an alternavive runtime.
# ctr run --runtime io.containerd.kata.v2 -t --rm docker.io/library/alpine:latest abc sh
/ # ls
bin    dev    etc    home   lib    media  mnt    opt    proc   root   run    sbin   srv    sys    tmp    usr    var
/ # exit

test env:
❯ kata-runtime --version
  : 2.0.1
   commit   : 3df65f4f3a439c8c7b97dd581f8ff4fc1c877a70
   OCI specs: 1.0.1-dev
❯ nerdctl --version
nerdctl version 0.7.2
❯ ctr --version
ctr github.com/containerd/containerd v1.4.4

Thanks.

The ""state dir must be set" error is from here:
https://github.com/containerd/nerdctl/blob/435f5331df3208b9e297290b4e8bec4fe2bd4a2e/pkg/ocihook/ocihook.go#L52-L53
It looks like kata-runtime is not propagating spec.Annotations to state.Annotations: https://pkg.go.dev/github.com/opencontainers/runtime-spec/specs-go#State
I assume this is a bug on kata side, so could you report to kata?

thank you very much for quick reply, I have report it to kata now. thanks again.

FYI, I'm able to run without issue:
$ sudo ./nerdctl run --runtime io.containerd.kata.v2 -it alpine sh
WARN[0000] To isolate bridge networks, CNI plugin "isolation" needs to be installed in CNI_PATH ("/opt/cni/bin"), see https://github.com/AkihiroSuda/cni-isolation
/ #
/ # cat /proc/version
Linux version 5.4.60 (runner@fv-az110-599) (gcc version 5.5.0 20171010 (Ubuntu 5.5.0-12ubuntu1~16.04)) #1 SMP Sat Jan 16 00:29:28 UTC 2021

Super psyched to have nerdctl utilizing the shim-v2 interface. Thank you for your work here, @AkihiroSuda

The static binary version is running well. This may be a problem when pack via aur.
Thanks for your work and sorry to report this.


STORM-3315: Upgrade to Kryo 4

https://issues.apache.org/jira/browse/STORM-3315
Tested compatibility with Kryo 3.0.3 serialization by running the TVL topology for a couple of minutes with two supervisors, one using the unmodified Storm code, and one running this patch.

I think making an automated test for this would be a big hassle. The test would need to download Storm 1.2.2 (or some other version using Kryo 3), and set it up in a cluster with a build of the current Storm version. We'd then need to run something like our integration test, and scan the logs for errors.
Regarding how I decided which changes to make for Kryo 4, I'm just trusting the Kryo 4 release notes, which indicates that Kryo 3 and 4 are compatible if you set setOptimizedGenerics(true) (see https://github.com/EsotericSoftware/kryo/releases/tag/kryo-parent-4.0.0)

Sorry I think I wasn't clear enough. What I meant was serializing TreeMap to simulate SO issue referred in STORM-3315 instead of checking compatibility with old version of Storm (or Kyro).

Sorry, I misunderstood.
I don't think we should add a test in Storm. It doesn't sound like the issue has anything to do with Kryo's configuration, but was simply due to a bug in Kryo that has been fixed.
I think the issue was fixed in https://github.com/EsotericSoftware/kryo/pull/342, which includes tests.

OK. I don't have strong voice on adding (possibly redundant) test. Just would like to confirm upgrading Kyro version would resolve the ask on SO, because this patch started from there. Have you go through manual test?

No. I'll try it out manually.

I can't reproduce the issue based on the description in the Kryo issue. Storm seems to serialize the example fine even with Kryo 3.0.3.
Maybe we can get the person on SO with the problem to try this branch. Otherwise, I'm not sure how to proceed.

Closing, out of date. If this is interesting to anyone, feel free to use this PR for future work.


Holiday

Chrome Tab and inset curriculum README restyled with winter holiday theme. Snowstorm effect/HTML canvas removed due to performance concerns.

Before you squash all of the commits, you should branch off of this branch, and then revert that new branch to the snow effect version. You did good work there, and even though it was flawed I think its still worth having around.

Before you squash all of the commits, you should branch off of this branch, and then revert that new branch to the snow effect version. You did good work there, and even though it was flawed I think its still worth having around.

Reverted branch snow now pushed to github and available for future use.


Backport bug fixes to 0.2.8

Backports

Fix MultiSeriesProphetModel ts_id key error with one-row dataframe https://github.com/databricks/automl/pull/59
Fix multi id prediction error https://github.com/databricks/automl/pull/58

Codecov Report

Merging #60 (1a0a215) into branch-0.2.8 (1653cdf) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##           branch-0.2.8      #60   +/-   ##
=============================================
  Coverage         99.48%   99.49%
=============================================
  Files                18       18
  Lines               585      594    +9
=============================================
+ Hits                582      591    +9
  Misses                3        3

Flag
Coverage Δ

unittests
99.49% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...atabricks/automl_runtime/forecast/prophet/model.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1653cdf...1a0a215. Read the comment docs.


⚠ Bofrost.at has degraded performance

In 878bf3c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1875 ms

Resolved: Bofrost.at performance has improved in b79707f.


How to RoundedCornersTransformation with border

How to RoundedCornersTransformation with border

https://github.com/thedeveloperworldisyours/RoundedConersWithGlide


Feature/steven+yoto vsr personal info

Tracking Info
Resolves #9
Changes
-Added a MongoDB schema for storing VSR form submissions
-Set up POST route for VSR
-Added front-end for submitting a VSR
-Added front-end side validation functions (currently unused)
Testing
-Front-end validation functions were tested using unit tests in frontend/tests
-Rest of the features were tested end-to-end:
-Load up both the front end and the back end
-Go to http://localhost:3000/vsr
-Leaving out any required field will result in the field failing to submit
-Providing invalid data, such as inputting strings for age, will result in an error from the back end.
-Submitting a valid form will have it show up in the MongoDB database
This was done various times, with different inputs and leaving different fields empty.
Note that MongoDB may take a few moments to update.

TODO

Confirmation of Change
Missing fields

Error upon invalid input

Successful form submission

Thanks @holychickencow , nice catches! I just pushed some fixes to address your comments, we're good to merge now!


Scaling and HA documentation changes

Also included the mysql driver in the base container - not including it
means one has to create a new image (mattford63/registry) just to add
this in for proper scaling/ha.

LGTM
Thanks for this.

+1 for releasing this.