Update MOM6 after https://github.com/mom-ocean/MOM6/pull/1556 is merged

This is currently a note to myself (@sanAkel).
It should be undrafted after: @marshallward and co. have finished merging https://github.com/mom-ocean/MOM6/pull/1556 into dev/gfdl
In order for GEOS-ESM to use ⬆ following sequence of steps need to happen in this order:

@sanAkel make a new release of GEOS-MOM6 ✅ https://github.com/GEOS-ESM/MOM6/releases/tag/geos%2Fv2.0.3
Simultaneously undraft this PR ➡  this will update our cMakeLists.txt to build MOM6.
PR in GEOSgcm to uptick MOM6 version number
Also for @sanAkel, all configs of MOM6 for GEOS need to be updated/sync'ed in with the right defaults.

@mathomp4 heads up: for known reasons (bugfixes and improvements: changes in default values of parameters, see https://github.com/mom-ocean/MOM6/pull/1556) this code will be non-zero difference (from the way we currently run). Affects only the MOM6 based GEOS AOGCM. I would certainly need your help with above 1 (maybe!) and 3 certainly! 🙏

@sanAkel I suppose there is also step 0:

Pull in latest dev/gfdl to GEOS-ESM fork of MOM6 😄

@sanAkel @sdrabenh Has moved Ocean to the separate repo. This PR needs to be re-done there.

Will do. Thanks!

This PR now moves to GEOS-ESM/GEOS_OceanGridComp/ hence closing here.


QBA metrics - Not really sure where they should go

QBA metrics exist on a branch in the linear regression estimator but that's not where they should be. Worth discussing where these should actually exist.

closed by #113


[Bug] Crashing When Going To View A Server/DM

Describe the Bug
When Leaving To View A Server/DM Discord Crashes And Sends Me To A Reload Screen
To Reproduce
View A Server/DM
Expected Behavior
Not Crash
Screenshots

Discord Version
Stable

Not a BD issue, quit and reopen Discord, then disable WhoReacted in settings.


AMPI #947: Added support for Subarray datatype to CkDDT and AMPI.

Original author: Edward Hutter
Original date: 2016-08-25 17:42:21
Original PR: https://charm.cs.illinois.edu/gerrit/1175

Change-Id: I0bc88eda52e197a3af9ec354cc946c5b705da20d

I think we are using ROMIO's implementation for these at the moment.

I think we are using ROMIO's implementation for these at the moment.


Table overflow + "contextMenuControls" bug

To reproduce this bug :

Go to : https://bossanova.uk/jspreadsheet/v4/examples/table-overflow
Right-click on a column header : the context menu appears, select "delete selected columns"
Right-click on another column header : the context menu won't show

Errors in console :
Uncaught TypeError: jexcel.current.selectedCell is null
contextMenuControls index.js:14135
build index.js:13250
init index.js:12825
jexcel index.js:13183
<anonymous> table-overflow:262
EventListener.handleEvent* table-overflow:261

This error was fixed on v5


Roll Flutter Engine from e95e12368a42 to 3a7aa01b0a7d (1 revision)

https://github.com/flutter/engine/compare/e95e12368a42...3a7aa01b0a7d
2024-01-02<EMAIL_ADDRESS>[Impeller] add doc on iOS flamegraph capture. (flutter/engine#49469)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Linux VST3 only works with system FluidSynth library

FluidSynth Plugin won't run or scan successfully without the system FluidSynth library installed (libfluidsynth3 in Ubuntu, fluidsynth-libs in Fedora). The plugin doesn't seem to be able to load its bundled FluidSynth library. I can reproduce this issue using both the latest Kubuntu and Fedora KDE live ISO images in VirtualBox. Other Ubuntu and Fedora variants should behave similarly.
Steps to reproduce the bug using the Kubuntu 24.04 live ISO:

Boot into the Kubuntu 24.04 ISO image either natively or using virtualization software.
Download and extract the current release of FluidSynth Plugin and place the FluidSynthPlugin.vst3 folder in ~/.vst3.
Download and extract the Linux version of REAPER.
Run the reaper executable in the REAPER folder and set the audio device to Pulseaudio.
Right-click in the leftmost section of the track area and choose "Insert virtual instrument on new track...". Note that FluidSynthPlugin does not appear in the list of instruments.
Go to "Options" → "Preferences...", then the "Plug-ins" → "VST" page (select on the left). Click "Re-scan..." → "Plugins that failed to scan", and you will see "path/to/FluidSynthPlugin.vst3" on the list, indicating that REAPER failed to scan the plugin.
Exit REAPER.
Open a terminal and run the following commands:sudo apt update
sudo apt install libfluidsynth3

Start REAPER, then go to "Options" → "Preferences...", then the "Plug-ins" → "VST" page. Click "Re-scan..." → "Plugins that failed to scan", and select "path/to/FluidSynthPlugin.vst3". It should re-scan and no longer appear on the list.
Click "OK".
Right-click in the leftmost section of the track area and choose "Insert virtual instrument on new track...". You should now see "VST3i: FluidSynthPlugin (DrTT)" in the instrument list.
Add FluidSynth Plugin to the track.
Within the FluidSynth Plugin GUI, right-click and choose "About..."

Result: The FluidSynth version reported will show the system's FluidSynth library version, regardless of which library is bundled with the VST3. This shows that the system's FluidSynth library is being loaded and the plugin's bundled version is being ignored. Manually placing different versions of the FluidSynth library in the VST folder has no effect, as far as I can tell.

Hello mrbumpy409,
sorry for the long delay, but I spent some time to do some investigation on how to handle the problem professionally.
Unfortunately there are two issues involved:

It is not well-discussed in the VST3 standard how to place dynamic libraries in Linux such that they are recognized.

For me it is not clear what the baseline installation of some Linux distribution is.  This means that I then have to provide a lot of other dynamic link libraries referenced (just in case) and then have the nightmare of keeping them up-to-date (even though they are not direct part of my package).

On the other hand I am not sure that people using the FluidSynthPlugin in Reaper are willing or knowledgeable to install "a package called libfluidsynth" via some Linux package manager. But I do not know the typical Linux musicians; maybe those are more technically inclined than the typical Windows or Mac users.
But since I do not have a better concept for now, I am going to go the route you had proposed: using the FluidSynthPlugin in Linux requires a libfluidsynth installation.
What do you think about that?
Best regards,
Prof. Spock

On the other hand I am not sure that people using the FluidSynthPlugin in Reaper are willing or knowledgeable to install "a package called libfluidsynth" via some Linux package manager. But I do not know the typical Linux musicians; maybe those are more technically inclined than the typical Windows or Mac users.

I'm pretty sure every Linux user at some point learns how to install software from the system package manager. You can even contain distro-specific commands for this in your documentation that will cover all of the major Linux distributions, and the users of more esoteric distros will surely be able to figure out how to do it on their systems.

But since I do not have a better concept for now, I am going to go the route you had proposed: using the FluidSynthPlugin in Linux requires a libfluidsynth installation.

I think this is entirely reasonable. I will take some time this week to test your plugin on various distros to ensure compatibility and get you the required commands for installing the FluidSynth libraries. For example, on Debian or Ubuntu-based distros, the command is sudo apt install libfluidsynth3. Issuing that command in the terminal will pull in the FluidSynth library and all of its dependencies.
Regarding compatibility, I had noted that your Linux release of FluidSynth Plugin doesn't work on Ubuntu versions earlier than 23.10, whereas my compiled version does. I'm guessing this is due to software versions used in your Linux setup being too new to work in older Ubuntu versions. I have no idea how this affects non-Ubuntu/Debian distros, but perhaps you may wish to include my compiled version for compatibility with older distros. This is pertinent since Ubuntu offers LTS (long term support) versions of their OS that only do major upgrades every two years. Some popular distros such as Linux Mint (which is based on Ubuntu) are based on these LTS versions, so many people are still using an Ubuntu 22.04 base from two years ago, though most of them will probably be upgraded to 24.04 by the end of the year.
When I do my distro testing this week, I will test to see how both of our plugin versions work in various popular distros, testing both contemporary and LTS OS versions as available. I will report back, and then you will have better intel on how to proceed with the updated release.
Peace,
-~Chris

Hello mrbumpy409,
first of all thank you very much for your efforts and your support!
I have updated the documentation accordingly: enclosed you'll find the two pages affected. The first describes the installation process in detail, the second is the appendix with package installation instructions for several Linux distributions.
Please have a look and possibly verify those instructions with your ongoing tests.
Best regards,
Prof. Spock


Integrate with docker swarm?

Is there a way to use this with docker swarm, so that the manager starts hyper containers instead of normal docker containers?

There's existing project to integrate containerd + runv, see: https://blog.hyper.sh/runv-bring-isolation-to-docker.html

i don't think swarm is good match for hyper.  it should be alternative solution is build a swarmkit on hyperd.


Mobile no Validation

Path: Setup >Any module > Mobile no
Issue : Accepts less then / more than 11 digits in the mobile no field.

not fixed


Fixes #17

Related Issue
Feat: Redux Integration #17
Description
Redux Integration for posts and register
Screenshots

can't be merged as the branch is on master


[engine] Sync Flutter 3.7 source code

Copy common headers and source code (including embedder.h and cpp_client_wrapper) from the Flutter 3.7 engine source tree except accessibility-related code.
TODO:

Fix the black screen and flickering issue.
Implement a thread-safe messenger (FlutterDesktopMessengerAddRef and etc.)

Refer to https://github.com/flutter/engine/pull/36909/files.

Sync the accessibility-related code (including third_party/accessibility).
Replace deprecated update_semantics_node_callback with update_semantics_callback.

Refer to https://github.com/flutter/engine/pull/37404/files.

The TODO items will be implemented by separate PRs. This PR is now ready for review.


FAILED - RETRYING: Get Nexus admin password (19 retries left).
FAILED - RETRYING: Get Nexus admin password (18 retries left).
FAILED - RETRYING: Get Nexus admin password (17 retries left).
FAILED - RETRYING: Get Nexus admin password (16 retries left).
FAILED - RETRYING: Get Nexus admin password (15 retries left).
FAILED - RETRYING: Get Nexus admin password (14 retries left).
FAILED - RETRYING: Get Nexus admin password (13 retries left).
FAILED - RETRYING: Get Nexus admin password (12 retries left).
FAILED - RETRYING: Get Nexus admin password (11 retries left).
FAILED - RETRYING: Get Nexus admin password (10 retries left).
FAILED - RETRYING: Get Nexus admin password (9 retries left).
FAILED - RETRYING: Get Nexus admin password (8 retries left).
FAILED - RETRYING: Get Nexus admin password (7 retries left).
FAILED - RETRYING: Get Nexus admin password (6 retries left).
FAILED - RETRYING: Get Nexus admin password (5 retries left).
FAILED - RETRYING: Get Nexus admin password (4 retries left).
FAILED - RETRYING: Get Nexus admin password (3 retries left).
FAILED - RETRYING: Get Nexus admin password (2 retries left).
FAILED - RETRYING: Get Nexus admin password (1 retries left).
fatal: [localhost]: FAILED! => {
  "attempts": 20,
  "changed": false,
  "method": "patch",
  "result": {
    "apiVersion": "gpte.opentlc.com/v1alpha1",
    "kind": "Nexus",
    "metadata": {
      "creationTimestamp": "2020-03-26T11:09:49Z",
      "generation": 1,
      "name": "nexus",
      "namespace": "lab",
      "resourceVersion": "72598940",
      "selfLink": "/apis/gpte.opentlc.com/v1alpha1/namespaces/lab/nexus/nexus",
      "uid": "635b491a-3df5-47bd-98a0-616c39d0dfeb"
    },
    "spec": {
      "nexusCpuLimit": "2",
      "nexusCpuRequest": "1",
      "nexusImageTag": "latest",
      "nexusMemoryLimit": "2Gi",
      "nexusMemoryRequest": "2Gi",
      "nexusSsl": "False",
      "nexusVolumeSize": "20Gi"
    },
    "status": {
      "conditions": [
        {
          "ansibleResult": {
            "changed": 0,
            "completion": "2020-03-26T11:12:35.096769",
            "failures": 0,
            "ok": 5,
            "skipped": 1
          },
          "lastTransitionTime": "2020-03-26T11:12:20Z",
          "message": "Awaiting next reconciliation",
          "reason": "Successful",
          "status": "True",
          "type": "Running"
        }
      ]
    }
  }
}

Nexus deployment strategy changed in AgnosticD, please follow progress for 4.4 update we are developing, Nexus workload module Ansible role for it seems to be ocp4_workload_nexus_operator

Updated to ocp-4.5


ClickOnce: CommandLine.dll not found

When using a NAV-DVD before NAV 2018 CTP 09 the CommandLine.dll is not present what results in following error:
Copy-Item : Cannot find path 'C:\Program Files (x86)\Microsoft Dynamics NAV\100\RoleTailored Client\Commandline.dll' because it does not exist.
At C:\Run\SetupClickOnceDirectory.ps1:41 char:1
+ Copy-Item "$roleTailoredClientFolder\Commandline.dll"                 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Program File...Commandline.dll:String) [Copy-Item], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand

For supporting older NAV-Versions there should be a Test-Path or just an -ErrorAction SilentlyContinue for this line:
https://github.com/Microsoft/nav-docker/blob/9e52d4cf7c6e6e0538f6e79490db3e311fd7e8bd/Run/SetupClickOnceDirectory.ps1#L41

Yes, you are right.
This will be fixed and new images rebuilt in a few days.
If you need to run an image before the fix, you can fix the file and share it into c:\run\my, then it will override the original file in c:\run as described in the how-to.

This is fixed, images not rebuild yet, but will be within the next days


using uninitialized struct

Hey
in lfs.c line 880:
struct lfs_diskoff disk;
we use disk at line 918 without initializing it, this case an runtime check error in some compilers.
we should initlize it:
struct lfs_diskoff disk; = {0};

Should be resolved by https://github.com/littlefs-project/littlefs/pull/855, thanks for the PR! Will merge on the next path release.

Thank you.


change type, of file in ConfigurationGetter.py from str to utf-8

changed the type, of file  in argparser so that files can accept unicode characters

Tested in Windows and it doesn't seem to break anything. Unicode for file path arguments in Windows is already broken (due to how Python gets the arguments), so people have to open Syncplay then the file if they want to open Unicode files.


Change the way assembly references are loaded.

We've been using Assembly.LoadFile to load script assembly references
which work great until you load an assembly where there is a
dependency to a previously loaded assembly. By using Assembly.LoadFrom
we make sure that assemblies are loaded properly.
Closes #415

@patriksvensson, I'm finally getting back to some Cake stuff, and I think you're right, this shouldn't have much (if any) impact on my NuGet addin work (#373).  At first I thought you might've been looking to alter the part of AddInDirectiveProcessor that adds the references, but now I see you're attacking the other end, where the ScriptRunner actually loads those references.
Looks good to me :smile:


[Java] ARROW-8687: Remove references to io.netty.buffer.ArrowBuf

Some references to io.netty.buffer.ArrowBuf were missed off
in ARROW-8229. This cleans up the last remaining references.

@liyafan82 just noticed a few entries of io.netty.buffer.ArrowBuf after the recent merge of your patch to move it to com.apache.arrow.memory.ArrowBuf

Thanks both!


APT whitelist request for gfortran-4.9 in TRUSTY

Such package is already available in precise whitelist via ubuntu-toolchain-r-test.

ppa:ubuntu-toolchain-r-test


Alexa Connector - Fix intent name with suffix

Fix incorrect substring on the intent name in AlexaTockMapper.

Thanks


Fixed save issues editing a  project and the back-to route

Resolves issue #942 but, there's a new issue where you can't save an edited project after loading the page because the form-validation looks like it wants the "Maintenance Day" field to be in a data format of YYYY-MM-DD instead of YYYY-MM-DD HH:MM:SS (which is default).
You can bypass this issue atm by clicking on the calendar and selecting a date to remove the timestamp

@voxlol can you please make a new issue with the problem you found, then link it in this ticket?


I'm not sure what happened...I think it's because I switched between two computers and and something strange went on. But both end result was the same so I didn't bother investigating too much.

@homu r+

:pushpin: Commit 13f6101 has been approved by sru

:hourglass: Testing commit 13f6101 with merge 8309232...

:sunny: Test successful - status


Fix modal return to input field

The recent styling changes in #3 broke the modal dialog from returning the chosen link value back to the input.
This PR should fix it.
Hope that helps

Hold on.  It needs one more change to the css.

Nevermind, it should be good to go.


Codec2 700 b/s

Good day
I can not understand how i can use Codec2 in 700 bit/s
can anyone write how i can to change the bitrate?

i use ubuntu 19.04, codec2 0.8.1-2, baresip 0.6.1

have a look in modules/codec2/codec2.c:
enum {
        CODEC2_MODE = CODEC2_MODE_2400
};

you can try to change this to CODEC2_MODE_700

Hm, i tried on 0.6.2, 0.6.3 and 0.5.10, when i use less than 2400 i see error: "audio: CODEC2 encode error: 160 samples (Protocol error)"
when i use 3200 and 2400 everything is working
any ideas?

can you please test with latest version, and please include the full baresip output here.

0.6.2 and 0.6.3 isn't it the latest versions?

it is better to copy the raw text from the baresip output, and not the graphics.
please update to git HEAD (commit 0aaafe1f628c22dc5d8be75ae19be42aadf64349)
can you try to use ptime=40 ? you can set it in accounts like this:
<sip:user@domain>;ptime=40

test@test-Vostro-5568:~/Downloads/baresip-0.5.10$ baresip
baresip v0.5.10 Copyright (C) 2010 - 2018 Alfred E. Heggestad et al.
Local network address:  IPv4=enp2s0:<IP_ADDRESS>
aucodec: CODEC2/8000/1
aufilt: vumeter
ausrc: alsa
auplay: alsa
medianat: stun
medianat: turn
medianat: ice
Populated 1 account
Populated 3 contacts
Populated 1 audio codec
Populated 1 audio filter
Populated 0 video codecs
Populated 0 video filters
baresip is ready.

<EMAIL_ADDRESS>

call: connecting to<EMAIL_ADDRESS>call: SIP Progress: 180 Ringing (/)
audio: Set audio decoder: CODEC2 8000Hz 1ch
audio: player started with sample format S16LE
audio: Set audio encoder: CODEC2 8000Hz 1ch
codec2: 320 samples per frame, 52 bits per frame
audio: source started with sample format S16LE
audio tx pipeline:        alsa ---> vumeter ---> CODEC2
audio rx pipeline:        alsa <--- vumeter <--- CODEC2
<EMAIL_ADDRESS>Call established<EMAIL_ADDRESS>stream: incoming rtp for 'audio' established, receiving from <IP_ADDRESS>:10368
[0:00:00] audio=0/0 (bit/s)                                 [===========     ]  [0:00:01] audio=0/0 (bit/s)                                 [===========     ]  [0:00:01] audio=0/0 (bit/s)                                 [==========      ]  [0:00:02] audio=0/0 (bit/s)                                 [==========      ]  [0:00:02] audio=0/0 (bit/s)                                 [==========      ]  [0:00:03] audio=0/0 (bit/s)                                 [=========       ]  [0:00:03] audio=0/0 (bit/s)                                 [=========       ]  [0:00:04] audio=0/0 (bit/s)                                 [==========      ]  [0:00:04] audio=0/0 (bit/s)                                 [=========       ]  [0:00:05] audio=0/0 (bit/s)                                 [========        ]  [0:00:05] audio=0/0 (bit/s)                                 [========        ]  [0:00:06] audio=0/0 (bit/s)                                 [=========       ]  [0:00:06] audio=1200/1200 (bit/s)                           [=========       ]  [0:00:07] audio=1200/1200 (bit/s)                           [=========       ]  [0:00:07] audio=1200/1200 (bit/s)                           [=========       ]  [0:00:08] audio=1200/1200 (bit/s)                           [=========       ]  [0:00:08] audio=1200/1200 (bit/s)                           [=========       ]<EMAIL_ADDRESS>session closed: Connection reset by peer
<EMAIL_ADDRESS>Call with<EMAIL_ADDRESS>terminated (duration: 9 secs)
terminated by signal 2
ua: stop all (forced=0)
Stopping 1 useragent..

accounts - sip:3091@<IP_ADDRESS>;auth_pass=none;regint=0;ptime=40
sip:3090@<IP_ADDRESS>;auth_pass=none;regint=0;ptime=40

is it working with ptime=40 ?

yes, what is do ptime? and why when i use that ptime=40 i can use 1200 and 700 but can't use 2400?

20ms ptime gives 160 samples
40ms ptime gives 320 samples
this table shows the frame-size and the different codec2 modes:
        160,    // 3200
        160,    // 2400
        320,    // 1600
        320,    // 1400
        320,    // 1300
        320,    // 1200
        320,    // 700
        320,    // 700B
        320,    // 700C

thx, now i have new problem, when i make call i hear only a noise on the line, i think its codec problem :(

can you please upgrade to
commit b645d4c1ce1009d828ea1c0b11916d25ec40923b and try again ?
when you report a bug, please include the full baresip output and the config.
also you can now set the mode in:
codec2_mode    4

I just tested CODEC2 with bitrates 700, 2400, 3200 and it is working well.


What's the expected output from Device.allDevices ?

I ran this on colab with CPU, GPT and TPU respectively. Here are their outputs:
CPU:
1 element
▿ 0 : Device(kind: .CPU, ordinal: 0, backend: .XLA)
- kind : TensorFlow.Device.Kind.CPU
- ordinal : 0
- backend : TensorFlow.Device.Backend.XLA
GPU:
1 element
▿ 0 : Device(kind: .GPU, ordinal: 0, backend: .XLA)
- kind : TensorFlow.Device.Kind.GPU
- ordinal : 0
- backend : TensorFlow.Device.Backend.XLA
TPU:
9 elements
▿ 0 : Device(kind: .CPU, ordinal: 0, backend: .XLA)
- kind : TensorFlow.Device.Kind.CPU
- ordinal : 0
- backend : TensorFlow.Device.Backend.XLA
▿ 1 : Device(kind: .TPU, ordinal: 0, backend: .XLA)
- kind : TensorFlow.Device.Kind.TPU
- ordinal : 0
- backend : TensorFlow.Device.Backend.XLA
▿ 2 : Device(kind: .TPU, ordinal: 1, backend: .XLA)
- kind : TensorFlow.Device.Kind.TPU
- ordinal : 1
- backend : TensorFlow.Device.Backend.XLA
...
▿ 8 : Device(kind: .TPU, ordinal: 7, backend: .XLA)
- kind : TensorFlow.Device.Kind.TPU
- ordinal : 7
- backend : TensorFlow.Device.Backend.XLA
My confusion is why GPU output doesn't contain CPU device but that of TPU does ? What are expected ?

see also https://github.com/tensorflow/swift/issues/524

This is due to the cause behind issue #1059, in that the X10 backend searches out and automatically exposes the best accelerator it finds on CPU / GPU systems. In doing so, it doesn't expose the other devices on the system, including the CPU on a CPU + GPU system, or additional GPUs or CPUs beyond the first.
This can be done manually at the command line by constructing the kind of environment variable string I list in #1059, but the proper mappings should be detected and taken care of for you internally. I believe that's the focus of that other issue, and it's being worked on in parallel to the visibility issues with the eager-mode devices.

@xihui-wu will verify and close after #1059 is fixed.

Verified this issue is gone.


How to extract the symbol bits of encrypted data separately？

Dear developer, I want to extract the symbol bits of encrypted data separately, and then decrypt the encrypted symbol bits. What should I do?

I'm afraid I don't follow. Could you provide an example?

Suppose a negative number -1 is encrypted, and its ciphertext ENC(11) is obtained after encoding and encrypting. I want to extract the encrypted symbol bit of ENC(11), that is, ENC(1), to carry out other operation, such as ENC(1) * OtherCtext. How can I extract the encrypted symbol bit of ENC(11)?

I'm afraid that is not possible.
Pyfhel doesn't offer that functionality, SEAL doesn't offer it either, and I'm quite sure this is indeed because FHE does not support bit extraction at all. Otherwise you could extract the sign of a ciphertext using this operation, allowing you to compute extremely cheap non-linear functions. FHE doesn't support non-linear functions.

I am not very clear about the encryption part of homomorphism. What I understand is that they are encrypted by bit. For example, a plaintext is encoded in binary form, the highest bit is its sign bit, and then the plaintext encrypts by bit and get the ciphertext with n-length: c1, c2, ..., cn; Then c1 is the encrypted ciphertext of the sign bit.
That's what I understand, so I want to extract c1 and do something else.
May I ask if there is anything wrong with my idea？Thank you.

What I ultimately want to achieve is really a nonlinear function RELU, and I want to reconstruct this function by extracting the encrypted sign bit and other operations, rather than by decrypting the data.
Can you give me some suggestions? Thank you very much.

The encoding looks more or less like that, depending on the base of the polynomials (the base parameter in Pyfhel context). If you want one bit per polynomial, then use base=2 (you can play with this in Pyfhel by using multiple bases to encode different values into PyPtxt and then printing their endoded polynomials using .to_string()).
However, the encryption requires the entire set of polynomials (even those that are set to 0), and uses the public key to add noise to the entire set at once. In order to remove this noise and decrypt, you need the entire set of noisy polynomials. You cannot extract individual polynomials and decrypt them because the decrypt operation works at ciphertext level (the denoising only makes sense on the vectorial space defined by the grouped polynomials).
Your inquiry about RELU is a very common one, and treated extensively in literature (just type "non linear activation homomorphic encryption" in Google Scholar). The two standard approaches are:

Use linear activation functions instead (square, polynomial approximations of RELU).
Switch to Garbled Circuits for this computation (e.g.: Gazelle).

I see. Thank you very much for your advice.


Unable to connect when using ansible_ssh_pass

Hello,
I am unable to view my nodes in the rundeck interface. I have create as mention in the documentation an inventory.ini file like this :
[test-group]
local-thing      ansible_connection=local      ansible_python_interpreter=/usr/bin/python3
my-first-server  ansible_host=<IP_ADDRESS>          ansible_user=root    ansible_ssh_pass=SUPER_SECRET

But I have the following error in the log of rundeck :
 FAILED! => {"msg": "to use the 'ssh' connection type with passwords, you must install the sshpass program"
but when I connect to the docker container I cannot install sshpass because I don't have the password for the sudo...
Can you help me ?
Best regards,

The package sshpass is missing in the DockerFile. Could you add it please ?
Thank you very much.

Done. Can you try with 3.0.1?

It is strange how the plugin set the ansible command.
If you select to use password and set an user, the command will use --ask-password and the ansible-playbook command hangs because rundeck do not answer to the prompt "SSH password:" generated by ansible.
If you omit the password inside rundek interface, the plugin completely ignore ssh user and password set in the hosts.ini I think because it pass the extra var file that is in tmp
Basically it is not possible to correctly setup a connection with user and password defined in the hosts.ini
We need to pass in any case an hosts.ini why you do not simplify things and launch only the ansible-playbook and keep users to manage autentication via standard hosts.ini vars and ansible.cfg?

Ok I confirm the issue:
you pass extra vars in your command, this take precedence over ansible_ssh_user and password set in hosts.ini. For example if you set gather fact this include the extra vars and does not works, if you remove gather facts, it works because you do not set extra vars and ansible uses user and password from hosts.ini .
If you set the password inside rundeck, the command use --ask-pass and this is incorrect because this prompt password and you do not want this because you are in "background" not in a terminal.
Possible fix:
if an user select to use, user and password, do not use --ask-pass but insert the user and password inside your extra vars file, so user do not needs to specify it on hosts.ini
But remember this limit the possibility to specify multiple user and password by ansible groups.
I think the better option is to disable this type of options from interface and simply use classical hosts.ini that is more flexible.

Any news on this issue ?


Implement dice to randomize stuff

I'm starting to implement this.

Added unit tests, not brilliant but should be enough. There is an fix for "exclusive upper bound" of .net randomizer.

close?


Require_authentication and Xrdp as a gateway

XRDP.ini
require_authentication = yes, in connection sections, i was set ip=ask.
I'm use xrdp as a gateway with the domain (_IP)
but it's just black and nothing else.
When require_authentication = no, the field IP is set correctly.
I'm think is not implémented for require_authentication = yes

v0.9.2 should work fine. It not, please reopen.


Babel requires preset

bankai start returns this error:
scripts:browserify.bundle Couldn't find preset "es2015" relative to directory "/app/client/node_modules/hawk" while parsing file: /app/client/node_modules/hawk/dist/browser.js
Error: Couldn't find preset "es2015" relative to directory "/app/client/node_modules/hawk" while parsing file: /app/client/node_modules/hawk/dist/browser.js
    at /app/client/node_modules/babel-core/lib/transformation/file/options/option-manager.js:293:19
    at Array.map (<anonymous>)
    at OptionManager.resolvePresets (/app/client/node_modules/babel-core/lib/transformation/file/options/option-manager.js:275:20)
    at OptionManager.mergePresets (/app/client/node_modules/babel-core/lib/transformation/file/options/option-manager.js:264:10)
    at OptionManager.mergeOptions (/app/client/node_modules/babel-core/lib/transformation/file/options/option-manager.js:249:14)
    at OptionManager.init (/app/client/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
    at File.initOptions (/app/client/node_modules/babel-core/lib/transformation/file/index.js:212:65)
    at new File (/app/client/node_modules/babel-core/lib/transformation/file/index.js:135:24)
    at Pipeline.transform (/app/client/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
    at Babelify._flush (/app/client/node_modules/babelify/index.js:26:24)

By adding babel-presets-es2015 (npm install --save-dev babel-presets-es2015), I was able to successfully start the dev server.

Hmm, it should not try to transform code from node_modules with custom presets, only with babel-preset-env. I think we need to add babelrc: false to the babelify config in lib/graph-script.js, so that .babelrc files in node_modules are not picked up.

@goto-bus-stop that addresses the issue. I'll take a look at why that works and open a PR for it.
Thanks!

There is something more going on here and we might have to think about this some more.
Example: diff, when you install from npm has a re-built version to use in the browser.
This is build, in part, by using babel.  So, to configure babel, there is a babel section in the package.json, but the presets are stored as devDepenendencies (correctly since they're not needed for the installed version).
However, when babelify runs globally, it is trying to run the babel transforms specified by the babel section in the package.json.
This fails since the presets aren't installed, and shouldn't be happening anyway since we're already consuming a pre-built file.
This is a bit of a conundrum.
We need to let people provide custom babel configuration through babelrc/package.json, but we shouldn't be running babel on packages that have already had it run and are giving a compiled version of their code out.

diff shouldn't have to remove their babel section from their package.json (since they are relying on this to make their build), but they shouldn't have to make everyone eat the disk cost of what is, essentially, a development dependency (the presets)

The babelify docs warn that using global: true will include the node_modules directory. They suggest using the ignore flag to avoid that.

I guess my next question is "why was global: true included in https://github.com/choojs/bankai/commit/c45c23ffb507b0d3e2b19b535f00bff7723aea8e?" According to the babelify docs, not including node_modules is the default behavior, which is overridden here with global: true. It seems to me that once that option is provided, babelify's expectation is that you will provide fairly fine-grained options around not globbing in undesired scripts. Doing so seems impossible in a tool/library vs an app.

This was part of the discussion around adding babelify to bankai @amsross; about how to do it safely.

I agree with what you're saying about not needing/wanting to rebuild jsdiff @toddself. It seems to me, though, that whatever is the requirement of the lowest common denominator of all of the dependencies becomes necessary for all dependencies.
For example, consider that you have 100 dependencies that have all been run through babel, etc, but you have 1 dependency that is not (but has a babel config provided in some way). The difference between the two groups would be opaque to bankai, so you would need to rebuild all 101 dependencies. Is that correct?
Again, I don't have any deep knowledge of babel, browserify, or babelify, so maybe I'm limiting my thinking to only considering the global a babelrc babelify options.

@amsross the problem is that you don't know what the dependencies are.  Diff is a dep of a dep here -- we don't know what we're missing until we try to build in bankai for the first time; there is zero way to discover this until that point.
The issue is running babel globally across your modules that also use babel is going to break unless those modules list their babel packages as dependencies instead of devDependencies, or distribute their stuff in source-only mode and make you build them locally.

Appears to be resolved by #352


JSX text nodes support

JSX support
Hello. Thanks for creating this plugin.
Currently I am using it in typescript app generated via create-react-app and it seems like any text node inside jsx are not linted.
I am wondering if this is something related to my setup or jsx text nodes are not supported.
Example

JSX parsing comes from the JSX parser in ESLint. From what it looks like you're correct, it doesn't seem to support text nodes. As that's built-in functionality provides as-is there's not much I can do.


⚠ Bofrost.de has degraded performance

In 5a9cc2c, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1145 ms

Resolved: Bofrost.de performance has improved in 309c793.


Closing clients

Hi, tanks for replay.
are you sure that the function
var close = function() {
if (connectionPool[id]) {
var socket = connectionPool[id];
socket.end();
socket.destroy();
socket.unref();
server.close();
delete connectionPool[id];
}
};
is rigth? server.close(); ??
If hi make several  connections and i use close functions all connections are closed!

makes sense, will look into this

I'll create another node to have a server behavior. This one will be just client (due to the name) connecting to a server or waiting for connections on a specific port.
It would be too complex to configure different behaviors for client / server

Moving that code to https://github.com/tiagordc/node-red-contrib-tcp-server


Fix duplicate feature ZBUF and TDDR.SRUSED.

This duplication occured during development, but wasn't caught until
integration testing.
Part of fix for https://github.com/SymbiFlow/symbiflow-arch-defs/issues/1536

CI is effectively green, just the grouping job failed.  @mkurc-ant please review


tabtab feature not working

tabtab feature does not seems to be working.
After executing yo  seems to only provide me folder options. Is the feature not working as intended?

What is your shell setup / operating system ?
With as little information, it is very difficult for me to see what is going on. There are known issues with zsh / bash I'm currently working on: https://github.com/mklabs/node-tabtab/issues/21
That being said, thank you for the feedback.

also same problem with tabtab
`/Users/Rasmus/.nvm/versions/node/v6.2.0/lib/node_modules/yo/lib/cli.js:18
var tabtab = new (require('tabtab').Commands.default)({
^
TypeError: require(...).Commands.default is not a constructor
at Object. (/Users/Rasmus/.nvm/versions/node/v6.2.0/lib/node_modules/yo/lib/cli.js:18:14)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Function.Module.runMain (module.js:575:10)
at startup (node.js:160:18)
at node.js:449:3`

same problem here when I run yo
/usr/local/lib/node_modules/yo/lib/cli.js:18
var tabtab = new (require('tabtab').Commands.default)({
             ^

TypeError: require(...).Commands.default is not a function
    at Object.<anonymous> (/usr/local/lib/node_modules/yo/lib/cli.js:18:14)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:139:18)
    at node.js:968:3

Also have the same issue on Ubuntu

Same problem, OS X / bash

Hello guys, same problem here! I am using :
windows 8,
npm version 3.9.2 and
node version 4.4.4 and
also with the latest node version now 6.2.0
only using yo in the cmd triggers the error:
C:\Users\Adrian\AppData\Roaming\npm\node_modules\yo\lib\cli.js:18
var tabtab = new (require('tabtab').Commands.default)({
             ^

TypeError: require(...).Commands.default is not a function
    at Object.<anonymous> (C:\Users\Adrian\AppData\Roaming\npm\node_modules\yo\l
ib\cli.js:18:14)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:139:18)
    at node.js:968:3

Thx guys
@SBoudrias this is due to a new version of tabtab where I added the babel plugin for this, that we discussed here: https://github.com/yeoman/yo/pull/436#discussion_r63633707
#442 should fix it

I did not understand #442 :cry: what should I do? unninstall tab tab and reinstall globally with another version?

I'll try to unpublish tabtab v1.4 and see if it fixes the issue here.
The problem here is that you most likely have the latest version of tabtab installed with yo<EMAIL_ADDRESS>which introduces a change in how babel compiles the generated code. Yo in his current state is compatible with 1.3.x
It goes in pair with #442 which is not merged yet.

Just unpublished, it should fix your issue with yo. Can anyone confirm yo installs fine now ? It did on my local machine.
Sorry, all my fault. Unintended side effect of publishing a new version of tabtab in order to work on #442

Great!
Works now on Win 10, npm 3.9.2, node 4.4.4

@mklabs working now on OS X / bash / npm 3.9.2 / node 4.2.1

It fixed it on my local yo,
changed  package.json
...
    "tabtab": "1.3.0",
...

Thanks!

Great, thanks a lot.
@Physium I don't think it was related to your original issue, feel free to keep this issue open and provide more feedback, that being said #442 should improve zsh / bash completions a lot.

@mklabs works fine now with reiinstall of yo! zsh on OSX

@Walraz :+1:

Thanks, works now
npm uninstall -g yo
npm install -g yo

@mklabs

Just unpublished, it should fix your issue with yo. Can anyone confirm yo installs fine now ? It did on my local machine.

Hi! Sry for going missing throughout the weekend after posting this issue. I just did a reinstall and notice that it didnt prompt me about the yo-complete feature. I'm assuming that this means that the yo-complete tabtab feature has been remove from for now till #442 has been merge?

Hi @Physium no worries.
Let's continue this discussion on tabtab repo. Yes, the completion feature don't prompt on install anymore, you can get these prompts with yo completion right now. #442 will change that (not merged yet)

I am seeing this come up on macOS Sierra. At the moment, I am working around the problem by installing an older version of the package. Sad face.
/usr/local/lib/node_modules/yo/lib/cli.js:18
var tabtab = new (require('tabtab').Commands.default)({
             ^

TypeError: require(...).Commands.default is not a constructor
    at Object.<anonymous> (/usr/local/lib/node_modules/yo/lib/cli.js:18:14)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.runMain (module.js:590:10)
    at run (bootstrap_node.js:394:7)
    at startup (bootstrap_node.js:149:9)
    at bootstrap_node.js:509:3

Output of npm install -g yo:
npm WARN deprecated<EMAIL_ADDRESS>this package has been reintegrated into npm and is now out of date with respect to npm
/usr/local/bin/yo -> /usr/local/lib/node_modules/yo/lib/cli.js
/usr/local/bin/yo-complete -> /usr/local/lib/node_modules/yo/lib/completion/index.js

><EMAIL_ADDRESS>postinstall /usr/local/lib/node_modules/yo/node_modules/spawn-sync
> node postinstall

><EMAIL_ADDRESS>postinstall /usr/local/lib/node_modules/yo
> yodoctor

Yeoman Doctor
Running sanity checks on your system

✔ Global configuration file is valid
✔ NODE_PATH matches the npm root
✔ Node.js version
✔ No .bowerrc file in home directory
✔ No .yo-rc.json file in home directory
✔ npm version

Everything looks all right!

Output of npm list -g tabtab:
/usr/local/lib
└─┬<EMAIL_ADDRESS>  └──<EMAIL_ADDRESS>
node: v6.7.0
npm: v3.10.8
fish shell: 2.3.1
macOS 10.12 (16A323)

@davidsidlinger I published a new version of tabtab today but didn't remembered the integration in yo. I unpublished it, it should be okay now.

I get the same error as @davidsidlinger.
node: 5.9.1
npm: 3.8.9
macOS 10.12
bash 3.2
Is the only work-around manually setting the version of tabtab to 1.3.x?

Hi @bike2live, if you try to uninstall yo and reinstall it should install tabtab in its latest 1.x version which is now 1.3.2 now that I unpublished 1.4.3

That appears to have solved the issue. Thanks for the quick response.

Echoing @bike2live. I am up and running on<EMAIL_ADDRESS>Thanks for your help, @mklabs.


factoryinsight has long running distinct queries

Expected Behavior
Distinct queries should run quick, especially the ones used in factoryinsight to show potential values.
Current Behavior
They take up to 55 seconds (and probably even more)
Relevant log output
No response
Steps to Reproduce

Have a lot of times-series data
Try to select on the the tags in Grafana

Context (Environment)
Beverage customer
Possible Solution
See also unpublished knowledgebase article: https://www.notion.so/united-manufacturing-hub/ab58fbca87834bfeb7f654af1dbb43fd?v=61b50b6953fd415bb2ac4dc5dccfc109&p=9a3e71ba952a4727b22e23dcabdbbd45&pm=s
Version
v0.9.x
Anything else?
No response

Can't reproduce.
I have created a new DB with 250 value names (and ~3 million entries), both cte and the normal query run in < 100 ms.

Creating a greater dataset now, to test further

2nd test with ~19mil entries split in 1k value names.
Both queries still completed in < 100ms.
Will do a last run, with a large amount of value names

Last test for today:
27.471.506 entries, with 878053 different value names.
This time the issue occurred.
(~20 sec with both methods)

After creating a new index (CREATE INDEX ON processvaluetable(valuename, asset_id) WITH (timescaledb.transaction_per_chunk);) on the data, it was brought down to ~3 seconds


STO broken link fixes 2024-01-02

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6594c50a529a54408caf5de8--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6594cf15e1f7894715f1d4fe--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6594cfa46a766b49885701f1--harness-developer.netlify.app


add error dealing

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: LutaoChu:x: heliqiheliqi 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.


bug: Modelfiles are not loaded on the chat page

Bug Report
It seems the modelfiles are not loaded on the chat page.
Description
It seems the modelfiles are not loaded on the chat page.
Bug Summary:
It seems the modelfiles are not loaded on the chat page.
Steps to Reproduce:

Go to ollama hub
Add based dolphin mixtral
Adjust the content so it starts with:

FROM dolphin-mixtral:8x7b-v2.7-q5_K_M

Save it
on the modelfiles page click on Based Dolphin Mixtral
get reidrected to chat page

Expected Behavior:

chat page applies the modelfile settings

Actual Behavior:

chat page does not apply the modelfile settings

Environment

Operating System: [e.g., Windows 10, macOS Big Sur, Ubuntu 20.04]
macos

Browser (if applicable): [e.g., Chrome 100.0, Firefox 98.0]
latest chrome
latest firefox

Reproduction Details
Confirmation:

[x] I have read and followed all the instructions provided in the README.md.
[x] I have reviewed the troubleshooting.md document.
[x] I have included the browser console logs.
[x] I have included the Docker container logs.

Logs and Screenshots
Browser Console Logs:
Array []
initNewChat
<empty string>.    <<< here should be the modelfile logged out I think
Object { status: true, version: "v1.0.0-alpha.92", auth: true, default_models: null, default_prompt_suggestions: (4) […] }

Docker Container Logs:
N/A
Screenshots (if applicable):
N/A
Installation Method
Installed with docker based on readme
Additional Information
N/A
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!

Unable to reproduce the issue, could you verify that you're on the latest version of the webui?

Sure:

Can it be the problem that the FROM part is adjusted?

You're saying can't get to the second part of the screenshot correct?

Modelfiles page:

Click on Based Dolphin result:

Model selection:

thanks for the hint, I think I see now what is going on:
This is added to the URL when I click on the modefile page and it does not work:
models=based-dolphin-mixtral%3Alatest
this however works:
?models=dolphin-mixtral:8x7b-v2.7-q5_K_M

Did you also change the model tag name somehow? Could you provide use with the step by step guide with images on how we can reproduce the issue?

So I only adjusted the FROM part of the model as I needed the bigger version:

And if you save and update, does that just take you back to the modelfiles page?

okay, so I pressed save and update now again and now it works

Also now in the model selection i get this based-dolphin-mixtral:latest instead of dolphin-mixtral:8x7b-v2.7-q5_K_M

Strange, that should've been the case in the first place. Maybe there was a connection issue with your Ollama instance. I'll close this for now but feel free to ping me if you encounter the same issue again, Thanks!


Updated readme

Hi there, I appreciate the effort. While these are interesting topics I don’t believe they need to be put in the guide at the top level this way (people will discover these on their own or from the other links on this such as Aweosme ML).


Add sle micro 6.0 support

What does this PR change?
Add sle micro 6.0 support. All ready except the url of sumaform image and the updates repo.

superseded by https://github.com/uyuni-project/sumaform/pull/1583


pkg_check_modules fails

https://github.com/CESNET/libyang-cpp/blob/master/CMakeLists.txt#L30
I can't find a released version 2.1.88 for libyang. Is this supposed to mean 2.1.80?

Hello, please use the devel branch of libyang. It has the newer version.

Indeed; we're tracking the devel branch because of important fixes that these C++ bindings depend on.


nixos/libvirtd: symlink AAVMF.fd and OVMF.fd

Description of changes
I'm tired of changing the OVMF.fd path in my virtual machines on every update, maybe I don't do it right given that no one else asked for this, but I hope it shouldn't hurt? All manuals tell to set OVMF.fd as BIOS file and I can't find in Google how to use those OVMF_CODE.fd and OVMF_VARS.fd...
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

I never needed to change anything, been using libvirt with OVMF on nixos for 2 years now.

I never needed to change anything, been using libvirt with OVMF on nixos for 2 years now.

Yeah, I have a feel I do something wrong... But I don't understand what exactly and it works just fine, the only problem is I have to change the path to OVMF.fd after every update...

All I have is:
virtualisation.libvirtd = {
  enable = true;
  qemu.ovmf.enable = true;
}

All I have is:

I mean, I have the following tags in my libvirt XML VM config to make VM use UEFI:
  <os>
    <type arch="x86_64" machine="pc-q35-7.0">hvm</type>
    <loader type="rom">/nix/store/ccvy9lf59x453kcs906l8g9didbxssxc-qemu-ovmf/FV/OVMF.fd</loader>
    <boot dev="hd"/>
    <bootmenu enable="no"/>
  </os>

If I use OVMF_CODE.fd or OVMF_VARS.fd instead, the VM doesn't boot

i am not an uefi & vm expert, but my windows kvm boots fine with the following as loader
 <loader readonly="yes" type="pflash">/run/libvirt/nix-ovmf/OVMF_CODE.fd</loader>

/run/libvirt/nix-ovmf/OVMF_CODE.fd
/var/lib/libvirt/qemu/nvram/Windows_VARS.fd

Thank you a lot, this works


[BUG] org.opensearch.repositories.gcs.GoogleCloudStorageThirdPartyTests are flaky

Describe the bug
Several failed tests: https://build.ci.opensearch.org/job/gradle-check/33467/
org.opensearch.repositories.gcs.GoogleCloudStorageThirdPartyTests.testListChildren
org.opensearch.repositories.gcs.GoogleCloudStorageThirdPartyTests.testCreateSnapshot
org.opensearch.repositories.gcs.GoogleCloudStorageThirdPartyTests.testCleanup
Related component
Plugins
To Reproduce
./gradlew ':plugins:repository-gcs:gcsThirdPartyTest' --tests "org.opensearch.repositories.gcs.GoogleCloudStorageThirdPartyTests.testListChildren" -Dtests.seed=998634774CF1EF3C -Dtests.security.manager=false -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ja-JP -Dtests.timezone=Africa/Asmara -Druntime.java=21

Expected behavior
Tests always pass
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):

OS: [e.g. iOS]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

[Triage - attendees 1 2 3 4 5]
@jed326 Thanks for filing this issue, feel free to submit a PR to address.


Add Vault Integration for Nomad

Create a new scenario that supports Vault integration. We will preferably incorporate it into both the secure and quickstart scenarios, where the secure scenario would run Vault with additional security settings like TLS.

@Ranjandas do you want me to create a separate packer file for vault or include it as a part of the existing packer/hashibox.pkr.hcl?
And should we create a separate folder for scenario like scenario/nomad-vault-quickstart and scenario/nomad-vault-secure?

@vijesh12 extend the existing packer file; don't create a new one. And regarding scenarios, let us create new scenarios folder but base it on the existing quickstart and secure scenarios to include Vault

Implement vault using raft storage
create separate PR for quick start and TLS
Folder structure highlighted below

nomad-consul-quickstart
nomad-consul-secure
nomad-only-quickstart
nomad-secure
nomad-consul-vault-quickstart <<<<<<<<<<<<
nomad-consul-vault-secure <<<<<<<<<<<<<<
vault

Implemented by #65


Small extentions to queued manager refresh

Changed queue_refresh interface. Renaming graph_refresh to manager_refresh. Method manager_refresh_targets must be public. And testing we can queue ManagerRefresh::Target to a refresh queue.

@miq-bot assign @agrare


V5xTNx laptops need a powernap after executing efibootmgr in CNB001.001

Device
V540TND, V560TNE
RTE version
v0.9.1-rc1
OSFV version
fix-novacustom-v5xtnx-configs-powerctrl
Affected component(s) or functionality
CNB001.001 test
Brief summary
The test fails and then the device is bricked for about 30 minutes
How reproducible
seems to appear every time
How to reproduce
Run CNB001.001
Expected behavior
The test should pass and the device should not become bricked
Actual behavior
The device enters a weir state where it seems it is bricked. The keyboard and control leds work fine but it never boots. Pressing power button causes the device to power off immediately suggesting it did not leave firmware
Link to screenshots or logs
V54 log: https://cloud.3mdeb.com/index.php/s/ba2tz85pH3XyTEC
V56 log: https://cloud.3mdeb.com/index.php/s/TRYzeBPXc3LEXcd
Additional context
It is hard to reproduce because the laptops become unusable for about 30 minutes after the test. Both eventually managed to boot and work normally after performing multiple cmos resets and then leaving them on for about 30 minutes.
Solutions you've tried
Still haven't tried doing anything about it. Just finding out if it is reproducible takes a long time.

@macpijan that is an interesting behavior that you might want to know about

The cause has been narrowed down to commit https://github.com/Dasharo/open-source-firmware-validation/pull/455/commits/a539822bb98268ffd552f1dcc83709fd5d15d0f4 , not sure how to fix it correctly yet

@mkopec This commit a539822 does not appear on the branch on which I had the issue. Are you sure it is the cause of the problems?

I have been running tests on V540TND on v0.9.1-rc5 for half a day yesterday and the bricks doesn't seem to happen now, even during aggressive rebooting and stress testing. I will report if any bricks happen again.


Module not found: Can't resolve 'fs'

I did a yarn add ascii-art in my project, added window.art = require('ascii-art'); and tried to build using npm run build but it gives the following error:
Module not found: Can't resolve 'fs' in 'C:....\node_modules\ascii-art-image'
I am not so great with these tools so it can be something at my end that I am doing wrong.

I'll check this out today. There are some upcoming changes to go out, and f there's an issue I'll release a fix with that.
Thanks for the report!

For further detail can you give me your build command? It's very likely you're building for the web and need to exclude node specific modules.

You're right, I'm using this on my web app. Not sure what you mean by build command. I get the said error when I run npm run build. Sorry, I can't give more than this as I'm not so well versed with these tools. Thank you for looking into this.

npm run build executes whatever is in scripts.build in your package.json file, so there's no logic explicitly tied to that... it's wired individually for every module in your package.json.
You probably use a boilerplate generator that created this for you, but did not include commonly used configurations for building clientside versions of serverside modules.
likely you just need to tell it to not include fs in the browser... either in the babel config's resolve or in the config of whatever magic you're using on top of it.

Did this get sorted?

I'm going to call this good, reopen if there are issues.


Why mmcv.runner doesn;t import

Traceback (most recent call last):
File "tools/train.py", line 9, in
from mmcv.runner import init_dist
ModuleNotFoundError: No module named 'mmcv.runner'

I am having the same issue,


Add disclaimer to quilt_rails that it is still an experiment / WIP

Given the explorations we have currently ongoing into the scalability of the model quilt_rails uses for server side rendering, we should add a note to the top of the README clarifying the status of the project.

we did this a while ago


0.42.2 yr component causes error log

Home Assistant release (hass --version):
0.42.2
Python release (python3 --version):
3.6.0
Component/platform:
Windows 10
Description of problem:
I just upgraded from 0.40 to 0.42.2 and now i get an error each time i start Home assistant.
Problem-relevant configuration.yaml entries and steps to reproduce:
sensor:
  - platform: yr
    monitored_conditions:
      - symbol
      - temperature
      - windSpeed
      - cloudiness

If i remove the section above the error goes away.
Traceback (if applicable):
17-04-10 16:15:24 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback _ProactorReadPipeTransport._loop_reading(<_OverlappedF...op_reading()]>)
Traceback (most recent call last):
  File "C:\Users\xbmc\AppData\Local\Programs\Python\Python36-32\lib\asyncio\events.py", line 126, in _run
    self._callback(*self._args)
  File "C:\Users\xbmc\AppData\Local\Programs\Python\Python36-32\lib\asyncio\proactor_events.py", line 190, in _loop_reading
    data = fut.result()  # deliver data later in "finally" clause
asyncio.base_futures.InvalidStateError: Result is not ready.
17-04-10 16:15:39 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback _ProactorReadPipeTransport._loop_reading(<_OverlappedF...ed result=b''>)
Traceback (most recent call last):
  File "C:\Users\xbmc\AppData\Local\Programs\Python\Python36-32\lib\asyncio\events.py", line 126, in _run
    self._callback(*self._args)
  File "C:\Users\xbmc\AppData\Local\Programs\Python\Python36-32\lib\asyncio\proactor_events.py", line 188, in _loop_reading
    self._closing)
AssertionError

The yr integration still seems to work tho.

I think that is a aiohttp bug

I have the same problem.

even I'm  getting same error did you guys find a fix for it?

Same problem here is there any fix?

on 0.43.2 still seeing this error

updated to 0.47.1 still seeing this error

Unable to reproduce on Fedora. Thus I assume this is a Windows-only bug.


EditorPlugin set_state() isn't called.

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Windows10, Godot current stable 2.1.3
Issue description:

In a script extending EditorPlugin, I expect that set_state() is called when a scene is opened in the editor.
But It seems that the method is not called.
Steps to reproduce:
Implementing set_state() ,e.g. print("set_state is called.") results nothing.
Link to minimal example project:

editorplugin_issue.zip

The 2.1 branch is no longer actively worked on by engine developers, unless critical fixes are needed for current games in production. As such we are now closing non-critical bug reports affecting only the 2.1 branch.
Please comment if this was incorrectly triaged and is still relevant in 3.x versions.

@akien-mga This seems to be still the case in 3.2.1.stable.

Please open a new issue with detailed steps to reproduce and a reproduction project that works on recent Godot versions.


inference compare between trt and pytorch

HI~
i using inference with 20 pics for testing Speed , GPU Memory-Usage of tensorrt and  pytorch, respectivly.
env:
config : faster_rcnn_r50_fpn_1x_coco.py
checkpoint : faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth
GPU: TITAN X (Pascal)
the result is all most the same , but :

Question 1 : tensorrt will spent longest time for the fist pic?
 It is alway a good idea to warmup the network(actually, network of pytorch need warmup too.), you can feed some dummy input to the model before you use it.
About the inference time and memory usage, there might be multiple reason:
first, guess you are using fp32 mode, right? fp16 mode will have much faster speed with the cost of few precision(very little, almost can be ignored), fp16 mode are always a better choice.
second, do you synchronize cuda stream when you count the inference time? Cuda kernel will be streaming in gpu when the network is running. Pytorch or tensorrt return something doesn't means they finish all operations(only means all operation has been queued to gpu). add tick-tock after that might not give you real inference time. Try add torch.cuda.synchronize() after inference code. (you might found that pytorch also take long time in first frame.)

In my device, faster-rcnn with input shape (1,3,800,1312):
fp32:
trt take time:  0.04453961849212647
pytorch take time:  0.061907482147216794
fp16:
trt take time:  0.018731284141540527
pytorch take time:  0.055935001373291014

when i generate the trt model via using mmdet2trt(  fp16_mode=True )
the log will output:
[TensorRT] WARNING: Half2 support requested on hardware without native FP16 support, performance will be negatively affected.
is it mean the CPU no support FP16??

Here are the anwser from nvidia:
https://forums.developer.nvidia.com/t/fp16-support-on-gtx-1060-and-1080/53256

FP16 is supported but at a low rate. So performance won't be interesting. The driver version you have should be fine. I would recommend using CUDA 8.0.61 (CUDA 8 GA2) which is what is currently publicly available.
The only GPUs with full-rate FP16 performance are Tesla P100, Quadro GP100, and Jetson TX1/TX2.
All GPUs with compute capability 6.1 (e.g. GTX 1050, 1060, 1070, 1080, Pascal Titan X, Titan Xp, Tesla P40, etc.) have low-rate FP16 performance. It's not the fast path on these GPUs. All of these GPUs should support "full rate" INT8 performance, however.

I am still trying add int8 support, but guess it will take long time.
Try warmup your model before inference. fp32 will get some bonus too.

Yes ~!
i have updated the code  via torch.cuda.synchronize('cuda:0') to statistics the inference between mmdet2trt and mmdetection , and then mmdet2trt  speed up by 13%
| torch |   | trt |
-- | -- | -- | -- | --
image | inference | objs be detected| inference | objs be detected
000003.jpg | 0.0888180733 | 8 | 1.2400956154 | 8
000009.jpg | 0.0878646374 | 22 | 0.0666246414 | 22
000020.jpg | 0.0820932388 | 11 | 0.0703969002 | 11
000013.jpg | 0.0830266476 | 3 | 0.0695712566 | 3
000019.jpg | 0.0801789761 | 4 | 0.0673627853 | 4
000012.jpg | 0.0882394314 | 3 | 0.0829980373 | 3
000007.jpg | 0.0871551037 | 4 | 0.0752086639 | 5
000016.jpg | 0.0895793438 | 19 | 0.0839416981 | 19
000004.jpg | 0.0743381977 | 33 | 0.068041563 | 33
000002.jpg | 0.0871784687 | 3 | 0.0754187107 | 3
000011.jpg | 0.0898630619 | 5 | 0.0771043301 | 5
000010.jpg | 0.0831506252 | 28 | 0.0735895634 | 28
000014.jpg | 0.0876681805 | 54 | 0.0740339756 | 54
000015.jpg | 0.0803148746 | 9 | 0.067293644 | 9
000018.jpg | 0.0776650906 | 4 | 0.0663657188 | 4
000008.jpg | 0.0781502724 | 57 | 0.068205595 | 56
000017.jpg | 0.0778365135 | 18 | 0.0688450336 | 17
000001.jpg | 0.0857608318 | 13 | 0.0747027397 | 13
000006.jpg | 0.0789132118 | 31 | 0.0701141357 | 31
000005.jpg | 0.0772767067 | 39 | 0.0677347183 | 39


Updated zh-cn translation in cli section

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[x] Docs
[ ] Underlying tools
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

Other information:
the original version in Chinese means yorkie is not compatible with husky in future version

also missing the lint-staged part of codes


Remove deprecated projects

Trendy projects today willl no more be trendy tomorrow, projects live and die...
We need a system to remove projects from the application, it could be a flag "deprecated".
I think we could stop taking snapshots for "deprecated" projects, since it means "deprecated for ever".
Maybe we also need a flag to just disable a project (stop displaying in the application) but keep taking snapshots (in case of a project "revival")
Examples of deprecated projects:

famo.us
React UI builder (=> it became "structor")
Some projects with "Flux" tag maybe, as Flummox (for example) whose README.md asks users to use Redux instead.

Steps:

In bestofjs-keytone repo: add enabled and deprecated flags to KeystoneJS models
In bestofjs-batches repo: add enabled and deprecated flags to Mongoose models
Filter projects in build batches

  //STEP 1: grab all projects
  var f1 = function(callback) {
    var defaultSearchOptions = {
      disabled: {$ne: true},
      deprecated: {$ne: true}
    };
    var searchOptions = _.defaults(defaultSearchOptions, options.project);
    console.log('Searching', searchOptions);
    getProjects({
      Project: options.models.Project,
      project: searchOptions
    },
      (projects) =>  callback(null, projects) );
  };

bestofjs-keytonejs and bestofjs-batches repos were updated.
https://github.com/Famous/famous and https://github.com/ipselon/react-ui-builder projects were depreacated.

Disabled projects with "Flux" tag:

Marty (officially no more maintened)
Fynx (Last update: 8 months ago)
Lux (Last update: 7 months ago)


Added safety check for non-positive log axis range

As reported in issue #226, datashader segfaults for a y_range starting at 0 or a negative number.
This PR adds a check for this condition at the Canvas level, which provides a clear error message for cases where the user has explicitly set a y_range or an x_range with such an invalid starting value.
This PR also adds a low-level error check within the Axis itself, to handle the case where the range has been determined automatically based on the data.  In this case, the name and type of the axis are not known, so the message is much more obscure, but there appears to be no simple way around that.  And even an obscure message is better than a segfault!

@jcrist, can you please check the (very short!) diffs and see if you have any objections or suggestions?

Superseded by #228.


⚠ Bofrost.lu has degraded performance

In c785325, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1668 ms

Resolved: Bofrost.lu performance has improved in 84981ab after 6 minutes.


How to have the Scattertext without showing collocation?

Steps to Reproduce
I have these steps to generate a Scattertext with my data:
# Here is the code snippet
import scattertext as st
from pprint import pprint
from scattertext import SampleCorpora, PhraseMachinePhrases, dense_rank, RankDifference, AssociationCompactor, produce_scattertext_explorer
from scattertext.CorpusFromPandas import CorpusFromPandas
import spacy
nlp = spacy.load("en_core_web_sm")

# corpus
corpus = st.CorpusFromPandas(df,   #############edit
                            category_col='tag',
                            text_col='text',
                            nlp=nlp).build()
# textscatter plot
path1="xxx"
html = st.produce_scattertext_explorer(corpus,
          category='Y',
          category_name='A',
          not_category_name='B',
          width_in_pixels=1000,
          metadata=df['text_remove'])    ##############edit

Expected behavior
There are couple of words showing in collocation.
I expected words scattering word by word without collocation.
How could I avoid it?
Deeply appreciate your kind answer.

Additional context

Run corpus=corpus.get_unigram_corpus(). This will remove bigrams.

The colors correspond to the scaled f scores. Please add these as a discussion item instead of an issue.


SAA-1112 - Update to error messages for Deallocation journey

SAA-1112 relates to error messages displayed on the last day page of the deallocation journey. These don't seem to have been updated in this PR.
Commits look like they're for the edit allocation journey instead:
https://github.com/ministryofjustice/hmpps-activities-management/pull/509/commits/7d0fdae144d07d3b09038ccd0549d37d7375db17


Feature/69_unit_tests_assets

Motivation
Fixes #69
Additionally, Update* methods have been removed for assets as they don't make much sense.

Thanks for the review, minor issues were fixed.


[BUG] Progress Bar Doesn't Move Up

Describe the bug
Progress bar doesn't move up when another device is playing music.
To Reproduce
Steps to reproduce the behavior:

Play music on another device.

Screenshots

Desktop (please complete the following information):

OS: Windows 10
Version 21H1

Logs

Can you check if this happens also with the original Dribbblish theme? Thank you

Yep, it appears on Dribbblish regular.


[YUNIKORN-107] Display additional queue information

Hey @kingamarton,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: e02db900-b159-11ea-aa9c-955a789e1a4a

Hey @kingamarton,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 16e4ea40-b619-11ea-aaf6-456b40a357ff


Segmentation fault  running imagenet-console on jetson nano

I am trying to run  the jetson-inference samples on jetson nano.  Running the imagenet-console test app results in the following error:
[TRT]  device GPU, building CUDA engine (this may take a few minutes the first time a network is loaded)
Segmentation fault
`
$ sudo ./imagenet-console orange_0.jpg output_0.jpg
imagenet-console
args (3):  0 [./imagenet-console]  1 [orange_0.jpg]  2 [output_0.jpg]
imageNet -- loading classification network model from:
-- prototxt     networks/googlenet.prototxt
-- model        networks/bvlc_googlenet.caffemodel
-- class_labels networks/ilsvrc12_synset_words.txt
-- input_blob   'data'
-- output_blob  'prob'
-- batch_size   2
[TRT]  TensorRT version 5.0.6
[TRT]  detected model format - caffe  (extension '.caffemodel')
[TRT]  desired precision specified for GPU: FASTEST
[TRT]  requested fasted precision for device GPU without providing valid calibrator, disabling INT8
[TRT]  native precisions detected for GPU:  FP32, FP16
[TRT]  selecting fastest native precision for GPU:  FP16
[TRT]  attempting to open engine cache file networks/bvlc_googlenet.caffemodel.2.1.GPU.FP16.engine
[TRT]  cache file not found, profiling network model on device GPU
[TRT]  device GPU, loading networks/googlenet.prototxt networks/bvlc_googlenet.caffemodel
[TRT]  failed to retrieve tensor for Output "prob"
[TRT]  device GPU, configuring CUDA engine
[TRT]  device GPU, building FP16:  ON
[TRT]  device GPU, building INT8:  OFF
[TRT]  device GPU, building CUDA engine (this may take a few minutes the first time a network is loaded)
Segmentation fault
`
Can someone please suggest me what all things i can solve this issues

Thanks for replying.
I have downloaded the new  bvlc_googlenet.caffemodel.
But the Segmentation fault still occurs.
Can you give me some other suggestions?
Thank you very much for your help.

Hi @IIMKB, can you try the steps from this post?
https://devtalk.nvidia.com/default/topic/1049144/jetson-nano/imagenet-console-application-not-working-properly/post/5328776/#5328776

I have also met this problem, and I have tried the above solutions. However, it doesn't make sense, could you give me some other suggestions? Thanks a lot.

I have similar issue but rather getting segmentation fault - nano just crashed. reinstalled / re-image still crash

I have same problem,but it be resolved after re-download caffmodel.hope this can help you

hi ,in china, this url is not available. can i use https://github.com/dusty-nv/jetson-inference/releases to download the ' bvlc_googlenet.caffemodel '?

Yes, you can use that mirror URL.  Are you able to access the mirror URL from China?

From: hvacking<EMAIL_ADDRESS>Sent: Tuesday, June 25, 2019 8:01:16 AM
To: dusty-nv/jetson-inference
Cc: Dustin Franklin; Comment
Subject: Re: [dusty-nv/jetson-inference] Segmentation fault running imagenet-console on jetson nano (#308)
hi ,in china, this url is not available. can i use https://github.com/dusty-nv/jetson-inference/releases to download the ' bvlc_googlenet.caffemodel '?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/dusty-nv/jetson-inference/issues/308?email_source=notifications&email_token=ADVEGK7YX3KOMPSND7TNHP3P4ICIZA5CNFSM4HEPHM42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYP764Q#issuecomment-505413490, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADVEGK6DCO3GREWC5RUFXZLP4ICIZANCNFSM4HEPHM4Q.

This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

yes ,i can access to mirror URL of github.
but when we proceed the install, all the process stopped at this step. And some essential fold is not exit,such as 'aarch64' folder.
how do i fix this problem?

Try running "cmake ../" again.  Then "make" and "sudo make install"

From: hvacking<EMAIL_ADDRESS>Sent: Tuesday, June 25, 2019 9:50:19 AM
To: dusty-nv/jetson-inference
Cc: Dustin Franklin; Comment
Subject: Re: [dusty-nv/jetson-inference] Segmentation fault running imagenet-console on jetson nano (#308)
yes ,i can access to mirror URL of github.
but when we proceed the install, all the process stopped at this step. And some essential fold is not exit,such as 'aarch64' folder.
how do i fix this problem?
[11]https://user-images.githubusercontent.com/28031945/60103924-0a482e00-9793-11e9-8bc6-2275721189fb.gif
[333]https://user-images.githubusercontent.com/28031945/60104004-2ea40a80-9793-11e9-9ce3-0caa7ec6eaae.gif
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/dusty-nv/jetson-inference/issues/308?email_source=notifications&email_token=ADVEGK47SOQRXD37ZZNAQPTP4IPBXA5CNFSM4HEPHM42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYQJZ5Q#issuecomment-505453814, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADVEGKZXOTWYGYK5BF5HPW3P4IPBXANCNFSM4HEPHM4Q.

This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

hi ,i tried several times, but all stops at connect nivida.app.box.com ，when i interrupt the the process. i can not find the aarch64 folder under builder folder.

OK, go into CMakePreBuild.sh and comment out all the wget commands.  Then run cmake ../ and make.

From: hvacking<EMAIL_ADDRESS>Sent: Tuesday, June 25, 2019 9:13:50 PM
To: dusty-nv/jetson-inference
Cc: Dustin Franklin; Comment
Subject: Re: [dusty-nv/jetson-inference] Segmentation fault running imagenet-console on jetson nano (#308)
hi ,i tried several times, but all stops at connect nivida.app.box.com ，when i interrupt the the process. i can not find the aarch64 folder under builder folder.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/dusty-nv/jetson-inference/issues/308?email_source=notifications&email_token=ADVEGKYTQZ6VYH6ZOJAFILLP4K7E5A5CNFSM4HEPHM42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYSATOQ#issuecomment-505678266, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADVEGK65DZGYLPXBGCJQ6I3P4K7E5ANCNFSM4HEPHM4Q.

This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.

I have the same same problem. If I call imagenet-console.py, I get "Segmentation fault (core dumped)" - this is from a clean install following the github instructions to the letter, using an image downloaded an hour ago.

@martynoconnor does your log look the same as above?
Were you able to download the models ok from the script?   If your log looks the same as above, it means your googlenet model is corrupted - so try deleting and re-downloading them.

For me (also running on a nano), console works, but the camera version gives a Segmentation Fault:
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> nvvconv0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> capsfilter0
[gstreamer] gstreamer changed state from PAUSED to PLAYING ==> nvarguscamerasrc0
[gstreamer] gstreamer msg stream-start ==> pipeline0
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
Segmentation fault (core dumped)


Toslchan/cao data

@thomaslchan : Sorry to have dropped the ball on this. Several points:

Right now I'm feeling that what we really should try to do is make the installation of everything for vips independent of the platform. It's great that we know how it do it on MacOS, and it's good that we have a separate configuration for Travis, but neither of those will work out of the box for someone on Linux. --> I think we should try to docker-ize this... Maybe merge what's here, but plan to simplify it again in the near future?

I don't think the cao data depends on vips: Could you make a separate, small PR for just that?

Particularly if you'll be doing more work remote, descriptions on PRs will be very use, as will keeping PRs to just a single feature.


[gradle-platform-native] Update to newer snakeyaml

As of 4.8.1 gradle-platform-native is using a old version of snakeyaml. Shipping with snakeyaml 1.6 from 2010... Classes in use were removed starting with snakeyaml 1.15, with the last version containing those classes being snakeyaml 1.13, from 2013... The current version of snakeyaml is 1.21.
Expected Behavior
Use a newer snakeyaml release ideally 1.21, or something recent
Current Behavior
Using and shipping with old snakeyaml 1.6 that has classes now removed
Context
I am not using any of Gradles build system, as it requires gradle. I am packaging Gradle from source. Including all dependencies from source. Thus I prefer to use the latest version of a given package. Rather than having multiple versions on my systems. When it can be avoided.
Packaging hundreds of Java packages from source in my Gentoo overlay. Thus far this is the only package requiring an older version of snakeyaml. I will likely have to package that older version just for Gradle. Unless I can find a way to easily use a newer version, like I do with Guava. I may submit a PR for a newer snakeyaml, though avoiding such for Guava for other reasons. Likely cause to many issues with a update Guava PR. I do not believe snakeyaml is in as wide use, or would have the same effects by updating.
Your Environment
Gentoo Linux, with a custom Java overlay that builds everything from source.
Thank you for your consideration of this request!

Looks like it is just SwiftDepsHandler. That is using the now removed
import org.yaml.snakeyaml.JavaBeanDumper;
import org.yaml.snakeyaml.Loader;

I will see about updating that to newer snakeyaml, time permitting If you all want a PR let me know.

@wltjr I'm happy to merge a PR if the tests pass (SwiftDepsHandlerTest and SwiftIncrementalCompileIntegrationTest are the most important).
The two constraints:

Whichever version we ship needs to work with Java 7 (that's the minimum version required by Gradle 4.x).
It seems like snakeyaml may be needed by the version of TestNG we build against (https://github.com/gradle/gradle/blob/master/gradle/dependencies.gradle#L119), so we may need to also update that version to a later version that doesn't require snakeyaml.  I would try looking at that after you've upgraded things for SwiftDepsHandler.

Thanks!


Pipeline

my query is how to configure a pipeline in excelastic, I have an excel file with a row with ip and I want to perform geoip processor

Hello,
I don't know anything about pipelines in Elasticsearch yet and I have not used any geo either.
Looks like pipelines uses different endpoints for importing, I think Excelastic uses the bulk import.
https://www.elastic.co/guide/en/elasticsearch/reference/master/geoip-processor.html
Would be nice to support this API as well, not sure if inserts can be batched.

Hi @Pablo1816 , as a workaround I would recommend you to use excelastic to import to a temporary index, and then use reindex API using a pipeline with the desired transformation to a proper index.
POST _reindex
{
  "source": {
    "index": "temp_index"
  },
  "dest": {
    "index": "real_index",
    "pipeline": "my_pipeline"
  }
}

@codingchili Bulk API allows to include a pipeline as well, similarly to giving the index name to bulk.
Here is a sample creating a pipeline that uppercase my field "country" and transforming client_ip from text to geoip:
PUT /_ingest/pipeline/my-country-uppercase
{
  "processors": [
    {
      "uppercase": {
        "field": "country"
      }
    },
    {
      "geoip": {
        "field": "client_ip"
      }
    }
  ]
}

Inserting recording with bulk saying to use my-country-uppercase pipeline:
POST _bulk
{"index" : { "_index" : "my_index", "_id" : "1" , "pipeline": "my-country-uppercase"}}
{"country" : "Brazil", "client_ip": "<IP_ADDRESS>" }

Searching index:
GET my_index/_search

Result:
{
  "took" : 340,
  "timed_out" : false,
  "_shards" : {
    "total" : 1,
    "successful" : 1,
    "skipped" : 0,
    "failed" : 0
  },
  "hits" : {
    "total" : {
      "value" : 1,
      "relation" : "eq"
    },
    "max_score" : 1.0,
    "hits" : [
      {
        "_index" : "my_index",
        "_type" : "_doc",
        "_id" : "1",
        "_score" : 1.0,
        "_source" : {
          "country" : "BRAZIL",
          "geoip" : {
            "continent_name" : "South America",
            "region_iso_code" : "BR-MG",
            "city_name" : "Poços de Caldas",
            "country_iso_code" : "BR",
            "region_name" : "Minas Gerais",
            "location" : {
              "lon" : -46.5646,
              "lat" : -21.7869
            }
          },
          "client_ip" : "<IP_ADDRESS>"
        }
      }
    ]
  }
}

I will try to work on this enhancement request.

PR created, implemented and tested
https://github.com/codingchili/excelastic/pull/86

Thanks a lot for submitting a pull request!
Looks good, I'm merging this to master and will update the Travis configuration to build on a supported JVM again. The dist was changed to Xenial which doesn't support oraclejdk8, which we shouldn't use anymore anyways.
Releasing when this is complete.

Thanks for a very good PR!
The feature is merged and 1.3.7 is now released.

thank you very much


How can I install a release by specifying a local chart folder ?

How can I install a chart to tiller with a local folder which contains template yaml files and values yaml file?
I only found a way to install a chart with url:
`POST http://<IP_ADDRESS>:9855/tiller/v2/releases/my-release/json
{
"chart_url": "https://github.com/tamalsaha/test-chart/raw/master/test-chart-0.1.0.tgz",
"values": {
"raw": "{"ns":"c10","clusterName":"h505"}"
}
}`
somebody can help me? thanks.

Local folders are not supported. I am not sure how will it work even if we want to support it.

My chart files are stored in a git repository, and a git repo supplied a URL, you can download a tar file with this URL, e.g.
http://gitlab.com/arch/wolverine-app-charts-online/repository/archive.tar.gz?ref=master
this tar file contains a root path named "wolverine-app-charts-online.git", all charts files are children of this root path. If I pass this URL as the 'chart_url' argument, I guess there will be an error,  because the level of chart folder is wrong.

One think you can do is upload the chart.tar.gz file in your git repo. Given these are just YAML files, the tar file should be very small. We do that here for our test chart https://github.com/appscode/swift/tree/master/test/hello

I got it, I think this is a good ideal.
If the chart file has changed for some reason, I repackage this tar file again and commit it.
I will try it with your advice. Thank you.


publish releases on github

hey there, it'd be handy to be able to download the extension from github and have older versions available.
Would you be open to a pull request that adds a github action for this/ it would just require tagging new versions with git to trigger a release.
I do this for some of my extensions here: https://github.com/AgregoreWeb/extension-agregore-renderer/blob/default/.github/workflows/build.yml

this is cool and I'm definitely interested in making the GitHub tags more useful!
I'd be more interested in a way to not use GitHub actions for this... like making a yarn tag script that that achieves the same thing


Fixed issue loading String List value from storage.

The stored value is a String for StringOption, added call to init with the stored string as the value instead of trying an optional cast which was failing.

great! Could you fix the indentation?

No problem, just not sure what style you are going for? do you want to me change they way case .stringList is indented or the reset of the cases? or both?

just SwiftTweaks/TweakPersistency.swift -- this project uses tabs for indentation, and you can see from the "Files changed" tab on the PR that they don't line up

Changed spaces to tabs!

super, thanks!


Portal feature

This adds end portal teleportation into a target dimension, a disclaimer has been added to the default config that this is a very specific hack made for CivMC.

@Maxopoly if you get a min to review to make sure bulletproof


[theme] Always return default spacing value with px units

Breaking changes

theme.spacing now returns single values with px units by default.
This change improves the integration with styled-components & emotion.
Before:
theme.spacing(2) => 16

After:
theme.spacing(2) => '16px'

You can restore the previous behavior with:
-const theme = createMuiTheme();
+const theme = createMuiTheme({
+  spacing: x => x * 8,
+});

Closes #16205

I'm not sure how to handle cases like:
https://github.com/mui-org/material-ui/blob/7a4bd5807959b0069be9b5f40ba80eaae9ace2c8/docs/src/pages/components/slider/CustomizedSlider.tsx#L15

width: 300 + parseInt(theme.spacing(6).slice(0, -2));

😄
It's the problem that @joshwooding raised here: https://github.com/mui-org/material-ui/issues/16205#issuecomment-504116608

How about if theme.spacing() accepted the unit to append, and treated an empty string as a special case:
> theme.spacing(1)
'8px'
> theme.spacing([1, 'rem'])
'8rem'
> theme.spacing([1, ''])
8

I have tried to benchmark what the others are doing here.

styled-system: nothing. Last year they removed the px unit in https://github.com/styled-system/styled-system/pull/513, which is fine for the JavaScript syntax but not for the CSS template one: https://codesandbox.io/s/immutable-wildflower-9txlp?file=/src/App.js.
xstyled: I couldn't find anything related.
spacing-helper: It looks a lot like what we provide.

I wonder if the best answer here isn't calc(). If you take the above example, the motivation is to have 300px and 2 spacing unit on each side.

@mbrookes Would it work, it seems to?

Perfect - it even works in IE.

Hmm:
padding: theme.spacing(0.5, 0, 0.5, `${Math.max(0, theme.spacing(1) - 3)}px`),

Also:
    [theme.breakpoints.up(600 + theme.spacing(2) * 2)]: {
      width: 600,
      marginLeft: 'auto',
      marginRight: 'auto',
    },

@mbrookes For the first case we can use px, and the second a breakpoint value, md?

I'm not sure what the second was about - seems to work just the same with 'md'.
I don't understand what you mean for the first - it is in px.

I don't understand what you mean for the first - it is in px?

Sorry for the confusion, I meant using hardcoded pixels, not. The value from the theme.


Fix rounding in grib grid resolution

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

Project coverage is 89.92%. Comparing base (2034750) to head (366acf8).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #404   +/-   ##
========================================
  Coverage    89.92%   89.92%
========================================
  Files          120      120
  Lines         7758     7764    +6
  Branches       675      675
========================================
+ Hits          6976     6982    +6
  Misses         651      651
  Partials       131      131

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


Remove Warning On New Headless Setting

🐛 Bug Report
When running with config like this with puppeteer 19 or 20
  launch: {
    headless: true, // 'new',
    devtools: false,
    ignoreHTTPSErrors: true,
    dumpio: false
  },

I get this warning now..
  Puppeteer old Headless deprecation warning:
    In the near feature `headless: true` will default to the new Headless mode
    for Chrome instead of the old Headless implementation. For more
    information, please see https://developer.chrome.com/articles/new-headless/.
    Consider opting in early by passing `headless: "new"` to `puppeteer.launch()`
    If you encounter any bugs, please report them to https://github.com/puppeteer/puppeteer/issues/new/choose.

I think to solve it i want:
  launch: {
    headless: 'new'

But this makes it go not headless.
To Reproduce
If you need to you can:

clone https://github.com/infor-design/enterprise-wc
npm i
npx jest -- func

Expected behavior
No warning
Link to repl or repo (highly encouraged)
[Please provide a minimal repository on GitHub.
https://github.com/infor-design/enterprise-wc
Run npx envinfo --system --binaries --npmPackages expect-puppeteer,jest-dev-server,jest-environment-puppeteer,jest-puppeteer,spawnd --markdown --clipboard
Paste the results here:

*** Clipboard option removed - use clipboardy or clipboard-cli directly ***

## System:
 - OS: macOS 13.3.1
 - CPU: (10) arm64 Apple M1 Pro
 - Memory: 8.42 GB / 32.00 GB
 - Shell: 5.9 - /bin/zsh
## Binaries:
 - Node: 18.12.1 - ~/.nvm/versions/node/v18.12.0/bin/node
 - npm: 8.19.2 - ~/.nvm/versions/node/v18.12.0/bin/npm
## npmPackages:
 - jest-puppeteer: 8.0.6 => 8.0.6

If you set { headless: 1 } instead of { headless: true } it will bypass the deprecation check

Thanks @colinrotherham that works. The warning was rather annoying as we see it flood our console

@gregberge headless: 'new" causes it to not be headless so get tons of browser windows. Is that correct? Whats the opposite of new. Unclear why they changed this to me seems unclear.

Setting { headless: 'new' } switches to "new headless" which will be the default in future
Chrome’s Headless mode gets an upgrade: introducing --headless=new
https://developer.chrome.com/articles/new-headless/
const browser = await puppeteer.launch({
  headless: 'new',
  // `headless: true` (default) enables old Headless;
  // `headless: 'new'` enables new Headless;
  // `headless: false` enables “headful” mode.
});

You'll should see Chrome icons in the Dock on macOS but windows are invisible. Unlike "old headless" it can now run browser extensions but you'll likely see a drop in performance but they're aware of it (approx 30% slower)


GEOMESA-2785 Clean up documentation for 3.0 release

Signed-off-by: Emilio Lahr-Vivaz<EMAIL_ADDRESS>

@jnh5y could you merge this pr soon? it's starting to drift i think... i've rebased and squashed it down to 3 commits, which we should keep separate during the merge. tia

@jnh5y I think this could be merged with one click if you use 'rebase and merge' - that will preserve the commits, which we actually want for once.


Invert psql/package dependency logic

When instantiating several times the same PostgreSQL extension with the same
package name (e.g. pg_trgm and rh-postgresql10-postgresql-contrib.x86_64),
the current code leads to a duplicate declaration due to the clash on the
before parameter on the package passed through ensure_packages.
This PR inverts the logic to ensure that no require or before parameter is
passed to ensure_packages.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d24b17a). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1179   +/-   ##
=========================================
  Coverage          ?   65.81%
=========================================
  Files             ?       14
  Lines             ?      351
  Branches          ?        0
=========================================
  Hits              ?      231
  Misses            ?      120
  Partials          ?        0

Continue to review full report at Codecov.

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

Hi @raphink, this looks good! Thank you for your contribution, I'll merge the PR!