Perspective setting not saved with settings

Describe the bug
VisIt doesn't save 3D view perspective setting when saving settings.
Helpful additional information

Did VisIt crash:  No
Did you get wrong results: yes

To Reproduce

Start VisIt
Open Controls->View...
Either check or UNcheck perspective (e.g. change it from whatever it seems to start with...mine is always checked).
Save Settings
Examine ~/.visit/config for perspective. You will find it there and set to false.
End VisIt session
Start a new VisIt session
Examine perspective setting. It is still checked.
Save Settings again
Examine ~/.visit/config for perspective. You will NOT find it.

We think the behavior may be different if there is a plot already plotted before saving settings.

Generally, we don't really want to save the view when saving settings (for session for sure but not necessarily settings). But, there may be aspects of the view we do want to save with settings such as perspective, angle, front/back clipping planes, up axis, etc.

There's a related discussion: #18749

I've tracked this down a bit.
Perspective is correctly read from the session file here: https://github.com/visit-dav/visit/blob/v3.4.1/src/common/state/View3DAttributes.C#L672
The equals operator is called: https://github.com/visit-dav/visit/blob/v3.4.1/src/avt/View/avtView3D.C#L68 which is overriding perspective to true no matter what
It is called from here: https://github.com/visit-dav/visit/blob/v3.4.1/src/avt/VisWindow/VisWindow/VisWindow.C#L2908

After processing settings (configs), there are a set of calls that lead to:
https://github.com/visit-dav/visit/blob/fd03f87cc3bb78b8882dce59753f050d99cbb279/src/viewer/core/ViewerWindowManager.C#L8167-L8173
https://github.com/visit-dav/visit/blob/fd03f87cc3bb78b8882dce59753f050d99cbb279/src/viewer/core/ViewerWindow.C#L2077-L2087
ViewerWindow::SetPerspectiveProjection is being called with a value from WindowInformation, which apparently has default values, which is how the View3D atts perspective mode is being changed from what was saved in the config file/session.
I think that we need to add a path after configs are processed, to update WindowInformation with values from View attributes, perhaps here, before the call to AddInitialWindows
https://github.com/visit-dav/visit/blob/fd03f87cc3bb78b8882dce59753f050d99cbb279/src/viewer/main/ViewerSubject.C#L1008-L1025
There is a similar issue with full-frame mode for View2DAttributes.
An investigation of all WindowInformation fields that also correspond to a View attributes should be verified that they get updated.

perspective for 3D View and fullFrameActivationMode for  2D view are saved to config files only when they are different from their defaults. So perspective is saved only if false, and fullFrameActivationMode is saved only if NOT Auto.
As noted by @JustinPrivitera's comments, there is a problem with restoring what was set in the config file.

@JustinPrivitera and @biagas thanks for sharing your perspectives on perspective :wink:.
Ok, so maybe the only real issue here involves step 8 in the original report...it is not restoring from saved value correctly.

I have a fix in the works.

I just noticed that if you turn off 'perspective mode' from the viewer window toggle and save settings, the config file will show perspective as false in both the View3DAttributes and WindowInformation nodes.  Then next VisIt session will correctly have perspective mode turned off.
If you turn off perspective mode from the View3D window, it only gets saved in View3DAttributes.  Then, because WindowInformation settings inform View3DAttributes after all settings have been processed, View3DAttributes will get the default WindowInformation perspective setting of true.
Also, if you look at the Viewer Window toggle button after turning off perspective from the View3D controls, it's state still shows 'on'.
So changing the toggle in the Window affects View3DAttributes, but the reverse is not true.
Perhaps the change from View3D needs to propagate to WindowInformation.


python311Packages.google-cloud-iam-logging: 1.3.2 -> 1.3.3

Changelog: https://github.com/googleapis/google-cloud-python/blob/google-cloud-iam-logging-v1.3.3/packages/google-cloud-iam-logging/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

2 packages marked as broken and skipped:

python312Packages.google-cloud-iam-logging
python312Packages.google-cloud-iam-logging.dist

2 packages built:

python311Packages.google-cloud-iam-logging
python311Packages.google-cloud-iam-logging.dist


Inlay diagnostics cause weird jump when selecting the newline character

The cursor is on f; when moving one character to the right it jumps over the error message and ends up after the N.
This is pretty jarring. I'd expect that the error message comes after the newline character
A fix probably needs a change in Kakoune.

Any pointers on this as to where this might be within Kakoune?

If we do
nop

declare-option range-specs my_inlay_diagnostics
add-highlighter global/my_inlay_diagnostics replace-ranges my_inlay_diagnostics
define-command foo %{
    set-option global my_inlay_diagnostics %val{timestamp} '1.4,1.4| Virtual text at end of line'
}

src/kak repro.kak -e 'source repro.kak'
we actually replace the newline character, which is not what we want.
If we change the coordinates to 1.3,1.3 we see the problem in the issue description.
Currently a limitation of replace-ranges is that it will not create newlines.
Maybe the solution is that we also prevent it from deleting newlines for the time being.

or somehow enable replace-ranges to replace text beyond the newline character. That requires that it can replace zero-length ranges which currently don't really exist

Fix available in the fix-inlay-diagnostics branch; it depends on this Kakoune patch

fixed by https://github.com/kak-lsp/kak-lsp/pull/714


tensorflow.python.framework.errors_impl.InvalidArgumentError: logits must be 2-dimensional

Hi, Thank you for this work.
I'm trying to play with hfnet_tf.py but inside the infer(), it gives me an error saying:
[[Node: pred/local_head/detector/Softmax = SoftmaxT=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]

I've tried to debug this but couldn't find the culprit. Can you help me to resolve it, please.

Hi @Ahmedest61 thanks for trying out. I've not seen this issue on my machines. What version of tensorflow are you using? Could you try 1.14? I've checked in a conda env config fyr.

Solved it with tf=1.13.1. :)


Hindi  stopword list added and added a new java code for english list

I added a stopword list for hindi and I added a new java code to cleanup the english file incase it gets messy :)
and i updated my name in contributors.md

hey,
i added a new stop wordlist for hindi and i updated the contributors.md
and i added a new english text cleanup code in java :)
plss accept the pull request


Enforced login with TAMU mail id

This post presents some ideas:
https://medium.freecodecamp.org/how-to-securely-store-api-keys-4ff3ea19ebda

This post presents some ideas:
https://medium.freecodecamp.org/how-to-securely-store-api-keys-4ff3ea19ebda

@rawatakhilesh Thanks for pointing this out. Will look into it.

Okay. So, are you going to push the changes to this branch or a new one?

This post presents some ideas:
https://medium.freecodecamp.org/how-to-securely-store-api-keys-4ff3ea19ebda

@rawatakhilesh Thanks for pointing this out. Will look into it.

Okay. So, are you going to push the changes to this branch or a new one?

This post presents some ideas:
https://medium.freecodecamp.org/how-to-securely-store-api-keys-4ff3ea19ebda

@rawatakhilesh Thanks for pointing this out. Will look into it.

This one. Don't approve this yet.

Okay. So, are you going to push the changes to this branch or a new one?

This post presents some ideas:
https://medium.freecodecamp.org/how-to-securely-store-api-keys-4ff3ea19ebda

@rawatakhilesh Thanks for pointing this out. Will look into it.

This one. Don't approve this yet.

Cool.

Merged as part of another branch


add on functionality

How can I create an add on tool that would shop up on openbazaar tab like the other search button does. Not too familiar with OB architecture. Does the current code allows that if I develop and place an extension would it pick up?
Brief Description:
Operating System (OS and version):
OpenBazaar version (shown on About OpenBazaar page in menu):
Hardware:
Reproducible (Always / Almost Always / Sometimes / Rarely / Couldn't Reproduce):
Steps to reproduce:
1.
2.
3.
Observed Behavior:
Expected Behavior:
Additional info (links, images, etc go here):

Can you explain in more detail what you're trying to do?
There is no extension architecture right now, you'd need to have a fairly good understanding of the code base to add in a new button that does something, unless it did something very simple.


Modularization of Avvio's methods

This pull request allows to improve the overload of typecript definitions when the expose option is changed by creating an interface for ready, use and after. I would publish an example in commentary of this PR.
Thanks ^^

What does it add? Can you add a unit test for this change?

it just changes the way you organize Typescript definitions for more modularity with Avvio. The current test verifies this change.


[GHSA-m836-gxwq-j2pm] Improper Access Control in github.com/treeverse/lakefs

Updates

References

Comments
Adding the patch link for v0.53.1: https://github.com/treeverse/lakeFS/commit/f2117281cadb14fdf9ac7fe287f84d5c10308b88
The GHSA-ID is in the commit message: "Merge pull request from GHSA-m836-gxwq-j2pm"

Hi there @eden-ohana and @nopcoder! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our highly-trained Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory


Support specifying 'url' in configuration files

Right now this works fine for all Sequel connections, but breaks for all rake tasks since the URL isn't parsed. This ends up being a deal breaker when using sequel-rails with a config/database.yml that looks like this:
...
development:
  url:  <%= ENV['DATABASE_URL'] %>
...

This adds support to the Storage helpers, which fixes the rake tasks.

@JonathanTron Sorry to bug you directly, but: any feedback on this one?
Would be great to see full url/DATABASE_URL support when using Sequel+Rails :)

Hi @lfittl, thanks for the PR and sorry for the delayed response.
It is indeed not handled properly in the current code and you PR fix this.
I'm not fan of using try, but this is only nitpicking that I can update after merging.
Thanks a lot for your work.

@JonathanTron Yay, thanks for merging - happy that I don't have to keep a fork around :-)

@lfittl You're welcome.


Entities

Thank you @Gleefre - I'll merge it now, but happy to continue discussion in the comments (or in any PRs you might open). I will probably be working on an example, or continue working on triangulation if I find the time today.


Update devDependencies to fix the build.

Coverage remained the same when pulling e5678dcc66a57cb88f3755403b50c369cb086d80 on braydonf:bug/fix-dev-dependencies into 6d79e9a4759db86036b1886a528e35df4b0dc7a1 on bitpay:master.


[Deprecate]:Deprecate @azure/communication-network-traversal package

Package Name
@azure/communication-network-traversal
Deprecated Versions

Deprecation Message
This package has been deprecated and will no longer be maintained after 03/31/2024
Why is deprecation necessary?
The service and SDKs will no longer be maintained

Package has been marked as deprecated on npm and removed from the main branch


New development environment for LAA CCMS EBS upgrade

Environment details
CCMS is a system that manages certified civil legal aid applications, amendments and bills, it is our general ledger, chart of accounts and payment system and manages accounts receivable.
The version of EBS which is currently being used is very old and out of support.We want to update our DB servers to a new supported versions. Due to other high priority work we don't want to make any changes to our envs in ccms-ebs acccount and will use this account to do the spike work
Application Name
ccms-ebs-upgrade
Description of application
CCMS is a system that manages certified civil legal aid applications, amendments and bills, it is our general ledger, chart of accounts and payment system and manages accounts receivable.
The version of EBS which is currently being used is very old and out of support.We want to update our DB servers to a new supported versions
GitHub team slug
laa-ccms-migration-team
Environments

[X] Development
[ ] test
[ ] Preproduction
[ ] Production

Environment access level Development
sandbox
Environment access level Test
No response
Environment access level Preproduction
No response
Environment access level Production
No response
application
ccms-ebs-upgrade
business-unit
LAA
infrastructure-support
<EMAIL_ADDRESS>owner
<EMAIL_ADDRESS>Subnet sets

[X] General
[ ] Isolated

How do users connect to the application
Over the public internet
Additional features
Please check any additional features required

[ ] Additional VPC Endpoints
[ ] Extended DNS Zones
[ ] Other - please specify

Other information
No response
Definition of Done
Definition of Done

[X] account created
[X] customer informed

Not stated what account level should be given so I have added sandbox. Also left the nuke exclude as per the current ccms-ebs-development account.

Emailed Donovan with the details. The account is ccms-ebs-upgrade-development. I kept the development part just in case they ask to have additional parts in future.


WIP: Dual GPS support implementation

This PR solves https://github.com/PX4/Firmware/issues/4005.

The driver supports a second GPS. Can be started by calling gps start -d /dev/tty3 -dualgps /dev/tty2
GPS signals are read out to vehicle_gps_1_position and vehicle_gps_2_position, for which logging is added (following multiple wishes in https://github.com/PX4/Firmware/issues/4005).
By default vehicle_gps_1_position is mapped to the original topic vehicle_gps_position. A variable USE_DUAL_GPS = 1 allows the use of the second GPS according to specific needs. Within this PR a prototype of switching for VTOL in cruise or hover regime is implemented.
Backward compatible: When calling gps start -d /dev/tty3 or even gps start, only the primary GPS is started and mapped to the original topic.

Has been flight-tested in multiple occasions.

Nice, thanks! I do have some architectural concerns, primarily that the estimator itself should decide which GPS to use. When using the multi-topic support in PX4 a lot of the code here gets simplified a lot.

As @birchera is on holiday i took over this PR. Codewise it should be working. i will do outdoor tests asap. I hope the structure is ok as it is now.
One issue i saw is, that if i stop the module and restart it again it will create new instances of the multi topic (and there fore won't be correctly read by subscribers) is there a way of deleting this uorb instances in the destcrutor of the gps module?

@bkueng Could you look into de-advertising a topic? Its certainly possible, but the API probably sucks.

Overall in a pretty good shape. If you address the comments I made this should be good to go in, thanks!

De-advertising is currently missing in the ORB API. I'll add it.

@birchera You have now orb_unadvertise() available on master (please rebase). That way you can properly handle the corner cases you experienced earlier.

@sverling If you fix the build error (probably formatting, you can run 'make check' locally) and add the orb_unadvertise() calls this is good to go.

so far only tested with fake gps as all our gps modules are on the field. i will let you know when i tested it with hardware as well

this should probably be removed: https://github.com/wingtra/Firmware/blob/upstream_push/dual_gps/src/drivers/gps/gps.cpp#L217

There's a missing return in https://github.com/wingtra/Firmware/blob/upstream_push/dual_gps/src/drivers/gps/gps.cpp#L834 and https://github.com/wingtra/Firmware/blob/upstream_push/dual_gps/src/drivers/gps/gps.cpp#L853

https://github.com/wingtra/Firmware/blob/upstream_push/dual_gps/src/drivers/gps/gps.cpp#L280
That's wrong as it could be g_dev2 that is deleted

The way you start the two threads is very fragile and susceptible to race conditions. Please avoid things like this: https://github.com/wingtra/Firmware/blob/upstream_push/dual_gps/src/drivers/gps/gps.cpp#L245
What you could do is to add two task_main_trampoline methods, or use the argv in px4_task_spawn_cmd and then figure out which g_dev to use in the trampoline.

Ok one last thing: the way you are using the publications, it is not defined which of the two gps devices gets instance 0 and which gets 1. The faster one will get 0 and the other 1. There's no problem with that, you just should be aware of it.

thank you for your comments. i will try to solve it as soon as possible.

@sverling can you give me an estimate, will you finish this until tomorrow afternoon? We will most likely need this feature as well.

tried to include all the things you reviewed and we discussed in person.

I did some fixes & cleanup in  #4433, but all-in-all it looks good now. For future reference: argv is a null-terminated list of null-terminated strings.

Has been moved to #4433


GenericMenu in NodeEditor and RuntimeNodeEditor

When I use the NodeEditor window by itself, the contextual menu appears without any issues when pressing the right mouse button.
But, if I put Unity in Play Mode with a RuntimeNodeEditor, the contexual menu of the NodeEditor window doesn't appear anymore.
I looked into the code, but wasn't able to find a clue. :-)

Hm... I do have one... Do you get one on a fresh install?

On a fresh install it shows, but immediately disappears.

Hm, it totally works fine for me... and I have no clue what could cause this difference

Do you noticed other strange behaviour in the past? Not only related to this Node Editor?

I updated to the most recent version today (I had the one from before the huge update) and tried it.
It didn't work. I thought it was because of this version.
I tested with the previous one and it didn't work either. :D
Reproducible steps:

Create new Unity project
Create "Plugins" folder inside "Assets"
Unzip the "Docs", "Editor" and "Node_Editor" to Assets\Plugins
Add a RuntimeNodeEditor component to the "Main Camera" game object
Uncheck "Specify Rect"
Open the NodeEditor window through "Window/Node Editor"
Right-clicking works fine in the NodeEditor window
Start "Play" mode in Unity
Right-clicking doesn't work anymore

Exact same Unity version, but works for me. May be because of windows 10 though, I'm running Windows 7 x64

Wait: I managed to reproduce it when I kept the Editor Window open though
Try to close it before hittin play, hopefully that will fix it

It actually may be the isue, as the class OverlayGUI, which handles all the related GUI, is static and keeps static references to the GenericMenu that is currently opened. Didn't explicitly test with multiple 'users' though...

Yes, I kept the NodeEditor window opened the whole time! Closing it solves it.
I wanted to test the ability to change a canvas in the NodeEditor and see it live reload in the RuntimeNodeEditor. That's why I needed the right-clicking. :-)

Ok, then I have to dissappoint though - due to how the save system works currently, this won't work without manual work. Currently, a working copy is created, because due to the nature of Scriptable objects, the link to the save file would cause the Node Editor to always modify the save without explicitly saving. So, I managed to break the link, but that will cause the Runtime and Editor version each to work on their own, individual copies.

I'll be 'redoing' the working copy system 'soon' though, so the actual last save file (which can be found in 'Plugins/Editor/Node_Editor/') will actually be the copy the Node editor is working on, so any changes to it would automatically reflect to all other users. Again, with manual setup (a bit), but a lot better than currently;)

I'm aware that's how it is working.
For what I need, I just have to re-open the same file in RuntimeNodeEditor after I saved it on the NodeEditor. It doesn't need to be always synchronized in both windows. But I still need both opened at the same time. :-)

Well, you could just load up NodeEditor.editor.mainNodeCanvas, which is the actual working copy that the currently opened editor window works on. Use that in the RuntimeComponent, maybe through a button, and that should work:)
Please report back if it does, would be interested! :)

But the right mouse button doesn't work. I can't add new nodes. :P

Dammit forgot:'D I'll try to find a quick fix for that...

Ahah, thanks for the help though! It's not really urgent. ;)


Tiny update to MoonShading.compute

The original shader could cause a compute shader compiling error which wasn't very easy to trace. It is better to set the initial value to a very large number instead to something that isn't supported by some systems.

Trace of this compiling error was seen in issue #24


[Task-1386] When adding tags in tag management, random colors are given by default.

What's changed?

Whenever we add a new tag from a the Tag Management, a random color will be given by default to that Tag

Checklist

[x]  I hereby agree to the terms of the HertzBeat CLA
[X]  I have read the Contributing Guide
[X]  I have written the necessary doc or comment.
[X]  I have added the necessary unit tests and all cases have passed.

Add or update API

[X] I have added the necessary e2e tests and all cases have passed.

@all-contributors please add @prolevel1 for code


How can I disable Side Menu effect on the left side and just enable the effect on the right side?

Hi Kureev, thank you very much for sharing this side menu component, very helpful. And I have a question on how to use it.
So I try to enable the side menu effect on the right side as below and it works:
    <SideMenu menu={<MySideMenu nav={this} />} menuPosition='right'>
      <NavigatorIOS ref="navigator" style={styles.container} initialRoute={{
        component: PostRequest,
        title: I18n.t('search'),
        rightButtonTitle: I18n.t('menu'),
        onRightButtonPress: this.showSideMenu,
        passProps: { user: user },
      }} />
    </SideMenu>

However, when I slide from left to right, the side menu effect also shows up (the screen moves from left to right as my finger moves from left to right), which I don't want. Any idea how can I disable that?
Thanks,
Francis

Sure you use latest version?

I think so. But what is the latest version?
And I just tried npm update again, but the problem remains.
Any idea

Could it be related to https://github.com/Kureev/react-native-side-menu/pull/103 ?


Doesn't work on android simulator, but works on android device.

Doesn't work on android simulator (android 8 , API 26) , but works on android device (android 5.1).
Is it about API versions?
Thanks

Does the Android emulator happen to have a slot for the sim card that receives the sms

Actually, you can send fake SMS at the simulator, @jerryheir

Actually, you can send fake SMS at the simulator, @jerryheir

how to send fake SMS to the emulator?

@xiaokyo Once the emulator is running, click on those three dots and another window with extended controls should show up


Allow you to tab through modal text box

Description of the Change
We have a modal with elements (1) text box, (2) text box, (3) cancel button, and (4) clone button, respectively, from the top-left to the bottom-right.

For this modal element, the tabIndexes are -1, -1, 3, 4, respectively. This causes the tabbing order to be (1) > (3) > (4) or (2) > (3) > (4), and then looping forever between (3) and (4), because tabIndex=-1 signifies to skip tabbing for that element. It would appear the root cause is the tabIndex for those elements is hardcoded to be -1. We should probably change that.
Instead, allow a tabIndex to be inferred from the constructor. Now the modal has tabIndexes of 1, 2, 3, 4, as it was intended to be, from the atom github repo.
But now there is a new issue. We can only tab from (1) > (2), but never to (3) or (4). I have tried to understand why this is happening, but I can't come to a conclusion after playing around with the values, nor do I understand how to debug tabbing better than the trial and error approach I have now. Seems like something that's probably better for another ticket, because the tabIndexes are correct now.
Alternate Designs
Maybe instead of inferring tabIndex from this.props.element.tabIndex in line 173, we should instead have some kind of explicit field to specify it, like this.props.tabIndex. I would not be opposed to that. Of course, then we need to do some more refactoring work to make tabIndex work for all objects that create this modal. It's a tradeoff between time investment and tech debt.
Also, I'm not sure if this would break other things. Seems like a pretty broad change.
Why Should This Be In Core?
The core issue here is that the tabIndex is being overwritten in text-editor-component.js from a hardcoded value. Even if another package (in this case, the Github package) specifies a tabIndex, it will be squashed by what's hardcoded, and that seems wrong.
Benefits
You can tab through your text boxes now.
Possible Drawbacks
You can't tab through your buttons now. I think you also can't use the escape button to exit out of a modal, but you couldn't do that anyways unless the focus was on the "Cancel" button, so the problems are linked.
I think the tabbing thing is actually a separate issue, and this PR just solves the tabIndex being squashed by a hardcoded value.
Applicable Issues
#16004

I will address the failing tests first.

@50Wliu unit tests passed

bump


Change kyverno default probe settings to improve stability

The kyverno policy successfully installs kyverno on OpenShift, but
I am seeing clusters get into a really bad state that I haven't been
able to debug.  These settings I think will reduce the likelihood
that kyverno restarts due to a probe timeout.  Some of the problems
seen are:

nodes change to Not Ready
oauth api server and many other pods go to Crash Loop Backoff
can't view pod logs, difficult to diagnose the root cause

Refs:

https://github.com/stolostron/backlog/issues/20388

Signed-off-by: Gus Parvin<EMAIL_ADDRESS>

FYI @ch-stark
Attempting to improve kyverno instability

/hold
Found community recommended settings that I will try with this change


Fix small mistake in docs, "antecedents" -> "ancestors"

The correct term for referring to the parent, and parent of parent, and parent of parent of parent, is "ancestors".

Thanks!

Cherry-picked for 4.0.3.


Default Guide to Current Time

Currently [0:00, 11:00) = breakfast, [11:00, 16:00) = lunch, [16:00, 0:00) = dinner. These constants can be changed at the top of LookAheadViewController.swift. Resolves #60.

Don't really care if you use the range switch statement, but let's not pollute class with properties if they're local to one function.

Good to go


:docs: Add documentation about the controller.

Description
Adds the docs related to the Controller UI.
Fixes #250
Type of change

[x] Documentation (non-breaking change that adds or improves the documentation)
[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (non-breaking, back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Breaking change (whatever its nature)

Key checklist

[x] All tests pass (eg. python -m pytest)
[x] The documentation builds and looks OK (eg. python -m sphinx -b html docs docs/build)
[x] Pre-commit hooks run successfully (eg. pre-commit run --all-files)

Further checks

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added or an issue has been opened to tackle that in the future. (Indicate issue here: # (issue))

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

Project coverage is 86.03%. Comparing base (6de0668) to head (3418e8b).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #279   +/-   ##
=======================================
  Coverage   86.03%   86.03%
=======================================
  Files          38       38
  Lines         580      580
=======================================
  Hits          499      499
  Misses         81       81

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


fix: Change project configuration logic

This is Option 2 to fix https://github.com/googlemaps/android-maps-utils/issues/800 as mentioned in https://github.com/googlemaps/android-maps-utils/issues/800#issuecomment-732239657.
The following still needs to be done to restore all previous functionality (I've commented these with FIXME in the code, along with the current errors that exist when syncing with Android Studio):

[ ] Fix jacoco-android
[ ] Fix signAarPublication

Option 1 is presented in PR https://github.com/googlemaps/android-maps-utils/pull/895.
@arriolac What are your thoughts on this vs. Option 1?
It's not immediately clear to me how to fix the above issues if we decide to go this route, so any feedback on these would be welcome.
Only one of these two PRs should be merged.

Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[x] Make sure to open a GitHub issue as a bug/feature request before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)
[x] Will this cause breaking changes to existing Java or Kotlin integrations? If so, ensure the commit has a BREAKING CHANGE footer so when this change is integrated a major version update is triggered. See: https://www.conventionalcommits.org/en/v1.0.0/

Fixes #800 🦕

Closing this in favor of https://github.com/googlemaps/android-maps-utils/pull/895, per comments in https://github.com/googlemaps/android-maps-utils/pull/895#pullrequestreview-684550626


Regarding your new article: Rethinking 6-Dof Grasp Detection: A Flexible Framework for High-Quality Grasping

Hello author,
I recently read your latest article: Rethinking 6-Dof Grasp Detection: A Flexible Framework for High-Quality Grasping，I have some questions about why the GS results reproduced in the two papers change, did you turn on collision detection processing in the tests when you ran the tests in the new paper?Will you open source the code for your latest paper?
I would be grateful for your reply !

Thank you for your interest in our work and careful reading. Yes, actually there are two results for each method, that it with/without collision detection and there are two versions of our HGGD paper. One is the newer one on the arXiv, in which we show the GS results without collision detection and in the RA-L version on IEEE Xplore in which we show GS results with collision detection. We will consider updating the arXiv version for a more clear comparision.

Thank you for your interest in our work and careful reading. Yes, actually there are two results for each method, that it with/without collision detection and there are two versions of our HGGD paper. One is the newer one on the arXiv, in which we show the GS results without collision detection and in the RA-L version on IEEE Xplore in which we show GS results with collision detection. We will consider updating the arXiv version for a more clear comparision.

Thank you for your response and I look forward to publishing and open-sourcing your new paper.


MQTT Light Default Payload to Uppercase

Maintain consistency with MQTT switch default payload

Looks like it broke a test.

The test would need to be changed too. The test uses lower-case and I
changed the default payload for an mqtt light to upper-case "ON","OFF", as
stated in the documentation at
https://home-assistant.io/components/light.mqtt/ and how mqtt.switch
default payload operates.
Great project!
On Tue, Dec 15, 2015 at 10:48 AM Paulus Schoutsen<EMAIL_ADDRESS>wrote:

Looks like it broke a test.
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/pull/751#issuecomment-164804267
.

Closing this as new default payloads for the light MQTT platform are being introduced in #781


Problem with vSphere Hypervisor, rvc + nokogiri

Hi,
I want to use Beaker with vSphere Hypervisor. But wenn run my test, I get:
Failed: errored in CLI.provision
RuntimeError: unknown VMODL type AnyType
After some searching, I found, that this is a problem with rvc and nokogiri 1.5.11
The workaround that vmware recommends is to downgrade to nokogiri 1.5.5. With this version the "unknown VMODL" error is gone.
But beaker needs nokogiri 1.5.11 and so I cannot use beaker with vsphere, or is there an other workaround.
Hier some facts:
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
beaker 1.20.1
beaker-spec 3.0.0
rvc 1.8.0
rbvmomi 1.8.1
vCenter : <IP_ADDRESS>00 Build 2183109
Thanks

Closing since we updated our pins in beaker 2+


[Question] Consider only shenyu-bootstrap run mode

Question
I ran shenyu-admin and shenyu-bootstrap through docker-compose on Raspberry Pi (arm64) without configuring any plugins, selectors, rules, and found that each of these two services takes up about 1 GB , and my Raspberry Pi has only 4 GB of memory in total. I personally think that shenyu-admin is just a GUI interface for configuration. When the project is mature and stable, all plug-ins, selectors, The rule configuration has been solidified and will not change. In this scenario, shenyu-admin should provide a method to export all plugins, selectors, and rule configuration data to static files, such as json format configuration data files, and then shenyu-bootstrap loads this static configuration data file into the memory. At this time, it is equivalent to only running shenyu-bootstrap, and it is no longer necessary to run the shenyu-admin service, which can reduce and optimize the memory usage of the server.

The shenyu-admin is not only for configuring selector, rules, but also for other functions, such as checking if the upstream services are online, etc.


Adding new relic tags.

Adding new relic tags for servers info displays.

Hey @darkodosenovic, thanks for your contribution!
I see we're using this ansible variable newrelic_server_labels, can we set a default value for it please?
Thanks very much.

Hey @pdufault, I think this is what you asked for.
Thanks

Thank you for your contribution, we very much appreciate it.


Trouble migrating from 4.2.0 to 5.0.0

Hello everyone,
When migrating to 5.0.0 from 4.2.0 we receive the following error message for most panels:
error finding key A_Req0_Data in response
When changing the panel slightly (e.g. panel title) and saving the dashboard, the error message disappears for most of the panels. However, we have a lot of panels and dashboards, so this workaround seems to be almost impossible.
Also, we experience issues when using the Max Recorded Values feature.
Is this a known problem and is there a better workaround for this?
Thanks
Frederic

At the moment that is the only solution. I can check on a conversion script.
What is the problem with "Max Recorded Values"? I am about to launch version 5.1.0 next month.

With Max Recorded Values, I get "z.replace is not a function". I did not look into it, but when I remove the value from the Max Recorded Value field, I see data.

I have the same issue with "ie.replace is not a function" related to max recorded values

At the moment that is the only solution. I can check on a conversion script.
What is the problem with "Max Recorded Values"? I am about to launch version 5.1.0 next month.

Will issue #159 and #160 be investigated for 5.1.0 release?

Still haven't found a way that is not opening the panel and saving it again.


PostgreSQL rather than MySQL?

@rrrene Where are you planning to host this? If on Heroku, it might be a better choice to use Postgres for development just to ensure parity.

Hi, yeah ... What can I say :yum: There are technical reasons, since the box I have at my disposal supports MySQL.
If this project ever takes off in a way that said machine would not suffice, I will gladly switch to Postgres. Guess that would be the kind of problem you actually want to face :+1:

D'oh. What I should have written is: This is intentional to create a public showcase for working Ecto apps using the MySQL adapter ... :wink:

Did you ever have to set a different MySQL socket for your project, @rrrene?
Checking out your project(congrats!).
What I have for MySQL is MAMP Pro.
Tried to figure out how to do it in Phoenix but so far no luck.

Mmmh. No, I did not need to do that, but I only used Elixir on Linux machines so far ...

Ok, thanks!


model.save() - Froze 0 variables. Converted 0 variables to const ops.

Hi there,
I'm working on saving a model out of the style transfer example on seedbank.
I have managed to generate a saved model by wrapping the  with the following code;
init_g = tf.global_variables_initializer()
with tf.Session() as sess:

  sess.run(init_g)

  param_f = lambda: style_transfer_param(content_image, style_image)

  content_obj = 100 * activation_difference(content_layers, difference_to=CONTENT_INDEX)
  content_obj.description = "Content Loss"

  style_obj = activation_difference(style_layers, transform_f=gram_matrix, difference_to=STYLE_INDEX)
  style_obj.description = "Style Loss"

  objective = - content_obj - style_obj

  vis = render.render_vis(model, objective, param_f=param_f, thresholds=[40], verbose=False, print_objectives=[content_obj, style_obj])[-1]

  model.save(
    "saved_model.pb",
    input_name='Variable',
    image_shape=[224, 224, 3],
    output_names=['random_crop_1/Assert/Assert'],
    image_value_range=[-117, 138],
  )

however, judging by the logs below, it appears to be exporting an empty saved_model.pb
INFO:tensorflow:Froze 0 variables.
INFO:tensorflow:Converted 0 variables to const ops.

Should i be running sess.run() in the gram_matrix or activation_difference functions to populate the graph?
thanks

Hm, I'm not sure that I'm following.

It looks like you're trying to save the feature visualization graph rather than a model graph?
It looks like you're calling model.save on an a model instance, rather than the abstract graph (ie. Model.save)? (That isn't an intended use of save and we should make it impossible.)
I'm not sure what the goal of saving the model is, since it seems like you already have a working model instance?

Normally, you'd have a one script construct and export your model, then import it in another script for visualization.

Hi Colah,
Apologies, excuse the naive questions, i'm still getting familiar (conceptually) with how Style Transfer works.
The goal is to generate a saved_model.pb from the Style Transfer example and convert it via tensorflowjs_converter to the json web format, so i can run it in the browser. Therefore the flow is;

Construct & Export model in python.
Load & Run model in tfjs

To answer your first two points;
In the example we create an instance of the InceptionV1 model and retrain it.
Having read the "Importing Models into Lucid" documentation on GH i had assumed that the code to retrain ( construct the model inference graph ) was, as per the snippet above;
param_f = lambda: style_transfer_param(content_image, style_image)
...
vis = render.render_vis(model, objective, param_f=param_f, thresholds=[40], verbose=False, print_objectives=[content_obj, style_obj])[-1]

Hence why i went about wrapping the code in a session and calling model.save() after render.render_vis().

You might want to look at Interactive Stefan Sietzen and Manuela Waldner work on Feature Visualization in the Browser.
Unfortunately, exporting a visualization graph like this isn't a supported use of lucid, and you're likely to run into a number of issues:

Model.save() is intended to export models (ie. the object you call model) and not visualization graphs. You're likely to run into places where the code makes assumptions that don't hold for the visualization graph.
The saved model is in a somewhat unusual format, with all weights burnt into the graph. We've never tested this for compatibility with tfjs.
If you save the visualization graph, it will contain many ops that aren't typically in models. As a result, tfjs may not be able to run the graph.

I would recommend using tfjs to run your model, and implementing style transfer using Stefan's code or from scratch in javascript.

Thanks for taking the time to reply,
Ok, makes sense.
The 'Feature Visualization in the Browser' link looks incredible.
Will be in contact if i get an example running in tfjs using a Lucid trained model.


Move vue-gh-corners to dev-dependencies

@TonPC64 I will love to send a PR for this

@TonPC64 I have sent a PR #10 for the issue


Liscense

I accidentally scrolled down the license, you should insert some valid values
[yyyy] [name of copyright owner]
Best,
Bernhard.

hi Bernhard -- the bottom of the document provides instructions for using the ASL 2.0 in your project. You can see an example copyright header here: https://github.com/wesm/feather/blob/master/cpp/src/feather/types.h#L1


feat: implement postgres kvbackend

This commit implement a postgres backend to persist metasrv's data. A new enum BackendImpl with default to etcd was added to MetasrvOptions to activate postgres backend we could set BackendImpl to postgres and set store_addrs to postgres url.
I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
What's changed and what's your intention?
!!! DO NOT LEAVE THIS BLOCK EMPTY !!!
Please explain IN DETAIL what the changes are in this PR and why they are needed:

Summarize your change (mandatory)
How does this PR work? Need a brief introduction for the changed logic (optional)
Describe clearly one logical change and avoid lazy messages (optional)
Describe any limitations of the current code (optional)

Checklist

[ ] I have written the necessary rustdoc comments.
[ ] I have added the necessary unit tests and integration tests.
[ ] This PR requires documentation updates.

@lyang24 Hi, there are some CI failures, could you check them?

@lyang24 Hi, there are some CI failures, could you check them?

Yes, ci is green now

@lyang24 Is it ready to review? If it is, I'd like to do it.

@lyang24 Is it ready to review? If it is, I'd like to do it.

Sorry there is one more ci failure and i just pushed an update will let you know once the ci passed

Hey Dennis, I fixed the test failures its ready for review now.

@fengjiachun @sunng87 @MichaelScofield, please help do the review.

@WenyXu PTAL

@lyang24 Thanks a lot. It's a great work!

@lyang24 Would like to add the sample configurations into https://github.com/GreptimeTeam/greptimedb/blob/main/config/metasrv.example.toml
and describe them in the doc https://docs.greptime.com/user-guide/operations/configuration#metasrv-only-configuration ?

@lyang24 Would like to add the sample configurations into https://github.com/GreptimeTeam/greptimedb/blob/main/config/metasrv.example.toml
and describe them in the doc https://docs.greptime.com/user-guide/operations/configuration#metasrv-only-configuration ?

yes will do


fix: E2E tests

Description
E2E Tests are failing because the app is booting much slower after the last update.

Checklist

[x] npm test passes
[x] npm run build works
[x] tests are included
[x] documentation is changed or added

Hi @wtrocki I've removed the E2E tests from running per PR, but I need approval again

The default mobile-services.json has been cleaned, so there is no reason to do it in the pipeline


Add authordate to branch record

On the way to address #200

cool. eventually we might need to do a query and request "forceful refresh" so we re-extract those dates.


Citation for 'Projected Descent' method in Readme

Hi,
thanks for the open-source code!
I'm looking to implement something like https://openreview.net/forum?id=HJewiCVFPB (Gradient Surgery for Multi-Task Learning) using/on top of this repo, but i'm a little confused about whether the projected descent method that is mentioned in the Readme is something similar already present.
Could you add citations and sources for any additional algorithms and tricks that this repo implements apart from the main paper?
That would be very helpful!
(or alternatively it would be helpful to just get some pointers on what/where to modify to get what i want working)
PS: ^ the paper i mentioned just involves projecting the gradients of all tasks onto the planes of the gradients of the other tasks before doing updates, to avoid gradient conflicts, (for some quick context)
Thanks

It is computing the gradients and the dot products in the code. This should help but definitely does not include anything like the paper you mentioned. Projected gradient descent is solving the optimization problem we define in the paper, nothing more than that. The paper you cited is not doing projected gradient descent, they are doing some gradient projections but it is used in a different heuristic way. I would recommend reaching the authors of the paper you cited.


[SPARK-35675][SQL] EnsureRequirements remove shuffle should respect PartitioningCollection

What changes were proposed in this pull request?

Add PartitioningCollection in EnsureRequirements during remove shuffle.
Why are the changes needed?

Currently EnsureRequirements only check if child has semantic equal HashPartitioning and remove
redundant shuffle. We can enhance this case using PartitioningCollection.
Does this PR introduce any user-facing change?

Yes, plan might be changed.
How was this patch tested?

Add test.

Test build #139457 has started for PR 32815 at commit fa56cf7.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43980/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/43980/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/43980/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/139457/

cc @maropu @cloud-fan @yaooqinn

Test build #139552 has started for PR 32815 at commit 7a906a5.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44078/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44078/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44078/

Test build #139552 has finished for PR 32815 at commit 7a906a5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/139552/

Test build #139605 has started for PR 32815 at commit 7caddac.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44132/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/44132/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/44132/

thanks, merged to master

thanks for merging !

Test build #139605 has finished for PR 32815 at commit 7caddac.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/139605/


feat: :sparkles: add more archs

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


More testing

Proposed change

Adjust tests for invalid code testing
Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (which adds functionality)
[ ] Breaking change (fix/feature causing existing functionality to break)
[x] Code quality improvements to existing code or addition of tests

Additional information

This PR is related to issue: n/a

Codecov Report

Merging #111 (5b3ff36) into main (2513568) will increase coverage by 1.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #111      +/-   ##
==========================================
+ Coverage   83.31%   84.40%   +1.09%
==========================================
  Files           9        9
  Lines         917      917
==========================================
+ Hits          764      774      +10
+ Misses        153      143      -10

Impacted Files
Coverage Δ

custom_components/keymaster/__init__.py
74.90% <0.00%> (+3.80%)
:arrow_up:


FFT execution failure in ROCm 4.2.0

I'm investigating a number of testing failures of cupy.fft under ROCm 4.2.0. Some fft execution fails with return code CUFFT_EXEC_FAILED, that is actually HIPFFT_EXEC_FAILED in hipFFT, and it seems that rocFFT internally called returns rocfft_status_invalid_work_buffer there.

No, this is another problem.

It seems that hipFFT included rocFFT is deprecated since ROCm 4.1, and we need to one from hipFFT repository.
https://github.com/ROCmSoftwarePlatform/hipFFT

Fixed via https://github.com/cupy/cupy/pull/5318


Remove use of exit() in std.getopt example

Supersedes #3875

What the difference between directly returning from within the switch..case as in my #3875 and your creating a new boolean variable to hold the parsing status? IMO creating the boolean variable clutters the logic and gives opportunity for other mistakes (like resetting the variable accidentally or such).

It's customary to only supersede a PR if the original is closed.

@jamadagni, like I pointed out in #3875, one of your return statements was inside a nested function. It doesn't return from main and won't even compile since the nested function has void return type.
@JackStouffer, the old PR was inactive for almost a month despite comments. It is customary to take over inactive PRs. I'm waiting to close the old one until this is merged, that's all.

@JakobOvrum: I acknowledge that I hadn't acted upon it, but I hadn't really understood the problem. Your comment was very terse and I didn't realize it was pointing out a problem that needed to be fixed. You could have pinged me... Ah well. Will close my PR. Go ahead and merge this.

Auto-merge toggled on


Cyclic dependency with dio and interceptor

New Issue Checklist

[X] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
e.g. flutter

Platform Version
e.g.  any

Dio Version
e.g.  4.0.0

Android Studio / Xcode Version
e.g. any

Repro rate
e.g. all the time

Repro with our demo prj
e.g. does it happen with our demo project?

Demo project link
e.g. link to a demo project that highlights the issue

Issue Description and Steps
Use case: when a 401 occurs I must retry the failing request after refreshing the token. The issue is that the Dio instance depends on the interceptor and the interceptor depends this Dio instance in order to retry the request.
I feel like it would be a better design if we could avoid this cyclic dependency and I see two ways of exposing this API even though I haven't thought of how to execute this:

Having a handler like RequestInterceptorHandler on the onError callback. This way we could just update the set of request options and let it retry.
Receive the Dio instance that the interceptor is attached to via method params of the onError callback.

WDYT?

Using a new dio instance  in interceptor.

@wendux Isn't there any other way to solve this except for creating a new instance?

@wendux除了创建新实例之外，没有其他方法可以解决此问题吗？

no

@douglasiacovelli Have a look.
https://github.com/flutterchina/dio/issues/1088#issuecomment-814016908
Thanks to @mauriziopinotti I believe we finally have an answer.


Displaying one to many relationship on detail view

The example code.
https://github.com/flask-admin/flask-admin/tree/master/examples/sqla-inline
In the edit view, a Location(parent) and LocationImages(children) are displayed,
But in the detail view, only Location is displayed.
Would you please add the function to display Location and LocationImages on detail view?
It would be very helpful to apply the example code.

This answer is just in edit_view , not details_view.


Error render: Video load error [Object Event]

We recently created a video 360 monoscopic video and face this issue. removed the is_stereo=true from the script but still it fails to play reporting "Error render: Video load error [Object Event]" while the file is playing fine in html5 video tag it fails to open in vrview from two different file i.e. http://storage.googleapis.com/vrview/2.0/build/vrview.min.js and http://googlevr.github.io/vrview/

The code needs to be able to access the files. I can only take a guess based on what you've provided, but it looks like the video is only on your local machine, therefore the player can't access it. If this is the correct case, you may need to upload the file somewhere or host the code locally so it can access the file.

Here is the output from our web server and the files are playing fine in stand alone mode but without vr (cardboard) interface or mode.

Further we tried the simplevrvideo widget on android sdk with the below screen shot which resulted in no video while its plays the sound

Going off of the website as the issues in the android app are using a different SDK which can be found at googlevr/gvr-android-sdk, can you please send all of the output from the web console? This should have a clearer error message.
Is that one that working just a video tag? (Not using the VRView at all?) That's what it looks like in the snippets you've provided thus far, in which case your issue is still likely to be the same as I stated previously. The console logs will help clarify if this is the case or if there is something else going on.

On 4 Jan 2017, at 7:33 pm, naahar<EMAIL_ADDRESS>wrote:
Here is the output from our web server and the files are playing fine in stand alone mode but without vr (cardboard) interface or mode.
Further we tried the simplevrvideo widget on android sdk with the below screen shot which resulted in no video while its plays the sound
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Hats off @sbaker7 ... it finally worked..

It plays fine on desktop but fails to render on phone ....

Excellent. Can you tell me how you fixed it so I know where you're up to?
That phone looks like it's looking at a different page. Is it the same with different content or a different page entirely?

@sbaker7 it is the page as made slight changes on the content to ensure it is being updated ... We hosted the resources on our local web server (XAMPP) and commented the //is_stereo: true, and changed the file congo_2048 with our Mono file which works fine on the desktop but when we tried to access the same page through a phone it fails to render as shown in above ss ...

For those who end up here. Three steps might help you solve this.

Make sure your MP4 is not bigger than 2048 in width or height.
Make sure your MP4 has the correct codec*.
Check CORS and set Access-Control-Allow-Origin Access-Control-Allow-Origin

*Proper codec with FFMPEG:
ffmpeg -i input.mp4  -vcodec libx264 -vprofile high -preset slow -b:v 500k -maxrate 500k -bufsize 1000k -acodec libvo_aacenc -b:a 128k output.mp4

Set-vf scale=... for scaling: -vf scale=2048x1024

@bobvanluijt we are using premiere pro cc with match source sequence settings while exporting as reflected in attached screenshot... can you suggest how can we go about it from here...

@bobvanluijt stuck... "unknown encoder"

@naahar see update

@bobvanluijt Successfully decoded as shown below but still the same error as reflected above on January 4 ... do we have to inject metadata before decoding with ffmpeg

@naahar : Even I am having the same problem. It's working fine in desktop. But when I reduce it lower resolution, I am getting the same error
Any progress on this?

Yes, I had the same problem: it seems that Cross-origin resource sharing are not allowed by GitHub pages.

Hello
I'm having the exact same problem on this site : http://testsite.lightinchaos.com/FromScratch/Projects/Cuisine360/
The video is working fine on desktop but on the phone/tablet it says : Error render : video load error : [object event]
I've tried to allow CORS through an .htaccess file where I put
Header always set Access-Control-Allow-Origin "*"
Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, PATCH, DELETE"
Header always set Access-Control-Allow-Headers: Authorization
But it didn't  change a thing.
The phone is able to play 360 content through vrviews because when I try
https://storage.googleapis.com/vrview/index.html?video=//storage.googleapis.com/vrview/examples/video/congo_2048.mp4&is_stereo=true the video runs fine but when I try https://testsite.lightinchaos.com/vrview-master/index.html?video=//testsite.lightinchaos.com/vrview-master/examples/video/congo_2048.mp4&is_stereo=true I have the error. (video should be the same and I did not change the source code from git. so I don't understand why it doesn't work)
If you have any insight on the issue I would gladly appreciate any help
Thank you

I am facing the same issue
Error
Render : Video Load error :[Object Event]
How to solve this and where can I upload my videos to use
Thanks in advance

I still seem to have the same issue and i cant seem to be able to make it work could anybody help out ?i am trying to use Xampp


unable to retrieve class properties with .toJSON()

Informations

Type
Version

Bug/Improvement/Question
4.13.6

Im not able to call toJSON() into classes that has being decorated with @Required for example:
export class RegisterRequest {

    @Required()
    @Email()
    email: string

    @Required()
    @MinLength(6)
    password: string

    @Required()
    @MinLength(6)
    passwordConfirmation: string

    @Required()
    @Default(false)
    acceptTerms: boolean

    @Property()
    referralID?: string

}

RegisterRequest.prototype.toJSON() -> //nothing empty string
however the following works:
export class RegisterRequest {

    @Email()
    email: string

    @MinLength(6)
    password: string

    @MinLength(6)
    passwordConfirmation: string

    @Default(false)
    acceptTerms: boolean

    @Property()
    referralID?: string

}

RegisterRequest.prototype.toJSON() -> {
  email: undefined,
  password: undefined,
  passwordConfirmation: undefined,
  acceptTerms: undefined,
  referralID: undefined
}

i believe that the @Required might be overriding the metadata for the classes properties...

It's normal to use the RegisterRequest.prototype.toJSON via it's prototype ? It's a bit strange.

I think I'll even remove this method add on the stolen models because it's really dirty

Yeah getting the properties directly from the PropertyRegistry is much better...


"Invalid argument provided to downgrade MDL nodes" hides the real error.

I am importing react-mdl from current master branch (https://cdn.rawgit.com/tleunen/react-mdl/master/extra/material.min.js), and React 15.2.

In case I am doing something wrong, here is the syntax I am using to mount elements with MDL style, which is the only "downgrade" I can see in the project:
componentDidMount() {
    window.componentHandler.upgradeElement(this.refs.root);
}
componentWillUnmount() {
    window.componentHandler.downgradeElements(this.refs.root);
}

Thanks for reporting the issue @jdelafon. Are you able to reproduce the issue outside of your project, in a small example for example? This will help me finding a proper fix to this.

Honestly, no, but I think I narrowed it down:
When I paste something undefined, like undefinedFunction(12), anywhere in a component (render method or some callback), I get "undefinedFunction is not defined", as expected. But I am using Redux, and if I put it there:
[reducers.js]

let reducer = (state, action) => {
    switch (action.type) {
        case MY_ACTION:
            undefinedFunction(12)
...

then I get "Invalid argument provided to downgrade MDL nodes". Before the switch, all good. Mysterious. But Redux is widely used, and most of what happens goes through it when used.

Not yet. But I noticed that it happens when I call something undefined, like undefinedFunction(12) inside componentDidMount of any of my components.

So this should reproduce:
class Main extends React.Component {
    componentDidMount() {
        window.componentHandler.upgradeElement(this.refs.root);
    }
    componentWillUnmount() {
        window.componentHandler.downgradeElements(this.refs.root);
    }

    render() {return

}
}

class Sub extends React.Component {
    componentDidMount() {
        undefinedFunction(12)
    }

    render() {
        return

    }
}

but I don't know really how to create a small example project with this code to test.

The thing is, you should not upgrade/downgrade any of the component yourself, if you're using components from react-mdl.

Ah. I took a full boilerplate package to start, and it was already written so I left it. But indeed apparently I can remove that safely. I'd better ask them why it was there in the first place, then. If it is their mistake I'll close.

Because it looks like an issue with react-static-boilerplate, I'm closing the issue.


[INTERNAL] Cleanup README

 You should sign our Contributor License Agreement in order to get your pull request merged.

@Chariyski could you have a look?


How to disable kindle-dash?

Thank you for all the work on the project so far
I need to temporarily disable kindle-dash and get the regular kindle functionality, how would I go about doing that?

Indeed @coder543 that's exactly right :-) I realize it's not super convenient, but due to the continuous fetch-then-sleep loop you don't have many choices. I briefly looked into detecting the device was woken by the power button vs woken by the RTC (automatic wakeup), but didn't find a way to do this. If anyone knows how to achieve this, let me know!
On a related note; stop.sh currently only kills the dashboard, it doesn't restore the functionality that is disabled in start.sh. For me personally I wouldn't want to restart the built-in Kindle UI if I stop the dashboard, but this might depend a bit on your usecase. Perhaps we could add a flag like --restore to stop.sh, or add a separate disable.sh that does this.
In any case, for now if you wan't to revert back you can either restart the device or run the following commands:
/mnt/us/dashboard/stop.sh
lipc-set-prop com.lab126.powerd preventScreenSaver 0
echo ondemand >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
initctl start webreader
/etc/init.d/framework start

I briefly looked into detecting the device was woken by the power button vs woken by the RTC (automatic wakeup), but didn't find a way to do this. If anyone knows how to achieve this, let me know!

@pascalw You can simple store time before sleep, than compare to time after wakeup, and if it is "+- epsilon" same as planned time it is wakeup by RTC, if the difference is big enough it is wakeup by user. Maybe it can call some "local" script to do whatever user wants to to (eg. restoring original kindle, or do nothing, or something else)


DropFacet Audit Fixes

[Q-1] Lack of public view function to retrieve all claimable conditions
[M-1] Incomplete eligibility reset for conditions (removed functionality to reset)

@coderabbitai review


fix: error positioning in linear_combination

A tweak to linear_combination so that when the default normalization tactic fails, the "red underlines" appear on the linear_combination call itself, rather than just on the "by" at the start of the proof.  For example, compare before/after on this example:
import Mathlib

example {a : ℤ} (h : a = 1) : a = 2 := by
  linear_combination h

Zulip discussion:
https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/Propagating.20errors.20through.20Unhygienic.2Erun

bors r+


Compilation warnings

Fixed compilation warnings (seen in Android Studio) due to:

returning const bool
unused named function params

Just to confirm this is also on a windows machine, right?

Yes it is. Windows 10, Android studio 2.3 RC1
Le 1 mars 2017 5:41 PM, "Varun"<EMAIL_ADDRESS>a écrit :

Just to confirm this is also on a windows machine, right?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tangrams/tangram-es/pull/1328#issuecomment-283395076,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJAgcBByrWi-zPvDn11B3NQgkZUrNjqOks5rhZ-kgaJpZM4MOknI
.

The change for ignored-qualifiers warnings is certainly good.
For unused parameters I would prefer -Wno-unused-parameter instead. We should discuss it in the team.

Changes partly incorporated into https://github.com/tangrams/tangram-es/pull/1335 and merged.
Still haven't addressed the unused parameter warning.


  This gets the commit message closer to the commit graph.  I thought this would make the compact commit list easier to read.
moved-name.webm

This is nice thanks!

whoops - I forgot to install those pre-commit formatting hooks. I will fix this today after work.

@Murmele
I fixed the formatting by installing pre-commit using the setup-env script. I made sure clang-format actually ran on the source file I edited.
I also tried running the tests.  2 failed on my machine.  But then I checked out master and the same two tests failed.  So I don't think the tests failed because of my changes.  All the build targets in the github workflow worked last time (except the formatting test) so I think it should work this time.


Show wait boxes (or progress bar) while the program is checking for/downloading/installing updates (Trac #116)

Currently, the user has no indication that the program is doing anything and it looks like the software may have crashed.
Migrated from http://microfluidics.utoronto.ca/microdrop/ticket/116
{
    "status": "new",
    "changetime": "2014-03-13T20:00:48",
    "description": "Currently, the user has no indication that the program is doing anything and it looks like the software may have crashed.",
    "reporter": "ryan",
    "cc": "",
    "resolution": "",
    "_ts": "1394740848122658",
    "component": "",
    "summary": "Show wait boxes (or progress bar) while the program is checking for/downloading/installing updates",
    "priority": "major",
    "keywords": "",
    "version": "0.1",
    "time": "2012-08-01T16:03:30",
    "milestone": "",
    "owner": "cfobel",
    "type": "enhancement"
}

Trac update at 20140312T20:02:01: ryan changed milestone from "1.0" to "1.1"

Trac update at 20140313T20:00:48: ryan changed milestone from "1.1" to ""


CMake warning: Missing project() command

CI warning: https://ci.ros2.org/job/ci_windows/10157/consoleText
-- Build files have been written to: C:/ci/ws/build/tinydir_vendor
Microsoft (R) Build Engine version 16.5.0+d4cbfca49 for .NET Framework

Copyright (C) Microsoft Corporation. All rights reserved.

  Checking Build System

  Creating directories for 'tinydir-1.2.4'

  Building Custom Rule C:/ci/ws/src/ros2/tinydir_vendor/CMakeLists.txt

  Performing download step (download, verify and extract) for 'tinydir-1.2.4'

  -- Downloading...

     dst='C:/ci/ws/build/tinydir_vendor/tinydir-1.2.4/src/1.2.4.tar.gz'

     timeout='none'

  -- Using src='https://github.com/cxong/tinydir/archive/1.2.4.tar.gz'

  -- [download 100% complete]

  -- verifying file...

         file='C:/ci/ws/build/tinydir_vendor/tinydir-1.2.4/src/1.2.4.tar.gz'

  -- Downloading... done

  -- extracting...

       src='C:/ci/ws/build/tinydir_vendor/tinydir-1.2.4/src/1.2.4.tar.gz'

       dst='C:/ci/ws/build/tinydir_vendor/tinydir-1.2.4/src/tinydir-1.2.4'

  -- extracting... [tar xfz]

  -- extracting... [analysis]

  -- extracting... [rename]

  -- extracting... [clean up]

  -- extracting... done

  No update step for 'tinydir-1.2.4'

  Performing patch step for 'tinydir-1.2.4'

  Performing configure step for 'tinydir-1.2.4'

  CMake Warning (dev) in CMakeLists.txt:

    No project() command is present.  The top-level CMakeLists.txt file must

    contain a literal, direct call to the project() command.  Add a line of

    code such as

      project(ProjectName)

    near the top of the file, but after cmake_minimum_required().

    CMake is pretending there is a "project(Project)" command on the first

    line.

  This warning is for project developers.  Use -Wno-dev to suppress it.

It looks like you landed this patch on master, but the eloquent branch wasn't updated.  Since there aren't any other substantial changes, and this dependency has been dropped from foxy, I'm going to fast-forward the eloquent branch up to master.

And verification that the warning is gone:

Linux
Linux-aarch64
macOS
Windows

Thanks for reporting @rotu, looks to be cleared up.


load() is not triggered sometimes

Sometimes the entry.intersectionRatio is 0, cause load() not trigger.
use entry.isIntersecting will solve this.
https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry/isIntersecting
Test on Mac Chrome, version 69.0.3497.92.

@huaoguo many thanks for your contribution 💯

please reference your PR in related issues


Add missing standard CSS property names / values (per MDN)

Added a set of standard CSS properties and correspond value keywords, based on MDN.
Included is a utility that can be used to identify missing property names / values by comparing the config in css.js against MDN.

Propertiies added (reached CR)
Property names:
  "mask-clip",
  "mask-composite",
  "mask-image",
  "mask-mode",
  "mask-origin",
  "mask-position",
  "mask-repeat",
  "mask-size",
  "mask-type",
  "paint-order",
  "touch-action"

Correspond property value keywords:
{
  "mask-image": [
    "multiple_mask_images",
    "svg_masks"
  ],
  "mask-origin": [
    "fill-box",
    "stroke-box",
    "view-box"
  ],
  "touch-action": [
			"axis-pan",
			"manipulation",
			"pinch-zoom",
			"unidirectional-pan"
  ]
}

By using the utility, the followings can possibly be added too.

Non standard properties, that is in working draft state
[
  "-webkit-line-clamp",
  "aspect-ratio",
  "border-end-end-radius",
  "border-end-start-radius",
  "border-start-end-radius",
  "border-start-start-radius",
  "color-adjust",
  "counter-set",
  "initial-letter-align",
  "initial-letter",
  "inline-size",
  "margin-trim",
  "overflow-anchor",
  "overflow-block",
  "overflow-inline",
  "overscroll-behavior-block",
  "overscroll-behavior-inline",
  "overscroll-behavior-x",
  "overscroll-behavior-y",
  "overscroll-behavior",
  "scrollbar-color",
  "scrollbar-width",
  "text-decoration-thickness",
  "text-underline-offset",
  "transform-box"
]

Misc. property values that are missing
(The list include a few that are not keywords that need to be filtered out, e.g. 2_value_syntax.)
{
  "align-content": [
    "flex_context",
    "grid_context"
  ],
  "align-items": [
    "flex_context",
    "grid_context"
  ],
  "align-self": [
    "flex_context",
    "grid_context"
  ],
  "all": [
    "revert"
  ],
  "animation-direction": [
    "alternate-reverse"
  ],
  "animation-timing-function": [
    "jump"
  ],
  "appearance": [
    "compat-auto"
  ],
  "background": [
    "SVG_image_as_background",
    "background-clip",
    "background-origin",
    "background-size",
    "multiple_backgrounds"
  ],
  "background-attachment": [
    "multiple_backgrounds"
  ],
  "background-image": [
    "gradients",
    "image-rect",
    "image-set",
    "multiple_backgrounds",
    "svg_images"
  ],
  "background-position": [
    "multiple_backgrounds",
    "4_value_syntax"
  ],
  "background-position-x": [
    "two_value_syntax"
  ],
  "background-position-y": [
    "2_value_syntax"
  ],
  "background-repeat": [
    "multiple_backgrounds",
    "round_space",
    "2-value"
  ],
  "background-size": [
    "contain_and_cover"
  ],
  "block-size": [
    "fit-content",
    "max-content",
    "min-content"
  ],
  "border-bottom-left-radius": [
    "elliptical_corners",
    "percentages"
  ],
  "border-bottom-right-radius": [
    "elliptical_corners",
    "percentages"
  ],
  "border-image": [
    "gradient",
    "optional_border_image_slice"
  ],
  "border-radius": [
    "elliptical_borders",
    "percentages",
    "4_values_for_4_corners"
  ],
  "border-top-left-radius": [
    "elliptical_corners",
    "percentages"
  ],
  "border-top-right-radius": [
    "elliptical_corners",
    "percentages"
  ],
  "box-shadow": [
    "multiple_shadows",
    "spread_radius"
  ],
  "break-after": [
    "multicol_context",
    "paged_context",
    "region_context"
  ],
  "break-before": [
    "multicol_context",
    "paged_context",
    "region_context"
  ],
  "break-inside": [
    "multicol_context",
    "paged_context",
    "region_context"
  ],
  "caption-side": [
    "writing-mode_relative_values"
  ],
  "clear": [
    "flow_relative_values"
  ],
  "column-fill": [
    "balance-all"
  ],
  "column-gap": [
    "flex_context",
    "grid_context",
    "multicol_context"
  ],
  "column-width": [
    "intrinsic_sizes"
  ],
  "content": [
    "alt_text",
    "element_replacement"
  ],
  "cursor": [
    "bidirectional_resize",
    "grab",
    "unidirectional_resize",
    "url_positioning_syntax",
    "zoom"
  ],
  "display": [
    "display-outside",
    "flow-root",
    "multi-keyword_values",
    "ruby_values",
    "table_values"
  ],
  "flex-basis": [
    "max-content",
    "min-content"
  ],
  "float": [
    "flow_relative_values"
  ],
  "font": [
    "font_stretch_support",
    "system_fonts"
  ],
  "font-family": [
    "system_ui"
  ],
  "font-size": [
    "rem_values",
    "xxx-large"
  ],
  "font-stretch": [
    "percentage"
  ],
  "font-style": [
    "oblique-angle"
  ],
  "font-variant": [
    "css_fonts_shorthand",
    "greek_accented_characters",
    "turkic_is",
    "uppercase_eszett"
  ],
  "font-variant-alternates": [
    "annotation",
    "character_variant",
    "ornaments",
    "styleset",
    "stylistic",
    "swash"
  ],
  "font-weight": [
    "number"
  ],
  "gap": [
    "flex_context",
    "grid_context",
    "multicol_context"
  ],
  "grid-template-columns": [
    "animation",
    "fit-content",
    "minmax",
    "subgrid"
  ],
  "grid-template-rows": [
    "animation",
    "fit-content",
    "minmax",
    "subgrid"
  ],
  "height": [
    "fit-content",
    "max-content",
    "min-content"
  ],
  "hyphens": [
    "afrikaans",
    "bosnian",
    "bulgarian",
    "catalan",
    "croatian",
    "czech",
    "danish",
    "dutch",
    "english",
    "esperanto",
    "estonian",
    "finish",
    "french",
    "galician",
    "german_reformed_orthography",
    "german_swiss_orthography",
    "german_traditional_orthography",
    "hungarian",
    "icelandic",
    "interlingua",
    "italian",
    "kurmanji",
    "latin",
    "lithuanian",
    "norwegian_nn",
    "norwegian_no",
    "polish",
    "portuguese",
    "portuguese_brazillian",
    "russian",
    "slovenian",
    "spanish",
    "swedish",
    "turkish",
    "ukrainian",
    "upper_sorbian",
    "welsh"
  ],
  "image-rendering": [
    "crisp-edges",
    "pixelated"
  ],
  "justify-content": [
    "flex_context",
    "grid_context"
  ],
  "justify-items": [
    "flex_context",
    "grid_context"
  ],
  "justify-self": [
    "flex_context",
    "grid_context"
  ],
  "letter-spacing": [
    "svg"
  ],
  "list-style-type": [
    "ethiopic-halehame",
    "ethiopic-halehame-am",
    "string"
  ],
  "max-block-size": [
    "fit-content",
    "max-content",
    "min-content"
  ],
  "max-height": [
    "fit-content",
    "max-content",
    "min-content"
  ],
  "max-inline-size": [
    "fit-content",
    "max-content",
    "min-content"
  ],
  "max-width": [
    "fit-content",
    "max-content",
    "min-content"
  ],
  "min-block-size": [
    "fit-content",
    "max-content",
    "min-content"
  ],
  "min-height": [
    "fit-content",
    "max-content",
    "min-content"
  ],
  "min-inline-size": [
    "fit-content",
    "max-content",
    "min-content"
  ],
  "min-width": [
    "fit-content",
    "max-content",
    "min-content"
  ],
  "mix-blend-mode": [
    "svg"
  ],
  "offset-path": [
    "path-support",
    "ray-support"
  ],
  "opacity": [
    "percentages"
  ],
  "overflow": [
    "multiple_keywords"
  ],
  "overflow-wrap": [
    "anywhere"
  ],
  "place-content": [
    "flex_context",
    "grid_context"
  ],
  "place-items": [
    "flex_context",
    "grid_context"
  ],
  "place-self": [
    "flex_context",
    "grid_context"
  ],
  "position": [
    "absolutely_positioned_flex_children",
    "position_sticky_table_elements",
    "sticky"
  ],
  "quotes": [
    "quotes_auto"
  ],
  "resize": [
    "block_level_support",
    "flow_relative_support"
  ],
  "rotate": [
    "x_y_z_angle"
  ],
  "row-gap": [
    "flex_context",
    "grid_context"
  ],
  "ruby-position": [
    "inter-character"
  ],
  "shape-image-threshold": [
    "percentages"
  ],
  "shape-outside": [
    "gradient",
    "image"
  ],
  "tab-size": [
    "length"
  ],
  "text-align": [
    "flow_relative_values_start_and_end",
    "justify-all",
    "match-parent",
    "string"
  ],
  "text-combine-upright": [
    "digits"
  ],
  "text-decoration": [
    "shorthand"
  ],
  "text-decoration-style": [
    "wavy"
  ],
  "text-emphasis-position": [
    "left_and_right"
  ],
  "text-indent": [
    "each-line",
    "hanging"
  ],
  "text-orientation": [
    "sideways"
  ],
  "text-overflow": [
    "fade_function",
    "fade_value",
    "string",
    "two_value_syntax"
  ],
  "text-size-adjust": [
    "percentages"
  ],
  "text-transform": [
    "dutch_ij_digraph",
    "full-size-kana",
    "full-width",
    "greek_accented_characters",
    "lowercase_sigma",
    "turkic_is",
    "uppercase_eszett"
  ],
  "text-underline-position": [
    "from-font",
    "left_right",
    "under"
  ],
  "transform": [
    "3d"
  ],
  "transform-origin": [
    "support_in_svg"
  ],
  "transition": [
    "gradients"
  ],
  "transition-property": [
    "IDENT_value"
  ],
  "transition-timing-function": [
    "jump"
  ],
  "unicode-bidi": [
    "isolate",
    "isolate-override",
    "plaintext"
  ],
  "white-space": [
    "break-spaces",
    "svg_support",
    "textarea_support"
  ],
  "width": [
    "animatable",
    "fit-content",
    "max-content",
    "min-content"
  ],
  "word-spacing": [
    "percentages",
    "svg"
  ],
  "writing-mode": [
    "horizontal_vertical_values",
    "sideways_values",
    "svg_values"
  ],
  "z-index": [
    "negative_values"
  ],
  "clip-path": [
    "animations",
    "basic_shape",
    "fill_and_stroke_box",
    "html",
    "path",
    "svg"
  ],
  "filter": [
    "svg"
  ],
  "pointer-events": [
    "html_elements"
  ]
}

Thanks! I don't want the script in the repository, but I've merged the added words as a2e86b621151 and 1ac4e320224eb006

I'm just curious for the reasons of excluding the script: I feel they could be useful for future updates. Maybe not wanting to add new dependency (or changes) to CodeMirror 5?

My experience is that these kinds of scripts tend to bitrot in a forgotten corner of the repository. Putting it somewhere in a gist and linking it from here (or keeping the branch alive) might be useful, but I don't want to load down the repository with too much auxiliary code.

Ah, I could understand the sentiment. Anyway, I intend to leave the branch there so if you want to use it in the future it's there.
I considered further automating it, but realized anything further would probably need to be discussed and done separately from this PR.


Add basic support for listing texlive packages

Fix for issue #202. The packages show up in the nix-env listing, so the Nix part seems fine, but I don't know how to test the Python part as it seems to require setting up elasticsearch.
(and of course it's hacky, but the Texlive packaging scheme is completely different from the rest of nixpkgs...)

@Mathnerd314 Great work!
I think this would be better to solve in nixpkgs as we do for other package sets. I would assume there would be texlivePackages which we would have to traverse into.
nixos search is already a lot of hacks and a small force is keeping it all together for now. I would hate to add more complexity to it, especially since it would be better to upstream this. What do you think, can you open a PR against nixpkgs and reference this discussion?

I tried hacking on it, but the texlive code is quite complicated compared to other package sets with the way it filters and groupsoutputs. I don't think I can open a PR. Maybe @veprbl knows the code better than me...

@Mathnerd314 So expression in the PR doesn't work yet?

Well, it works as far as I can test it (for basic packages, not for collections or schemes). But AIUI @garbas is saying he'd rather change nixpkgs than include a workaround in nixos-search. But from poking around, it seems changing paths like texlive.memoir to be stdenv derivations rather than lists would require rewriting a lot of the package filtering logic.

@Mathnerd314 We could move your expression to texlive.__search, but we would still need to somehow do the s/texlive.__search./texlive./ on the path. In any case, I doubt we are going to be able to make texlive.memoir into a real installable package, AFAIK this is not how texlive can work.

@veprbl I'm not aware how texlive packaging is done, but search.nixos.org will only list installable packages. I assume the situation is similar as with vimPlugins for example or emacsPackages. You can not really use it if you install it but it is still a derivation.

@garbas

search.nixos.org will only list installable packages

Sorry, I'm confused. It currently does search on emacsPackages, but those are not installable.

@veprbl

search.nixos.org will only list installable packages

Sorry, I'm confused. It currently does search on emacsPackages, but those are not installable.

Sorry for the confusion. I think I to define what installable package is and then discussion will be easier :+1:
An installable package is a derivation and has a clear attr path to it.
In case of emacsPackages you can do nix-env -iA nixos.emacsPackages.jeison or nix build nixpkgs#emacsPackages.jeison or nix-build ./path/to/nixpkgs -A emacsPackages.jeison.
In case of texlive I would expect there would be a texlivePackages (or texlive.packages or something similar) to follow a common pattern in nixpkgs. Then one could do nix build nixpkgs#texlivePackages.12many to install a texlive package, like you can do with emacsPackages, pythonPackages, vimPlugins, etc ... I think currently you need to do something like nix build nixpkgs#textlivePackages.12many.0 (where 0 pointing to the first element in the list).
Would it be possible to create texlivePackages?

I guess we could talk about different levels of "installable packages":

Addressable by an attribute path. Unfortunately there isn't much support in Nix tooling for addressing lists. There is also not much reason for the texlive "packages" to be presented by ordered lists, so they might as well have been attrsets with keys like run, doc, source, or even a single derivation with multiple outputs. This is, however, not the current design and changing it would break the backwards compatibility.
Derivations actually working when installed. This might require some modifications to the kpathsea configuration and/or some other patching to make this work.
Derivations pluggable via shellHook. This could require similar framework as for 1. perhaps with some different performance trade-offs.

I'm only sure that 0. is achievable, but personally I am not convinced that it is worth it on its own.

@veprbl yes, number 0 is what is needed. maybe if this new API is created as texlivePackages and also preserving existing way of having an ordered list. A single derivation with multiple outputs sounds like it would the right way (the most nix way) to do it.


[sui_proxy/pod health]

Description

add a route for pod health in k8s

i am using the consumer_operations_submitted value but more values can be added later if we need to.  when this value is non-zero, it means the service is processing data correctly and can be used to consider it healthy enough to handle traffic.  it will be implemented as a liveness check.
Test Plan
local

Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

[ ] Protocol:
[ ] Nodes (Validators and Full nodes):
[ ] Indexer:
[ ] JSON-RPC:
[ ] GraphQL:
[ ] CLI:
[ ] Rust SDK:
[ ] REST API:

will this be a health or ready check?

will this be a health or ready check?

liveness


Update Scope Statement for Jakarta Architecture for XML Binding Project

Update the scope statement for the project: https://projects.eclipse.org/projects/ee4j.jakartaee-platform/governance
See https://docs.google.com/spreadsheets/d/1FPLjo_DJDOQngVtdrYgaDk98d9NBG-0ODgdmOG3LOsI/edit?usp=sharing for examples.

How about this?

Jakarta XML Binding defines an API and tools that automate the mapping between XML documents and Java objects.

I'm going to take the following to the Specification Committee for approval:

Jakarta XML Binding defines an API and tools that automate the mapping between XML documents and Java objects.


Update colors for Demo Architecture to match website theme

The mermaid based architecture diagram for the demo uses colors that do not match the colors of the website theme:
https://opentelemetry.io/docs/demo/architecture/
It would be great if someone would update the colors in the underlying mermaid definition to be in line with other graphics like https://opentelemetry.io/img/otel-diagram.svg or https://opentelemetry.io/img/waterfall-trace.svg
Here is where the colors are defined: https://github.com/open-telemetry/opentelemetry.io/blob/main/content/en/docs/demo/architecture.md?plain=1#L62
Special Note for Outreachy Contributors: if you want to work on this issue, please make sure that you have completed the small steps and at least one assigned issue as outlined here: https://github.com/open-telemetry/opentelemetry.io/issues/5290

hi @svrnm can i work on this issue ?

@Tharanishwaran we are currently running the participation phase for outreachy, and we need to reserve some good first issues for the participants. If you participate in outreachy please take a look in #5290, otherwise I can currently not assign this issue to you. When the participation phase ends, and this issue is still available, I am happy to assign it.

Thank you @svrnm

@svrnm can I work on this?

@svrnm can I work on this?

Please complete https://github.com/open-telemetry/opentelemetry.io/issues/5399 first

@svrnm Can I help with this?

@olamideTiana yes! Please take a look at the issue description and provide a PR

@svrnm I understand what I need to work on now... I'm working on it


Standardize Function Syntax to ES6 Format

Issue Overview
We have identified that most of our codebase utilizes ES6 syntax. However, there is at least one function still written in the older CommonJS format. This inconsistency can lead to potential confusion and maintenance challenges.
Expected Outcome

Ensure that all functions within our codebase conform to the ES6 syntax standard.
This will bring uniformity to our code and may improve readability and future maintainability.

Specifics

Locate the function(s) using the older CommonJS format.
Refactor these functions to the ES6 standard, ensuring that functionality remains unaffected.
Test thoroughly to ensure that refactoring does not introduce any regressions.

Contribution Guidelines

Please reference this issue in your pull request.
Ensure that your code follows our existing style guidelines.
Add comments where necessary to clarify complex logic after refactoring.
If multiple functions need refactoring, consider submitting separate pull requests for each to simplify review.

We welcome contributions to this issue and appreciate your help in improving the consistency and quality of our project's codebase.

Please assign me this issue. I am happy to help.

thanks! you can comment -  -Dot Take-  on any issue to claim it, and it will be assigned to you, taken from the CONTRIBUTING doc, Claiming an Issue section.


Combine all images to one

@digitaltom Note that this is untested as I don't have my Cam / Raspi with me...

Coverage increased (+0.2%) to 92.308% when pulling c53fc64b9916d77f297ec0c5c39e7408eb8d868f on ChrisBr:combine_images into db391da63b23f26f4949c8e6ad115a2f14e109cf on digitaltom:master.

Cool, I can try it out at home later

@digitaltom also implemented a gallery and link to it!

Coverage increased (+0.2%) to 92.308% when pulling 666755aaa5d2e62c4587fccb1f834b2b8c8adab5 on ChrisBr:combine_images into db391da63b23f26f4949c8e6ad115a2f14e109cf on digitaltom:master.

Coverage increased (+0.2%) to 92.308% when pulling d424beacd22fd7027a995035c931d3a76fd0c3dc on ChrisBr:combine_images into db391da63b23f26f4949c8e6ad115a2f14e109cf on digitaltom:master.

@digitaltom better late than never ... Updated your suggestions :smile:

(However, still untested ... But I can try it out on the weekend)

Coverage increased (+0.3%) to 92.405% when pulling 9b37fb587e1a0552e2cbf9f3e27546e46cbbb7e7 on ChrisBr:combine_images into b56510f6e2167364aa9bf081f3f3d51878a99055 on digitaltom:master.

@ChrisBr could you fix the rubocop issue?


Can't download chapters if there is a image in it

Source information
Firstkissnovel, scribble hub
Steps to reproduce
Open "The only fuel using the d" from scribble hub
Then download chapter 25 or 63
Or
Open "Emperors domination" from Firstkissnovel
Then download chapter 395 or 519

Expected behavior
It should download the chapters
Actual behavior
When I try to download chapters that have images I get 404 error or Chapter is empty error

LNReader version
2.0.0
Android version
Android 14
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 1.1.19.
[X] I have updated all installed extensions.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Works fine with emperor domination 519

Don't know about that. I even uninstalled my app then cleared my phone cache then installed the app again but I still can't download those

Got the same issue on Eneternal Samsara: The Wanderer of Worlds chapter 98


[Extension] auto-pick project using via response header in local dev

The sidekick extension currently shows the config picker on http:localhost:3000/ if there are multiple propjects configured, because it can't figure out on its own which one to use.
Since https://github.com/adobe/helix-cli/issues/1896 the proxy host is present in the via header, enabling the sidekick to auto-pick the right project.

:tada: This issue has been resolved in version 3.22.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fixed HMI shows identical navigation buttons for all registered apps

Fixes (https://adc.luxoft.com/jira/browse/FORDTCN-12379)
This PR is ready for review.
Testing Plan
SDL and HMI are started, mobile device connected;
Navigation app1 and navigation app2;
Mobile navigation app1 is activated;
Mobile app requests ButtonSubscriptions for of navigation buttons (e.g. NAV_ZOOM_IN, NAV_ZOOM_OUT);
Go to Nav Buttons on app1 HMI screen;
Go to Nav Buttons on app2 HMI screen;
Observe HMI shows buttons with an active subscription for app1 in Nav Buttons menu and does not show these buttons for app2 that has no active subscription for these buttons.
Summary
Fixed HMI shows identical navigation buttons for all registered apps
CLA

[x] I have signed the CLA

Submitted to OpenSDL - https://github.com/smartdevicelink/sdl_hmi/pull/591


macOS application should write data to ~/Library/Application Support and not in root user folder

macOS applications should write data to a specified folder under ~/Library/Application Support and not in the root user folder.

Fixed by https://github.com/hhanh00/zwallet/commit/49c41fa3f734cfbfaadaba76382b4b33e010a560


Get 'TypeError: Super expression must either be null or a function' after run build

In local, it work correctly, but when run build folder is created after run command 'yarn build' on server, I get error "TypeError: Super expression must either be null or a function" when load page use

Hi are you still facing this issue?

I am also experiencing the same error, I installed the package and used the example code, build my project and got that error: TypeError: Super expression must either be null or a function

No, it still the same. I have tried with the fresh project as well without loading any other module, but error remains same. I am using NodeJS v18.9.1, ReactJS v18.2.0


CMake option to provide linker options?

I'm not a CMake user myself, so this may be obvious, but it would be great if when using CMake to compile libmfem.a, the build system could be tweaked to provide a list of required link options for the resulting code.
For instance, if you compile mfem with SUNDIALS, but don't call any SUNDIALS-related routines, you still have to link against the sundials libraries at the final step.
Hence, it would be great if we could get CMake to provide a string of '-Wl,-rpath,foo -Lfoo -lbar' options for compiling your final program.

MFEM already supports this both when building with CMake and with GNU make.
In the CMake context this is achieved by exporting appropriate *.cmake files -- in MFEM they are installed in lib/cmake/mfem. These then can be used by the CMake build system of dependent packages, see for example the CMake build system of GLVis: https://github.com/GLVis/glvis/blob/master/CMakeLists.txt.
This was also discussed recently in #1163.

Fantastic! Let's add this to the 'how to use mfem' docs at somepoint.