[WIP] RPO hash function SVE implementation

This PR addresses #158. It uses C SVE instrinsics to reimplement the apply_inv_sbox section of RPO, by far the most expensive part of it. There is also a regular C implementation written for testing purposes.
An sve_backend feature flag is introduced, which swaps the apply_inv_sbox function to the SVE version when toggled. This will only compile on machines with the SVE instruction set. To compare the two implementations, run
cargo bench hash

for the benchmarks of the current implementation and
cargo bench hash --features sve_backend

for the SVE one.
Currently the SVE implementation is around 3X slower, but this is most likely because of inefficiencies in the implementation, which is constantly passing data between SVE and non SVE code. We will improve it in the following days.
TODO:

[ ] Improve performance
[ ] Document code

Tried implementing this as well and getting similar results as you at 3x slower.

but this is most likely because of inefficiencies in the implementation, which is constantly passing data between SVE and non SVE code

This seems like the likely culprit to me as well.
One thing, I didn't see any improvement with loop unrolling for exp_acc so maybe those functions can be combined and m can be passed as an argument instead. Here's my current code if it helps but I imagine it should be similar to yours.
#ifndef __ARM_FEATURE_SVE
#warning "We need SVE!"
#endif
#include "sve-functions.h"
#include <stdio.h>

svuint64_t mont_red_cst(svbool_t pg, svuint64_t xl, svuint64_t xh) {
    svuint64_t a0 = svlsl_n_u64_z(pg, xl, 32);
    svuint64_t a = svadd_u64_z(pg, xl, a0);
    svbool_t overflow_xl = svcmpgt_u64(pg, xl, a);
    svuint64_t e = svsel(overflow_xl, svdup_n_u64(1), svdup_n_u64(0));

    svuint64_t b = svsub_u64_z(pg, svsub_u64_z(pg, a, svlsr_n_u64_z(pg, a, 32)), e);

    svuint64_t r = svsub_u64_z(pg, xh, b);

    svbool_t overflow1 = svcmpgt_u64(pg, r, xh);
    svuint32_t c = svsel(overflow1, svdup_n_u32(1), svdup_n_u32(0));
    svuint32_t neg_c = svsub_u32_z(pg, svdup_n_u32(0), c);
    svuint64_t neg_c_u64 = svreinterpret_u64_u32(neg_c);
    return svsub_u64_z(pg, r, neg_c_u64);
}

svuint64_t mul(svbool_t pg, svuint64_t x, svuint64_t y) {
    svuint64_t xyl = svmul_u64_z(pg, x, y);
    svuint64_t xyh = svmulh_u64_z(pg, x, y);

    return mont_red_cst(pg, xyl, xyh);
}

svuint64_t square_sve(svbool_t pg, svuint64_t x) {
    svuint64_t y = x;
    svuint64_t r1 = svdup_n_u64(0xFFFFFFFE00000001);
    svuint64_t xl = svmul_u64_z(pg, x, r1);
    svuint64_t xh = svmulh_u64_z(pg, x, r1);
    svuint64_t x_mont = mont_red_cst(pg, xl, xh);
    svuint64_t yl = svmul_u64_z(pg, y, r1);
    svuint64_t yh = svmulh_u64_z(pg, y, r1);
    svuint64_t y_mont = mont_red_cst(pg, yl, yh);
    return mul(pg, x_mont, y_mont);
}

svuint64_t exp_acc(svbool_t pg, svuint64_t x, svuint64_t y, uint8_t m) {
    svuint64_t resultx = x;
    for (uint8_t i = 0; i < m; i++) {
        resultx = square_sve(pg, resultx);
    }
    return mul(pg, resultx, y);
}

void apply_inv_sbox(uint64_t *data) {
    svbool_t pg = svptrue_b64();

    svuint64_t result0;
    svuint64_t result1;
    svuint64_t result2;
    svuint64_t sve_data0 = svld1_u64(pg, &data[0]);
    svuint64_t sve_data1 = svld1_u64(pg, &data[4]);
    svuint64_t sve_data2 = svld1_u64(pg, &data[8]);
    svuint64_t t10 = square_sve(pg, sve_data0);
    svuint64_t t11 = square_sve(pg, sve_data1);
    svuint64_t t12 = square_sve(pg, sve_data2);
    svuint64_t t20 = square_sve(pg, t10);
    svuint64_t t21 = square_sve(pg, t11);
    svuint64_t t22 = square_sve(pg, t12);
    svuint64_t t30 = exp_acc(pg, t20, t20, 3);
    svuint64_t t31 = exp_acc(pg, t21, t21, 3);
    svuint64_t t32 = exp_acc(pg, t22, t22, 3);
    svuint64_t t40 = exp_acc(pg, t30, t30, 6);
    svuint64_t t41 = exp_acc(pg, t31, t31, 6);
    svuint64_t t42 = exp_acc(pg, t32, t32, 6);
    svuint64_t t50 = exp_acc(pg, t40, t40, 12);
    svuint64_t t51 = exp_acc(pg, t41, t41, 12);
    svuint64_t t52 = exp_acc(pg, t42, t42, 12);
    svuint64_t t60 = exp_acc(pg, t50, t30, 6);
    svuint64_t t61 = exp_acc(pg, t51, t31, 6);
    svuint64_t t62 = exp_acc(pg, t52, t32, 6);
    svuint64_t t70 = exp_acc(pg, t60, t60, 31);
    svuint64_t t71 = exp_acc(pg, t61, t61, 31);
    svuint64_t t72 = exp_acc(pg, t62, t62, 31);
    svuint64_t a0 = square_sve(pg, square_sve(pg, mul(pg, square_sve(pg, t70), t60)));
    svuint64_t a1 = square_sve(pg, square_sve(pg, mul(pg, square_sve(pg, t71), t61)));
    svuint64_t a2 = square_sve(pg, square_sve(pg, mul(pg, square_sve(pg, t72), t62)));
    svuint64_t b0 = mul(pg, mul(pg, t10, t20), sve_data0);
    svuint64_t b1 = mul(pg, mul(pg, t11, t21), sve_data1);
    svuint64_t b2 = mul(pg, mul(pg, t12, t22), sve_data2);
    result0 = mul(pg, a0, b0);
    result1 = mul(pg, a1, b1);
    result2 = mul(pg, a2, b2);
    svst1(pg, &data[0], result0);
    svst1(pg, &data[4], result1);
    svst1(pg, &data[8], result2);
}

int main() {
    uint64_t data[12] = {84921628, 984652231, 84515038, 462616238, 465213287, 456213874, 234162137, 89462132, 98546216,<PHONE_NUMBER>, 164162331, 18546232};
    apply_inv_sbox(data);
    return 0;
}

One other thing to investigate is how much FFI overhead there is. With some rudimentary analysis it seemed like a lot to me but it's possible that I made a mistake and that's not actually the case.

@tohrnii Thanks for the comment! Our code looks quite similar but not exactly the same so it'll be useful to compare.

One other thing to investigate is how much FFI overhead there is. With some rudimentary analysis it seemed like a lot to me but it's possible that I made a mistake and that's not actually the case.

This is interesting, how are you measuring the overhead?

@jrchatruc Actually, I realize that is probably not accurate since I used gettimeofday() to measure time which is much lower precision than what we need (I don't know C that much so probably made a few other obvious mistakes). One data point that might still be relevant is that using cargo bench for RPO 2-to-1 hash, the time increased by 10% when I replaced just one multiplication with SVE implementation (however this could also be because of overhead of converting the values from Felt to u64 and converting back and loading and unloading array into SVE registers). Some other data points to establish some baseline:
On a 1 core AWS graviton machine, cargo bench for RPO 2-to-1 hash:

Time taken for native implementation: 11 us
Time taken with SVE without inlining functions: 48 us
Time taken with SVE with inlining: 33 us

Superseded by #190.


Error if trash was already empty OS X El Capitan

I am getting this error
> empty-trash
Command failed: osascript -e tell app "Finder" to empty trash
21:32: execution error: „Finder“ hat einen Fehler erhalten: Der Vorgang kann nicht abgeschlossen werden. (-128)

I tried to fix this myself, but unfortunately run-applescript does not support the multi line apple script
tell application "Finder"
	set itemCount to count of items in the trash
	if itemCount > 0 then
		empty the trash
	end if
end tell

and fs.readdir("/Users/miladiir/.Trash") returns null despite the folder being non empty. I think NodeJS and the Mac User Trashes are not friends. This might be some weird quirk on the new OS and rootless, but I don't know.
To clarify:
I would like to run this script automated, so it shouldn't throw errors if they are not critical. Just surprising is not an option.

Thanks


[HPC][Nways] Update Nways-Python containers

Nways-Python (both the challenge and the base) containers (singularity and docker) are based on cuda:11.2 container. There is also installations of nsight-systems-2020.5.1 and nsight-compute-2020.2.1 inside it. These are very old and should be removed.
Nways Fortran and C are up to date. CUDA 11.2 [1] does have Nsight systems (2021.3) and Compute (2021.2). I suggest testing and using those instead.
[1]. https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html

This issue has been addressed in #92


Add an option to update the host ip at runtime

Living in Belgium and having a Telenet router I am unable to have a dhcp reservation setup for the dobiss nxt server.
Would it be possible to update the dobiss sever IP address as an option when the integration is already setup? Now the ip adress is changing if the dobiss server is rebooted.
Tried dobiss.local already, but that was not working in a reliable way.
Thanks for the help!

This would be quite difficult to implement the way this is handled now - you could remove the integration and add it again with the new Ip address - the name of the devices and entities should remain the same...

I'm gonna close this as there is a workaround and it's not really feasible to implement...


Partial builds from a single branch

I'll be using drone to build about 50 different docker images from one repository. Dockerfiles and other things are going to live in 50 separate directories. Understandably I'd prefer if drone didn't build all 50 Dockerfiles every time I push to master. Instead I could see two possible solutions: Drone detects which paths changed in the most recent commit and builds only relevant Dockerfiles, or Drone allows me to build on tags (rather than branches), so I can tag a commit with relevant component-specific tag, and build only that component. Is either scenario supported?

[yes] I have searched for existing issues
[yes] I have discussed the issue with the community at https://gitter.im/drone/drone
[dna] I have provided a sample .drone.yml file to help the team reproduce
[dna] I have provided details from the build logs
[dna] I have provided details from the server logs by running docker logs drone
[yes] I am not using the issue tracker to ask why my build failed

Drone detects which paths changed in the most recent commit and builds only relevant Dockerfiles

the yaml file is parsed and evaluated prior to drone cloning the repository. This is unfortunately not possible the way drone is architected, and there are no intentions to re-architect at this time.

Drone allows me to build on tags (rather than branches)

drone supports conditional steps based on tags so this is possible today. You can also disable builds for branches (in the UI) if you only want to build tags:
publish:
  docker:
    when:
      repo: foo
      file: bar/Dockerfile
      tag: foo
  docker:
    repo: bar
    file: bar/Dockerfile
    when:
      tag: bar

lastly drone converts your build commands to a simple shell script. So in essence, anything you can do with shell you can do with drone. You could easily create a shell script that is invoked in your build section:
build:
  image: docker
  commands:
    - ./build.sh
  volumes:
    - /var/run/docker.sock:/var/run/docker.sock

note that in the above example we mount the host machines docker daemon so that the build has access to docker. to mount a volume your repository must be run in trusted mode (enabled by a drone admin in the UI)
then you shell script could do something like this:
#!/bin/sh

# calculate dirs that changes
...

# loop through dirs and build
for ...; do
  docker build ...
  docker push ...
done


IE8 compatibility

@dandv Unfortunately, some people still use IE8, which, among many other things, doesn't support delete operations on the window object.

This is already merged for meteor.


[BUG]: Vimeo url not playing [WARN  Trying to load empty source.]

Version
^5.21
What platforms are you having the problem on?
iOS, Android
System Version
MacOS
On what device are you experiencing the issue?
Real device, Simulator
Architecture
Old architecture
What happened?
A bug happened! When I give public or sample Vimeo URL video is not playing

Reproduction Link
repository link
Reproduction
Steps to reproduce this bug are:

I just Integrated
            <Video               source={{                 uri:                   props.activityType === 'conceptual_video'                     ? props.vimeourl                     : normaldata.url,                 headers: {                   Referer: 'https://login.iqcandy.com/',                 },               }} // Can be a URL or a local file.               ref={playerRef}               paused={isPlaying}               progressUpdateInterval={900}               //controls={true}               // fullscreen={true}                          // Store referenc              // Callback when video cannot be loaded               style={{                 position: 'absolute',                 top: 0,                 left: 0,                 bottom: 0,                 right: 0,                 elevation: 20,               }}               onLoad={onLoad}               onError={(err) => console.log('errorrr', err)}               resizeMode={fullscreen ? 'cover' : 'contain'}               onProgress={onProgress}             />

no support done on 5.2, you should try on V6 version


Update readme to make binary executable

Hi - thanks for this great script. The readme suggests to download the file and run chmod 644 to use it but I think it should be chmod +x (or 755?) to make it executable?
best regards
Marcus

Hi Marcus
Thank you for your contribution! That's correct, I changed it in our Dockerfile, but forgot to change the README. "+x" seems to do the trick, personally I used "755", but "+x" seems more expressive.
LGTM => merged


Update organization name

Update name of the organization after transferring the project from samotracio's personal account.

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
:information_source: You can also turn on project coverage checks and project coverage reporting on Pull Request comment
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Traccar not autostarting after reboot

Hello, i have traccar server running perfectly during my test with my application. Actually I need it to set as service autostarting on boot/restart on crashing. I'm running centos 6 and traccar 3.7.
Service is present in my init.d folder and I added to boot services using commands as I normally do
sudo /sbin/chkconfig --add traccar
sudo /sbin/chkconfig traccar on

On my boot.log I can see traccar is starting on boot
Starting traccar...
Waiting for traccar...........
running: PID:1416

But when i check the service status it says
traccar is not running.

Do you have any idea what could cause the issue?
Thanks in advance

You should check Traccar logs.

Wrapper logs stated it cannot connect to mysql service, probably because its not initializzed or fully loaded yet. I thought it was the reason of the issue so i changed
WAIT_AFTER_STARTUP=0

to
WAIT_AFTER_STARTUP=60

But this results in traccar not starting at all with error
Starting traccar...
Waiting for traccar...................................................................................................................................WARNING: traccar may have failed to start.

How can I handle traccar to start after mysql is loaded?

Ok I managed to solve the issue.
For anyone having this issue here is the solution
I checked which level is assigned on chkconfig  with
chkconfig --list traccar

that outputs

traccar         0:off   1:off   2:on    3:on    4:on    5:on    6:off

So went in the folder /etc/rc.d/rcX.d where X stands for the levels that are enabled, in my case 2, 3, 4, 5. The service was assigned to run at priority 20 which is before the mysql server is loaded.
In my case mysql is loaded with priority 64 so i renamed in each of the above folder the traccar file

S20traccar to S70traccar

Now is working perfectly

Thanks for sharing the info.


[BUG] KeyVaultOperation#isUp logs warn for fetching secret 'it-is-ok-to-be-empty'

Describe the bug
In com.azure.spring.keyvault.KeyVaultOperation the method isUp fetches the secret 'it-is-ok-to-be-empty' for checking if a connection to the vault can be established, causes the SecretAsyncClient to log this request every few seconds.
Exception or Stack Trace
2020-10-22 07:18:55.055 WARN 1 --- [or-http-epoll-4] c.a.s.k.secrets.SecretAsyncClient : Failed to get secret - it-is-ok-to-be-empty Status code 404, "{"error":{"code":"SecretNotFound","message":"A secret with (name/id) it-is-ok-to-be-empty was not found in this key vault. If you recently deleted this secret you may be able to recover it using the correct recovery command. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125182"}}"
To Reproduce
Use azure-keyvault-secrets-spring-boot-starter in version 2.3.5
Code Snippet
https://github.com/Azure/azure-sdk-for-java/blob/89cf24094f47ab3e49bfdfaf3834e430d0d4fa0b/sdk/spring/azure-spring-boot/src/main/java/com/azure/spring/keyvault/KeyVaultOperation.java#L209-L225
Expected behavior
Such internal requests should not be logged as a warning
Setup (please complete the following information):

OS: Linux - k8s container
azure-keyvault-secrets-spring-boot-starter:2.3.5
Java 11
Spring boot 2.3.4

@vcolin7 could you please take the first look at this?

No problem.

Failed calls get logged as warnings because, which is what would usually happen in this case because it is very likely users do not have a secret with such a name in their Key Vault. Since we still need to have a way to know if there's connectivity with the KV in question, I was thinking we could use something like listPropertiesOfSecrets or listDeletedSecrets instead, which will return a response with status code 200 unless there's a problem with the service. I will talk to the team about it and see if they are ok with this approach or if we can come up with a better solution :)

Is there a new version available for this? In Maven central I can only see a 2.3.5 release (which has this bug) or a 3.0 Beta version. Thanks

Hi @ksddw2, I believe we have not released a new patch after the one you mentioned, I will check with the team working on this package to get back with an approximante release date for the next version.

Hi, @ksddw2
We have released 3.1.0. Please check:

https://repo.maven.apache.org/maven2/com/azure/spring/azure-spring-boot-starter-keyvault-secrets/3.1.0/
https://github.com/Azure/azure-sdk-for-java/blob/azure-spring-boot-starter-keyvault-secrets_3.1.0/sdk/spring/azure-spring-boot/src/main/java/com/azure/spring/keyvault/KeyVaultOperation.java#L212

I see, so starting with version 3.0.0+ we switched to a new package namespace (com.azure.spring), correct?

@vcolin7

I see, so starting with version 3.0.0+ we switched to a new package namespace (com.azure.spring), correct?

Yes.


Italics not applied to word with underscores in it

Originally reported here: https://github.com/neilsustc/vscode-markdown/issues/342
When I type _word_with_underscores_, there is no italics applied to it.
I get: word_with_underscores
I expect to get: word_with_underscores
However in preview, the italics works as expected. Also, the problem is only with italics, __strong_emphasis__ displays as strong_emphasis.

Confirmed:


fix: Uneven margin in inline calendar

Fixes #4028.

This broke having 3 months next to each other :(

This also broke having the time on the right of the month. It pushes it underneath which is ugly.


Multi arch test

Add CI for additional CPU architectures, as emulated by QEMU

coverage: 85.842%. remained the same
when pulling 47c51a1c3dddb78be54d771f88351ca8847e62f6 on multi_arch_test
into 4486fc0ccceec06ab80cebb99bc18d9a01ac7b5c on master.


hci_common.h: added missing offset for VS_CSS cmd

@sjanc

Style check summary
No suggestions at this time!


Multi-row tabbed panel shown as single row

I want to show a TabbedPanel with 6 tabs arranged as 2 rows x 3 columns. The code below achieves that in Kivy 1.9.1-dev.  But in 1.9.1 release and 1.9.2-dev this code just shows a single row containing all 6 tabs.  I think this is a bug - the result should be 2 rows x 3 columns.
Tested with Python 3.4 and 1.9.2-dev on Fedora 22.
from kivy.config import Config
Config.set('kivy', 'log_level', 'debug')

from kivy.app import App
from kivy.lang import Builder
from kivy.factory import Factory
from kivy.uix.boxlayout import BoxLayout

kv = """
<NewB@Button>:
    text: 'New button'

<TabbedPanelStrip>:
    rows: 2
    cols: 3

<Test>:
    orientation: 'vertical'

    TabbedPanel:
        id: t1
        do_default_tab: False

        TabbedPanelItem:
            id: i1
            text: 'i1'
        TabbedPanelItem:
            id: i2
            text: 'i2'
        TabbedPanelItem:
            id: i3
            text: 'i3'
        TabbedPanelItem:
            id: i4
            text: 'i4'
        TabbedPanelItem:
            id: i5
            text: 'i5'
        TabbedPanelItem:
            id: i6
            text: 'i6'
"""

Builder.load_string(kv)

class Test(BoxLayout):
    def __init__(self, *args, **kwargs):
        super(Test, self).__init__(*args, **kwargs)
        self.callback()

    def callback(self):
        self.add_widget(Factory.NewB())

class TestApp(App):
    def build(self):
        return Test()

if __name__ == '__main__':
    TestApp().run()

1.8.0 also shows 2 rows in the header, while master isn't.

git bisect says it's commit 43680041da7ddbac0458bcc04ac33653feb3bfd2

@matham, this is also a bug affecting gridlayout, in case you are interested. :yum:

There may be a partial work around.

<TabbedPanelStrip>:
    rows: app.tab_rows
    cols: app.tab_cols

class TestApp(App):
    tab_rows = NumericProperty(2)
    tab_cols = NumericProperty(3)

Be careful how you set the tab_width and tab_height for the TabbedPanel. See #4339

The real question is WTF: https://github.com/kivy/kivy/blob/master/kivy/uix/tabbedpanel.py#L467 ?

Also, ideally the user should not provide styling to the TabbedPanelStrip class which is then instantiated because that affect TabbedPanelStrip globally. Rather, TabbedPanel should have a panel_strip_cls that is used to instantiate the strip. That way the user can provide styling. Even better if it allows passing a dict of kwargs.

How about adding tab_rows, tab_cols (default 1, 99) property to TabbedPanel and use those properties to instantiate TabbedPanelStrip?  Or does that only solve part of the problem?

That solves this problem, but it is a band-aid because it doesn't solve the fundamental problem that the panel strip class cannot be set by the user. It also introduces duplicate variables for something that already exists (tab_rows/rows). The proper solution is to add a new variable for the strip class with the base class styled to rows being 1, which can be overwritten.

I agree  with matham here, the right solution is to start using a strip_cls
which the user can override.
On Wed, Jun 1, 2016 at 6:13 AM, matham<EMAIL_ADDRESS>wrote:

That solves this problem, but it is a band-aid because it doesn't solve
the fundamental problem that the panel strip class cannot be set by the
user. It also introduces duplicate variables for something that already
exists (tab_rows/rows). The proper solution is to add a new variable for
the strip class with the base class styled to rows being 1, which can be
overwritten.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kivy/kivy/issues/3994#issuecomment-222862610, or mute
the thread
https://github.com/notifications/unsubscribe/AAwGNyFSqWlcdtL0z18UZZ_idotWj3RCks5qHNXDgaJpZM4HYPKe
.


Comma is not permitted

Hello, I stack with such problem

me too

This component was normal until 0.50, it should be due to some method changes after the new version is updated. I will take some time to fix this problem in the near future.


Enable support for TLS 1.2 in your environment for Azure AD TLS 1.1 and 1.0 deprecation

Hello Team,
Can you please confirm the actual date of the deprecation?
https://docs.microsoft.com/en-us/troubleshoot/azure/active-directory/enable-support-tls-environment
Why this change is being made
These protocols and ciphers are being deprecated for the following reasons:
To comply with the latest compliance standards for the Federal Risk and Authorization Management Program (FedRAMP).
To improve security when users interact with our cloud services.
The services are being deprecated on the following dates:
TLS 1.0, 1.1 and 3DES Cipher suite in U.S. government instances starting on March 31, 2021.
TLS 1.0, 1.1 and 3DES Cipher suite in public instances starting January 31, 2022.
Customer is saying (not sure where they got the information)  that this will be deprecated end of June 2021.
Probably from this page: https://techcommunity.microsoft.com/t5/azure/azure-active-directory-tls-1-0-tls-1-1-and-3des-deprecation/m-p/2148244
Also this page for AD updates: https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/whats-new#azure-active-directory-tls-10-tls-11-and-3des-deprecation [see March 2021]
Best regards,
Ryan

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4324e7b2-0388-f022-4884-b07678601eeb
Version Independent ID: e0080267-a6c5-a904-92ad-72e332c35b07
Content: Enable support for TLS 1.2 in your environment, in preparation for upcoming Azure AD TLS 1.0/1.1 deprecation - Active Directory
Content Source: support/azure/active-directory/enable-support-tls-environment.md
Service: active-directory
GitHub Login: @genlin
Microsoft Alias: genli

@RyanBHernandez I will close this issue since it is resolved offline.


Font size resets after closing the App to very small

Have to reset font sixe on each opening back up to readable size i.e 14 (default appears to be 9)

This should not happen every time, as CermgAp remembers the previous state in which it was closed. Does this happen in every occasion?
To fix it, go to preferences, Cmd + , on macOS, and under Themes, select the font to <<system>>.

Happens every time,
Also doesn’t save the perspective either - default is Motion quantification
Dr Iain Sim
MBBS BSc MRCP
Clinical Research Fellow in Cardiology
School of Biomedical Engineering and Imaging Sciences
King’s College London, 4th Floor, North Wing, St. Thomas’ Hospital
@driainsim
07547019405
On 10 Jul 2020, at 10:17, Jose Alonso Solis-Lemus <notifications<EMAIL_ADDRESS>wrote:
This should not happen every time, as CermgAp remembers the previous state in which it was closed. Does this happen in every occasion?
To fix it, go to preferences, Cmd + , on macOS, and under Themes, select the font to <>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCemrgAppDevelopers%2FCemrgApp%2Fissues%2F14%23issuecomment-656576317&data=01|01|iain.sim%40kcl.ac.uk|8ed245809951452105c808d824b21066|8370cf1416f34c16b83c724071654356|0&sdata=9I07PK4VakOxYDR2DS7e69wMWJ6IGnh1OmYfIdUenQg%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQHLJB6CTDF5IFEE3JZKPUDR23MCLANCNFSM4OWL3YMA&data=01|01|iain.sim%40kcl.ac.uk|8ed245809951452105c808d824b21066|8370cf1416f34c16b83c724071654356|0&sdata=fL6xKH5tSlQlt3D40k8s6nupKHN8SqzUdS128XeFH7c%3D&reserved=0.


Added suppot for armv6l and armv7l

I'll test this on a Raspberry Pi tonight.

noop run looks good to me:
➜  ~ sudo -i puppet apply /home/pi/pipelines_test.pp --noop
Notice: Compiled catalog for pumpkinpi.home.technicalissues.us in environment production in 2.46 seconds
Notice: /Stage[main]/Pipelines::Agent::Unix/User[distelli]/home: current_value /home/distelli, should be /opt/distelli (noop)
Notice: /Stage[main]/Pipelines::Agent::Unix/User[distelli]/comment: current_value , should be Puppet Pipelines User (noop)
Notice: /Stage[main]/Pipelines::Agent::Unix/User[distelli]/shell: current_value , should be /bin/false (noop)
Notice: /Stage[main]/Pipelines::Agent::Unix/File[/etc/sudoers.d/distelli]/mode: current_value 0440, should be 0400 (noop)
Notice: /Stage[main]/Pipelines::Agent::Unix/File[/opt/distelli]/ensure: current_value absent, should be directory (noop)
Notice: /Stage[main]/Pipelines::Agent::Unix/Archive[/opt/distelli/distelli.Linux-armv7l-3.66.45.gz]/ensure: current_value absent, should be present (noop)
Notice: /Stage[main]/Pipelines::Agent::Unix/File[/opt/distelli/distelli.Linux-armv7l-3.66.45]/ensure: current_value absent, should be file (noop)
Notice: /Stage[main]/Pipelines::Agent::Unix/File[/opt/distelli/distelli]/ensure: current_value absent, should be link (noop)
Notice: /Stage[main]/Pipelines::Agent::Unix/File[/etc/distelli.yml]/ensure: current_value absent, should be file (noop)
Notice: /Stage[main]/Pipelines::Agent::Unix/Exec[pipelines::agent::unix Test agent executable]: Would have triggered 'refresh' from 1 events
Error: /Stage[main]/Pipelines::Agent::Unix/Exec[pipelines::agent::unix Install agent]: Could not evaluate: Could not find command '/opt/distelli/distelli'
Notice: /Stage[main]/Pipelines::Agent::Unix/Exec[pipelines::agent::unix Install agent]: Would have triggered 'refresh' from 1 events
Notice: /Stage[main]/Pipelines::Agent::Unix/Service[distelli-agent]: Dependency Exec[pipelines::agent::unix Install agent] has failures: true
Warning: /Stage[main]/Pipelines::Agent::Unix/Service[distelli-agent]: Skipping because of failed dependencies
Notice: Applied catalog in 0.18 seconds

What do you think @danielparks ?

Still works on amd64! Merging.


Ability to use MySQL database

Solving
https://github.com/puckel/docker-airflow/issues/200

This will be good as I'm trying to use RDS instead of using postgres db on the Ubuntu machine.

ping @danrubenstein

ping @danrubenstein one more time

ping @puckel

@puckel What is blocking this from being merged?  I'm a MySQL airflow user and would benefit from being able to use this.

Hi @maver1ck,
Apologies that I missed this -- I'm going to defer to the maintainers on whether or not to accept this.
Thanks

More easy to do like https://github.com/puckel/docker-airflow/pull/253, just pass AIRFLOW__CORE__SQL_ALCHEMY_CONN and AIRFLOW__CELERY__RESULT_BACKEND

@zhongjiajie because of this:
https://github.com/puckel/docker-airflow/blob/42902d01c61297b0c7559770a8d06f93e5fc7dc0/script/entrypoint.sh#L59-L63
Did you have an idea to bypass this without rewrite this file?

Why not package all supported/available drivers and let people chose which one they want to use?
Then general connection string template will look like this:
${DB_CONN_SCHEMA}://${DB_USER}:${DB_PASSWORD}@${DB_HOST}:${DB_PORT}/${DB_NAME}?${DB_OPTIONS}


Investigate Firefox support

Would love to see this. This extension looked very useful and I didn't find anything quite similar for Firefox at the moment.


Review use of null, var, and fix sorting

This does include changes to the cached ontologies, so they need to be redone.  Null is no longer used as a sentinel value there.  Regression testing showed unstable output.  PropertiesOntologyGrounder.groundOntology needed to sort items coming from a set.

I'm tagging @bsharpataz to keep me honest and sane.


Exportable custom date format

I'm using the  a date field with a specific format:

name: dataIn
title: Start date
type: date
format: DD/MM/YYYY
input: datepicker
exportable: true

This format works well for exhibition in the web page but when I export it to a CSV file, the result is:
Thu Oct 27 2016 00:00:00 GMT-0200 (BRST)
So, I'd like to know if is possible to export to CSV using the same format that I have in web page, ie:
27/10/2016
Thanks

@denisdpc currently that doesn't work, function is trivial, it simply cinverts data to string. I'll add that feature in next versions (actually this is planned with adding i18n support)


Trying to detect double tap over carousel fails in release mode, works in debug mode.

I'm using snap carousel to display an instagram like interface, with double tap gesture to like a photo. All goes well in debug mode for both Android and iOS.
However, in release mode when there is more than 1 photo and scrollEnabled={true} it no longer detects the double tap. This behaviour only happens in Android (iOS works just fine).
I think this is has to do with the scrollEnabled being true.
Any ideas on how to resolve?

Sorry, please allow me to advertise for my open source library! ~
I think this library react-native-reanimated-carousel will solve your problem. It is a high performance and very simple component, complete with React-Native reanimated 2


Javascript files should add application/javascript in response header…

Javascript files should add application/javascript in response header in Chrome.

The embedded JS files are already served with the correct response header. Also, this would be the wrong place to add the header if it wasn't.
Thanks anyways!

Hey, I look into the code details.
https://github.com/golang/go/blob/master/src/mime/type.go#L105
// On Windows, MIME types are extracted from the registry.
I run easy-novnc on Windows 10.
And in the registry, the .js file set the Content Type is text/plain.

Some application must have done it since I can't reproduce it on my VM (the registry doesn't override the mimetype for .js).

I just fixed the problem by change the Content Type from text/plain to text/javascript of .js in the registry.
Every thing is ok now.
Thanks!


Release OpenPifpaf pretrained model? Training guidance

Thank you for perfect project!
The result of OpenPifpaf showed in your paper is really impression.
Do you have plan to release it?
If not, can you guide me how to training the controlnet with the openpifpaf input to reproduce your result.

all duplicates about "Release the openpifpaf model":
https://github.com/lllyasviel/ControlNet/issues/109
https://github.com/lllyasviel/ControlNet/issues/201
https://github.com/lllyasviel/ControlNet/issues/331
https://github.com/lllyasviel/ControlNet/issues/467


Docker socket error

Hello i habe the following error after fresh install
Here my logs
2024-10-29T10:25:12.843178270Z netbox-docker-agent level=info version=0.39.0 msg="\n\nWelcome to Node-RED\n===================\n"
2024-10-29T10:25:12.843584016Z netbox-docker-agent level=info version=0.39.0 msg="Node-RED version: v4.0.1"
2024-10-29T10:25:12.843716192Z netbox-docker-agent level=info version=0.39.0 msg="Node.js  version: v20.15.0"
2024-10-29T10:25:12.843771169Z netbox-docker-agent level=info version=0.39.0 msg="Linux 6.1.0-21-amd64 x64 LE"
2024-10-29T10:25:12.970436364Z netbox-docker-agent level=info version=0.39.0 msg="Loading palette nodes"
2024-10-29T10:25:13.375026754Z netbox-docker-agent level=info version=0.39.0 msg="Settings file  : /data/settings.js"
2024-10-29T10:25:13.375218115Z netbox-docker-agent level=info version=0.39.0 msg="HTTP Static    : /usr/src/node-red/public > /"
2024-10-29T10:25:13.375380410Z netbox-docker-agent level=info version=0.39.0 msg="HTTP Static    : /usr/src/node-red/public/doc.html > /doc/"
2024-10-29T10:25:13.375508278Z netbox-docker-agent level=info version=0.39.0 msg="HTTP Static    : /usr/src/node-red/public/openapi.yml > /openapi/"
2024-10-29T10:25:13.376005712Z netbox-docker-agent level=info version=0.39.0 msg="Context store  : 'default' [module=memory]"
2024-10-29T10:25:13.376576257Z netbox-docker-agent level=info version=0.39.0 msg="User directory : /data"
2024-10-29T10:25:13.376657405Z netbox-docker-agent level=warn version=0.39.0 msg="Projects disabled : editorTheme.projects.enabled=false"
2024-10-29T10:25:13.377193934Z netbox-docker-agent level=info version=0.39.0 msg="Flows file     : /usr/src/node-red/flows.json"
2024-10-29T10:25:13.379687557Z netbox-docker-agent level=info version=0.39.0 msg="Server now running at http://<IP_ADDRESS>:1880/nodered/"
2024-10-29T10:25:13.383052849Z netbox-docker-agent level=warn version=0.39.0 msg="Encrypted credentials not found"
2024-10-29T10:25:13.395457667Z netbox-docker-agent level=info version=0.39.0 msg="Starting flows"
2024-10-29T10:25:13.464342270Z netbox-docker-agent level=info version=0.39.0 msg="Started flows"
2024-10-29T10:25:13.574851647Z netbox-docker-agent level=info version=0.39.0 msg="docker socket error"
2024-10-29T10:25:14.413509663Z netbox-docker-agent level=error version=0.39.0 msg="Unexpected end of JSON input"
2024-10-29T10:25:18.571771474Z netbox-docker-agent level=info version=0.39.0 msg="docker socket error"

Hello @mcordes92,
Have you give read and write access to /var/run/docker.sock?
Like this chmod a+rw /var/run/docker.sock

Ok now it works, but in netbox it is only stand on refreshing

Ok now it works, but in netbox it is only stand on refreshing

best is to delete your host and add it again. Let me know if it solves the issue.

Unfortunately the problem is still the only thing that is shown to me is a registry entry, but on the docker host view refreshing is still displayed

Refreshing a host is deleting all the host dependencies (containers, images, volumes...) except the registry.
If the host is still in refreshing is means the agent has not been able to make a call back to netbox to update the host information.
If you connect to node red admin you should see an error log. If yes paste it.
To correct it as a work around you can delete your host and add your host again.

I can't open nodered.
This appears in the browser
Cannot GET /nodered

can you delete the host and add it again ?

This is the starting log from the docker container
2024-10-30T13:16:00.704844999Z netbox-docker-agent level=info version=0.40.0 msg="\n\nWelcome to Node-RED\n===================\n"
2024-10-30T13:16:00.706032700Z netbox-docker-agent level=info version=0.40.0 msg="Node-RED version: v4.0.1"
2024-10-30T13:16:00.706436115Z netbox-docker-agent level=info version=0.40.0 msg="Node.js  version: v20.15.0"
2024-10-30T13:16:00.706723334Z netbox-docker-agent level=info version=0.40.0 msg="Linux 5.10.0-32-amd64 x64 LE"
2024-10-30T13:16:00.909006965Z netbox-docker-agent level=info version=0.40.0 msg="Loading palette nodes"
2024-10-30T13:16:01.633781449Z netbox-docker-agent level=info version=0.40.0 msg="Settings file  : /data/settings.js"
2024-10-30T13:16:01.633818992Z netbox-docker-agent level=info version=0.40.0 msg="HTTP Static    : /usr/src/node-red/public > /"
2024-10-30T13:16:01.633825264Z netbox-docker-agent level=info version=0.40.0 msg="HTTP Static    : /usr/src/node-red/public/doc.html > /doc/"
2024-10-30T13:16:01.633830254Z netbox-docker-agent level=info version=0.40.0 msg="HTTP Static    : /usr/src/node-red/public/openapi.yml > /openapi/"
2024-10-30T13:16:01.634234370Z netbox-docker-agent level=info version=0.40.0 msg="Context store  : 'default' [module=memory]"
2024-10-30T13:16:01.634771275Z netbox-docker-agent level=info version=0.40.0 msg="User directory : /data"
2024-10-30T13:16:01.634863445Z netbox-docker-agent level=warn version=0.40.0 msg="Projects disabled : editorTheme.projects.enabled=false"
2024-10-30T13:16:01.635402293Z netbox-docker-agent level=info version=0.40.0 msg="Flows file     : /usr/src/node-red/flows.json"
2024-10-30T13:16:01.638563003Z netbox-docker-agent level=info version=0.40.0 msg="Server now running at http://<IP_ADDRESS>:1880/nodered/"
2024-10-30T13:16:01.645585507Z netbox-docker-agent level=warn version=0.40.0 msg="Encrypted credentials not found"
2024-10-30T13:16:01.676023703Z netbox-docker-agent level=info version=0.40.0 msg="Starting flows"
2024-10-30T13:16:01.791877330Z netbox-docker-agent level=info version=0.40.0 msg="Started flows"

Access to the socket works, I was able to fix that, and yes I can delete a host and create it again

Access to the socket works, I was able to fix that, and yes I can delete a host and create it again

pls do and tell me if it fixes the issue

Access to the socket works, I was able to fix that, and yes I can delete a host and create it again

pls do and tell me if it fixes the issue

what should I do?

delete the host :

and then restart the process of adding a host :

I have already done this several times

when you readd the host is not in refreshing. Can you then share a screenhost what you have in netbox after readding your host ?

state is refreshing. It means you have not deleted the host.

state is refreshing. It means you have not deleted the host.

I deleted the host several times using the delete button and it was no longer visible in netbox

can you do it one more time and readd it and show me what you have in netbox ?

I just deleted it again, then added it again, then the state briefly said "created" and then immediately "Refreshing"
and I then have the view in the picture

That is weird. I am trying to reproduce but can not for now.
I see you have http://<IP_ADDRESS>:1880.
I see there is no password for your host. Have you disabled the authentication ?
Or that would be http://admin:saashup@<IP_ADDRESS>:1880
To go to the refreshing state it means the refresh has been requested. Have you clickedon the refresh button ? You should not.

ok, now I have this error in the agent log.
can this be fixed somehow! Unfortunately I can only use self-signed certificates because netbox and the agent are in an internal network
2024-10-30T13:47:59.880238045Z netbox-docker-agent level=info version=0.40.0 msg="RequestError: self-signed certificate : https://<IP_ADDRESS>/api/plugins/docker/images/"

oh and now after creating a new one with the other endpoint the state only says "created"

when you start the agent you can add NODE_TLS_REJECT_UNAUTHORIZED

as environment ? with the value "True"?

ok, I have now set this but it still doesn't work, host state is always only set to "created"

can you show what you have done ?
I believe this one is a good test :
Add the following code in settings.js file. Before the module.exports line

process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";

Thanks for the logs. We will setup an environment to reproduce and come back to you.

We have found the issue.
Now the env var has been disabled and you must enable it on the node itself by :

set rejectUnauthorized to false in the msg
create a tls none config with Verify server certificate disabled

That would require a new version from us to enable this feature.
We will continue to investigate if there is other alternatives. If not, we will most probably go to option 1. That would allow to enable or disable it from an env var.

Ok, so I would have to wait until a new version comes out from you?

we will tag 0.42.0 for this. We will try to implement by the end of the week.

Thank you for your time and help

@mcordes92 I have a pull request and a branch ready. Would you be able to test it ?

@mcordes92 I have a pull request and a branch ready. Would you be able to test it ?

How i make that when is use the ready docker image?

You can't. We will release it then. That will be tomorrow.

@mcordes92 can be closed?

Yes all functions a working


Tests Hitting Production

Bug Report
Expected behaviour
No tests should be hitting production
Actual behaviour
Elasticsearch-logstash is getting a bunch of 401 responses on production with the path /user/users and an agent of Dockstore/null/Java which occurs when using an untagged version or snapshot of the Dockstore CLI.  Tests are probably hitting production because the default server-url is production.  Roughly 20 abnormal responses every 5 mins.
Steps to reproduce the behaviour
Run some tests on Travis, look at the logs
┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Issue Number: DOCK-244

Merged from @coverbeck
There are a couple of test configuration files that are referencing the production server:

dockstore-integration-testing/src/test/resources/pluginsTest1/configWithPlugins
dockstore-integration-testing/src/test/resources/pluginsTest2/configWithPlugins

We should be hitting production server with any tests.
Note: maybe we're not; needs investigation if that particular setting is actually used.

50 hits to production during each set of tests:
https://logging.dockstore.org:35943/app/kibana#/discover?_g=(refreshInterval:(pause:!f,value:30000),time:(from:'2019-03-25T13:40:38.165Z',mode:absolute,to:'2019-03-25T17:40:38.166Z'))&_a=(columns:!(_source),filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:c75bf320-3936-11e9-b171-0f748df432d9,key:agent,negate:!f,params:(query:%22letsSeeHowManyTestsHitProduction%22,type:phrase),type:phrase,value:%22letsSeeHowManyTestsHitProduction%22),query:(match:(agent:(query:%22letsSeeHowManyTestsHitProduction%22,type:phrase))))),index:c75bf320-3936-11e9-b171-0f748df432d9,interval:auto,query:(language:lucene,query:''),sort:!('@timestamp',desc))

Created a Kibana visualization for unique agents, looks like we still have significant tests hitting prod


Version of ant 1.8.4 that the liberty-gradle-plugin depends on has a security vulnerability

The classpath 'net.wasdev.wlp.gradle.plugins:liberty-gradle-plugin:2.7' is bringing in ant version 1.8.4 which has a security issue according to this: https://seclists.org/oss-sec/2020/q2/106
Description: Apache Ant 1.1 to 1.9.14 and 1.10.0 to 1.10.7 uses the default temporary directory identified by the Java system property java.io.tmpdir for several tasks and may thus leak sensitive information. The fixcrlf and replaceregexp tasks also copy files from the temporary directory back into the build tree allowing an attacker to inject modified source files into the build process.
Resolution: Upgrade to version org.apache.ant:ant-junitlauncher:1.10.8;org.apache.ant🐜1.9.15,1.10.8

@scottdickerson fyi...version 2.7 of the liberty-gradle-plugin is quite old. We have released a newer version here: https://plugins.gradle.org/plugin/io.openliberty.tools.gradle.Liberty/3.0
However, it looks like the newer version still uses org.apache.ant 1.8.4. So we will look into updating this. Thanks for bringing to our attention.


ch-21-wms-analysis.R matching on propensity score

It seems to me that the treatment effects from propensity score matching in lines 186-187 and 215-216 are average treatment effects on the treated (ATET) and not average treatment effects (ATE) as suggested by the variable names in the code (see documentation of matchit function in R)

Yes, I can see, matchit has the estimand option to be "ATE" or avg effect on the treated ="ATT".
Now added ATT as default, and ATE as optional comment.


Inference from a reload quantized open clip model (by .load_state_dict) resulted in IndexError

transformers 4.41.2
optimum-quanto 0.2.1
torch 2.3.1
Python 3.10.14
I performed this on a recent google GCP VM with Nvidia driver setup and basic torch sanity test passing.
I tried to quantize a HF ClipModel "laion/CLIP-ViT-L-14-laion2B-s32B-b82K" and then save the state_dict() on to disk. I then used "meta" device to initiate the model without the weight (this helps with memory conversation on a very weak box).
Then I followed these calls to load the saved quantized weight into this "lighter" model:
with torch.device("meta"):
  reload_model = CLIPModel.from_pretrained("laion/CLIP-ViT-L-14-laion2B-s32B-b82K")

quantize(reload_model, weights=qint8, activations=None)

reload_model.to_empty(device=torch.device("cpu"));

reload_model.load_state_dict(torch.load('quantized_clip_model.pth'), strict=True, assign=True)

reload_model.to(device)
reload_model.eval()

Unfortunately, when I tried to make inference on an image input to obtain its vector representation, I got error:
File ".../vss_env/lib/python3.10/site-packages/transformers/models/clip/modeling_clip.py", line 191, in forward
embeddings = embeddings + self.position_embedding(self.position_ids)
File ".../vss_env/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File ".../vss_env/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1541, in _call_impl
return forward_call(*args, **kwargs)
File ".../vss_env/lib/python3.10/site-packages/torch/nn/modules/sparse.py", line 163, in forward
return F.embedding(
File ".../vss_env/lib/python3.10/site-packages/torch/nn/functional.py", line 2264, in embedding
return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)
IndexError: index out of range in self
I have attached the a full standalone test.

I found out the root cause, the impl of CLIPVisionEmbeddings at init:
self.register_buffer("position_ids", torch.arange(self.num_positions).expand((1, -1)), persistent=False)
and this doesnt appear to be saved to state dict, such that when I reinstantiate the model on "meta", and load the state dict in, it just got random values. To fix, I tried:
num_positions = reload_model.vision_model.embeddings.num_positions
reload_model.vision_model.embeddings.register_buffer('position_ids', torch.arange(num_positions).expand((1, -1)), persistent=False)

and the inference went through without an error.
This looks like a hack fix and I remembered seeing example where this apparently worked without such issue (a transformers inside whatever that model was). So not sure why I am hitting it in the CLIPModel. So I am not sure if there's indeed a bug with the library, or this is fact of life.

I found this to be a general issue. if I use open_clip python library to do the same (instead of huggingface CLIPModel), then the model's attn_mask suffers the same problem due to register_buffer. if one "casually" just use the pattern of calls to try to sidestep loading of all pre-quantized float32 weights, and then use load_state_dict to only load the quantized weights, debugging may be needed to find out all the register_buffer variables and be sure to initialize them properly.
I thought this should be a valid use case to think about, since one big advantage is to be able to run on extremely constrained env (disk, RAM, etc).


Apk not available.

Hello, the app is removed from the Google play store. Can you please upload the apk in the repository.
Thanks

I'm not really maintaining it, feel free to clone the repo and build the apk locally


rebuilt kube2sky to use v1 api. new image ver is 1.11

Dont merge yet.

@nikhiljindal

Thanks @ArtfulCoder Verified that this fixes the problem.

@k8s-bot test this please

Please review..

LGTM
ok to merge

subscribe


Running openVPN in your chroot, a fix

Hey everybody.  I spent most of the day trying to get my internet traffic going through a VPN network with openVPN.  I thought I'd gather together all the pieces for an easy solution that worked on my Dell Chromebook 13, though it should work on any Chromebook.  Basically, I ran into 2 problems:

Chrome OS keeps tight control over all network traffic.  This means:

Since Chrome OS destroys all unrecognized tun devices, your VPN will likely fail.  Or, at the least, generate an enormous amount of error messages, which, if kept in a log file will overwhelm your storage space in a short time.  To fix this see here.  In short, you must enter the following before running openVPN:

sudo stop shill
sudo start shill BLACKLISTED_DEVICES=tun0

But see the scripts on that page for a cleaner implementation.  You probably don't need to worry about forwarding the DNS because, see 2.
Chrome OS does not, as far as I'm aware, allow any Linux program access to the network configuration.  I haven't found a fix for this yet.  The issue was raised here, but unfortunately, it was closed before there was any resolution.  There may be no viable solution.  For now, you'll just have to configure all networking in Chrome.

DNS requests do not make it back to the sender.  The fix I am using at the moment is to direct all DNS traffic through Google Public DNS (<IP_ADDRESS>,<IP_ADDRESS>).  You can set this quickly by going into SETTINGS>Internet connection, clicking on your network name, clicking on the Network tab, and selecting the Google name servers radio button.

That should do the trick for anyone having internet problems when running openVPN in Linux.  One thing you might notice, for good or for ill, is that with openVPN running in Linux, all your internet traffic will be routed through your VPN--even traffic generated by Chrome OS.

l8rb8r: After several days, trying to setup vpn on chrome os, I found your answer... THANKS A LOT !

I tried what you said, but for some reason, the process always hangs on 'Initialization Sequence Completed'. Any help would be appreciated.

@mrmcboomer it's supposed to... that means that everything went successfully, and the process is just running without output. if u kill the terminal instance it's on u kill the vpn connection too.

This doesn't work anymore on Version 91.0.4472.25 (Official Build) beta (64-bit)

Found a fix....the shill command has changed now
sudo stop shill
sudo start shill BLOCKED_DEVICES=tun0
although i could get he vpn to connect now the traffic is not being routed through th vpn smh...can anyone help with this


[1/1][eas-cli] patch metadata.json on publish

Why
When we publish an update, a metadata.json file gets generated in the dist folder. This PR patches the metadata.json with some eas metadata.
motivation
It would be nice to have this for sentry-expo integration. While it is possible for users to specify the json flag for the update command to output the same information, it will be nicer if we can tell people to just run eas update and then run another script that will read from the metadata.json file
Test Plan
manually tested

/changelog-entry new-feature patch metadata.json with eas info on publish

@wschurman i've amended the PR to generate eas-update-metadata.json instead


fix(virtualScroll): update to Renderer2 since Renderer is deprecated

Short description of what this resolves:
Update to Renderer2 since Renderer is deprecated.
Ionic Version:  3.x

Looks like a good start.
However, PRs should be complete - it should be updated system wide. Also, in the spec files, there is a mockRenderer, that should be updated to mockRenderer2 when it changes system wide.

@AmitMY You are right, if I find some time I will try to do it.

@mnewmedia btw you can test the app by running gulp validate, to make sure you didn't break anything, as this can be a big change system wide

@AmitMY Did a big part now, no more TS errors from my IDE. But gulp validate gives Fatal undefined. I will look deeper into this on sunday..

Closing in favor of a PR #12147 which updated everything to renderer2


Airplay to an Apple TV prompts a black screen instead of a now playing notification

Airplay-ing to an Apple TV device will prompt a black screen with a loader and a progress bar instead of running as a background music app -> TuneIn (which i do believe uses AVPlayer, but i cannot confirm), Soundcloud, Spotify ..
Reproduce:

Open the app, setup FRadioPlayer, and call play()
Wait until you hear the music, and then go into Control Center and Airplay to an Apple TV (not headphones.. it needs to be an Apple TV for this to be reproduce-able)
Observe the now playing info is not visible anywhere and the screen goes fully black, with only a loader and a progress bar.

The annoying part is the fact that if you dismiss the screen, it does not continue playing the music and will most of the times corrupt the session on that Apple TV.

Did you set MPRemoteCommandCenter and MPNowPlayingInfoCenter in your app?

Yes, the now playing information is set up and works on the device, but not on the Apple TV.

Thanks for reporting the issue, I will do more testing on an actual Apple TV.

Debugging a little more, this only seems to happen when directly using Airplay to an Apple TV.
Using Airplay 2 you can select multiple devices to airplay to. If I select an Airport Express first, then select the Apple TV as a second Airplay output, the metadata will correctly show in the top right of the Apple TVscreen.

This seems related to the timedMetadata KVO, it always returns nil when directly Airplaying to an Apple TV.

@apeatling thanks for the informations!

Hey @apeatling , @sbrighiu
I added a fix to this issue in the latest release 0.1.16

Thank you!

Awesome! App in review as we speak :)

Stefan Brighiu
Software Engineer @ AB4 Systems
Phone: +40 744 581 921
Web: http://ab4.systems
On 22 May 2019, 20:01 +0300, Andy Peatling<EMAIL_ADDRESS>wrote:

Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks for the feedback, closing the issue 👍


New-AzureRmDms command not working

I cannot create the DMS Service?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 07d69e62-9260-457d-2acd-028bdfa0a0a4
Version Independent ID: b8b83251-c237-a31f-60dc-2db8337192c9
Content: Use Azure Database Migration Service module in Microsoft Azure PowerShell to migrate SQL Server on-premises to Azure SQL DB
Content Source: articles/dms/howto-sql-server-to-azure-sql-powershell.md
Service: database-migration
GitHub Login: @pochiraju
Microsoft Alias: rajpo

@Anmolgan81 Thank you for the detailed feedback. We are actively investigating and will get back to you soon.

@Anmolgan81 Did you install the correct cmdlet for Data Migration Service with the following command in you PowerShell environment with Admin Rights?

Install-Module -Name AzureRM.DataMigration

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\WINDOWS\system32> Install-Module -Name AzureRM.DataMigration
Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its
InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you want to install the modules from 'PSGallery'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): A
PS C:\WINDOWS\system32> New-AzureRmDataMigrationService
cmdlet New-AzureRmDataMigrationService at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
ResourceGroupName:

We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Add tests for sf::BlendMode

Description
Next up in my crusade to test the whole Graphics module is sf::BlendMode. This is effectively another leaf in the dependency graph since it only depends on SFML/Graphics/Export.hpp. These tests are pretty straightforward so hopefully they'll be self explanatory.
Tasks

[ ] Tested on Linux
[ ] Tested on Windows
[x] Tested on macOS
[ ] Tested on iOS
[ ] Tested on Android

SFML/Graphics/RenderStates.hpp is next since it depends on BlendMode and Transform which both have tests.

SFMLBuildMaster: Build this please.

I wonder if it makes sense if we already qualify the enums, as we're likely going to turn them into enum classes soon.
E.g.:
// instead of:
sf::BlendMode::Zero

// use:
using Factor = sf::BlendMode::Factor;
Factor::Zero

But we can also do everything together in a later PR. These constants are also candidates for nesting, for example.

@Bromeon There are certainly many unscoped enumeration that should be scoped. We could feasible do one big PR that changes lots of classic enumerations into scoped enumerations. I did also find it odd that those constants were not in the scope of the BlendMode class and would like to change that.

SFMLBuildMaster: Build this please.


Make a way to line-wrap a row

In any sufficiently complicated spreadsheet, it seems like the line lengths in source code can get really long.  For example:
---
![[t=b/ha=c/lock]]Date ,Quantity                    ,Purchase Price        ,Fees                    ,Action                                                                                ,Cost basis
![[f]][[nf=date]]      ,[[t=quantity/nf=number]]    ,[[v=purchase_price]]  ,[[v=fees/nf=currency]]  ,[[validate=in_list(Buy Sell 'Option Assigned' 'Carry-forward' 'Reinvest' 'RSU Vest')   ,[[nf=currency]]=cost_basis

it would instead be nice to split this up on multiple lines.  It seems like the tried-and-true way would be to end the line with a \ and prefix the next line with a leading space:
---
![[t=b/ha=c/lock]]Date \
  ,Quantity \
  ,Purchase Price \
  ,Fees \
  ,Action \
  ,Cost basis
![[f]][[nf=date]] \
  ,[[t=quantity/nf=number]] \
  ,[[v=purchase_price]] \
  ,[[v=fees/nf=currency]] \
  ,[[validate=in_list(Buy Sell 'Option Assigned' 'Carry-forward' 'Reinvest' 'RSU Vest') \
  ,[[nf=currency]]=cost_basis

hmm maybe you could even not require the \ and assume that if it starts with a space then it's a continuation of the previous line.
Implementation-wise I think the best way for this to work would be to preprocess the spreadsheet section before running it through the CSV processor

https://github.com/patrickomatic/csv-plus-plus/commit/80a07ce9a69c9cdd85d24329af2b307bc0db453a


v6.4.2 - Gracious Guava

Coverage remained the same at 91.017% when pulling f755ce01767477c473dbbeb8a02831b3e45f7800 on RickCarlino:unbork into 6e0b807c498772b32fae663c3013a170d94f3762 on FarmBot:master.


10 main page

Main Page is created. Added routing on buttons that will lead to the map and login page.

Please remember, that author comment should resolve the conversation.

Please remember, that author comment should resolve the conversation. if you want to keep track of what you finish you could write "done". But don't resolve by yourself...

✔

Please merge main to this pr - I think that now code cleaning  should work like a charm.


fontsetter flexibility

This adds two new features to gftools-fontsetter:

A value of the form "|= 0x123" will OR the current value of the field with the provided value.
Multiple keys can be provided in the same configuration file. This allows for calling the same method (name->setName) multiple times. (Needed for making things italic.)

sgtm!


Is the @Persisted idiom supported on iOS12?

How frequently does the bug occur?
Always
Description
When trying to use the properties marked as @Persisted in iOS 12, the application crashes with this message:
*** Terminating app due to uncaught exception 'RLMException', reason: 'Object type 'AnObject' is not managed by the Realm. If using a custom objectClasses/objectTypesarray in your configuration, addAnObjectto the list ofobjectClasses/objectTypes.' terminating with uncaught exception of type NSException
Note this bit works on iOS13+ , but on iOS 12.5.7 it doesn't seem to work. I am not combining @Persisted with @objc dynamic var for this specific class. See the sample code below.
Stacktrace & log output
`*** Terminating app due to uncaught exception 'RLMException', reason: 'Object type 'AnObject' is not managed by the Realm. If using a custom `objectClasses` / `objectTypes` array in your configuration, add `AnObject` to the list of `objectClasses` / `objectTypes`.'
terminating with uncaught exception of type NSException`

Can you reproduce the bug?
Always
Reproduction Steps
Sample code:
class AnObject: Object {
    @Persisted(primaryKey: true) var myThing:String
}

class MyTest:UIViewController {
    @IBAction func onTest(_ sender: Any) {
        let a = AnObject()
        a.myThing = "Sup"

        let realm = try! Realm()
        try! realm.write {
            realm.add(a, update: .modified)
        }

        let realm = try! Realm()
        let objs = realm.objects(AnObject.self)
        print("===== objs: \(objs)")
    }
}

Version
10.37.0
What Atlas Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
iOS 12.5.7
Build environment
Xcode version: 14.2
Dependency manager and version: 1.11.3

I also met this bug.


Add info on where to download binaries to our install docs

          Perhaps we should be adding some of this information to our public docs

Originally posted by @cmwaters in https://github.com/celestiaorg/celestia-app/pull/2654#pullrequestreview-1671018813
cc  @jcstein

hiya, where are your install docs? or is this referring to adding prebuilt binary downloads as option to the documentation site?

hiya, where are your install docs?

There exists an Install section in the celestia-app README.md.

or is this solely referring to adding prebuilt binary downloads as option to the documentation site?

Yea, I think the issue wants to add pre-build binaries to the docs site. Potentially near Installing celestia-app b/c users don't strictly need to do the git clone method, they can use a pre-built binary. As for the docs content, I like what you proposed above! Thanks for drafting so quickly.
Note: with a PR that just merged, pre-built binaries should be created for:

Operating systems: Darwin (Apple), Linux
Architectures: x86_64 (amd64), arm64

so we may want to slightly modify the first step to:
# Modify VERSION to the celestia-app version you would like to install.
VERSION="v1.0.0"

# Modify PLATFORM based on the operating system and architecture of the machine you are installing celestia-app on.
# Ex. Linux_x86_64, Darwin_x86_64, Linux_arm64, Darwin_arm64
PLATFORM="Linux_x86_64"

URL="https://github.com/celestiaorg/celestia-app/releases/download/$VERSION/celestia-app_$PLATFORM.tar.gz"

Based on

From https://github.com/rootulp/celestia-app/releases/tag/v1.0.0-rc5

awesome, thanks @rootulp! I'll go ahead and try to rework that script to detect architecture, and go from there. for now, i'll plan just to add this in Documentation site for now. but can also add to celestia-app Install section if appropriate

It looks like the binaries weren't published for v1.2.0, and I see the related issues to that.
I have a script in the works, that detects OS/arch, and pulls the latest release. And it's working!
./install.sh
Working from temporary directory: /Users/joshcs/celestia-temp
Latest version detected: v1.2.0
Downloading from: https://github.com/celestiaorg/celestia-app/releases/download/v1.2.0/celestia-app_Darwin_arm64.tar.gz
--2023-10-25 14:38:49--  https://github.com/celestiaorg/celestia-app/releases/download/v1.2.0/celestia-app_Darwin_arm64.tar.gz
Resolving github.com (github.com)... <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-10-25 14:38:49 ERROR 404: Not Found.

Download failed. Exiting.

Here's an example that uses a hard-coded variable for v1.1.0 instead

cooking now. added a checksum verification! here are the logs from that run

and lastly, cleaned up verbose logs and stored in log file
./install-temp.sh
Log file is located at: /Users/joshcs/celestia-temp/logfile.log
Working from temporary directory: /Users/joshcs/celestia-temp
Latest version detected: v1.1.0
Downloading from: https://github.com/celestiaorg/celestia-app/releases/download/v1.1.0/celestia-app_Darwin_arm64.tar.gz
Checksum verification successful.
Binary extracted to: /Users/joshcs/celestia-temp
Temporary files cleaned up.
You can navigate to /Users/joshcs/celestia-temp to find and run the Celestia app.
To run the app and check its version, you may execute the following commands:
  cd /Users/joshcs/celestia-temp
  chmod +x celestia-appd
  ./celestia-appd version

Josh completed this in https://github.com/celestiaorg/docs/pull/1198.
The docs are live at https://docs.celestia.org/nodes/celestia-app#installing-a-pre-built-binary


addresses inconsistencies when using sane generate [singular noun]

This PR is to address https://github.com/artificialio/sane/issues/123 where we get inconsistent results when calling sane generate user vs sane generate users.  With these changes, both calls should result in the same modeling being created.  We're basically pluralizing the name passed in when passing the value to the respective ember and sails CLI's.

This just pluralises the resource no matter what. I think what would be better behaviour (to make it consistent between ember and sails) is to just singularize whatever parameter is being passed to sails.
Imo you should still be able to run sane generate resource friend and let ember create all the singular stuff. The main issue seems to be when you run sane generate resource friends that sails just creates a Friends model and controller rather than a Friend one.

Yeah, sane generator should be smart so that it tells sails - > singular, ember -> plural, that's about it, right?

Yep @mgenev much more concise :P

I apologize, I thought we wanted the sails side to be plural.  A simple change to singularize that.  uno momento :)

and just so we're clear here,

we want the sails model and controller to be singular
we want the ember model to be singular
we want the ember route and template to be whatever the user passed in

would you all agree?

@jamemackson ember is clever enough to do the right thing itself. So we just have to help out sails here :)

@Globegitter thanks, I'll leave the ember side alone then and just help sails out :)

@Globegitter @mgenev see how this looks now.  only passing pluralized name to sails; straight through to ember.

@jamemackson One little trick, you can either do var singularize = require('pluralize').singular; to directly require the one function we need or use new ES6 syntax and let JS do it: var { singular } = require('pluralize');. Then it is good to merge ;)

sure, I can handle that. :)

Can you try squashing these commits?  I know rebase is your favorite, but it should be pretty straight forward:
$ git rebase -i HEAD ~3
// leave the top line as-is, on the second and third lines, change "pick" to "s", then save

$ git push -f origin master

@IanVS done.  Hopefully done correctly lol

Hm, close, but it's still showing two commits.  Try again with git rebase -i HEAD~2 (I think for some reason there was an extra space between "HEAD" and the "~" in my previous comment, I corrected now.)

yea I saw an error when I tried it with the space so I ran it without and it worked... I'll give it another go here quick and see if that fixes it up.

ok now it looks like it's squashed down to 1 commit... I'll be back in a couple hours if I need to do more there...

I think it would be good to add acceptance tests to verify Sails and Ember behave as expected. You can take a look at the current test at: https://github.com/artificialio/sane/blob/master/tests/acceptance/generateTest.js#L59-60 to get started, but I think we should think about refactoring slightly so as not to run generate over and over with the same arguments. One way would be to extract the generate out into a beforeEach, and maybe add separate describes to group the tests by the generate comma d that needs to be run.

I was just thinking the same thing today (about not generating it over and over again). Yeah that is a good call @IanVS. Let's use this chance to also improve the test situation a bit!

Sounds like a new story/PR to me? We can let @jamemackson off the hook here?

@mgenev The minor refactor yes - if @jamemackson is up for it though it would be great to have some acceptance tests that ensure that the singularization works correctly (by checking the created file names)

I agree refactoring could/should be a separate activity.  For now as part of this pull request I think we need tests which:

Assert that the proper filenames are generated in client when singular format is used (e.g. sane generate resource user)
Assert that the proper filenames are generated in server when singular format is used (e.g. sane generate resource user)
Assert that the proper filenames are generated in client when plural format is used (e.g. sane generate resource users)
Assert that the proper filenames are generated in server when plural format is used (e.g. sane generate resource users)

I am happy to tackle the tests.  Probably not until later in the week though (and I mean it this time haha - I really do need to buckle down on some freelance work for a couple of days, even though it is so much less fun that working on this!) But are there other tests that do something similar I can reference?  If not so big deal, I can figure it out.

@jamemackson, you should be able to use the assertFile() helper here, similar to the current generateTest.js. It could look something like:
await generate('resource user');

  assertFile('client/app/models/user.js');
  assertFile('server/api/models/user.js');
  // etc. . .

Interesting that appveyor passed and one single travis test failed. @jamemackson any idea why that could be? But let me re-run the tests.

Thanks @jamemackson and could you also please add a CHANGELOG.md entry.

hopefully this foxes things up... :)

Thank you again @jamemackson and as a first PR acceptance gift we are accepting without an further squashing ;)


Change to install pattern with zypper breaks SLES

Hey,
the recent change by @vpereira to install dependencies on opensuse with patterns instead of with packages breaks support for SLES.
https://github.com/dotless-de/vagrant-vbguest/commit/7bf3b7dd0596a3119e18055dae29973f0cb2e0d6
Testing confirms that after reverting the change, everything works as intended.
Tested on: SLES 12 / 11.4

Hey @glookie1,
so either we do a fine tuning on supported SUSE Linux versions or it won't be able to support both, I think,  right?

Well I don't know if there are too many downsides to installing the required packages instead of the patterns on OpenSuse. If OpenSuse requires the patterns, then yes, it won't be able to support both.
An additional check for OpenSuse vs. SLES would probably be preferred, but I don't know how you would differentiate between OpenSuse and SLES as the currently checked values are identical.
Validating the information written in /etc/os-release might be the safest way, but feels hacky.
This is the recommended way at least for SLES12/SLES11.4.
NAME="SLES"
VERSION="12-SP1"
VERSION_ID="12.1"
PRETTY_NAME="SUSE Linux Enterprise Server 12 SP1"
ID="sles"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:12:sp1"

The os-release file for SLES 11.4 is identical ( except for Version numbers ;) )

Yes opensuse is done via patterns.
Maybe the solution would be the installer suse and the class method match? should implement a logic like https://github.com/dotless-de/vagrant-vbguest/blob/d36ba2e4ae00577b4169bf1336a6a3264277c1e7/lib/vagrant-vbguest/installers/oracle.rb

I will try to implement it today.

Hi there,
thanks for debugging this. The installer could read some file contents from the guest machine containing the exact os version and make some switches on that.
It's a bit tricky, but basically works like this: https://github.com/dotless-de/vagrant-vbguest/blob/d36ba2e4ae00577b4169bf1336a6a3264277c1e7/lib/vagrant-vbguest/installers/base.rb#L133

/etc/os-release exists since SLES 11.4 - only previous versions use /etc/SuSE-release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 4
# This file is deprecated and will be removed in a future service pack or release.
# Please check /etc/os-release for details about this release.

Therefore testing for SuSE-release might be a problem.
Something akin to this might be enough, if you don't require backwards compatibility to older SUSE Versions:
grep "SLES" /etc/os-release

Hi @glookie1
can you try the version of my repository?
here is my commit https://github.com/vpereira/vagrant-vbguest/commit/199b15d0efb49e4b927344d673d9895276409a81
if it works for you, I can open a pull request.

To really fix it, Maybe we should go one level up into the Vagrant::Machine, Vagrant::Systems::Base, or other related classes.

Currently it is not executing the new code in suse.rb and still executing opensuse.rb. Adding a check which will always fail tells me that it seems that it doesn't load the suse.rb.
The guest's platform ("suse") is currently not supported, will try generic Linux method...

I'm not sure wether that would help, because I don't think that there is a SLES System Base in Virtualbox.

Maybe it's related with the Installer priority. I will check it.

I think the self.sles test isn't working. Adding the following line for debug reasons, I get the following output:
printf "self.distro(vm): %s has_zypper?(vm): %s sles?(vm): %s\n", self.distro(vm).inspect, has_zypper?(vm).inspect, sles?(vm).inspect

self.distro(vm): :suse has_zypper?(vm): true sles?(vm): false

ok, funny that I tested in a SLE-11-SP4 the commands:
grep ID=\"sles\" /etc/os-release

and
which zypper

and it returned 0 as expected.
can you check if you get 0 after you execute the grep command?
I'm commuting that's why I wasn't able to test it myself .. as soon as I'm at office, I can test it.

For testing I disabled the sles check and added a similar check to opensuse. After trying again, it seems that the script itself is working, the problem seems to be that the communicate_to(vm).test was not supposed to be used in the way we do here...
Later today I should have time again to debug the issue.
sles?(vm): false ## <-- this is probably the issue

Is the vm.communicate something provided by Vagrant?
Just tested it, both commands return 0. Somewhere something strange happens...

maybe do a git pull, because I did an update, in my first commit I forgot to require suse.rb..

Latest Version with me still tries to use opensuse installer for sles.
As far as I can tell:

OpenSuSE Installer is now executed/called after SuSE Installer -> fixed
communicate_to(vm).test "grep ID=\"sles\" /etc/os-release" always returns false
I tried playing around with it, but all I figured out to do was to get it to always return true, which isn't better in any way.
Seems like somewhere on the way it is doing something weird with the return variable. Currently I am unsure wether the problem is in the vbguest plugin or in vagrant itself...

I used the following code to Debug - once I am at home I will be able to try properly. Sadly I cant get git to work with our corporate proxy...
def self.sles?(vm)
  test = communicate_to(vm).test "grep ID=\"sles\" /etc/os-release"
  printf "SLES Debug: %s/%s", test.inspect, test.to_s
  return test
end

I found the issue - escaping is hard.
def self.sles?(vm)
  communicate_to(vm).test "grep -q ID=\\\"sles\\\" /etc/os-release"
end

I'm going home now - gonna create a pull request later.

did already.


Deploying on shared hosting and serving from the webroot

Q
A

Issue Type
Question

Deployer Version
3.3.0

Local Machine OS
Ubuntu 16.04 x64

Remote Machine OS
Debian 8.5 x64

Description
How do I deploy a Symfony 3 app on shared hosting why deployer?
Here's my directory structure:
~
└─── current (symlink pointing to the lastest release)
│
└─── releases/
│   │
│   └───<PHONE_NUMBER>2156/
│   └───<PHONE_NUMBER>2156/
│
└─── shared/
│
└─── web/ (web root)

This is what it looks like after my deploy script. Now, how do I use the contents of current and serve the app from the webroot this way?
I used to copy my whole project to the home folder with my project's web folder overriding the hosting web folder, which would obviously work.
I know how to do this with a Virtual Host, but without access to that I have no clue.
I tried using this:
Options +FollowSymLinks

RewriteEngine On
RewriteRule (.*) ../current/web/$1 [L]

but it didn't work.

Can you try make a symlink named web point to release directory like current.
/**
 * Create symlink to last release.
 */
task('deploy:custom_webroot', function () {
    run("cd {{deploy_path}} && ln -sfn {{release_path}}/web web");
});

Didn't try that, thought I couldn't mess the the web dir itself - turns out I can.
With the symlink to the web dir I get 403's.
Any ideas? I am trying to get the server logs, but it is ending up to be rather difficult.

It's something your hosting specified. Try to contact your host support.

If anyone experiences a similar problem, here are my conclusions:
The 403's were down to the owner/group of the webroot dir being changed when creating the symlink. Asking the sysadmin to chown it fixed it.
Then I started having 500's due to the fact that execution of scripts outside the webroot wasn't allowed, causing the web/app.php require to outside web/ to fail.
It should be noted that you also need a </Directive> or equivalent applied to the folder containing the symlinked webroot with the option FollowSymLinks for Apache to follow it properly.


locales/es just capitalized month and day names

Because they're proper names,
most other locales are capitalized

@luciotato - It seems others disagree.  See #2497 and #2498


I want pr-agent not push anything on github but just provide it output

Hi,
running pr-agent CLI
I would like the option to have pr-agent not push anything on github but just provide its output.
Is that possible?
Thanks!

yes
https://github.com/Codium-ai/pr-agent/blob/main/Usage.md#working-from-a-local-repo-cli
(note 2)

thank you!


Returns are not preserved in teaser blocks (within grid block)

Describe the bug
Returns are not preserved in teaser blocks (within grid block)
To Reproduce
Steps to reproduce the behavior:

As admin
Go to https://light-theme.kitconcept.io/
Create a new page
Add a grid block with teaser block subblocks
Type a text with multiple lines, e.g.

Features:

- Fuzzy Search
- Autocomplete
- Facetted Search

Save

Expected behavior
The returns in the multi-line input field are preserved in the view.
Screenshots

Hi @tisto, I would love to pick up this issue and work on it.

@raghavKasyap please read and follow Contributing to Plone and First-time contributors.

Hi, can i work on this issue please?

@bisoladebiyi please read and follow Contributing to Plone and First-time contributors, especially Things not to do.


Fix UHS performance-tests target and JS test code

Fix UHS container instantiation via helm
Change 'disown' shell usage for detaching UHS process to use 'nohup' wrapper prefix instead - 'disown' is available in full Bash, but not minimal /bin/sh versions.
Remove use of 'UHS_TEST' as cluster-name - it does not appropriate to propagate correctly through the several funcion sub-shells we invoke for cluster creation, kind image loading, etc. Since we are creating the cluster and tearing it down after tests run, we should be safe with the default 'UHS' cluster name.
Fix JS test code to use UHS-style /api/v1/... API prefix, and use correct status_text for parsing response.

Fixes https://github.com/G-Research/unicorn-history-server/issues/309

Wait, integration tests are failing, can you please fix that

All tests finally work now! Please re-review.


Odometry details are not published

Hi @geturin,
After I ran roslaunch oafd ego_tello.launch command, it gave me below output.What is the reason for that?

You need to run ORB_SLAM3 and have the drone take off to complete monocular initialization in order to obtain the odometry. If you have already done so but the odometry is not being published to ROS, you may want to check the ORB_SLAM3 terminal for any error codes.

Drone take off also done and still the odometry is not published and there is no error given in ORB_SLAM3 terminal  as well.

If ORB_SLAM3 initialization is complete, it should publish the camera's poststamp through the orb_slam3_ros_wrapper on the topic '/orb_slam3_ros/camera'.
I've converted the poststamp into Odometry here.
https://github.com/geturin/OAFD_Monocular/blob/master/src/get_odom.py
You can check whether '/orb_slam3_ros/camera' is being published or if you've modified any topic name in the launch file before.


[feat]: Support Windows platform and index files

Support Windows separator
Support index files for Node resolution strategy

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Dmitrii Shilov seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Design panel: Video Captions Panel Redesign

Context
Implementing the redesign for the editor.
Designs
Designs

File uploaded
File upload Error

Note: The language dropdown has not been implemented yet, so I didn't add that for now. When that is added, we'll need to fix the bottom border radiuses on the input.
Summary

Swaps out input for input in design system
Add trash Icon button
Add error text (isn't visible atm)

Relevant Technical Choices

added a tooltip to the icon button. It has an aria label, but figured the tooltip is helpful (and consistent with other textless buttons in this panel)

To-do

Language dropdown needs to be added (not a part of this ticket)

User-facing changes

Type
Before
After

Single video selected

Multiple videos selected

Note: the error text isn't visible except in this gif. There is currently no way to tell if a file failed to upload.
Testing Instructions

create a story
add a couple videos
click on one, scroll the design panel to captions. Open and play around with it. Should be able to upload files and delete files.
select multiple videos. Currently you can't upload a caption for multiple videos.

QA

[ ] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

create a story
add a couple videos
click on one, scroll the design panel to captions. Open and play around with it. Should be able to upload files and delete files.
select multiple videos. Currently you can't upload a caption for multiple videos.

UAT

[x] UAT should use the same steps as above.

Reviews
Does this PR have a security-related impact?
no
Does this PR change what data or activity we track or use?
no
Does this PR have a legal-related impact?
no
Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[x] I have verified accessibility to the best of my abilities (docs)
[x] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[ ] This PR contains automated tests (unit, integration, and/or e2e) to verify the code works as intended (docs)
[x] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #6504

Thanks Miina! Fixes those styles here:


Python 0.10.0 APIs

This builds on what I did in https://github.com/googleapis/api-client-staging/pull/15, so it would be best to merge that first.
This adds Trace and IAM Admin, which have 0.9.x versions on master. It also adds Datastore, which I need to test before publishing.

Once #15 is merged, could you rebase (rather than merge) on that to reduce the delta in the diff?

@geigerj This has been rebased

@geigerj This is ready for final review.

@dhermes FYI, I just need to get this through review, and then I can publish them to PyPI.


Unhandled Exception: System.InvalidCastException: Specified cast is not valid.

You have done an awesome work on this project!
All the other courses converted just fine. But when I tried to convert below courses below exception was thrown.
Courses
https://www.lynda.com/Web-Interaction-Design-tutorials/JavaScript-Templating/156166-2.html
https://www.lynda.com/Selenium-tutorials/Mastering-Selenium-Testing-Tools/521207-2.html
Exception
Unhandled Exception: System.InvalidCastException: Specified cast is not valid.
at System.Data.SQLite.SQLiteDataReader.VerifyType(Int32 i, DbType typ)
at System.Data.SQLite.SQLiteDataReader.GetString(Int32 i)
at LyndaDecryptor.Program.d__21.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_1(Object state)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Thank you for all that you have done. But I'm sorry that I'm a newbie and
don't know how to use this program. But I neet it to convert my lynda
offline video course. So would you please to teach or lead me how to
convert *.lynda video by this program.
2016-09-16 16:18 GMT+07:00 Amit Sidhpura<EMAIL_ADDRESS>
You have done an awesome work on this project!
All the other courses converted just fine. But when I tried to convert
below courses below exception was thrown.
Courses
https://www.lynda.com/Web-Interaction-Design-tutorials/
JavaScript-Templating/156166-2.html
https://www.lynda.com/Selenium-tutorials/Mastering-
Selenium-Testing-Tools/521207-2.html
Exception
Unhandled Exception: System.InvalidCastException: Specified cast is not
valid.
at System.Data.SQLite.SQLiteDataReader.VerifyType(Int32 i, DbType typ)
at System.Data.SQLite.SQLiteDataReader.GetString(Int32 i)
at LyndaDecryptor.Program.d__21.MoveNext()
--- End of stack trace from previous location where exception was thrown
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_1(Object
state)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object
state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.
IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/h4ck-rOOt/Lynda-Decryptor/issues/4, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AVLfpU7mHoTEiKnb7s5xe4wZgh3ygDA7ks5qql7igaJpZM4J-vX4
.

Having the same problem but you can still decrypt the video by renaming the course number folder in the offline folder to 7 digit instead of 6. i.e 156166->1561666.
But the output video will be in that folder although you specificy it in command.
And the naming and foldering also will be mess up as the course number doesnt exist in db.sqlite

Having the same problem. Any solution?

Guys this is a duplicate of #3.
As a temporary workaround, you need to edit the sqlite database containing course data (e.g. C:\Users\<USER>\AppData\Local\lynda.com\Lynda.com Desktop App\db.sqlite), open the table Video and make sure there are no (null) entries there. You can find the exact course name in the Course table under the Title field having the same ID as the CourseId in the Video table. Once you do that - the converter will work.
I suppose one can write some SQL query that fills these fields automatically, but unfortunately I don't know how to do that.

Why is that when I convert by folder, it always stops in after converting 4 videos? Am I doing it wrong?

@Dev-iL
I kinda change the query to correct the issue. Please check the attached file for the fix.
Query.txt

@thetriplet3 How do I do that? Do I have to recompile the project?

@ktsarlz Yup! replace the query, recompile and run!

@thetriplet3 I can't compile the source file. Mainly because I only have VS 2008. It gives an error about 14.0 etc :(

@ktsarlz Here is the compiled exe file. Tell me if you get any issues.

@thetriplet3 Wow! Thanks for that. I tried running it now, But I when the process goes on it still stops at after 4 videos :/

guys anyone can help me i get this error when i run it
[STATUS] Couldn't find db entry for file: E:\lynda\ldc_dl_courses\1014613\114513_83218ac34c1834c26781fe4bde918ee4.lynda
[STATUS] Using the default behaviour!


It does not work

when i fell from the highest point of the map i dint get kicked

sorry don’t update or make mods anymore, find another one, or make one yourself cause a simple fall dmg mod isnt that hard


Issue with GPU

I am having an issue using my GPU, it gives an error on start saying "Detecting local GPU Information failed! Unrecognized function or variable 'gpuDeviceCount'"

Likely, your Matlab version is not supporting the 'gpuDeviceCount' function.


Update Post “termite-inspection-cost-on-the-gold-coast”

Automatically generated by Netlify CMS

👷 Deploy Preview for chic-shortbread-66a66b processing.

Name
Link

🔨 Latest commit
2a862236eb163a1367539749e3537f8270e00620

🔍 Latest deploy log
https://app.netlify.com/sites/chic-shortbread-66a66b/deploys/654ad58a3cd7f10008a725f6


[📑 Docs]: document AsyncAPI structure

What Dev Docs changes are you proposing?
As part of Google Season of Docs 2023 at AsyncAPI, we're going to write in-depth explanations of the different sections of an AsyncAPI document to avoid difficulties in implementing EDAs.
This task is part of the Docs EPIC: https://github.com/asyncapi/website/issues/1507.
For this issue, we'll cover:

AsyncAPI structure - Introduce all root elements, add short explanation of info, servers, channels, components, and their purpose.

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@trohit20

Done! Working on it

I suggest we clarify in the description of this issue that this doc should be based on AsyncAPI Spec version 3.

The issue in context is now resolved as PR #1922(merged) adds the document intended to the AsyncAPI website. Hence, closing the issue.
cc @alequetzalli


pull request for e2e test at 01/14/2017 04:26:16

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Jonmv/zk 3.9.1 os default

@hmusum or @bjorncs please review.

Build fails
10:28:42 CMake Error at zookeeper-server/CMakeLists.txt:4 (add_subdirectory):
10:28:42   add_subdirectory given source "zookeeper-server-3.9.1" which is not an
10:28:42   existing directory.


Customize icon color with add button

Is your feature request related to a problem? Please describe.
No issue.
Describe the solution you'd like
I want this icon's color to be customizable.

Describe alternatives you've considered
None, two-shoes#3046 said this was not possible when asking in the official stripe discord.
Additional context
N/A

Does the style: 'alwaysLight' enforcement work with android @charliecruzan-stripe ?

no, it's iOS only right now (tracking that in https://github.com/stripe/stripe-react-native/issues/285)


Add Replay events script

Would it not make sense to create a Replay Events helper script to this repo, so it doesn't have to be implemented by the users' Phobos apps?
e.g. bin/phobos_db_checkpoint_replay_events

Add as a command to phobos_db_checkpoint binary instead of a new binary


Revert "Add postgresql-client to docker image"

Reverts dimagi/open-chat-studio#861
Seems to be an error with the libmagic installation: DIMAGI-BOTS-HT

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Additional details and impacted files

:loudspeaker: Thoughts on this report? Let us know!


Dir lock symbol keeps repeating

Is there an existing issue for this?

[X] Yes, I have searched the existing issues
[X] Yes, I have checked troubleshooting page

The problem
Each time my prompt is rendered while in a write-protected folder, I see an additional lock symbol (SPACESHIP_DIR_LOCK_SYMBOL). Like this:

I'm sure I don't really understand the expected lifecycle of variables in the "sections" used by Spaceship, but at a glance it looks as if this line of code simply prepends a new block to the existing content each time the function is executed.
SPACESHIP_DIR_SUFFIX="%F{$SPACESHIP_DIR_LOCK_COLOR}${SPACESHIP_DIR_LOCK_SYMBOL}%f${SPACESHIP_DIR_SUFFIX}"

I guess the expectation is that SPACESHIP_DIR_SUFFIX is reset at some point, but this doesn't seem to happen?
Relevant Zsh configuration
SPACESHIP_TIME_SHOW=true                                                          SPACESHIP_DIR_TRUNC_REPO=false                                                    SPACESHIP_DIR_TRUNC_PREFIX="…/"                                                   SPACESHIP_DIR_TRUNC="4"                                                           SPACESHIP_EXIT_CODE_SHOW=true                                                     SPACESHIP_PROMPT_ORDER=(time user dir host git exec_time line_sep battery jobs exit_code char)

What is version of Spaceship are you using?
3.12.26
What is version of Zsh are you using?
zsh 5.8 (aarch64-unknown-linux-gnu) - but it's the same on a Mac
What operation system are you running?
Linux
Do you use any Zsh framework or plugin manager?
oh-my-zsh
Which terminal emulator do you use?
iTerm, ssh to the Linux machine
Additional information
No response

As a test I modified the code like this:
diff --git a/sections/dir.zsh b/sections/dir.zsh
index 16497d9..33817b2 100644
--- a/sections/dir.zsh
+++ b/sections/dir.zsh
@@ -61,12 +61,14 @@ spaceship_dir() {
   fi

   if [[ ! -w . ]]; then
-    SPACESHIP_DIR_SUFFIX="%F{$SPACESHIP_DIR_LOCK_COLOR}${SPACESHIP_DIR_LOCK_SYMBOL}%f${SPACESHIP_DIR_SUFFIX}"
+    SPACESHIP_DIR_SUFFIX_COMPLETE="%F{$SPACESHIP_DIR_LOCK_COLOR}${SPACESHIP_DIR_LOCK_SYMBOL}%f${SPACESHIP_DIR_SUFFIX}"
+  else
+    SPACESHIP_DIR_SUFFIX_COMPLETE=""
   fi

   spaceship::section \
     "$SPACESHIP_DIR_COLOR" \
     "$SPACESHIP_DIR_PREFIX" \
     "$dir" \
-    "$SPACESHIP_DIR_SUFFIX"
+    "$SPACESHIP_DIR_SUFFIX_COMPLETE"
 }

This works fine - now the lock appears, just one time, when I'm in a read-only folder, and goes away again when I'm in a writable folder (I forgot to mention, it didn't do that previously).

I guess this demonstrates that my uninformed understanding of the problem is correct, and perhaps my patch can be used as the basis of a solution. What I'm wondering though: how is it possible that this problem was in there? I see that this line of code is over four years old. Maybe something else broke this, so my fix is not the right one?

Why does the first snapshot show with sturm and at downpi ? I use the same configuration as yours, but I can not reproduce it? Do you use custom sections ?
SPACESHIP_TIME_SHOW=true
SPACESHIP_DIR_TRUNC_REPO=false
SPACESHIP_DIR_TRUNC_PREFIX="…/"
SPACESHIP_DIR_TRUNC="4"
SPACESHIP_EXIT_CODE_SHOW=true
SPACESHIP_PROMPT_ORDER=(time user dir host git exec_time line_sep battery jobs exit_code char)

@oliversturm

@Runrioter As I mentioned, the same problem shows on a Linux machine ("downpi") and on my Mac - the second shot was taken on the Mac. The behavior and the problem are the same on both machines.

Do you use custom sections ?

No. Just what you see. I don't know why my original post now appears to show all my configuration entries on one line - I don't think it was like that when I posted it. Will fix in a moment.


Debug v2 - add subType attribute in launch configuration

The debug service v2 driver requires a new attribute "subType" in the launch configuration.
Possible values: batch | sep
batch: for batch debug
sep: for service entry point
For the current batch debug implementation, the change is to pass in a "subType" attribute with the value set to "batch".
Here is what a batch debug launch configuration looks like:
    {
        "type": "IBMiDebug",
        "request": "launch",
        "subType": "batch",

     .......
    }

Need detail from Morris about whether to pass in the SEP daemon port from the connection settings.