feat: support live preview mode

@tasyne - you said you were able to test plugins? Could you test this? I don’t like releasing code that hasn’t had another set of eyes on it. :)

@scooper4711 - correct! Good news, all seems to work on my box. I've noticed the following, which may just be little bits of cleanup or new features. The main functionality for this feature all worked for me. I did not see any page-switching bugs, for example.

Upon loading Obsidian:
Uncaught (in promise) ReferenceError: syrinscape is not defined
plugin:syrinscape-player-control:1000
console.log("Syrinscape - Activating Syrinscape player.");
await syrinscape.config.init();
(also receive these same console errors when clicking a "play" button pre-activation)
A long-term recommendation could be: graying out all play/stop buttons and converting the hover text to "please initialize the audio context by clicking the button in the 'Syrinscape Online Player' plugin tab"

Latent debug messages: "SyrinscapePlayerWidget toDOM" in "editing" mode, when going from the syrinscape:... markdown to the unicode icon rendering.

in "source" mode, ("Current view: Editing", which displays the book icon): Only the "stop" button for the sound/mood ID that is currently playing will be able to actually stop the sound. No other stop buttons work except the one on the plugin tab, or a different stop button for the same sound/mood ID. In contrast, other "play" buttons will halt any other sounds that are playing, and then play their own.
in "reading" mode ("Current view: Reading", which displays the pencil icon), this functionality is identical to "source" mode, as described earlier.

Thank you so much @tasyne!
1a. Getting syrinscape properly initialized in all cases is proving to be difficult. I think I'll move this one to a separate bug. If you can provide reliable steps to recreate, that would be helpful. In particular, since I have the player auto-activate, I'm looking for how you were able to get it to not be active. There's two steps - activation (which establishes a web socket) and login (which sends the login token). I automatically do activation upon successful Obsidian initialization. But sometimes it doesn't work. I haven't figured out how to reliably recreate that.
1b. Greying out buttons until fully activated and logged in - very good idea. I'll log that as a feature request.

Thanks for spotting that. Squashed.

This is the syrinscape behavior for moods. Only one mood is ever playing at a time. So if you start a new mood, the old one turns off. Sound Effects and Music are different - you can start a mood, then add or remove sound effect and music loops by pressing play/stop. The Player widget has a "stop all" button, which just stops all elements that are currently playing.  Would you prefer a different approach? What, in that case?

3. This is the syrinscape behavior for moods. Only one mood is ever playing at a time. So if you start a new mood, the old one turns off. Sound Effects and Music are different - you can start a mood, then add or remove sound effect and music loops by pressing play/stop. The Player widget has a "stop all" button, which just stops all elements that are currently playing.  Would you prefer a different approach? What, in that case?

The way I use deep-urls + Obsidian in my notebooks now, is to have a single long (ish) document for each game session. This will include headings for various places I expect my players to go. Anyways, I find myself in the situation where I need to play a sound for the area, and then play another sound from a button/url further down the document. In the case of starting a different mood from syrinscape, this is fine. I will hit "play" and the old mood will disappear. Most of my use for Syrinscape is for moods, not effects. However, I have a number of audio background "moods" that are simply .mp3 files from quite a large library. I've been able to use deep-urls with VLC to achieve a similar effect, but I need to stop syrinscape playing before I click a VLC URL. If clicking a ▶ button causes any currently playing syrinscape mood to cease (supplanted by a new one) then why wouldn't any ⏹ button also cause any mood that is playing to halt? The behavior of one is global, the behavior of the other is tied to the mood that is playing (and it is difficult to determine which mood is playing). These ▶⏹ buttons are excellent for managing the player, and are probably all I need in order to be able to hide the syrinscape player plugin window entirely, but in the case of working with non syrinscape sounds, I need a way to reliably halt syrinscape. In my use-case, that halt behavior would be anywhere I see a ⏹, instead of having to hunt for the ▶⏹ that started the mood, or opening the syrinscape player panel.
^My use hinges on basically not using the music loops. Really just using moods (and the occasional monster sound effect). Another way to address this use-case could be to show which loops and moods are currently playing. Perhaps in the markdown (🎵), perhaps in the syrinscape player plugin window.
Just thought I'd share how I use it. I can see how non-mood music loops may throw a wrench into handling a player that does more than how I view syrinscape.

I understand your use case. This makes sense.
So how about:
mood: stop button stops all
music or sfx: stop button stops only that one music or sfx
one shot: no stop button.
Should I indicate "stop all" differently from "stop this one thing"?


HiDPI causes unsaved changes to be lost on window resize

Using Atom 0.207.0 and higher at least, on linux.
How to reproduce:
With the hidpi plugin enabled, I open a file and type some edits into it.  (In my case, I'm editing js / html files)  Then resize the window.
Expected result:  Bigger window, same files open exactly as before.
Actual result: Bigger window, same files open, but all unsaved changes are gone.

The problem is that after a DPI change, the current buffer will have rendering errors unless it is reloaded.  By default atom-hidpi closes the current buffer and reopens it.  On my computer (also linux, running gnome-shell) if there are changes atom asks me if I would like to save them before reopening the file.  If you are not seeing that prompt then there is definitely a problem.  What desktop environment / window manager are you using?
I've been thinking for awhile that closing and reopening files (even when it properly asks you to save changes) is not a good default because data can be lost if the user accidentally clicks "No" when it asks "FILE_NAME has changes, would you like to save them?".  I think I will disable the reopening feature by default and users who understand the risks can re-enable it.
It would also reduce the frequency of this problem if atom-hidpi only reopened the current file when the scale-factor actually changes.
Ideally I find a way to fix the rendering issues without reopening the current file, but so far I have not found any other solutions.

Hi!
I'm using KDE with the default (Kwin) window manager. I don't get a prompt of any kind.
The 'only reopen on scale-factor change' would definitely solve it for me. My scale factor almost never changes after I've started editing... I basically have two modes, plugged into monitor or only on laptop screen - so by the time I open Atom, I'm already in whatever mode I'm trying to be in about 98% of the time.
I'm the author of minimap-autohide... so I've done a bit of atom plugin coding.  Maybe there's a way to trigger the screen-refresh without closing the buffer.  You can do that with CTRL-ALT-R... and from the command palette you can use 'window:reload' - and a reload will keep unsaved changes...... So perhaps when scale-factor changes you can trigger that using atom.commands.dispatch or something?
Let me know if I can help in any way!

I have actually already tried that.  When I trigger the reload, it prompts me to save any changes.  If there are multiple files with changes, it prompts me to save all of them.  I chose to just reopen the current file because then you only need to deal with one prompt.
I am going to assume KDE is a special case.  I am currently installing it and I will investigate further.  For now, release c07bce029469544215e1469e39c455ad7e7be876 disables the reopen feature by default and adds 'only reopen on scale-factor change'.  Let me know if there are any problems.  I am going to close this issue and open another one for a better fix for the rendering errors.

I think I just figured out why I don't get a prompt... and it is not kwin. I am also using the save-session plugin.  If I have both save-session and hidpi enabled, I don't get a prompt and my changes are lost. if I disable save-session, but leave HiDPI enabled, I get the save changes prompt just as you described.
I'd guess that save-session disables the prompt in favor of it's own handling of the window close... but since you don't close the window, the changes simply get lost.  (That's just a guess, not based on code digging)
anyway - Wanted to let you know since it doesn't appear to be a KDE issue after all.

Thats good to know.  Thanks for investigating.


Support for Android, iOS vibration fallback, and default type

Added support for Android.
Vibration fallback for iOS < 10.0.
Default type is now 'selection'.
// these now both trigger selection
ReactNativeHaptic.generate()
ReactNativeHaptic.generate('selection')

Tested all methods on both iOS and Android physical devices, fully functional!

I just realized...
If using Android, you have to add:
<uses-permission android:name="android.permission.VIBRATE"/>

to the AndroidManifest.xml file.
Source: https://facebook.github.io/react-native/docs/vibration

Android usage info has been added to the readme.

This code was approved for use in the Google Play store as of Dec 6.


Fails on error when failOnError: false

Webpack fails to compile when there is an eslint error regardless of the failOnError flag set to false.

Sorry, this was cause by another plugin. new WriteFilePlugin({ exitOnErrors: false }),


mvn packed 7.9.1 fail

D:\test\vn-nlp-libraries\nlp-parent\elasticsearch-analysis-vietnamese\src\test\java\org\elasticsearch\index\analysis\VietnameseAnalysisTest.java:[10,41] error: cannot find symbol
Please help me

Just move your elasticsearch-analysis-vietnamese folder to your root folder (in your case D:\test), after that this should work well with elastic v7.5.1


Begin adding test infrastructure

I wanted to help out by adding tests, but I didn't want to get too far without making sure you were good with the direction I was going.

Chose RSpec v3.3 for the test system (it's what I'm most comfortable with)
Tried to add as little as possible to get things started (didn't use Bundler and create a Gemfile, etc)
Since I saw that you were using hyphens to separate words in file names (rather than the Ruby standard of underscores), I maintained that when naming the spec file I added

@lee-dohm You are a :star2: -- thank you for this. I should have mentioned that this is my first Ruby :gem: and basically the first time I write more than a few lines of Ruby. The reason why I chose Ruby is that it's one of the few languages that has an official GitHub API wrapper :smile:

Since I saw that you were using hyphens to separate words in file names (rather than the Ruby standard of underscores), I maintained that when naming the spec file I added

Wasn't aware of that, so thank you for pointing it out. :bow: Since this :gem: was published only yesterday, how big of a crime would it be to unpublish it, then fixup the names everywhere, and republish it as github_labeler?

Tried to add as little as possible to get things started (didn't use Bundler and create a Gemfile, etc)

I'd be :+1: on adding that stuff as well, I'm kind of discovering them as I go along. Happy to merge another PR from you if you're interested in adding that.

Wasn't aware of that, so thank you for pointing it out. :bow: Since this :gem: was published only yesterday, how big of a crime would it be to unpublish it, then fixup the names everywhere, and republish it as github_labeler?

I would keep the gem name the way it is. Gem names commonly use hyphens instead of underscores, it is only the filenames that commonly use underscores, like github_labeler_spec.rb instead of github-labeler-spec.rb.

Happy to merge another PR from you if you're interested in adding that.

Sure thing! I'll toss it together now before I hit the sack.

:cool: Thank you again!


feat: support signer and account management

Also allow procedures to be run in a self-contained context, and passing an optional signer to each
procedure

:tada: This PR is included in version 6.0.0-beta.13 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 7.0.0-alpha.5 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 7.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


pysvn package referenced but not included

When running rez commands in debug mode, the svn release plugin throws the following stack trace:
% setenv REZ_DEBUG_ALL true
% rez-config local_fore
17:10:50 DEBUG    loading build_system plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/build_system: rezplugins.build_system.bez...
17:10:50 DEBUG    loading build_system plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/build_system: rezplugins.build_system.cmake...
17:10:50 DEBUG    loading build_system plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/build_system: rezplugins.build_system.custom...
17:10:50 DEBUG    loading build_system plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/build_system: rezplugins.build_system.make...
17:10:50 DEBUG    loading build_system plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/build_system: rezplugins.build_system.rezconfig...
17:10:50 WARNING  no 'register_plugin' function at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/build_system: rezplugins.build_system.rezconfig
17:10:50 DEBUG    loading build_system plugin at /work/cm/rez-2/bart_scons-default/python/lib/python2.7/rezplugins/build_system: rezplugins.build_system.scons...
17:10:50 DEBUG    loading build_system plugin at /work/cm/rez-2/bart_setuptools-default/python-2.7/bart_setuptools/rezplugins/build_system: rezplugins.build_system.setuptools...
17:10:51 DEBUG    loading release_vcs plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/release_vcs: rezplugins.release_vcs.git...
17:10:51 DEBUG    loading release_vcs plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/release_vcs: rezplugins.release_vcs.hg...
17:10:51 DEBUG    loading release_vcs plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/release_vcs: rezplugins.release_vcs.stub...
17:10:51 DEBUG    loading release_vcs plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/release_vcs: rezplugins.release_vcs.svn...
17:10:51 DEBUG    Traceback (most recent call last):
  File "/rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rez/plugin_managers.py", line 124, in load_plugins
    module = loader.find_module(modname).load_module(modname)
  File "/rel/rez/third_party/python/2.7.13.x.<IP_ADDRESS>/lib/python2.7/pkgutil.py", line 246, in load_module
    mod = imp.load_module(fullname, self.file, self.filename, self.etc)
  File "/rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/release_vcs/svn.py", line 7, in <module>
    import pysvn
ImportError: No module named pysvn
...

Can pysvn be bundled and deployed with the rez so that error goes away?  It makes debugging easier when the user doesn't have to keep track of what errors need further investigation and what can be ignored.

pysvn is a binary extension so bundling it usually break across platforms / architectures / OS. You can control rather fine granular what errors you are getting so you could suppress plugin errors. That will not help if you want to debug a plugin though of course.
It brings up to questions that i have always been wanting to discuss:

I am not so much a fan of vendoring, and this case is a good example why. Even for pure python modules there is often platform specific requirements. I would like to see dependencies managed only via package requirements and requirements.txt files. any opinions?
In a similar vein i was always wondering if it may be a good idea to split plugins of altogether and give them a bit of a management control in regards to enabling and disabling plugins so we can also disable built in plugins to override them with custom ones

Cheers,
Thorsten

I agree with Thomas. I looked into what has to be done to make rez Python 3
compatible and all the vendored packages make this already a bigger
endeavour. The fewer we have, the better.
I think an installation wizard could be helpful in order to package what is
truly needed for the users plans. I haven't given it too much thought
though.
I don't see a need to package everything though because most of the time a
small subset of functionality is actually needed.
Cheers,
Sebastian
On Wed, Apr 25, 2018 at 02:41 Thorsten Kaufmann<EMAIL_ADDRESS>wrote:

pysvn is a binary extension so bundling it usually break across platforms
/ architectures / OS. You can control rather fine granular what errors you
are getting so you could suppress plugin errors. That will not help if you
want to debug a plugin though of course.
It brings up to questions that i have always been wanting to discuss:

I am not so much a fan of vendoring, and this case is a good example
why. Even for pure python modules there is often platform specific
requirements. I would like to see dependencies managed only via package
requirements and requirements.txt files. any opinions?
In a similar vein i was always wondering if it may be a good idea to
split plugins of altogether and give them a bit of a management control in
regards to enabling and disabling plugins so we can also disable built in
plugins to override them with custom ones

Cheers,
Thorsten
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nerdvegas/rez/issues/509#issuecomment-384177016, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFJeSFl5G4RwtwddaS_H5ThbdXdMgxNvks5tsBqMgaJpZM4TinDK
.

--
Sent from mobile device

I was wondering the same thing but unfortunately that wouldn't work when
exposing rez as a Python package.
It might be useful to separate the required packages for the cli and for
the rez Python package. This way only packages that are necessary for the
rez API would need to be vendorized.
On Wed, Apr 25, 2018 at 09:20 JeanChristopheMorinRodeoFX <
<EMAIL_ADDRESS>wrote:

Talking about the python packages installed in the vendor folder. Is there
any reason to not install them via the setup.py file?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nerdvegas/rez/issues/509#issuecomment-384283731, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFJeSHaUUcCz-qnB60gc1XToLi04Ccb2ks5tsHgkgaJpZM4TinDK
.

--
Sent from mobile device

Pysvn used to be bundled, it was removed a long time ago, I don't recall
the details. I would be in favor of removing this plugin.
Anyone actually using svn, shout out please.
A
On Wed, Apr 25, 2018 at 10:24 AM, brentVilla<EMAIL_ADDRESS>wrote:

When running rez commands in debug mode, the svn release plugin throws the
following stack trace:
% setenv REZ_DEBUG_ALL true
% rez-config local_fore
17:10:50 DEBUG    loading build_system plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/build_system: rezplugins.build_system.bez...
17:10:50 DEBUG    loading build_system plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/build_system: rezplugins.build_system.cmake...
17:10:50 DEBUG    loading build_system plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/build_system: rezplugins.build_system.custom...
17:10:50 DEBUG    loading build_system plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/build_system: rezplugins.build_system.make...
17:10:50 DEBUG    loading build_system plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/build_system: rezplugins.build_system.rezconfig...
17:10:50 WARNING  no 'register_plugin' function at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/build_system: rezplugins.build_system.rezconfig
17:10:50 DEBUG    loading build_system plugin at /work/cm/rez-2/bart_scons-default/python/lib/python2.7/rezplugins/build_system: rezplugins.build_system.scons...
17:10:50 DEBUG    loading build_system plugin at /work/cm/rez-2/bart_setuptools-default/python-2.7/bart_setuptools/rezplugins/build_system: rezplugins.build_system.setuptools...
17:10:51 DEBUG    loading release_vcs plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/release_vcs: rezplugins.release_vcs.git...
17:10:51 DEBUG    loading release_vcs plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/release_vcs: rezplugins.release_vcs.hg...
17:10:51 DEBUG    loading release_vcs plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/release_vcs: rezplugins.release_vcs.stub...
17:10:51 DEBUG    loading release_vcs plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/release_vcs: rezplugins.release_vcs.svn...
17:10:51 DEBUG    Traceback (most recent call last):
File "/rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rez/plugin_managers.py", line 124, in load_plugins
module = loader.find_module(modname).load_module(modname)
File "/rel/rez/third_party/python/2.7.13.x.<IP_ADDRESS>/lib/python2.7/pkgutil.py", line 246, in load_module
mod = imp.load_module(fullname, self.file, self.filename, self.etc)
File "/rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/release_vcs/svn.py", line 7, in
import pysvn
ImportError: No module named pysvn
...
Can pysvn be bundled and deployed with the rez so that error goes away? It
makes debugging easier when the user doesn't have to keep track of what
errors need further investigation and what can be ignored.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nerdvegas/rez/issues/509, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABjqSiM6Fn2xgQ78IhXLkth8C2Fdl0hVks5tr8JLgaJpZM4TinDK
.

Right, remembering now. Pysvn has binary components, that's why it isn't
included.
Those vendor packages are embedded with rez because rez is not a standard
python package that can simply be install with pip etc. This is because its
cli tools need to work within resolved environments, which can easily
invalidate rez itself (eg, py2-based rez trying to function in a py3-based
env).
Right now, the rez installation actually installs into a virtualenv, so in
theory we could install these packages natively into that venv, rather than
packaging with rez. However, that would lock us into rez being a venv-based
install, and I think this is quite possibly not a good thing. The
installation as it currently stands is messy and terribly complicated, and
using virtualenv also impacts on performance (I believe it's adding perhaps
1/3rd-1/2 second startup time, which is not insignificant).
"""It might be useful to separate the required packages for the cli and for
the rez Python package. This way only packages that are necessary for the
rez API would need to be vendorized."""
There is no difference between rez-CLI and rez-package requirements -
virtually everything you can do with rez CLI, you can do with the API also
(as should be the case for any half-decent piece of software!)
If I could start from scratch tomorrow I would probably shift to a
microservice-based architecture and remove these dependency issues that way

the CLI tools (and API) would then become thin clients to a rez daemon
running on localhost (a shared service would be great also, but that's
another can of worms). That's a lot of work though.

A
On Tue, May 1, 2018 at 9:44 AM, Allan Johns<EMAIL_ADDRESS>wrote:

Pysvn used to be bundled, it was removed a long time ago, I don't recall
the details. I would be in favor of removing this plugin.
Anyone actually using svn, shout out please.
A
On Wed, Apr 25, 2018 at 10:24 AM, brentVilla<EMAIL_ADDRESS>wrote:

When running rez commands in debug mode, the svn release plugin throws
the following stack trace:
% setenv REZ_DEBUG_ALL true
% rez-config local_fore
17:10:50 DEBUG    loading build_system plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/build_system: rezplugins.build_system.bez...
17:10:50 DEBUG    loading build_system plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/build_system: rezplugins.build_system.cmake...
17:10:50 DEBUG    loading build_system plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/build_system: rezplugins.build_system.custom...
17:10:50 DEBUG    loading build_system plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/build_system: rezplugins.build_system.make...
17:10:50 DEBUG    loading build_system plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/build_system: rezplugins.build_system.rezconfig...
17:10:50 WARNING  no 'register_plugin' function at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/build_system: rezplugins.build_system.rezconfig
17:10:50 DEBUG    loading build_system plugin at /work/cm/rez-2/bart_scons-default/python/lib/python2.7/rezplugins/build_system: rezplugins.build_system.scons...
17:10:50 DEBUG    loading build_system plugin at /work/cm/rez-2/bart_setuptools-default/python-2.7/bart_setuptools/rezplugins/build_system: rezplugins.build_system.setuptools...
17:10:51 DEBUG    loading release_vcs plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/release_vcs: rezplugins.release_vcs.git...
17:10:51 DEBUG    loading release_vcs plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/release_vcs: rezplugins.release_vcs.hg...
17:10:51 DEBUG    loading release_vcs plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/release_vcs: rezplugins.release_vcs.stub...
17:10:51 DEBUG    loading release_vcs plugin at /rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/release_vcs: rezplugins.release_vcs.svn...
17:10:51 DEBUG    Traceback (most recent call last):
File "/rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rez/plugin_managers.py", line 124, in load_plugins
module = loader.find_module(modname).load_module(modname)
File "/rel/rez/third_party/python/2.7.13.x.<IP_ADDRESS>/lib/python2.7/pkgutil.py", line 246, in load_module
mod = imp.load_module(fullname, self.file, self.filename, self.etc)
File "/rel/third_party/rez/2.18.0/lib/python2.7/site-packages/rez-2.18.0-py2.7.egg/rezplugins/release_vcs/svn.py", line 7, in
import pysvn
ImportError: No module named pysvn
...
Can pysvn be bundled and deployed with the rez so that error goes away?
It makes debugging easier when the user doesn't have to keep track of what
errors need further investigation and what can be ignored.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nerdvegas/rez/issues/509, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABjqSiM6Fn2xgQ78IhXLkth8C2Fdl0hVks5tr8JLgaJpZM4TinDK
.


Linker Command Failed with Exit Code 1 while building MIOpenDriver

I am having issues trying to build and install MIOpenDriver. and here is the output of the error:
ld: /tmp/tmp.wM7w0mfIhT/main.cpp.host.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv'
//usr/lib/x86_64-linux-gnu/libboost_system.so.1.58.0: error adding symbols: DSO missing from command line
clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)
driver/CMakeFiles/MIOpenDriver.dir/build.make:128: recipe for target 'bin/MIOpenDriver' failed
make[3]: *** [bin/MIOpenDriver] Error 1
CMakeFiles/Makefile2:3281: recipe for target 'driver/CMakeFiles/MIOpenDriver.dir/all' failed
make[2]: *** [driver/CMakeFiles/MIOpenDriver.dir/all] Error 2
CMakeFiles/Makefile2:3288: recipe for target 'driver/CMakeFiles/MIOpenDriver.dir/rule' failed
make[1]: *** [driver/CMakeFiles/MIOpenDriver.dir/rule] Error 2
Makefile:1365: recipe for target 'MIOpenDriver' failed
make: *** [MIOpenDriver] Error 2

@xx005fs Apologies for the lack of response. Can you please test with latest ROCm 6.1.0 (HIP 6.1)? If resolved, please close ticket. Thanks!


Clipped article URL and other metainfo not imported from .enex files

The Evernote article in the attached .enex file contains meta information that was stored by the Evernote web page clipper.  But the Obsidian Importer doesn't import important meta info.  For example, the URL where the web article was clipped from is missing in Obsidian, although it is present in the .enex.
The source URL is absolutely essential for a reference note, which is what most of my Evernote pages are.  Also missing are the dates for when the note was created and last modified.
Evernote3_is_really_enex.txt

Request seconded. Preserving the source URL in Evernote note metadata is quite important to my use cases. The Evernote web clipper was a big part of that, but I also had quite a number of organic notes that referenced a source URL this way. (The source link, when present, used to be very prominent in the EN note UI. This encouraged its use, especially for "annotated bookmarks" and the like.)

I've been excited at the prospect of moving everything over from Evernote when I found the time. I just sat down and imported over 5000 notes from Evernote before realizing the source URLs weren't coming along.
This is a critical bit of info for many notes. (Dates would be nice as well.)
Please consider an enhancement to the importer..? It doesn't seem complete when core metadata is left behind.


Use data driven style for highway lines

We need to merge #63 addressing this issue.

I am working on it, but I meet some problems with properties that don't support data-driven. Line-cap and line-dasharray don't support it. I'll try to separate the highway_lines in some layers that are coherent.


Add signatures for Circuitbox

Circuitbox is a circuit breaker implementation.
This patch adds the fundamental signatures for Circuitbox and is not intended to provide holistic types. I hope Circuitbox users can enjoy typing with the new signatures.

Thanks!


Refactor/issue301 authchecks 20210421

moved access right checks to security module

21 is_authorized_<action> functions
4 helper functions

How about a module security.authz so that one could do
from security import authz

if authz.apikey_deletion(user, key):
    ...

What do you think?

yea, totally makes sense - currently the security.py is a bit overloaded.

thanks for review @MoritzHahn1337

closing, as these changes will come in #311


Doesn't work

Can't figure out how to make it work. Anyone have any ideas?

Majorly bummed.   The last update to StreamDeck seems to have killed it.

From what I can see, the issue has to be StreamDeck and/or plugin.  I've tested calling the api manually with Beefweb .6 in 1.6.16 Foobar with no issues.

Any update with the last feb version of streamdeck soft 6.05?

@docop  As I suspected, it was a bug in StreamDeck.  Get the latest update.  Now my stocks work AND Foobar is working!!!!!!!!!

Got the latest updates and still doesn't work.
Win 11 x64 (german)
Foobar2000 2.1 (x64)
Stream Deck (15keys, new edition) Firmware 1.02.000
Stream Deck software 6.5.0 19904
Beefweb 0.8
Foobar Plugin 1.5


New version: Jellyfin.Server version 10.8.11

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run


Giving success message as response  with 200 success status code.

Hi
i want to give success message as return along with status code.
For returning an error we are using
reject(new Error(message));
{     "resourceType": "OperationOutcome",     "text": {         "status": "generated",         "div": "

Operation Outcome

error
Email Already Exists

"     },     "issue": [         {             "severity": "error",             "code": "exception",             "diagnostics": "Email Already Exists"         }     ] }
and its working fine.
please help us to return a success message like below mentioned. while we resolve a resource like
			resolve(composition_resource);
{     "resourceType": "OperationOutcome",     "text": {         "status": "generated",         "div": "

Operation Outcome

error
Resource Created

"     },     "issue": [         {             "severity": "information",             "code": "exception",             "diagnostics": "Resource Created"         }     ] }

@jonterrylee
can you please look in to it and give a solution.

@brianghig @rstjohn @andrewmarcus @jonterrylee  not getting this id as return value . while tryingto resolve using
	resolve({ id: location_resource.id });
Please help on this.


ClientCertificateCredential raises exception due to unauthorized_client

Requesting a token from ClientCertificateCredential raises ClientAuthenticationError: Unexpected response with an unauthorized_client error from Azure Active Directory:
{
    "error": "unauthorized_client",
    "error_description": "AADSTS700016: Application with identifier 'foo' was not found in the directory 'foo' ...",
    "error_codes": [700016],
    "error_uri": "https://login.microsoftonline.com/error?code=700016",
    ...
}

The application identifier and directory identifier in the AAD error description are identical. This indicates the request was malformed--the tenant ID is also being sent as the application ID.

Closed by #8315


[HOLD] Use TF module VPC

What this PR does / why we need it:
Try to fix the teardown OCP issues by changing the way we create the VPC
Here we use now the same process as in the TF modules
Which issue(s) this PR fixes
Change type

[ ] New feature
[ ] Bug fix
[ ] Build
[x] CI
[ ] Documentation
[ ] Performance
[ ] Refactor
[ ] Style
[ ] Unit tests
[ ] Subsystem tests

Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.

/hold

/retest

/test rosa-hcp-private-critical-high-presubmit

/test rosa-hcp-advanced-critical-high-presubmit

/test rosa-hcp-advanced-critical-high-presubmit

/test rosa-hcp-private-critical-high-presubmit

/unhold
/approve
/lgtm


Use a single compass instance for multiple files.

So this is possibly a bit of a radical change of approach, so asking for feedback more than a quick merge.
The overhead of starting up the Ruby vm, and initialising compass for each file that needed building was causing a 'nothing to be done' build for 10 or so output files to take over 30s, actually generating the CSS would take around 15s more.
The change will use the input pipeline to just get filenames, and then only shell out to compass once all the file names have been listed. This allows us to pass all the files to compass, and let it do it's thing on mass.
With this change it's down to < 5s for the nothing to be done version, and < 20s for an actual build.
If the idea is sound, I'll take some more time to get the code up to scratch (there's some definite mess in there).
Thanks!

Coverage increased (+0.46%) to 96.51% when pulling 4efe94b667513b0ee36f430fc0203f1ee33230e6 on DigitalInnovation:batch-generation into 7c5afc4be9008ce6937c49091dfd852d8a549007 on appleboy:master.

Coverage increased (+0.46%) to 96.51% when pulling 4efe94b667513b0ee36f430fc0203f1ee33230e6 on DigitalInnovation:batch-generation into 7c5afc4be9008ce6937c49091dfd852d8a549007 on appleboy:master.

Coverage increased (+0.76%) to 96.81% when pulling 23bf1f67b8067dd42c8fa6e5a2f6135f57369e4d on DigitalInnovation:batch-generation into 7c5afc4be9008ce6937c49091dfd852d8a549007 on appleboy:master.

@cwninja :+1:

So there's not much more I can do with this, and we've been using it for over a month with about 20 or so users. I'd push for this to be merged.

:+1: for this bein added

bump to 2.1.0
@cwninja Thanks.


TheLeadGame

The Lead Game is the best question for those who are at the beginning in Solving CodeChef Problems.
Describe the solution you'd like
The code will be submitted in c++ language.

/assign


All functions showing as scalar-valued despite showing as Table-valued in SSMS

SQL Operations Studio Version: 0.24.1
Steps to Reproduce:
Connect to an existing database with Table-valued functions.
Expand the Functions folder and see if they are still listed as Table-valued or whether they now show under Scalar-valued Functions

To be clear, all Table-Valued functions do show under Table-valued functions, but they also show under Scalar-valued functions, cluttering the list of Scalar-valued functions.

Hi - thanks for looking into this. When I connect to a server running Microsoft SQL Server 2008 R2 (SP3) - 10.50.6220.0 (X64)  - I don't get any table valued functions at all. They are all in the Scalar section.

Sorry - same picture twice


Missing branches in flutter dashboard combo box

The list of branches is presenting all the values. In some cases it is missing release candidate branches and almost always is missing the main branch.

The build dashboard is missing the entire 3.12 suite. @XilaiZhang do you know if changes were made to refreshing branches? It looks like it was accidentally removed in https://github.com/flutter/cocoon/pull/2808

Umm reading through https://github.com/flutter/cocoon/pull/2808 it doesn't seem like it changed any of the logic in get_branches.dart (https://github.com/flutter/cocoon/blob/main/app_dart/lib/src/request_handlers/get_branches.dart). It seems like we are just fetching branches that had activities in the past 60 days. I guess we could change the logic in get_branches.dart and always fetch release branches?

Thanks for the context! Just to verify my understanding, since the pubsub for branch subscription was deleted, this means that when new branches are created, they are not tracked. Do we still want to restore the logic of tracking new branches added? Or maybe we are good with retrieving release branches, and not care about tracking new branches created any more?

Either approach SGTM

Any blockers on this? I'm seeing this again on this weeks beta release

Thanks for the reminder! will start working on this today

Up to now we have made the following progress:
2. fixed mock and fake mismatch error
3. inspected mock on nullables https://github.com/dart-lang/mockito/issues/630
4. implemented a good portion of the stubs for mock calls
5. finished the src code logic
The remaining steps are to finish all the typings and matches in the remaining stubs, will continue with this tomorrow.

Today we finished the remaining setups in tests, and get all the stubs in mocks to finally work correctly. (yeah it took quite a while to relearn all the dart and cocoon details). Created https://github.com/flutter/cocoon/pull/2924 and sent it out for review.

https://github.com/flutter/cocoon/pull/2924 has merged

from triage: next step: change options to just stable, dev and beta

Fixed in https://github.com/flutter/cocoon/pull/3021


tiledbsoma 1.13.0 pre-check

Following our established procedure

CI fai same as #188 which likely has to do with recent conda-forge migration of fmt and spdlog ...

Commits 2 & 3 address fmt 11 and spdlog 1.14 ...

Most recent CI fail: macos only (x86 and arm64 both):
Could not solve for environment specs
The following packages are incompatible
├─ fmt 11.0.1.* h420ef59_0 is requested and can be installed;
└─ libtiledbsoma 1.13.0.* h131f870_0 is not installable because it requires
   └─ fmt >=10.2.1,<11.0a0 , which conflicts with any installable versions previously reported.

👀 🤔

Trying https://github.com/TileDB-Inc/tiledbsoma-feedstock/pull/189/commits/217fdb4ac17375e32680a1ffa7a080a349e1aaee ... 🤞

See also https://conda-forge.org/status/migration/?name=fmt11 ...

I'm confused. Latest commit https://github.com/TileDB-Inc/tiledbsoma-feedstock/pull/189/commits/bcff435da0132606542bab03c32fbe5252127b6e, and priors, fail osx CI with
The following packages are incompatible
├─ fmt 11.0.1.* h3c5361c_0 is requested and can be installed;
└─ libtiledbsoma 1.13.0.* ha6d8b7b_0 is not installable because it requires
   └─ fmt >=10.2.1,<11.0a0 , which conflicts with any installable versions previously reported.

-- yet I can't see where this pin arises.

Seems like the pin comes from here, but I don't see why.

Closing per our established procedure


BUG with findmany on nextjs

Bug description
after more investigation it seams it is prismas findmany in combination with nextjs, it does not mather if its on vercel or not.
if i npm run build and npm run start locally i get same results.
but if i run npm run dev it works.
this findmany caches forever after first run (even if you try other devices it still shows the data from first run and deleted posts are still there also new prompts is not there)
here is my /api/prompt route
const prompts = await prisma.prompt.findMany({ include: { creator: true }, });
and this one works without a problem everytime :
here is my /api/users/[id]/prompt route
const prompts = await prisma.prompt.findMany({ where: { creatorId: params.id, }, include: { creator: true }, });
i have tried many different aproaches solving this but nothing seams to work. this problem started when i implemented prisma instead of using mongoose/mongodb.
i now use postgres database (atm supabase if that mathers for investigation)
How to reproduce
Use nextjs 13 with appfolder and no src folder, create 2 different routes that uses findmany as above, and setup prisma to supabase postgres. load the feed to fetch all prompsts,. and make a profile page that can list its own prompts with params that contain id to filter in findmany
Expected behavior
expected behavior is that the feed page should update with current prompts in database, not showing deleted prompts and showing new prompts. which it does not.
in profile page it works flawlesly
only difference is this part in findMany:
where: { creatorId: params.id, }
Prisma information
generator client {
provider = "prisma-client-js"
seed     = "node prisma/seed.ts"
}
datasource db {
provider = "postgresql"
url      = env("DATABASE_URL")
}
Environment & setup

OS:
archlinux (same results on vercel production tho)

Database:
postgres (same results on vercel production tho)

Node.js version:
v19.9.0 (same results on vercel production tho)

Prisma Version
"prisma": "^4.14.0",

@nitlott thank you for the report, however at least to me it's a bit hard to understand it since you refer to the concepts and entities from your project which we cannot see, and it feels like there's some missing context. Could you please provide at least the schema, or, even better, a full reproduction if it's possible?
Also, what do you mean by "after more investigation"? Is there's another relevant issue or discussion that should be linked here?


Add option to customize project access roles

Issue: https://issues.redhat.com/browse/ODC-5447
Extends the Console CRD to add configuration option to allow cluster admins to specify and customize project access roles.
According to enhancement proposal: https://github.com/openshift/enhancements/pull/668

/cc @jerolimov

/retest

Lgtm! Exactly how we have defined such fields the last time.
Question to go expert @jhadvig, similar to the last time we don't use a pointer ref here, right? A pointer makes it in my understanding easier to differs later between "not configured" (key is missing) and an empty list.
Or do we go the go standard way here where don't use a pointer and we don't need to check for nil later?
/cc
/uncc abhinavdahiya derekwaynecarr
/assign spadgett jhadvig

/cc spadgett jhadvig

/assign @spadgett

/retest

/retest


Fix #669, #670

Fixes #669
Fixes #670

Don't sort models returned for the Free Provider, since the order already indicates usefulness. Other providers are sorted
Show the full model name with provider in the Ask menu, but shorten in other places to fit the UI by removing vendor (e.g., Ask button, name in message)
Extract model from response and use that vs. model user used to make request, which is useful for routed models (e.g., auto in the free provider will turn into something else)

My limited testing seems to indicate that this is working well, but see if you agree.

I had to fix the pnpm lock file version and CI/CD as well to get this to pass.

Long time since I seen a chatcraft pull req from you :) Works awesomely.
Btw we should fix
 someday

Some of those hook deps are intentional, since we don't need/want to re-render.  We shouldn't trust lint without understanding each.


You can set an app_label on your custom image model. Account for this…

… in image admin changelist url.
suggestion by @azuax

thanks!


Move the edit portfolio button top the kebab menu

Move the edit portfolio button top the kebab menu
https://projects.engineering.redhat.com/browse/SSP-814
Before:

After:

Codecov Report

Merging #282 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #282   +/-   ##
=======================================
  Coverage   83.48%   83.48%
=======================================
  Files         105      105
  Lines        1223     1223
  Branches      106      106
=======================================
  Hits         1021     1021
  Misses        184      184
  Partials       18       18

Impacted Files
Coverage Δ

src/toolbar/schemas/portfolio-toolbar.schema.js
92.3% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@gmcculloug @lgalis is this a new request from UX? I remember that at some point the edit action was in the kebab but i was told to move outside the kebab and put it to the toolbar.
Code changes are OK.

@sbuenafe-rh Can you answer the question from @Hyperkid123 above?

@Hyperkid123 yep, this was a request awhile back. Rolling it under the kebab will just streamline the header.
@lgalis looks good!


Punct filter inadvertently marks places with "," as nonsense

Gazetteer unofficial entry "Washington, DC" and other forms  are flagged as non-sense by punct filter.
test / solution:  if both match and test entry have ", " and are near exact matches, then the match is not likely non-sense.

Remove custom PPLC entry for "Washington DC" from adhoc gazetteer -- this case is already accounted for in MajorPlace rule.

Appears to work fine.

GazetterMatcher triages matches for common nonsense punctuation.  "Wash, DC" passes.   "Wash | DC" does not
NonsenseFilter further inspects matches for allowed punctuation appearing in invalid fashion.  Wash, ....,,,,, DC would  not pass.


Rollback ejb client to 4.0.33.Final.

An experiment to see if this upgrade is causing TwoConnectorsEJBFailoverTestCase to hang.

Results from several CI runs seems to confirm that rolling back this upgrade resolves the hanging issues with TwoConnectorsEJBFailoverTestCase.  I've removed the hold label.


NGINX revers proxy + goaccess

Hello,
How i can run goaccess over nginx revers proxy (linuxserver.io letsencrypt)?
I take goaccess.conf from https://github.com/allinurl/goaccess/issues/1789
Thank you.

Maybe any of these can help?

I try, but it doesn't work and I don't know how him run goaccess. I asked how his run goaccess.

i found problem
need change from addr <IP_ADDRESS> to this <IP_ADDRESS>
goaccess run:
goaccess  /var/log/nginx/access.log -o  /var/www/real-time.html
and my nginx revers config is:
upstream goaccess {
    server IPaddress:7890;
    keepalive 60;
}

server {

    listen 443 ssl;

    server_name goaccess.*;

    include /config/nginx/ssl.conf;

    root /config/www;
    index real-time.html;

    client_max_body_size 0;

    location / {
	    include /config/nginx/proxy.conf;
            try_files $uri  $uri/ @goaccess;
            index  real-time.html;
            proxy_set_header Upgrade $http_upgrade;
            proxy_buffering on;
            proxy_set_header Connection "Upgrade";
    }

    location @goaccess{
            proxy_pass http://goaccess;
    }
}


docs: fix navigation highlight issue in table of contents

Description
The PR fixes the navigation highlight issue for various section in the table of content on docs pages that contains symbol like ? ! : ' .
Screenshot -

Related issue(s)
Fixes #1589

pinging @derberg Kindly look, Thanks!

Hey, @mediba123 I have already opened a PR for this. You may look for any other issue. Thanks.

I don't find any difference in the website with the changes you made in this PR. It's better if @derberg reviews the PR more precisely.

I don't find any difference in the website with the changes you made in this PR. It's better if @derberg reviews the PR more precisely.

https://github.com/asyncapi/website/issues/1589#issue-1674220558

@janvi01 Can you please look into this error too?
https://deploy-preview-1614--asyncapi-website.netlify.app/docs/tools/generator/template#generator-templates-list
Click on this link and you can see that the TOC is still not visible.

@janvi01 Can you please look into this error too?
https://deploy-preview-1614--asyncapi-website.netlify.app/docs/tools/generator/template#generator-templates-list
Click on this link and you can see that the TOC is still not visible.

hmm, so one more symbol I left is backticks. The generator templates list title is wrapped in backticks I can see.
I have updated this PR, please look. Now it works well. @akshatnema Do let me know if there is any other section not being highlighted.

pinging @akshatnema

/rtm


HLBVH works only with default scene

HLBVH works only with default scene (CornellBox).
my test scene "cubes" (link below) works with "BVH" (which is default), but not rendered anything with "HLBVH". just black screen.
scene (24k triangles) "cubes"
https://yadi.sk/d/fAUWN86OcBby4A
so, is this problem could be solved ?
and HLBVH in RadeonRays_SDK is the oldest version which is very bad build performance (7x slower) instead "Simpler and Faster HLBVH with Work Queues".
https://research.nvidia.com/sites/default/files/pubs/2011-08_Simpler-and-Faster/main.pdf
your version is first HLBVH version
https://research.nvidia.com/sites/default/files/pubs/2010-06_HLBVH-Hierarchical-LBVH/HLBVH-final.pdf
and now nVidia use TrBVH as I know.
so, I regretted taking amd videocards - it's good for gaming (which I'm not), but very bad for experimental with dynamic ray tracing, because all SDK's are too raw.
see what happens next with DXR and Vulcan Raytracing.

AFAIK, AMD is focused on the fatnode and Bvh2, so some code in the library is deprecated and no longer maintained... The AMD SDKs really always lacked attention. If you go with NVIDIA or Intel tech, you generally get solid documentation and feedback right away.  This here looks like a graveyard...
AMD is working on new Vulkan ray tracing library, which was expected in May, I think. Now we are almost December. I get the secrecy, but we even don't know if they are working on RadeonRays at all, or it will be killed in favor of new library. AMD is very competitive when it comes to hardware, their software division however, is another story... If they are determined to go with open source (and I think this is the right choice to differentiate and catch up), why the attitude here? Of course, there are bigger games going on behind the scene, but still... I have the feeling that AMD generally doesn't like other developers much...


1.0 internal types

Based on https://github.com/neo4j/neo4j-dotnet-driver/pull/53
Rebased the PR and made LoggerBase internal too so that the public API and internal uses have a clear cut now.

I like very much that you have made the change with the LoggerBase and removing it from the Driver! :)


Raspberry Pi 4b OS choice

Hi,
thanks for the great work, I 'd like to ask what is your OS choice on Raspberry Pi 4b ? Cuz 32-bit OS like Raspbain will encounter cross compiling issue when setting up MNN inference tool. Or your choice is to get a different cross compiling tool that works on 32-bit OS.
Thanks again for your answer!

@liuwuliuyun Thanks.I use the official 32-bit OS Raspbian on Raspberry Pi 4b and  I compile MNN locally without  cross compiling.Maybe you can try it.

That did work out for me, thanks a lot 💃

@liuwuliuyun ^-^


DataDevice

This is one of the globals that the compositor needs to create at startup.
Either it needs to be provided in the constructor (like the I/O managers) or it needs to be passed in later (like the extension protocols).
I'm up for either, leaning towards the latter since this is sort of an "extension" and it's possible that a compositor may not want to implement this interface (and we should take a page out of wlroots' book and let the user decide).
Either way, it needs to live as long as the compositor and destroyed before it disconnects.
Need to also ensure only one global is registered at a time of this type.
Functions

[ ] send_selection Needs to only be possible if the DnD global has been made (so if an instance was made of the struct). Needs SeatClient to be made first.
[ ] set_selection

DataOffer
Events

[ ] destroy

Functions

[ ] dnd_actions Return bitfield, please wrap in a bitfield!
[ ] preferred_dnd_action`
[ ] in_ask
[ ] resource (unsafe)
[ ] data_source (Return DataSource)

DataSource
Events

[ ] destroy

Functions

[ ] resource (unsafe)
[ ] offer (Return DataOffer
[ ] seat_client (Return SeatClient)
[ ] mime_types (Wrap in Vec)
[ ]  accepted
[ ] current_dnd_action
[ ] dnd_actions Return bitfield, like in DataOffer
[ ] compositor_actions Return bitfield, like in DataOffer
[ ] actions_set

Global Callbacks
They should be callable, setting them may be unsafe but probably not. They are already initialized in global creation. Double check because this could be safe.

[ ] accept
[ ] send
[ ] cancel

Global Cleanup

~Blocked by this issue~ clean up global

For resource, do we just want to return the pointer or the wl_resource? I've got code implemented that returns the wl_resource. It's mainly semantics but mainly wondering..

Honestly for those it's not a big deal since it'll probably never be used by the library user.
Just make an unsafe function that returns whatever is in the struct. Eg if it's a pointer don't dereference it just return it.


"Enter" Button Refreshes Page Instead of Submitting Form

Currently, pressing the "Enter" key refreshes the page instead of generate button should be triggered.

Hi @Haimantika , you can replace type="button" to type="submit "on this line to fix this issue   <button type="button" id="generateButton"               class="rounded-md bg-black px-3 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-black/80 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-black">               Generate             </button>

This is now done! Thanks @jagdishpatil02 :D and thanks @shyamtawli for raising the issue.


[tool_crash] StateError: Bad state: No element

Command
flutter --no-color run --machine --track-widget-creation --device-id=21b97383 --start-paused --dart-define=flutter.inspector.structuredErrors=true lib\main.dart

Steps to Reproduce

...
...
...

Logs
StateError: Bad state: No element
#0      ListMixin.firstWhere (dart:collection/list.dart:167:5)
#1      DartDevelopmentService.startDartDevelopmentService (package:flutter_tools/src/base/dds.dart:63:32)
<asynchronous suspension>
#2      FlutterDevice.connect.<anonymous closure> (package:flutter_tools/src/resident_runner.dart:249:11)
<asynchronous suspension>

[✓] Flutter (Channel dev, 1.26.0-1.0.pre, on Microsoft Windows [Version 10.0.19041.685], locale en-IN)
    • Flutter version 1.26.0-1.0.pre at C:\flutter
    • Framework revision 63062a6443 (3 weeks ago), 2020-12-13 23:19:13 +0800
    • Engine revision 4797b06652
    • Dart version 2.12.0 (build 2.12.0-141.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:/Users/Desai Nimit/AppData/Local/Android/Sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:/Users/Desai Nimit/AppData/Local/Android/Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[✓] Android Studio (version 4.1.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] VS Code (version 1.52.1)
    • VS Code at C:\Users\Desai Nimit\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.18.0

[✓] Connected device (1 available)
    • vivo 1917 (mobile) • 21b97383 • android-arm64 • Android 10 (API 29)

• No issues found!

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: dev
Creation framework version: 63062a64432cce03315d6b5196fda7912866eb37
Plugins
integration_test

@desainimit
Try this solution and see if it helps.
If issue persists, please provide flutter doctor -v and a complete minimal reproducible code sample that shows the issue.
Thanks.

This is a duplicate of https://github.com/flutter/flutter/issues/72385.

@desainimit, we've been having a hard time reproducing this issue and would really appreciate your assistance. Is this something you've been able to reproduce consistently on your end? If so, would you mind sharing details of your environment (IDE, operating system, target device type, general circumstance in which you see the issue, etc) in #72385? If you have a reproduction case, that would be even more helpful!

@desainimit, we've been having a hard time reproducing this issue and would really appreciate your assistance. Is this something you've been able to reproduce consistently on your end? If so, would you mind sharing details of your environment (IDE, operating system, target device type, general circumstance in which you see the issue, etc) in #72385? If you have a reproduction case, that would be even more helpful!

You need to implement orElse for the firstWhere function.
Eg.
list.firstWhere(
                  (element) => element.isDeleted,
                  orElse: () => null);

You need to implement orElse for the firstWhere function.
Eg.
list.firstWhere(
                  (element) => element.isDeleted,
                  orElse: () => null);

now error shows on null

You need to implement orElse for the firstWhere function.
Eg.
list.firstWhere(
                  (element) => element.isDeleted,
                  orElse: () => null);

now error shows on null

orElse function returns null if the filter in firstWhere couldn't find any matches. If you are getting null because your condition didn't find any matches.

For what it's worth, orElse should be a required argument.

You need to implement orElse for the firstWhere function.
Eg.
list.firstWhere(
                  (element) => element.isDeleted,
                  orElse: () => null);

now error shows on null

orElse function returns null if the filter in firstWhere couldn't find any matches. If you are getting null because your condition didn't find any matches.

I getting error at orElse: () => null after upgrading to null safety, any suggestion please?

You can mark your var as nullable and then do a null check after the firstWhere query.
https://dart.dev/codelabs/dart-cheatsheet#nullable-variables


background lines disappeared when the data is big and scroll zooming to the end whole module crashed

Describe the bug
timeseries labeling demo csv：

rows no 10000，goes fine；
rows no 20000，with two serious problem；

background lines disappeared when the data is big；

scroll zooming to the end whole component crashed and page blank

Screenshots
data with  rows no in 10000，goes fine；

data with  rows no in 20000
bug1：
background lines disappeared ，when mouse in，can still see data points：

but zoom out selection，background lines appeared；

bug2：
zoom out to a small selection，than scroll zooming to the end whole component crashed and page blank；

Environment (please complete the following information):

OS: [e.g. Win10]
Label Studio Version [e.g. 1.3.0]

Additional context
demo data here：
data-10000.csv
data-20000.csv

Relative:
https://github.com/heartexlabs/label-studio/issues/811
Maybe too (last point NaN):
https://github.com/heartexlabs/label-studio/issues/1209

Any updates on this bug?


Cloudron as installation option

The wiki mentions some installation options already and since we have packaged lets chat as a Cloudron app since some time now, it would be great if we could be added as another installation option.
One option would be to link our app package repository at https://github.com/cloudron-io/letschat-app
or directly put the link to install on a Cloudron https://cloudron.io/button.html?app=io.github.sdelements.lets_chat.cloudronapp
Usually the latter link is used with a Cloudron button, similar to other "deploy to" buttons, however a direct link in the bullet point list fits the layout of the wiki page maybe better.
Thanks in advance!

Just saw that we are already mentioned in the Readme.md however with a link to the wiki page of a forked repo of lets chat. That might not be the best option, unless that wiki page could be put into the upstream wiki. What would be the process to get it in the main wiki?

@nebulade thank you, I've linked our README to the app package's README


DXHR lighting still being off from original

As reported on PCGW Discord, the lighting is still off from original. Example:

Original Deus Ex Human Revolution.

Deus Ex Human Revolution Director's Cut (without fix)

Deus Ex Human Revolution Director's Cut (with fix)
Particular scene is when leaving Detroit to Highland Park (after disabling transmiter in Derelict Row)
Just as of note, cause it might be a possibility - this is on AMD Radeon RX 570, not way more popular series of Nvidia cards.

DC fixed lighting model IMHO is perfect.
Or the "original" re-implementation is missing something but maybe it was always so flat.
And there are the SSAO differences too to take in the count.

DC fixed lighting model IMHO is perfect.

DXHR

DXHRDC
Nope... far from perfect.

The second screenshot is from original DXHR? But in the first one there's the postprocessing applied, in the second one not (or so it seems)


'flow.exe' unhandled unix exception

Thanks for supporting windows! Great job!
Unfortunately, I cannot start the flow server with the default/start command. When I try to run
flow.exe or flow.exe start
flow crashes with an unhandled unix exception:

Unhandled exception: Unix.Unix_error(12, "set_close_on_exec", "")

Nevertheless, starting the server with
flow.exe server
works and after that calling flow.exe works as well.
OS is Windows 7 64bit.

When there is no server running, flow.exe will call flow.exe start, which creates a new server. Before creating the server, it calls set_close_on_exec on stdout and stderr, to avoid leaking those to the new server. It sounds like those calls are failing for you.
I haven't run into this myself, so I'm wondering how to reproduce. Does this happen to you with an empty repo? Like if you make a empty directory, call flow.exe init in that directory, and then run flow.exe start?
Thanks for the report, by the way!

On my machine (Win 7), it is deterministically reproducable as follows:

mkdir flow_exception
cd flow_exception
flow.exe init
echo /*@flow*/ > script.js & echo var x : string = 42; >> script.js
flow.exe or flow.exe start

A coworker is affected by this issue. We is also using Windows 7 64. On my test laptop (running Windows 10), no problem (except #2187 ^^).

Interesting...I think I added the set_close_on_exec call after I upgraded my Windows test machine from 8 to 10. I'll see if I can dig up a Windows 7 VM image.
Thanks a ton for the detailed follow up! It really helps!

Also experiencing the same issue: Windows 7 64 bit.

I finally got a Windows 7 machine up and running today and have been investigating. I'm not really too sure what's going on. But here's a quick recap and my guess at what is happening.
flow start starts a flow server in the background and then exits. This works as expected.
You might want to run flow start from node. Maybe with a child_process exec or spawn. However you notice that the exec never returns and the spawn never fires the "close" event. This is because stdout and stderr are leaking to the server, and node's "close" event waits for those to close.
I think this isn't a problem on Linux and OS X, because Unix.create_process works correctly and doesn't leak stdout/stderr unless you explicitly create the new process with the same stdout/stderr. But it seems that on Windows those handles do leak.
On Windows 10, calling Unix.set_close_on_exec seems to fix the issue. But as this issue notes, that fails for some reason on Windows 7, and I haven't figured out why.
I think what we'll need to do is write a custom version of Unix.create_process for Windows that avoids leaking stdout/stderr. Sigh.

This was fixed in v0.31.0


Added layer support for SLL

A IP4 layer isn't always directly behind a SLL layer. This can be a number of other layers. The last two bytes of the SLL layer are referring to what the next layer is going to be. This can be used by etherlayer.
Did you run npm run lint from the viewer or parliament directory (whichever you are making changes to) and correct any errors
No
Did you Ensure that all tests still pass by navigating to the tests directory and running ./tests.pl --viewer
Yes
License
I confirm that this contribution is made under an Apache 2.0 license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

https://www.tcpdump.org/linktypes/LINKTYPE_LINUX_SLL.html

Looks like there are a bunch of lint errors in pcap.js, can you fix them?
  798:17  error  Missing semicolon                      semi
  804:4   error  Missing semicolon                      semi
  806:31  error  Multiple spaces found before 'buffer'  no-multi-spaces
  807:1   error  Trailing spaces not allowed            no-trailing-spaces


Implement automod mention limits

Summary
discord/discord-api-docs#5212, discord/discord-api-docs#5397
What is the feature request for?
The core library
The Problem
The above PRs are not implemented
The Ideal Solution

Add mention_spam to AutoModerationTriggerType.
Add mention_total_limit to AutoModerationTriggerMetadata

The Current Solution
No response
Additional Context
No response

I can do this

I cannot do this* :^)


ct exploration app

App pull request

[x] This is a new app
[ ] I am improving an existing app (redesigns/code "makeovers")

About

Playground deployment URL (new version):
Current gallery app URL: (delete this line if inapplicable)
Python app repository link: (delete this line if you are working on a Python app)

Workflow

[ ] I have created a branch in the appropriate monorepo, and the
elements necessary for successful deployment are in place.
[ ] If the app is a redesigned and/or restyled version of an
existing gallery app, I've summarized the changes requested in the
appropriate Streambed issue and confirm that they have been applied.
[ ] If the app is on the Dash Gallery portal, I have added a link to
the GitHub repository for the source code in the portal description.
[ ] If the app is a reimplementation of a Python gallery app for the
DashR gallery, the app in this PR mimics, as closely as possible,
the style and functionality of the existing app.=
[ ] I have removed all Google Analytics code from the app's
assets/ folder.

The pre-review review
I have addressed all of the following questions:

[ ] Does everything in my code serve some purpose? (I have removed
any dead and/or irrelevant code.)
[ ] Does everything in my code have a clear purpose? (My code is
readable and, where it isn't, it has been commented appropriately.)]
[ ] Am I reinventing the wheel? (I have used appropriate packages to
lessen the volume of code that needs to be maintained.)

I will need a deployment of this app for the webinar but this is not ready yet to be reviewed.

@nicholas-esterer I finally finished a version of the app with which I'm happy :-). Please review when you have the time; I'm interested in knowing whether it's clear what to do from the different titles of figures, or whether more explanations should be added.

(Sorry I accidentally posted this in the wrong place before):
Hmm I'm trying to review the PR and after making the venv and installing the requirements, running with python app.py or gunicorn app:server, the app looks like this:

Maybe something is missing? :thinking:

Hum, thanks for reporting this. On playground it looks like this

Could you please try with the most recent stable version of Dash? Maybe I need to pin its version because it will only work with the most recent stable Dash.

Yes that fixed it. I just ran pip install -U dash. The specific version is dash==1.16.1.

As for the use of the app, it's pretty slick! I like that you can experiment with different selections of the histogram values, to see how that changes the selection.
A couple things that might be a little unclear to new users:

the shapes drawn on the images stay when you scroll to other slices of the image, is that because they extend the full length of the image in the direction normal (in the linear algebra sense) to the shape? If so maybe some clarification is needed?
I'm not sure if I can go back and edit the shapes and have the final result updated. For example if I try and erase the shapes after having chosen histogram values, they don't seem to erase... If users really need to do the process in order, maybe steps could be "greyed" out before one is allowed to proceed to them?

Thanks for the review Nick! Yes, annotations persist because the volume considered for the histogram segmentation is the "extrusion" of the closed path drawn on the left image, between heights defined by the rectangle drawn on the right image. This is a bit tricky to explain but I'll try to find a way to make this clearer. Also I agree that going back to correct annotations does not work well, I'll look into this.

@nicholas-esterer I have made the following changes

it is now possible to modify a shape (one has to re-select a range in the histogram)
I've added tooltips (with dbc.Tooltip) to add more explanations about the shapes to draw

Cool! It seems there is a small bug when drawing a rectangle in the 2nd figure from bottom to top: in that case the 'y0' and 'y1' points of the rectangle are switched. But I have a two-line fix to this problem (just sort the values before choosing top and bottom), should I just push it to this PR?

@nicholas-esterer thanks for noticing this bug! Yes please push a commit to this PR, thanks a lot!

I think I fixed it for when the users input funny shapes (upside down rectangles or shapes that are too small so that the slice indices for the start and end are the same).
I thought it might be nice to be able to delete the rectangle in the right pane, could "erase active shape" be enabled for this pane?

Thanks @nicholas-esterer ! I updated the modebar buttons so that the two views are more symmetric (one is for closed path and the other one for a rectangle, but shapes can be erased in both figures).

anything else I should do here @nicholas-esterer ?

One small thing might be to reset the found 3D shape (display no red) if one of the shapes changes. This will sort of demonstrate that the user needs to select the histogram values again (because they changed) and that the current selections don't represent the 3D shape displayed. Or you could just write that in one of the "?" parts. But this is a minor thing, the app is working really well! I'll :woman_dancing: this in case you want to get it merged ASAP :-)


Speed up review pages

E.g. /2016/reviews/section/talks/
Pre-changes: 4396 queries in 1241.01ms
Post-changes:  21 queries in 45.32ms

Fixes: https://github.com/PyCon/pycon/issues/346

Updated to use signals; see if the code looks reasonable.

Looks great. I might suggest adding a few tests to assert the behavior of the cache_tags feature.

Updated again.

Django docs suggest keeping signals in their own file & importing in the app's ready() function:
https://docs.djangoproject.com/en/1.8/topics/signals/ (see "Where should this code live?")

On Thu, Aug 13, 2015 at 12:40 PM, Rebecca<EMAIL_ADDRESS>wrote:

Django docs suggest keeping signals in their own file & importing in the
app's ready() function:
https://docs.djangoproject.com/en/1.8/topics/signals/ (see "Where should
this code live?")

Thanks for keeping me up on the evolving Django best practices.  I've
moved the signals.

Django 1.8 strikes!
File "pycon/symposion/reviews/views.py" in proposals_list
  60.         for vote in LatestVote.objects.filter(user__pk=user_pk, proposal__in=queryset).select_related("vote")

Exception Type: FieldError at /2016/reviews/section/talks/
Exception Value: Non-relational field given in select_related: 'vote'. Choices are: proposal, user

After updating two select_related calls to prefetch_related locally, I'm still getting 1108 queries on /2016/reviews/section/talks/. Is this the best that can be done?

Ah, I'm seeing now that you got it to 21 before - so maybe something changed.

I got the queries back down to 21 - see the commit message for an explanation.

Data in the "Category" column shows on staging, but not locally.

Updated - category column should be fixed; optimized all the review views even more; added tests to make sure the category stays fixed and the views stay optimized.

I'm still seeing 561 queries here:
http://localhost:8000/2016/reviews/section/talks/

There must be something different, obviously :-)  Maybe you have more
interesting local data.
I've been using the Django debug toolbar to see what queries occurred while
processing a request, specifically looking for queries where DDT notes that
it was repeated NN times for values of NN that look roughly like a multiple
of the number of talks.  We could get together and use that to see what's
going on when you load that page. Or you could give me a dump of your local
data and I could work with that.
Dan PoirierDeveloper
<EMAIL_ADDRESS>www.caktusgroup.com
On Wed, Aug 26, 2015 at 4:52 PM, Rebecca<EMAIL_ADDRESS>wrote:

I'm still seeing 561 queries here:
http://localhost:8000/2016/reviews/section/talks/
—
Reply to this email directly or view it on GitHub
https://github.com/PyCon/pycon/pull/469#issuecomment-135167381.

:+1:

Passed QA - https://us.pycon.org/2016/reviews/section/talks/ takes about 5 seconds to load, https://pycon-staging.global.ssl.fastly.net/2016/reviews/section/talks/ takes <1 second.


Address concurrency issues related to processing of new user tokens and User creation

About
Addresses concurrency issues with new user creation, evidenced when an individual activates an invite link from an email notification that contains a user token.  Previous PRs addressed currency issues related to new user creation, but when user tokens were introduced (manifest as query parameters on request to the pass-user-service) as a part of the new-user invite mechanism, a bug surfaced that results in multiple User resources being created for a single Shibboleth login.
Having multiple User resources is a no-no - with high-impact, user-visible, consequences - and should be avoided; users of the Ember UI will be presented with errors, and access to the user's submissions will be affected.
The PASS UI issues multiple requests to the pass-user-service when a Shibboleth-authenticated person logs in after activating an invite link with a user token.  When Ember issues a request to the pass-user-service, some of those requests append the user token, other requests do not.  There really is no reasoning about Ember's behavior; in order to be robust, the pass-user-service needs to gracefully handle concurrent requests, some with tokens, some without.
Bug
The root cause of the bug is that acting on a user token present in a request was not safe from a concurrency aspect.  It was possible for two separate threads to operate on the same Shibboleth user's token activation request, resulting in the creation of multiple User resources, by setting the forceGenerate flag to true when interacting with the cache.
Fix
There's lots of different ways to fix this issue, some are more correct than others.  See another approach in #78.
The approach in this PR is to remove the forceGenerate flag, and always execute the doAfter filter (taking the form of Function<AuthUser, AuthUser> in this PR), on both cache hits, and on misses (when cache values are generated).
One downside is that this PR leaves the update or creation of User resources coupled to token application in UserServlet.  An upside is that this PR results in minimal changes to test code.
Secondary issues
When testing this fix, it became clear that the TokenService needed to be updated to re-try requests in the face of UpdateConflictExceptions when modifying Submission resources.  This deserves a PR of its own, but because the concurrency fix for the root issue immediately unveils the issue with TokenService, they're all together in this PR.  The fix for TokenService uses the CriticalRepositoryInteraction class to isolate the pre-conditions, post-conditions, and critical path, and comes with a built-in retry mechanism.  Unit tests and ITs were updated to insure TokenService is working as it should.

The migration of PASS repositories to eclipse-pass is complete. This PR is no longer relevant and is being closed as part of archiving https://github.com/eclipse-pass/main/issues/585.


Improve flakiness of TransactionsViewController tests

Summary
The "Gets Generic confirmation view if swap app is restricted" of the TransactionsViewController tests were intermittently failing. This was happening because faker was returning the same value for the appCode as that specified as verified. This changes the mock value to a value which is definitively not that of verifiedApp.
Note: it would be ideal to continue use of faker.company.buzzNoun but it does not allow the exclusion of values. Therefore a static value was chosen instead.
Changes

Change value of appCode for fullAppData to never be the same of verifiedApp in test

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 92.849%

Files with Coverage Reduction
New Missed Lines
%

src/routes/transactions/entities/tests/human-description.builder.ts
1
90.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
7110

Relevant Lines:
7364

💛  - Coveralls


Cleanup of Catchment-CN constants in CatchmentCNRst.F90

This PR addresses parts of issue #667 . It removes the duplication of Catchment-CN specific constants in CatchmentCNRst.F90 and instead imports them through use-statements.
I tested this branch in a 2-month experiment for Catchment-CN4.0 and Catchment-CN4.5 and verified that restart files generated by ldas_setup and written out at the end of the 2-month period were identical to the equivalent restart files from experiments run with the 'develop' tag.
TO DO: So far, this branch only fixes the issue of the duplicated Catchment-CN constants, but does not address the duplication of orbital parameters (and the use of outdated orbital routines pointed out by Peter Norris). @weiyuan-jiang , do you want me to also make the changes for the orbital parameters or would you prefer to do that yourself?
cc: @gmao-rreichle

Thanks, @gmao-jkolassa, for this first part.  Re. the orbital parameters: It's probably better if you take a first crack at it, assuming that Peter talked with you about what needs to be done (in a nutshell: use the day-length calculation from MAPL, rather than doing a custom calculation).  Does that make sense?

Thanks, @gmao-jkolassa, for this first part. Re. the orbital parameters: It's probably better if you take a first crack at it, assuming that Peter talked with you about what needs to be done (in a nutshell: use the day-length calculation from MAPL, rather than doing a custom calculation). Does that make sense?

Sure, I'll get started on that and will check back with Peter if anything is unclear.

The  CI-build fails now because it needs develop branch of MAPL.

Just wanted to comment that I have been using the MAPL develop branch ever since Peter's changes got pushed to it. I was updating to MAPL develop after cloning the repo. The model has successfully built since updating, but I do see differences in some variables (as expected) and need to establish that these differences are within reason.

In the prior version there was still a bug where the latitude information was passed to MAPL_SunGetDaylightDuration() in degrees instead of radians, which led to an unreasonable geographic distribution of day length values. My latest commit fixes this issue. Compared to the implementation in develop, the maximum differences in the day length (dayx) are now on the order of 10s, which is within the expected range. All other variables are zero-diff. This is the case for CatchCNCLM40 and CatchCNCLM45. So from my end, this is now good to go.
Note: As of right now, this branch is up to date with the current develop branch. However, it does have to be used with the current develop branch of MAPL.


Remove unnecessary logging.

There are metrics added in https://github.com/apache/mesos/commit/d93906a so this logging is not needed anymore.

@tillt @bmahler @rukletsov Can you take a look at this?

This log line has been valuable to see disk usage over time from logs when we encountered disk full issues. A metric is not a substitute because we would need a metrics stack with history to get the same data. Also, this is the only log line that I know of in the agent that periodically prints something which is valuable because one can easily tell from the logs whether the main actor was stuck or not when debugging issues.
@bgalek Has this logging been causing any issues for you in production?

@vinodkone nope, just thought it was duplication of metric


Different colors for different linked calendars?

I added my Nextcloud calendar and my wife's Google Calendar. How do I get them to display as different colors?

You can assign style (CSS class) and icon to each calendar.
https://github.com/eouia/MMM-CalendarExt/wiki/Manipulation-of-looks#set-style-and-symbol


⚠ Bofrost.be has degraded performance

In af7fcd3, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1219 ms

Resolved: Bofrost.be performance has improved in 3fa6126.


Add cm3 formula.

Critical Mass Modula-3 compiler.

Can this be built from source? It looks like this is open-source.

There is a GItHub repository now https://github.com/modula3/cm3.git but as far as I can tell, there is a bootstrap process required in order to build the compiler using an older version of the compiler, and meanwhile, there have not been any official releases on x64 Mac OS X since the 2010 version I submitted from http://modula3.org/

Hold this. I just discovered a release page on the GitHub site https://github.com/modula3/cm3/releases/tag/snapshot-darwin-13.4.0-homebrew-0.9.5-2015-05-28

I have submitted an issue https://github.com/modula3/cm3/issues/3 inquiring about an official Homebrew formula. Meanwhile, I'm closing this pull request for now.

Thank you!


FAQ layout

so far two sites are trying to tackle an FAQ with markdown (one as detail/summary elements) and the other as blockquotes - it might be worth seeing what we can do to make this easier/prettier. At least as an option one can choose.

Dreaming out loud: at some point we had the plan to add some tags to each FAQ to make it easier for the user to find them, something like the post tags that also work as a filter.

Jekyll supports having multiple collections (_posts is considered a collection) - so that could indeed be an approach

is your answer related to #48? o we rather explore the possibility directly from https://jekyllrb.com/docs/collections/?
Tags only work for _collections or 'cards' or one could add them independently?

I'm not exactly sure - but yes you are right. They could perhaps be solved as one


In-editor 3D light node icons are oversized.

As the title suggests. Icons for 3D light nodes appear at a fixed, huge size.
Build is latest from git.

Thanks for the report. It's more or less the same issue as in #1638 so I'll close this one and add your screenshot there.

Reopening, I misinterpreted the issue. It's not a zooming issue, the icon is always this big for @DerRidda.

For the reference I can't reproduce the issue on Linxu X11 64bit by e.g. loading the Platform 3D demo in the editor and checking out the dimensional light icon.

I tried a clean rebuild and it is not fixed. Trying again from a fresh clone.

Still no change, this isa  genuine issue for me.

Apparently my rebuilding has fixed it it is fixed in new scenes but the one affected is not recovering. As that scenes is absolutely not important I consider the issue resolved.

Was this caused by the DirectionalLight node's scale?
If so, it should probably be changed so the sprite doesn't scale.

No it wasn't, this happened with any light I added at any scale.

@DerRidda does it happen when you rebuild that very scene again?

I deleted that scene and therefore can not test this issue anymore.

Actually the first screenshot shows it all: the DirectionalLight is a child of Spatial, and Spatial is upscaled by at least 8 on the x axis.
Just tried the same in a new project and could reproduce the issue:
Spatial, scale (8, 8, 8)
-> DirectionalLight

So the light icon just needs to be made non-scalable in the viewport (likely the same for #1638).

So after a first look at https://github.com/godotengine/godot/blob/master/tools/editor/spatial_editor_gizmos.cpp#L3057 I've found that there are several other gizmos affected by this issue:

GizmoLight (OmniLight, SpotLight)
GizmoDirectionalLight (DirectionalLight)
GizmoSpatialSamplePlayer (SpatialSamplePlayer)
GizmoSpatialStreamPlayer (SpatialStreamPlayer)
Visible (VisibilityNotifier)

We'd need to find a way to make those gizmos unscalable, so that they are not affected by their parent's scale. I don't know if FixedMaterial has a feature for that already.

i have a fix to #1638 i will look into this as well before a pull request..

hum seems like a bigger issue is at play here, when I scale a spatial node, EVERY child of it seems to scale in the view port--somehow that seems the way it should be, but it should not be.  A spatial is just a kind of placeholder for the universe--its more of an ancient ancestor then a parent, and should be coded that way?

Suggestion from #748:

Some nodes like lights use sprites to display their position, but often when zooming out they become so big, compared to rest of the scene, that they are more in the way than help.

They need editable maximum size settings, and ON/OFF switching.

Tested in master. Seems fixed.

Thanks, closing.


Handle web3 errors gracefully (not open on send, timeout)

we have  two unhandled promise rejection errors from web3 logged all the time
"can not open() on send"
and
"Connection Timeout"
They both happen when the websockets connection is broken
These errors happen mostly when reading from blockchain before connection is restored in
Appswitch.js, store updateAll - checking user balance, citizen.
in Claim.js checking user eligibility.
to fix we need to verify we catch these exceptions and handle them correctly

in transactions - send/withdraw/claim - ask user to try again.

in generateLink we need to catch the returned promise
in all cases we need to wait for the txhash

in fetching information from blockchain

appswitch - see #1092
claim - catch exceptions and show message to retry
look for other places we call wallet

Checked on the Dev environment.
All functionality is working well (in sanity testing)


[Feature request] Service to cache the zipped HAR file on the virtual machines that run the test cases.

Is your feature request related to a problem? Please describe.
In our test cases, we mock our test data with the Mocking with HAR Files feature from Playwright, which will save the request and response data on our disk. While executing our test cases, it will replay the recorded request and response instead of making a real request to our microservices.
We do this to achieve

Control our test environment, So we actually test what we want to,

To save on backend costs and time, we have hundreds of microservices.

With the Playwright service, we don't get the second benefit. because it takes the same time, or more than that, for mock data, it needs to come back to our local system and go back. This increases the test execution time, resulting in not saving time and money.
Describe the solution you'd like
Service to cache the zipped HAR file on the virtual machines that run the test cases.
Local execution

Playwright-testing-service execution

AB#1938766

@raju-a Could you please help me better understand your usecase? From the description, it looks like you test a new frontend version and mock your backend microservices. However, the screenshots above suggest that you want frontend files like /js/anywhere-calendar.js to be mocked, which imply that you have the frontend mocked.
I would assume you do not want to test the mocked frontend against the mocked backend, because that does not actually test any new code. Could you please explain the scenario in more details?

@dgozman I apologise for not making it clear in the first place. Let me try to do that now.
As of now, we have two projects in our configuration. setup project will always run and authenticate before all the tests, and it will take care of caching the auth cookie and frontend asserts, which we own and save as a common HAR file and use for our tests. We don't commit the common HAR file. So we cache the asserts during the setup project for every execution before all the tests. This helps us to stay with the new code.
On writing each test case, we record the HAR file for each test case and commit the HAR file alongside the tests. By doing this, we take care of mocking our backends.

HI @raju-a, I guess the frontend assets are the heavier one in size hence cause more issue whereas backend har file are not so heavy which may be ok here.
if above is true, then can you try not caching frontend assets in setup step har file and try it. I assume these assets file shouldnt take that high time as most of these would be behind CDN, etc.


Make UUID configuration optional in os configure

As reported in the linked Front ticket, a user is attempting to configure an image, setting the wifi credentials and processor count, and then also preload an image. The user is able to configure via the Python SDK, but is unable to preload with the Python SDK.
Conversely, the user is able to preload with the CLI, but is unable to configure (because the CLI configure command requires a UUID)
 Front conversations

@shaunmulligan I'd like to do this, since it should be fairly easy and it sounds like it's a blocker for the linked customer. The only sensible way of handling it I can see is a breaking CLI change though, is that a concern? I'd like to go from:
resin os configure <image> <uuid>
resin os configure <image> <uuid> [deviceApiKey]

to
resin os configure <image> --app <appName>
resin os configure <image> --device <uuid>
resin os configure <image> --device <uuid> --deviceApiKey [deviceApiKey]

I think that fits in with our long-term design ideas for the CLI, and it matches the signature for config generate. Happy to go for it?

@pimterry , I think that makes sense. Are we marking breaking changes explicitly in the Change Log and also warn when something is deprecated?

@shaunmulligan We don't have any deprecations that I know of right now. Yes though, all breaking changes should be marked as such in the changelog.
I was expecting to just break the CLI API and jump here to v7, rather than trying to support both formats but deprecate the older one. Is that what you're suggesting? We could try to support both in the short-term, but it's fairly awkward in the code (capitano particularly doesn't support this particularly well), so I'd rather not. Since it's a breaking release nobody will automatically upgrade, so we could just break it and people can stay on v6 until they have a minute to make the small change and move to the new format. Do you think we need a more complicated deprecation process here?

Are you happy with the above? Should be quick and easy to do if so, I just need you to confirm.

@pimterry that sounds good. Will the multicontainer stuff also require any breaking changes or can we also just keep that in the v7.x.x line? I just don't want to have regular breaks :)

I'm not sure yet, but it seems pretty likely that multicontainer will break things, and we'll definitely have a bunch of breakage as part of the CLI redesign too. You're right, that's going to be painful for some users, we should try to limit this a bit more.
Let's do this the hard way then: support the old command format and two new formats, print a deprecation message for the old format, and kill it off sometime later. Thanks :+1:

thanks @pimterry you're a champion

Fixed in 6.10.0 - we still support the old format (now printing a warning), but also support both --device <uuid> and --app <appname> options. I'll update the customer on the front thread too.


 What does vscode do when you open a folder with a rar file? Can you share the rar file?

https://github.com/luogui495186/jd-pid-front.git
this is my project
1.vscode can not open the project directory
2.if remove "sort-select.rar"  file  vscode  works very

Can you try from the command line, with the --verbose flag?

when open my project the vscode exit.i can not do anything

If you launch code from the command prompt, like
cd <your project>
code --verbose .

then it may print some extra debugging information to the console which will be useful.

Please also try with --disable-extensions. It works for me in windows.

"code --verbose ."information
[main 09:33:46] Starting VS Code in verbose mode
[main 09:33:47] from: d:\Program Files (x86)\Microsoft VS Code\resource
s\app
[main 09:33:47] args: { _: [ 'E:\jd-pid-front-github' ],
help: false,
h: false,
version: false,
v: false,
wait: false,
w: false,
diff: false,
d: false,
add: false,
a: false,
goto: false,
g: false,
'new-window': false,
n: false,
'unity-launch': false,
'reuse-window': false,
r: false,
performance: false,
p: false,
'prof-startup': false,
verbose: true,
logExtensionHostCommunication: false,
'disable-extensions': false,
disableExtensions: false,
'list-extensions': false,
'show-versions': false,
nolazy: false,
'skip-getting-started': false,
'sticky-quickopen': false }
[main 09:33:47] Unable to read folders in C:\Users\sqluogui\AppData\Roa
ming\Code\Workspaces (Error: ENOENT: no such file or directory, scandir 'C:\User
s\sqluogui\AppData\Roaming\Code\Workspaces').
[main 09:33:49] IPC#vscode-machineId
[2720:1024/093352.325:INFO:CONSOLE(29)] "[C:\Users\sqluogui.vscode\extensions\x
abikos.javascriptsnippets-1.5.0]: 鈥渃ontributes.JavaScriptSnippets.language鈥濅
腑瀛樺湪鏈煡鐨勮瑷€銆傛彁渚涚殑鍊? vue", source: file:///D:/Program Files (x
86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js (29)
[main 09:33:52] IPC#vscode-workbenchLoaded
[2720:1024/093353.564:INFO:CONSOLE(28)] "%c[Extension Host] %cvscode-icons is ac
tive! %c(at activate (C:\Users\sqluogui.vscode\extensions\robertohuertasm.vscod
e-icons-7.16.0\out\src\index.js:40:13))", source: file:///D:/Program Files (x86)
/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js (28)
[main 09:33:54] [VS Code]: render process crashed!
[main 09:43:34] Lifecycle#window-all-closed
[main 09:43:34] Lifecycle#before-quit
[main 09:43:34] App#will-quit: disposing resources

Thanks. Can you also try with --disable-extensions?

code --disable -extensions.
his no information but open new vscode window

Did it open the window with the rar file? Did it crash? Can you try code --disable-extensions --verbose .?


Revert optimization removal

Keep optimization for Java versions older then 9 with multi-release jar
Add noOptimization flag for possible compatibility issues

javaee/jaxb-v2#1157
Signed-off-by: Daniel Kec<EMAIL_ADDRESS>

once you rebase this on master, travis will do the copyright check for you. It only won't tell you, which files are wrong...

once you rebase this on master, travis will do the copyright check for you. It only won't tell you, which files are wrong...

Thats a little cumbersome, I don't really get the default quiet mode. https://github.com/eclipse-ee4j/glassfish-copyright-plugin/pull/8


S3 test button throwing false positives

Still getting false positives in 6.6.5,

shows success even without S3 credentials.
after entering credentials, .tmp_wp2static.txt is still not found on the target S3 bucket.

Does the S3 test work without WP_CLI?

We are affected by this too in October 2019 with V6.6.5. Deliberately changing the bucket name to something incorrect still results in a positive test. We discovered this whilst trying to work out why our files are not being uploaded to s3.