insert new item as root

Is it possible to insert a new item on the root level?
I found the - (void)insertItemsAtIndexes:(NSIndexSet *)indexes inParent:(id)parent withAnimation:(RATreeViewRowAnimation)animation method. This method works nicely if the parent is not nil. But there is a crash if you want to insert an item without the parent on the root level.
Funny is that you can delete an item on the root level without any problems at all. Do I miss something or is this not supported? What would be needed to support it, if it is not? Any code insights?

You might need to actually change the root of the data, I subclass RATree to contain the data root, also look at the Rebuild command I am rebuild when I change the root, but I not entirely sure it is necessary.

Hmm I think this should work with some simple changes on the RATreeView code.
For more details: the crash is happening in the insertChildControllers:(NSArray *)controllers atIndexes:(NSIndexSet *)indexes method. The code tries to insert objects on the line [self.mutablechildControllers insertObjects:controllers atIndexes:indexes] which fails with the following exception 'NSInvalidArgumentException', reason: '*** -[NSMutableArray insertObjects:atIndexes:]: count of array (0) differs from count of index set (1)'
Any insight why this is happening?

I also see, that if I try to add some item to the root, a RATreeNodeController is reused and copied from oldControllerForCurrentIndex instead of a new one. Could that be the issue? What are lazyItems for, which probably trigger this behavior?

OK for anyone who struggles with the same issue. If you want to insert a new row on the root level, you need to change the underlying data as well (the data array). E.g. add a new RADataObject to the data array and then call the insertItemsAtIndexes: with nil for the inParent: argument.


Surround snippets to insert correct indentation

Type: Feature Request
Today when I define a user snippet to surround selected code with, the new text will always go into the first column. But it should be indented where the selected code is.
Here's an example of an improved #region snippet for C#:
	"#region": {
		"prefix": "region",
		"body": [
			"#region ${1:Name}",
			"$0",
			"${TM_SELECTED_TEXT}",
			"#endregion ${1:Name}",
			""
		],
		"description": "#region"
	},

It has two advantages over the existing snippet provided with the C# extension:

It also sets the region name at the #endregion line so that I know what region ends there when browsing the code from the bottom up. Otherwise, I have no clue what region that is and need to go all the way up the the beginning to see that, which makes code organisation with regions almost pointless.
This snippet formats correctly when selecting complete lines in the editor. That is my workflow when editing text and it works best. Text selections starting and ending in the middle of lines always requires extra work when pasting the text somewhere else, so I always select complete lines. The stock region snippet fails miserably in that situation.

In Visual Studio, I use such a snippet to add regions around members to existing classes quickly (see below for the snippet). If I can't use such a snippet, I'm better off typing #region Name manually and then copy that line to the end of the region, inserting end. That approach feels very primitive compared to the comfort that Visual Studio provides here.
When I define the above snippet in VSCode, it surrounds the selected lines with the expected tags, but these new tags will be aligned at the first column.
Code:
	public bool TryGetClient(string name, out NetworkStream stream)
	{
		return clients.TryGetValue(name, out stream!);
	}

Select only the line with return (cursor at column 0, press Shift+Down) and apply the snippet.
Actual result:
	public bool TryGetClient(string name, out NetworkStream stream)
	{
#region Name

		return clients.TryGetValue(name, out stream!);

#endregion Name
	}

Expected result:
	public bool TryGetClient(string name, out NetworkStream stream)
	{
		#region Name

		return clients.TryGetValue(name, out stream!);

		#endregion Name
	}

I tried using ${TM_SELECTED_TEXT} with some sort of replacements like ${TM_SELECTED_TEXT/^(\\s*).*$/$1/} in front of the inserted lines but that would always lead to no indentation and the selected code duplicated, so the replacement clearly didn't work as documented. I see no variable that contains only the indentation tabs of the first selected line.
I could already replace that snippet in Visual Studio which has the same issue, here's how that looks like:
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">

      <Title>#region</Title>
      <Shortcut>#region</Shortcut>
      <Description>Codeausschnitt für #region</Description>
      <Author>Yves Goergen</Author>
      <SnippetTypes>
        <SnippetType>Expansion</SnippetType>
        <SnippetType>SurroundsWith</SnippetType>
      </SnippetTypes>

    <Snippet>
      <Declarations>
        <Literal Editable="true">
          <ID>name</ID>
          <ToolTip>Regionsname</ToolTip>
          <Default>MyRegion</Default>
        </Literal>
      </Declarations>
      <![CDATA[#region $name$

$selected$ $end$
#endregion $name$
]]>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>

VS Code version: Code 1.74.3 (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 2023-01-09T16:59:02.252Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: No

This might be already fix. Can you try this with VS Code Insiders?

We closed this issue because we are unable to reproduce the problem with the steps you describe. Chances are we've already fixed your problem in a recent version of VS Code. If not, please ask us to reopen the issue and provide us with more detail. Our issue reporting guidelines might help you with that.
Happy Coding!


PDF buttons lead to insecure URL

The PDF buttons on the last step of the wizard lead to http://fab2pdf.herokuapp.com/. This is rejected by browsers because it's an http URL. Should rather be a https URL.

Good catch.
@step21, this should be simple to fix.

Esp. should be fixed when #28 is fixed

This should be fixed with in-browser pdf, it will not be fixed on Heroku, because that costs money. There is a WIP of the pdf feature under PRs, if you want it faster, please test this. Instructions for local testing are in the README.

I'll close this, as the pdf feature is now disabled and if it comes back, it will be in-browser, thus removing any certificate issues.


Get AAD working again

Fix missing argument to token request body (probably linked to #9050). Also fix formatting issue in sdl_webview where apparently there's no way of printing a literal "%3" or "%2" without QString::arg replacing it.

@freerdp-bot can you test again please ?

@freerdp-bot test please


Retrieve the population of a district

SELECT District,
SUM(Population) AS Population
FROM city
WHERE District = 'your_district

SELECT SUM(Population) AS DistrictPopulation FROM city WHERE District = ?


mosaic learn target finder settings can not find "simpleblobmerge" key in its settings

Happened while loadMosaicTiles that calls mergeFinderBlobs that try to run _mergeFinderBlobs in mosaicexternalfinder.py
Was able to reproduce the error only when MosaicLearnTargetFinderSettingsData is not yet automatically created but user use "load mosaic" tool on the menu bar that requires access of the new settings before it is propagated.

tested at semc


resolver use stale queries

There's no need to enforce strong consistency during service name resolution, those things come and go asynchronously, and it'll save tons of traffic going to the consul server.

Thanks 👍
I'll deploy and merge once I checked that it all works well.


cloud storage: download_to_filename slower than gsutil cp

Hi,
I need to regularly download a "heavy" (~600MB) file from storage, from a compute engine instance.
Using the command line tool gsutil it takes ~20s
Using a python script with my_blob.download_to_filename() it takes ~120s
Is it expected?

@tcroiset The default chunk size is 1 Mb:  does your download go faster if you bump it up?  E.g.:
from google.cloud.storage import Client
client = Client()
bucket = client.bucket('my-bucket-name')
blob = bucket.blob('my-object-name')
blob.chunk_size = 4 * 1024 * 1024
blob.download_to_file('my-file-name')

Sounds related to #2222 as well.

I would say it is identical.  @tcroiset, the chunk size suggested in that issue is 1 << 30 (a gigabyte).

Thanks, it works great!


command pip not found

Hello!  Happy holidays!  I just ran into some issues with the 0.19.1 micromamba image on Docker Hub.  I'm getting the error "command pip not found" when I mamba-install dependencies and then try to pip install a local package copied to the Docker container.
RUN micromamba install -y -n base -f /fled/env.yaml && \
    pip install /fled && \
    micromamba clean --all --yes

where env.yaml is:
name: base
channels:
  - conda-forge
dependencies:
  - python=3.9
  - sqlmodel
  - fastapi
  - pandas
  - networkx
  - uvicorn
  - pip
  - beartype
  - neo4j-python-driver

Which results in:

I also tested 0.19.0 and get some linking warnings with several packages like libpng.
When I go back to 0.18.2 everything works great.  I looked and 0.19.1 is maybe pre-release or something, since it's not marked as a release on the mamba repo? I was looking at the wrong tag.
Just wanted to raise this issue in case other people run into it.
Thanks for mamba and micromamba!  They are wonderful tools!

Hello @stevemarin -- thank you for your interest in micromamba.
Our images are under active development and in the past month there has been some substantial changes in how activation of the conda environments is handled. In the 0.18.2 image, we were modifying the PATH to include the base environment and that is how pip was being found in your use case. We no longer modify the PATH. Instead, you can set the default conda environment to be active during your RUN command by first setting:
ARG MAMBA_DOCKERFILE_ACTIVATE=1

Please see the README for more information on how to make use of conda environments within Dockerfile RUN commands.

I also should have added, that you may want to move your pip installed dependencies within your yaml file -- see conda docs.

Thank you.  I checked the docs before posting, but I didn't appreciate the information in the README.  Above the relevant portion it says: The 'base' conda environment is automatically activated when the image is running.  I wrongly assumed that'd be the same while executing the Dockerfile.  Thanks for pointing out my error!


fix sort order issues caused by SEATTLE and Seattle in data source

Also, Chicago ends up being split into two groups:


Refactor layer construction code for Maven and Gradle

Fixes #1089.
Closes #1115.

Moved the WAR layer construction code to JavaLayerConfigurationsHelper.fromExplodedWar in jib-plugins-common to share it between Maven and Gradle.
Pushed down to JavaLayerConfigurations the helper method in Maven that recursively adds files to a layer after filtering. Simplied layer construction in Maven and Gradle using it.

To my mind, JavaLayerConfiguration should really be treated as a configurator for POJO Java projects — something that applies a configuration to a LayerConfiguration.Builder rather than existing as a separate parallel object.  And we should have a separate WarLayerConfigurator (or WebAppLayerConfigurator?) that takes an exploded war and applies a suitable configuration to a LayerConfiguration.Builder.  These different variants of addFiles could be put on a LayerConfigurationBuilderHelper helper class.

Had a chat with @coollog. Some decisions made for now:

Not changing LayerConfigurations
Not replacing JavaLayerConfigurations with JibContainerBuilder yet
Not using JibContainerBuilder in MavenLayerConfiguration or GradleLayerConfiguration yet

We can work on this PR now. Also,

Remove dedicated methods for each layer from JavaLayerConfigurations. Instead, expose LayerType and have a single method for each operation. That is, no more addClassFile() and addExtraFile(), but have a single addFile(LayerType.CLASSES, ...).
Add to JavaLayerConfigurations a add helper that copies a directory to target recursively with filtering.

I realized we didn't talk about JavaLayerConfigurationsHelper.fromExplodedWar, but we can revisit that after the changes above if necessary.
Let me know if anything is missing or there's a concern.

Still tying up some loose ends.

OK, ready to review. See if this change makes sense.


Extract foreman_api_client from manageiq_foreman

Purpose or Intent
ManageiqForeman was an independent gem living under the gems directory.  It has seen very few pull requests and its test suite runs on every PR to manageiq.  Since it doesn't depend on anything in the manageiq code base to be useful, it should be extracted as a standalone gem.  In the process we decided to rename it to ForemanApiClient.

@chessbyte @Fryguy Please review


Additional Database Prefixes postgresql:// and rediss://

Is your feature request related to a problem? Please describe.
I am attempting to use DigitalOcean's managed databases for gorse to use, but Digital ocean uses postgresql:// and rediss:// for their connection string prefixes
Describe the solution you'd like
Please add the postgresql:// and rediss:// to the allowed prefix lists
Describe alternatives you've considered
I was able to use Digital Ocean's Mongo database but without Redis I would loose speed enhancements
Additional context
https://github.com/gorse-io/gorse/blob/f4a66063dd350b50b82504f909e893dfc541488d/storage/scheme.go#L25

Is rediss means Redis with TLS?

yes


Persistent country code

Hi! it would be nice to have the country code next to the flag like this

@SamanthaChhoeu @iamstevendao PR up

@flangofas, thanks, done in v2.0.18.


525a driver problem

Hello:
At present, there is a problem with the 525a, that is, if the SD card is inserted into the computer before booting, it cannot be driven. I don't know if this is the case for me alone?

Please follow the FAQs and attach your kernel log.
Bug reports without any details and logs will be closed and left unanswered.

Sorry, this is the log file。
rtsx.log

Your kernel log is incomplete.
Please carefully read the FAQs and ensure that the log is complete before uploading it.

Hello, added the boot argument msgbuf=10485760, this is related log
thanks！
rtsx1.log

The previous log is incomplete. Now I have added a complete log. Could you please see what's the problem?
rtsx.log
[    2.545096]: RTSX: virtual bool RealtekPCICardReaderController::start(IOService *) DInfo: ===================================================
[    2.545100]: RTSX: virtual bool RealtekPCICardReaderController::start(IOService *) DInfo: Starting the Realtek PCIe card reader controller...
[    2.545102]: RTSX: virtual bool RealtekPCICardReaderController::start(IOService *) DInfo: ===================================================
[    2.545121]: RTSX: virtual bool RealtekCardReaderController::start(IOService *) DInfo: =======================================================
[    2.545123]: RTSX: virtual bool RealtekCardReaderController::start(IOService *) DInfo: Starting the Realtek PCIe/USB card reader controller...
[    2.545125]: RTSX: virtual bool RealtekCardReaderController::start(IOService *) DInfo: =======================================================

Your card does not respond to the initial ACMD41 while the system is booting, but I was not able to reproduce your issue with my cards.
I added a boot argument rtsxdcib=100 to delay a certain amount of time in milliseconds before the driver initializes the card found at boot time. Please try the attached driver and adjust the value (100) if necessary.
If it still does not work, please insert the card after the system boots. I do not plan to investigate this issue further. Thank you for testing the driver.
RealtekCardReader_0.9.6_851ede2_DEBUG.zip


Status of Multiplexing Support for Websockets

This is a request for the status of Multiplexing support.  I saw discussion in #121 that Beast was "designed with HTTP/2 in mind".  Also "The scope of HTTP/2 is much bigger than HTTP/1, covering things like flow control and multiplexing."
I believe multiplexing must be on the roadmap, but it's just a matter of when.  My team has a need for this so I'm wondering if it's been looked into at all, or if anyone is actively developing it already.

Are we talking WebSocket or HTTP? What exactly do you mean by "multiplexing?"

Here is a good link describing the two options:
https://datatracker.ietf.org/doc/draft-ietf-hybi-websocket-multiplexing/
Our goal is to effectively distinguish between multiple conversations taking place over a single connection.  Our conversations will be TCP streams coming from ASIO (rather than "typical" http data.  According to that article, it looks like that can be using a websocket which was our original intention (but which would require the implementation of such an extension), or HTTP/2 framing which I am about to read up on now. While HTTP/2 tagging might natively distinguish multiple conversations over 1 TCP connection, I don't know if it's a good fit for streaming TCP sessions over.  Thoughts?

The problem with the multiplexing draft is that it expired and was never adopted. So there is no "spec" to work from. If you decide to use WebSockets, you will have to define your own multiplexing protocol and implement it at both ends. WebSocket is considerably easier than HTTP/2.

Yes it's a bit disappointing about websocket multiplexing not being adopted. This is why I am hoping for HTTP/2 to be a good fit.

HTTP/2 is very complicated and few implementations exist. You might consider implementing your own version of multiplexing on top of WebSocket. If you design suitable interfaces you could change the implementation later without disturbing calling code too much.

Thanks for the tips, there are already a few implementations of something similar which serve as a reference for us, but I'm not much for defining and implementing single-use network protocols from scratch if I can avoid it.  It feels like we're being forced into a lose/lose situation... a situation I find myself in often.  The new way (HTTP/2) is harder and/or not quite ready, and the old way has a lot more DIY and debugging associated.  However, the worst part about deciding to DIY with an old way, is that you have to keep facing the notion of: "HTTP/2 does this for you, why are you reinventing the wheel... and why are you using the old way...".  It's hard to argue with this notion, and it's usually right. Will take more research I think.
Question for you:  Is Beast's HTTP2 implementation ready for us to do something like this with it, if that's the route we decide to go?

There is zero support for HTTP/2 in Beast right now. The only thing that will be used from the current library will be the message container and basic_fields. HTTP/2 requires completely new algorithms and implementation, and can't use free functions, serializers, and parsers the way that Beast's HTTP/1 does. HTTP/2 is on the roadmap but given the post-acceptance workload (getting Beast to work on all of Boost's supported platforms, and the inevitable bugs which will pop up) it is unlikely that I will be able to even start until this time next year, roughly.

Great to know, thanks very much for the update and the project!


ffmpeg and zlib support

I trying to install FFmpeg on Windows 10, VS2017.
FFmpeg compiled and installed normally, but there is no zlib support.
I tried to dig config.log of FFmpeg and found these lines:
check_pkg_config zlib zlib zlib.h zlibVersion
test_pkg_config zlib zlib zlib.h zlibVersion
false --exists --print-errors zlib
check_lib zlib zlib.h zlibVersion -lz
check_func_headers zlib.h zlibVersion -lz
test_ld cc -lz
test_cc
BEGIN ./ffconf.o2M6qpqs/test.c
    1	#include <zlib.h>
    2	#include <stdint.h>
    3	long check_zlibVersion(void) { return (long) zlibVersion; }
    4	int main(void) { int ret = 0;
    5	 ret |= ((intptr_t)check_zlibVersion) & 0xFFFF;
    6	return ret; }
END ./ffconf.o2M6qpqs/test.c
cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS -D_WIN32_WINNT=0x0600 -nologo -DHAVE_UNISTD_H=0 -MD -c -Fo./ffconf.o2M6qpqs/test.o ./ffconf.o2M6qpqs/test.c
test.c
d:\develop\visualstudio\vcpkg\installed\x86-windows\include\zconf.h(477): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory

I found that problem is in this command option -DHAVE_UNISTD_H=0.
zlib checks for this definition present and not for its value.

OK. In addition to the above: from the official documentation of FFmpeg:

If you wish to build with zlib support, you will have to grab a compatible zlib binary from somewhere, with an MSVC import lib, or if you wish to link statically, you can follow the instructions below to build a compatible zlib.lib with MSVC. Regardless of which method you use, you must still follow step 3, or compilation will fail.
1. Grab the zlib sources.
2. Edit win32/Makefile.msc so that it uses -MT instead of -MD, since this is how FFmpeg is built as well.
**3. Edit zconf.h and remove its inclusion of unistd.h. This gets erroneously included when building FFmpeg.**

Another addition. It looks that FFmpeg is searching for zlib.lib library name for debug version (not zlibd.lib)

Same problem using VS2019 when trying to install ffmpeg[ffmpeg,ffserver,ffplay,ffprobe,openssl,lzma,bzip2,vpx,x264,opencl,nonfree,gpl] with almost all the .lib
But the log show that release builds are fine somehow.

@Sibras Could you please submit a Pull Request to commit your changes?

A PR has been waiting for a while #11277


[Help wanted]:  Some of public folder assets is not accessable when deploying NextJS app with basePath

Hey, I have a NextJS built with TypeScript and deployed on Netlify with @netlify/plugin-nextjs

preview deploy

I’m using /m basePath on this web application, and everything works great, except some files under the public folder are not accessible like manifest or favicon files.
Also, its important to say I made this app PWA with next-pwa
Of course, locally everything works great.
For example, I will show the problem with the manifest file:

But, the manifest/favicon is accessible on the root route (‘/’)…
I need them to be accessible on /m like the rest of my public assets.
Things I tried:

netlify.toml assets redirect:

[[redirects]]
from = "/_next/static/*"
to = "/static/:splat"
status = 301
force = true

When I’m accessing those files, add /public OR /m OR just plain file (the correct way)

      <link
        rel="manifest"
        href="manifest.json" | href="/m/manifest.json" | href="public/manifest.json"
      />

doing the redirect with middleware file

Thanks to everyone that will help!
Steps to reproduce
See my deploy preview and see that there is no favicon
A link to a reproduction repository
No response
Next Runtime version
v4.29.3 / latest
More information about your build

[ ] I am building using the CLI
[X] I am building using file-based configuration (netlify.toml)

What OS are you using?
Mac OS
Your netlify.toml file

`netlify.toml`
[build]
command = "npm run build"
publish = ".next"

[[plugins]]
package = "@netlify/plugin-nextjs"

[[redirects]]
from = "/"
to = "/m"
status = 301
force = true

Your public/_redirects file

`_redirects`
# Paste content of your `_redirects` file here

Your next.config.js file

next.config.js file
const withPWA = require('next-pwa')({
  dest: 'public',
});

/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: true,
  swcMinify: true,
  images: {
    domains: ['maps.googleapis.com'],
  },
  webpack: (
    config
    // { buildId, dev, isServer, defaultLoaders, nextRuntime, webpack }
  ) => {
    config.module.rules.push({
      test: /\.svg$/,
      use: ['@svgr/webpack'],
    });
    return config;
  },
  basePath: '/m',
  async redirects() {
    return [
      {
        source: '/',
        destination: '/m',
        permanent: true,
        basePath: false,
      },
      {
        source: '/',
        destination: '/welcome',
        permanent: true,
      },
    ];
  },
  compiler: {
    styledComponents: true,
  },
};

const withBundleAnalyzer = require('@next/bundle-analyzer')({
  enabled: process.env.ANALYZE === 'true',
});
module.exports = withPWA(withBundleAnalyzer(nextConfig));

Builds logs (or link to your logs)

Build logs
8:32:52 PM: build-image version: d55944c047ef0aee2ac01971edde72cb2a50acfe (focal)
8:32:52 PM: build-image tag: v4.16.1
8:32:52 PM: buildbot version: abbb532f43aba2e093b26ceac3d8b53e7097bae8
8:32:52 PM: Fetching cached dependencies
8:32:52 PM: Starting to download cache of 338.4MB
8:32:55 PM: Finished downloading cache in 3.482086659s
8:32:55 PM: Starting to extract cache
8:32:58 PM: Finished extracting cache in 2.383626356s
8:32:58 PM: Finished fetching cache in 5.944293106s
8:32:58 PM: Starting to prepare the repo for build
8:32:58 PM: Preparing Git Reference pull/160/head
8:32:59 PM: Parsing package.json dependencies
8:33:00 PM: Section completed: initializing
8:33:00 PM: Starting build script
8:33:00 PM: Installing dependencies
8:33:00 PM: Python version set to 2.7
8:33:00 PM: Started restoring cached node version
8:33:01 PM: Finished restoring cached node version
8:33:01 PM: Attempting node version 'v18.12.1' from .nvmrc
8:33:01 PM: v18.12.1 is already installed.
8:33:01 PM: Now using node v18.12.1 (npm v8.19.2)
8:33:01 PM: Enabling node corepack
8:33:01 PM: Started restoring cached build plugins
8:33:01 PM: Finished restoring cached build plugins
8:33:01 PM: Attempting ruby version 2.7.2, read from environment
8:33:02 PM: Using ruby version 2.7.2
8:33:02 PM: Using PHP version 8.0
8:33:02 PM: No npm workspaces detected
8:33:02 PM: Started restoring cached node modules
8:33:02 PM: Finished restoring cached node modules
8:33:02 PM: Started restoring cached go cache
8:33:02 PM: Finished restoring cached go cache
8:33:02 PM: go version go1.19.4 linux/amd64
8:33:02 PM: Detected 1 framework(s)
8:33:03 PM: "next" at version "13.0.5"
8:33:03 PM: Installing missing commands
8:33:03 PM: Verify run directory
8:33:04 PM:
8:33:04 PM:   Netlify Build
8:33:04 PM: ────────────────────────────────────────────────────────────────
8:33:04 PM:
8:33:04 PM: ❯ Version
8:33:04 PM:   @netlify/build 29.1.3
8:33:04 PM:
8:33:04 PM: ❯ Flags
8:33:04 PM:   baseRelDir: true
8:33:04 PM:   buildId: 63a0ae5267826a000a9f816e
8:33:04 PM:   deployId: 63a0ae5267826a000a9f8170
8:33:04 PM:
8:33:04 PM: ❯ Current directory
8:33:04 PM:   /opt/build/repo
8:33:04 PM:
8:33:04 PM: ❯ Config file
8:33:04 PM:   /opt/build/repo/netlify.toml
8:33:04 PM:
8:33:04 PM: ❯ Context
8:33:04 PM:   deploy-preview
8:33:04 PM:
8:33:04 PM: ❯ Using Next.js Runtime - v4.29.3
8:33:05 PM:
8:33:05 PM:   1. @netlify/plugin-nextjs (onPreBuild event)
8:33:05 PM: ────────────────────────────────────────────────────────────────
8:33:05 PM:
8:33:05 PM: Next.js cache restored.
8:33:05 PM: Netlify configuration property "build.environment.NEXT_PRIVATE_TARGET" value changed.
8:33:05 PM:
8:33:05 PM: (@netlify/plugin-nextjs onPreBuild completed in 168ms)
8:33:05 PM:
8:33:05 PM:   2. build.command from netlify.toml
8:33:05 PM: ────────────────────────────────────────────────────────────────
8:33:05 PM:
8:33:05 PM: $ npm run build
8:33:05 PM: ><EMAIL_ADDRESS>build
8:33:05 PM: > next build
8:33:06 PM: info  - Loaded env from /opt/build/repo/.env
8:33:06 PM: warn  - Different versions of @next/font (13.0.7) and next (13.0.5) detected. This may lead to unexpected behavior.
8:33:06 PM: info  - Linting and checking validity of types...
8:33:09 PM: ./pages/api/address_details.ts
8:33:09 PM: 12:1  Warning: Assign arrow function to a variable before exporting as module default  import/no-anonymous-default-export
8:33:09 PM: ./pages/api/places.ts
8:33:09 PM: 12:1  Warning: Assign arrow function to a variable before exporting as module default  import/no-anonymous-default-export
8:33:09 PM: ./pages/go-to-app/index.tsx
8:33:09 PM: 13:11  Warning: 'logout' is assigned a value but never used.  @typescript-eslint/no-unused-vars
8:33:09 PM: 13:11  Warning: 'logout' is assigned a value but never used.  no-unused-vars
8:33:09 PM: ./pages/kyc/address/confirm.tsx
8:33:09 PM: 30:40  Warning: Unexpected any. Specify a different type.  @typescript-eslint/no-explicit-any
8:33:09 PM: 39:6  Warning: React Hook useEffect has missing dependencies: 'addressID', 'fetchAddressDetails', and 'navigate'. Either include them or remove the dependency array.  react-hooks/exhaustive-deps
8:33:09 PM: 43:6  Warning: React Hook useEffect has a missing dependency: 'fetchMapUri'. Either include it or remove the dependency array.  react-hooks/exhaustive-deps
8:33:09 PM: ./pages/login.tsx
8:33:09 PM: 27:51  Warning: 'formApi' is defined but never used.  @typescript-eslint/no-unused-vars
8:33:09 PM: 27:51  Warning: 'formApi' is defined but never used.  no-unused-vars
8:33:09 PM: ./pages/signup/index.tsx
8:33:09 PM: 28:52  Warning: 'formApi' is defined but never used.  @typescript-eslint/no-unused-vars
8:33:09 PM: 28:52  Warning: 'formApi' is defined but never used.  no-unused-vars
8:33:09 PM: ./components/Fields/AutoCompleteField/index.tsx
8:33:09 PM: 5:15  Warning: Don't use `{}` as a type. `{}` actually means "any non-nullish value".- If you want a type meaning "any object", you probably want `object` instead.
8:33:09 PM: - If you want a type meaning "any value", you probably want `unknown` instead.
8:33:09 PM: - If you want a type meaning "empty object", you probably want `Record<string, never>` instead.  @typescript-eslint/ban-types
8:33:09 PM: 6:15  Warning: Don't use `{}` as a type. `{}` actually means "any non-nullish value".- If you want a type meaning "any object", you probably want `object` instead.
8:33:09 PM: - If you want a type meaning "any value", you probably want `unknown` instead.
8:33:09 PM: - If you want a type meaning "empty object", you probably want `Record<string, never>` instead.  @typescript-eslint/ban-types
8:33:09 PM: 7:24  Warning: Unexpected any. Specify a different type.  @typescript-eslint/no-explicit-any
8:33:09 PM: 7:32  Warning: Unexpected any. Specify a different type.  @typescript-eslint/no-explicit-any
8:33:09 PM: 8:10  Warning: Unexpected any. Specify a different type.  @typescript-eslint/no-explicit-any
8:33:09 PM: 10:36  Warning: Unexpected any. Specify a different type.  @typescript-eslint/no-explicit-any
8:33:09 PM: 11:19  Warning: Unexpected any. Specify a different type.  @typescript-eslint/no-explicit-any
8:33:09 PM: 12:23  Warning: Unexpected any. Specify a different type.  @typescript-eslint/no-explicit-any
8:33:09 PM: ./components/Modals/Modal.tsx
8:33:09 PM: 15:3  Warning: 'className' is defined but never used.  @typescript-eslint/no-unused-vars
8:33:09 PM: 15:3  Warning: 'className' is defined but never used.  no-unused-vars
8:33:09 PM: 16:3  Warning: 'isOpen' is defined but never used.  @typescript-eslint/no-unused-vars
8:33:09 PM: 16:3  Warning: 'isOpen' is defined but never used.  no-unused-vars
8:33:09 PM: 18:3  Warning: 'contentLabel' is defined but never used.  @typescript-eslint/no-unused-vars
8:33:09 PM: 18:3  Warning: 'contentLabel' is defined but never used.  no-unused-vars
8:33:09 PM: 19:3  Warning: 'overlayClassName' is defined but never used.  @typescript-eslint/no-unused-vars
8:33:09 PM: 19:3  Warning: 'overlayClassName' is defined but never used.  no-unused-vars
8:33:09 PM: ./components/Transitions/Transition.tsx
8:33:09 PM: 17:21  Warning: Unexpected any. Specify a different type.  @typescript-eslint/no-explicit-any
8:33:09 PM: 17:29  Warning: Unexpected any. Specify a different type.  @typescript-eslint/no-explicit-any
8:33:09 PM: 19:14  Warning: Don't use `{}` as a type. `{}` actually means "any non-nullish value".- If you want a type meaning "any object", you probably want `object` instead.
8:33:09 PM: - If you want a type meaning "any value", you probably want `unknown` instead.
8:33:09 PM: - If you want a type meaning "empty object", you probably want `Record<string, never>` instead.  @typescript-eslint/ban-types
8:33:09 PM: info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
8:33:10 PM: info  - Creating an optimized production build...
8:33:10 PM: > [PWA] Compile client (static)
8:33:10 PM: > [PWA] Auto register service worker with: /opt/build/repo/node_modules/next-pwa/register.js
8:33:10 PM: > [PWA] Service worker: /opt/build/repo/public/sw.js
8:33:10 PM: > [PWA]   url: /m/sw.js
8:33:10 PM: > [PWA]   scope: /m/
8:33:10 PM: > [PWA] Compile server
8:33:10 PM: > [PWA] Compile server
8:33:17 PM: warn  - Compiled with warnings
8:33:17 PM: /m/_next/static/media/welcomeBg.f146206d.png is 2.36 MB, and won't be precached. Configure maximumFileSizeToCacheInBytes to change this limit.
8:33:17 PM: /m/_next/static/chunks/632.e6fd46b9a0f21244.js is 3.01 MB, and won't be precached.   Functions bundling
8:33:21 PM: ────────────────────────────────────────────────────────────────
8:33:21 PM:
8:33:21 PM: Packaging Functions from .netlify/functions-internal directory:
8:33:21 PM:  - ___netlify-handler/___netlify-handler.js
8:33:21 PM:  - ___netlify-odb-handler/___netlify-odb-handler.js
8:33:21 PM:  - _ipx/_ipx.js
8:33:21 PM:
8:33:40 PM:
8:33:40 PM: (Functions bundling completed in 19.1s)
8:33:40 PM:
8:33:40 PM:   5. Edge Functions bundling
8:33:40 PM: ────────────────────────────────────────────────────────────────
8:33:40 PM:
8:33:40 PM: Packaging Edge Functions from .netlify/edge-functions directory:
8:33:40 PM:  - ipx
8:33:41 PM:
8:33:41 PM: (Edge Functions bundling completed in 744ms)
8:33:41 PM:
8:33:41 PM:   6. @netlify/plugin-nextjs (onPostBuild event)
8:33:41 PM: ────────────────────────────────────────────────────────────────
8:33:41 PM:
8:33:41 PM: Next.js cache saved.
8:33:41 PM:
8:33:41 PM: (@netlify/plugin-nextjs onPostBuild completed in 238ms)
8:33:41 PM:
8:33:41 PM:   7. Deploy site
8:33:41 PM: ────────────────────────────────────────────────────────────────
8:33:41 PM:
8:33:41 PM: Starting to deploy site from '.next'
8:33:41 PM: Creating deploy tree
8:33:42 PM: 47 new files to upload
8:33:42 PM: 3 new functions to upload
8:33:51 PM: Section completed: deploying
8:33:51 PM: Site deploy was successfully initiated
8:33:51 PM:
8:33:51 PM: (Deploy site completed in 9.8s)
8:33:51 PM:
8:33:51 PM:   Netlify Build Complete
8:33:51 PM: ────────────────────────────────────────────────────────────────
8:33:51 PM:
8:33:51 PM: (Netlify Build completed in 47s)
8:33:51 PM: Starting post processing
8:33:51 PM: Caching artifacts
8:33:51 PM: Started saving node modules
8:33:51 PM: Finished saving node modules
8:33:51 PM: Started saving build plugins
8:33:51 PM: Finished saving build plugins
8:33:51 PM: Post processing - HTML
8:33:51 PM: Started saving pip cache
8:33:51 PM: Finished saving pip cache
8:33:51 PM: Started saving emacs cask dependencies
8:33:51 PM: Finished saving emacs cask dependencies
8:33:51 PM: Started saving maven dependencies
8:33:51 PM: Finished saving maven dependencies
8:33:51 PM: Started saving boot dependencies
8:33:51 PM: Finished saving boot dependencies
8:33:51 PM: Started saving rust rustup cache
8:33:51 PM: Finished saving rust rustup cache
8:33:51 PM: Started saving go dependencies
8:33:51 PM: Finished saving go dependencies
8:33:51 PM: Build script success
8:33:51 PM: Section completed: building
8:33:52 PM: Post processing - header rules
8:33:52 PM: Uploading Cache of size 338.0MB
8:33:52 PM: Post processing - redirect rules
8:33:53 PM: Post processing done
8:33:53 PM: Section completed: postprocessing
8:33:56 PM: Section completed: cleanup
8:33:56 PM: Finished processing build request in 1m4.111789119s
8:33:56 PM: Site is live ✨

Function logs
No response
.next JSON files
No response

I'm hitting this issue too, been looking around for a fix today.
It looks like this GH issue and the WIP PR are both very fresh. What's a normal cadence for getting a fix like this into prod? Hours? Days?
In the meantime is there something I can do to fix/workaround?

@Flaysh I'm not sure if this works in your setup, but I was able to temp workaround this by using Netlify redirects/proxy in the parent site. Since both my parent site and my subpath site (the one using Next.js basePath) are on Netlify I'm proxying from the parent site to the subpath site. So as well as the primary path redirect, I added some temp redirects to handle everything in the Next.js /public folder.
# _redirects

# TEMP fixes for /projects public assets
/projects/fonts/*  https://my-subpath-site.netlify.app/fonts/:splat  200
/projects/icons/*  https://my-subpath-site.netlify.app/icons/:splat  200

# Everything under /projects is served by a different Netlify app
/projects/*  https://my-subpath-site.netlify.app/projects/:splat  200

Hi. We're not releasing anything until the New Year right now, but I can put out a tagged release later if you want to manually install the runtime. The workaround with redirects looks solid though.

ok. i will do the redirects for now.
i have service worker and manifest file under public, so should I put then under a directory of itself?

how would u do it in a netlify.toml file?
can you notify me when the new version is up?

It's a bit messy to list them all, but you can proxy individual files too:
/projects/manifest.json  https://my-subpath-site.netlify.app/manifest.json  200

It's not ideal, but it's temp until this fix is released.
@ascorbic what's involved with manually installing the runtime? Just install a version locally in my project and the Netlify deployment engine will use my local version? I'm interested to try it, but proxy workaround is working well enough for now.

@bkbooth you need to npm/yarn/pnpm install @netlify/plugin-nextjs@appdir in your project, and Netlify will use that version

Awesome, just tested this on my staging site and the fix & tagged release are working perfectly 🙌  (not using any proxied requests on the staging deploy). I'll apply this to my production release too now.
Thanks so much for the quick fix and for doing the tagged release!
Merry Christmas (if you celebrate) and Happy New Year!

It's a bit messy to list them all, but you can proxy individual files too:
/projects/manifest.json  https://my-subpath-site.netlify.app/manifest.json  200

It's not ideal, but it's temp until this fix is released.
@ascorbic what's involved with manually installing the runtime? Just install a version locally in my project and the Netlify deployment engine will use my local version. I'm interested to try it, but proxy workaround is working well enough for now.

I tried it right now and didn't seem to work in my case...
Will try to install @netlify/plugin-nextjs@appdir now :)
if I understand right, when the main version is out (in a week or two) I can remove it from my dependencies?

btw, why should i install it on dependencies and not just on netlify.toml as I have it now?


VK.com subtitles support

VK.com has subtitles for videos now. Will there be a way to download them with youtube-dl?

Maybe, if you implement it? Or provide some information about how the site delivers subtitles?


failed to write to local disk: volume 2028 is read only

when i upload picture, weed return
{"error":"failed to write to local disk: volume 2028 is read only"}

Disk usage is only 83%

weed version: 1.88
I don't know how to resolve it.

Did restart help?
Also, please upgrade first in case this needs some fixes.

restart also can not resolve it.

do you use filer?

Please answer questions in the issue template.

Thanks，I already solved！

Restart voume service;
Wating for a few minutes;
Weed will assgin new volumes to store new files;


Add encode/decode logic for ML-KEM

This issue is to track standards for persisting ML-KEM keys as well as to suggest implementing them. In terms of implementation, this issue thus suggests adding encoding/decoding logic for all ML-KEM key components.
This below is to track the standards defining these formats to enable subsequent implementation of those (draft only):

Standard for public key format: "encapsulation key ek" binary format from FIPS203 section 6.1 and encoded as per draft specification https://datatracker.ietf.org/doc/draft-ietf-lamps-kyber-certificates/06/
Standard for private key format: "seed"-format as per section 5 in draft specification https://datatracker.ietf.org/doc/draft-ietf-lamps-kyber-certificates/06/

Proposed target for any PRs currently is the "ml-kem" feature branch.
Input solicited, particularly from @tomato42 and @t-j-h

I see both specified in the draft-ietf-lamps-kyber-certificates-06 document. It already references the official NIST OIDs.

I see both private and public key format specified in the draft-ietf-lamps-kyber-certificates-06 document. It already references the official NIST OIDs.

Thanks for that pointer, @tomato42 . So your request is to implement this draft standard as-is? The public key format I think is pretty much undisputed -- so added it above. Storing the private key as "seed" only seems to not be generally agreed -- can you point to tooling that could be used to ascertain interoperability of any possible implementation?

Having attended the LAMPS session on this IETF this week, there is very strong consensus for storing private keys as seeds.
for tooling, I think this new stuff is already in the https://github.com/IETF-Hackathon/pqc-certificates/ repo...

Thanks for that "live IETF" report, @tomato42 !

yes, I think we can implement them

Does this indicate your willingness to take on this issue and work towards a PR for the "ml-kem" feature branch then?

no, it means willingness to test it for interoperability with itself and with the implementation I still need to implement in https://github.com/GiacomoPope/kyber-py/pull/80 (it can do past oqsprovider behaviour, need to update it to do the LAMPS seed strorage)


drake is not an event emitter

In the documentation it's stated that The drake is an event emitter, however in my testing this doesn't seem so:
var drake = dragula([document.querySelector('#left-defaults'), document.querySelector('#right-defaults')]);

drake.addEventListener('drag', function(){
	alert("Works!");   // Doesn't actually work
});

So I suggest:

[preferred] Making it an event emitter so the events are actually triggered in javascript's way. This would allow more flexibility for including it in other libraries. However I understand this is some more work to do, so also:
Change the documentation to reflect that it's not really an event emitter, but that there's a convenient method that looks like it. Maybe something like The drake has an internal method for handling events that you can use for convenience.

No, thanks

What does that mean? It is not an event emitter...

It emits events through .on, .once, and .off.

Oh I see, I keep searching and I had the definition of event emitter all wrong, sorry. I also found a quick fix to my specific problem, just adding an alias:
u.prototype.dragula = function(opts){
  var drake = dragula(this.nodes, opts);
  drake.addEventListener = drake.on;
  return u([drake]);
};

// awesome
u('#left-defaults, #right-defaults').dragula().on('drag', function(){ alert("Works!") });


what's the source of "icon-image" in layout={{ "icon-image": "marker-15" }}?

What are some other markers? Does the docs say something about this?

Also, how do you set a custom image to the marker?

https://labs.mapbox.com/maki-icons/ found it, but some icons doesn't work.

May want to review the docs and demos
https://github.com/alex3165/react-mapbox-gl/blob/master/docs/API.md


Update CatalogSource Pod security context

Signed-off-by: perdasilva<EMAIL_ADDRESS>Description of the change:
Updates the security context stanza for the backing CatalogSource pod to be more explicit and limited
Motivation for the change:
https://bugzilla.redhat.com/show_bug.cgi?id=2088541
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /doc
[ ] Commit messages sensible and descriptive
[ ] Tests marked as [FLAKE] are truly flaky
[ ] Tests that remove the [FLAKE] tag are no longer flaky

/hold waiting on discussion about approach

/hold cancel


Self PR for line commenting purposes

@dlwh
I'd like to try to understand/learn/refactor the breeze backend a bit.
(Thinking of nD tensors and immutable)
It would be great if you find time to comment/enlighten me on the line comments I post here.
If it's OK, I'll tag you for my questions.
Thanks,
Kenta


Moving rotation compression to extension methods

This will allow use of rotation compression code outside of the NetworkTransformBase

do we need it somewhere outside of NetworkTransformBase?

I am sending rotation outside of NetworkTransformBase in one of my projects, others might be able to find it useful too.
I am looking into how other games compress Quaternions atm, I might be able to write a better version of these functions.

sounds good mate


Multi-language not working

I have a home page with modular.en.md and modular.fr.md (the two languages added in the admin). However, navigating to the home page under domain/ (which redirects to domain/en/), it still displays only the French version. They definitely have the appropriate content. Any reasons why this might occur?
I'm using the latest stable build of Grav.

Dang it.... I had this happening lots at the end of the day yesterday, but now I don't see it. Anything that could cause that? Some sort of caching issue? I kept trying to clear the cache yesterday, but no matter what it showed the French version. Blarg.

Not having an idea of what could have happened, except page cache.

I know, it's hardly a useful question when even I can't reproduce. I guess I can just say I'm quite certain that French content was showing with /en. One possibility....... I originally had modular.fr.md and modular.md, which I didn't realize would show French for both versions until I read the docs. Then I renamed modular.md to modular.en.md, cleared the cache, and still had the same problem. It's possible the bug is somewhere in there, where it couldn't "reset" to find the proper language page. (Until a new session?)


Added Accessibility functionality to left and right sliders

Thanks for this! Sorry it took so long to approve


Is there any forum? so we can share our knowledge, ask question . . .

If there is any forum blog, if not please create discord for example. If already exist please share

Hi Were you able to deploy it as a service

There is a mailing list<EMAIL_ADDRESS>and monthly there is a community meeting.
See more in the https://github.com/havfo/multiparty-meeting/blob/master/README.md#community-driven-support

@harivyas35 Yes I was able to deploy it as a service.

HI @misi ,
Firstly Thank you for replying to my comment .
I am not able to deploy it as a service .
I tried installed the debian package and changed the ip address as well but the service is running but not able to connect to thag ip adress in browser . Also i tried the manual way as well edited both config file for server ,added TURN server to the config file and edited the listing port as 3443 ans ListningRedirectPort as 8000 but after running the server as 'npm start ' and putting the ip address and port number in browser i could only see first two pages until entering our user name . And after clicking on join audio only or audio/video both ,the page gets stuck  there . And after i inspect it ,i can see "resource not found ,connetion refused " error , i request you to please help me with this ,as i have searched a lot for this error on internet but was not able to find and proper solution .
Regards,
Hari Vyas

@harivyas35  please use the community list for support. You need to check if server is running, and you connect to the right port with the web app. I propose to check the ansible script.https://github.com/misi/mm-ansible/


My live portfolio link

This issue contains my live portfolio link
Here is my live portfolio link: Live Demo >>

Hi @Serengia  ,
Status: Approved :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:

To Highlight 💪🏻

Website is Deployed and works perfectly ✔

Good job implementing the required changes :+1: Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag  @ichala in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


⚠ Bofrost.nl has degraded performance

In 3283508, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1108 ms

Resolved: Bofrost.nl performance has improved in e1234f8 after 6 minutes.


Error when loading the plugin in a custom cordova view, in a native app

Hi,
while trying to load the plugin in a cordova web view, in a native app, I get this error:
ERROR: Method 'getUserMedia:' not defined in Plugin 'iosrtcPlugin'

Both cordova and the plugin loads fine, but when trying to make the call i get this error. Trying to add it through the CDVViewController.

i have same issue
please look into that
ERROR: Method 'getUserMedia:' not defined in Plugin 'iosrtcPlugin'
2019-01-03 12:09:25.242916+0530 Video Conferencing[715:188226] -[CDVCommandQueue executePending] [Line 142] FAILED pluginJSON = ["iosrtcPlugin1688276400","iosrtcPlugin","getUserMedia",[{"audio":true,"video":true}]]
2019-01-03 12:09:25.345889+0530 Video Conferencing[715:188438] [BoringSSL] Function boringssl_session_errorlog: line 2881 [boringssl_session_read] SSL_ERROR_ZERO_RETURN(6): operation failed because the connection was cleanly shut down with a close_notify alert

add @objcMembers in your iosrtcPlugin.swift see below example it's working just tested on swift 5
@objcMembers
class iosrtcPlugin : CDVPlugin
ref - https://stackoverflow.com/questions/50437591/problems-using-iosrtc-plugin-in-hybrid-cordova-ios-app


Some samples of the denoised speech wave is missing in the end of the speech

Hi, I used this code and the finetuned model directly. But I encountered a problem. The output enhanced wave file is not as long as the original noisy wave. Some samples seemed to be missing in the end of the input noisy wave. I can't figure out what is the reason.
Thanks very much.

The output waveform is always (receptive_field_length - 1) samples shorter than the input, 6138 samples for the pretrained model. This is to ensure that every output sample has a full context worth of samples feeding into its prediction (as opposed to artificially padding the input of the first and last 3069 samples).
If you explicitly require the output to be equal in length to the input, you can pad it yourself.


Document changes to default RBAC discovery

Documentation for https://github.com/kubernetes/enhancements/issues/789 and https://github.com/kubernetes/kubernetes/pull/73807
/milestone 1.14

that rebase X_X


Synchronize correctly in FinishTrajectory().

PoseGraph{2D,3D}::FinishTrajectory() calls AddWorkItem() which
requires the mutex to be held. This adds code to do this.

@wally-the-cartographer merge

@pifon2a Seems Wally is asleep.

@wally-the-cartographer merge

Merge requested by authorized user wohe. Merge queue now has a length of 1.


diffs should never yield a negative time span

The very first time delta that comes out of diffs can sometimes be negative. If I understand diffs correctly, they should never be negative.

@soenkehahn can you create a http://sscce.org/ demonstrating this behavior and share it here?

Should this be closed since #8 was merged and released?

Sorry, I'm not working on an elm project that uses animation-frame anymore, so I don't have any stakes in this anymore. I'll close this issue. Please, re-open if you feel like it.


[General Comment] - Nuget packages on Build

I was going through the old issues for guidance on a few things when I came across issue  #525 which reminded me of something I had seen before regarding Nuget packages.
I believe Nuget allows Package Restore via Visual Studio. Was wondering if this was something that could be put into place to allow all the Nuget pacakges to be pulled upon build, allowing Serene to be smaller upon start.
https://docs.nuget.org/Consume/Package-Restore
Just generally putting this out there since I don't think package restore is currently being used with serene.

NuGet packages needs to be in template. This is clearly stated in NuGet docs. Although you can try and hack, last time i tried resulted in broken template, especially Saltaralle packages.

Hmm... I might play around with this a bit later just for the fun of it. I don't expect much success but I'll let you know how it goes. thanks for the reply. ^_^

Well i tried and looks like this time it might work for DLL only references. Problem was with Saltaralle / Node etc. that was running install scripts.

Ok, Serene 2.3.1 is down to 2.5 mb from 21mb, though my white hairs is %50 more :)

They say grey is the sign of wisdom and Serene/Serenity is proof of this. ^_^ We all greatly appreciate all you're efforts.


v1.0.28 working but v2.0.1 not working

I was working with v1.0.28 and it was working without any errors. I recently switched to v2.0.1 and its giving me multiple warnings and errors.
I get warnings for declaring initial values of select components in the app's data option. I ignored it as its warning. But i am getting an error TypeError: binding.value.some is not a function and the app is not working. it works if i switch back to v1.0.28
How can i fix this?

Did you follow the Migration Guide?

@aphofstede Ok, I didn't checked it. Let me try it.


[NEXT] Cannot start nuxt: Cannot find module 'node_modules/vue-i18n/dist/vue-i18n.mjs'

Hi,
I'm currently using vue-i18n as a plugin in a Nuxt 3 project but I would like to switch to @nuxtjs/i18n as soon as possible. I tried to installed the alpha version but as soon as I declare the module in nuxt.config.js, I've got an error when I do npm run dev.
Cannot find module '.../node_modules/vue-i18n/dist/vue-i18n.mjs'

  at createEsmNotFoundErr (node:internal/modules/cjs/loader:983:15)
  at finalizeEsmResolution (node:internal/modules/cjs/loader:976:15)
  at resolveExports (node:internal/modules/cjs/loader:493:14)
  at Function.Module._findPath (node:internal/modules/cjs/loader:533:31)
  at Function.Module._resolveFilename (node:internal/modules/cjs/loader:942:27)
  at Function.resolve (node:internal/modules/cjs/helpers:108:19)
  at Function._resolve [as resolve] (node_modules/jiti/dist/jiti.js:1:243257)
  at resolveModule (node_modules/@nuxt/kit/dist/index.mjs:261:29)
  at setupAlias (node_modules/@nuxtjs/i18n/dist/module.mjs:25:36)
  at setup (node_modules/@nuxtjs/i18n/dist/module.mjs:541:11)
  at async Object.normalizedModule (node_modules/@nuxt/kit/dist/index.mjs:642:5)
  at async installModule (node_modules/nuxt/node_modules/@nuxt/kit/dist/index.mjs:456:3)
  at async initNuxt (node_modules/nuxt/dist/index.mjs:1606:7)
  at async load (node_modules/nuxi/dist/chunks/dev.mjs:6778:9)
  at async Object.invoke (node_modules/nuxi/dist/chunks/dev.mjs:6828:5)
  at async _main (node_modules/nuxi/dist/cli.mjs:50:20)

Indeed there is no such file in node_modules/vue-i18n/dist/
Any help will be appreciated!

Thank you for reporting!
Could you give us to minimum reproduction please? 🙏

Same here. Basically followed  https://v8.i18n.nuxtjs.org/getting-started/setup and https://v8.i18n.nuxtjs.org/getting-started/basic-usage .
- Operating System: `Darwin`
- Node Version:     `v18.9.0`
- Nuxt Version:     `3.0.0-rc.12`
- Nitro Version:    `0.6.0`
- Package Manager<EMAIL_ADDRESS>- Builder:          `vite`
- User Config:      `experimental`, `build`, `modules`, `publicRuntimeConfig`, `privateRuntimeConfig`, `globalName`, `app`, `i18n`, `http`, `proxy`, `auth`, `tailwindcss`, `googleFonts`, `content`
- Runtime Modules:  `<EMAIL_ADDRESS>`<EMAIL_ADDRESS>`<EMAIL_ADDRESS>`<EMAIL_ADDRESS>`<EMAIL_ADDRESS>`<EMAIL_ADDRESS>`<EMAIL_ADDRESS>`<EMAIL_ADDRESS>- Build Modules:    `-`

I was able to solve the issue by not only removing the old package<EMAIL_ADDRESS>from nuxt.config.js but also from package.json and running npm update.

I have the same issue on the 8.0.0-beta.1
The install is working but when i start the server he won't start on this error:

Cannot start nuxt:  Cannot find module '/Users/quentinguerrier/Desktop/seiz-io/oms/node_modules/vue-i18n/dist/vue-i18n.mjs'

This is in my package.json :
"@capacitor/browser": "^4.0.1",     "@commitlint/cli": "^17.0.3",     "@commitlint/config-conventional": "^17.0.3",     "@commitlint/cz-commitlint": "^17.0.3",     "@headlessui/vue": "^1.6.7",     "@heroicons/vue": "^2.0.11",     "@intlify/nuxt3": "^0.2.4",     "@meforma/vue-toaster": "^1.3.0",     "@nuxtjs/eslint-config-typescript": "^11.0.0",     "@nuxtjs/google-fonts": "3.0.0-0",     "@nuxtjs/strapi": "^1.5.1",     "@nuxtjs/tailwindcss": "5.3.2",     "commitizen": "^4.2.5",     "cordova-res": "0.15.4",     "daisyui": "^2.31.0",     "eslint": "^8.23.1",     "eslint-config-prettier": "^8.5.0",     "eslint-plugin-prettier": "^4.2.1",     "husky": "^8.0.1",     "lodash": "^4.17.21",     "moment": "^2.29.4",     "nuxt": "3.0.0-rc.11",     "prettier": "^2.7.1",     "sass": "^1.54.5",     "tailwindcss": "3.1.0",     "v-calendar": "3.0.0-alpha.8",     "vee-validate": "^4.6.9",     "vue3-smooth-scroll": "^0.8.1",     "yup": "^0.32.11"

I have the same issue on the 8.0.0-beta.1

I solved this problem
npm i<EMAIL_ADDRESS>

Hi @kazupon
I started a project from scratch to see if I had the same Cannot find module error. But I have another one. ^^
I just did npx nuxi init nuxt-app then npm i ; run the app OK. Stopped and did npm install @nuxtjs/i18n@next --save.
But with a basic nuxt.config.ts (just declaring the module, or declaring the module and setting basic options like below), I have a Cannot read properties of undefined (reading 'path') error when trying to do npm run dev
// nuxt.config.ts
export default defineNuxtConfig({
  modules: ['@nuxtjs/i18n'],
  i18n: {
    vueI18n: {
      legacy: false,
      locale: 'en',
      messages: {
        en: {
          welcome: 'Welcome'
        },
        fr: {
          welcome: 'Bienvenue'
        }
      }
    }
  }
})

// Error in terminal when running npm run dev
[nuxt] [request error] [unhandled] [500] Cannot read properties of undefined (reading 'path')
  at Module.detectBrowserLanguage (virtual:nuxt:./.nuxt/i18n.internal.mjs:190:70)
  at Module.detectLocale (virtual:nuxt:./.nuxt/i18n.utils.mjs:130:87)
  at ./node_modules/@nuxtjs/i18n/dist/runtime/plugin.mjs:53:45
  at processTicksAndRejections (node:internal/process/task_queues:96:5)
  at async Object.callAsync (./node_modules/unctx/dist/index.mjs:53:16)
  at async applyPlugin (./node_modules/nuxt/dist/app/nuxt.mjs:94:23)
  at async Module.applyPlugins (./node_modules/nuxt/dist/app/nuxt.mjs:104:5)
  at async createNuxtAppServer (./node_modules/nuxt/dist/app/entry.mjs:30:7)
  at async default (./node_modules/@nuxt/vite-builder/dist/runtime/vite-node.mjs:27:18)
  at async Object.renderToString (./node_modules/vue-bundle-renderer/dist/runtime.mjs:172:19)
[nuxt] [request error] [unhandled] [500] Cannot read properties of undefined (reading 'path')
  at Module.detectBrowserLanguage (virtual:nuxt:./.nuxt/i18n.internal.mjs:190:70)
  at Module.detectLocale (virtual:nuxt:./.nuxt/i18n.utils.mjs:130:87)
  at ./node_modules/@nuxtjs/i18n/dist/runtime/plugin.mjs:53:45
  at processTicksAndRejections (node:internal/process/task_queues:96:5)
  at async Object.callAsync (./node_modules/unctx/dist/index.mjs:53:16)
  at async applyPlugin (./node_modules/nuxt/dist/app/nuxt.mjs:94:23)
  at async Module.applyPlugins (./node_modules/nuxt/dist/app/nuxt.mjs:104:5)
  at async createNuxtAppServer (./node_modules/nuxt/dist/app/entry.mjs:30:7)
  at async default (./node_modules/@nuxt/vite-builder/dist/runtime/vite-node.mjs:27:18)
  at async Object.renderToString (./node_modules/vue-bundle-renderer/dist/runtime.mjs:172:19)

To be sure I removed .nuxt, node_modules and package-lock.json and did an npm i again but same.
The package.json has only nuxt and @nuxtjs/i18n and my Node version is 16.17.0
{
  "private": true,
  "scripts": {
    "build": "nuxt build",
    "dev": "nuxt dev",
    "generate": "nuxt generate",
    "preview": "nuxt preview",
    "postinstall": "nuxt prepare"
  },
  "devDependencies": {
    "nuxt": "3.0.0-rc.12"
  },
  "dependencies": {
    "@nuxtjs/i18n": "^8.0.0-beta.1"
  }
}

Thanks @ahoiroman for sharing but in my case I don't have<EMAIL_ADDRESS>; not in my current project nor in this test one.
@smartfox87 It's a workaround as I reckon we shouldn't need to install vue-i18n?

@cdefy
Hi!
Sorry, late my response.
Thank you for your repotting
I think your issue is same in here
That issue has already fixed.
Please check it in edge-version!

This issue may have been caused by migration from @intlify/nuxt3.
I’ve tried to create a nuxt3 project as clean and installing @nuxtjs/i18n, this issue does not occur.
So I will close it.
Thanks!

@kazupon No worries for the delay and thank you but you closed this thread based on the second error I mentioned. I tried again on a new project and yes the Cannot read properties of undefined (reading 'path') error is gone but not the Cannot find module '.../node_modules/vue-i18n/dist/vue-i18n.mjs' I declared for this thread when trying to install @nuxti18n in a project already working.
I can't share my project but maybe @ahoiroman , @LePtiDev or @smartfox87 have an example they can share please? (I'll try to reproduce on a fresh project when I have some time).

@kazupon I' still running into this issue and the path
/node_modules/dist/vue-i18n.mjs
definitely isn't existing!
Tried all things mentioned above, but nothing helped.
Running npm run dev isn't working with that error.

[nitro] [dev] [unhandledRejection] [[vite-node] [ERR_MODULE_NOT_FOUND] /node_modules/dist/vue-i18n.mjs                                                                                12:34:32
at /node_modules/dist/vue-i18n.mjs ] {
statusCode: 500,
fatal: false,
unhandled: false,
statusMessage: 'Vite Error'
}

Here's my package.json:
{
  "private": true,
  "scripts": {
    "build": "nuxt build",
    "dev": "nuxt dev",
    "generate": "nuxt generate",
    "preview": "nuxt preview",
    "postinstall": "nuxt prepare"
  },
  "devDependencies": {
    "@nuxt/content": "^2.2.2",
    "@nuxt/image-edge": "^1.0.0-27840416.dc1ed65",
    "@nuxtjs/i18n": "npm:@nuxtjs/i18n-edge",
    "@sidebase/nuxt-auth": "^0.3.0",
    "nuxt": "^3.0.0",
    "nuxt-purgecss": "^2.0.0",
    "sass": "^1.56.2"
  },
  "dependencies": {
    "@mdi/font": "^7.1.96",
    "@nuxt/test-utils": "^3.0.0",
    "@nuxtjs/robots": "^3.0.0",
    "@pinia/nuxt": "^0.4.6",
    "pinia": "^2.0.28",
    "vuetify": "^3.0.4"
  },
  "overrides": {
    "vue": "^3"
  }
}

and here's my nuxt.config.ts:

export default defineNuxtConfig({
modules: [
'@nuxtjs/i18n',
'@nuxt/image-edge',
'@nuxtjs/robots',
'@nuxt/content',
'nuxt-purgecss',
'@pinia/nuxt', // https://nuxt.com/modules/pinia
'@sidebase/nuxt-auth', // https://nuxt.com/modules/nuxt-auth
],
[...]

The project was created from scratch just yesterday. Could we reopen this? Any ideas?
If I manually add
npm i vue-i18n
it's exactly the same issue (with the configuration above). Did the paths change perhaps? /node_modules/dist/vue-i18n.mjs looks strange in general here?
I'm confused...

@kazupon sadly it's not public. I'll try to reproduce this in a minimum public repo install. Perhaps someone else here already has a public repo with the same issue?

I tried to fix this issue.
you can use the edge-version 8.0.0-beta.7-27847653.226e24b

I tried to fix this issue. you can use the edge-version 8.0.0-beta.7-27847653.226e24b
In installed that... now I get
Cannot start nuxt:  Cannot resolve vue-i18n on pnpm! please install it on 'node_modules'

@pimboden
Could you give us your node_modules tree please? 🙏

In installed that... now I get Cannot start nuxt: Cannot resolve vue-i18n on pnpm! please install it on 'node_modules'

I am getting the exact same error. It works with npm, but not with pnpm.
Reproduce steps:

Create a new fresh nuxt project with nuxi init
Install @nuxtjs/i18n-edge 8.0.0-beta.7-27851181.caaea70 with pnpm and add to nuxt.config.ts modules

I tried to fix this issue. you can use the edge-version 8.0.0-beta.7-27847653.226e24b

In installed that... now I get Cannot start nuxt: Cannot resolve vue-i18n on pnpm! please install it on 'node_modules'

I fixed this by adding a .npmrc file with shamefully-hoist=true in the root folder

@kazupon
shamefully-hoist=true
strict-peer-dependencies=false

turbo monorepo same problem,
    "@intlify/vue-i18n-bridge": "^0.8.0",
    "@intlify/vue-router-bridge": "^0.8.0",
        "vue-i18n-routing": "^0.10.2",

I had to download these, only your library is the problem

I just run into the same issue, with Could not read from file: C:\...\nuxt-base\node_modules\dist\vue-i18n.mjs
What did I do
I just installed the latest vuetify, to try it out... Now its not working anymore.
Analyzing
I checked the version with npm ls vue-i18n, with vuetify and without:
With<EMAIL_ADDRESS>it has a dependency of<EMAIL_ADDRESS>- is this the problem here ?
(while there is<EMAIL_ADDRESS>mentioned from @nuxtjs/i18n

Without vuetify, nuxt generates the .nuxt/types including the following correct path:

With vuetify, it somehow misses the package folder name in the path:

How can this happen?

I think I solved the issue, with defining the override within package.json for now:
"overrides": {
  "vue-i18n": "^9.3.0-beta.14"
}

I have the same issue following installation in this official guide:
https://v8.i18n.nuxtjs.org/getting-started/setup
I have a working nuxt 3 project based on "nuxt": "^3.0.0-rc.14",
After enabling in modules:
[
'@nuxtjs/i18n'
],
I get this error when running :npm run dev
[ERROR] Could not read from file: C:\Users\marti\OneDrive\Jobb\Development\WebDev\starters\vuetify-3-nuxt-3-full-project-starter\node_modules\dist\vue-i18n.mjs
I see this issue have bee around for a while.. Is this fixed? Is the official guide hpw to set it up with nuxt 3 up to date?
https://v8.i18n.nuxtjs.org/getting-started/setup

@CMQNordic What is your output of running npm ls vue-i18n ? Did you try my workaround above ?

Hi, I have the same problem on a fresh nuxt3 project :

500
[vite-node] [ERR_MODULE_NOT_FOUND] /node_modules/dist/vue-i18n.mjs

@Cyclodex my npm ls vue-i18n is :
├─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ │ └──<EMAIL_ADDRESS>deduped
│ ├─┬<EMAIL_ADDRESS>│ │ ├─┬<EMAIL_ADDRESS>│ │ │ └──<EMAIL_ADDRESS>deduped
│ │ └──<EMAIL_ADDRESS>deduped
│ └──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>  └──<EMAIL_ADDRESS>

Hello all,
I still have the same error with the mentioned dependencies:
├─┬<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ │ └──<EMAIL_ADDRESS>deduped
│ ├─┬<EMAIL_ADDRESS>│ │ ├─┬<EMAIL_ADDRESS>│ │ │ └──<EMAIL_ADDRESS>deduped
│ │ └──<EMAIL_ADDRESS>deduped
│ └──<EMAIL_ADDRESS>deduped
└──<EMAIL_ADDRESS>

If you have minimal reproduction repo or stackblize, you would open as new issue with it, please.
Thanks.


Resque development seems to have stalled

The mailing list and issue indicate that resque development has slowed. Version 2 has been in the works for a while but doesn't seem to be active.
We probably need to talk about what this means for us.

Sidekiq is a potential replacement. It is compatibile with resque - uses the same message format as resque and  uses redis.
Biggest issue will be plugins. Sidekiq uses middleware rather than callbacks. has concept of server-side and client-side middleware. May actually be better for us.

A list of supported adapters for ActiveJob in Rails.

we use https://github.com/echannel/resque-job-stats , which is forked from https://github.com/alanpeabody/resque-job-stats , which has no maintainer https://github.com/alanpeabody/resque-job-stats/issues/22 and may have a bug that causes job statuses to stay at queued...

To use Sidekiq, we need:

unique jobs e.g. sidekiq-unique-jobs
some kind of stats about jobs - sidekiq seems to come with this built in
a way to access the status of an individual job - something from here might work
to change our actions to be thread safe. This may be difficult, I'm not sure yet.

@atruskie anything else we need?

So as @cofiem previously noted, Resque development has started again.
Whether we adopt SideKiq or improve on Resque is an open question.
To contrast @cofiem's previous post, a resque implementation needs:

resque
resque job stats
resque-status
resque_solo
[not yet implemented] resque-retry

[not yet implemented] resque-scheduler


Worldborder extended, but dynmap can't render the new parts?

I just extended my worldborder (http://mc.villagercraft.eu:8050/) but can't seem to render the new parts.
When I use /dynmap radiusrender or /dynmap updaterender, it immediatly says completed and won't render the new parts.

Have you run the Fill command to actually force generation of all chunks inside the border?

@Brettflan
I used /wb world2 fill and /wb fill confirm. The progress took quite long and finished last night on 100%.
But when I opened dynmap, I still saw black places, so I used /wb world2 fill again, which went from 77.7% to 100% in less then 10 minutes, with nothing changed on dynmap.
I'm still unsure how I can get rid of those small black squares and big black line above.

If the Fill process completed successfully, then those parts of the world are generated and exist. It's down to Dynmap to finish rendering them. Dynmap might eventually get those rendered, or you may need to do a full render. Either way, your problem should be with Dynmap.

Alright, currently doing an updaterender and it seems to do something. Thanks!


slack importer: Allocate ids in a single db query.

Summary: We use the command select nextval('sequence') from generate_series(1, increment_number) which returns a list of allocated values for the ids. This list is used to assign ids to the to be converted objects.
(source: https://www.depesz.com/2008/03/20/getting-multiple-values-from-sequences/)

I posted a few comments.  Some other thoughts:

Generally, a somewhat complex PR like this would be better done with a few smaller commits.  I think it's good for you to get into the habit of doing a more normal commit structure now that the import tool is getting more stable.  E.g. one commit could just be changing the interface to be a list of IDs (or tuples of IDs, though I think a better interface would be to just return IDs from allocate_ids, which means having it do a bit of post-processing to get rid of the 1-element tuples), and another could then change the implementation.

@timabbott I'll do it right away! I am just unsure about this part: Don't we have to make smaller commits such that the tests cases would be passing in each individual commit (I read this somewhere, but I don't remember)? As in, if my first commit would have been just changing the interface, and not changing the implementation, my tests would fail for that commit.

Yep, each commit should be correct and pass tests, so they can be merged individually.  The point is, you could have one commit that just changes the old allocate_id to allocate_ids by returning a list of strings (and updates tests and callers) (using range to return a list instead), and a second that changes how it works internally.  May be possible to split a bit further (you seem to have some more complex refactors in some of the call points).
Check out (https://zulip.readthedocs.io/en/latest/contributing/version-control.html) for more details on this philosophy.

@timabbott  Here, the implementation of the main allocate_id function has not being changed at all. Initially, allocate_id used to return a single integer value, which acted as a counter to assign the ids assigned to the objects. The only change I have done in this PR is that as allocate_ids returns a id list, this list is passed to all the caller functions which are directly affected by the change (Functions where objects are being built and ids are assigned to them) and the same counter is used to traverse this list and assign the ids to the objects. (The same goes for the tests, a list is bing passed everywhere instead of a single starting point of the id)
Hence the internal structure of the script hasn't been changed at all.
The id list is responsible for assigning the ids in the entire script, for all the objects. Hence my concern is that this can't be broken down into smaller commits as all the callers have to be changed to process the list of ids in the same commit.
I have also converted the function such that it returns a list of ids and not a Tuple.

This is a lot better, though I think it would have been possible to split apart more.  Thanks for doing this!
I merged this, after cleaning up the new allocate_ids code; here's the diff:
diff --git a/zerver/lib/slack_data_to_zulip_data.py b/zerver/lib/slack_data_to_zulip_data.py
index 44a0676..101169c 100755
--- a/zerver/lib/slack_data_to_zulip_data.py
+++ b/zerver/lib/slack_data_to_zulip_data.py
@@ -41,13 +41,10 @@ def allocate_ids(model_class: Any, count: int) -> List[int]:
     sequence = idseq(model_class)
     conn.execute("select nextval('%s') from generate_series(1,%s)" %
                  (sequence, str(count)))
-    query = conn.fetchall()  # A Tuple is returned here
+    query = conn.fetchall()  # Each element in the result is a tuple like (5,)
     conn.close()
-    id_list = []
-    # convert Tuple to List
-    for object_id in query:
-        id_list.append(object_id[0])
-    return id_list
+    # convert List[Tuple[int]] to List[int]
+    return [item[0] for item in query]

 def slack_workspace_to_realm(REALM_ID: int, user_list: List[ZerverFieldsT],
                              realm_subdomain: str, fixtures_path: str,

Thanks @rheaparekh!

@timabbott Thank you for your review!


Merge 2.0.1

Codecov Report

Merging #531 into release-2.1.0 will decrease coverage by 0.02%.
The diff coverage is 27.27%.

@@                 Coverage Diff                 @@
##             release-2.1.0     #531      +/-   ##
===================================================
- Coverage            38.98%   38.96%   -0.03%
  Complexity             759      759
===================================================
  Files                  111      112       +1
  Lines                 7759     7769      +10
  Branches               874      874
===================================================
+ Hits                  3025     3027       +2
- Misses                4403     4411       +8
  Partials               331      331

Impacted Files
Coverage Δ
Complexity Δ

...n/java/org/sunbird/common/models/util/JsonKey.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...n/request/UserTenantMigrationRequestValidator.java
0% <0%> (ø)
0 <0> (?)

...rg/sunbird/common/models/util/ActorOperations.java
100% <100%> (ø)
3 <0> (ø)
:arrow_down:

.../org/sunbird/common/responsecode/ResponseCode.java
94.29% <100%> (+0.01%)
14 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


run goreleaser init

Codecov Report

Merging #2 (375d8e5) into main (c146a0a) will decrease coverage by 0.10%.
The diff coverage is n/a.

:exclamation: Current head 375d8e5 differs from pull request most recent head 58abb4f. Consider uploading reports for the commit 58abb4f to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main       #2      +/-   ##
==========================================
- Coverage   51.12%   51.02%   -0.10%
==========================================
  Files         158      158
  Lines       10657    10657
==========================================
- Hits         5448     5438      -10
- Misses       4732     4742      +10
  Partials      477      477

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


Duplicates / Some images are repeated

Describe the bug
When the app refreshes the list, some newly added images are duplicated, and it won't be fixed even if I reopen the app. It seems that this only happened after version 1.10.8.
To Reproduce
Sorry, I don't know. It happens nearly 1 bugged image of 10 normal images.
Screenshots

System information and logs:
aves-logs-20240410_132650.txt
Additional context
If you move the image to other folder (whatever by file manager or by aves), it will be fixed.
The "info" page of the duplicated images are totally same.

Thanks for the report. I'm aware of the bug but i couldn't reproduce it myself (on my own device or emulators) so i was waiting for more reports and users willing to help me debug it.
Could you please paste the system info from About > Bug Report?
Do you use a custom ROM? A rooted device?
What is the app that creates the new media that gets duplicated (OEM camera, 3rd party camera, screenshot, file transfer, etc)?
Do you switch to Aves right after they are created, or later?

Could you please do the following:

install this test build. It will install as Aves [Profile]. Please let the default settings as they are.
launch Aves [Profile] and let it run its initial media scan. It might take a while if you have many media items.
try to reproduce the issue by creating new media and checking in Aves [Profile] if you see duplicates
when you spot a duplicate, please note the URI and path of the duplicate (available in the media Info page), and save the app logs (from About > Bug Report)
attach here the logs, and let me know the URI/path of the duplicate.

Thanks for taking the time to try it, but for now I'd like to focus on reproducing the duplicate issue with the test version. And it's important to let the initial scan complete first. Please let me know if you can reproduce the duplication with the debug version (with the debug logs and duplicate name).

Actually, I've noticed that the log files attached here are incomplete. I need to find another way to log that's compatible with your device, so no need to test further for now.

About the screenshot with the wrong date, if it's still the case, could you open one of them (in the debug app) in the viewer, then select in the menu > Debug.
Then please take screenshots showing the Entry and Android icon, as follows:

Thanks, so it's really an issue with cataloguing ^^
Could you please send me that file with the wrong date (without modification or resize)?

Weird, i can't reproduce. On my device, it has the correct date. Could you please export the metadata and attach it here?

Maybe you're right. The metadata is fine, so cataloguing should be accurate. Maybe at first Aves sees the file with a wrong date reported by Android, and thinks it's a different file later... Hard to say without full logs.
I'll try and figure out a way to dig deeper. Thank you for now!

I came across the same problem with Redmi K60 Ultra. Delete either dupe will delete them both. Move either one to another location will result in a single one. So I often move it and move back to solve the problem. But it is not very reproducible. My experience is that the dupes are created upon tagging multiple (more than 50) images.

@kmcbest could you please follow the instructions at https://github.com/deckerst/aves/issues/971#issuecomment-2048108266 ?

Could you please do the following:
1. install this [test build](https://drive.google.com/file/d/1KfsSUqS21BnfkCnk4KtI3CbQv6ZtmPcx/view?usp=sharing). It will install as `Aves [Profile]`. Please let the default settings as they are.

After months, possibly years, of using Aves without issues, I now have the problem of duplicates appearing as well.
I wanted to try the test build, but can't download it ("No preview available. File is in owners trash" and "Viewers cannot download")
Duplicates started to appear in the last few days from downloads from Mull browser, 3rd party camera app (Google Cam by BSG, 8.7.250) and Whatsapp. Screenshots don't appear to be affected (yet?)
I changed only two things just before this issue appeared: I set GoogleCam to also save the raw image files (*.dng) and I set Aves to hide those files. I've now set Aves to not hide the raw files to see if that helps.
I'm using the LineageOS for Microg rom.
System info:
Package: deckers.thibault.aves.libre
Installer: org.fdroid.fdroid.privileged
Aves version: 1.11.8-libre, build 12702
Flutter: stable 3.22.3
Android version: 13, API 33
Android build: lineage_alioth-userdebug 13 TQ3A.230901.001 eng.root.20240524.072639 dev-keys
Device: Xiaomi M2012K11AG
Support: dynamic colors=true, geocoder=true, HDR=true
Mobile services: not available
Connectivity: wifi
System locales: en_US
Storage volumes: /storage/emulated/0/
Storage grants: /storage/emulated/0/Pictures/, /storage/emulated/0/DCIM/, /storage/emulated/0/Download/Youtube/, /storage/emulated/0/Download/Fairemail/, /storage/emulated/0/Android/media/
Error reporting: false
Logs attached.
aves-logs-20240805_182439.txt

Thanks for the report.
Regarding the test build, I'll come back to you with a new build from the latest source.
As for the issue, can you reliably make it happen? Or is it randomly happening once in a blue moon?
Do you allow notifications for Aves, so you can see when the media scanning service is running? If so, do you see it running when you experience the issue?
When duplicates appear, is it when opening the app very soon after the media is created on the device?

Thanks for the report.
Regarding the test build, I'll come back to you with a new build from the latest source.
As for the issue, can you reliably make it happen? Or is it randomly happening once in a blue moon?

It's random, I haven't been able to determine a pattern yet.

Do you allow notifications for Aves, so you can see when the media scanning service is running? If so, do you see it running when you experience the issue?

I didn't, but have now allowed Aves to show notifications.

When duplicates appear, is it when opening the app very soon after the media is created on the device?

I don't think I've opened Aves directly after creating media but will pay more attention going forward.

@bodypilot I edited the test build link in the comment above.

Thanks.
I installed the test build and right of the bat it doesn't show the duplicates the regular version still shows.
Have taken some pics which don't duplicate, not in the test build, nor the regular build.
I'll keep monitoring this in the next few days.

The duplicate issue is a corruption internal to the app, so it's normal that the duplicates in one app do not show in the other.

The test build seems to have fixed it for me as well, thank you!

The test build is not supposed to fix anything. It's just a build with additional logging, so that if the issue happens, logs should help me diagnose the root cause.

I've shot about 3 dozen pictures these last couple of days, and have seen no duplicates, neither in the test build, nor the "normal" build.
I'll keep using the test build and will report back when I see a duplicate appearing.

I've got 3 or 4 duplicates showing again on the Profiling build. I've attached my current app logs for you @deckerst
aves-logs-20240816_123818.txt

Ok. For now, if I notice the problem straight after taking a photo, I'll send the debug logs through again and see if it captures the current session

I've shot hundreds of pictures in the last couple of weeks: no duplicates were seen.
I'll be taking a lot less pictures going forward, but if I see a duplicate I'll attache the log to this thread.
I'm also willing to try any new test builds you might come up with.

tl;dr: I'm releasing a "fix".
Long version: I couldn't find the root cause and it's too difficult to reproduce the issue. So I didn't actually fix the issue but instead took measures to detect and remove duplicates as they appear (assuming they appear in the code paths I think they do). It will also report the issue (for users who allowed automatic error reporting). I hope to get insights from these reports, and fix (or narrow down) the issue in the following releases, but that would be transparent for users.

"for users who allowed automatic error reporting" --  I didn't find this feature, where is it?

@kmcbest It's an option in Settings > Privacy, but it's only available in the play flavour of Aves. Maybe you use the libre flavour.


jax.random does not respect its dtype argument if jax_enable_x64 is not set

Despite that I have specified dtype=np.float64 or dtype=onp.float64, I always get 32-bit array.
x = random.uniform(random.PRNGKey(0), (1000,), dtype="float64")
x.dtype  # return float32

You need to set the jax_enable_x64 flag to true:
In [1]: from jax.config import config; config.update("jax_enable_x64", True)

In [2]: from jax import numpy as np, random

In [3]: x = random.uniform(random.PRNGKey(0), (1000,), dtype=np.float64)
   ...: x.dtype
/Users/phawkins/p/jax/jax/lib/xla_bridge.py:167: UserWarning: No GPU found, falling back to CPU.
  warnings.warn('No GPU found, falling back to CPU.')
Out[3]: dtype('float64')

We squash types to 32 btits by default because numpy has a bad habit of aggressively promoting everything to doubles. We probably need to document this better (and perhaps warn more loudly).

Probably documented in #656?

Opps... looking like I should close this issue. Somehow I missed notifications.


Add ability to verify deeplink configuration from within the debugger

This was actually quite simple: for the first check we inspect the Info.plist, then we call a new deeplink url that doesn't do anything other than tell the debugger that the link was received. There's a unique token for each call just in case there's any weirdness with multiple SDK instances or something like that.
Video here: https://a.cl.ly/12uLZwxl

nice! kind of a chicken/egg thing for some, as the deeplink would be used to launch the debugger often? but could help others.
True. It's really only helpful for the developer first doing the implementation, which is why I made the docs launch the debugger programmatically (typo aside). Also might provide peace of mind to non-technical users who may not understand that they used the deep link to get to the debugger?

can we make sure it gets ticketed/cloned for Android please?
Yep: https://app.shortcut.com/appcues/story/39787


Running into issues when including y.js (npm package) in my workers logic

Hello,
When I am including y.js library in my worker project, I am getting the following error:
MiniflareError: Unable to resolve “dist/index.mjs” dependency “perf_hooks”: no matching module rules
I am using the rollup template with typescript support from cloudflare as a started. The rollup config already includes '@rollup/plugin-node-resolve' plugin.
Issue seems to be similar to https://github.com/cloudflare/miniflare/issues/49 which is not answered from what I see. Any help is appreciated as this is a full blocker to me.

the issue was fixed when I changed my rollup config.


Monday 15-04-2024 roll call

Roll Call!
Leave a comment with these two things:

A summary of your study using only emojis
Something you'd like to share, anything goes! (within respect)

emoji cheat sheet

Good morning

🚂🚂

Good morning!

Hello...

Good morning!!

salut

guten morgen!

Good Morning

✌

Good Morning

hi

hello

hello


Add Polish Flags Pack from Kerbal Stuff

This pull request was automatically generated by Kerbal Stuff on behalf of Venthe, to add Polish Flags Pack to CKAN.
Please direct questions about this pull request to Venthe.

No. KS does not support flagpacks and as such I'm closing this.


Bazel2.x csh

Bazel:command "bazel build //modules/planning/..." passed

@changsh726 please check teamcity and see why the build failed. Thanks!


Typo fix in command_line_flags comment

Hi @hiberabyss, It is better to submit multiple typo fixes in a single PR as the CPU/GPU hours are wasted on CI.
Hence, we do not encourage one liner grammatical changes as it is an expensive process. Thank you for your contribution!


Steaming exceptions cause data loss

there is a problem that how to ensure that the data is not lost When the streaming is wrong

The details is follow this:
When RabbitMQInputDStream is receive the rabbitMQ data, then ack to delete the source data in MQ.
But unfortunately, the executor crash for some reason , the data in streaming is not process finished,and the result .
This make data lost:
1、 the data in MQ is delete,
2、the data in streaming is not process finished and did not store .
So RabbitMQUtils is  not reliable.
Forgive my poor English.
Best Regards!

Hi,
It would be nice set rabbitmq client ack mode by configuration and send a ack after store the delivered message
Best Regards!

Yes,we store the data in HBase now befor ack ,and delete after the data is process .

Hi,
this issue is solved in the PR #41.
The user can configure the Ack policy with the DStream params.
Thanks for all.


Customizing labels

Hi, first I like to congratulate you on this lib. It's great!
Now, I am making an app that should show blood pressure data in format number/number. I would represent it on chart in form of ratio but I would like to show the real values (130/80, for example) as a label.
How can I do it?

Hi, you can check the samples , there is a footerBuilder method
https://github.com/aeyrium/bezier-chart/blob/master/example/lib/main.dart
On Wed, Feb 19, 2020, 6:11 PM Draško Sarić<EMAIL_ADDRESS>wrote:

Hi, first I like to congratulate you on this lib. It's great!
Now, I am making an app that should show blood pressure data in format
number/number. I would represent it on chart in form of ratio but I would
like to show the real values (130/80, for example) as a label.
How can I do it?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aeyrium/bezier-chart/issues/71?email_source=notifications&email_token=ABFL3UDLJVNVISKTS3X7U23RDW4APA5CNFSM4KYDQ462YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IOZUTUQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABFL3UDHGC2EYMBP7OVN33LRDW4APANCNFSM4KYDQ46Q
.


Detect PHP delimiter for colorize syntax filter

This probably isn't the best way to do this, and I'm sure there are other languages which would benefit from a similar approach, but it's entirely possible to detect PHP code blocks by delimiter. This is super handy with markdown, for the same reason as the #!php comments.

Hi Justin,
Would it not be better to use a library such as Linguist or LanguageSniffer to detect the programming language a snippet is in? This would be a cleaner approach and it also would support a lot more languages.

I considered it (and even tested a bit) but the false positives made it less than useful. Because these libraries (and others like them) are tasked with finding the language of a file, they look for the best fit, even when it's not a very good fit.
This is even more exaggerated when you're talking about code blocks instead of entire files. Take this block for example:
http://justinhileman.info/article/reinstalling-php-53-on-mac-os-x/#but-wait-theres-more
Since its valid SQL, every language sniffer I've tried highlights it as SQL comments... With code snippets, exact fit is the right answer. With whole files, best fit is better.

That's a good point. Do you know any libraries for an exact-fit match? If not, maybe we/I should write one. :)

One thing that bothers me here is that there’s no way to turn off the automated highlighting this way. Suppose you have a piece of text that starts with <?php but that you do not want to be highlighted… how would you turn it off?

I’ve decided not to pull this change for the following reasons:

Reliable language detection should be abstracted away, perhaps into a separate library. It should also support more languages than just PHP. Languages which should be easy to detect reliably also include HTML and XML, but there are probably more.

There should be a way to opt-out of automatic language detection.

There should be a way to prevent certain pieces of code from being highlighted using the automatic language detection even if it is turned on. Currently, this is no problem because highlighting is opt-in per piece of code (by explicitly giving it a language).

There should be a choice in libraries for automatic language detection. If people want to use LanguageSniffer or Linguist, this should be possible.

In general, I do believe that automatically detecting the language without having to specify it explicitly is a good idea, so with a bit of work this could become quite useful.

I see where you're coming from. In this particular case (and this exact implementation) I saw this as an instance of a magic number rather than language detection. This is why it only detects the <?php sequence in the same position as your #! directive.

(apparently markdown support in email replies is a bit lacking?)

No Markdown support in e-mails it seems.
Textual documents nearly never have a magic number. In fact, now that I think of it, even PHP cannot be detected that easily, as it can appear inside HTML, so ideally, the highlighter would find parts between <?php and ?> and only highlight that.
All in all, too complex to be handled by nanoc. :)

That's fine.
In my case, I felt it was a bit ugly to do this in my markdown:
#!php
<?php

$foo = 'bar';

... but my needs will be met with a simple additional filter which detects <code> elements that start with <?php and replaces them with #!php\n<?php


How to add bootstrap and custom themes?

Where should we place the bootstrap and custom themes files?

add as vendor files?
use webpack to compile a separate .css file?
or ??

Thanks!
P.S.: I am using the v3.0.0 branch

That is a good question, there is a few ways to do this.
The easiest one and what I'd go for is:

Add a separate themes or styles folder.
Import your .css files with the file loader like so

import 'file?name=[name].[ext]!customstyles.css' from '../styles/customstyles.css';`

Reference that CSS file in your HTML:

<link href='mypath/customstyles.css' />

Hope that helps & works!

I receive the following error when I try to use bootstrap (or fontawesome):
Module parse failed: (project directory)/fonts/glyphicons-halflings-regular.eot Line 1: Unexpected token ILLEGAL
You may need an appropriate loader to handle this file type.
It seems as though the compiler is complaining about trying to compile the .eot file. I receive the same issue for .woff, .woff2, .ttf, and .svg files used by bootstraps glyphicons. The same is true when I try incorporate fontawesome. Please advise. :)

Hi there. Very useful guide! By the way, guys, where do you get yout bootstrap templates from? I'm considering downloading one from Templatemonster  website. My friend recommends me to use this template provider.

The solution that worked for me is creating a folder structure like this in the root of the project:
vendor/
  css/
    bootstrap.min.css
  fonts/
    (all the font files)

And inside the entry point of webpack (currently /app/app.js), add the following:
import '!!style-loader!css-loader!../vendor/css/bootstrap.min.css';

What this does is strip out the configured loaders for this specific css file, and then use only the style-loader and css-loader. This is necessary because the configured css-loader had modules turned on, which caused bootstrap's styles to be namespaced and thus not show up properly.
Hope this helps - took me a while to figure out!

Still cant figure it out, trying to add vendor css but confused where to put it.

app.js!

Thanks for your answer but when i am trying to put into app.js i am getting the following error.
import 'file?name=[name].[ext]!material.min.css' from './vendor/mdl/material.min.css';
I am getting the following error for using from
react-boilerplate/app/app.js: Unexpected token (16:49)

16 | import 'file?name=[name].[ext]!material.min.css' from './vendor/mdl/material.min.css';

Leave the from part away, this does the trick:
import 'file?name=[name].[ext]!./vendor/mdl/material.min.css';

worked, Thanks

No worries, glad to be of help!

@holoiii nice trick.
In the past I was using stylus and stylus-bootstrap, this allowed devs to customize bootstrap very quickly  by defining bootstrap parameters to overriden default ones.
By any chance, did you find a way to do that or are you using bootstrap as it is ?

@kopax  I don't know how to resolve "Resource interpreted as Stylesheet but transferred with MIME type text/html" ?


fix: added the borders in cmment and made it look decent, padding and all.

Closes : https://github.com/code100x/cms/issues/190
The below video shows "before" and "after" scenarios
https://github.com/code100x/cms/assets/55043383/7218fb6d-a684-4818-92c4-2eb806e57dd4

/bounty $10