⚠ Processors has degraded performance

In c1de344, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 97 ms

Resolved: Processors performance has improved in c813234.


tikv oom after this tikv io hang last for 20m

Bug Report

What version of TiKV are you using?
./tikv-server -V
TiKV
Release Version:   6.4.0-alpha
Edition:           Community
Git Commit Hash:   97ab36eb7147cde02c1654595f99104155ac0c21
Git Commit Branch: heads/refs/tags/v6.4.0-alpha
UTC Build Time:    2022-11-02 11:01:58
Rust Version:      rustc 1.64.0-nightly (0f4bcadb4 2022-07-30)
Enable Features:   pprof-fp jemalloc mem-profiling portable sse test-engine-kv-rocksdb test-engine-raft-raft-engine cloud-aws cloud-gcp cloud-azure
Profile:           dist_release
What operating system and CPU are you using?
8c、32GB
Steps to reproduce
ha-tikv-random-data-io-hang-last-for-20m
(https://tcms.pingcap.net/dashboard/executions/case/2788098)
What did you expect?
no om
What did happened?
tikv oom

from ethercflow
The initial reason seems to be the stasis of raft messages received. Specifically, this node continues to receive message messages from the leader. After grpc receives the message, it sends it to the store thread through the channel. However, the store thread cannot consume from the channel due to io hang, which leads to the previous grpc rejection of too many raft messages to prevent the logical effectiveness of oom.

/type bug
/severity major
/assign ethercflow

another oom with this scene

Besides the store channel, every region has its own channel, in this case, messages may be piled up in channel, the total memory usage is about O(len(regions) * cap(channel)).

another oom scene
inject one of tikv network partition last for 50mins and recover，this tikv oom when fault recover

another oom scene
inject one of tikv io delay 500ms last for 10mins，this tikv oom when fault recover
https://clinic.pingcap.com.cn/portal/#/orgs/31/clusters/7297268250385940865?from=1699059825&to=1699061064


Generate log file with Drift detected info for troubleshooting purpose

Problem
It's not clear whats the problems when a drift is detected.
Suggested solution
generate a /prisma/logs/drift_errors/log.txt file with a report with all the difference between the actual tabase and the shadow database
Additional context
I have a database in postgres that I've been using with knex, I want to migrate to prisma but keeping my actual schema and data, I used prisma introspect to generate the prisma schema, everything works find until I want to generate the first migration with keeping the data, I used prisma migrate dev --name introspected_change --create-only I got a message like this:
❯ npx prisma migrate dev --name introspected_change --create-only
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "mydatabase", schema "public" at "localhost:5432"

? Drift detected: Your database schema is not in sync with your migration history.

We need to reset the PostgreSQL database "mydatabase" at "localhost:5432".
Do you want to continue? All data will be lost. › (y/N)

answering no, just does nothing, I keep my data but can't go ahead with the migrattion from knex to prisma. On the other side answering yes, deletes extensions, funcitons and all data, try to recreate the data but fails becase it didn't add the extension need for uuid   uuid            String    @id @default(dbgenerated("uuid_generate_v4()")) @db.Uuid. If I edit the migration with CREATE EXTENSION "uuid-ossp"; at the begining of the file, the migration can be appliend but istill I lost the data and functions, I don't care about the functions since I'm planing to stop using them any way, but I can't lost the data and I don't know how many difference there are in the schema.
if I was able to know, I could continue using knex migrations to change the schema to the point prisma can countine (like delete all the stored functions) but since I don't know what the real problem is, I'm unable to fix it.
for confidential reasons I can't share the db schema but I hope I add enogh information, I case something else is needed I could add more, please let me know.

https://github.com/prisma/prisma-engines/pull/2002 means that the next release (and dev releases very soon) will have human-readable drift summaries. They will probably be a bit rough at the beginning, but we will improve them over time.


How to use MaterialDesign Transitioner with Stylet?

Right now I have a ShellView, where I want to display a LoginView first, and once the login succeeds I want to display the MainView. I wish to use the MaterialDesign Transitioner for that. The issue right now is that the initial animation for the LoginView gets played properly, but no animation is played once I activate the MainViewModel. I assume the reason is that Stylet replaces the ContentControl View and the Transitioner has no knowledge of that and thus doesn't animate anything. Thanks for the great library, appreciate any tips! 👍
ShellView
 <Grid>
        <materialDesign:Transitioner SelectedIndex="0">
            <materialDesign:TransitionerSlide >
                <materialDesign:TransitionerSlide.OpeningEffects>
                    <materialDesign:TransitionEffect Kind="SlideInFromBottom"/>
                </materialDesign:TransitionerSlide.OpeningEffects>
                <ContentControl s:View.Model="{Binding ActiveItem}"/>
            </materialDesign:TransitionerSlide>
        </materialDesign:Transitioner>
    </Grid>

ShellViewModel
    public class ShellViewModel : Conductor<Screen>
    {
        private readonly IViewModelFactory _viewModelFactory;
        private readonly IWindowManager _windowManager;

        public ShellViewModel(IViewModelFactory viewModelFactory, IWindowManager windowManager)
        {
            _viewModelFactory = viewModelFactory;
            _windowManager = windowManager;
            var loginModel = viewModelFactory.CreateLoginViewModel();
            base.ActivateItem(loginModel);
        }

        public void ShowSettingsDialog()
        {
            var settingsViewModel = _viewModelFactory.CreateSettingsViewModel();
            _windowManager.ShowDialog(settingsViewModel);
        }
    }

LoginViewModel
  public class LoginViewModel : Screen
    {
        private readonly IViewModelFactory _viewModelFactory;

        public LoginViewModel(IViewModelFactory viewModelFactory)
        {
            _viewModelFactory = viewModelFactory;
        }

        public async Task Login()
        {
            var mainModel = _viewModelFactory.CreateMainViewModel();
            ((ShellViewModel)Parent).ActivateItem(mainModel);
        }
    }

My code was right, but I misunderstood how to use the Transitioner. All I had to do was wrap the MainViewModel with a TransitioningContent property. Thanks for the great library!

Glad you solved it!


Raster to Polygon

https://desktop.arcgis.com/en/arcmap/10.3/tools/conversion-toolbox/raster-to-polygon.htm

If the geotiff raster has different classes stored as different integers in band 1, this seems to work well:
from rasterio import features
from rasterio.features import shapes
import geopandas as gpd

def (input_tiff_path, output_geojson_path):
   mask = None
    with rasterio.Env():
        with rasterio.open(input_tiff_path) as image:
            image_band_1 = image.read(1) # first band
            results = (
            {'properties': {'raster_val': v}, 'geometry': s}
            for i, (s, v)
            in enumerate(
                shapes(imag_band_1, mask=mask, transform=img.transform)))
    geoms = list(results)
    gpd_polygonized_raster = gpd.GeoDataFrame.from_features(geoms)
    gpd_polygonized_raster.to_file(output_geojson_path, driver='GeoJSON')

This seems to work fine for esa_cci, will add to the main branch:
import os
import rasterio
import geopandas as gpd
from rasterio import features
from rasterio.features import shapes

def raster_to_poly(input_tif_path, output_geojson_path):
    """
    Using rasterio to go from raster to polygon
    using a tif file as an input.
    input_tif_path: full path and name of input tif file.
    output_geojson_path: full pathe and name of output geojson file.
    """
    mask = None
    with rasterio.Env():
        with rasterio.open(input_tif_path) as image:
            image_band_1 = image.read(1) # first band
            results = (
            {'properties': {'raster_val': v}, 'geometry': s}
            for i, (s, v)
            in enumerate(
                shapes(image_band_1, mask=mask, transform=image.transform)))
    geoms = list(results)
    gpd_polygonized_raster = gpd.GeoDataFrame.from_features(geoms)
    gpd_polygonized_raster.to_file(output_geojson_path, driver='GeoJSON')

def esa_cci_to_geojson(output_dir=os.path.join(os.path.dirname(os.path.realpath(__file__)), "out")):
    """
    output_dir: path to folder with no trailing slash

    """
    if not os.path.exists(output_dir):
        os.mkdir(output_dir)

    for year in range(1992, 2016):
        path = "/gws/nopw/j04/ai4er/guided-team-challenge/2021/biodiversity/esa_cci_rois/esa_cci_" + str(year) + "_chernobyl.tif"
        raster_to_poly(path, os.path.join(output_dir, "esa_cci_" + str(year) + "_chernobyl.geojson"))

I did some investigation into file format performance: apparently GeoJSON is not very performant and takes up a lot of space since it's just pure text, while Shapefiles have several disadvantages. Apparently GeoPackage (GPKG) is the newer version of Shapefiles which solves several issues with them, so I think it might be a good idea to switch to that format. In the code above we can do it just by changing driver='GPKG' and the file extension to gpkg. Geopandas s
https://www.gis-blog.com/geopackage-vs-shapefile/
http://switchfromshapefile.org/
@arduinfindeis @Croydon-Brixton This is relevant for the GeoGraph class (I'm writing code now to load in from both GPKG and shp.

Something to be aware of when using the polygonisation:
GDALpolygonize (which is used under the hood by rasterio) can produce self intersecting, weird polygon values for connectivity=8(diagonal connectivity) and occasioanly even for connectivity=4 (horizontal, vertical - the default)
Workaround
As a workaround ppl ususally use .buffer(0) on top of the connectivity=4  created polygons, which seems to resolve all issues by creating valid polys.
My experiments on the CEZ confirm this:
Both polygons below were created by running the rasterio polygonization algorithm (which uses GDAL under the hood). The first one is shown red bc it's invalid (self intersections, etc) - despite having been created with connectivity=4.
The second one is green (valid).
.buffer(0) prompts shapely to redraw the geometries

Closed by #24


Fixes the list_dirs function

Currently list_dirs tries to sort using dir which isn't a variable in the function so it defaults to the built-in function which throws an error.  Changing this to path fixes the bug.

Sorry for the late response, didn't see this in notifications. Thanks for the contrib!


feat: Control-plane and polling-agent metrics collection in Prometheus

Are the labels ok? or others needed?


Duplicate key crash, when creating xlsx reader

stacktrace :
System.ThrowHelper.ThrowAddingDuplicateWithKeyArgumentException<T>(T)
 System.Collections.Generic.Dictionary<TKey, TValue>.TryInsert(TKey, TValue, System.Collections.Generic.InsertionBehavior)
 System.Collections.Generic.Dictionary<TKey, TValue>.Add(TKey, TValue)
 Sylvan.Data.Excel.XlsxWorkbookReader.XlsxWorkbookReader(System.IO.Stream, Sylvan.Data.Excel.ExcelDataReaderOptions)
 Sylvan.Data.Excel.ExcelDataReader.Create(System.IO.Stream, Sylvan.Data.Excel.ExcelWorkbookType, Sylvan.Data.Excel.ExcelDataReaderOptions)
 Sylvan.Data.Excel.ExcelDataReader.Create(string, Sylvan.Data.Excel.ExcelDataReaderOptions)

can provide the file, but it has some sensitive information.

this.formats = ExcelFormat.CreateFormatCollection();
foreach (object obj2 in xmlNodeList)
{
	XmlElement xmlElement2 = (XmlElement)obj2;
	int key = int.Parse(xmlElement2.GetAttribute("numFmtId"));
	ExcelFormat value = new ExcelFormat(xmlElement2.GetAttribute("formatCode"));
	this.formats.Add(key, value);
}

here the this.formats dictionary already contains key with value 0, it tries to add another value with key 0 and then it crashes.

Is this file from Excel? Or from something else, like google sheets?

its from excel, but not sure, its a third party provided file. i can provide the file privately if you wanna look at

also the file is parsed perfectly by ExcelDataReader lib.

The "0" format is typically the "general" format, the default for excel. I've never seen it explicitly recorded in a file. There are a standard set of formats that are implicitly defined. The fix for this should be easy enough. That line of code should be changed from dictionary.Add(id,format) to dictionary[id] = format. I won't be able to address this for while though, as I'm away from my development machine. If you want to submit a PR, I can merge it when I'm back at the keyboard.

ok i will try, if this fixes the issue, also i was debugging using dnspy and not directly in source, i will verify more deeply.

library do not crash with the fix but, i see nothing in data, empty strings are returned

if you feel comfortable, you can email me the file at<EMAIL_ADDRESS>I can take a look, but it might be a week or two before I have the time to investigate.

no problem, take a look when u can, untill then i will try if i can resolve the issue

I just pushed version 0.1.8-b0001 (prerelease) to nuget. It should fix the two issues you encountered here. I think that xlsb likely has a similar issue that I need to fix before I push 0.1.8.

great! i will check

working, thanks, you can close the issue, one suggestion u can use ExcelDataReader input samples for more reliability, the library is great, but reliability is what i am concerned about. Thanks again.


stats: Add median alignment score [feature request]

Please consider adding the median alignments score AS to the output of stats. Note that most tools like BWA output AS:i whereas Long Ranger align outputs AS:f.

Done. I can't figure out how (or even if possible) to infer tag type, so it is an input parameter:
e.g.
bxtools stats $bam -A f

Thanks, Jeremiah! I opened PR #13 to use AS:i if it's present and otherwise AS:f.


Crouton updates/setup failing after module reinstalls for VirtualBox

Hi. As per the discussion in: https://github.com/divx118/crouton-packages/issues/27 I needed to use the technique in https://github.com/dnschneid/crouton/wiki/Build-kernel-headers-and-install-Virtualbox-(x86) to get VirtualBox running again (it had previously been running fine, originally installed via the same process). This ultimately succeeded. However, since the build and install of the new modules for 3.8.11, there are more basic problems.
Ubuntu updater keeps trying to download/install a kernel image for 3.8.11. This install always fails, so it keeps trying repeatedly.
On the CrOS side, my attempt to do a crouton-update triggered a similar failure, causing the crouton setup to fail (and showing again a failure related to a 3.8.11 image/modules). After that setup failure (I captured the original error text, below) I was able to continue the script -- there were more errors I couldn't capture and I ultimately got back into the chroot (which I do not want to risk being blocked from). I can restart again now but obviously I haven't tried another chroot-update and am ignoring the Ubuntu updater's attempts to download a 3.8.11 image. (I'm already now running 3.8.11 of course, and the modules are all in /lib/modules/3.8.11.
Error text from crouton-update is below. Any ideas to fix this configuration problem and avoid it in the future would be greatly appreciated. Thanks!

Fetched 5121 B in 16s (302 B/s)
Reading package lists... Done
Ensuring system is up-to-date...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
wine
The following packages will be upgraded:
linux-image-3.8.11
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/6860 kB of archives.
After this operation, 650 kB disk space will be freed.
Preconfiguring packages ...
(Reading database ... 216838 files and directories currently installed.)
Preparing to unpack .../linux-image-3.8.11_20150314_amd64.deb ...
Ok, aborting, since modules for this image already exist.
dpkg: error processing archive /var/cache/apt/archives/linux-image-3.8.11_20150314_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.8.11 /boot/vmlinuz-3.8.11
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.8.11_20150314_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to complete chroot setup.

As said in the issue on my github, remove /etc/apt/sources.list.d/crouton-packages.list This will remove the source of my git repo. Then sudo apt-get update && sudo apt-get upgrade to get everything back to normal. After that your chroot should update just fine.

Unfortunately -- due to the aborted setup script? -- CrOS shell is now reporting apt-get not found.

On Tue, Jan 12, 2016 at 8:42 AM, Lauren Weinstein<EMAIL_ADDRESS>wrote:

Hi As per the discussion in:
https://githubcom/divx118/crouton-packages/issues/27 I needed to use the
technique in
https://githubcom/dnschneid/crouton/wiki/Build-kernel-headers-and-install-Virtualbox-(x86)
to get VirtualBox running again (it had previously been running fine,
originally installed via the same process) This ultimately succeeded

I also followed that guide successfully built the kernel debs and installed
but when I run virtualbox it asks to run setup which then panics and
reboots. Please can you focus on the steps I have done wrong, probably
towards the end?

However, since the build and install of the new modules for 3811, there
are more basic problems
Ubuntu updater keeps trying to download/install a kernel image for 3811
This install always fails, so it keeps trying repeatedly
On the CrOS side, my attempt to do a crouton-update triggered a similar
failure, causing the crouton setup to fail (and showing again a failure
related to a 3811 image/modules) After that setup failure (I captured the
original error text, below) I was able to continue the script -- there were
more errors I couldn't capture and I ultimately got back into the chroot
(which I do not want to risk being blocked from) I can restart again now
but obviously I haven't tried another chroot-update and am ignoring the
Ubuntu updater's attempts to download a 3811 image (I'm already now running
3811 of course, and the modules are all in /lib/modules/3811
Error text from crouton-update is below Any ideas to fix this
configuration problem and avoid it in the future would be greatly
appreciated Thanks!
Fetched 5121 B in 16s (302 B/s)
Reading package lists Done
Ensuring system is up-to-date
Reading package lists Done
Building dependency tree
Reading state information Done
Calculating upgrade Done
The following packages have been kept back:
wine
The following packages will be upgraded:
linux-image-3811
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded
Need to get 0 B/6860 kB of archives
After this operation, 650 kB disk space will be freed
Preconfiguring packages
(Reading database 216838 files and directories currently installed)
Preparing to unpack /linux-image-3811_20150314_amd64deb
Ok, aborting, since modules for this image already exist
dpkg: error processing archive
/var/cache/apt/archives/linux-image-3811_20150314_amd64deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Examining /etc/kernel/postrmd
run-parts: executing /etc/kernel/postrmd/initramfs-tools 3811
/boot/vmlinuz-3811
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3811_20150314_amd64deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to complete chroot setup
—
Reply to this email directly or view it on GitHub
https://github.com/dnschneid/crouton/issues/2364.

Bingo. Everything now appears back to normal, and crouton-update also worked. I have to admit I do not fully understand the intricacies of the CrOS/Crouton/chroot architecture. Thanks again!

@nigelhealy Yours is a different problem, @laurenweinstein1 is running 3.8.11 kernel which doesn't have a problem with loading modules yet. I am still looking trhough the 3.14 kernel commits see if I can find something there that could be related. Maybe @drinkcat or @dnschneid could take a look at the kernel panic to see what is causing it when loading virtualbox modules on a 3.14 kernel.

Excuse me @divx118, is it still on process?  I actually thought the higher kernel the less messy. I should have read about my panic kernel before.:(

@fthnhp The kernel panic for 3.14.0 should be resolved on stable channel see https://github.com/divx118/crouton-packages/issues/26

@divx118 I don't have a pixel, but an acer c910
So, Is it safe to follow the old thread (install kernels)?

@fthnhp You can follow the easy way https://github.com/divx118/crouton-packages/blob/master/README.md or do it all by yourself the harder way and follow https://github.com/dnschneid/crouton/wiki/Build-kernel-headers-and-install-Virtualbox-(x86).
Both shouldn't be a problem. However that said it is always recommended to have backups from any important files you have on your chromebook.

Thanks sir @divx118, I really appreciate it .I've followed the easy way but I'm still getting an error. And I don't know how to solve it:
(Reading database ... 135814 files and directories currently installed.)
Preparing to unpack .../virtualbox_4.3.36-dfsg-1+deb8u1ubuntu<IP_ADDRESS>_amd64.deb ...
Unpacking virtualbox (4.3.36-dfsg-1+deb8u1ubuntu<IP_ADDRESS>) over (4.3.36-dfsg-1+deb8u1ubuntu<IP_ADDRESS>) ...
Processing triggers for man-db (<IP_ADDRESS>-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up virtualbox (4.3.36-dfsg-1+deb8u1ubuntu<IP_ADDRESS>) ...

Stopping VirtualBox kernel modules                                                                     [ OK ]
Starting VirtualBox kernel modules                                                                             * modprobe vboxdrv failed. Please use 'dmesg' to find out why
[fail]
invoke-rc.d: initscript virtualbox, action "restart" failed.

When I type dmesg I get:
[ 3604.918939] tpm_tis tpm_tis: command 0x65 (size 20) returned code 0x0
[ 3604.948760] tpm_tis tpm_tis: command 0x65 (size 22) returned code 0x0
[ 3604.979141] tpm_tis tpm_tis: command 0x65 (size 22) returned code 0x0
[ 3608.964297] Chromium OS LSM: init_module denied obj="/lib/modules/3.14.0/updates/dkms/vboxdrv.ko" pid=16291 cmdline="modprobe vboxdrv"
[ 3724.723246] Chromium OS LSM: init_module denied obj="/lib/modules/3.14.0/updates/dkms/vboxdrv.ko" pid=17503 cmdline="modprobe vboxdrv"
[ 4029.815186] Chromium OS LSM: init_module denied obj="/lib/modules/3.14.0/updates/dkms/vboxdrv.ko" pid=19209 cmdline="modprobe vboxdrv"
And when I try modprobe vboxdrv
modprobe: ERROR: could not insert 'vboxdrv': Operation not permitted
Note that I solved an invoke.d: policy.d error
allowed with: echo exit 0 > /usr/sbin/policy-rc.d
and assured it's executable  chmod +x /usr/sbin/policy-rc.d
I wish I could install it because I'm going to have some virtualizations for web services practises.

Your first problem looks like you didn't install the headers first.
Your 2nd problem looks like you didn't do as root, but then you shouldn't need to run it anyway if you used the script.
Run the setup-headers.sh
then logout
then try running virtualbox. It may well have not correctly installed correctly because you installed before installing headers, so you do a sudo apt-get install --reinstall again.
Also, why are you install Virtualbox4.3 and not Virtualbox5.0 ?

When I run apt-get install I get 4.3 by default. But I really don't mind.
I run it as super user, so that wasn't the case.
I made a purge virtualbox and follow your instructions and now I'm at the beginning again :(
Setting up virtualbox (4.3.36-dfsg-1+deb8u1ubuntu<IP_ADDRESS>) ...
runlevel:/var/run/utmp: No such file or directory

Stopping VirtualBox kernel modules                                                                                [ OK ]
Starting VirtualBox kernel modules                                                                                * No suitable module for running kernel found
[fail]
invoke-rc.d: initscript virtualbox, action "restart" failed.

@nigelhealy Also, I've tried to build the kernel and there's no way
(ubuntu)alvaro@localhost:~$ sudo m-a prepare
Getting source for kernel version: 3.14.0
Kernel headers available in /usr/src/linux-headers-3.14.0
Creating symlink...
apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Done!
(ubuntu)alvaro@localhost:~$ sudo /etc/init.d/virtualbox restart

Stopping VirtualBox kernel modules                                                                                [ OK ]
Starting VirtualBox kernel modules                                                                                * No suitable module for running kernel found

https://github.com/divx118/crouton-packages/blob/master/README.md
Did you in ChromeOS run change-kernel-flags and then reboot?
In your chroot, what happened when you
sudo sh setup-headers.sh
Is your /etc/rc.local modified?
If you've done all those then the install of virtualbox failed then looks a bug but you're on the same kernel as me 3.14 and mine is fully working now.

@nigelhealy I think now I run it properly since I got no errors but warnings on terminal..
Just reinstalled virtualbox-dkms..
Now I'm downloading WIn10.. let's see haha

Excuse me, @divx118 I've already download a 32b win distro, and avoided exceed half of the cores and ram, due to it's a i3. But it's not working yet. When tries to run (after a popup) I get an error
VT-x is disabled in the BIOS. (VERR_VMX_MSR_VMXON_DISABLED).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Console
Interface:
IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}
But I'm pretty sure I enabled VT-x a few months ago. Btw I've just tried this https://gist.github.com/DennisLfromGA/cd3455530cec2a5a1ef4, and nothing's new.

Latest CrOS updates have caused VirtualBox to fail again with kernel driver loads failing. Kernel is still 3.8.11. The usual command line flags and rw fixes are not working this time around. Any ideas? Thanks.


Specify rules for plugin:install failure

Closes https://github.com/dokku/ansible-dokku/issues/59.
If plugins are already in place this will 1) not fail when git trys to clone them in and 2) not show as changed in the Ansible task list because we know that a git clone error with this specific error message means nothing changed.
I have manually tested this a number of times and am pretty happy with it.

See https://github.com/dokku/ansible-dokku/issues/59.


how to check the write fail event

Hi @anishathalye
I write a simple check like:
type Request struct {
	// 0 for read, 1 for put
	Op int
	// put value
	Value int
}

type Resposne struct {
	// for read value
	Value int
	// for put ok
	Ok bool
}

func main() {
	m := porcupine.Model{
		Init: func() interface{} {
			return 5
		},
		Step: func(state interface{}, input interface{}, output interface{}) (bool, interface{}) {
			st := state.(int)
			inp := input.(Request)
			out := output.(Resposne)

			if inp.Op == 0 {
				// read
				ok := out.Value == st
				return ok, st
			}

			return out.Ok, inp.Value
		},
	}

	events := []porcupine.Event{
		porcupine.Event{Kind: porcupine.CallEvent, Value: Request{Op: 0}, Id: 1},
		porcupine.Event{Kind: porcupine.CallEvent, Value: Request{Op: 1, Value: 10}, Id: 2},
		porcupine.Event{Kind: porcupine.ReturnEvent, Value: Resposne{Ok: false}, Id: 2},
		porcupine.Event{Kind: porcupine.ReturnEvent, Value: Resposne{Value: 5}, Id: 1},
	}

	if !porcupine.CheckEvents(m, events) {
		panic("must be linearizable")
	}
}

The history is very easy, the init state is 5, event 1 does the read operation and event 2 writes 10 but fails. I think the history may be a linearizability but to my surprised, it panics. If I change the write Ok to true, it will work.
Can you tell me why or what do I need to change for the case?
Thank you very much.

I see that in your etcd test, you can skip the fail write response. so do we need to handle failure like timeout too?

If write ok = false, I try to return origin state, seem it can work.

(sorry for the delay)
Yeah, that sounds reasonable. That's basically what I'm doing with the etcd test.

Thanks @anishathalye


Windows support?

Now that Meteor is about to release official support for Windows, would there be interest in making spacejam run on Windows? I know it's intended for CI, which runs on *nix machines, but for local development, it would be useful to have Windows support. Right now, I get
> spacejam --mongo-url mongodb:// test-packages ./

spacejam: spawning meteor
spacejam: killing meteor

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:988:11)
    at Process.ChildProcess._handle.onexit (child_process.js:779:34)

Would be nice, but I won't work on this one until windows support is officially out there and stable.

Got the same issue? Any plans on supporting Windows?
The above issue is easily fixable just by using cross-spawn here https://github.com/practicalmeteor/spacejam/blob/master/lib/ChildProcess.js#L14 instead of child_process.
However I did not have time to check if any other problems will not pop up after that one.

@wojtkowiak thanks for the pointer, will check it out.

Hi,
It's working great on windows with this commit, but I didn't run tests so tell me if it's still ok.
As you know, psargs and ppid are not supported under windows, so I needed to remove this test https://github.com/serut/spacejam/commit/ffaa9c9d26d8ed60d83f6315350743082786799b#diff-0b5f1f297c7739069dfef6aa7cc959c1L29. Is it really important to check that mongod has the PPID of meteor ? Another solution would be to edit practicalmeteor/ps to ignore psargs and ppid if the  running platform is windows.
Renaming Phantom.js into PhantomjsRunner.js was mandatory, I don't know why cross-spawn.spawn first looks inside the directory if a file match and then in the PATH, but it's what I observed.

I had this issue as well (Windows 10) and wanted to fix it because my Cloud9 *nix VM tends to run out of disk space so I need an alternative local IDE and meteor installation.
Running meteor test-packages runs fine out of the box btw.
So here's how I got it to work (it's not exactly the same as the commit does):

made backups of all the files in my npm\node_modules\spacejam\lib folder
use cross-spawn-async in ChildProcess Line 14

ChildProcess._spawn = require("cross-spawn-async").spawn;

added Windows-specific code to findAllChildren function in MeteorMongodb.js Line 40:

if (process.platform === 'win32') {
  var resultList = [];
  var bat = require('child_process').spawn('cmd.exe', ['/c', 'getChildren.bat ' + this.meteorPid]);

  bat.stdout.on('data', function (data) {
    var childPid = data.toString().trim();
    resultList.push({pid: parseInt(childPid)});
  });

  bat.stderr.on('data', function (data) {
    return log.warn("spacejam: Warning: Error enumerating mongod children:\n", data);
  });

  bat.on('exit', function (code) {
    if (code != 0) {
      return log.warn("spacejam: Warning: Enumerating mongod children returned with error code: ", code);
    }
    log.info("MongoDB children:\n", resultList);
    this.mongodChilds = resultList;
    if (resultList.length === 0) {
      return log.warn("spacejam: Warning: Couldn't find any mongod children:\n", err);
    } else if (resultList.length > 1) {
      return log.warn("spacejam: Warning: Found more than one mongod child:\n", resultList);
    } else {
      return log.debug("Found meteor mongod child with pid: ", resultList[0].pid);
    }
  });

  return;
}

created a batch file getChildren.bat to implement getting child processes because *nix ps doesn't cut it on Windows:

@echo off & setlocal enabledelayedexpansion
set PPID=%1
for /F "skip=1 tokens=1" %%a in ('wmic process where "ParentProcessID=%PPID%" get processid') do for %%b in (%%a) do (
  echo %%a
)

I did NOT have to rename Phantomjs.js to PhantomjsRunner.js
I tested with and without renaming and could not see a difference.
what I did have to do was install phantomjs globally (npm i -g phantomjs) because otherwise Spacejam failed to spawn it. It seems just installing spacejam with -g does not suffice because phantomjs does not end up being on the PATH, resulting in the dreaded "spawn ENOENT" error.

After those steps, spacejam ran my package test with test-in-console driver as normal. I ran spacejam with the "--loglevel debug" option to see what's happening. I'm still not sure everything works correctly and I still get "spacejam: Unknown error with exit code 'null'. Exiting." after the tests have run.
Also the spawned node and mongod processes still hang around until I double Ctrl-c in the console, so the code I added might not be enough although it duplicates the ps.lookup behaviour. If anyone finds out more about it, please share your findings. For now I'm happy the tests work. All of this was on Meteor 1.2.1 platform and I'm switching to Meteor 1.3 and refactoring my packages to use module imports/exports. After that, spacejam might not be needed anymore, but we'll see. In any case this post  might be useful for other scenarios that need Windows support...
As an aside, you can slightly modify the batch file to get the parent of a process instead, like this:
@echo off & setlocal enabledelayedexpansion
set PID=%1
set PPID=undefined
for /F "tokens=2 delims==" %%a in ('wmic process where "ProcessID=%PID%" get parentprocessid /value') do (
  if "%PPID%"=="undefined" set PPID=%%a
  goto break
)

:break
echo %PPID%

I put those batch files in the root of my meteor project, but they could be put somewhere else as well I guess, as the spawn function also has options to specify path and working director and whatnot.

I did NOT have to rename Phantomjs.js to PhantomjsRunner.js I tested with and without renaming and could not see a difference.
what I did have to do was install phantomjs globally (npm i -g phantomjs) because otherwise Spacejam failed to spawn it. It seems just installing spacejam with -g does not suffice because phantomjs does not end up being on the PATH, resulting in the dreaded "spawn ENOENT" error.
Yes windows looks first in the directory and then in the PATH ...! But I found an alternative, I use the full path of phantomjs:
https://github.com/practicalmeteor/spacejam/compare/master...serut:master#diff-46f7a2c55394d7160b95c6cfd50c64b9R40
Note that my repository works great on windows, but it doesn't look anymore if mongod is a child of meteor

Thanks @schoepke  and @serut I'm working with windows support and your contributions are welcome, if you want you can create a pull request.
@schoepke you can use spacejam for your app tests as well, the latest release of spacejam has support meteor test command.

Hello @serut @schoepke @wojtkowiak  @dandv  I've just release a new version of spacejam that can support windows, I've include all your suggestions.
To try the new version run this:
npm install -g<EMAIL_ADDRESS>

It's not working for me.
I'm getting the following error:
Error: Cannot find module 'coffee-script/register'     at Function.Module._resolveFilename (module.js:325:15)     at Function.Module._load (module.js:276:25)     at Module.require (module.js:353:17)     at require (internal/module.js:12:17)     at Object.<anonymous> (C:\Users\bruno\AppData\Roaming\npm\node_modules\spacejam\bin\spacejam:3:1)     at Module._compile (module.js:409:26)     at Object.Module._extensions..js (module.js:416:10)     at Module.load (module.js:343:32)     at Function.Module._load (module.js:300:12)     at Function.Module.runMain (module.js:441:10) Exited with code: 1.


Error (use-package): Unrecognized keyword: :blackout

The full warning message is as follows:
Error (use-package): Failed to parse package org-agenda: use-package: Unrecognized keyword: :blackout

I've installed both use-package, org and blackout with straight. These are the installed versions:
 ("blackout" . "4bac44671fca4c98d96aa94c79946bf4d4baf0ee")
 ("org" . "b6e3e8f2b692ed1720751611d41d53765743bea6")
 ("use-package" . "42db6b3d90ee57d0f5947d3b0bf4b0010bdf7b40")

Now I configure org-agenda as follows stealing your use-feature macro from radian :)
(use-feature org-agenda                 ; Task management
  :bind (("C-c o a" . org-agenda)
         ("H-a"     . hydra-org-agenda/body))
  :blackout "Org-Agenda")

However, per the error message it seems the :blackout keyword is not recognised by use-package mhich would contradict the README. My aim is to only see "Org-Agenda" as the mode lighter. I was hoping blackout would succeed where previously diminish and delight failed for me.
Thanks for your time.

Let me know if the latest commit fixes it for you.

Yes, with this fix I no longer see the error message. Thank you.
I should have stated (and/or realised) that I had deferred the loading of blackout before but I guess you figured that was the case with this fix.
Now, I still see the additional mode lighters when I make any changes to the agenda view (e.g. "Org-Agenda Day Ddl Grid Habit") but they disappear when I rebuild (r) the view and I then only see the desired "Org-Agenda". Is it too much to ask of blackout to avoid seeing even these transient lighters? Either way blackout achieves what the other packages did not so I'm happy. Thanks again for your time. Please feel free to close this issue.

That's a reasonable feature request. Why don't you open a new issue with directions to reproduce the problem?


Any chance to have it work in JSX

For styled-components
https://www.styled-components.com

I meant to reply to this sooner, but didn't want to have to say that this is out of scope for the project.
Unfortunately though I'd say this is not in the scope of this project, and probably belongs in another project related to JSX syntax (feel free to fork this or borrow any parts though)
The main reason is that this would have to load on and understand JS syntax.  There are also many other languages and flavors of languages that can include CSS and each one would need a different syntax parser, as well as perhaps different import logic.
I could potentially abstract out some of the common logic and create separate modules for different filetypes -- but this will definitely take some time, plus I am not too familiar with the other syntaxes :/

No problem at all thanks for this plugin anyways!


Constructor overloads

Let's say I have
@sum_type Either begin
    A
    B(x::Int, y::Int)
end

And normally I would have had
struct B
    x::Int
    y::Int
end
B() = B(0, 0)
B(x) = B(x, x)

I cannot add such constructors to the sum type B currently, can I?

You can add whatever constructors you like:
julia> using SumTypes

julia> @sum_type Either begin
           A
           B(x::Int, y::Int)
       end;

julia> B(x) = B(x, x);

julia> B(1)
B(1, 1)::Either

julia> B(s::Symbol) = println("hi");

julia> B(:some_symbol)
hi

@jkrumbiegel does this answer your question?

Yes thank you, for some reason I just assumed this wasn't possible, or maybe I tried it a slightly different way.


Add resource HA pair support

Added class Infoblox::Grid::HaPair which get two instances with corrsponding
ports/floating-ips and configure this two instances to be HA pair.
Add HA pair support into resourc  Infoblox::Grid::Member.
HaPair tested with
gm-ha.yaml.txt
GridMember tested with
member-ha.yaml.txt

Corresponding templates changes are pull requested at https://github.com/infobloxopen/engcloud/pull/2

Ok, I think this is looking pretty good. One thing I would like to do. Since we know the Neutron ports that are the HA ports, let's automatically add the allowed_address_pairs to the ports. Because otherwise the user needs to calculate the MAC address for the VIP manually. We should make that optional, in case someone has port security disabled or is doing something else with the ports.

I fixed 'ROUTE' issue and update templates to use 'vip' port MAC address in 'HA' ports 'allowed_address_pairs'.
I test these changes manually.

Added option 'use_ipv4_vip' (default is True) to select which VIP address (IPv4 or IPv6) should be used as VIP.
I remove 'allowed_address_pairs' from templates and add code to update ports with 'allowed_address_pairs' which contains correct VIP IP address and corresponding MAC address which is calculated from IP version and virtual route ID.
Tested manually at http://<IP_ADDRESS>/

Added option 'use_ipv4_vip' (default is True) to select which VIP address (IPv4 or IPv6) should be used as VIP.
I remove 'allowed_address_pairs' from templates and add code to update ports with 'allowed_address_pairs' which contains correct VIP IP address and corresponding MAC address which is calculated from IP version and virtual route ID.
Tested manually at http://<IP_ADDRESS>/

Code fixed according to comments.
UTs added.

@AliaksandrDziarkach, please make the update of the allowed_address_pairs optional (a flag that defaults to true). The user may not want it (for example if they disable port security, then trying to set these will cause an error).
Also, fix the conflicts, and I think it will be ready to go.

Added option 'update_allowed_address_pairs'. Added corresponding UT.
Fixed conflicts.

Ok, I merged this. But please follow up with an update to the README describing the new resource. It should clearly state that the new resource is for creating an HA pair GM, not for adding an HA pair to an existing grid, and point people in the right direction for how to do that.


CkIO miscalculates number of stripes for large files.

Original author: Thomas Quinn
Original issue: https://charm.cs.illinois.edu/redmine/issues/531

In Director::prepareWriteSession(), an int is used for the calculation of number of stripes.  This overflows for file sizes bigger than 2^31, and gets the wrong number of stripes.  Here is a proposed patch:
--- a/src/libs/ck-libs/io/ckio.C
+++ b/src/libs/ck-libs/io/ckio.C
-111,7 +111,8 namespace Ck { namespace IO {
Options &opts = files[file].opts;
       // XXX: Replace with a direct calculation

     int numStripes = 0, o = offset;

     int numStripes = 0;

     size_t o = offset;
     while (o < offset + bytes) {
       numStripes++;
       o += opts.peStripe - o % opts.peStripe;

Original date: 2014-07-24 22:33:08

http://charm.cs.uiuc.edu/gerrit/#/c/320/


Update BaseRestHandler to implement default routes

Describe the bug
Update BaseRestHandler to implement default routes() instead of an abstract class.
This will help developers not to implement empty methods even though they don't need it.
They can always override the method if they'd like.
https://github.com/opensearch-project/OpenSearch/blob/0ba0e7cc26060f964fcbf6ee45bae53b3a9941d0/server/src/main/java/org/opensearch/rest/BaseRestHandler.java#L102
Expected behavior
Return an empty list so that classes which extend do not have implement empty methods even if they don't have to.
Plugins
OpenSearch Anomaly-Detection
Host/Environment (please complete the following information):

OS: Linux x64

In this case routes is not required because all the routes have replacedRoutes.

routes() method is from interface RestHandler, which already has default implementation here. May we should remove this method overriding from RestHandler at BaseRestHandler .

Can we have a way to enforce one of routes or replacedRoute as I don't think a RestHandler should exist without a route. This proposal can allow the plugin implementation to get away without providing any of them which breaks the contract

Such a contract can't be enforced by Java. Any subclass that implements RestHandler can overwrite both routes() and replacedRoutes() and return empty list for both. Additionally, I don't think that enforcing that one of the methods returns a non-empty list is desirable. Some handlers may provide routes only under certain conditions/settings.


Automatic year update in Copyright section

Fixes Issue

Resolves the issue - #130

Changes proposed
Added a function to automatically fetch the current year instead of hard-coded value.

Hey @himanshu1221 ...
Thank you for accepting the contribution. I will try to add more features in the project.
Can you please add the GSSoC'23 label for this PR?


Add mappings for ServiceProvider mapped Classes?

Howdy,
When using Service Providers in Laravel to register a binding between an Interface and a Class and then using Dependency Injection in a class you then have the problem that PHPStorm cannot find the methods for the class.
I wonder if there is a way of extending this IDE Helper to check the app.php service providers and then loop through adding a reference to the methods in the registered class?
Just thinking out loud.
Cheers, James

@jamesmills is this still relevant?
This was posted in 2014 so this must have been L4, we're now at L7 :}
Also, at reproducible code fragment would help here showing the problem.

It's possible that newer versions of everything now handle this better.

@jamesmills I don't know, but if you can come up with a reproducible example it makes sense to re-open and investigate this!


✨ functions: support enum argument types

What are you trying to do?

Provide a way to define possible argument values of functions (e.g. [male, female] for gender).

Why is this important to you?
shell completion
How are you currently working around this?
No response

@rsteube, these are two separate things. Can you split the json output into its own issue?

High level design for the schema required for this:

https://github.com/dagger/dagger/pull/7158#issuecomment-2098168444

To support defining new enums via the API it’s similar to ObjectTypeDef, where the fields are just a list of values and their descriptions:
type EnumTypeDef {
  name: String!
  description: String!
  values: [EnumValueTypeDef!]!
}

type EnumValueTypeDef {
  name: String!
  description: String!
}

type TypeDef {
  """
  If kind is ENUM_KIND, the enum-specific type definition.
  If kind is not ENUM_KIND, this will be null.
  """
  asEnum: EnumTypeDef

  """
  Returns a TypeDef of kind Enum with the provided name.

  Note that an enum's values may be omitted if the intent is only to refer to an enum.
  This is how functions are able to return their own, or any other circular reference.
  """
  withEnum(name: String!, description: String = ""): TypeDef!

  """
  Adds a static value for an Enum TypeDef, failing if the type is not an enum.
  """
  withValue(name: String!, description: String = ""): TypeDef!
}

enum TypeDefKind {
  """
  A GraphQL enum type and its values.

  Always paired with an EnumTypeDef.
  """
  ENUM_KIND
}


Adds repr method to Token - Fixes issue 7250

According to the previous conversation in #9543 , I followed the instructions and created this new PR.
Previous notes
Issue #7250 was previously solved via PR #7839 but there was some trouble during the checks.
The conversation in the PR 7839 ended, so I continued the work.
Proposed changes:

Represent a Token object as a string using python __repr__ method
Add a change log related to that

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[x] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

Hey @aeshky, this is the new PR you asked me to create and tag you :) .

I see the PR failed the code quality check.
I'm on it to fix it !

Hi @ErickGiffoni. Yes, it's saying the line with return statement is too long. You should split it then reformat using black.

@aeshky thanks, I've done it. Now it should be ok !

Ok, I'm on it again lol

@aeshky what do you think we should do about the missing docstring problem in the Code Quality check ?
Can I move the docstring under the Tokenizer.__init__ up to line 70 ?

@aeshky are we the champions ? 😆
I think now we can probably celebrate

Hi @ErickGiffoni, I'm wondering how you're getting on with this issue. Do you need any further support? Only a small changelog edit and a branch update left before we can merge this 🙂

Hi @ErickGiffoni, I'm wondering how you're getting on with this issue. Do you need any further support? Only a small changelog edit and a branch update left before we can merge this 🙂

Hey @aeshky sorry for the delay ! I was facing some personal problems.
I 'll get to it right now ! Thanks !

Congrats on merging this @ErickGiffoni and thanks for your contribution 🚀


Getting some error while running uwsim for 1st time.

I have installed uwsim using UWSim Source-based installation . Now I am trying to run uwsim first time using command rosrun uwsim uwsim. So, asked me to download some data,  after I clicked yes, no new window appears. Instead, it shows following error.
it shows massage shows in command window after runnin rosrun uwsim uwsim
Starting UWSim...
Loading SimulatedDevices plugin: 'DredgeTool_Factory'
Loading SimulatedDevices plugin: 'ForceSensor_Factory'
Loading SimulatedDevices plugin: 'SimDev_Echo_Factory'
. Setting localized world: 4.1e-05s
Loading URDF robot...
· robot/GIRONA500/g500_March11.osg: Error retrieving file robot/GIRONA500/g500_March11.osg Check URDF file or set your data path with the --dataPath option.
terminate called after throwing an instance of 'pluginlib::LibraryUnloadException'
what():  According to the loaded plugin descriptions the class ForceSensor_Factory with base class type uwsim::SimulatedDeviceFactory does not exist. Declared types are  DredgeTool_Factory ForceSensor_Factory SimDev_Echo_Factory
./uwsim: line 23:  4915 Aborted                 (core dumped) rosrun uwsim uwsim_binary --dataPath ~/.uwsim/data $@
Please suggest if anyone knows how to solve it!

Hello
The data is already downloaded, please run the "install_usv_sim" script.
So the folder ".uwsim" will be moved to your home folder.
Regards,
Marcelo

Thank you for your reply sir. I am learning ROS and I am completely new to this. Can you please tell me, where that file is located if I want to run it?

When I try to run the "install_usv_sim" script, I get the following:
mv: cannot stat '.uwsim': No such file or directory

When I try to run the "install_usv_sim" script, I get the following:
mv: cannot stat '.uwsim': No such file or directory


C++: Support flow through LambdaExpression

I've checked with a temporary workaround for the locations problem that my annotations in the test cpp files are on the correct lines.

LGTM, merging.
I mentioned the locations issue to the extractor team but I'm not sure whether anyone's on it, or how high priority it should be.


Transfer function example results in error.

The example usage of the transfer function emulator in the README and on the landing page of the docs results in an error when running EmuPred = TransferEmu.emu_predict(COSMO).  This is caused by the emulator expecting sigma8 and Neff in the COSMO array. Example should be updated and/or changes made to what the transfer emulator expects in COSMO.

Docs show quick fix.


How could I get the current page number when paginating?

Hi, thanks for contributing this useful Ember adapter!
I'm playing with integrating a project of mine based on DRF 3.3.3 and Ember.js with Ember Data 2.6.0 and ember-django-adapter 1.1.2.
Right now in an HBS template file that lists the instances of some given model I have something like this:
  {{#if model.meta.previous}}
    {{#link-to 'cars' (query-params page=model.meta.previous)}}Go Previous{{/link-to}}
  {{/if}}
  {{#if model.meta.next}}
    {{#link-to 'cars' (query-params page=model.meta.next)}}Go Next{{/link-to}}
  {{/if}}

However, I would like to know how to do something like this in the same HBS template file:
Your current page is: {{model.meta.WHAT_COULD_I_USE_HERE?}}

Thanks in advance for your time and attention.

By the way, I have another question.
Besides having a variable with the value of the current page number when paginating, do you foresee another way to get a link to each individual page available in the full pagination set? I mean, something like the example showed at Displaying links to individual page numbers.
Note: for the backend side provided by DRF 3.3.3 I'm using the PageNumberPagination class.
Again, thanks a lot!

Following Django Paginator, Page.number --> meta.number would be a sensible serialisation.
Unfortunately, the default django adapter doesn't support number (only next, previous).
The easiest work-around would be to manually include number in meta from within Ember. Can either grab from the query param, or compute from next/previous. Close example is in the docs.
Something like...
export default DRFSerializer.extend({
  extractMeta: function(store, type, payload) {
    let meta = this._super(store, type, payload);
    if (!Ember.isNone(meta)) {
        if ( (meta.next-1) == meta.previous +1 )
            meta['number'] = meta.next-1;
    }
    return meta;
  }
});

Has this workaround been sufficient for folks?
What's the feeling about including number as a computed property?

https://github.com/dustinfarris/ember-django-adapter/blob/7231937ad5e34ed44e6cb29aa3bf5827aff08b2e/addon/serializers/drf.js
https://github.com/dustinfarris/ember-django-adapter/blob/7231937ad5e34ed44e6cb29aa3bf5827aff08b2e/tests/acceptance/pagination-test.js

It makes sense to me that we include the current page number as a computed property. I'm a bit out of the loop on this project these days so I'll defer the final decision to @dustinfarris. If he agrees, then you're welcome to make a PR to add the feature.

I like it!  PR would be welcome!


Android IP Webcam 2 way communication

I have home assistant with frigate extension and go2rtc stream in config. Camera stream is from Android IP webcam app on android phone.
go2rtc:
  streams:
    rtsp_cam: # <- for RTSP streams
      - rtsp://log:pass@<IP_ADDRESS>:8080/h264_opus.sdp
      -

Camera stream from ip webcam app is not supporting backchannel. Audio can be sent only via this command:
curl --data-binary @rec.wav http://ip:port/audioin.wav
Is possible to configure 2 way audio communication in stream preview in home assistant?

No. This is not a streaming API. This is single file API.


error

Hello, I'm trying to compile but I get this error, can you help, thank you.

Brother, the source file and header file attached after you have not been added.

and where do I download these files?

I can't compile, could you pass your script? Thanks.


fails to install

Copying and pasting the install instructions leads to failure.
╭─sketchybar-app-font on  main is 📦 v2.0.17 via  v22.9.0 ❯
└─> pnpm install
Lockfile is up to date, resolution step is skipped
Packages: +413
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 413, reused 0, downloaded 413, added 413, done
<EMAIL_ADDRESS>Running install script, done in 6.6s

dependencies:
+ chokidar 3.5.3
+ express 4.18.2
+ livereload 0.9.3

devDependencies:
+ svgtofont 4.1.1

Done in 11.8s
╭─sketchybar-app-font on  main [!] is 📦 v2.0.17 via  v22.9.0 took 11s ❯
└─> pnpm run build:install

><EMAIL_ADDRESS>build:install /Users/I530566/tmp/sketchybar-app-font
> node ./install.js

(node:33127) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Found a line element in the icon ":maps:" the result could be different than expected.
Found a line element in the icon ":maps:" the result could be different than expected.
Found a clipPath element in the icon ":tana:" the result may be different than expected.
Found a clipPath element in the icon ":tana:" the result may be different than expected.
Found a clipPath element in the icon ":tana:" the result may be different than expected.
Font created
SUCCESS SVG font successfully created!
  ╰┈▶ /Users/I530566/tmp/sketchybar-app-font/dist/sketchybar-app-font.svg
SUCCESS TTF font successfully created!
  ╰┈▶ /Users/I530566/tmp/sketchybar-app-font/dist/sketchybar-app-font.ttf
SUCCESS EOT font successfully created!
  ╰┈▶ /Users/I530566/tmp/sketchybar-app-font/dist/sketchybar-app-font.eot
SUCCESS WOFF font successfully created!
  ╰┈▶ /Users/I530566/tmp/sketchybar-app-font/dist/sketchybar-app-font.woff
SUCCESS WOFF2 font successfully created!
  ╰┈▶ /Users/I530566/tmp/sketchybar-app-font/dist/sketchybar-app-font.woff2
SUCCESS Svg Symbol font successfully created!
  ╰┈▶ /Users/I530566/tmp/sketchybar-app-font/dist/sketchybar-app-font.symbol.svg
SUCCESS Created /Users/I530566/tmp/sketchybar-app-font/dist/sketchybar-app-font.json
SUCCESS Created React Components.
done!
╭─sketchybar-app-font on  main [!] is 📦 v2.0.17 via  v22.9.0 took 2s ❯
└─> pnpm run build:install -- $HOME/.config/sketchybar/scripts/my-script.sh

><EMAIL_ADDRESS>build:install /Users/I530566/tmp/sketchybar-app-font
> node ./install.js "--" "/Users/I530566/.config/sketchybar/scripts/my-script.sh"

(node:34902) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Found a line element in the icon ":maps:" the result could be different than expected.
Found a line element in the icon ":maps:" the result could be different than expected.
Found a clipPath element in the icon ":tana:" the result may be different than expected.
Found a clipPath element in the icon ":tana:" the result may be different than expected.
Found a clipPath element in the icon ":tana:" the result may be different than expected.
Font created
SUCCESS SVG font successfully created!
  ╰┈▶ /Users/I530566/tmp/sketchybar-app-font/dist/sketchybar-app-font.svg
SUCCESS TTF font successfully created!
  ╰┈▶ /Users/I530566/tmp/sketchybar-app-font/dist/sketchybar-app-font.ttf
SUCCESS EOT font successfully created!
  ╰┈▶ /Users/I530566/tmp/sketchybar-app-font/dist/sketchybar-app-font.eot
SUCCESS WOFF font successfully created!
  ╰┈▶ /Users/I530566/tmp/sketchybar-app-font/dist/sketchybar-app-font.woff
SUCCESS WOFF2 font successfully created!
  ╰┈▶ /Users/I530566/tmp/sketchybar-app-font/dist/sketchybar-app-font.woff2
SUCCESS Svg Symbol font successfully created!
  ╰┈▶ /Users/I530566/tmp/sketchybar-app-font/dist/sketchybar-app-font.symbol.svg
SUCCESS Created /Users/I530566/tmp/sketchybar-app-font/dist/sketchybar-app-font.json
SUCCESS Created React Components.
done!
node:fs:441
    return binding.readFileUtf8(path, stringToFlags(options.flag));
                   ^

Error: ENOENT: no such file or directory, open '/Users/I530566/tmp/sketchybar-app-font/--'
    at Object.readFileSync (node:fs:441:20)
    at install (file:///Users/I530566/tmp/sketchybar-app-font/install.js:17:31)
    at file:///Users/I530566/tmp/sketchybar-app-font/install.js:46:3
    at ModuleJob.run (node:internal/modules/esm/module_job:262:25)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:483:26)
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/Users/I530566/tmp/sketchybar-app-font/--'
}

Node.js v22.9.0
 ELIFECYCLE  Command failed with exit code 1.

It seems that the -- are not necessary anymore with your version of pnpm:
Error: ENOENT: no such file or directory, open '/Users/I530566/tmp/sketchybar-app-font/--'

You would also have to specify which script to install into (it's likely not my-script.sh ;)).


IndexError: bytes to write exceed buffer size

Hi, I'm trying to use Scenario Runner to run the OpenScenario scenarios using manual_control.py. In separate terminals, I run the simulator, scenario_runner.py and manual control.py with these commands:
$ ./CarlaUE4.sh -opengl Town04
$ python scenario_runner.py --openscenario <path_to_scenario>
$ python manual_control.py
After i run manual_control.py, i got the IndexError:
Traceback (most recent call last):
File "manual_control.py", line 550, in
self.sensor.listen(lambda image: CameraManager._parse_image(weak_self, image))
File "manual_control.py", line 590, in _parse_image
self._surface = pygame.surfarray.make_surface(array.swapaxes(0, 1))
File "/usr/lib/python2.7/dist-packages/pygame/surfarray.py", line 243, in make_surface
return numpysf.make_surface (array)
File "/usr/lib/python2.7/dist-packages/pygame/_numpysurfarray.py", line 368, in make_surface
blit_array (surface, array)
File "/usr/lib/python2.7/dist-packages/pygame/_numpysurfarray.py", line 437, in blit_array
surface.get_buffer ().write (data, 0)
IndexError: bytes to write exceed buffer size
Is this error related to GPU capability or something about scenario_runner?

OS:  Ubuntu 18.04
CARLA Version: CARLA 0.9.9-50
Python version: 2.7
GPU: NVidia Quadro K3100M (GPU capability : 3.0)
Scenario runner version : 0.9.8

Is there any idea what could be causing this error?
Thank you for your help!

Hey, sorry for the delay. If I recall correctly, this was caused by the manual control lacking some world ticks, which didn't correctly set up the surface before trying to access it. This should be fixed so I'm closing the issue. Feel free to reopen it if you can still reproduce it


Enable full archival of Tweet text underneath a "show more" truncation

The full text of a non-base Tweet in a Thread may be truncated with a "show more" link.  That link will link to the full Tweet, which will have the full text.  However, the scraper does not currently understand this, and will not scrape the full text of such a Tweet.

Expanded the "deferred tweet scraping" logic to include not just Quote-Tweets, but also "Show more" Tweets.  Also expanded on certain functions to account for post metadata that was getting lost in the new code flow.
As of commit 31c902979f92f3c391c3bb2923da7294101374ac the proper functionality has been added and this issue is resolved!


Upgrade to Influxdb 0.9

Influxdb 0.9 introduced a new API, but also solved some data corruption issues related to clustering. Is there a time frame for upgrading?

(duplicate)


Make output filenames match real filenames

When using a custom --format argument, always replace the tmp dir path.
Many formatters will output the absolute filename.
Additionally, when the .rb extension is added to filenames, make sure
to strip it back off in the output.

Tidied up a typo in the commit message


BibTeX export does not store "References" field from WOS/Scopus

Input Data: BBT.zip
Export (after clean up with Zotero):
Articles.zip
I imported both a WOS and Scopus ".bib" files into a Zotero group. Than, after duplicates elimination, I try to export the library that resulted as a BibTeX file. However, the "References" column (i.e. the bibliography of each article), part of the original imported BibTeX files, disappears (i.e. I get an uncompleted BibTeX file).
I understand Zotero has no formal way to store references of items, so I would lose those in any import/export process. So, any way to work this around ??
Thanks !!

I'll need samples of those "WOS" and Scopus bib files.

Can you pick out one or two references that have the fields you want? I intend to add the samples to my test suite, and I'd rather not add this many if I don't have to.

From the looks of it, references contains formatted bibliographies, I assume a list of papers cited by the article in question. I first assumed it would be citekeys. This could perhaps be imported as a note, I don't see much value in round-tripping this in bibtex im-export.

Yes of course, here is a better test sample:
Scopus and WOS.zip
The field is called "Cited references" or "references" in WOS ("savedrecs.BibTeX") and Scopus ("scopus.BibTeX") files respectively-

It would be great to have a BibTeX file at the end of this process (after mixing both databases and removing duplicates), that is why I am trying to do this with Zotero.

Zotero is not the best tool for round-tripping bibtex data, even with BBT installed. you want to mix bibtex databases and you want to incur zero loss, you're better off with JabRef.

BBT will already import this and retain the fields on export. I could look at retaining these fields on duplicate merge, but if it's actual duplicate removal, BBT should already do what you want.


Launchpad: Add pagination support for (legacy) queries

Right now we return all data

Let's just skip this and do #242


nextjs Could not open datamodel file "\schema.prisma"'

Bug description
I am using yarn berry to build the primsa client into a separate workspace. I am then using the client in two different places, one is a stand-alone web service and the other is a nextjs web app. The prisma client works correctly in the stand-alone web service, but when I try to use it within my nextjs app it throws this when I try to run a query.
  Query engine exited with code 101

thread 'main' panicked at 'Could not open datamodel file "\\schema.prisma"', query-engine\query-engine\src\opt.rs:185:53
stack backtrace:
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: <unknown>
   9: <unknown>
  10: <unknown>
  11: <unknown>
  12: <unknown>
  13: <unknown>
  14: <unknown>
  15: <unknown>
  16: <unknown>
  17: <unknown>
  18: <unknown>
  19: <unknown>
  20: <unknown>
  21: <unknown>
  22: <unknown>
  23: BaseThreadInitThunk
  24: RtlUserThreadStart
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
    at PrismaClientFetcher.request (C:\Users\guyal\Documents\flightv2\packages\web-portal\.next\server\pages\api\resource-secondary-skills.js:79092:15)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5) {
  clientVersion: '2.11.0'
}

How to reproduce
My yarn berry configuration is arranged like so:
- packages
  - prisma-client
  - web-service
  - web-app

Environment & setup

OS: Win 10
Database: sqlite
Node.js version: 12.16.1
Prisma version: 2.11.0

@GuyARoss Yarn 2 is not supported right now.
Please follow https://github.com/prisma/prisma/issues/1439

@pantharshit00 what do you mean it isn't supported? I can get it to work correctly in my repo by building my client to its own workspace. I pass around this client everywhere in my other packages and it works correctly. The issue that exists is when I try to use that client within nextJS. (assuming it has something to do with nextJS not actually packing the prisma client correctly)

@GuyARoss There are known issues(follow the link that I have posted) so that is why it is not currently supported.


Ignoring overloads after the first in method comments

Description
When using #:: comments to express method overloads, everything after the first | is ignored.
Steps to Reproduce
Run rbs-inline on the following program:
#:: (String) -> String | (Integer) -> Integer
def foo(x)
  x
end

Expected Result
The following should be generated:
#:: (String) -> String | (Integer) -> Integer
def foo: (String) -> String | (Integer) -> Integer

Actual Result
Everything after the first | is ignored, resulting in:
#:: (String) -> String | (Integer) -> Integer
def foo: (String) -> String

Environment

rbs-inline: 0.3.0

The syntax accepts only one overload. So, having another overload after the | token doesn't work.

Is this the current way to write overloads?
#:: (String) -> String
#:: (Integer) -> Integer

Perhaps OP’s expectation is more explicit?
#:: (String) -> String
# | (Integer) -> Integer

Hmm...
Yeah, it's possible.

Oh, thank you very much. It seems to work as expected with the following.
#:: (String) -> String
#:: (Integer) -> Integer

I also found the following on the Wiki:

Having multiple #:: syntax generates method definition with overloads.

My issue was not so much a syntax problem, but rather that I felt rbs-inline could not express overloads. I will close this issue now that I know I was mistaken.
Thank you for your comments!


branch-2.1 Support use Auto and Dynamic partition at the same time (#39580)

pick https://github.com/apache/doris/pull/39580

run buildall


Akhil - Frontend work

[x] Redesign website to fit the Passion Project Frontend Blueprint
[x] Add pages for the separate projects we are going to create

[x] Music Recommendation
[x] Music Generator

[x] Add some user interaction/user input for the pages

[x] Add an input/output for the 2 projects
[x] Allow multiple inputs for one category

This week, I worked on creating the frontend pages for the passion project. I used the blueprint from the Canva poster we made to create the design for the project pages. On these project pages, I added multiple input boxes, each w/ their own output boxes. This will allow us to get input from the user. I also made sure that the user could add multiple inputs for the recommender so that it would be more accurate.


Initialize UI language as user's browser language

This is current behaviour of DSpace to be reproduced. I dipped into this, based on code available from the ngx-translate example at https://stackblitz.com/github/ngx-translate/example, but couldn't get this to work yet in DSpace

Yes the basic behavior is to check the list of browser language settings use these, if not present in the supported locales use the default.
If a user logs in, use his user profile language.
If a user chooses a language from the UI use this.
I gave it a try and done a basic language-switch together with the the initial setting of the browser lang in the app component.  Just a stub but it switches the language.
https://github.com/cjuergen/dspace-angular/commit/c9300f986f589057a33fb1763927729a73edee7e
My very first step in Angular, so most likely there are better ways to do it. But you can try the branch out.

I did not find anything like https://docs.oracle.com/javase/7/docs/api/index.html?java/util/Locale.html getDisplayLanguage in ngx translate so I put the language display names in the message catalogues.
And I wonder whether we should be more specific and user the culture lang https://github.com/ngx-translate/core/blob/master/projects/ngx-translate/core/src/lib/translate.service.ts#L509 rather than the Browser Lang and than fallback on the basic language if no culture related translation is available.

Only saw your comment now - looks very similar to what i'm trying in https://github.com/bram-atmire/dspace-angular/commit/02cb1fb2e5093756c3dc6e558ddef18774ddd7a0 and indeed I agree, the language names themselves should be part of the catalog.


set cgroup limit env variables in slave script

should fix https://github.com/openshift/origin/issues/9188
@gabemontero

[test]


feat: init

feat: init

@CodiumAI-Agent /review

PR Analysis

🎯 Main theme: This PR introduces a basic HTTP server setup using Actix Web in Rust, along with the corresponding tests and CI/CD configurations.
📝 PR summary: The PR sets up a basic HTTP server using Actix Web in Rust, adds endpoints for index and health check, and includes tests for these endpoints. It also updates the CI/CD workflows and adds new ones for security audit, code quality checks, and Docker. The PR also updates the pre-commit hooks and other configurations.
📌 Type of PR: Enhancement
🧪 Relevant tests added: Yes
⏱ Estimated effort to review [1-5]: 3
The PR is of moderate size with changes in multiple files, including Rust code, tests, and CI/CD configuration. The code is well-structured and follows good practices, but a thorough review is needed to ensure everything is in order.
🔒 Security concerns: No
The PR does not seem to introduce any obvious security concerns. However, a thorough review of the new HTTP endpoints and their handlers is recommended to ensure they are secure.

PR Feedback

💡 General suggestions: The PR is well-structured and follows good practices. It's recommended to ensure that all the newly added endpoints are necessary and secure. Also, it's important to ensure that the CI/CD workflows cover all necessary checks and deployments.

 🤖 Code feedback:

relevant file: src/main.rs
suggestion: Consider logging the request in the 'index' function using the 'log' crate instead of 'println!' for better logging management. [important]
relevant line: println!("REQ: {req:?}");

relevant file: .github/workflows/audit.yml
suggestion: Consider adding a schedule for the security audit to run it periodically, not just on push or pull request events. [medium]
relevant line: on:

relevant file: .github/workflows/ci.yml
suggestion: Consider adding a step in the 'test' job to cache the dependencies for faster subsequent runs. [medium]
relevant line: jobs:

relevant file: .pre-commit-config.yaml
suggestion: Consider adding a pre-commit hook for running tests to ensure that all changes pass the tests before committing. [medium]
relevant line: repos:

How to use

Tag me in a comment '@CodiumAI-Agent' and add one of the following commands:
/review [-i]: Request a review of your Pull Request. For an incremental review, which only considers changes since the last review, include the '-i' option.
/describe: Modify the PR title and description based on the contents of the PR.
/improve [--extended]: Suggest improvements to the code in the PR. Extended mode employs several calls, and provides a more thorough feedback.
/ask <QUESTION>: Pose a question about the PR.
/update_changelog: Update the changelog based on the PR's contents.

To edit any configuration parameter from configuration.toml, add --config_path=new_value
For example: /review --pr_reviewer.extra_instructions="focus on the file: ..."
To list the possible configuration parameters, use the /config command.


chore: upgrade to expo 51

:rocket: This pull request is included in v0.11.3. See Release 0.11.3 for release notes.


Update face-detection.md

Only 25 landmarks in image. Either image needs to be changed or text

@nikhilchakravarty : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Integrate Publish with tD

tD should be notified when a new language is published.

@jag3773 how should they be notified?  is there an email address that we should send an email notice to?

@jag3773 I am guessing this is an API call. what data should be created when this happens?
a Scripture (https://github.com/Door43/translationDatabaseWeb/blob/master/td/uw/models.py#L194-L197) record?
@swilcox and I have discussed merging WorkInProgress and Scripture to represent generically any content being produced. Thoughts?

It may be easier to have tD process
https://api.unfoldingword.org/obs/txt/1/obs-catalog.json periodically?
Thank you,
Jesse Griffin
unfoldingWord Chief Technology Officer
On Tue, Feb 17, 2015 at 5:08 PM, Patrick Altman<EMAIL_ADDRESS>wrote:

@jag3773 https://github.com/jag3773 I am guessing this is an API call.
what data should be created when this happens?
a Scripture (
https://github.com/Door43/translationDatabaseWeb/blob/master/td/uw/models.py#L194-L197)
record?
@swilcox https://github.com/swilcox and I have discussed merging
WorkInProgress and Scripture to represent generically any content being
produced. Thoughts?
—
Reply to this email directly or view it on GitHub
https://github.com/unfoldingWord/uwadmin/issues/3#issuecomment-74783838.

Yup. that sounds like a good idea. I have moved this over to a task on tD


"authentication required but no callback set" on clone with SSH url

Hey, maybe I'm doing something wrong here, but it doesn't seem like Repository::clone or RepoBuilder likes SSH urls, for example: git@github.com:qrush/m.git.
Maybe I'm missing something on linking/building? It seems like git2-rs includes libssl, etc.

PEBKAC

I take it you ended up running across RemoteCallbacks?
For posterity's sake that combined with RepoBuilder should do the trick!

Yeah, I had to pass in a credentials callback, which i'm still trying to figure out. Stumbling around.

You may want to take a look at cargo's credential callback or crates.io's credential callback for some inspiration.


Code deploy build

@selfdanielj Thanks for all the feedback! Looks like I had some bad auto resolve conflicts with the multiple branches I force merged into 🤦♂

Not sure if you've worked more on this but to fix the test_full_crawl errors you probably want to replace the mock_init function in test_full_crawl.py lines 96-102 with:
        def mock_init(pipeline_cls, *_args, temp_dir=temp_dir, **_kwargs):
            pipeline_cls.api_url = None
            pipeline_cls.file_number = 1
            pipeline_cls.parent_file_path = temp_dir
            pipeline_cls.base_file_name = temp_dir / "output" / "all-links.csv"
            pipeline_cls.file_path = pipeline_cls.base_file_name
            pipeline_cls.current_file = open(pipeline_cls.file_path, "w", encoding="utf-8")

or something similar.  I briefly looked at the test_url_file_size tests and noticed you are using the mocker fixture with pytests... did you mean to also add the pytest-mock plugin to the requirements file?  Besides that i didnt dig into it but seems like the mocks are not right.


Remove duplicate lib in flow-support's examples

Remove the duplicate react-native.js flow-typed file reference in the flow-support's example section.

I am staring at "Please provide a summary in the Pull Request description" <- this for 15min now and am not sure what to do. 😕

No worries, that's just our bot, it's not very smart 😉
@styled-components/typers please review


model texture gets blurred

Description
I have created a earth model with additional texture in blender and the same used in here. Whenever I interact with earth model ,texture gets little blur (shaky effect) in the end of interaction. Is there anyway to stop this? I even viewed the same model in gltf-viewer site there was no blur while interacting. I appreciate some help with this. I have attached a demo site, try interact with it for blurry effect. Thank in advance
Live Demo

https://earthmodel.000webhostapp.com/

Can you please fill out your OS, browser and perhaps make a screen recording so I know what you mean by "shaky"? We dynamically lower resolution to keep the frame rate up, then go back to full res when the model stops moving. If you want to disable this, simply set minimumRenderScale to 1, but note this may result in low frame rate with complicated models / weak GPUs.

Browser : chrome
OS: windows
video link : (https://drive.google.com/drive/folders/1Uyg0bErMVgjaY42rie2aswAENy_doFG0?usp=sharing)
Sorry for the late response.

Yes, this is the intended behavior. I may experiment with making the transition happen a bit faster. If you really would prefer a drop in frame rate to a drop in resolution, the solution is as described above. Also keep in mind that this will happen less if you more model renders faster, which you can often achieve by optimizing its textures, materials, and mesh.


Add a SqlReturnTypeInference strategy for extract_union UDF to deal w…

…ith 1/2 arg cases
@wmoustafa @funcheetah @shenodaguirguis

@rzhang10 could you test the 2-arg case on cluster and run regression tests for this PR? Thanks

When I previously tested this, it seems that coral-schema needs additional change to make this work. Actually it turned out I mistakenly did not include the patch into integration testing. Today I tested again and it works in spark.

@rzhang10 could you run integration tests for this PR?

Thanks @rzhang10 . Please run integration tests and make sure there is no regression before merging.

Thanks @rzhang10 . Please run integration tests and make sure there is no regression before merging.

tbh, I don't expect there will be any regression since this just affect extract_union 2 arg cases which were not supported before, it doesn't change any existing logic, but i think i can run intg test anyways.

30 commits! :-) rebase glitch?

30 commits! :-) rebase glitch?

yeah indeed... just fixed it..


Interactive marker for tf control

Does this already exist?

This belongs in a different project.

https://github.com/lucasw/rviz_interactive_tf


ci: fix lint command to support relocated APIs

I can't reproduce the error locally, so this will be trial and error with CI on this PR.

Coverage remained the same at 100.0% when pulling b1764a423df41836d49aa44697d19395b8365e32 on stephenplusplus:spp--2628 into e1f075ab0fe7a880faeb0fa8cc6a101daa3a0473 on GoogleCloudPlatform:master.

Well, these tests passed, which I'm not sure means anything. I'll try an edit of a random file from a random package.

Coverage remained the same at 100.0% when pulling 1378f092a9da957b92fb80b30765f98574384c1b on stephenplusplus:spp--2628 into e1f075ab0fe7a880faeb0fa8cc6a101daa3a0473 on GoogleCloudPlatform:master.

@callmehiphop PTAL!

Coverage remained the same at 100.0% when pulling 337d89a680f62f38a9e421f05a642020aeca725f on stephenplusplus:spp--2628 into e1f075ab0fe7a880faeb0fa8cc6a101daa3a0473 on GoogleCloudPlatform:master.


breaking: remove commonjs build

fixes #487
see faq if you need commonjs

side topic, i'm not sure if breaking: is a valid scope. i usually see it as feat!: or chore!: 🤔


Why  server is down

@# Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

@gauravcitrix Can you please share the Azure documentation link you are referring to ?  and explain more about the query you have about the documentation.
Please note that this channel (the Azure Docs repository) is only for driving improvements related to the Azure documentation

@gauravcitrix Since we have not heard back from you we will now proceed to close this thread. However if you can share additional information regarding the documentation you are referring and circle back on this thread , we will gladly reopen the issue and continue the discussion. Thank you.


v0.4.2 Home diva T pose

Going into diva menu, exploring it and going back on the home menu lead to T pose for the hope diva

Duplicate of #96


yeoman to yo

change to you as yeoman is old news
Warnings when trying to use yeoman....

Ha just seen this @davidferdinand , updated!

Ha just seen this @davidferdinand ! updated :)


Checkout submodules for build

Note that https://www.openmicroscopy.org/minutes/ currently is empty as opposed to https://snoopycrimecop.github.io/www.openmicroscopy.org/minutes/
Thanks to June for pointing it out. Propose for immediate tagging & re-release.

From the build:
  Submodule 'Schemas' (https://github.com/ome/schemas) registered for path 'Schemas'
  Submodule '_minutes' (https://github.com/ome/meeting-minutes) registered for path '_minutes'

As the snoopy had the meeting minutes anyway, there is no other way to check the success of this PR than to go for release if I understand it righth ?

Following "Actions" (at the top) > "Checkout submodules for build" > "www.openmicroscopy.org.tar.gz" you can download the artifact that would be released. When I do that, I see:
(base) ~/Downloads $tar tvf www.openmicroscopy.org.tar | grep minutes | tail
-rw-r--r--  0 runner runneradmin   20114 Dec  8 15:32 ./minutes/2019/2019-11-26.html
-rw-r--r--  0 runner runneradmin   19981 Dec  8 15:32 ./minutes/2019/2019-05-28.html
-rw-r--r--  0 runner runneradmin   17258 Dec  8 15:32 ./minutes/2019/2019-09-24.html
-rw-r--r--  0 runner runneradmin   17166 Dec  8 15:32 ./minutes/2019/2019-01-22.html
-rw-r--r--  0 runner runneradmin   19736 Dec  8 15:32 ./minutes/2019/2019-01-08.html
-rw-r--r--  0 runner runneradmin   16283 Dec  8 15:32 ./minutes/2019/2019-03-12.html
-rw-r--r--  0 runner runneradmin   21555 Dec  8 15:32 ./minutes/2019/2019-06-25.html
-rw-r--r--  0 runner runneradmin   19055 Dec  8 15:32 ./minutes/2019/2019-02-05.html
-rw-r--r--  0 runner runneradmin   17799 Dec  8 15:32 ./minutes/2019/2019-11-05.html
-rw-r--r--  0 runner runneradmin     200 Dec  8 15:32 ./minutes/README.md

I assume the submodule revert is unexpected? Not critical as i would like to update the pointer before the next tag.

I assume the submodule revert is unexpected?

Yes, sorry, and thank you. ;)


IBM X-Force Exchange - Bugfix - Corrected error handling

Please ensure your pull request (PR) adheres to the following guidelines:

Please refer to our contributing documentation for any questions on submitting a pull request, link: Contribution Guide

Pull Request Checklist
Please check if your PR fulfills the following requirements:

[X] Testing of all the changes has been performed (for bug fixes / features)
[ ] The manual_readme_content.md has been reviewed and added / updated if needed (for bug fixes / features)
[X] Use the following format for the PR description: <App Name>: <PR Type> - <PR Description>
[X] Provide release notes as part of the PR submission which describe high level points about the changes for the upcoming GA release.
[ ] Verify all checks are passing.
[X] Do NOT use the next branch of the forked repo. Create separate feature branch for raising the PR.
[X] Do NOT submit updates to dependencies unless it fixes an issue.

Pull Request Type
Please check the type of change your PR introduces:

[ ] New App
[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation
[X] Other (please describe): Removed requests wheel files to use the module version provided by SOAR

Release Notes (REQUIRED)

Fixed error handling to display useful error messages

What is the current behavior? (OPTIONAL)

HTTP errors are ignored as the response.raise_for_status method call is missing parentheses. This leads to the app failing later, but with unrelated exception messages.

What is the new behavior? (OPTIONAL)

The app now fails on HTTP errors, returning the full API error message.

Other information (OPTIONAL)

Before:

After:

Thanks for contributing!

The last commit reverted the main fix of this PR.
r.raise_for_status is a method. It needs () to be called.

I've reverted the commit 9becd2f.
Response.raise_for_status is a method. Therefore, parenthesis are required to call it. The commit called 'minor change' actually disables raising errors when HTTP errors occur, which is a major issue.
Please refer to the Requests module documentation: https://requests.readthedocs.io/en/latest/user/quickstart/#response-status-codes


Ubuntu 22.04

Any tips for spinning up BUCC on Ubuntu 22.04 with the vsphere cpi?
Trying for the first time on Ubuntu 22.04, but hitting ruby issues despite taking latest version of BUCC
make[1]: Entering directory '/home/tcpops/.bosh/installations/63a952a7-0a20-4077-6aac-9b119b721f70/tmp/bosh-release-pkg1762526370/ruby-2.7.5' *** Following extensions are not compiled: openssl:         Could not be configured. It will not be installed.         /home/tcpops/.bosh/installations/63a952a7-0a20-4077-6aac-9b119b721f70/tmp/bosh-release-pkg1762526370/ruby-2.7.5/ext/openssl/extconf.rb:111: OpenSSL >= 1.0.1, < 3.0.0 or LibreSSL >= 2.5.0 is required         Check ext/openssl/mkmf.log for more details. dbm:         Could not be configured. It will not be installed.         Check ext/dbm/mkmf.log for more details. gdbm:         Could not be configured. It will not be installed.         Check ext/gdbm/mkmf.log for more details. *** Fix the problems, then remove these directories and try again if you want.
Original docs on deps, dont cater for 22.04 either: https://bosh.io/docs/cli-v2-install/#additional-dependencies (tried same approach as for 18.04 but had to manually install libreadline7 for example)
Not sure if these are related: https://github.com/cloudfoundry/bosh/pull/2359 and https://github.com/cloudfoundry/bosh/pull/2354

I'm having the same issue, was there anymore progress on this?


Prompt for RelativeFilePaths in interactive update

[x] Have you signed the Contributor License Agreement?
[x] Are you working against an Issue?

Resolves #430

Examples manifests to test with are included in the linked issue
Unmatched RelativeFilePaths can be categorized into 2 types with this PR
CASE-I Same binary name, different directory name
a. Single match for example.exe in the new archive
e.g. Example-1.2\example.exe -> Example-1.3\example.exe
In this case the autonomous and interactive update logic will auto-detect the new binary from the archive and user does not have to do anything.
b. Multiple matches for example.exe in the new archive
e.g. Example-1.2\win64\example.exe matches with Example-1.3\win64\example.exe and Example-1.3\win32\example.exe in the new archive.
In this case the autonomous update will fail as it cannot disambiguate which example.exe to use as the new RelativeFilePath (although the above example makes it seem obvious which to choose but we need a way to generalize for any case). Interactive update will match for all example.exe in the new archive and prompt the user to select one
CASE-II Different binary name under different directories
e.g. Example-1.2\example-1.2.exe -> Example-1.3\example-1.3.exe
Autonomous update will fail again for same reasons. Interactive update will now scan for all .exe (old relativefilepath extension) in the new archive and prompt the user to select one of them as new RelativeFilePath. If there are no .exe files in the new archive, the interactive update can't move any forward and an appropriate message is printed.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-create/pull/431&drop=dogfoodAlpha

/azp run


job profiles all firing at once

https://github.com/dremio/dremio-diagnostic-collector/commit/51cd99c8c7fdbfdf0fdbbeb49a66d3938b6712b3


Call storage_objects_insert_simple with just a name and make Dialyzer happy

In this example:
    {:ok, object} = GoogleApi.Storage.V1.Api.Objects.storage_objects_insert_simple(
      conn,
      bucket_id,
      "multipart",
      %{name: Path.basename(file_path)},
      file_path
    )

Considering the specs, Dialyzer is not happy with this because storage_objects_insert_simple expects a GoogleApi.Storage.V1.Model.Object in metadata.
I just want to pass name in metadata.
Is there a way to call storage_objects_insert_simple without building a GoogleApi.Storage.V1.Model.Object  and make Dialyzer happy?

Oops sorry it works well with the last version (0.44.0).


Bugfix/update passthrough coulmns

PR Overview
This PR will address the following Issue/Feature:
Zendesk created ticket
This PR will result in the following new package version:

v0.9.0 - breaking change if users choose to use the alias feature to change field names
Please detail what change(s) this PR introduces and any additional information that should be known during the review of this PR:
updates the old passthrough column methodology to allow for aliasing of any field names brought in. This is useful, for example, if you wish to bring in fields across different Salesforce objects that may have the same names and wish to alias them to avoid confusion, particularly if any of the objects are joined together.
PR Checklist
Basic Validation
Please acknowledge that you have successfully performed the following commands locally:

[x] dbt compile
[x] dbt run --full-refresh
[x] dbt run
[x] dbt test
[x] dbt run --vars '{hubspot_email_event_status_change_enabled: false}'

Before marking this PR as "ready for review" the following have been applied:

[x] The appropriate issue has been linked and tagged
[x] You are assigned to the corresponding issue and this PR
[x] BuildKite integration tests are passing

Detailed Validation
Please acknowledge that the following validation checks have been performed prior to marking this PR as "ready for review":

[x] You have validated these changes and assure this PR will address the respective Issue/Feature.
[x] You are reasonably confident these changes will not impact any other components of this package or any dependent packages.
[x] You have provided details below around the validation steps performed to gain confidence in these changes.

configs specified in internal ticket
Standard Updates
Please acknowledge that your PR contains the following standard updates:

Package versioning has been appropriately indexed in the following locations:

[x] indexed within dbt_project.yml
[x] indexed within integration_tests/dbt_project.yml

[x] CHANGELOG has individual entries for each respective change in this PR

[NA] README updates have been applied (if applicable)

[NA] DECISIONLOG updates have been updated (if applicable)
[NA] Appropriate yml documentation has been added (if applicable)

dbt Docs
Please acknowledge that after the above were all completed the below were applied to your branch:

[x] docs were regenerated (unless this PR does not include any code or yml updates)

If you had to summarize this PR in an emoji, which would it be?

🚜

[ ] regen docs

[ ] merge in package update PR


Session destroy after one week

since running system after one week, session always destroy
even though I only added 1 session
and even try to send message, response message: "session not found"
it's happened twice
does it have to renew session every 1 week?
(sorry my english is bad)

I'm not sure about this. Is it always exactly 1 week? If so, i suppose it's something related with WhatsApp or Baileys itself. Since i've never used a session for that long, i couldn't do anything about this

the last session lasted only 3 days.
I use it regularly, at least 3-4 times a day.
it's okay if it's from Baileys, I just have to check it regularly.

Is there something emitted in the log? if you could provide it with lower logger level (debug), i might be able to understand something

sorry I don't keep logs, but when the session is destroyed there is a description in the terminal. when updating my session it will screenshot my terminal

Did you use WhatsApp on Mobile within that One week? Cos sometimes if you don't use WhatsApp on mobile for a while, it disconnects the web instance of the WhatsApp account.

Did you use WhatsApp on Mobile within that One week? Cos sometimes if you don't use WhatsApp on mobile for a while, it disconnects the web instance of the WhatsApp account.

sometimes i turn off internet connection on mobile whatsapp, or sometimes i run out of battery. so it also has an effect on disconnecting the web connection from the WhatsApp account?

https://github.com/adiwajshing/Baileys/issues/1292

must always be connected to the internet on whatsapp mobile, it's been a few weeks without problems with session crashes since i always keep whatsapp mobile always connected to the internet


Modified Dreamcast VMU art for five games

Modified Dreamcast VMU art to fit 128x64.
VMU art ripped via screenshot within Flycast.

Hey this is my first pull request for any repo. Seems simple enough but I hope I did it right!


disk_backend: refactor SimpleDisk

Clean up the way disks are implemented and used.
Instead of using a single trait object (SimpleDisk) everywhere both to access a block device and to implement it, split these uses in two: a new struct called SimpleDisk, and a trait DiskIo that merges the old SimpleDisk and AsyncDisk traits.
This allows DiskIo to focus on being a great trait for implementors, and SimpleDisk to focus on being a great type for users.
DiskIo no longer needs to be trait object safe, so it can use async fn/impl Future. It no longer needs to reference StackFuture anywhere, which makes implementations look a lot more normal.
SimpleDisk provides improved and consistent Inspect output, and it caches immutable metadata values, allowing users to be less defensive about caching metadata themselves.

Huge mass of failing CI jobs aside - this looks great! Got some minor questions, but looking through the PR, the changes seem good and reasonable.