[After pkg update] OpenZFS: load /boot/modules/openzfs.ko … bzf_open: not a file – can't find 'kernel'

0.4.0 (OD26)
FreeBSD installed whilst booted from 0.4.0 (OD26) in live mode. OS and packages updated.
OpenZFS installed, /boot/loader.conf edited, system restarted:

I'll start a snapshot of the virtual machine from before the restart, attempt to understand the issue …

From a snapshot:
date ; uptime ; uname -v
Sat Feb  6 11:39:09 EST 2021
11:39AM  up 9 mins, 0 users, load averages: 0.24, 0.25, 0.16
FreeBSD 12.2-RELEASE-p3 GENERIC
mowa219-gjp4-vm-hellosystem-040-0d26% freebsd-version -kru
12.2-RELEASE-p3
12.2-RELEASE-p3
12.2-RELEASE-p3
mowa219-gjp4-vm-hellosystem-040-0d26% pkg query '%o %v %R' furybsd-settings-0 hello openzfs openzfs-kmod
local 0 unknown-repository
helloSystem 0.4.0_0D26 unknown-repository
sysutils/openzfs<PHONE_NUMBER> FreeBSD
sysutils/openzfs-kmod<PHONE_NUMBER> FreeBSD
mowa219-gjp4-vm-hellosystem-040-0d26% kldstat | grep zfs
 2    1 0xffffffff8247b000   3bad38 zfs.ko
mowa219-gjp4-vm-hellosystem-040-0d26% cat /boot/loader.conf
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
opensolaris_load="YES"
zfs_load="NO"
openzfs_load="YES"
# TODO: Transfer settings from Live ISO /boot/loader.conf to installed one
# https://github.com/furybsd/furybsd-livecd/issues/190
boot_mute="YES"
beastie_disable="YES"
autoboot_delay="3"
hw.psm.elantech_support="1"
hw.psm.synaptics_support="1"
mowa219-gjp4-vm-hellosystem-040-0d26% beadm list
BE      Active Mountpoint  Space Created
default NR     /            4.4G 2021-02-04 14:49
mowa219-gjp4-vm-hellosystem-040-0d26% lsblk
DEVICE         MAJ:MIN SIZE TYPE                              LABEL MOUNT
ada0             0:87  256G GPT                                   - -
  ada0p1         0:88  200M efi                        gpt/efiboot0 -
  ada0p2         0:89  512K freebsd-boot               gpt/gptboot0 -
  <FREE>         -:-   492K -                                     - -
  ada0p3         0:90  256G freebsd-zfs                    gpt/zfs0 <ZFS>
  <FREE>         -:-   1.0M -                                     - -
mowa219-gjp4-vm-hellosystem-040-0d26% gpart show
=>       40  536870832  ada0  GPT  (256G)
         40     409600     1  efi  (200M)
     409640       1024     2  freebsd-boot  (512K)
     410664        984        - free -  (492K)
     411648  536457216     3  freebsd-zfs  (256G)
  536868864       2008        - free -  (1.0M)

mowa219-gjp4-vm-hellosystem-040-0d26%

Scrubbed, and gdisk(8) finds no problem with the GPT:
mowa219-gjp4-vm-hellosystem-040-0d26% zpool status
  pool: zroot
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
        still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not support
        the features. See zpool-features(7) for details.
  scan: scrub repaired 0 in 0 days 00:04:27 with 0 errors on Sat Feb  6 13:26:13 2021
config:

        NAME        STATE     READ WRITE CKSUM
        zroot       ONLINE       0     0     0
          ada0p3    ONLINE       0     0     0

errors: No known data errors
mowa219-gjp4-vm-hellosystem-040-0d26% zpool list
NAME    SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
zroot   254G  4.38G   250G        -         -     0%     1%  1.00x  ONLINE  -
mowa219-gjp4-vm-hellosystem-040-0d26% sudo pkg install gdisk
Password:
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        gdisk: 1.0.6

Number of packages to be installed: 1

141 KiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching gdisk-1.0.6.txz: 100%  141 KiB 144.3kB/s    00:01
Checking integrity... done (0 conflicting)
[1/1] Installing gdisk-1.0.6...
[1/1] Extracting gdisk-1.0.6: 100%
=====
Message from gdisk-1.0.6:

--
PLEASE, READ DOCUMENTATION BEFORE USE

See `man gdisk' , `man cgdisk', `man sgdisk', `man fixparts'.

Any errors in usage gdisk (cgdisk, sgdisk, fixparts) or
not understanding of that you do, can call loss of your data.
Make a backup copy of all data of a disk before you use
these programs for its processing.
mowa219-gjp4-vm-hellosystem-040-0d26% sudo gdisk /dev/ada0
GPT fdisk (gdisk) version 1.0.6

NOTE: Write test failed with error number 1. It will be impossible to save
changes to this disk's partition table!
You may be able to enable writes by exiting this program, typing
'sysctl kern.geom.debugflags=16' at a shell prompt, and re-running this
program.

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): p
Disk /dev/ada0: 536870912 sectors, 256.0 GiB
Sector size (logical): 512 bytes
Disk identifier (GUID): 20E8636C-6722-11EB-B495-080027DC743A
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 40, last usable sector is 536870871
Partitions will be aligned on 8-sector boundaries
Total free space is 2992 sectors (1.5 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              40          409639   200.0 MiB   EF00  efiboot0
   2          409640          410663   512.0 KiB   A501  gptboot0
   3          411648       536868863   255.8 GiB   A504  zfs0

Command (? for help): q
mowa219-gjp4-vm-hellosystem-040-0d26%

Removing the two packages, let's try installation from ports instead:
mowa219-gjp4-vm-hellosystem-040-0d26% cd /usr/ports/sysutils/openzfs
mowa219-gjp4-vm-hellosystem-040-0d26% sudo pkg remove openzfs openzfs-kmod
Password:
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 2 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        openzfs:<PHONE_NUMBER>
        openzfs-kmod:<PHONE_NUMBER>

Number of packages to be removed: 2

The operation will free 22 MiB.

Proceed with deinstalling packages? [y/N]: y
[1/2] Deinstalling openzfs-2021012500...
[1/2] Deleting files for openzfs-2021012500: 100%
[2/2] Deinstalling openzfs-kmod-2021012500...
[2/2] Deleting files for openzfs-kmod-2021012500: 100%
mowa219-gjp4-vm-hellosystem-040-0d26% cd ../openzfs-kmod
mowa219-gjp4-vm-hellosystem-040-0d26% sudo pkg install --automatic gmake python37 autoconf automake libtool
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 6 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        autoconf: 2.69_3
        autoconf-wrapper: 20131203
        automake: 1.16.3
        gmake: 4.3_2
        libtool: 2.4.6_1
        m4: 1.4.18_1,1

Number of packages to be installed: 6

The process will require 10 MiB more space.
2 MiB to be downloaded.

With end of life FreeBSD 12.1-RELEASE and the OpenZFS packages from latest, no problem:

Comparing with a non-helloSystem 12.2-RELEASE-p3 system, it seems that installations from ports is a must at this time:

Things like this are the reson why I am not in favor of using pkg as a way to update the base system and would rather like to see the base system be contained in one single image that gets (binary delta) updated.
Please keep in mind that updating helloSystem with pkg is not a supported aspect at this time (= possible but entirely untested and not actively debugged).

updating helloSystem with pkg is not a supported aspect at this time

:+1:

https://github.com/helloSystem/ISO/issues/125#issuecomment-774528428
My bad:

sudo git -C /usr clone -o freebsd -b stable/12 --depth 1 https://git.freebsd.org/src.git src

Wrong branch! For 12.2-RELEASE-p3 it should have been:
sudo git -C /usr clone -o freebsd -b releng/12 --depth 1 https://git.freebsd.org/src.git src
Reference: https://matrix.to/#/!qZXgYtEIHagWHrEQQb:matrix.org/$1612705540454645SmOSn:matrix.org?via=matrix.org&via=t2bot.io

releng/12.2 or better yet, the specific commit on that which corresponds to -p3 (I don't know if RE have started doing proper tags on patch releases yet, but they need to start doing that)

When I raised this incident, I did not realise that packages for 12.2 were built from 12.1 jails. That approach is ending.
From https://matrix.to/#/!qZXgYtEIHagWHrEQQb:matrix.org/$1612636778280808wSFLC:matrix.org?via=matrix.org&via=t2bot.io yesterday:

… the 12.x repo is built on 12.1 until after 12.1 is EOL, and then it's built on 12.2
… a full build takes nearly 4 days …

12.1 https://pkg-status.freebsd.org/builds/default:default:121amd64:563269:beefy6 began on Saturday 30th January, ran for around ninety-one hours:

openzfs was not amongst the failures.

12.2 https://pkg-status.freebsd.org/builds/default:default:122amd64:563982:beefy6 began on Thursday 4th February, around eighty-seven hours elapsed:

given the 12.1 success above and the 12.2 success below, it's reasonable to assume that this build will include sysutils/openzfs-kmod.

With sysutils/openzfs from the latest repo and sysutils/openzfs-kmod from ports:

boot succeeds
as far as I can tell, the opensolaris kernel module is not required.


Develop group

Hi,
(sorry for the many merge commit.. ?)
Thank, you have got raid of the secound panel in group and it make the interfase much better.
I adapted the samples:
https://github.com/qPCR4vir/nana-demo/blob/master/Examples/group.cpp
I also added a group constructor. You know, I like to construct in one step when possible.
I fixed two small problems.
I also compiled and run all the examples. There are some problems.
1- crash at begging:
FreeMe_v140_Debug_x86
draw_v140_Debug_x86
2- don't work and exception crash: graphics is empty
stretch_image_v140_Debug_x86
3- crash by closing the nana window, but not the system (console) windows:
widget_show2_v140_Debug_x86   --> but Now it shows the image in the button
widget_show_v140_Debug_x86    --> but Now it shows the image in the button
a_group_impl_v140_Debug_x86
Something with image?

The image::paste/stretch now throw an exception if the image object or graphic object is empty. It is good for avoiding potential bugs, but, as you can see, it may be a bit complicated, the graphics should be checked before calling image::paste/stretch.
I think another solution is much better.
void image::paste(const rectangle& r_src, graphics & dst, const point& p_dst) const
{
	if (image_ptr_)
	{
		if (dst.empty()) //create if it is empty, instead of throwing a exception
			dst.make({ r_src.width, r_src.height });	//throws if failed to create

		image_ptr_->paste(r_src, dst, p_dst);
	}
	else
		throw std::runtime_error("image is empty");
}


[Bug]: dartls not attaching to new buffer

Describe the bug
When opening a new dart file in a flutter project, the new buffer is not aware of the language server. I cannot use things like hover, go to definition, and completion is not working. The original buffer still works. FlutterLspRestart does not fix the issue.
The error message I get looks like this:
method textDocument/hover is not supported by any of the servers registered for the current buffer

Minimal config:
  use {
    'akinsho/flutter-tools.nvim',
    requires = 'nvim-lua/plenary.nvim',
    event = {"VimEnter"},
    config = function()
      local on_attach = function(client, bufnr)
        -- my binds, e.g.
        vim.keymap.set('n', '<space>h', vim.lsp.buf.hover, bufopts)
      end
      require("flutter-tools").setup{
        lsp = {
          on_attach = on_attach,
          color = {
            enabled = true,
            background = true,
            virtual_text = false,
          },
          settings = {
            showTodos = false,
            renameFilesWithClasses = "prompt",
            updateImportsOnRename = true,
            completeFunctionCalls = true,
            lineLength = 120,
          },
        },
        dev_log = { enabled = true },
      }
    end
  }

To Reproduce
Steps to reproduce the behavior:

Open a dart file
Open a second dart file in the same vim instance (via go to definition, or :e lib/another_file.dart
Attempt to hover
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
LspInfo shows that the LSP is not attached to any new buffers.

System information

OS: Arch
Flutter version: 3.3.2
Is flutter in $PATH: Yup!
neovim version: 0.7.2

Additional context
I use cmp and null-ls, if it matters.

I am seeing you addressed something for this here https://github.com/akinsho/flutter-tools.nvim/commit/0bd239706f3a512b4619118a0f1e736976ff4f46.. I've ensured that I'm updated to the latest commit

@jack-michaud I'm currently on nightly working on a flutter side project and don't see this issue. I haven't use stable in several months, so I don't know if it might relate to that, but I don't add changes to this plugin that often, so presumably it would have come up if it wasn't working for more people.
 This plugin tries to lazy load itself, so a user lazy loading it on top of its own efforts will probably lead to weirdness

Thanks for the rapid response @akinsho. I found that disabling Github copilot seemed to fix the issue, but I'll need to do more digging as to why. Up to you if you want to keep this issue open or close it since the fault may lie with copilot... other language servers do work. If I have more detail I'll update this thread.


Error in creating QLabel when comparing versions

I received the following automated bug report. It seems to result from trying to create a QLabel from an int.
Traceback (most recent call last):
  File "[Anonymized OpenSesame folder]\lib\site-packages\QOpenScienceFramework\manager.py", line 380, in <lambda>
    callback, *args, **kwargs
  File "[Anonymized OpenSesame folder]\lib\site-packages\QOpenScienceFramework\manager.py", line 839, in __reply_finished
    callback(reply, *args, **kwargs)
  File "[Anonymized OpenSesame folder]\share\opensesame_extensions\OpenScienceFramework\OpenScienceFramework.py", line 1141, in __process_file_info
    self.compare_versions(data)
  File "[Anonymized OpenSesame folder]\share\opensesame_extensions\OpenScienceFramework\OpenScienceFramework.py", line 530, in compare_versions
    remote_version_info=remote_info,
  File "[Anonymized OpenSesame folder]\share\opensesame_extensions\OpenScienceFramework\OpenScienceFramework.py", line 210, in __init__
    self.__setup_ui()
  File "[Anonymized OpenSesame folder]\share\opensesame_extensions\OpenScienceFramework\OpenScienceFramework.py", line 264, in __setup_ui
    QtWidgets.QLabel(self.local_version_info['filesize']))
TypeError: arguments did not match any overloaded call:
  QLabel(QWidget parent=None, Qt.WindowFlags flags=0): argument 1 has unexpected type 'long'
  QLabel(QString, QWidget parent=None, Qt.WindowFlags flags=0): argument 1 has unexpected type 'long'

Do you know on which platform/OS this occurred?

I see wat happens, the culprit is the line above:
# If filesize is given as int, humanize it to comprehensible notations
if type(self.local_version_info['filesize']) in [int]: #, long]: (no longer exists?)
	self.local_version_info['filesize'] = humanize.naturalsize(
		self.local_version_info['filesize'])
local_form_layout.addRow(_(u"Size:"),
	QtWidgets.QLabel(self.local_version_info['filesize']))

This looks like a compatibility issue between Python 2 and 3 again, in that the 'long' type no longer exists in Python 3 (as every int is automatically a long). I did not expect file sizes to be so large that they would ever have to be stored in a long, so I didn't check for it. Apparently someone has such large files and that causes this crash in python 2.

Do you have any large experiments at your disposal to test this? I only have them with sizes in the int range, and otherwise it will take ages to upload from my house with the limited upload speed I have here.

Will take a look. How large should this file be?

For 32-bit python that is a minumum size of 231-1 bytes (and you still use the 32-bit version to package OS on windows, right?, otherwise it is 263-1). You can also check the max integer size by looking up the value of sys.maxint. Any value longer than this will be stored as a long (in Python 2).
Just a sidenote: this is a problem of opensesame-extension-osf, not QOpenScienceFramework, so this issue is assigned in the wrong repo. No biggie though...

I looked at your patch and it's clearly correct. Let's close this issue and not bother the OSF with a > 2Gb upload!


Debugger only supports one call frame

This makes *CALL functions impossible. A prerequisite is exploration of how to create fakes with runopts.Configuration.StateDB, or run forks—it's not feasible to have the entire ecosystem written in SpecOps.

Implemented in #35


Fix UX for Availability panel

FO: @Pavangbhat
Issue :- No tasks found is displayed for a while before tasks get render :point_down:
https://user-images.githubusercontent.com/45538392/134010105-f8eb960f-55f2-4663-9966-7adbc9969f0b.mp4

I would like to take this issue


Change Obfuscator APIs to allow access to request/response

In order to implement something like: obfuscate specific parameters only for specific URLs

expose a low-level RequestObfuscator:

public interface RequestObfuscator {
    RawHttpRequest obfuscate(final RawHttpRequest request);
}


NeuronServer throws an exception when run from the build location

Describe the bug
the NeuronServer throws an exception when run from the build location, complaining about the NeuronEngineWrapper.
Even copying in those files from their original location will not solve this.
Application: Brain Simulator
Module/Network: N/A
To Reproduce
Steps to reproduce the behavior:

Download Github ZIP file.
Open solution in Visual Studio.
Rebuild All.
Got to the folder where NeuronServer.exe is, and start it.
Notice the error below:

Expected behavior
No error messages, and a running NeuronServer.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: Windows 10 Pro  20H2
Version 2021-04-15  master

Add any other context about the problem here.

Ah, tester error: I need to start it from the obj folder, and not from the bin folder.

Also, I’ll need to add a version check. If the engines are different versions from the UI, it would be easy to have a crash on older ones. Ex: if you disable a neuron and then run a server prior to that addition, it will likely crash. Because it’s machine-to-machine, there’s no intrinsic check like there is on local .dlls.
From: Andre Slabber @.>
Sent: Thursday, April 15, 2021 3:34 AM
To: FutureAIGuru/BrainSimII @.>
Cc: Subscribed @.***>
Subject: [FutureAIGuru/BrainSimII] NeuronServer throws an exception when run from the build location (#56)
Describe the bug
the NeuronServer throws an exception when run from the build location, complaining about the NeuronEngineWrapper.
Even copying in those files from their original location will not solve this.
Application: Brain Simulator
Module/Network: N/A
To Reproduce
Steps to reproduce the behavior:

Download Github ZIP file.
Open solution in Visual Studio.
Rebuild All.
Got to the folder where NeuronServer.exe is, and start it.
Notice the error below:

Expected behavior
No error messages, and a running NeuronServer.
Screenshots
If applicable, add screenshots to help explain your problem.
[IMG_20210415_122444]https://user-images.githubusercontent.com/11266191/114855622-75d71180-9de6-11eb-9607-f9118dfa8ea7.png
Desktop (please complete the following information):

OS: Winodws 10 Pro 20H2
Version 2021-04-15 master

Add any other context about the problem here.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/FutureAIGuru/BrainSimII/issues/56, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALP7S7QJ3QWSPIWI4H2VMCDTI26K5ANCNFSM427GPTPA.

Yup, DEFINITELY!
On 15 April 2021 at 13:51:32 +02:00, Charles Simon @.***> wrote:

Also, I’ll need to add a version check. If the engines are different versions from the UI, it would be easy to have a crash on older ones. Ex: if you disable a neuron and then run a server prior to that addition, it will likely crash. Because it’s machine-to-machine, there’s no intrinsic check like there is on local .dlls.
From: Andre Slabber @.>
Sent: Thursday, April 15, 2021 3:34 AM
To: FutureAIGuru/BrainSimII @.>
Cc: Subscribed @.***>
Subject: [FutureAIGuru/BrainSimII] NeuronServer throws an exception when run from the build location (#56)
Describe the bug
the NeuronServer throws an exception when run from the build location, complaining about the NeuronEngineWrapper.
Even copying in those files from their original location will not solve this.
Application: Brain Simulator
Module/Network: N/A
To Reproduce
Steps to reproduce the behavior:

Download Github ZIP file.
Open solution in Visual Studio.
Rebuild All.
Got to the folder where NeuronServer.exe is, and start it.
Notice the error below:

Expected behavior
No error messages, and a running NeuronServer.
Screenshots
If applicable, add screenshots to help explain your problem.
[IMG_20210415_122444]https://user-images.githubusercontent.com/11266191/114855622-75d71180-9de6-11eb-9607-f9118dfa8ea7.png
Desktop (please complete the following information):

OS: Winodws 10 Pro 20H2
Version 2021-04-15 master

Add any other context about the problem here.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/FutureAIGuru/BrainSimII/issues/56, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALP7S7QJ3QWSPIWI4H2VMCDTI26K5ANCNFSM427GPTPA.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/FutureAIGuru/BrainSimII/issues/56#issuecomment-820362886, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACV6RD5QDC7DWSP5NE4OGS3TI3HMJANCNFSM427GPTPA.

I’m finding a slew of other bugs in the NeuronServer interface. I haven’t touched it in a few months while I’ve been advancing other things.
I’m just running on a local machine and I posted a few bugs but will suspend until I can get something to work.
Charlie
From: Andre Slabber @.>
Sent: Thursday, April 15, 2021 9:18 AM
To: FutureAIGuru/BrainSimII @.>
Cc: FutureAI @.>; Comment @.>
Subject: Re: [FutureAIGuru/BrainSimII] NeuronServer throws an exception when run from the build location (#56)
Yup, DEFINITELY!
On 15 April 2021 at 13:51:32 +02:00, Charles Simon<EMAIL_ADDRESS>wrote:

Also, I’ll need to add a version check. If the engines are different versions from the UI, it would be easy to have a crash on older ones. Ex: if you disable a neuron and then run a server prior to that addition, it will likely crash. Because it’s machine-to-machine, there’s no intrinsic check like there is on local .dlls.
From: Andre Slabber<EMAIL_ADDRESS>Sent: Thursday, April 15, 2021 3:34 AM
To: FutureAIGuru/BrainSimII<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [FutureAIGuru/BrainSimII] NeuronServer throws an exception when run from the build location (#56)
Describe the bug
the NeuronServer throws an exception when run from the build location, complaining about the NeuronEngineWrapper.
Even copying in those files from their original location will not solve this.
Application: Brain Simulator
Module/Network: N/A
To Reproduce
Steps to reproduce the behavior:

Download Github ZIP file.
Open solution in Visual Studio.
Rebuild All.
Got to the folder where NeuronServer.exe is, and start it.
Notice the error below:

Expected behavior
No error messages, and a running NeuronServer.
Screenshots
If applicable, add screenshots to help explain your problem.
[IMG_20210415_122444]https://user-images.githubusercontent.com/11266191/114855622-75d71180-9de6-11eb-9607-f9118dfa8ea7.png
Desktop (please complete the following information):

OS: Winodws 10 Pro 20H2
Version 2021-04-15 master

Add any other context about the problem here.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/FutureAIGuru/BrainSimII/issues/56, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALP7S7QJ3QWSPIWI4H2VMCDTI26K5ANCNFSM427GPTPA.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/FutureAIGuru/BrainSimII/issues/56#issuecomment-820362886, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACV6RD5QDC7DWSP5NE4OGS3TI3HMJANCNFSM427GPTPA.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/FutureAIGuru/BrainSimII/issues/56#issuecomment-820557108, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALP7S7QI7QS5PSIG7HQC2YLTI4GVJANCNFSM427GPTPA.

Hi Charlie,
Good one to let simmer a while, the server thing is nice but not something that is essential in this stage of development.
Best Regards,
André
On 15 April 2021 at 18:43:48 +02:00, Charles Simon @.***> wrote:

I’m finding a slew of other bugs in the NeuronServer interface. I haven’t touched it in a few months while I’ve been advancing other things.
I’m just running on a local machine and I posted a few bugs but will suspend until I can get something to work.
Charlie
From: Andre Slabber @.>
Sent: Thursday, April 15, 2021 9:18 AM
To: FutureAIGuru/BrainSimII @.>
Cc: FutureAI @.>; Comment @.>
Subject: Re: [FutureAIGuru/BrainSimII] NeuronServer throws an exception when run from the build location (#56)
Yup, DEFINITELY!
On 15 April 2021 at 13:51:32 +02:00, Charles Simon<EMAIL_ADDRESS>wrote:

Also, I’ll need to add a version check. If the engines are different versions from the UI, it would be easy to have a crash on older ones. Ex: if you disable a neuron and then run a server prior to that addition, it will likely crash. Because it’s machine-to-machine, there’s no intrinsic check like there is on local .dlls.
From: Andre Slabber<EMAIL_ADDRESS>Sent: Thursday, April 15, 2021 3:34 AM
To: FutureAIGuru/BrainSimII<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [FutureAIGuru/BrainSimII] NeuronServer throws an exception when run from the build location (#56)
Describe the bug
the NeuronServer throws an exception when run from the build location, complaining about the NeuronEngineWrapper.
Even copying in those files from their original location will not solve this.
Application: Brain Simulator
Module/Network: N/A
To Reproduce
Steps to reproduce the behavior:

Download Github ZIP file.
Open solution in Visual Studio.
Rebuild All.
Got to the folder where NeuronServer.exe is, and start it.
Notice the error below:

Expected behavior
No error messages, and a running NeuronServer.
Screenshots
If applicable, add screenshots to help explain your problem.
[IMG_20210415_122444]https://user-images.githubusercontent.com/11266191/114855622-75d71180-9de6-11eb-9607-f9118dfa8ea7.png
Desktop (please complete the following information):

OS: Winodws 10 Pro 20H2
Version 2021-04-15 master

Add any other context about the problem here.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/FutureAIGuru/BrainSimII/issues/56, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALP7S7QJ3QWSPIWI4H2VMCDTI26K5ANCNFSM427GPTPA.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/FutureAIGuru/BrainSimII/issues/56#issuecomment-820362886, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACV6RD5QDC7DWSP5NE4OGS3TI3HMJANCNFSM427GPTPA.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/FutureAIGuru/BrainSimII/issues/56#issuecomment-820557108, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALP7S7QI7QS5PSIG7HQC2YLTI4GVJANCNFSM427GPTPA.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/FutureAIGuru/BrainSimII/issues/56#issuecomment-820573798, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACV6RD3NCYMGBDSOLTGD7QDTI4JUJANCNFSM427GPTPA.


[Feature Request]: Invite only

描述 | Description
I can't tell in the docs, is there a way to have users sign up through an invite link? Or is it 3rd party auth only and anyone can sign up?

By default, administrator could invite users in admin panel by create new user. sent e-mail via enabled STMP or you aslo review the invite link in created user detail page. (Missing the docs)
and zealot support 3-party auth login https://zealot.ews.im/docs/self-hosted/configuration/third-party-authentication


Automatic PR from RestAPI-PR1359

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/1359

Codecov Report

Merging #1276 into master will decrease coverage by <.01%.
The diff coverage is 42.1%.

@@            Coverage Diff             @@
##           master    #1276      +/-   ##
==========================================
- Coverage   55.82%   55.81%   -0.01%
==========================================
  Files        2616     2618       +2
  Lines       69846    69883      +37
==========================================
+ Hits        38992    39007      +15
- Misses      30854    30876      +22

Impacted Files
Coverage Δ

...06_01_preview/models/registry_update_parameters.py
100% <100%> (ø)
:arrow_up:

...dels/container_registry_management_client_enums.py
100% <100%> (ø)
:arrow_up:

...nerregistry/v2017_06_01_preview/models/__init__.py
100% <100%> (ø)
:arrow_up:

..._06_01_preview/operations/registries_operations.py
79.62% <5.55%> (-6.74%)
:arrow_down:

...istry/v2017_06_01_preview/models/registry_usage.py
50% <50%> (ø)

...06_01_preview/models/registry_usage_list_result.py
80% <80%> (ø)

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 f06553e...72e626f. Read the comment docs.


git push fails to push commit to Github when connection to Github times out using third-party git-lfs server

Git LFS server used here is a third-party implementation (Artifactory).
We encounter a failure to push commits on this scenario:

We are attempting to push a big file (around 500MB+) that takes a long time to upload to the Git LFS server (as I'm attempting to perform the operation from Manila, PH where internet connectivity is not that good).
The connection to Github times out during git push
The binary transfer seems to continue but the commit being pushed to github.com is not replicated there.

Earlier, I tried to perform git lfs push first as that just uploads the binary object to the git-lfs server. Thinking that once the git lfs push finishes I can push the git commit separately to Github (as I was thinking without the git-lfs push to worry about there won't be a timeout operation to github.com this time around) I then performed a git push. Unfortunately git-lfs push was reattempted by the git client, resulting again in this scenario.
Actual repository and git-lfs server URL used is changed in this log trace
GIT_TRACE=1 git push origin master
19:34:46.042047 git.c:344               trace: built-in: git 'push' 'origin' 'master'
19:34:46.044925 run-command.c:334       trace: run_command: 'ssh'<EMAIL_ADDRESS>'git-receive-pack '\''sample/resources.git'\'''
19:34:49.289295 run-command.c:334       trace: run_command: '.git/hooks/pre-push' 'origin' 'git@github.com:sample/resources.git'
19:34:49.300251 git.c:561               trace: exec: 'git-lfs' 'pre-push' 'origin' 'git@github.com:sample/resources.git'
19:34:49.303119 run-command.c:334       trace: run_command: 'git-lfs' 'pre-push' 'origin' 'git@github.com:sample/resources.git'
trace git-lfs: run_command: 'git' version
trace git-lfs: run_command: git rev-list --objects --stdin --
trace git-lfs: run_command: git cat-file --batch-check
trace git-lfs: run_command: git cat-file --batch
trace git-lfs: run_command: 'git' config -l -f /Users/myuser/resources/.lfsconfig
trace git-lfs: run_command: 'git' config -l
trace git-lfs: tq: running as batched queue, batch size of 100
trace git-lfs: tq: sending batch of size 1
trace git-lfs: api: batch 1 files
trace git-lfs: Filled credentials for https://artifactory.sample.com/artifactory/api/lfs/blob-lfs
trace git-lfs: HTTP: POST https://artifactory.sample.com/artifactory/api/lfs/blob-lfs/objects/batch
trace git-lfs: HTTP: 200
trace git-lfs: HTTP: {
  "objects" : [ {
    "oid" : "007cb9316869e1f46f51add103eb6cc7158d0d14205bf52fced4af425b843d88",
    "size" : 531734475,
    "_links" : {
      "upload" : {
        "href" : "https://artifactory.sample.com/blob-lfs/objects/00/7c/007cb9316869e1f46f51add103eb6cc7158d0d14205bf52fced4af425b843d88;sha256=007cb9316869e1f46f51add103eb6cc7158d0d14205bf52fced4af425b843d88",
        "header" : {
          "Authorization" : "Basic cGZhbGNvbmVAaXRyc2dyb3VwLmNvbTpBUEpFZTE3Y3FLSmo4QmpxZnJRVFBXR
trace git-lfs: HTTP: 0h2cg=="
        }
      }
    }
  } ]
}
trace git-lfs: HTTP:
trace git-lfs: tq: starting transfer adapter "basic"
Git LFS: (0 of 1 files) 0 B / 507.10 MB                                        trace git-lfs: xfer: adapter "basic" Begin() with 3 workers
trace git-lfs: xfer: adapter "basic" started
trace git-lfs: xfer: adapter "basic" Add() for "007cb9316869e1f46f51add103eb6cc7158d0d14205bf52fced4af425b843d88"
trace git-lfs: xfer: adapter "basic" worker 2 starting
trace git-lfs: xfer: adapter "basic" worker 0 starting
trace git-lfs: xfer: adapter "basic" worker 2 waiting for Auth
trace git-lfs: xfer: adapter "basic" worker 0 processing job for "007cb9316869e1f46f51add103eb6cc7158d0d14205bf52fced4af425b843d88"
trace git-lfs: xfer: adapter "basic" worker 1 starting
trace git-lfs: xfer: adapter "basic" worker 1 waiting for Auth
trace git-lfs: HTTP: PUT https://artifactory.sample.com/artifactory/blob-lfs/objects/00/7c/007cb9316869e1f46f51add103eb6cc7158d0d14205bf52fced4af425b843d88;sha256=007cb9316869e1f46f51add103eb6cc7158d0d14205bf52fced4af425b843d88
trace git-lfs: xfer: adapter "basic" worker 2 auth signal received
trace git-lfs: xfer: adapter "basic" worker 1 auth signal received
Git LFS: (0 of 1 files) 214.73 MB / 507.10 MB                                  Connection to github.com closed by remote host.
 If Git LFS allowed the push to the git host even though the push to the lfs host failed, then you'd end up with an incomplete repository with missing LFS objects. We could add a flag to allow git pushes after failed lfs uploads, but I'm not really sure why someone would want that.
Running git lfs push before a git push should only upload objects once, but only if Git LFS is scanning the same range of commits for both operations. Unfortunately, this isn't easy to get from GIT_TRACE=1 output:
$ GIT_TRACE=1 git lfs push origin master
10:48:50.053749 git.c:563               trace: exec: 'git-lfs' 'push' 'origin' 'master'
10:48:50.054249 run-command.c:336       trace: run_command: 'git-lfs' 'push' 'origin' 'master'
trace git-lfs: run_command: 'git' version
trace git-lfs: Upload refs [master] to remote origin
trace git-lfs: run_command: git rev-list --objects master --not --remotes=origin --
trace git-lfs: run_command: git cat-file --batch-check
trace git-lfs: run_command: git cat-file --batch
trace git-lfs: run_command: 'git' config -l
trace git-lfs: tq: running as batched queue, batch size of 100
trace git-lfs: tq: sending batch of size 0

Based on that, you can see that it's looking for LFS objects in your master branch that have not been pushed to the origin remote.
git rev-list --objects master --not --remotes=origin --

Your output shows a little less info:
19:34:49.303119 run-command.c:334       trace: run_command: 'git-lfs' 'pre-push' 'origin' 'git@github.com:sample/resources.git'
trace git-lfs: run_command: 'git' version
trace git-lfs: run_command: git rev-list --objects --stdin --
trace git-lfs: run_command: git cat-file --batch-check
trace git-lfs: run_command: git cat-file --batch

The git lfs pre-push gets the exact range of commits that it's going to upload to your remote. It then scans those commits for LFS objects to upload. Unfortunately, our tracing doesn't report the exact commits. We can look into making these trace messages more useful.

Running git lfs push before a git push only uploading objects once is the behavior I am expecting if the uploading operation is long enough to make github.com close the connection. Pushing to github.com should normally just transmit the commit and the pointer (since it has already been uploaded before).

@pfalcone-itrs: thanks for following up! 😄
This behavior is supported in Git LFS as I understand it. If you already have pushed LFS objects up to your remote by means of a git lfs push, the subsequent git push will skip those previously uploaded objects.
The steps I took to reproduce this were:

Initialize a new repository
Preform a git lfs track.
Committed and pushed my .gitattributes file.
Inserted contents into a LFS-tracked file, "a.dat"
Committed that file locally.
Pushed the new LFS objects (via git lfs push)
Did a normal Git push (git push) and LFS skipped the previously-pushed objects.

~/d/g/lfs-test (master) $ g lfs push origin master
Git LFS: (1 of 1 files) 8 B / 8 B

~/d/g/lfs-test (master) $ git push
Git LFS: (0 of 0 files, 1 skipped) 0 B / 0 B, 8 B skipped                                                                                Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 396 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To git@github.com:ttaylorr/lfs-test.git
   57489d8..43b5863  master -> master

Hi @pfalcone-itrs, I'm going to close this one out for now, since things are pretty quiet in this issue. If you have any further questions, please don't hesitate to re-open this!


Do not connect db before initializing application

Usually AR has no connection before initializing application because it gets database information dynamically at the time of execution.
Also we invoke rake db:setup when build a development environment at first time.
Unfortunately, bitmask_attributes raises exception because there are no tables.

Is someone still maintaining this repository ? Would like to have this one closed as I'm facing the same issues

This repository is no longer maintained 😢


VECTOR-76: Add back vector size guardrail

patch by Andrés de la Peña; reviewed by Brandon Williams and Maxwell Guo for CASSANDRA-18730

ship it!


Update native-tls version to 0.2

This doesn't appear to compile.

Build completed successfully with latest stable rustc 1.29
Tests are passed successfully

The build failure is due to one of the dependencies having started to require >1.17 Rust. According to travis, compilation works on stable.

The new implementation of TlsConnector (native-tls 2.1) has no method danger_connect_without_providing_domain_for_certificate_verification_and_server_name_indicatio
All configuration of the TlsConnector should be done in TlsConnectorBuilder.
I see no ways to avoid breaking changes
The old functionality is still accessible via custom TlsConnector and method from

@sfackler  Could you please clarify what do you expect from my side?

Let's bump the minimum supported Rust version to fix the build, and then I'll cut an 0.3 release.

The minimum supported version to build it is 1.21

This should be good to go with a rebase.


Can I get the record file?

when  finish recognizer or translationRecognizer ，I want save the audio data in a record file,how to do it in iOS?

If you want to save audio data in a file, you can capture the audio before sending to SDK. For example, your application reads data from microphone, writes the data to file, and at the same time, write the same data to SDK via SPXPushAudioInputStream for recognition/translation. The SDK itself does not have the functionality to save audio data in a file.

OK,I do it ,and that is ok


[Module Proposal]: Pattern Module for FinOps Hubs

Check for previous/existing GitHub issues/module proposals

[X] I have checked for previous/existing GitHub issues/module proposals.

Check this module doesn't already exist in the module indexes

[X] I have checked for that this module doesn't already exist in the module indexes; or I'm proposing the module to be migrated from CARML/TFVM.

Bicep or Terraform?
Bicep
Module Classification?
Pattern Module
Module Name
avm/res/FinOps-hubs
Module Details
This module pattern is going to deploy FinOps Hubs: https://microsoft.github.io/finops-toolkit/hubs
Do you want to be the owner of this module?
Yes
Module Owner's GitHub Username (handle)
arthurclares
(Optional) Secondary Module Owner's GitHub Username (handle)
sebassem

@arthurclares, thank you for proposing this module! As this is categorized as a pattern module, its approval will require a more thorough assessment. The AVM core team will get back to you soon. Thank you for your patience!

@arthurclares, based on our internal discussion, this module will be approved, we just need to finalize the name. Please let me know your thoughts on the proposed options in the internal discussion thread, so we can take the next steps. Thank you!

@arthurclares, thank you for your patience! Based on our internal discussion, this module is now approved for development under the following name: avm/ptn/finops-toolkit/finops-hub. Name and details of this issue have also been updated to reflect this.
There's one last step: we need to do a "handshake". Please just respond to my below message by repeating the quoted text, when you reviewed and agree to everything. Thanks!

Hi @arthurclares,
Thanks for requesting/proposing to be an AVM module owner!
We just want to confirm you agree to the below pages that define what module ownership means:

Team Definitions & RACI
Shared Specification (Bicep & Terraform)
Module Support

Any questions or clarifications needed, let us know!
If you agree, please just reply to this issue with the exact sentence below (as this helps with our automation 👍):
"I CONFIRM I WISH TO OWN THIS AVM MODULE AND UNDERSTAND THE REQUIREMENTS AND DEFINITION OF A MODULE OWNER"
Thanks,
The AVM Core Team
#RR

I CONFIRM I WISH TO OWN THIS AVM MODULE AND UNDERSTAND THE REQUIREMENTS AND DEFINITION OF A MODULE OWNER

Hi @arthurclares,
Thanks for confirming that you wish to own this AVM module and understand the related requirements and responsibilities!
Before starting development, please ensure ALL the following requirements are met.
Please use the following values explicitly as provided in the module index page:

For your module:

ModuleName - for naming your module
TelemetryIdPrefix - for your module's telemetry

For your module's repository:

Repo name and folder path are defined in RepoURL
Create GitHub teams for module owners and contributors and grant them permissions as outlined here.
Grant permissions for the AVM core team and PG teams on your GitHub repo as described here.

Check if this module exists in the other IaC language. If so, collaborate with the other owner for consistency. 👍
You can now start the development of this module! ✅ Happy coding! 🎉
Please respond to this comment and request a review from the AVM core team once your module is ready to be published! Please include a link pointing to your PR, once available. 🙏
Any further questions or clarifications needed, let us know!
Thanks,
The AVM Core Team

PR submitted https://github.com/Azure/bicep-registry-modules/pull/1808

[x] Module published.
[x] GitHub teams are available and assigned to their parents.
[x] CODEOWNERS file updated.

Thank you for your work @sebassem! I'm closing this issue now.


#530: "MapId" field is now accessible from mapping metadata.

#530
Purpose
Fixes access to mapId field in field mapping metadata.

@vadeg ; can you rebase/squash. have pushed license update.


”Drăganu”, ”Mărgineni”, ”Pietroasa” are listed in the drop-down menu

Description:
When user writes ”Drăganu”, ”Mărgineni”, ”Pietroasa” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Drăganu"

Expected results
The location appears in the drop-down menu as "Sat Drăganu, VÂLCEA (Valea Mare)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Mărgineni"

Expected results
The location appears in the drop-down menu as "Sat Mărgineni, VÂLCEA (Valea Mare)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Pietroasa"

Expected results
The location appears in the drop-down menu as "Sat Pietroasa, VÂLCEA (Valea Mare)".


pluggin doesnt seem to allow depug output of each new window.

Is there a way to debug the game as if you started a single window? how would i go about getting debug info when using this plugin?

I agree that this would be really useful.
The best solution would be to run the first game instance regularly (as if F5 were pressed). Unfortunately, I don't know how to do that, maybe someone can help me?
There is a virtual method build() in the editor plugin node, but this can only be used to capture when the user is starting the game and not start it by itself.
Have I missed something or is there an alternative?

This issue was fixed in the last commit.
Essentially the first instance of the game is now started in the Godot editor so it gets the debugging by default.


Transaction construction end-to-end test in CI

A zk app that we deploy on a integration test network and send transactions with mina signer
In the test in the Mina repo
Maybe: clone snarkyjs@alpha, use local copy of signer; during the integration test

Instead of clone in CI, make snarkyjs a git submodule of mina
Create process for snarkyjs releases that is tied to updating the submodule in mina, so that CI ensures the end-to-end test is passing


[BUG] TypeError: Cannot read properties of null (reading 'route') in AAve Yield Bot on Base

Cannot read properties of null (reading 'route') in AAve Yield Bot on Base.
See the log20241128_Route_error.log

Won't fix. unable to repro


Is Google Yolo opened to public?

It seems like it is in a private beta right now (and registration are closed). Do you know if it's a feature opened to the public? It may explain why I get an error. :)

It seems like it is in a private beta right now (and registration are closed). Do you know if it's a feature opened to the public? It may explain why I get an error. :)

From what I've read online in StackOverflow, Twitter, & yCombinator.
All of the developers claim it's only reserved for select companies. Possible reason is the clickjacking scenario
https://twitter.com/sirdarckcat/status/994867137704587264
https://stackoverflow.com/questions/50289065/google-yolo-stop-working-the-client-origin-is-not-permitted-to-use-this-api
https://blog.innerht.ml/google-yolo/
https://news.ycombinator.com/item?id=17044518#17045809

@abegit Thank you! Do you know when it is planned to be available for all websites?

@LeCoupa I haven't found any information related to a release date, and the submission forms for requesting to be on the approved partners list seems to be private.  :(
So we decided to work on a widget is able to show users which account they want to log into. Like ab account chooser. I could show you a demo video of this when I'm done if you're interested.
Which web framework were you going to implement this for?

Yes, sure! I am using Vue.js :)

Hi there. Do you know, can I use google yolo now, at 2019?

They made no announce yet.


[documentation] Add on readMe how to use award xp on journal

When you load the module the first time it shows you in a chat message how to use the enrichers.  However this is a useful suggestion and I should probably add it


insufficient contrast ratios in the ui

todomvc apps are very hard for me to look at because of how light and small all the text is. i ran a a11y test on the backbone example using tota11y and it showed that there were numerous insufficient contrast ratios (there's also no label for the input, but that's an issue for another todomvc repo i imagine).
i didn't see any info on how to contribute to this repo, so i'm leaving this issue instead of working on a pr, but i would be happy to help with making some css changes so that the ui is easy for more people to see!
thanks for your work on todomvc and also your time reading this <3

Hey Jenn, thanks for opening the issue. This seems like a great opportunity to make some revisions to the styling to make sure that the application passes basic contrast rules.
The process for updating styles is somewhat... non-obvious but essentially it goes like this

update the CSS in this repo
1.b bump the package.json and publish a new version
(happy to do this) Update all of the projects in todomvc to refer to the latest a11y fixed css version and commit the changes back into the repo.
\o/

Let me know how I can help!
Thanks again for filing the issue.


Job listing

issue #55
pr #75
job listing page with listing through javascript
and search functionality

resolve it

yes working

@KajalDeore04 if you have doubts on how to resolve join the discord server and ask there

hey i was working on the jobs.html so i made changes for cards to insert them dynamically through js but it is still showing the write access conflict

join the discord server


docs: add further build info

This PR adds the changes requested by @digama0 in #669, explaining how to reset build configuration after creating the docs.

My apologies for not adding this in the original PR, I got very busy and didn't get a change to do it before it was merged.


Adding the supports for other models

I was wondering whether adding the support for other models e.g. from different endpoints like HuggingFace or AWS SageMaker is on the roadmap?

At the moment, the only external API format supported is OpenAI's. One workaround you could do is using LiteLLM proxy to connect to multiple different external APIs, and then connect ollama-webui to litellm. Here's their documentation: https://litellm.vercel.app/docs
And here's an example docker-compose.yaml I use to deploy both ollama-webui and litellm together in a stack:
version: '3.9'

services:
  webui:
    image: ghcr.io/ollama-webui/ollama-webui:main
    environment:
      - "OLLAMA_API_BASE_URL=${OLLAMA_API_BASE_URL}"
      - "OPENAI_API_BASE_URL=http://openai-proxy:8000/v1"
      - "OPENAI_API_KEY=${LITELLM_API_KEY}"
    ports:
      - 3000:8080
    volumes:
      - ./ollama-webui/data:/app/backend/data
    restart: unless-stopped

  openai-proxy:
    image: ghcr.io/berriai/litellm:main-latest
    environment:
      - "MASTER_KEY=${LITELLM_API_KEY}"
      - "OPENAI_API_KEY=${OPENAI_API_KEY}"
      - "MISTRAL_API_KEY=${MISTRAL_API_KEY}"
      - "ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}"
    ports:
      - 4000:8000
    volumes:
      - ./litellm/config.yaml:/app/config.yaml
    command: [ "--config", "/app/config.yaml", "--port", "8000" ]
    restart: unless-stopped

@justinh-rahb We should add this info to /docs as well, I feel like a lot of people will find this useful!

@justinh-rahb We should add this info to /docs as well, I feel like a lot of people will find this useful!

Would you be alright having a litellm.config.yml.example file in the repo people could copy/modify with a simple config for the above setup with the top APIs and models? And adding another Docker compose file including it?

This is great info, thanks! It should for sure be in the docs

I'll merge this issue with #432, Let's continue our discussion there!

@justinh-rahb  could you please share your config,yaml file. I am struggling to get the litellm working but I can't see them in the list of the models
Thanks
my email is<EMAIL_ADDRESS>


Update Uber badge style

Recently Uber change their branding colours and icons. So it will be cool if someone upload new icons to SDK.

Great point!  We're working on this for the next release.

New branding added to the buttons in release v0.3.0


Don't give away the answer on the first try

I think it's pretty tempting for the student of the Koan to simply copy the "expected" string into the answer for the koan:
Line 143 may offer a clue as to how you may progress, now make haste!
What went wrong:
expected:<I am a number TWO!> but was:<REPLACE ME>

It might be effective to have the error message read something like this:
expected:<Something other than REPLACE ME> but was:<REPLACE ME>

As long as the answer is __ (REPLACE ME).

I think I need to change the implementation of Assert.fail(String, Object, Object) to get this to work.


Update GrpcService to add StsService. (#411)

Signed-off-by: John Plevyak<EMAIL_ADDRESS>For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

Target //source/exe:envoy-static up-to-date:
  bazel-bin/source/exe/envoy-static

INFO: Elapsed time: 424.411s, Critical Path: 94.57s


package fails to install local rpm

Chef Client version 12.1.1
sample recipe is:
package_url = node['enterprise-chef']['url']
package_name = ::File.basename(package_url)
package_local_path = "#{Chef::Config[:file_cache_path]}/#{package_name}"

remote_file package_local_path do
  source package_url
end

package package_local_path

execute 'chef-server-ctl reconfigure'

where node['enterprise-chef']['url'] is the current chef-server download
https://web-dl.packagecloud.io/chef/stable/packages/el/6/chef-server-core-12.0.6-1.el6.x86_64.rpm
This recipe is from the "Learning Chef" book. It downloads the chef-server-core rpm, places it in tmp, the package fails to install the rpm, and the execute will fail. If package is changed to rpm_package, it will install just fine.  This was testing in kitchen under centos-6.6 and centos-6.5.

Duplicate: Chef 12.1.1 yum_package silently fails #3059


Device font settings to bold font lead icon to cut off from edges

[X] Review the documentation: https://github.com/oblador/react-native-vector-icons
[X] Search for existing issues (including closed issues): https://github.com/oblador/react-native-vector-icons/issues

Environment
react-native : 0.55.1
react-native-vector-icons : 6.1.0

Description
Whenever we change phone font setting and set it to bold font then icon gets cut off from the top and right edges. It works when system font not set to bold. Is there a way to not get effect icons from system global bold font setting. It should be look same in font bold enable mode as well.
This only issue in android. In IOS making font bold from system setting doesn't affect it.
Here is an icon without system bold setting

And here is an icon after enable system font bold setting

Reproducible Demo
I was testing on Samsung s10. You need to just enable font bold setting from setting.
Goto Setting > Accessibility > Visibility enhancements > Font size and style > enable 'Bold font'

We’ve just released a major new version with significant changes and improvements. If you’re still experiencing this issue after upgrading, please open a new issue with updated details. We're closing all the very old issues to get on top of things. Thanks for your patience!


Permissions prevent running on OpenShift

This is essentially the same issue as #49 in a different contex. Let me know if you'd prefer to resurrect that discussion instead.

Docker image used: docker.elastic.co/elasticsearch/elasticsearch:5.5.2
Operating System: CentOS 7.3 (running OpenShift 3.6/Kubernetes 1.6.1)
Steps to reproduce:

Create a new pod/deployment using the docker.elastic.co/elasticsearch/elasticsearch:5.5.2 image
Pod will fail on creation with /bin/bash: bin/es-docker: Permission denied

Bug Description
The permissions on /usr/share/elasticsearch/bin/es-docker (and parent directories) only allow read and execute for the hard-coded elasticsearch user. This prevents the container from even starting (Permission denied for bin/es-docker file). Even fixing that specific issue, using something like the below, just results in different permissions problems down the line.
FROM docker.elastic.co/elasticsearch/elasticsearch:5.5.2
USER root
RUN chgrp -R 0 /usr/share/elasticsearch && chmod -R g+rx /usr/share/elasticsearch/
USER elasticsearch

Is there no way to run the elasticsearch container on platforms with runtime user IDs?

@agc93 This has been discussed before and some general guideline bullets can be seen in the bold section of this comment.
If you can't use docker volumes (see the link above), the best approach would be to adjust the gid of the elasticsearch on your host for the gid:1000 (e.g. with chgrp -R 1000 and chmod -R g+rw).
Failing that, you can create a customized docker image as shown here, where you can pass the UID/GID during build time:
https://github.com/elastic/elasticsearch-docker/issues/49#issuecomment-309010170
Note that Elasticsearch bootstrap checks will fail is you try to run as root, (reasoning here) so you can't use UID/GID: 0. You will find that some Docker images run the initial CMD as root and mutate the UID/GID of the bind mounted dir to grant write privileges to the elasticsearch user; we feel that mutating host directories from the container breaks the isolation promise of containerization and can lead to unexpected surprises.

Thanks @dliappis !
I'm already using a volume for the data directory, but as shown in the original comment, the issue is that even the entrypoint script cannot be run by a user other than elasticsearch/1000. This is the case for the config directory as well.
Using OpenShift (and some other Kubernetes platforms) the user ID is only known at runtime instead of at build time making the Dockerfile approach somewhat difficult. I'll give that a shot, but that can be a bit tricky.
Agreed re the host mutation being a bit dodgy :)

You are welcome @agc93 !
For the k8s case we have a similar open issue, #90.
After searching a bit, my understanding is that it's now possible to use the securityContext definition in the Pod.spec as shown here: https://github.com/kubernetes/kubernetes/issues/2630#issuecomment-323147775; also check this comment. This should be possible after k8s ver 1.7.
You can also use an init container workaround, as shown here.
Finally there is a third alternative, building your own custom image:

Use the following Dockerfile to grant some sudo rights and chgrp -R 1000 the data dir:

FROM docker.elastic.co/elasticsearch/elasticsearch:5.6.0
USER root
RUN yum install -y sudo && \
    yum clean all && \
    echo "elasticsearch ALL= NOPASSWD: /usr/bin/chgrp -R 1000 /usr/share/elasticsearch/data" > /etc/sudoers.d/elasticsearch && \
    chmod 0440 /etc/sudoers.d/elasticsearch
USER elasticsearch
# Modify permissions of /usr/share/elasticsearch/data before we start elasticsearch
RUN sed -i '$isudo /usr/bin/chgrp -R 1000 /usr/share/elasticsearch/data' /usr/share/elasticsearch/bin/es-docker

Build your customized image (e.g. I used docker build -t mutating_es .).

I tested this using a user dockertest with uid/gid 1001, with no sudo rights what-so-ever (but access to the docker group):
$ sudo su - dockertests

$ id
uid=1001(dockertests) gid=1001(dockertests) groups=1001(dockertests),975(docker)

$ cd es-issue-114/
$ ls
$ mkdir myesdata
$ ls -ldn myesdata/
drwxrwxr-x 2 1001 1001 4096 Sep 18 17:46 myesdata/

$ docker run --rm -d -p 9200:9200 -v $PWD/myesdata:/usr/share/elasticsearch/data mutating_es:latest
e76037de0f49cb09473f36592c2479664a80078ffaab150230cc00a1c2d6b01a

Now if we check the perms of the host data dir, we can see the group ownership has changed:
$ ls -ldn myesdata/
drwxrwxr-x 3 1001 1000 4096 Sep 18 17:46 myesdata/

[dockertests@MS-7885 es-issue-114]$ curl -u elastic:changeme localhost:9200 | jq .
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   328  100   328    0     0   2121      0 --:--:-- --:--:-- --:--:--  2129
{
  "name": "2fPKgAy",
  "cluster_name": "docker-cluster",
  "cluster_uuid": "SzCBbtybRqmMGkTeZl3Y5A",
  "version": {
    "number": "5.6.0",
    "build_hash": "781a835",
    "build_date": "2017-09-07T03:09:58.087Z",
    "build_snapshot": false,
    "lucene_version": "6.6.0"
  },
  "tagline": "You Know, for Search"
}

Thanks for the info @dliappis, and sorry for taking so long closing the loop on this one (been out of the country).
I've currently got it running successfully using my own image using the following Dockerfile:
FROM docker.elastic.co/elasticsearch/elasticsearch:5.5.2
USER root
RUN chgrp -R 0 /usr/share/elasticsearch && \
    chmod -Rf g+rwx /usr/share/elasticsearch
USER elasticsearch

Would you guys accept a PR to the official image with this change in group ownership?

A bit of background
So the issue being hit here is not strictly related to the data directory, and more importantly isn't related to the user who starts the container (i.e. dockertests in your example).
Openshift uses semi-random high UIDs as the actual container user (i.e. overriding the value of USER). It is possible to disable this using securityContext, but is not always recommended and not always possible (GKE/OpenShift Online for example). Additionally, using scc inside templates gets pretty unwieldy and can break portability.
The one predictable point is that the high UIDs are (automatically) members of the root group (ID 0) which is why the solution above works in OpenShift but the out-of-box image doesn't (everything is hardcoded to elasticsearch:elasticsearch / 1000:1000)

Thanks for the update @agc93 .
I'd be interested to hear on which occasions securityContext is not recommended, if you have some links. In our experience most docker images that use a preconfigured user, such as database images, consul etc. get executed with the securityContext, to override the group for bind mounted volumes.
However, the random UIDs that overrides the USER definition in the image's Dockerfile seems unique to Openshift. We had a look at GKE and it seems that, if specified, the USER that CMD/Entrypoint runs as, is not affected.
Your offer for a PR is highly valued thanks! I think we wouldn't want to grant +x to all files under /usr/share/elasticsearch though (referring to: chmod -Rf g+rwx /usr/share/elasticsearch). I have been planning to PR the sudo solution for granting access to bind mounts in my earlier comment, through a startup option (env var). However, this will not solve the problem you are describing with Openshift which, by taking over the USER with a random high UID, doesn't even let the CMD wrapper script run in the first place.
Let me think about the options a little more and get back here soon.
cc @tylerjl

Thanks @dliappis !
The recommendation against securityContext I've seen is mostly more a case of "if you use these, it's best to also change the security options".  With OpenShift (and Kubernetes' new RBAC, which is based on OpenShift's), the out-of-box security has quite a clear division between privileged and unprivileged and not much middle-ground. To effectively add securityContext to the mix often means adjusting these as well.
That being said, the document I had read recommending against it outright has been updated, so I suspect this has changed in more recent k8s/openshift releases.

We had a look at GKE and it seems that, if specified, the USER that CMD/Entrypoint runs as, is not affected.

Huh, good to know! :smile: Must just be OpenShift doing this then (thought I had my local k8s doing this once, must have set it up wrong).
Agreed, the +x might be a little overzealous, but it was for a PoC :laughing:
Let me know how you want to proceed!

Closed by https://github.com/elastic/elasticsearch-docker/pull/125

Hey @agc93 the recently released 6.0.0-rc2 contains #125 , do you think you could give it a try in Openshift to seen if it works as expected?


New 'Get started" section

Rendering available here:
http://<IP_ADDRESS>:8080/foo

The error in CI is known, and seems to be a conflict with how grav and our link checker works and is a false positive.
 01.Get-started/02.Deploy-an-application-update/docs.md
     63:1-63:60  warning  Link to unknown heading: `step-1-create-a-deployment`. Did you mean `step-1---create-a-deployment`  missing-heading  remark-validate-links
   107:1-107:60  warning  Link to unknown heading: `step-1-create-a-deployment`. Did you mean `step-1---create-a-deployment`  missing-heading  remark-validate-links

step-1-create-a-deployment - does generate a valid link when rendered
step-1---create-a-deployment - does remove the error from the link checker but does not work when the site is rendered.
@oleorhagen, is looking in to this.

The error in CI is known, and seems to be a conflict with how grav and our link checker works and is a false positive.
 01.Get-started/02.Deploy-an-application-update/docs.md
     63:1-63:60  warning  Link to unknown heading: `step-1-create-a-deployment`. Did you mean `step-1---create-a-deployment`  missing-heading  remark-validate-links
   107:1-107:60  warning  Link to unknown heading: `step-1-create-a-deployment`. Did you mean `step-1---create-a-deployment`  missing-heading  remark-validate-links

step-1-create-a-deployment - does generate a valid link when rendered
step-1---create-a-deployment - does remove the error from the link checker but does not work when the site is rendered.
@oleorhagen, is looking in to this.

I'm sorry it took so long, I was having issues rendering the site to see if what I was doing worked.
The issue is that the dash in the section header needs to be escaped, so:
#step-1-\--create-a-deployment

Seems to work :+1:

Hmm, this didn't work me for.
diff --git a/01.Get-started/02.Deploy-an-application-update/docs.md b/01.Get-started/02.Deploy-an-application-update/docs.md
index 8cb542e..5c1d80a 100644
--- a/01.Get-started/02.Deploy-an-application-update/docs.md
+++ b/01.Get-started/02.Deploy-an-application-update/docs.md
@@ -60,7 +60,7 @@ using Mender!
 ## Step 2 - Modify the application

 The UI tooltips should now take you through modifying the web page you saw in
-[Step 1 - Create a Deployment](#step-1-create-a-deployment). Follow the
+[Step 1 - Create a Deployment](#step-1-\--create-a-deployment). Follow the
 instructions showed on the pop-up and click the **NEXT** button when done.

 ![Upload web page](Image_13.png)
@@ -104,7 +104,7 @@ Fill out the required fields and click the **UPLOAD** button.
 You now have a new Artifact under the **Releases** tab. Use the new Artifact
 to create a deployment by clicking **CREATE DEPLOYMENT WITH THIS RELEASE** and
 click trough the deployment wizard, similarly to what you did in
-[Step 1 - Create a Deployment](#step-1-create-a-deployment).
+[Step 1 - Create a Deployment](#step-1-\--create-a-deployment).

 ![Upload web page](Image_19.png)

I think I did the changes correct, but the rendered link does not work. That \ ends up in the link,
http://localhost:8080/foo/get-started/deploy-an-application-update#step-1-\--create-a-deployment

diff --git a/01.Get-started/02.Deploy-an-application-update/docs.md b/01.Get-started/02.Deploy-an-application-update/docs.md
index 8cb542e..35df786 100644
--- a/01.Get-started/02.Deploy-an-application-update/docs.md
+++ b/01.Get-started/02.Deploy-an-application-update/docs.md
@@ -104,7 +104,7 @@ Fill out the required fields and click the **UPLOAD** button.
 You now have a new Artifact under the **Releases** tab. Use the new Artifact
 to create a deployment by clicking **CREATE DEPLOYMENT WITH THIS RELEASE** and
 click trough the deployment wizard, similarly to what you did in
-[Step 1 - Create a Deployment](#step-1-create-a-deployment).
+[Step 1 - Create a Deployment](#step-1-\--create-a-deployment).

 ![Upload web page](Image_19.png)

http://<IP_ADDRESS>:8090/foo/get-started/deploy-an-application-update#step-1-create-a-deployment

Are we using different browsers? Can you try it on this location:
http://<IP_ADDRESS>:8080/foo/get-started/deploy-an-application-update

Are we using different browsers? Can you try it on this location:
http://<IP_ADDRESS>:8080/foo/get-started/deploy-an-application-update

You are right @mirzak, and I am wrong (as usual).
It seems that it is the link-checker which is wrong.
It was kinda hard to figure out who or what was at fault here, or how to work around it.
I had a look at the markdown specification from github: https://github.github.com/gfm/#link-destination
The implementation on github: https://github.com/jch/html-pipeline/blob/master/lib/html/pipeline/toc_filter.rb
But the clearest explanation is here I think: https://docs.gitlab.com/ee/user/markdown.html#header-ids-and-links

All text is converted to lowercase.
All non-word text (such as punctuation or HTML) is removed.
All spaces are converted to hyphens.
Two or more hyphens in a row are converted to one.
If a header with the same ID has already been generated, a unique incrementing number is appended, starting at 1.

Where (4) is of our interest it seems.
Which means I'm gonna spend the next minutes trying to debug node.js code (go me).

Okay, done a little bit more digging. And the form which fails here, is valid in both Gitlab and Github. It is just Grav which does not play nice with it :/


[1.7.10] Incompatibility with makamys' fork of RenderPlayerAPI

When Ears v1.4.5_01 is loaded alongside this fork of RenderPlayerAPI, the game will crash on entering a world.
crash-2023-02-03_18.27.02-client.txt

This is a duplicate of #34. My fork doesn't contain any functional changes, it's just a mirror for easy access by build scripts.


added SELENIUM_PROMISE_MANAGER to the acceptable cli arguments

Added cla account

Just to make it clear what value this adds, the intent is that it could be toggled on and off at the command line instead of in the protractor.conf so that it could be toggled off for some tests and not others - allowing an incremental refactor of tests that are currently dependent on the promise manager before it becomes fully phased out.

How would this change work, though? The code one writes inside of a test is quite different with the promise manager turned off. Is there a use case for running the exact same test code, but then deciding at run time to flip this switch?

So let me start by saying that I may not be 100% on the context that led me down this path as I opened the issue almost a year ago - but that being said the use case that led me to this, I believe, was:
We had a giant repository of hundreds (thousands?) of protractor tests that were all being governed by one configuration file, and we used command line arguments to dictate a certain subset of files (which we referred to as suites).
At some point we wanted to begin the refactor of converting these tests to no longer use selenium promise manager but didn't want to all-or-nothing the switch but instead selectively refactor tests over time to be compatible with the lack-of the selenium promise manager.
Trying to resolve this led me, if I recall correctly, down one of two paths - one was managing which configuration file was executed against - or flagging suites as having been refactored and turning the promise manager off if a flagged suite was encountered.
The first one would've involved a much bigger architecture effort on our part due to our CI process than the second which I got working pretty quickly.


Imu and pose fusion

Hi, thanks for making this code available.
I am looking to add imu sensor fusion to an existing tracking system output, to both smooth the data and predict a transformation when tracking is lost.
Is this code suitable for this purpose? Is there any examples that I can use to get started?
Thanks!

Hey, thanks for reaching out! I think you could use pieces of this library for sure for your specific application. My thoughts are that there are probably three main parts of the library that would potentially be of use to you:

Inertial Modules - Strapdown Integration, measurement error compensation, initialization, etc.
Filter Modules - Kalman Filtering to fuse multiple data sources
Utility Modules - Helpful navigation functions that are easy to use and are unit tested!

How you would use it would depend on how you wanted to do the fusion (loosely-coupled vs tightly-coupled architectures for example). In terms of building the code, the library is static so the build is fairly easy. I would recommend using the CMake Fetch Content Macro. Here is an example of how I use this in another project with NavFuse which you could copy:
https://github.com/ParkerBarrett959/sensor-simulator/blob/main/sensor_simulator/CMakeLists.txt#L15-L19)
There is one tagged release version of the library you may want to specify on line 18 rather than main. The reason is that I make upgrades and changes, you do not want to lose compatability in the future. I then make sure to link the libraries like this (navigation is the NavFuse Libray):
https://github.com/ParkerBarrett959/sensor-simulator/blob/main/sensor_simulator/CMakeLists.txt#L43-L46
Finally, to use the library classes in your code, you can include the headers like this:
https://github.com/ParkerBarrett959/sensor-simulator/blob/main/sensor_simulator/include/sensor_simulator/imuSensor.hpp#L16-L19
In terms of using the actual functions, I would recommend reviewing the header files which has the inputs/outputs along with a brief description for each function. For a more practical implementation guide, You could use the sensor-simulator project I linked above as a reference for a few select functions which were used, but the most complete set of examples will be in the unit tests for the library:
https://github.com/ParkerBarrett959/NavFuse/tree/main/test
Every function in the library should have unit tests so there should be quite a few examples of how you could use them in practice. I hope this was helpful, please feel free to reach out if you have any additional questions or anything was unclear. Best of luck!

Hi, thanks for getting back to me.
I am planning to do it like this: (I believe this is 'loosely coupled', is that right?)
input:
Position xyz, rotation xyzw (in world space) at 24 HZ
Accelerometer and gyro data at 400 Hz
Output:
Smoothed pose (in world space) when input 1 is valid, predicted pose (in world space) when input 1 is lost (and between measurements)
I don't suppose there is a pre-built example that i can just feed this data into? Or would that be too easy? :)


setDialogStyle shows "Cannot resolve symbol"

Hi,
I want a customized theme but the setDialogStyle is not working anymore? Is the feature removed now or something? If so then can you please tell me how I can have my customize theme.
Source:
https://github.com/hotchemi/Android-Rate/issues/85

+1

Any news for this issue?


Security issue

Is go-coap support dtls ?

No but with enough cgo skills you can use openssl, gnutls or tinydtls with
it.
Le ven. 4 sept. 2015 22:06, lukexue<EMAIL_ADDRESS>a écrit :

Is go-coap support dtls ?
—
Reply to this email directly or view it on GitHub
https://github.com/dustin/go-coap/issues/27.

you can try to use it with my openssl dtls binding (client only for now):
http://github.com/jvermillard/nativedtls

I'm interested too. There are news related to golang coap-dtls?

I've not planned to do any work on DTLS any time soon.


Test mc3

@yyplanton added ENSO_tel metrics collection.
@yyplanton and @lee1043 are working on it this branch to test, so please do NOT merge yet until we decide. Pull request created just for easy tracing of file changes

@yyplanton and @lee1043 are working on it this branch, so please do NOT merge yet until we decide. Pull request created just for easy tracing of file changes

When the json_structure branch merged into master, we may want to rebase master of this branch to up to date.

@yyplanton @eguil @gleckler1 I am running the code for all MCs and for CMIP5 and 6. While it is running now, it looks things are looking okay. Let's plan to merge the branch to master sooner than later, and tag v1.0 to secure the working version of the code. I believe this is an essential step for preparing the paper as well.

Also note: https://github.com/eguil/ENSO_metrics/issues/42#issue-499788115

Please merge and let's tag as v1.0 so we are getting:

the working frozen version of code
being prepared for citing code in the paper
Thanks!

@yyplanton @eguil @gleckler1 I have resolved conflict on code between this branch and master, and I believe the branch is now 100% ready to be merged. I know @yyplanton might be busy with moving, so if you don't mind I will proceed merging and tag v1.0.

@yyplanton Yay, thank you for merging it!


where are prom.lib and menu.lib in console_libraries?

What did you do?
I was running example CONSOLE TEMPLATES and saw links to prom.lib and menu.lib  files in the example description, but it seems these files don't exist in newer versions.
What did you expect to see?
access to prom.lib and menu.lib for run the CONSOLE TEMPLATES example
What did you see instead? Under which circumstances?
broken links for prom.lib and menu.lib in documents of CONSOLE TEMPLATES

Yeah, the console_libraries directory got removed. Console templates are still offered as a feature, but not any longer with any libraries or examples (for various reasons).
https://prometheus.io/docs/visualization/consoles/ needs an update. I have filed https://github.com/prometheus/docs/issues/2554 for it and will close this one. (The relevant documentation is hosted in the docs repository, not here in the prometheus repo.)


chore: dont throw error when envPrefix includes ''

Description
filter the empty value of envPrefix in resolveEnvPrefix function

Additional context

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[x] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Ideally, include relevant tests that fail without this PR but pass with it.

related https://github.com/vitejs/vite/pull/9880


Slimes from spawners don't split with jobs loaded.

This is a odd one, It seems slimes that spawn from a spawner will not split up like a natural spawn would.
I've tested it on paper, and purpur with only jobs, vault and the new lib plugin.
All having fresh default configs.
After removing job's slimes from spawners split like normal.
Thanks!
Jobs version:  <IP_ADDRESS>
Server Type:  Purpur version git-Purpur-1271 (MC: 1.17.1)

Check your config file
  Spawner:
    # Prevent slime splitting when they are from spawner
    # Protects against exploiting as new splitted slimes is treated as naturally spawned and not from spawner
    PreventSlimeSplit: true
    # Prevent magmacube splitting when they are from spawner
    PreventMagmaCubeSplit: true


Async/Await Does not wait

Calling fetchBusinessSearch with await does not wait for results, returning 0.

 Async/Await does not wait

@jcm10 Lat+Long are required or Location is required.
Use try/catch around
Future fetchBusinessSearch();

#5


Make backlight more comfortable to use

I would be glad if these patches are accepted.

Thanks a lot!


Use &Event for Vdom::handle_event

This removes the need for an Rc and allows code calling handle_event to access the prevent_default and stop_propagation status without a clone

C


TreeView: drag listener leaks

Steps to Reproduce:

scroll the tree when there are items inside
add a breakpoint here and here

=> I never see the drag listener getting disposed

Seems to be a false positive.


CSM interp_time doesn't work with scalar values

The following script crashes
from weldx import CoordinateSystemManager
from weldx.constants import WELDX_QUANTITY as Q_

csm = CoordinateSystemManager("root")
csm.create_cs("lcs 1", "root", coordinates=[1, 2, -1])
csm.create_cs("lcs 2", "root", coordinates=[[1, 2, 0], [1, 1, 0]], time=Q_([0, 7], "s"))

csm.interp_time(Q_(1, "s"))

The error message is:
ValueError: applied function returned data with unexpected number of dimensions. Received 1 dimension(s) but expected 2 dimensions with names: ('time', 'c')

Creating a quantity with a list that contains a single item (Q_([1], "s")) still fails. Only if a second member is added, the script runs as expected.

the problem seems to be a "singular" time dimension (I think created during interpolation)
<xarray.DataArray 'coordinates' (time: 1, c: 3)>
array([[-1.        , -1.85714286, -0.        ]])
Coordinates:
  * c        (c) object 'x' 'y' 'z'
  * time     (time) timedelta64[ns] 00:00:01

Not sure why xarray is having troubles with this here (though it is not usually what it expects), I will look into it later


fix(sec): upgrade commons-io:commons-io to 2.7

What happened？
There are 1 security vulnerabilities found in commons-io:commons-io 2.6

CVE-2021-29425

What did I do？
Upgrade commons-io:commons-io from 2.6 to 2.7 for vulnerability fix
What did you expect to happen？
Ideally, no insecure libs should be used.
The specification of the pull request
PR Specification from OSCS

Hi,
Current develop has more recent version than this, closing this.


Thanks @A-Asai for your contribution
Do not hesitate to add your information in the contributor file

@bebatut I am really honored to hear that. I will fill out it. Thanks a lot!


Limit the number of change points reported via notifications

Currently slack notifications report all change points discovered. This has two problems:

It's noisy since lots of change points might be reported
Change points might not be from recent changes, i.e. change points can be old and stale

Here's a screenshot of nyrkiö reporting 10-month old changes:

Long-term, we should allow users to configure the length of the reporting window via the UI. In the short-term, let's report all change points discovered in the last 14 days or the last 14 data points if there aren't 14 data points from the last 2 weeks.

Actually, long term, we probably should make it so that we report each change point exactly once. Most systems that these notifications are sent have their own memory: slack, email, github issue... so sending anything more than once seems unnecessary.
Separate feature but related: We should also one day support some way to track the fixing of a performance regression. For example: Nyrkiö finds new change point -> ack regression/improvement/false positive -> regression open -> regression fixed / won't fix...
In such a world, it may make sense to send repeated reminder about the unfixed regressions. But that is a much broader feature than discussed in this issue.


Added support for the various PCA functions.

To be used like:
from scranpy.dimensionality_reduction import run_pca
import numpy as np
x = np.random.rand(1000, 100) * 20
res = run_pca(x, rank = 10)

Alright @jkanche:

[ ] Check out the JS code for documenting the args
[ ] Requires #8 to be merged first.
[ ] Probably should factor out our simulation of mock so that we can re-use it during testing.

I tried a few more things but seems like there's still a pass by reference somewhere


Remove -a/--no-rebuild command line option

The command-line option is deleted and the corresponding
StartParameter property is deprecated and no longer used.
Resolves #6305.

I don't think we should do this before https://github.com/gradle/gradle/issues/6045 is addressed.

Closed for now because #6045 needs to be addressed first.


squash: add implementation

A new command, squash, should be added to support squashing together the given ACI with its dependencies.
acbuild begin
acbuild dep add quay.io/coreos/alpine-sh
acbuild squash

would be equivalent to
acbuild begin ./alpine-sh

This would allow a user without support for overlayfs to work with ACIs that have dependencies (albeit losing the layers).

I have just started looking at rocket (plenty of background using docker though), and so far I like what I see.
I am interested in this to be able to run rocket in the kernel shipped by chromeos, which would require this feature (no overlayfs).
I would be happy to contribute this feature, but I am not sure what exactly would it entail. I am not even sure if this means squashing two images together, or something else entirely. If it indeed is just merging two aci's together then the steps would be:

untar and uncompress all layers
merge the two rootfs: this could be done easily by rsync, but presumably we will have to traverse and copy by hand to avoid extraneous dependencies.
merge manifests, or perhaps just pick one of them? Doesn't really make sense... so maybe merging two aci's is not what squash is supposed to do?
recompute image id
tar and compress result

Not to discourage you from contributing, but you can pass the --no-overlay flag to rkt to stop it from using overlayfs (things just might take longer as it'll need to do a little more work).

I tried that and it does not work.
I think I am running into problems even earlier, acbuild simply ignores all my run commands. I'll post a minimal example here in a second.

Here is what i've tried:
acbuild begin
acbuild set-name example.com/test
acbuild dep add tklx.org/base:0.1.1
acbuild run --engine chroot -- 'apt-get update && apt-get -y install vim && apt-clean --aggressive'
acbuild set-exec /bin/bash
acbuild write --overwrite test-latest-linux-amd64.aci
acbuild end

building in a system without overlayfs support seems to completly ignore the "acbuild run" command.

acbuild is supposed to check for overlayfs support and fail if it doesn't exist. Perhaps this check broke at some point. Would you be able to share the output that happens when you run your example?
Remove the quotes from your example, acbuild will receive the entire string as one argument and attempt to find a binary (including spaces) named apt-get update && ...
Also if your goal here is "run rocket in the kernel shipped by chromeos", then perhaps you could build images via acbuild on a machine with overlayfs, and run them on your chromeos kernel via rkt with the --no-overlay flag?


[Feature Request] Miner should allow operator to submit proofs

branch: operator-mine
Miner currently needs to prompt for the owner mnemonic. This proposal allows the miner to use the same operator key used for validation.

[x] MinerState should have a new method which checks if a signer is the registered operator on an owner account.
[x] Subsidy reimburses operator for gas cost.
[x] MinerState, on account creation some balance is given to the operator account to pre-pay gas fees for submitting txs
[x] Miner app uses operator key in keystore json
[x] Move tests

closed with #409


Issues with CUDA and the examples in the tutorial

Describe the issue as clearly as possible:
I am trying to get outlines to work on CUDA.
I just modified the example in the README to force the model to go to CUDA (otherwise it would go to the CPU).
However, I get an error. It seems that the tokenizer is not sending the prompt to the CUDA.
Steps/code to reproduce the bug:
from enum import Enum
from pydantic import BaseModel, constr

import outlines
import torch

class Weapon(str, Enum):
    sword = "sword"
    axe = "axe"
    mace = "mace"
    spear = "spear"
    bow = "bow"
    crossbow = "crossbow"

class Armor(str, Enum):
    leather = "leather"
    chainmail = "chainmail"
    plate = "plate"

class Character(BaseModel):
    name: constr(max_length=10)
    age: int
    armor: Armor
    weapon: Weapon
    strength: int

model = outlines.models.transformers("mistralai/Mistral-7B-Instruct-v0.2",device="cuda")

# Construct structured sequence generator
generator = outlines.generate.json(model, Character)

# Draw a sample
rng = torch.Generator(device="cuda")
rng.manual_seed(789001)

character = generator("Give me a character description", rng=rng)

print(repr(character))
# Character(name='Anderson', age=28, armor=<Armor.chainmail: 'chainmail'>, weapon=<Weapon.sword: 'sword'>, strength=8)

character = generator("Give me an interesting character description", rng=rng)

print(repr(character))
# Character(name='Vivian Thr', age=44, armor=<Armor.plate: 'plate'>, weapon=<Weapon.crossbow: 'crossbow'>, strength=125)

Expected result:
The one on the README

Error message:
On line 198 of outlines/generate/generator.py

RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cudo:0 and cpu! (when checking argument for argument index in method wrapper_CUDA__index_select)

Outlines/Python version information:
Version information

```
(command output here)
```

Context for the issue:
No response

I just released 0.0.30, could you update and try again ?

It now works with device="cuda" but does not work with device="auto". The error I get is
On line 198 of outlines/generate/generator.py
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:1! (when checking argument for argument index in method wrapper_CUDA__index_select)

It's basically saying that kv_cache and ancestors are not on the same device. A simple fix would be to use `ancestors.to(layer.device)ˋ.

Could you confirm #660 solved your problem?

Just tested, and it works on several examples!
Thanks so much (also, sorry for the delay, time zone difference)
Would you release a new version at some point so I can use the pypi one instead of my local?


Sticky header is not working for custom view type

Hi @manneohlund ,
thanks for constanly updating this lib and adding new feature,
however while working with newly available feature of sticky header, I got the header but it is not being sticky, can you please have a look?
thanks again for your hardwork
val mContinentArray = mutableListOf<String>()
        mContinentArray.add("Header")
        for (i in 1..100) {
            mContinentArray.add("Item $i")
        }

val items = mContinentArray.mapIndexed { index, item ->
            when (index) {
                0 -> arrayOf(Continent(item))
                else -> arrayOf(Country(item))
            }
        }.toTypedArray().flatten()

        adapter = SmartRecyclerAdapter
            .items(items)
            .map(Continent::class, StickyHeaderParentVH::class)
            .map(Country::class, StickyHeaderChildVH::class)
            .setLayoutManager(layoutManager)
            .add(StickyHeaderItemDecorationExtension(
                headerItemType = StickyHeaderParentVH::class
            ) { motionEvent, itemPosition ->
                if (motionEvent.action == MotionEvent.ACTION_UP) {
                    context?.showToast("Header $itemPosition clicked")
                }
            })
            .into(rvContinent)

Please check the gif outcome
App run outcome

Hi @satodia-smit ! Oh, I think I've referred to the wrong type in the readme. headerItemType should map to the data item type and not the viewholder type. So in your case headerItemType = Continent::class.
I will correct that typo inte the readme 😅

Hi @manneohlund,
thanks for the reply, I have updated as said. now the header is visible but texts are getting hide as soon as it becomes header, could you please suggest something?
Please check the gif outcome
App run outcome

Weird, how does your viewholders look like?
Have you looked at the sample app code for sticky headers?

It is working without databining, if I will use databinidng than it is having some weird issue, will confirm the issue more, closing the issue, as with normal xml binding it is working. no need to use with databinding.
thanks @manneohlund


Can we have Atom/Chrome attach to a running node?

The breakpoints seem to be synced when running a new node, but I'd like to attach to an already running node and toggle breakpoints from Atom. Is this in the realm of possibilities?

Hello,
At first glance it should be possible.
I'd need to revive this project since I also noticed that Node.js changed its command line parameters...

It would be awesome. It saves us from having to find the source in the chrome dev tools all the time.


Error in console

Not sure if it affects functionalities but I'm getting the below error in the console, while running in dev mode:
Uncaught ReferenceError: exports is not defined
    at getRenderedMarkdown.js:1:941

which points to this line:

Thank you for reporting this — the exports.default is generated by Webpack from this file.
Summary of the problem
I suspect that this is because Webpack is trying to generate CommonJS modules for scripts referenced in extraScripts:
https://github.com/personalizedrefrigerator/joplin-plugin-revealjs-slides/blob/744832080b4be46388d346cf38ffe2d143f333f1/webpack.config.js#L265-L267
This script is then loaded as a Markdown-it asset, rather than a plugin:
https://github.com/personalizedrefrigerator/joplin-plugin-revealjs-slides/blob/744832080b4be46388d346cf38ffe2d143f333f1/src/contentScripts/markdownIt.ts#L5
The Markdown-it and CodeMirror content scripts probably do not cause this error because:

For Markdown-it content scripts, we use shim.requireDynamic, which should handle CommonJS modules.
For CodeMirror 6 content scripts, we define exports before running the plugin script.

I've also noticed this with other plugins that show dialogs with content scripts that have been processed by Webpack (e.g. the Freehand Drawing plugin).
Possible solutions

Add window.exports = {}; to the note viewer and dialog webviews.
Add support for a new key (e.g. contentScripts) to plugin.config.json. Extra scripts specified with this key would be generated with a libraryTarget that works in an iframe/WebView.

Fixed upstream.


[Idea] Add default query, mutation and subscription types

Is your feature request related to a problem? Please describe.
HC providing types dependency inversion using extensions.
For now to use extensions  .AddMutationType(x => x.Name("Mutation")) and descriptor.Name("Mutation") or creating my own classes and types
Describe the solution you'd like

Add new library, like EFCore integration, but with default root types. So we will have strongly typed conventions instead string based

public class Query
{
}
public class QueryType : ObjectType<Query>
{
}
// ...

Add ObjectTypeExtension<TExtendedType, TTypeExtension> : ObjectTypeExtension<TTypeExtension> so ObjectTypeExtension<Mutation, UserMutations> can be used. This type will name extension using TExtendedType but have a TTypeExtension contract

Usage

// ...
.AddQueryType<QueryType>()
.AddMutationType<MutationType>()
// .AddSubscriptionType<SubscriptionType>()
.AddTypeExtension<HotChocolateQueryExtension>() // class HotChocolateQueryExtension : ObjectTypeExtension<Query, HotChocolateQueries>
.AddTypeExtension<HotChocolateMutationExtension>() // class HotChocolateMutationExtension : ObjectTypeExtension<Mutation, HotChocolateMutations>

Describe alternatives you've considered
For now i am doing this by my own, but this strongly typed approach can be a part of HotChocolate

The issue with this is that you closely couple your queries which removes one of the biggest features...
@benmccallum provided a different proposal on this which we are going to implement. It is more in the direction that type extension can bind using a delegate. If the delegate matches certain criteria then the extension will bind... this, in turn, allows an extension to bind to multiple types.

@michaelstaib But with descriptor.Name("Query") you closely couple too, right?

Not really, it's a string ... there has to be no type relation.
But the idea to make this nicer is to have a delegate that can couple depending on properties of types. This means that you can define a predicate that analyzes whatever and add something to all the types that match.


Fix fatal error on postgres unsupported version, also fix #577 format…

… of supported version
I tested postgREST on a 9.2.19 postgres and it didn't panic and instead gave the following error:
"{\"hint\":\"No function matches the given name and argument types. You might need to add explicit type casts.\",\"details\":null,\"code\":\"42882\",\"message\":\"function pg_relation_is_updatable(regclass, boolean) does not exist\"}"

I did a trace of ver and it was giving a 808792116 value so it was a casting problem.
Also I thought of formatting 90300 into "9.3" but after seeing how libpq does it I thought is better to just hardcode it.

That's subtle, thank you for the fix.


Why use South

First, sorry by my english.
South is excellent to work with version control.
Consider the following:
So far the project django-robots is correct. But if tomorrow you need to delete a field from some model and add another non-null and without a default
Syncdb not matter. Syncdb does exclusion processes. And it does not add a default on new fields.
When I download the application, of course Databaseerror throws an exception, since I am the fields that you have added to my bank ever created.

I hope you understand.
See more: http://south.aeracode.org/docs/about.html

Thanks for opening the ticket, I'm not sure I follow though. Why do you get a database error when you download the app?


Use path.join instead of forward slash when solo is using file paths on local system to avoid windows issues

:tada: This issue has been resolved in version 0.28.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Big refactor of BigQuery query handling

BigqueryResult has been replaced by BigqueryQueryJob.
That's basically a wrapper over GetQueryResultsResponse.
The normal workflow would be:

Create a query job (potentially by calling ExecuteQuery)
Poll for completion
Either use GetRows() to get all results lazily, or
GetResultSet() to eagerly fetch a specific number of results,
with a page token for getting the next one.

This definitely needs a lot of documentation - and some more tests -
but I'd like to get the first pass at least reviewed first. We may
want to:

Rename BigqueryQueryJob
Add helper methods to make it really easy to just get a result set
for a query, including specifying the options automatically

@SurferJeffAtGoogle Do you have any BigQuery samples yet? If so, I'd be happy to help show you what they'd look like after this refactoring, as an aid to judging the usability.

cc @jsimonweb - not sure why I can't assign it to you as well...