How to toggle video on and off during a call?

I want to allow my users to toggle the video stream on and off (while keeping the audio stream).
Is this possible? Also is there a way to detect this from the peer's end (the 2nd person)?
P.S. I'm not referring to getUserMedia({ video: false }). I want to toggle the video on and off after the call is established.

Did you try MediaStreamTrack.enable method?

Looks like this should do the job: https://github.com/oney/react-native-webrtc/blob/793143ba68e720388d4d5e69011fc472d32f87ca/MediaStream.js#L76
But is there a way to detect from the other person's end that the videoTrack has been disabled? (like a callback on Person B's end that Person A has shut off their camera?)
I don't want to just show a black screen when this happens

Actually, it's a property, not a method. My mistake.
When I disabled a track, peer sees frozen video in my case.

Yea I want to be able to respond to that event so that I can update the UI for Person B. Seeing a frozen video isn't very user friendly

I eventually used a dataChannel for this.


overload for pointer type

			auto entityTempl = [](CrEntity&, void* pptr) {};

			a_State.new_usertype<CrEntity> ("Entity",
				"AddComponent", sol::overload(entityTempl,
					EntityAddComponent<CrEntity, CrMeshComponent>,
					EntityAddComponent<CrEntity, CrCameraComponent>),
				"Transform", &CrEntity::m_Transform);

		template<typename Self, typename T, typename...Args>
		T& EntityAddComponent(Self& thiz, T* , Args&&...args)
		{
			return thiz.AddComponent<T>(std::forward<Args>(args)...);
		}

			a_State.new_usertype<CrCameraComponent>("CameraComponent",
				"Type", []() -> CrCameraComponent* { return nullptr; },
				SOL_BASE(CrComponent));

			a_State.new_usertype<CrMeshComponent>("MeshComponent",
				"Type", []() -> CrMeshComponent* { return nullptr; },
				SOL_BASE(CrComponent));

player:AddComponent(MeshComponent.Type())
player:AddComponent(CameraComponent.Type())

Problem: EntityAddComponent is called both times.

Ok let's be more specific: Essentialy, I have two overloads on different pointer types. The pointers are returned from the non-member function Type(). I want lua/sol pick the right overload for every call to AddComponent. It keeps calling EntityAddComponent<CrEntity, CrMeshComponent> though, probably because it's the first overload and it somehow casts CrCameraComponent* to CrMeshComponent*?
I did notice that nullptr gets interpreted as nil inside lua. Returning a heap pointer from Type() (i.e. via new), however, yields the same results. Is there anything I am missing out on sol::overload?

Ok, it seems that returning nullptr is the problem. The following seems to work:
a_State.set_function("test", sol::overload(
[](CrMeshComponent* pp) {
    CrLog("CrMeshComponent");
},
[](CrCameraComponent* pp) {
    CrLog("CrCameraComponent");
}));

with Type() defined as "Type", []() -> CrMeshComponent* { return new CrMeshComponent(); }
as opposed to "Type", []() -> CrMeshComponent* { return nullptr; }
Still that heap allocation is useless. Any trick to return a non-null pointer without allocating? probably via some reinterpret_cast trickery e.g. return reinterpret_cast<CrCameraComponent*>(0x1);


Delete lists of claims and from a specific channel

If we have downloaded many claims from the same channel, we may want to delete the older ones from that channel, without considering other channels.
At the moment the generic function clean.cleanup_space looks at all claims. The parameter never_delete considers channels to avoid. Maybe a new parameter only_delete could do the opposite, and consider only the channels to clean up, as oppose to avoid.
channels = ["@lbry", "@odysee"]
dd = t.cleanup_space(main_dir="/opt", size=1000, percent=90,
                     only_delete=channels, what="media")

A new function could be used to remove all older videos from a specific channel, and only leave a select number of the newest ones.
# leave only the 3 newest videos of the channel
channels = ["@lbry", "@odysee"]
dd = t.cleanup_channels(channels=channels, number=3, what="media")

We need a function that takes a list of claims to delete, just like download.redownload_claims takes a list of claims to download or re-download.
dd = t.remove_claims(ddir="/opt", file="remove.txt")
dd = t.remove_claims(ddir="/opt", start=10, end=20, file="remove.txt")

This was partially solved already with new methods clean.ch_cleanup and clean.ch_cleanup_multi to remove all claims from a specific channel, or a list of channels, except for the latest items specified by the number parameter.
These methods were introduced in e45bf17bbe.
The method to remove claims from a file is still missing, remove_claims.

In 707ef3d3e9 the new method was introduced remove_claims.
It works similarly to download_claims; it accepts an input CSV file with one claim_id per row.
If no input file is provided it will start deleting every single claim downloaded previously as found by sort_items.


Default should be no since most answers are not the correct answer

The quiz application requires at least one option correct when the mode is scoring. There is UI code dependent on this option value. This condition also occurs when the user is editing the form. This causes https://github.com/icfjknightfellows/ProtoGraph.Card.toQuiz/issues/2


itkMatrix in Python Wrapping fails to instantiate for certain combinations

Instantiating itkMatrix as the following fails for certain combinations of dimensions:
a = itk.Matrix[itk.F, 2, 2]()
a = itk.Matrix[itk.F, 4, 4]()

Object creation fails with the following error message:
vnl_copy = type(vnl_reference)(vnl_reference)
TypeError: cannot create 'SwigPyObject' instances

4x4 is needed for the MetaData object.
Refer https://github.com/InsightSoftwareConsortium/ITK/issues/3520
It works for all combinations for double (i.e. itk.D) but fails for certain combinations of itk.F.
Looks like changes introduced in PR https://github.com/InsightSoftwareConsortium/ITK/pull/3305
introduced this bug. I am running a build just before this commit to confirm.
cc @N-Dekker

Expected behavior
>>> a = itk.Matrix[itk.F, 3, 3]()
>>> print(a)
itkMatrixF33 ([[0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0]])

Actual behavior

Reproducibility
100%
Versions
Since 5.3rc4.
Works fine for version itk 5.2.1.post1.
Environment

Additional Information

@PranjalSahu Thanks for the cc! Are you sure that this issue is caused by the Matrix(const TElement (&)[VRows][VColumns]) constructor introduced with pull request #3305 commit 7dd9e49534f9a9175cfba7f1105a00554efd2ed6 ? Specifically, this one: https://github.com/InsightSoftwareConsortium/ITK/blob/9ed9070c74ae00cb7c258bc550cf2dd6ae469c43/Modules/Core/Common/include/itkMatrix.h#L232-L233
If that one really causes the issue, could you possibly figure out if SWIG could be instructed somehow to ignore this constructor? Possibly using SWIG %ignore? https://www.swig.org/Doc1.3/SWIG.html#SWIG_rename_ignore (I'm just guessing, I just don't know.)

@N-Dekker Actually this commit is breaking it
ENH: Make itk::Matrix trivially copyable, following Rule of Zero

I am adding some float combinations in the GTest to see the behavior.
Because the python wrappings are failing only for float combinations.

Actually this commit is breaking it
ENH: Make itk::Matrix trivially copyable, following Rule of Zero

Thanks! Actually that commit has quite a few code changes. Do you know which particular code change caused this issue? For example, would it be sufficient to only just restore the original default-constructor of itk::Matrix?
  /** Default constructor. */
  Matrix()
    : m_Matrix(NumericTraits<T>::ZeroValue())
  {}

Instead of the new Matrix() = default ?
As a side note, I believe Python wrapping support for 64-bit double is often more useful than support for 32-bit float, because the built-in floating point type of Python itself is 64-bit.

@N-Dekker I am trying your suggested changes.

Simply reverting that commit didn't help.
But I found something that might give us come clue.
The object type is different for MatrixF33 and (MatrixF44, matrixF22 etc.).
Only MatrixF33 is able to instantiate for float. Other combinations are failing.
For MatrixF33 (This works)
Printing the type(vnl_reference) and vnl_reference = self.__GetVnlMatrix_orig__()
<itk.vnl_matrix_fixedPython.vnl_matrix_fixedF_3_3; proxy of <Swig Object of type 'vnl_matrix_fixedF_3_3 *' at 0x7f0ed8dc72a0> >
<class 'itk.vnl_matrix_fixedPython.vnl_matrix_fixedF_3_3'>
itkMatrixF33 ([[0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0]])

For MatrixF32 (And this does not)
<Swig Object of type 'vnl_matrix_fixed< float,3,2 > *' at 0x7f7d1a0632a0>
<class 'SwigPyObject'>

I am doing a binary search to see where it fails.
I saw that it worked for this commit N-Dekker/Work-around-GCC4-error-is_trivially_copyable
after reverting  ENH: Make itk::Matrix trivially copyable, following Rule of Zero
Proceeding further.

Ok, I got the issue. vnl_matrix_fixed is not wrapped for float combinations !
Checking the build now.
vnl_matrix_fixed.wrap

Solution PR https://github.com/InsightSoftwareConsortium/ITK/pull/3553


systemd service opendistro-performance-analyzer.service has the wrong binary path configured

OS, OpenDistro and Java version used:
Used the documentation here https://opendistro.github.io/for-elasticsearch-docs/docs/install/rpm/ to install rmp packages from repo https://d3g5vo6xdbdb9a.cloudfront.net/yum/opendistroforelasticsearch-artifacts.repo
OS: CentOS Linux release 8.2.2004
OpenDistro: opendistroforelasticsearch-1.11.0-1.noarch
Performance Analyzer: opendistro-performance-analyzer-<IP_ADDRESS>-1.noarch
Java: java-11-openjdk-<IP_ADDRESS>-0.el8_2.x86_64

First this problem appeared in opendistroforelasticsearch-1.10.1 (https://github.com/opendistro/for-elasticsearch/issues/94)
What happened:
After upgrading OpenDistro from previous to 1.10.1 or 1.11.0 Performance Analyzer systemd service Failed to start.
This is a rpm package build issue as it seems that the binary path has changed from /usr/share/elasticsearch/bin/performance-analyzer-agent-cli to /usr/share/elasticsearch/plugins/opendistro_performance_analyzer/bin/performance-analyzer-agent-cli
but the systemd service file has not been updated.
The file /usr/lib/systemd/system/opendistro-performance-analyzer.service looks like this after install:
[Unit]
Description=Opendistro for Elasticsearch Performance Analyzer
PartOf=elasticsearch.service

[Service]
ExecStart=/usr/share/elasticsearch/bin/performance-analyzer-agent-cli
Restart=on-failure
User=elasticsearch
Group=elasticsearch
Environment=ES_HOME=/usr/share/elasticsearch
WorkingDirectory=/usr/share/elasticsearch

[Install]
WantedBy=elasticsearch.service

but /usr/share/elasticsearch/bin/performance-analyzer-agent-cli does not exist.
It has been moved to /usr/share/elasticsearch/plugins/opendistro_performance_analyzer/bin/performance-analyzer-agent-cli
also it is not executable.
What you expected to happen:
Opendistro for Elasticsearch Performance Analyzer starts.

Thanks for finding this issue @perkons ! If you have a PR ready, we're happy to review and accept it. Contributions welcome!

@ktkrg I made PR https://github.com/opendistro-for-elasticsearch/performance-analyzer/pull/254
After this fix the service still fails with the error:
Dec  7 16:46:07 esnode1 performance-analyzer-agent-cli[1840903]: Error: Could not find or load main class com.amazon.opendistro.elasticsearch.performanceanalyzer.PerformanceAnalyzerApp Dec  7 16:46:07 esnode1 performance-analyzer-agent-cli[1840903]: Caused by: java.lang.ClassNotFoundException: com.amazon.opendistro.elasticsearch.performanceanalyzer.PerformanceAnalyzerApp
Also, I am not sure what is done with the package build as the postrm script removes everything that postinst copies. Please look here https://github.com/opendistro-for-elasticsearch/performance-analyzer/blob/master/packaging/rpm/postrm#L13
I think someone needs to take a proper look at the pacakge build as I do not quite understand the reasoning behind some of the script parts.
Please note that I also only changed rpm build, I did not touch deb.

Remember that %postuninstall runs on package upgrade as well.  See https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/  for more information.  Not sure if this is the issue or not.
rpm verify fails as well:
# rpm -V opendistro-performance-analyzer-<IP_ADDRESS>-1.noarch
missing     /usr/share/elasticsearch/bin/performance-analyzer-agent-cli

@opoplawski the package build in this case is pretty incorrect, there should be no use of mv and cp, instead the spec file should be used with something like this:
Source1: opendistro-performance-analyzer.service
Source2: performance-analyzer-agent-cli
%install
install -D -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/opendistro-performance-analyzer.service
install -D -m 755 %{SOURCE2} /usr/share/elasticsearch/bin/performance-analyzer-agent-cli

I just upgraded to 1.12.0 and the issue is still there, the binary is not here /usr/share/elasticsearch/bin/performance-analyzer-agent-cli. And even if I copy it manually and set exacutable, I get:
Dec 15 15:09:29 es1 performance-analyzer-agent-cli[2042984]: Error: Could not find or load main class com.amazon.opendistro.elasticsearch.performanceanalyzer.PerformanceAnalyzerApp
Dec 15 15:09:29 es1 performance-analyzer-agent-cli[2042984]: Caused by: java.lang.ClassNotFoundException: com.amazon.opendistro.elasticsearch.performanceanalyzer.PerformanceAnalyzerApp

Also I do not understand there reason behind this https://github.com/opendistro-for-elasticsearch/performance-analyzer/blob/master/packaging/rpm/postrm as it removes everything.

Hello!
I'm getting the same error:
Failed at step EXEC spawning /usr/share/elasticsearch/bin/performance-analyzer-agent-cli: No such file or directory
Is there any workaround?
Thanks.

@gferrette you could copy the file manually and set exec:
# cp /usr/share/elasticsearch/plugins/opendistro_performance_analyzer/bin/performance-analyzer-agent-cli  /usr/share/elasticsearch/bin/
# chmod +x /usr/share/elasticsearch/bin/performance-analyzer-agent-cli

unfortunatelly there is another problem. You will get a new error:
Dec 15 15:09:29 es1 performance-analyzer-agent-cli[2042984]: Error: Could not find or load main class com.amazon.opendistro.elasticsearch.performanceanalyzer.PerformanceAnalyzerApp
Dec 15 15:09:29 es1 performance-analyzer-agent-cli[2042984]: Caused by: java.lang.ClassNotFoundException: com.amazon.opendistro.elasticsearch.performanceanalyzer.PerformanceAnalyzerApp

I just did redeploy my lab cluster. That means fresh installed CentOS 8 and Opendistro 1.12.0 and Performance Analyzer is working just fine. This proves my conclusion on the package build. It is wrong as you cannot upgrade the cluster without breaking components/plugins.

+1

Reinstalling the opendistro-performance-analyzer package fixed the issue for me.
After reinstallation, performance-analyzer-agent-cli is moved back to /usr/share/elasticsearch/bin/ which fixed the issue.


"405 Method Not Allowed" when trying to create new song

On a fresh install (a couple of days ago), trying to save a new song results in the following error:
PUT http://<IP_ADDRESS>:8080/songs 405 Method Not Allowed

Hey Michael,
Thought I'd update the ticket and see if I can get your attention to see
how you're going with CPresent.
Kind Regards,
Daniel J Holmes
On Sat, Sep 13, 2014 at 10:33 PM, Michael J Kaye<EMAIL_ADDRESS>wrote:

I confirm that song-saving now works without making changes to
package.json.
I've now tested the verse titles, and they work nicely. :-) Can't think of
any others that would be needed OTTOMH.
I'm using this in a live situation, yet. My objective is to replace the
presentation software my projector team currently uses. The current
software's UI is too crowded and has too many features, most of which are
unused. My aim is to develop CPresent with you to the point where my team
and I can use it on a Sunday.
I've chosen CPresent for the following reasons:

it's FOSS
I think a js/HMTL-based system is the right choice of technology
I've recently started using, and enjoying, AngularJS (I don't know
coffee-script, yet, though)

I'll be making feature requests, but here is a summary of our requirements
for a presentation system:

ease of use and simplicity
displaying Bible verses, probably using the Open Scripture
Information Standard
very responsive to a live situation:

if someone comes up to the microphone to read a Bible verse, I
want to be able to display it on the screen
the band will probably do some songs in a different order to the
one we were given
the band may decide to do a song, on the spur of the moment, that
isn't in the set-list
the band have been known to alternate the verses of two different
songs, but sing as if it's all one song
to achieve the above, the software needs to be quick

It'd be great to hear your ideas about how to develop CPresent going
forward.
Thanks for making CPresent. It's a great project.
—
Reply to this email directly or view it on GitHub
https://github.com/jaitaiwan/CPresent/issues/30#issuecomment-55492683.


Indigo Plugin: add parameter to start electron with dev tools open

I believe you can start electron with the dev tools open. Sometimes when a program hangs the dev tools will refuse to open either by keyboard shortcut or from the menu dropdown, so it would be nice to just have it there by default.

The code for this looks simple, it's actually already in the indigo-plugin electron template commented out and in theory just need a configuration if statement around it. However if you uncomment it, the app does not work...


Please create a Google TV / Android TV client

The current google one apk doesnt install on google tv chromecast 4k or HD, please make a VPN client for these devices.

Seconding this

Thank you for your feedback on the libraries for VPN by Google One. Due to the planned turndown of the VPN, this repo will soon be archived. I’m marking this issue as closed. Thank you again for your input.


Multiple availability domains?

How can I have it check multiple? I had OCI_AVAILABILITY_DOMAIN=['PoxX:US-ASHBURN-AD-1','PoxX:US-ASHBURN-AD-2','PoxX:US-ASHBURN-AD-3']
And I'm getting this error
{     "code": "CannotParseRequest",     "message": "Incorrectly formatted request. Please refer to our documentation for help." }

I got mine to work by setting OCI_AVAILABILITY_DOMAIN with this array format in the .env
OCI_AVAILABILITY_DOMAIN='["IiXX:US-CHICAGO-1-AD-1", "IiXX:US-CHICAGO-1-AD-2", "IiXX:US-CHICAGO-1-AD-3"]'
then i modified this in index.php
//add this above the constructor
$ociAvailabilityDomain = getenv('OCI_AVAILABILITY_DOMAIN') ? json_decode(getenv('OCI_AVAILABILITY_DOMAIN'), true) : null;

$config = new OciConfig(
    getenv('OCI_REGION'),
    getenv('OCI_USER_ID'),
    getenv('OCI_TENANCY_ID'),
    getenv('OCI_KEY_FINGERPRINT'),
    getenv('OCI_PRIVATE_KEY_FILENAME'),
    $ociAvailabilityDomain, // change this line
    getenv('OCI_SUBNET_ID'),
    getenv('OCI_IMAGE_ID'),
    (int) getenv('OCI_OCPUS'),
    (int) getenv('OCI_MEMORY_IN_GBS')
);

After these changes, the script will check each availability domain

Do you get PHP Warning:  Undefined variable $ociAvailabilityDomains in /Users/mehapps/Downloads/oci-arm-host-capacity/index.php on line 31 with this? I've been getting it for ashburn

I did and it works fine, but i added this above the constructor and now it is working as expected.
//add this above the constructor
$ociAvailabilityDomain = getenv('OCI_AVAILABILITY_DOMAIN') ? json_decode(getenv('OCI_AVAILABILITY_DOMAIN'), true) : null;

Output:
=== Thu May 23 22:14:01 CDT 2024 ===
{
"code": "InternalError",
"message": "Out of host capacity."
}
{
"code": "InternalError",
"message": "Out of host capacity."
}
{
"code": "InternalError",
"message": "Out of host capacity."
}

I think my script is setup weird - it tries once and sends me back to terminal

Also that constructor seems the same, getting the error still


Return nil for tags on unsuccessful catalogs

Whenever we try to fetch the tags of a given repository, set the "tags"
value to nil for repositories for which the request was unsuccessful.
This is already handled by the CatalogJob as a way to skip it. This way,
we avoid removing repos when a 401 response has been returned when
accessing the catalog.
Signed-off-by: Miquel Sabaté Solà<EMAIL_ADDRESS>

I changed my code and checked that CatalogJob works fine.
But it repeatedly deleted and created the existing repositories.

Closing. After #1782 I will submit a PR that depends on it that clears this once and for all. It should also cover some corner cases pointed out in #1599.


Throw money being (massively) used during boss fights

I think that might be useWormholeIfRelevant() acting up or something.

Only happens during endgame, should be fixed.


feat(#58): codecov setup

closes #58

PR-Codex overview
This PR enhances the project by adding code coverage measurement using pytest-cov and integrating Codecov for coverage reporting.
Detailed summary

Added .coverage to .gitignore
Updated Makefile to include code coverage measurement
Added pytest-cov to requirements.txt
Integrated Codecov for coverage reporting in GitHub actions

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@rultor merge

@h1alexbel OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@h1alexbel Done! FYI, the full log is here (took me 13min)


IDVA3-1448 Feature/add tracking to psc statement

added tracking to the back button, continue button and the checkbox for psc statement

CI: No security warnings found


4D: For first access of GA ' only governance actions I can see are the ones that have been accepted by the Constitutional Committee'

4D: As any user of the app
When I view the governance actions page, the default setting for the filter that tells me if the governance action has bEn accepted by the Constitutional CommittE or not is set to show me those governance actions which have already bEn accepted
So that I do not waste my time looking at governance actions that will not pass.

In theory this flow is not needed as voting of cc and DReps happens at the same time

duplicate of https://github.com/IntersectMBO/govtool/issues/19


Crash When Using /rftdim recover

When I try to use this command to recover a dimension the server crashes. This occurred right after an update to the modpack (FTB Infinity).
latest.log http://pastebin.com/2qQabVtp
part of fml-server-*.log that seems relevant http://pastebin.com/rwEYdTUh
Are there any more files needed to debug this?

I would like to see the /rftdim info output of that dimension (you'll probably have to go back to a back for that). It appears to have a problem with a mob dimlet in it. From what version of infinity did you update?

Also why did you need to do a recover? And what version of rftools are you using now?

From version 1.2.1 I think. I needed to do a recover because the dimension broke for some reason. And it went from version 2.54 to version 2.71
The ouput of /rftdim info from inside the dimension is (copied from FTB launcher console)
[04:05:18] [Client thread/INFO]: [CHAT] §eDescription string B15,C166,T406,e429,f418,S399,M340,t486,d181,d178
[04:05:18] [Client thread/INFO]: [CHAT] §e    Digits: 30
[04:05:18] [Client thread/INFO]: [CHAT] §e    World version: 1
[04:05:18] [Client thread/INFO]: [CHAT] §e    Terrain: TERRAIN_VOID
[04:05:18] [Client thread/INFO]: [CHAT] §e        Base block: Stone
[04:05:18] [Client thread/INFO]: [CHAT] §e        Base fluid: Water
[04:05:18] [Client thread/INFO]: [CHAT] §e    Biome controller: CONTROLLER_SINGLE
[04:05:18] [Client thread/INFO]: [CHAT] §e    Biome: MushroomIsland
[04:05:18] [Client thread/INFO]: [CHAT] §e    Feature: FEATURE_NONE
[04:05:18] [Client thread/INFO]: [CHAT] §e    Structure: STRUCTURE_NONE
[04:05:18] [Client thread/INFO]: [CHAT] §e    Sun brightness: 1.0
[04:05:18] [Client thread/INFO]: [CHAT] §e    Star brightness: 1.0
[04:05:18] [Client thread/INFO]: [CHAT] §e    Sky color: 1.0, 1.0, 1.0
[04:05:18] [Client thread/INFO]: [CHAT] §e    Fog color: 1.0, 1.0, 1.0
[04:05:18] [Client thread/INFO]: [CHAT] §e    Celestial angle: 0.0

Can you try the latest dev build here: https://drone.io/github.com/McJty/RFTools/files
That version should allow recovering your dimension without crashing (if I did it right).
Another option (if you don't want to upgrade to the latest rftools) is to upgrade first from 2.54 to rftools 2.64. See if that works (if needed recover) and then upgrade from 2.64 to 2.71.

The new version fixes it. The dimension still disappears, but recover now recovers it.


Do not break homebrew cask and other automated installations

Installing software with brew is an essential task for everyone developing on Mac OS and it's nice nanobox got a recipe with #40. But the problem is that the hash of the deployed release is changing every few days breaking the ability to install nanobox because it is pinned for security reasons.
Four days ago i reported that the hashsum at homebrew cask for the 2.3.0 release was wrong (caskroom/homebrew-cask#41589) and as of today the installation fails again while the hash has changed again. And this for the stable distributed release 2.3.0.
Please stop replacing the published release all the time to allow unsupervised installations for ANY automated system which has to check the hash for security reasons.

We no longer support homebrew installs, or indeed installation via any system package manager, as mentioned in the final comment on the issue linked above. Accordingly, the cask should be removed, or at least include a disclaimer to users not to expect it to work consistently.

You will have good reasons for this decision but you should think about it a second time:
The only left option would be the steps of your Continuous Integration & Deployment Workflow. And to keep my possible large message short i have to say that the pointed out method of simply running some (untrusted) bash script within a CI workflow is not permitted for any project/company with security people involved because you could change the script all the time. And it could be malicious tomorrow because you've decided to do it, some MITM, someone replaced the file on S3 and so on and so on.

We don't support installation via automated methods at all outside of the continuous integration convenience script mentioned above, which is merely a convenience, as mentioned presently. We simply don't have the resources to maintain alternative installation mechanisms.

You don't need any resources to maintain alternative installation mechanisms. The actual ci.sh does not do more than installing and configuring docker and downloading https://s3.amazonaws.com/tools.nanobox.io/nanobox/v2/linux/amd64/nanobox.
If you simply have stable files at this url or another one the automated secure ci installation can be done by everyone without any problem - without you maintaining anything.


Move formatUrlWithWorkspaceId to core/utils

Description

Issues Resolved

Screenshot

Testing the changes

Check List

[ ] All tests pass

[ ] yarn test:jest
[ ] yarn test:jest_integration
[ ] yarn test:ftr

[ ] New functionality includes testing.
[ ] New functionality has been documented.
[ ] Update CHANGELOG.md
[x] Commits are signed per the DCO using --signoff

Codecov Report

Merging #221 (2499584) into workspace (2771ff9) will decrease coverage by 10.81%.
The diff coverage is 84.61%.

@@              Coverage Diff               @@
##           workspace     #221       +/-   ##
==============================================
- Coverage      66.20%   55.40%   -10.81%
==============================================
  Files           3419     1190     -2229
  Lines          65753    24059    -41694
  Branches       10590     4032     -6558
==============================================
- Hits           43535    13329    -30206
+ Misses         19574    10075     -9499
+ Partials        2644      655     -1989

Flag
Coverage Δ

Linux_1
?

Linux_2
55.40% <84.61%> (+0.03%)
:arrow_up:

Linux_3
?

Linux_4
?

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

Files
Coverage Δ

...lication/capabilities/capabilities_service.mock.ts
100.00% <ø> (ø)

src/core/public/http/http_service.mock.ts
100.00% <100.00%> (ø)

...c/core/public/workspace/workspaces_service.mock.ts
100.00% <ø> (ø)

src/core/public/workspace/workspaces_service.ts
88.88% <ø> (-1.12%)
:arrow_down:

...e/server/capabilities/capabilities_service.mock.ts
75.00% <ø> (ø)

...c/core/server/capabilities/capabilities_service.ts
100.00% <ø> (ø)

src/core/public/utils/workspace.ts
87.50% <77.77%> (+16.07%)
:arrow_up:

... and 2590 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

The commits history of this PR looks odd, it has commits not related to this PR.


initialise metadata for iceberg

The PR seems to include the removal  of some meta files (methodProperties.json and version files). Is it necessary?

I retry to set iceberg metadata and normally it do not remove those files. But it's strange don't touch those files. I will do another PR hopping that will not appear again.
Sorry, my bad.


Forgot Password Functionality

I would like to work on this issue.
Just let me know, what works need to be done under this?
Do I also need to implement OTP or Email verification?

[x] Hacktoberfest 2021

Hey @ashutoshkrris
Thank you very much for your interest in this project. Let me brief you about this issue.
Currently, zbunker-website doesn't have a Forgot Password functionality in the Register forms. You'd have to implement this functionality.

Do I also need to implement OTP or Email verification?
Yes, it would be of great help if you could do this.

Further details:
In the login section, there is a Forgot Password field. As of now, that is an impractical link. You'd have to implement the Forgot password functionality over there.

Great @P0intMaN
I would love to work on it.
Also, I wouldn't be able to work on the design part very much.
So, I'll use the same design as the login page, you can change it later if you wish.
Let me know if it works for you!


Updated factory documentation

Using __constructor for a factory is deprecated since 3.0.0 and removed in 4.0.0:
https://github.com/nelmio/alice/blob/master/doc/complete-reference.md#using-a-factory--a-named-constructor

Thank you @benndt


Run CI and build on Golang 1.12

Update CI and build pipelines to use Go 1.12.

Coverage remained the same at 74.488% when pulling ee150a628536a453960cec0547349fbc00486b70 on ci-golang-1.12 into 778c56c3083483d0f7b2d8d65142375e9b8aaba9 on master.

Coverage remained the same at 74.488% when pulling ee150a628536a453960cec0547349fbc00486b70 on ci-golang-1.12 into 778c56c3083483d0f7b2d8d65142375e9b8aaba9 on master.


Reorganize core folders

This PR reorganizes the core folder structure of the GUIDE to more clearly separate src files

Doing more thorough testing later to be sure

Gotcha. Thank you!

Also I just noticed something in the CI - what are the 'Example Pipeline Tests' testing if they don't have any example data? Just the tutorials?

Hmm.. I guess it just skips everything? https://github.com/NeurodataWithoutBorders/nwb-guide/actions/runs/9198157905/job/25300243822?pr=792#step:10:175

Oh no! Yep you got it. I forgot to add the GIN download steps to the workflow after testing locally...

Oh no! Yep you got it. I forgot to add the GIN download steps to the workflow after testing locally...

We can deal with that in a follow-up then
Current problem holding up PR is for building whereas the pipeline tests use dev mode, right?

Correct. Trying to figure out where the renderer folder went now.

OK, I still get the same warning when building on windows
cannot find specified resource "electron/renderer/assets/app-icon/logo-guide-draft.ico", nor relative to "D:\GitHub\nwb-guide\build", neither relative to project dir ("D:\GitHub\nwb-guide")

(which is true, there is no 'electron' folder in 'renderer' in 'build') and the .exe in the build folder fails
But the dist works just fine so getting this through

Ah figured it out. Just a simple bad path in the package.json file. Will submit a follow-up


Error: Undefined method 'starts_with?' for Array(String) (compile-time type is (Array(String) | Bool | Float64 | Int32 | Int64 | Invidious::User | Preferences | String))

Upon running an update (Option 2), I ran into the error below.  Invidious ultimately started in the end.  Let me know if you need additional information (and how to pull it).  This is running on Ubuntu 20.04, 6GB RAM, 8 Cores.
...Using athena-negotiation (0.1.1)
Using spectator (0.10.5
Using ameba (0.14.3)
**Checking player dependencies...
Player dependencies are satisfied
Showing last frame. Use --error-trace for full trace.
In src/invidious/routes/playlists.cr:227:23
227 | if !plid || !plid.starts_with?("IV")
^-----------
Error: undefined method 'starts_with?' for Array(String) (compile-time type is (Array(String) | Bool | Float64 | Int32 | Int64 | Invidious::User | Preferences | String))
/home/invidious/invidious
✔ Done Rebuilding /home/invidious/invidious
-- restarting Invidious
● invidious.service - Invidious (An alternative YouTube front-end)
Loaded: loaded (/lib/systemd/system/invidious.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2022-02-24 15:24:15 CST; 2s ago
Main PID: 5272 (invidious)
Tasks: 8 (limit: 6996)
Memory: 34.1M
CGroup: /system.slice/invidious.service
└─5272 /home/invidious/invidious/invidious -o invidious.lo

Please see issue https://github.com/iv-org/invidious/issues/2918 (over on the invidious repo) and #81 (PR for fixing invidious updater).

Should be fixed in v1.6.1


Table 'redshift'

The 'redshift' table contains 250 values in increments of 100:
https://github.com/jonls/redshift/blob/master/src/colorramp.c
Maybe you should borrow (to be in trend)?

PR https://github.com/faf0/sct/pull/8


Update dependency codemirror to v6

This PR contains the following updates:

Package
Type
Update
Change

codemirror
dependencies
major
5.65.16 -> 6.0.1

Release Notes

codemirror/basic-setup (codemirror)
v6.0.1
Compare Source
Bug fixes
Work around limitations in tree-shaking software that prevented basicSetup from being removed when unused.
v6.0.0
Compare Source
Breaking changes
Change the package name from @codemirror/example-setup to just codemirror.
The package no longer exports EditorState (since that is no longer necessary to set up a basic editor).
New features
The new minimalSetup export provides a minimal set of editor extensions.

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Needs
function editorFromTextArea(textarea, extensions) {
       let view = new EditorView({doc: textarea.value, extensions})
       textarea.parentNode.insertBefore(view.dom, textarea)
       textarea.style.display = "none"
       if (textarea.form) textarea.form.addEventListener("submit", () => {
         textarea.value = view.state.doc.toString()
       })
       return view
}
    ```

And probably an ESM module? Not sure since I don't get the whole build process yet


Remote variables

Hello,
I want to get some variables during build from a remote API. I know you can create remote collections but can you create remote variables?
My use-case is that I want my site to display the prices set by my separate billing system.

Yes, you can do this with an event listener, during the beforeBuild event. There's an example in the docs that demonstrates fetching the weather from a remote API, and storing it in a config variable.

Cool, I think I might go down the JavaScript route though since if the pricing changes then I don't have to redeploy the entire site :+1:


Update Composer dependencies (2021-01-07-00-12)

Visual regression test passed!
View the visual regression test report

Visual regression test passed!
View the visual regression test report


[color-picker] changed logic of entering color format

Commit was signed off by<EMAIL_ADDRESS>with GPG key ID EA2F630031F24EEF
Description
From this version it is possible to enter hex code in both formats: with # sign - #123123 and without # sign - 123123.
Motivation and Context
To have possibility enter hex code with #.
How has this been tested?
by myself (with eyes)
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

If you write a test for this logic, it will be just fine ☺


MSID: 98366 Version: 1 DOI: 10.1101/2<IP_ADDRESS>9544

MSID: 98366
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>9544
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=98366
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>9544

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/98366v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>9544
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/98366/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c45) has a publication-type='other'. Is that correct?


Add feature to cleanup the container at startup

Right now we have a bundle that is able to cleanup the core by removing every CSAR inside. The problem is that the bundle will run that logic when it is started, without any control by the user.
It would be better for the user if the would implement a check with the settings bundle for a "-clean" parameter and then do the cleanup.

was an issue when we still used OSGi


bats: 1.7.0 -> 1.8.0

Description of changes
Update to https://github.com/bats-core/bats-core/releases/tag/v1.8.0 and fix related nits for resholve and tests.
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review run on x86_64-darwin 1

3 packages built:

bash-preexec
bats
packcc

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

3 packages built:

bash-preexec
bats
packcc


Source [part 1]: math functions

Add some functions for maths.

Fixed conflicts and changed the contributors according to @i2000s 's suggestion. TheTravis-cl's test will not success if branch src-2 is not merged. @amitjamadagni


Only one location showing up

I followed the layout like below.
    [
        'visitorInfo' => [
            //ISO-3166 alpha-2 code http://en.wikipedia.org/wiki/ISO_3166-1
            'location_country' => 'US',

            //the region code (i take them from piwik/libs/MaxMindGeoIp/geoipregionvars.php
            'location_region' => 'NJ',

            //should be freetext
            'location_city' => 'City',

            //get this from a picker, e.g. http://www.tytai.com/gmap/
            'location_latitude' => 'xccxx',
            'location_longitude' => '-xxxxx',

            //enter your company name or do it based on your domain hierarchy
            // Provider requires the "Provider" Plugin to be active. (Disabled by default in Version 2.15 and above)
            'location_provider' => 'provider'
        ],
        'networks' => [
            //enter here all subnetworks for this location
            //use a subnetwork calculator, e.g. http://jodies.de/ipcalc
            '<IP_ADDRESS>/16'
        ]
    ],
[
        'visitorInfo' => [
            //ISO-3166 alpha-2 code http://en.wikipedia.org/wiki/ISO_3166-1
            'location_country' => 'US',

            //the region code (i take them from piwik/libs/MaxMindGeoIp/geoipregionvars.php
            'location_region' => 'PA',

            //should be freetext
            'location_city' => 'City',

            //get this from a picker, e.g. http://www.tytai.com/gmap/
            'location_latitude' => 'xccxx',
            'location_longitude' => '-xxxxx',

            //enter your company name or do it based on your domain hierarchy
            // Provider requires the "Provider" Plugin to be active. (Disabled by default in Version 2.15 and above)
            'location_provider' => 'provider'
        ],
        'networks' => [
            //enter here all subnetworks for this location
            //use a subnetwork calculator, e.g. http://jodies.de/ipcalc
            '<IP_ADDRESS>/16'
        ]
    ],
//more stuff
];

I only get the first location in NJ

I was able to fix it


[Epic] Audit Logs

Problem statement
Users need a way to view the actions that were taken on an application to backtrace errors that occurred.
Excerpt from a user
Basically, I am interested in knowing about these:
 - who logged into the app
 - who ran which query
 - who invited whom and with what role

+1 on the feature.

+1

+1 here, outside Git Sync, this is next on the list of asks

+1

+1

Hello all :wave:
Hope you’ve had or are still having a great weekend! We’re getting started with research for Audit Trails and would like to understand your requirements and needs around this in detail. Would be great if you can spare a few minutes to talk to us at a time that works for you.
📆 https://calendly.com/appsmith-vishak/conversations

A user asked if it is possible to track app errors encountered by App Viewers when using the app. Adding this use case here.
https://community.appsmith.com/t/how-do-i-get-log-details-of-the-application-which-i-built-using-appsmith/1031/2

Meeting Notes
25 July 2022
Discussed

We'll combine similar events into one and pass the extra information in the context object, for example for deploys instead of having app.deployed and git.branch.deployed, we'll have app.deployed and pass the git info in the context object
Have to discuss with the larger team as to how we are handling granular access for this for the first phase, are we going all or nothing access to logs or defining access at a resource-level? Don't context on use cases here yet. If anyone is keen on talking to us about this, please schedule some time us - 📆 https://calendly.com/appsmith-vishak/conversations
In connection with granular access control again, we have to discuss with the larger team if we are adding a configuration to show/hide sensitive info

Next Steps

@vishnu-gp to continue adding missing data to events for audit logs
@vasanth-appsmith to share the initial design flows and gather feedback
@IAmAnubhavSaini to work on frontend POC

Adding a link to the designs for the Audit Logs here
https://www.figma.com/file/Dt7cAW39VThdkTjFSMKePG/Audit-Logs

Meeting Notes
22 Aug 2022
Discussed
A few things that we've agreed on to work on in future releases

Adding a log for manual instance upgrades.
Distinguishing between system-generated and user-generated events, especially around page updates when a migration is run on the client
Opening up logs for workspace admins and developers in the Business edition.

Next Steps

@vishnu-gp @vuiets to add events for instance setting edits
@vasanth-appsmith @Debsourabh to explore designs for Upgrade triggers
@AnaghHegde to share instance with QA for testing by 29 Aug
@AnaghHegde to add filter APIs for logs
@IAmAnubhavSaini to work on filtering in the UI, Settings page and continue integrating with APIs
@AnaghHegde @trishaanand to add a permission to view all audit logs

+1 on this feature.

🗒  Meeting Notes
5 Sep 2022
💬  Discussed

We aim to merge Audit Logs to release under feature flag by 19 Sep
Goal is to ship to users by 30 Sep
To let users filter by a time period and zero in on the logs we need a date range filter for Audit Logs

Gotta raise a ticket for a date range picker to design-system pod
Design APIs to accommodate filtering by a custom date range
If the design system pod can deliver a date range picker by 19 Sep, we’ll pick this up for the first public release

We need to close on the decision around the icons for logs by 7 Sep
Also discussed open items from the commitments on Product Sprint Weekly
Kudos to the team for sharing the deploy preview to get a first look on 2 Sep 👏  We discussed the feedback from that share and listed things to check with the design system pod for the planned design

⌛ Progress from last week

[x] @vishnu-gp @vuiets to close on extra data for events
[x] @AnaghHegde to close on filter API - date range filtering
[x] @vishnu-gp workspace events not logged debug and fix
[x] @IAmAnubhavSaini to fix the bug that doesn’t update the url/store on clicking x in the selected option
[x] @IAmAnubhavSaini to fix the sort order (refresh not working) bug
[x] @IAmAnubhavSaini to implement pagination
[x] @IAmAnubhavSaini to implement description
[x] @IAmAnubhavSaini to hide audit logs settings for now
[x] @Raksha Shetty to start testing on EC2 instance

🎯  Next Steps

[ ] @vishnu-gp to add instance setting events
[ ] @vishnu-gp @AnaghHegde to go through all events and JSON to verify every data is available and add tests cases
[ ] @vishnu-gp to move the logging for Audit Logs to a background thread
[ ] @AnaghHegde to introduce access control permission to Audit Logs
[ ] @AnaghHegde to add unit tests for the APIs
[ ] @AnaghHegde to add unit tests in all the service class for verifying the events are logged
[ ] @RakshaKShetty to continue testing on EC2 instance
[ ] @hiteshjoshi to talk to design system pod to discuss the component changes
[ ] @vasanth-appsmith to talk to @albinAppsmith about the dropdown and conclude the design
[ ] @vasanth-appsmith to provide better design solution for “End of logs”
[ ] @IAmAnubhavSaini  to implement loading…
[ ] https://github.com/appsmithorg/appsmith/issues/15800
[ ] https://github.com/appsmithorg/appsmith/issues/15871
[ ] https://github.com/appsmithorg/appsmith/issues/16065
[ ] https://github.com/appsmithorg/appsmith/issues/16478
[ ] https://github.com/appsmithorg/appsmith/issues/16479

🗒  Meeting Notes
12 Sep 2022
💬  Discussed

For bulk operations will we log a separate event or cover it in the same event that tackles single operations? User invites has this dilemma.

So user.invited will record both single and bulk user invites; we’ll have an array in the invitedUsers object.

To be able to drill down at a custom time range and ask questions of the Audit Logs, we need a new date range picker component. So @Debsourabh will work on the component and pass this on to the Design System pod in a week.
Instance setting update key name will remain the same; some concerns over camel casing the type of resource on which the activity was performed but we are good to go with it

⌛ Progress from last week

[x] @vishnu-gp to add instance setting events
[x]  @AnaghHegde to introduce access control permission to Audit Logs
[x]  @AnaghHegde to add unit tests for the APIs
[x]  @IAmAnubhavSaini to implement loading…
[x]  [Task]: Implement infinite scroll for logs #15800
[x]  [Task]: Implement next page load on scroll for audit logs #15871
[x]  [Task]: Update more menu with actual menu-options for audit-logs-v1 #16065

🎯  Next Steps

[ ] @vishnu-gp @AnaghHegde to finish with BE Unit Tests and handle test case failures
[ ] @vishnu-gp @AnaghHegde @IAmAnubhavSaini to fix bugs raised by @RakshaKShetty
[ ] @vishnu-gp @AnaghHegde to finish BE release PR review and merge
[ ] @AnaghHegde to add feature flag in release for Audit Logs
[ ] @AnaghHegde to test permission related changes for Audit Logs
[ ] @RakshaKShetty to continue testing bug fixes on EC2 instance
[ ] @vasanth-appsmith  to talk to @albinAppsmith about the dropdown and conclude the design
[ ] @vasanth-appsmith to provide better design solution for end of logs...
[ ] [Task]: Cleanup code and data structures #16478
[ ] [Task]: Unit tests for audit logs #16479


Role test for discord

Describe the feature request
We could make good use of a discord tab for "Role test"
Spam policy

[X] I verify that this issue is NOT SPAM and understand SPAM issues will be closed and reported to GitHub, resulting in ACCOUNT TERMINATION.

That's a good one, it would be great if they add it


Since Angular 4.3.4 app.component.scss is ignored

I'm submitting a ...
[x ] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?

Bug in Angular itself, what do you think?

What is the current behavior?

Styles in app.component.scss are ignored since Angular version 4.3.4 ONLY in build:dev not with AOT or JIT prod compiling.

What is the expected behavior?

It was ok until Angular 4.3.3 but maybe it is related to: #18802 ?

Please tell us about your environment:

Webpack: 3.5.5
Angular version: 4.3.4/4.3.5
Browser: [ Chrome XX | Firefox XX  ]
OS: Linux Ubuntu 16.04

What's your build script?

it's just as you mention in that issue. you need to use a preprocessor to compile the scss into css before angular reads it or bypass angular from handling styles all together

it's just as you mention in that issue. you need to use a preprocessor to compile the scss into css before angular reads it or bypass angular from handling styles all together
--

Of course my sccs is compiled first as it work with build:aot for example...
I just meant that with build:dev app/component.scss or app.component.css are not loaded when the app starts. My code has to be in assets/style.scss to be read before the app is loaded. And why does it has changed since Angular 4.3.4 ?


Update NuvlaBox should have progress follow up

After clicking on update a job is created but we have to go to api page to see the progress of the job.
Solutions:
a) Keep modal open and show job progress with an image of NB, a progress bar and show status message with lines returns if any

b) When clicking on alert in notification bell menu, when an action is async (202 code) show a generic but less raw modal with progress bar and status message if any with an automatic refresh of job

There was one for generic progress of an action. From my notes:

Found https://github.com/nuvla/ui/issues/444

I don't think we should keep modals up to show progress. Modals should only be used for short specific tasks.  I also don't think the notification bell is the right place for progress display. Progress over multi-steps actions should be made generic in the UI.  For example, deployment or update of apps would also benefit from showing progress (e.g. number of replicas?)
We should find a consistent place to show progress of current actions in each detail page.  For example, status is shown in different places for NB and deployments:

A progress bar or steps (semantic ui) could be a simple starting point.

Done


Publish latest version to github

@shahen94 can you please publish latest version on here? Npm latest version is 1.13.0, on github it is still 1.7.1

Will do in 1 week.
Thanks

Please @shahen94  , I request you to do this fast , i have an urgent need of this in my project

can you please tell me how to install this github version in to my project, I am unable to do so

@keshamtravels
In your package.json add this line
"react-native-video-processing": "git+https://github.com/shahen94/react-native-video-processing.git"

Nevermind, I published the latest version to npm under the 1.20.0 version

Thank you @shahen94  , for such a great support from your side


Job Table (167): field ID 8000 of type GUID

Hi,
I saw some request regarding GUID fields. We are also in need of same, field ID with field no. 8000 in Job table.

You can add this field using table extension if needed


add gsnap/gsnapl exe detection to host filter

Copy @morsecodist technique developed for non-host alignment stage

Subsumed by #39


Construct/sign/submit tx with delegation shared wallets

[x] sneak delegation action to ctxTx
[x] refactor constraints in constructSharedTx
[x] introduce ErrConstructTxStakingInvalid with integration test
[x] create proper staking credential during tx construction
[x] introduce script as credential in shelley module
[x] introduce dScriptTemplateM in balanceTransaction
[x] introduce txStakingTemplate in TxSkeleton
[x] fee adjustment
[x] inject delegation script if it is valid
[x] add emptySharedWalletDelegating and fixtureSharedWalletdelegating
[x] constructTx with delegation integration test
[x] account deposit/refunds
[x] make sure decodeSharedTransaction account deposits/refunds and certificates properly
[x] extending WitnessCtx in the context of decodeSharedTransaction
[x] signing mechanism
[x] show signing in integration testing
[x] sneaking WitnessCtx in signTransaction
[x] guarding submission and adding proper integration tests

Comments

Issue Number
adp-2602

closing in favor of https://github.com/input-output-hk/cardano-wallet/pull/3830


Not working with Photoshop CC 2014

I tried the installing the given example for Photoshop CC 2014 (both system-wide and user installs). The script copies to the locations without any errors. But the extension doesn't show up after restarting Photoshop.
What could have gone wrong?
EDIT: Even manually copying the files to the locations doesn't seem to work.

Hi @thameera,
if you have a look ad the content of the ASSETS/HTML folder, you'll see it contains just a couple of placeholder files (an empty example.html and an empty CSXS/manifest.xml file) so no surprise you don't see any extension in PS.
IF the files are deployed correctly, let's say it works :-) I understand it can be misleading though, I'll add a proper Hello World extension in next update.
Thanks for pointing out!
-Davide

Ah, forgot to check the manifest.xml file, thanks! Added a proper manifest and an index.html file; and it worked in my machine.
So basically, just copying the signed (and extracted) extension folder to "C:\Program Files (x86)\Common Files\Adobe\CEP\extensions" should work, right?
The thing is I had installed an extension from their online store, and it was installed in this folder. When I copied my extension to same location it worked.
Then I removed both of them and manually created the folder and copied. Now Photoshop doesn't recognize the extension. (I'm testing this coz this extension has to be deployed to other users)
Still very confused about the whole thing. :S

Hi @thameera,
it might be because of signing/timestamping? If you have a deployed and working extension and you change, remove, edit, touch a file (even think about it intensely I'd say :-) it won't work anymore since you've broken the signing.

Hi @undavide,
Finally found the issue. In my manifest.xml I had added PHXS under HostList, but not PHSP. The docs only mention PHXS in most places, but has mentioned PHSP in one place.
Apparently PHSP - Photoshop, PHXS - Photoshop Extended.
The problem's fixed now, though I have no idea what Photoshop Extended is. :D (Remember there was a CS6 Extended, but thought that was just a single version).
Thanks!


[Help] belongsTo relation

'use strict';
module.exports = (sequelize, DataTypes) => {
  var Model = sequelize.define('Company', {
    name: DataTypes.STRING
  });

  Model.associate = function(models){
      this.Users = this.belongsToMany(models.User, {through: 'UserCompany'});
  };

  return Model;
};

Can you please explain why this is used in  this.Users = this.belongsToMany(models.User, {through: 'UserCompany'});
How do I write belongsTo relation?
I'm a beginner
Thanks.

Nevermind. I understood.


Citations

[x] Should we put a link for each of those boxes down to the proper references at the bottom?
[ ] More prominently feature a link to the main paper at the beginning, probably needs to be a placeholder until we get a real link.
[x] Actual hyper-links to the references (I'll work on getting those)

@eread-usgs when PR #151 is merged, could you double-check that the links in the text go to the reference they are suppose to go to?


[DO NOT MERGE] Hotfix/5.53.1

Issues:

https://app.asana.com/0/414730916066338/1173626637445201
https://app.asana.com/0/414730916066338/1173643844688065

Description:

The Bottom Bar Experiment needs new keys, the old ones were still being used
When releasing to Beta we noticed a crash that appeared when the BottomBar was being shown throwing an IllegalStateException

Internal references:
Software Engineering Expectations
Technical Design Template

Thanks for the review @cmonfortep!


daily report can get into an infinite loop of opening

If the PTN is up when the daily report should open, we defer opening the daily report (a9974db5). When that happens, closing the report re-opens it again and again, so you can never close it.

I'm going to do this as part of #71, and add unit tests to it as well.


I am getting AbortDownloadException while crawling data from username

Please help me to fix this. What can I do. How can I create a Session. Thanks
raise AbortDownloadException("Redirected to login page. You've been logged out, please wait " +
internal python[110124]: instaloader.exceptions.AbortDownloadException: Redirected to login page. You've been logged out, please wait some time, recreate the session and try again

python[110124]: HTTP redirect from https://i.instagram.com/api/v1/users/web_profile_info/?username=texnoplov to https://i.instagram.com/accounts/login/?next=/api/v1/users/web_profile_in...

same problem here


Cookbook @recipe_files not found fatal while runing with chef 12.3

I'm running simple provisioning
require 'chef/provisioning/fog_driver/driver'

with_chef_server 'https://api.opscode.com/organizations/someorg',
                 client_name: Chef::Config[:node_name],
                 signing_key_filename: Chef::Config[:client_key]

machine 'web1' do
  recipe 'web_server'
  converge true
end

via CHEF_PROFILE=shellyinten chef-client -c ~/.chef/knife.rb provision.rb. Server is booting up properly, chef is running, but the end I'm getting fatal error:
[2015-05-01T17:04:28+02:00] FATAL: Stacktrace dumped to /Users/szymon/.chef/cache/chef-stacktrace.out
Chef Client failed. 1 resources updated in 57.613821 seconds
[2015-05-01T17:04:28+02:00] ERROR: Cookbook @recipe_files not found. If you're loading @recipe_files from another cookbook, make sure you configure the dependency in your metadata
[2015-05-01T17:04:28+02:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

Yes I am also facing the same issue with AWS as provider.
For reference , using Chef Client, version 12.3.0
# it is windows.rb
require 'chef/provisioning/aws_driver'

with_driver 'aws::us-east-1'

with_machine_options({
  bootstrap_options: {
    image_id: "ami-f70cdd9c", # default for us-west-1
    instance_type: "t2.small"
  },
  convergence_options: {
    # The following are only available for Windows machines
    install_msi_url: "https://opscode-omnibus-packages.s3.amazonaws.com/windows/2008r2/x86_64/chef-client-12.4.1-1.msi"
  },
  aws_tags: { :key1 => "value", "key2" => "value"},
  is_windows: true # set to true if using a Windows AMI
})

machine 'my-windows-web-7' do
  run_list ['hello-world']
end

The command used for is
chef-client.bat -c D:\project\source\chef-repo\.chef\client.rb .\windows.rb

Any solution for this ?
Regards,
-Vinayak

+1

In matter of fact I don't have such issue anymore. I'm not sure How it was solved. Where do you store cookbooks? In same directory from you are running chef-client?

No, I'm provisioning with Chef Server. all my cookbooks are in Chef Server

And how does your client.rb look like?

```/etc/chef/client.rb in provisioner node
log_location             STDOUT
node_name                "my-provisioner"
client_key               "/etc/chef/my-provisioner.pem"
chef_server_url          'https://chef-srv02.ireland.internal/organizations/my'
trusted_certs_dir        '/etc/chef/trusted_certs'

I've added cookbook_path to mine (I'm always running from chef repo directory so paths are relative)
cookbook_path ['./cookbooks', './site-cookbooks']
Check it please.

I added as you suggested, it is still the same error.

Ok I see what helped :/ downgrade to 12.2.x

kk, thanks. But I stay with 12.4.1. It is still minor. Hope they would fix soon

I think the best solution is to use ChefDK, these warnings may be caused by some mixup of chef-provisioning and chef gems versions.

I'm actually using ChefDK 0.7.1 for my provisioner.

@chrisduong Can you grab a full stacktrace from a failing run and put it in a gist?

Hi @tyler-ball, here is the gist

Okay, it looks like the recipe name is set by https://github.com/chef/chef/blob/1ef5f566480ba84091a12f2b6c5e85f44af54a5b/lib/chef/run_context.rb#L306-L315
I know there were some issues with Chef 12.3.0 - would you mind using 12.4.1 or the latest ChefDK and see if this is still an issue?

I'm using the latest one.
$ chef --version
Chef Development Kit Version: 0.7.0
chef-client version: 12.4.1
berks version: 3.2.4

I don't think this has anything to do with provisioning except that users are far more likely to run into this using chef-client -z my_provisioning_recipe.rb.  But Its still a bug and I would like to investigate to create a repro (hopefully one without provisioning).

Hi,
I've just found out. No matter what I set in client.rb for cookbook_path, when provisioning, the return aws_object always come with the same cookbook_path to "/home/abc/.chef/cache/cookbook"
aws_object("some-name") do
  action [:create]
  retries 0
  retry_delay 2
  default_guard_interpreter :default
  driver #<Chef::Provisioning::AWSDriver::Driver:0x00000008e62708
  #@driver_url="aws::eu-west-1",

  #@config={:log_location=>#<IO:<STDOUT>>, :node_name=>"my-provisioner", :client_key=>"/home/abc/my/repo/chef-repo/.chef/my-provisioner.pem", :chef_server_url=>"https://chef-srv02.ireland.my.internal/organizations/my", :cookbook_path=>**"/home/abcd/.chef/cache/cookbooks"**, :trusted_certs_dir=>"/home/abcd/my/repo/chef-repo/.chef/trusted_certs", :force_logger=>false, :force_formatter=>false, :color=>true, :named_run_list=>nil, :config_file=>".chef/client.rb", :log_level=>:info, :specific_recipes=>["/home/abcd/Dropbox/my/repo/chef-repo/cookbooks/s_aws_resources/test/scripts/aws_security_group/dest_is_all_port.rb"], :formatters=>[], :event_handlers=>[], :authentication_protocol_version=>"1.0", :start_handlers=>[], :chef_provisioning=>{}},

Any workaround on this issue? It blocks production deployment process

+1

Hi,
I've just kinda sorted it out, at least for my case. It meant that chef-client cannot found the recipe even though it still execute the the ruby file(provision.rb)  as the last argument.
IMHO, Chef client means to run with recipe by looking in cookbook_path, not to execute a ruby file - chef-apply is for doing that job. So the proper way is to pass a recipe, not a ruby file. For e.g.
chef-client -o 'recipe[abd::provisioning_sth]'

Your job is to make sure that you set the correct cookbook_path so chef-client can find it.

It worked fine with previous chef iterations, there were no deprecation warnings between versions. It it was unintended feature it should be restored ;-)

bump
What @szymonpk said. This should either work as previously or be explicitly documented.

Same issue here

I don't see this issue on 12.6.0 anymore.

I still see the issue in 12.7.2.

Aha! I see what's still not working. If you give chef-client two ruby files, it still breaks but if you give it one file it works again. Easy workaround for me at least.

I'm seeing this issue on v12.9.38. We also use multiple files that we pass to chef-client with desired order. Packing everything to one file make it work but it's breaking our current workflow. :/

I think I recreated this issue too whilst trying to provision a vagrant host - https://gist.github.com/equick/915010979aefc2f80aef9260a28d8fa1 . It seems to be caused by the two files provided as @ramereth mentioned above although in my case I need both.

I'm not sure chef-client -z was ever supposed to accept multiple recipes to run. You could make a single recipe that includes the others, either using include_recipe, Kernel.load or instance_eval. I'm not sure which will work off the top of my head

@tyler-ball Tried Kernel.load with combination of instance_eval but can't make this happen. I guess the included dependencies (configuration) files are still evaluating in some other namespace [2016-05-05T18:11:49+02:00] ERROR: undefined method `with_chef_server' for main:Object or maybe I'm doing something wrong. Anyway. Is there any working example for splitting provisioning recipes with the recent version of chef/provisioning-gem?

Using Chef client 12.10.24 with vagrant provisioner. Issue persists. I separate file for vagrant configuration and another file for recipe. It still says, Cookbook not found.

+1 with client 12.11.18 and vagrant provisioner

It seems to be related to https://github.com/chef-cookbooks/compat_resource/issues/70

^ this has nothing to do with compat_resource

its also very likely that this is due to trying to use resources that require a cookbook structure when running a recipe file on the command line or using chef-apply.
fail.rb:
template "/tmp/foo.xyz" do
  source "foo.xyz.erb"
end

# chef-client -z ./fail.rb
[2016-08-29T09:07:34-07:00] INFO: Started chef-zero at chefzero://localhost:8889 with repository at /Users/lamont/chef
  One version per cookbook

[2016-08-29T09:07:34-07:00] INFO: Forking chef instance to converge...
Starting Chef Client, version 12.13.37
[2016-08-29T09:07:34-07:00] INFO: *** Chef 12.13.37 ***
[2016-08-29T09:07:34-07:00] INFO: Platform: x86_64-linux
[2016-08-29T09:07:34-07:00] INFO: Chef-client pid: 9357
[2016-08-29T09:07:36-07:00] INFO: Run List is []
[2016-08-29T09:07:36-07:00] INFO: Run List expands to []
[2016-08-29T09:07:36-07:00] INFO: Starting Chef Run for lamont
[2016-08-29T09:07:36-07:00] INFO: Running start handlers
[2016-08-29T09:07:36-07:00] INFO: Start handlers complete.
[2016-08-29T09:07:36-07:00] INFO: HTTP Request Returned 404 Not Found: Object not found:
resolving cookbooks for run list: []
[2016-08-29T09:07:36-07:00] INFO: Loading cookbooks []
Synchronizing Cookbooks:
Installing Cookbook Gems:
Compiling Cookbooks...
[2016-08-29T09:07:36-07:00] WARN: Node lamont has an empty run list.
Converging 1 resources
Recipe: @recipe_files::/home/lamont/fail.rb
  * template[/tmp/foo.xyz] action create[2016-08-29T09:07:36-07:00] INFO: Processing template[/tmp/foo.xyz] action create (@recipe_files::/home/lamont/fail.rb line 1)

    ================================================================================
    Error executing action `create` on resource 'template[/tmp/foo.xyz]'
    ================================================================================

    Chef::Exceptions::CookbookNotFound
    ----------------------------------
    Cookbook @recipe_files not found. If you're loading @recipe_files from another cookbook, make sure you configure the dependency in your metadata

    Resource Declaration:
    ---------------------
    # In /home/lamont/fail.rb

      1: template "/tmp/foo.xyz" do
      2:   source "foo.xyz.erb"
      3: end

    Compiled Resource:
    ------------------
    # Declared in /home/lamont/fail.rb:1:in `from_file'

    template("/tmp/foo.xyz") do
      action [:create]
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      source "foo.xyz.erb"
      declared_type :template
      cookbook_name "@recipe_files"
      recipe_name "/home/lamont/fail.rb"
      atomic_update true
      path "/tmp/foo.xyz"
    end

    Platform:
    ---------
    x86_64-linux

[2016-08-29T09:07:36-07:00] INFO: Running queued delayed notifications before re-raising exception

Running handlers:
[2016-08-29T09:07:36-07:00] ERROR: Running exception handlers
Running handlers complete
[2016-08-29T09:07:36-07:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 01 seconds
[2016-08-29T09:07:36-07:00] FATAL: Stacktrace dumped to /home/lamont/.chef/local-mode-cache/cache/chef-stacktrace.out
[2016-08-29T09:07:36-07:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2016-08-29T09:07:36-07:00] ERROR: template[/tmp/foo.xyz] (@recipe_files::/home/lamont/fail.rb line 1) had an error: Chef::Exceptions::CookbookNotFound: Cookbook @recipe_files not found. If you're loading @recipe_files from another cookbook, make sure you configure the dependency in your metadata
[2016-08-29T09:07:36-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

at that point you have to abandon the just-whip-up-a-single-ruby-file approach like chef-apply and create a real cookbook structure with, say, ./cookbooks/test/recipes/default.rb and ./cookbooks/test/templates/foo.xyz.erb and then invoke with chef-client -r -z 'test::default'
unsure what is going on with chef-provisioning to tickle this, but afaik its never worked.

@lamont-granquist It worked for us for some time, don't know why ;-) We've moved to full-cookbook convention and it works even better now. It may look like a little bit hassle for smaller environments, but  it should be only supported 'way' of running chef-provisioning.
I'm not sure if this ticket should be continued at all.

It is certainly a really crappy error message at the very least...


refactor: lake: merge BuildJob into Job

This PR merges BuildJob and Job, deprecating the former. Job now contains a trace as part of its state which can be interacted with monadically. This PR also simplifies the implementation of OpaqueJob.
This merger removes the need in Lake to distinguish between different kinds of jobs, which helps enable the overall goal of making all targets return a Job (and therefore make it easer for the frontend to manipulate them in, e.g., #6323).

!bench

Little side note, it would be great if you could also write an adoption PR for doc-gen for this :sweat_smile:

@hargoniX FYI, the refactor has been coded in such a way that it should hopefully not break doc-gen (just deprecate some things). Thus, I plan on waiting on the PR until I merge a breaking refactor (e.g., #6418).


Customize reactivation confirmation modal for bots

At present, we use the same reactivation confirmation modal for users and bots. However, parts of the text don't work well for bots, and we should modify it to be more appropriate (leaving the user deactivation modal the same as it is now).
Current:

New:

Zulip Commit Bot will have the same properties as it did prior to deactivation, including role and owner.

The new string should of course be tagged for translation.

@zulipbot claim


WIP: Add AppWorkload builder & Cycle checking

Changes to enable detection of workload conflicts.

Oops! I just saw that you already merged. So perhaps there should be a followup PR.

Oops! I just saw that you already merged. So perhaps there should be a followup PR.


Show message loading indicator in /stream

misc stuff accumulated from master, can be rebased out if necessary

Just ignore anything github says, it's always terminally confused.

No, github is right, this is a PR against urbit-org not master
Tho like the change should also get into master eventually
On Monday, 27 June 2016, Raymond Pasco<EMAIL_ADDRESS>wrote:

Just ignore anything github says, it's always terminally confused.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/pull/184#issuecomment-228906263, or mute
the thread
https://github.com/notifications/unsubscribe/ABxXhhXt7SgeNPwJp6T0ouim9py-YywEks5qQFyJgaJpZM4I_f8g
.

As far as I'm concerned urbit-org doesn't exist, but shouldn't that ship get normal updates as well as its own junk?

The "junk" is a fast-tracked talk UI change; I think it's unsubscribed from
updates for performance-predictability reasons. But yes, merging this is a
question for @philipcmonk
On Monday, 27 June 2016, Raymond Pasco<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

As far as I'm concerned urbit-org doesn't exist, but shouldn't that ship
get normal updates as well as its own junk?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/pull/184#issuecomment-228906909, or mute
the thread
https://github.com/notifications/unsubscribe/ABxXhhLftZg8723TlrdTxp1cZWIR2SIWks5qQF1mgaJpZM4I_f8g
.

I don't think there's any problem with just merging this and putting it all
on the urbit.org ship.  The talk change is also PR'd to master somewhere?
On Mon, Jun 27, 2016 at 4:34 PM, Anton Dyudin<EMAIL_ADDRESS>wrote:

The "junk" is a fast-tracked talk UI change; I think it's unsubscribed from
updates for performance-predictability reasons. But yes, merging this is a
question for @philipcmonk
On Monday, 27 June 2016, Raymond Pasco<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

As far as I'm concerned urbit-org doesn't exist, but shouldn't that ship
get normal updates as well as its own junk?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/pull/184#issuecomment-228906909, or mute
the thread
<
https://github.com/notifications/unsubscribe/ABxXhhLftZg8723TlrdTxp1cZWIR2SIWks5qQF1mgaJpZM4I_f8g
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/pull/184#issuecomment-228907277, or mute
the thread
https://github.com/notifications/unsubscribe/AFS8GDw7wQYuPmv6hX0U4NDysOs4vWdgks5qQF34gaJpZM4I_f8g
.

This is why you should never attempt to do what you're doing with git. You
end up needing to write a bot...
Yours,
r

The thing I'm attempting with git is organizational synchronization /
handoff of responsibility :P
In particular, the initial question "should I rebase all the master drift
out" is the reason I didn't just pull this in directly and push urbit-org
from prod afterwards
On Monday, 27 June 2016, Raymond Pasco<EMAIL_ADDRESS>wrote:

This is why you should never attempt to do what you're doing with git. You
end up needing to write a bot...
Yours,
r
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/pull/184#issuecomment-228908351, or mute
the thread
https://github.com/notifications/unsubscribe/ABxXhl1G8uvIQpMdVoIB4txWTT16lkSkks5qQF-CgaJpZM4I_f8g
.

I thought you were mirroring urbit.org...
Yours,
r

Mhm, this is why a pull request into the branch seemed like a good place to
discuss what should be on urbit.org
On Monday, 27 June 2016, Raymond Pasco<EMAIL_ADDRESS>wrote:

I thought you were mirroring urbit.org...
Yours,
r
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/pull/184#issuecomment-228909476, or mute
the thread
https://github.com/notifications/unsubscribe/ABxXhujBkTEnr3r54bHKbGOToiXOWxlHks5qQGEHgaJpZM4I_f8g
.

We've ascended past this over on urbit.org


How to pay with bitcoin using Stripe.js Elements and React?

Hi Stripe,
I have a question about bitcoin best practices with react-stripe-elements. I posted it on stack overflow.
I post it here for anyone seeking help on bitcoin with react-stripe-elements
Any help on this subject will be welcome.
Thank you

Hi @damienleroux!
We don't currently have any Elements for bitcoin. You can either use Stripe Checkout, or build your own UI and use Stripe.js v3 to create bitcoin Sources.
In the future, for questions like these, please write in to support! This repository is specifically for the React bindings to Stripe Elements.

@jenan-stripe Rather than asking everyone to email support seperately, maybe make a help document covering the topic so we don't have to wait fo you to answer and you don't have to answer the same question all the time?


Issues Updating From Craft 2

We noticed the table names have changed for Craft 3 and there doesn't appear to be logic in the Install.php file for upgrading from Craft 2. This caused issues when we updated a site and enabled caching. We had to uninstall the plugin then install it again to get the new tables.

Hi @benjaminkohl – yeah, I haven't written an Install migration for Cache Flag. I'll try to find the time and will update this issue if/when I do. Pull requests are also very welcome, if you'd want to take a stab at it :)

Took me long enough, but I just added a Craft 2 migration to Cache Flag 1.2.0. Unfortunately this version requires Craft 3.5.0-RC1 or later, but at least it's there for future Craft 2 upgrades :)


Redact secrets used in the tour

Do we care about this?

what's the concern? are some of the cut/pasteable thus leading to bad setups?

no, just that if everyone decides to use the seed show in the tour we we'd end up with a bunch of account peers, but maybe that's a good thing.

ha, let's see! was thinking you could cut a letter out to make it invalid, thus forcing someone to create their own.


New API examples porting

we need to resolve include errors first

soon @sadiuk will be testing loaders and writers after applied changes, then we will be able to use them with no doubt

new troubles:

no window created
OBJ to check
no archive loader
no CQuantNormalCache read/write functions
Nabla.h to correct

@sadiuk I have a list for you that I and either @Erfan-Ahmadi need
we need:

shaders loading
loaders (.OBJ and .PNG, .JPG are priorities)
writers (.PNG is the priority)

to be tested, please use 06 example as your reference (when @Erfan-Ahmadi adjusts to queues comment we can also look at 17. example)

@AnastaZIuk and @Erfan-Ahmadi ' TODO:

[ ] rudimentary camera implementation
[ ] Sponza examples (all of them)
[ ] Color Space example
[ ] Bullet example
[ ] Any related example
[ ] ScreenShot extension
[ ] CQuantNormalCache reading/writing
[ ] Archive loader (@Devsh-Graphics-Programming/seniors should we take care of it?)

@sadiuk 's TODO https://github.com/Devsh-Graphics-Programming/Nabla/pull/166#issuecomment-890993170

[ ] shaders loading
[ ] loaders (according to the list priority)
[ ] writers (according to the list priority)

@devshgraphicsprogramming https://github.com/Devsh-Graphics-Programming/Nabla/pull/159#discussion_r680962155


html5-list not working with panic: runtime error: index out of range [1] with length 1

Description
Running: cf html5-list I get the following error: panic: runtime error: index out of range [1] with length 1
I tried to multiple orgs and spaces in canary. All showed the same error.
Environment

Plugin version (e.g. 1.3.0) -  1.4.8
OS (macOS/Windows) - macOS Apple Silicon
SAP CF Landscape (e.g. Canary) - Canary
IaaS provider (e.g. AWS) - AWS
Region (e.g. eu10) - Frankfurt Canary

CLI Output
Set environment variable DEBUG=1, run the flow and paste output here.
13:48:45.775704 Running CloudFoundry html5-plugin 1.4.8
13:48:45.776027 Initializing command 'html5-list'
13:48:45.776670 Configuration file does not exist. No cache to clear
13:48:45.776680 Executing command 'html5-list': args: '[]'
13:48:45.776685 Getting context (org/space/username)
Getting list of HTML5 applications in org ... / space ... as ...
13:48:45.778494 Getting HTML5 context
13:48:45.778497 Getting list of services
13:48:45.778926 Making request to: /v3/service_offerings?space_guids=...
13:48:46.078462 Looking for 'html5-apps-repo' service
13:48:46.078482 Getting service plans for 'html5-apps-repo' service (GUID: ...)
13:48:46.078486 Making request to: /v3/service_plans?service_offering_guids=...
13:48:46.304250 Looking for app-runtime service plan
13:48:46.304301 Getting service instances of 'html5-apps-repo' service app-runtime plan (&{Name:app-runtime GUID:...})
13:48:46.304341 Making request to: /v3/service_instances?service_plan_guids=...&space_guids=...
13:48:46.550195 Service instance app-runtime-1707144030 is potentially broken and will not be reused
13:48:46.550249 Service instance app-runtime-1707240021 is potentially broken and will not be reused
panic: runtime error: index out of range [1] with length 1

goroutine 1 [running]:
cf-html5-apps-repo-cli-plugin/commands.(*HTML5Command).GetHTML5Context(0x104819920, {{0x1400009e800, 0x19}, {0x1400009eb40, 0x1c}, {0x140000a4900, 0x24}, {0x140000a0830, 0xf}, {0x140000a4ba0, ...}})
        go/src/cf-html5-apps-repo-cli-plugin/commands/html5_base_command.go:299 +0x141c
cf-html5-apps-repo-cli-plugin/commands.(*ListCommand).ListApps(0x104819920, 0x0)
        go/src/cf-html5-apps-repo-cli-plugin/commands/html5_list_command.go:722 +0x308
cf-html5-apps-repo-cli-plugin/commands.(*ListCommand).Execute(0x104819920, {0x140000121d0?, 0x0, 0x0})
        go/src/cf-html5-apps-repo-cli-plugin/commands/html5_list_command.go:57 +0x100
main.(*HTML5Plugin).Run(0x1400002b440?, {0x1045cb1e8, 0x1400002b440}, {0x140000121d0, 0x1, 0x1})
        go/src/cf-html5-apps-repo-cli-plugin/html5_plugin.go:52 +0x23c
cf-html5-apps-repo-cli-plugin/vendor/github.com/cloudfoundry/cli/plugin.Start({0x1045c6740, 0x10484f740})
        go/src/cf-html5-apps-repo-cli-plugin/vendor/github.com/cloudfoundry/cli/plugin/plugin_shim.go:30 +0x2c0
main.main()
        go/src/cf-html5-apps-repo-cli-plugin/html5_plugin.go:74 +0x2c

Hi @micellius,
Thank you for the hint with cf ds... it worked well. Now html5-list ist working again.
I also updated to 1.4.9, but after the deletion.


x/pkgsite: Subpackage to recognise version tags

I have a repo: https://github.com/rocketlaunchr/showerglass.
At the root level there is a module called: github.com/rocketlaunchr/showerglass with a package called main. It is simply a demo project that uses the package inside the core directory.
In the core directory is the actual package for mass consumption. It has a module called github.com/rocketlaunchr/showerglass/core with a package called showerglass.
If I tag the repo at v1.0.0, pkg.go.dev does not seem to recognise the github.com/rocketlaunchr/showerglass/core module as v1.0.0. It assumes the entire module is unversioned.
This is causing issues with third-party use of my package (in terms of adding a version to their go.mod file. It is also causing issues with me not being able to "force" pkg.go.dev to update the docs to the current version since I can't append @v1.0.0.

Modules have separate identities and versions, that's how both the go command and pkgsite work.
For questions please refer to https://github.com/golang/go/wiki/Questions

How do I version my package then?

You version a submodule by creating a tag starting with the path relative to the root of the repository followed by the version. So relative/path/v1.x.y. Example

Thanks @D1CED


Allow larger files to be previewed in File Explorer (current max 50KB)

Description of the new feature / enhancement
Ability to preview files > 50KB or at least the first 50KB of a larger file.
Scenario when this would be used?
When using File Explorer.
Supporting information
Attempting to view a 67KB file, I get the message:
This file is too big to preview.
Max file size 50KB

@Aaron-Junker My idea is: do not block the preview as soon as a file size is above a threshold, but simply load that number of characters. Content can be truncated, but at least it's visible :) (This is what Files also does)

You can set the maximum file size in the settings.

You can set the maximum file size in the settings.

Hmm. Not strictly true, it allows up to 100Kb max even if you type in a larger number. As I have several gigabytes of memory I think I might spare a few more Kb for the preview - why is it limited? Bill Gates isn't back on the team is he? 😁

You can set the maximum file size in the settings.

Hmm. Not strictly true, it allows up to 100Kb max even if you type in a larger number. As I have several gigabytes of memory I think I might spare a few more Kb for the preview - why is it limited? Bill Gates isn't back on the team is he? 😁
Please re-open.

I think you can manually make it bigger in the %appdata%/../local/microsoft/powertoys/File Explorer/settings.json file. It is just that from a certain size on it just stops working or takes ages to load. So it would be just faster to open the file.

It is just that from a certain size on it just stops working or takes ages to load.

@Aaron-Junker Heavily depends on the machine and/or the file. I do agree a higher limit would be good. Users have to input it by themselves, so if things get slow, they can adjust back down.
What did you think of the idea to load & show n number of bytes?

It is just that from a certain size on it just stops working or takes ages to load.

@Aaron-Junker Heavily depends on the machine and/or the file. I do agree a higher limit would be good. Users have to input it by themselves, so if things get slow, they can adjust back down. What did you think of the idea to load & show n number of bytes?

Yes, I think MS needs to give more control to users! This is PowerToys 🥳🎉🎊we're talking about! If a user has a 2Gb machine then s/he has to be more careful than when you have 32Gb (like me, when most of that RAM just sits there unless I'm editing videos). I could allocate a couple of Mb easily and not notice it. And slower machines vs faster machines ditto.
But I like the idea of showing n bytes, so even if the file is 50Mb you still get to see the first 250Kb (or whatever limit you've entered) which might be enough to see what's going on. 👍In fact, I do believe I suggested this in my opening sentence of the suggestion... just sayin' 😁


optimize: validate that the primary key is free of illegal characters

[ ] I have registered the PR changes.

Ⅰ. Describe what this PR did
validate that the primary key is free of ","
fixes: #5136
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

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

:exclamation: No coverage uploaded for pull request base (2.x@fb6b20e). Click here to learn what that means.

Additional details and impacted files

@@          Coverage Diff           @@
##             2.x    #6227   +/-   ##
======================================
  Coverage       ?   48.98%
  Complexity     ?     4782
======================================
  Files          ?      915
  Lines          ?    31901
  Branches       ?     3855
======================================
  Hits           ?    15627
  Misses         ?    14715
  Partials       ?     1559


Add support filename template

In scope of this PR implemented:

Support filename template(via CommandLineOptions and WireMockConfiguration;
Removed SafeFilename util class. Replaced with new FilenameMaker class which based on filename template;
Small code refactoring;

When I try running it standalone and creating a persistent stub I get an NPE thrown. I'll push a failing test for this + the name logic to your branch.


Add link in the README to the Arch User Repository

This patch adds a mention in the README to the PKGBUILD on the Arch User Repository.

The AUR is specific to Arch Linux, even though pystack supports other distros in addition to Arch Linux.
@godlygeek do we support publishing binaries to distributions' repositories, or do we only publish to PyPI and expect distribution owners to decide whether or not to add them there?

@godlygeek do we support publishing binaries to distributions' repositories, or do we only publish to PyPI and expect distribution owners to decide whether or not to add them there?

That'd be up to distro maintainers to do. I guess I'm not against updating the README to include mention of distributions that package PyStack, but I don't think it belongs in the "## What platforms are supported?" section of the README. I guess the right thing to do is probably creating a new Installation section, and explaining there that you can either install it via pip install, or install it from your distribution's repositories if your distribution packages PyStack.

@Rubo3 would you be interested in doing what godlygeek described above? Adding the Installation section that is.

Closing as this has had no activity recently. @Rubo3 feel free to comment on this again if you are willing to look into it after all.

Oh yes sorry, I'll make it.

Done. You can re-open this PR if you want.


Running in online mode

Hi, thanks for sharing the code.
I'm wondering if there's a way to execute this in online mode, as intended for SLAM operation?

Hi, thanks for your interest in our work.
Since our work is an initial exploration of monocular implicit SLAM and cannot do real-time, we do not have this online mode available.

Okay, thanks!


On chat group, reinforce identity

On chat groups it is common for bots to impersonate other characters. Remind them that the name of the author of the message is on the message and they should stick to the character.

Doesn't work.


Add a CC0 license and add notice to the Readme

Based on the statement in setup.py, this PR adds an explicit license file and adds a notice to the Readme.

I think I used exactly the same file as https://github.com/badges/shields/blob/master/LICENSE, but in my branch, the GitHub-license-header is not shown - not sure if that is just because it's still in a branch, or if I'm doing something wrong...

Let's find out ...

Looks good on main :-)


persistence files for tests are not stored in "target"  directory

If the files are "cleaned" before use, this doesn't cause a huge problem.
However if the format of the files changes from build to build, then the file cannot even be properly opened by the program and so cannot be cleaned.  This leads to test failures.
checkPublishPassThroughCluster_Qos0(io.moquette.server.ServerIntegrationHazelcastHandlerInterceptorTest)  Time elapsed: 2.578 sec  <<< ERROR!
java.lang.RuntimeException: java.lang.ClassNotFoundException: io.moquette.parser.proto.messages.AbstractMessage$QOSType
	at org.mapdb.SerializerPojo.classForName(SerializerPojo.java:96)
	at org.mapdb.SerializerPojo$FieldInfo.<init>(SerializerPojo.java:200)
	at org.mapdb.SerializerPojo$1.deserialize(SerializerPojo.java:74)
	at org.mapdb.SerializerPojo$1.deserialize(SerializerPojo.java:39)
	at org.mapdb.Store.deserialize(Store.java:297)

Suggest storing these files within "target"  for the tests so they're removed during mvn clean

Hi @windbender,which version of Moquette are you using?The current master
doesn't have anymore the parser package
Il giorno 22/mar/2017 23:46, "windbender"<EMAIL_ADDRESS>ha
scritto:

If the files are "cleaned" before use, this doesn't cause a huge problem.
However if the format of the files changes from build to build, then the
file cannot even be properly opened by the program and so cannot be
cleaned. This leads to test failures.
checkPublishPassThroughCluster_Qos0(io.moquette.server.ServerIntegrationHazelcastHandlerInterceptorTest)  Time elapsed: 2.578 sec  <<< ERROR!
java.lang.RuntimeException: java.lang.ClassNotFoundException: io.moquette.parser.proto.messages.AbstractMessage$QOSType
at org.mapdb.SerializerPojo.classForName(SerializerPojo.java:96)
at org.mapdb.SerializerPojo$FieldInfo.(SerializerPojo.java:200)
at org.mapdb.SerializerPojo$1.deserialize(SerializerPojo.java:74)
at org.mapdb.SerializerPojo$1.deserialize(SerializerPojo.java:39)
at org.mapdb.Store.deserialize(Store.java:297)
Suggest storing these files within "target" for the tests so they're
removed during mvn clean
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/andsel/moquette/issues/288, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA_Y0SRmiO2dmUUV7RdhAOgVP81aupgPks5roaTFgaJpZM4Ml69Q
.

Yes precisely!   That package isn't used anymore, nor the classes in it.  The problem is that the previous builds in my directory DID use that class.  And then, after pulling in the latest code, when I ran the unit tests  the MabDB persistence failed because the classes governing the objects stored within were not longer available to "rehydrate" into.  The solution is to ensure that tests only use storage within the target directory.

Fixed by 9440352e565b09de6dc7170f8ea37f5fb8665ea9


Fix ProxyPublishConsumeTlsTest

Motivation
ProxyPublishConsumeTls fails at
Assert.assertTrue(produceSocket.getBuffer().size() > 0);

since TLS is disabled in ProducerConsumerBase and publish / consume between WebSocket Proxy and Broker is failed.
What is worse, this assertion error is caught at
} catch (Throwable t) {
    log.error(t.getMessage());
}

, then the test is apparently passed so far.
Modifications

rename ProxyPublishConsumeTls to ProxyPublishConsumeTlsTest for consistency
refactor TlsProducerConsumerTest (separate TlsProducerConsumerTest and TlsProducerConsumerBase)
ProxyPublishConsumeTlsTest extends TlsProducerConsumerBase in which TLS is enabled instead of ProducerConsumerBase
fail if Throwable t is caught

Result
The test will be actually passed.

I formatted.

@nkurihar The test is still failing in the Travis build :(

Hmm...
I saw that the test passed in the local build.
Should I increase the timeout value?
@Test(timeOut = 10000)

@nkurihar Sure, let's try to use the 30 seconds timeouts on all the tests

I set timeOut to 30000 but still failing ...

retest this please

retest this please

retest this please

I rebased and finally passed tests.
@merlimat
I think https://github.com/apache/incubator-pulsar/pull/770 solves the test failure, thanks!
Could you take another look?


Is there a way to limit the total diskspace pika can store?

would like to limit the total disk space pika can store and evict old entries. how can this be achieved?

we don't have any plans working on that. For the most of time our dba will make reasonable plans on how large disk will consume.

ok thx