Failed to install 'phonegap-plugin-push':undefined Error: Version should contain only numbers and dots

Hi,
when I execute command "cordova platforms add ios" return this error:
iOS project created with<EMAIL_ADDRESS>Installing "cordova-plugin-admobpro" for ios
Installing "cordova-plugin-extension" for ios
Installing "cordova-plugin-app-version" for ios
Installing "cordova-plugin-console" for ios
Installing "cordova-plugin-datepicker" for ios
Installing "cordova-plugin-device" for ios
Installing "cordova-plugin-dialogs" for ios
Installing "cordova-plugin-email-composer" for ios
Dependent plugin "cordova-plugin-extension" already installed on ios.
Installing "cordova-plugin-geolocation" for ios
Installing "cordova-plugin-inappbrowser" for ios
Installing "cordova-plugin-splashscreen" for ios
Installing "cordova-plugin-statusbar" for ios
Installing "cordova-plugin-whitelist" for ios
Installing "cordova-plugin-winstore-jscompat" for ios
Installing "cordova-plugin-x-toast" for ios
Installing "cordova-sqlite-storage" for ios
installing external dependencies via npm
npm install of external dependencies ok
Installing "ionic-plugin-keyboard" for ios
Installing "phonegap-plugin-push" for ios
Failed to install 'phonegap-plugin-push':undefined
Error: Version should contain only numbers and dots
this is my configuration:
cordova-plugin-admobpro 2.25.0 "AdMob Plugin Pro"
cordova-plugin-app-version 0.1.8 "AppVersion"
cordova-plugin-console 1.0.2 "Console"
cordova-plugin-datepicker 0.9.2 "DatePicker"
cordova-plugin-device 1.1.1 "Device"
cordova-plugin-dialogs 1.2.0 "Notification"
cordova-plugin-email-composer 0.8.3 "EmailComposer"
cordova-plugin-extension 1.5.1 "Cordova Plugin Extension"
cordova-plugin-geolocation 2.1.0 "Geolocation"
cordova-plugin-inappbrowser 1.3.0 "InAppBrowser"
cordova-plugin-splashscreen 3.1.0 "Splashscreen"
cordova-plugin-statusbar 2.1.1 "StatusBar"
cordova-plugin-whitelist 1.2.1 "Whitelist"
cordova-plugin-winstore-jscompat 0.0.1 "Windows Compatibility"
cordova-plugin-x-toast 2.5.2 "Toast"
cordova-sqlite-storage 1.5.1 "Cordova sqlite storage plugin"
ionic-plugin-keyboard 1.0.8 "Keyboard"
phonegap-plugin-push 1.9.2 "PushPlugin"
cordova: 6.4.0
cocoadpods: 1.2.0.beta.1
Thank you.

@SepuWeb how do you install the push plugin? What does it look like in your config.xml?

I execute the following command:
cordova plugin add https://github.com/phonegap/phonegap-plugin-push --variable SENDER_ID="11111111111"

@SepuWeb check you cocoapods installation. I fixed this with
sudo gem install -n /usr/local/bin cocoapods

Hi cookys, when I execute sudo gem install -n /usr/local/bin cocoapods return me:

Successfully installed cocoapods-1.1.1
Parsing documentation for cocoapods-1.1.1
1 gem installed

after I run cordova platforms rm ios and after cordova platforms add ios
but return:
Failed to install 'phonegap-plugin-push':undefined
Error: Version should contain only numbers and dots

@SepuWeb I can't reproduce this. I need better steps in order to figure out how you got to this point.

Hi macdonst and thank you,
for my app I need push notifications, so I follow the guide and execute the command to install this plugin in my ionic project.
First of all I execute the command:
cordova plugin add https://github.com/phonegap/phonegap-plugin-push --variable SENDER_ID="11111111111"
after I run cordova platforms rm ios and after cordova platforms add ios
nothing else.
have I to do other things?

I try to implement push notifications for my ionic2 app on my mac and have the exact same situation here.
I am willing to provide any information to help you figure out what's going on.
Sascha

I have same problem:
cordova plugin add phonegap-plugin-push
Installing "phonegap-plugin-push" for android
ANDROID_HOME=/Users/pavel/Library/Android/sdk
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home
Subproject Path: CordovaLib
Starting a new Gradle Daemon for this build (subsequent builds will be faster).
Incremental java compilation is an incubating feature.
:clean
:CordovaLib:clean
`BUILD SUCCESSFUL`
Total time: 10.067 secs
Subproject Path: CordovaLib
Installing "phonegap-plugin-push" for browser
Error loading cordova-browser
Installing "phonegap-plugin-push" for ios
Failed to install 'phonegap-plugin-push':undefined
Error: Version should contain only numbers and dots
pod --version
1.2.0.beta.1
cordova -v
6.4.0
cordova platform -l
Installed platforms:
  android 6.0.0
  browser 4.1.0
  ios 4.3.1
Available platforms:
  amazon-fireos ~3.6.3 (deprecated)
  blackberry10 ~3.8.0
  firefoxos ~3.6.3
  osx ~4.0.1
  webos ~3.7.0

I was able to fix by using cocoapods:1.1.1
sudo gem install -n /usr/local/bin cocoapods:1.1.1
sudo gem unistall -n /usr/local/bin cocoapods # uninstall 1.2.0.beta.1
pod --version # 1.1.1
rm -rf platforms plugins
cordova platform add ios

As @nphyatt mentioned the fix is to have cocoapods v 1.1.1 installed. It's actually on the requirements

Closing this as the community agrees that it is a cocoapods 1.1.1 requirement issue.

Working on VS2015 and deploying the app to an ios device via remotebuild.
Correct me if I'm wrong but all the solutions using sudo gem to install cocoapods are commands to be run in the Terminal of a mac.
How can I solve this on Windows.
Any Pointers and guidance will be much appreciated thank u in advance.

@ssbDeveloper-SG watch the warning : Applications for platform iOS can not be built on this OS - win32.
u cannot build iOS platform on windows platform.

@macdonst Why's there no information in the readme about this requirement?

That's not a requirement of this plugin, it's a requirement of cordova. If you create an empty cordova project on windows, add android and ios platforms, and try to do any of these  clean, compile, build you'll get an error.
Thus, plugins that affect the compile step like push do, will not work on a windows environment. iOS platform projects can only be built on macOS environments.

I thing it should permission issues, I have tried, Please Visit, Issue1342.
Thanks.

@kaynz it's here https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/INSTALLATION.md#installation-requirements

Same issue here,
removed old phonegap-plugin-push, installed cocoa pods and added new phonegap-plugin-push then when adding ios platform:
Using cordova-fetch for<EMAIL_ADDRESS>

Adding ios project...

Creating Cordova project for the iOS platform:

	Path: platforms/ios

	Package: com.myapp.myapp
	Name: Myapp

iOS project created with<EMAIL_ADDRESS>

Installing "cordova-plugin-compat" for ios

Installing "cordova-plugin-console" for ios

Installing "cordova-plugin-crosswalk-webview" for ios

        After much discussion and analysis of the market, we have decided to discontinue support for Android 4.0 (ICS) in Crosswalk starting with version 20.

        So the minSdkVersion of Cordova project is configured to 16 by default.

Installing "cordova-plugin-device" for ios

Installing "cordova-plugin-dialogs" for ios

Installing "cordova-plugin-file" for ios

The Android Persistent storage location now defaults to "Internal". Please check this plugins README to see if you application needs any changes in its config.xml.

If this is a new application no changes are required.

If this is an update to an existing application that did not specify an "AndroidPersistentFileLocation" you may need to add:

      "<preference name="AndroidPersistentFileLocation" value="Compatibility" />"

to config.xml in order for the application to find previously stored files.

Installing "cordova-plugin-geolocation" for ios

Plugin dependency<EMAIL_ADDRESS>already fetched, using that version.

Dependent plugin "cordova-plugin-compat" already installed on ios.

Installing "cordova-plugin-inappbrowser" for ios

Installing "cordova-plugin-network-information" for ios

Installing "cordova-plugin-splashscreen" for ios

Installing "cordova-plugin-statusbar" for ios

Installing "cordova-plugin-whitelist" for ios

Installing "cordova-plugin-wkwebview-engine" for ios

Installing "cordova-plugin-x-toast" for ios

Installing "ionic-plugin-keyboard" for ios

Installing "phonegap-plugin-push" for ios

Failed to install 'phonegap-plugin-push': undefined

Error: Version should contain only numbers and dots

I have cocoapods version 1.4.0.beta.1 installed with sudo gem install cocoapods on macOS Sierra 0.12.6

Basically I have to downgrade to cocoapods 1.1.1??

Ok, removed cocoapods and reinstalled version 1.1.1 (instead of 1.4.0.beta.1) and it worked


Atlas compatible?

Hi OBFK,
Could you have a small change to apply this shader on a tile-based atlas? It would be awesome
Cheers

Hello, probably ages too late, but.
Going to push the new changes with better functionality and features.

The new update is UP, If you face any issues please open a new one.


Remove composer self-update

Travis already runs this command by default, so no need to run it twice

Since we support old versions of PHP on old travis runtimes, it's hard to guarantee that the environments are updated on the schedule mentioned in the documentation:

Note that we update composer every time we update the PHP build environment, which is every 30-60 days.

It's very little overhead to keep running self-update, and guards against potential issues. Therefore, we will keep it in place for the immediate future.
Regardless of this decision, I appreciate your contributions! Thank you.

Thank you for the explanation on why this won't be merged.


failed to create map for 'minimal_.rodata' when run minimal in kernel v5.4

Hi,
minimal seems can not run in kernel v5.4 when create map for rodata.

libbpf: loading object 'minimal_bpf' from buffer
libbpf: elf: section(3) tp/syscalls/sys_enter_write, size 104, link 0, flags 6, type=1
libbpf: sec 'tp/syscalls/sys_enter_write': found program 'handle_tp' at insn offset 0 (0 bytes), code size 13 insns (104 bytes)
libbpf: elf: section(4) .reltp/syscalls/sys_enter_write, size 32, link 13, flags 40, type=9
libbpf: elf: section(5) license, size 13, link 0, flags 3, type=1
libbpf: license of minimal_bpf is Dual BSD/GPL
libbpf: elf: section(6) .bss, size 4, link 0, flags 3, type=8
libbpf: elf: section(7) .rodata, size 28, link 0, flags 2, type=1
libbpf: elf: section(8) .BTF, size 601, link 0, flags 0, type=1
libbpf: elf: section(10) .BTF.ext, size 160, link 0, flags 0, type=1
libbpf: elf: section(13) .symtab, size 192, link 1, flags 0, type=2
libbpf: looking for externs among 8 symbols...
libbpf: collected 0 externs total
libbpf: map 'minimal_.bss' (global data): at sec_idx 6, offset 0, flags 400.
libbpf: map 0 is "minimal_.bss"
libbpf: map 'minimal_.rodata' (global data): at sec_idx 7, offset 0, flags 80.
libbpf: map 1 is "minimal_.rodata"
libbpf: sec '.reltp/syscalls/sys_enter_write': collecting relocation for section(3) 'tp/syscalls/sys_enter_write'
libbpf: sec '.reltp/syscalls/sys_enter_write': relo #0: insn #2 against 'my_pid'
libbpf: prog 'handle_tp': found data map 0 (minimal_.bss, sec 6, off 0) for insn 2
libbpf: sec '.reltp/syscalls/sys_enter_write': relo #1: insn #6 against '.rodata'
libbpf: prog 'handle_tp': found data map 1 (minimal_.rodata, sec 7, off 0) for insn 6
libbpf: map 'minimal_.bss': created successfully, fd=4
libbpf: Error in bpf_create_map_xattr(minimal_.rodata):Invalid argument(-22). Retrying without BTF.
libbpf: map 'minimal_.rodata': failed to create: Invalid argument(-22)
libbpf: failed to load object 'minimal_bpf'
libbpf: failed to load BPF skeleton 'minimal_bpf': -22

However, it works fine in kernel v5.10.  Both of them has enabled required BTF & BPF configs when compiling them.
So I was wondering what cause this problem, since in our production environment it is almost always version 5.4.
Thanks

Not sure, tbh. Required features seems to require v5.2, so v5.4 should be working fine. Try running minimal_legacy and see if that works. Otherwise we'd need to debug this using tools like https://github.com/anakryiko/retsnoop, it's hard to know from just -EINVAL (-22) error code.

Thanks for your reply!
Almost all the demo could run... minimal_legacy also shows
map '.rodata.str1.1': failed to create: Invalid argument(-22)
It seems kernel could not handle BPF_MAP_CREATE for dodata properly....

Not sure, tbh. Required features seems to require v5.2, so v5.4 should be working fine. Try running minimal_legacy and see if that works. Otherwise we'd need to debug this using tools like https://github.com/anakryiko/retsnoop, it's hard to know from just -EINVAL (-22) error code.

Thanks for your reply!
Almost all the demo could run... minimal_legacy also shows
map '.rodata.str1.1': failed to create: Invalid argument(-22)
It seems kernel could not handle BPF_MAP_CREATE for dodata properly....

@zhouchuyi were you able to understand why kernel rejects BPF_MAP_CREATE command?
As a work around, you can add #define BPF_NO_GLOBAL_DATA before #include <bpf/bpf_helpers.h> to make bpf_printk() not use static variables. That will eliminate the need to have .rodata.str1.1.
But it would be nice if you can help investigate why this failure happens in the first place.


How to improve the parallelism of go routine？

What version of Go are you using (go version)?

$ go version
go version go1.13 linux/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN="/home/go//bin"
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/root/go"
GOPRIVATE=""
GOPROXY="https://goproxy.io"
GOROOT="/home/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/root/compress/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build475748650=/tmp/go-build -gno-record-gcc-switches"

What did you do?

I'm not sure how to deal with this phenomenon when I find that the parallel performance using go routine is not very good when writing database(olap) code. I have written the following example to verify this:
package main

import (
    "fmt"
    "hash/crc32"
    "time"
)

const (
    Loop = 10000
)

func main() {
    data := make([]byte, 4<<20)
    t := time.Now()
    for i := 0; i < Loop; i++ {
        crc32.ChecksumIEEE(data)
    }
    fmt.Printf("process: %v\n", time.Now().Sub(t))
}

package main

import (
	"fmt"
	"hash/crc32"
	"sync"
	"time"
)

const (
	Mcpu = 8
	Loop = 10000 / Mcpu
)

func main() {
	data := make([]byte, 4<<20)

	var wg sync.WaitGroup

	t := time.Now()
	for i := 1; i < Mcpu; i++ {
		wg.Add(1)
		go func(idx int) {
			defer wg.Done()
			tt := time.Now()
			for j := 0; j < Loop; j++ {
				crc32.ChecksumIEEE(data)
			}
			fmt.Printf("%v's process: %v\n", idx, time.Now().Sub(tt))
		}(i)
	}
	{
		tt := time.Now()
		for j := 0; j < Loop; j++ {
			crc32.ChecksumIEEE(data)
		}
		fmt.Printf("0's process: %v\n", time.Now().Sub(tt))

	}
	wg.Wait()
	fmt.Printf("process: %v\n", time.Now().Sub(t))
}

My machine has exactly 8 cpu's and I found that the runtime does not decrease linearly when the number of go routines increases.
What did you expect to see?
I want to achieve a linear performance improvement with  cpu computation when the number of routines is less than or equal to the number of cpus.
What did you see instead?
When the number of routines is smaller than the cpu, increasing the number of routines does not improve the performance very much.

Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions

@seankhliao  I've gotten a reply and it looks like the routines will cause go to be less than suitable for writing cpu intensive programs. Thanks a lot!


Image & Avatar Component

Discussed in https://github.com/nextui-org/nextui/discussions/269

Originally posted by devgossips February 10, 2022

While researching I found a awkward result in Avatar component:
<Avatar src="" css={{ size: "$20" }} />

Please avoid the background color!
But according the documentation it should show :

<Image src="/avatars/avatar-4.png"/> what ever is the value of src it is showing a blank white placeholder !!

Please check is this really a bug or I made a mistake in code !

I will fix that.

Great! @wiksien , I'm going to assign it to you

@jrgarciadev While executing command "yarn build:nextui" I had an error pop up: "Error: ENOENT: no such file or directory, scandir 'C:\Users\wiste\Desktop\Github Stuff\nextui\packages\react\lib\esm'". I don't know how to proceed.

Hey @wiksien, It looks like Windows needs the folder esm to be created before saving the files there 🤔 , you could try creating it and then run yarn build:nextui

@jrgarciadev It is weird, because when I do that it just assumes this folder doesn't exist and creates a new folder structure completely without it. Here is the whole message my CLI gave.
wiste@DESKTOP-II22GL2 MINGW64 ~/Desktop/Github Stuff/nextui (replaceplaceholder) $ yarn build:nextui yarn run v1.22.17 $ turbo run build --scope=@nextui-org/react --no-deps • Packages in scope: @nextui-org/react • Running build in 1 packages @nextui-org/react:build: cache miss, executing fa940c38e788e3c5 @nextui-org/react:build: $ node ./scripts/build.js @nextui-org/react:build: Building targets: all @nextui-org/react:build:  @nextui-org/react:build: Building: generating .d.ts @nextui-org/react:build: Built: generating .d.ts @nextui-org/react:build: Building: commonjs modules @nextui-org/react:build: Building: es modules @nextui-org/react:build: Building: browser distributable @nextui-org/react:build: babel: @nextui-org/react:build: babel: @nextui-org/react:build:   C:\Users\wiste\Desktop\Github does not exist @nextui-org/react:build:   Stuff\nextui\packages\react\src does not exist @nextui-org/react:build:   Stuff\nextui\packages\react\lib\esm does not exist @nextui-org/react:build:   C:\Users\wiste\Desktop\Github does not exist @nextui-org/react:build:   Stuff\nextui\packages\react\src does not exist @nextui-org/react:build:   Stuff\nextui\packages\react\lib\cjs does not exist @nextui-org/react:build: error Command failed with exit code 2. @nextui-org/react:build: error Command failed with exit code 2. @nextui-org/react:build: Built: commonjs modules @nextui-org/react:build: Built: es modules @nextui-org/react:build: Built: browser distributable @nextui-org/react:build: Building: Linking directories @nextui-org/react:build: Error: ENOENT: no such file or directory, scandir 'C:\Users\wiste\Desktop\Github Stuff\nextui\packages\react\lib\esm' @nextui-org/react:build: error Command failed with exit code 1. @nextui-org/react:build: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. @nextui-org/react:build: Error: command finished with error: exit status 1 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@jrgarciadev It is weird, because when I do that it just assumes this folder doesn't exist and creates a new folder structure completely without it. Here is the whole message my CLI gave.

Hey @wiksien if you run yarn sb does it work?

@jrgarciadev Nope, also doesn't work. It errors out saying that various files don't exist and that Field 'browser' doesn't contain a valid alias configuration

Confirming a replica of this bug with source:
<Avatar css={{ size: "$40" }} ... color="gradient" bordered />

Hey @wiksien, I believe it's because there are a space in the path Github Stuff, try to change a directory without spaces in the path, and then run yarn build:nextui should see output like this. ( just built it today on Windows

I also agree with @TianenPang

Some time image is not showing, It just showing backgroud color

@ayanonline did you solve this issue? It works only with network images, not with local assets, please update if you make it work with local assets!

@masnoonJunaid I don't see problems with local assets. Are you putting the local path to src directly? If so, it will add a baseURL before the path. You need to import it and pass to src.

import { Spacer, Divider, Avatar } from "@nextui-org/react" import TeacherProfile from '../../assets/teacher_profile.png' import StaffProfile from '../../assets/staff_profile.png' import StudentProfile from '../../assets/student_profile.png' import Image from "next/image"
this is how I am importing image, and I am trying to use it in avatar
 <Avatar                   className="secondProfileImg"                   src={TeacherProfile}                   height={400}                   width={400}                   alt="university teacher"                 />
            same things works for next image, but not with **Avatar**

Can you inspect the element to see if the path is valid? Also in your screenshot, is it true that you use next image for James Mink and Nextui avatar for the other two? If so, please create a new issue.

first image is from 'next/image' and the second one from Avatar, In above picture I am using Image for first one, next two displayed by Avatar

[object Object] looks weird. I also tested with relative paths and it can render. Are you using the latest version?

my next version is  "next": "^14.1.4",

Same issue

@ayanonline did you solve this issue? It works only with network images, not with local assets, please update if you make it work with local assets!

I am also using network images but still it is not working some time

@ayanonline can you open a new issue with your example

I have same issue.  Network images usually don't load properly.

my next version is  "next": "^14.1.4",

I have fixed it by adding .src after the image variable.
It should be like this:
import profileImgPlaceholder from<EMAIL_ADDRESS>

import { Spacer, Divider, Avatar } from "@nextui-org/react" import TeacherProfile from '../../assets/teacher_profile.png' import StaffProfile from '../../assets/staff_profile.png' import StudentProfile from '../../assets/student_profile.png' import Image from "next/image"  this is how I am importing image, and I am trying to use it in avatar  <Avatar className="secondProfileImg" src={TeacherProfile} height={400} width={400} alt="university teacher" />
            same things works for next image, but not with **Avatar**

looks like the opacity doesn't change when the image is loaded.

what happened with this issue, why does this closed? the merged PR wasn't fixing this issue, tho.
But his @pmbednarczyk solution works:
imgProps={{ referrerPolicy: "no-referrer"}}

Any network-related issues or CORS (Cross-Origin Resource Sharing) policies that might be preventing the image from loading.

For me,
imgProps={{ referrerPolicy: "no-referrer"}}

did not work but this did:
<Avatar classNames={{
                        img: "opacity-100"
                    }}  />

Version: 2.4.2

I was also debugging this before coming across this issue
in my case passing the next/image Image component as the ImgComponent and using google profile picture url, the avatar was stuck in grey color despite the image being shown as loaded in network tab.
setting opacity class directly from @Mominadar's comment worked


travis: avoid executing install block from test jobs

reintroduces a fix from #44  which was lost during rebase

Thanks @MRoci 🙏


Cost Export is described with wrong info

The checkmark shown on the screenshot is not actually there. Therefor I removed it. Nevertheless it works as expected

@bandersmsft
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@jugi92 Investigating this with the Cost Management engineering team.

@jugi92 Hi there. The option to allow trusted Azure services access only appears when you have a storage account configured with a firewall. Otherwise, you don't see the option. Also, the option is still being rolled out to all customers. After discussing with the Cost Management engineering team, we've determined that the current article is technically accurate. So, we don't take this doc update. We do appreciate your proposed contribution tho. Thanks.
#please-close

@Court72 I don't know the # command to close. Will you please close this PR and mention me so that I can do it in the future? Thanks.

#please-close for cited reasons above.


Analytics: collect data about users in the landing page

Problem statement
While we currently leverage Cloudflare for user traffic insights, we lack a comprehensive understanding of user behaviors and preferences when they interact with our landing page. This limited understanding impedes our ability to effectively optimize the user experience and identify potential opportunities for improvement.
Proposed solution
I propose we enhance our analytics capabilities by integrating Vercel Analytics or Google Analytics with data layers on our landing page. These platforms offer a more granular and comprehensive view of user behavior, which can inform future design and content decisions.
Vercel Analytics or Google Analytics
Implementing Vercel Analytics or Google Analytics could provide a more detailed picture of our users' interactions. This could include metrics such as time spent on the page, pages visited after the landing page, and the geographical location of our users.
Data Layers
Data layers can be used to capture additional user actions on the page, such as clicks on specific elements or scrolling behavior. This information can be invaluable in understanding how users are interacting with our landing page and where we can make improvements.
Projected Benefits
With these implementations, we can:

Improve user experience by understanding the users' journey and behavior on our landing page.
Tailor content and design to user preferences and behavior, potentially increasing conversion rates.
Provide the team with valuable insights to inform future decision-making and strategy.

Action plan
Here is a detailed breakdown of the tasks we need to complete in order to implement the proposed analytics enhancement:

[ ] Research & Selection:

[ ] Evaluate Vercel Analytics: Understand its capabilities, cost, and ease of integration.
[ ] Evaluate Google Analytics: Understand its capabilities, cost, and ease of integration.
[ ] Make a decision: Choose the most appropriate platform based on the evaluation results.

[ ] Preparation:

[ ] Define required data layers: Identify which user actions (clicks, scrolls, navigation patterns, etc.) are the most relevant to our needs.
[ ] Prepare implementation plan: Outline the steps for integrating the chosen analytics platform and data layers.

[ ] Implementation:

[ ]  Configure the chosen analytics platform: Set up the platform according to our needs and the implementation plan.
[ ] Implement data layers: Add the defined data layers to our landing page.
[ ] Verify data collection: Ensure that the data is being collected and reported as expected.

[ ] Analysis & Iteration:

[ ] Regular data review: Schedule regular reviews of the collected data to extract insights.
[ ] Implement enhancements: Make data-driven decisions to improve the user experience based on these insights.

[ ] Expansion:

[ ] Evaluate effectiveness: Validate the impact of the analytics implementation on the landing page.
[ ] Plan expansion: If successful, plan the extension of the implementation to other parts of our platform, such as the documentation pages.

Next Steps
We propose starting with the landing page for this initiative, as it's typically the first point of contact for users. Once we have validated the effectiveness of our approach there, we can consider extending this analytics implementation to other areas of our platform, such as the documentation pages.
References for Further Reading
To support the research and implementation phases, the following resources may be helpful:
Vercel Analytics Documentation
Google Analytics for Beginners
Google Tag Manager: Data Layers
Let's use these resources and action steps to inform our discussion and drive forward the implementation of enhanced analytics on our landing page.

It will be handled in a later date.


Obtain tf-opt and flatbuffer_translate without compiling from source

Issue type
Feature Request
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.14
Custom code
No
OS platform and distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
tf-opt and flatbuffer_translate are not found in the standard pip package. Those need to be compiled from source.
Standalone code to reproduce the issue
$ pip install -U tensorflow
$ which tf-opt

Relevant log output
No response

This issue originally reported by @Kuree has been moved to this dedicated repository for LiteRT to enhance issue tracking and prioritization. To ensure continuity, we have created this new issue on your behalf.
We appreciate your understanding and look forward to your continued involvement.


It does not update the namespace in module level gradle file

According to the documentation, we need to declare the package name in module-level gradle files (all module gradle files if the app is multi-module) instead of the manifest file. When I tried this tool (version 0.1.1), it updated everything except the namespace in the module's gradle.

Thank you, Mohaymin, for using and reporting this to me. I'm delighted.
Regarding the issue that namespaces within modules cannot be changed, it happens because they need to follow the path of the module itself. In a project, it's quite normal to have multiple modules with namespaces different from the app packagename.
However, if you want to change the packagename of a module, don't worry, I will consider adding an option to do this in the next version. This will allow you to easily and flexibly modify the packageName of a selected module.


Changed CPU Governor with cpufrequtils. Chromebook Resetting Randomly in Linux Environment

chronos@localhost / $ sudo edit-chroot -all
name: Terminal
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/Terminal...
crouton: version 1-20161129162558~master:5f2f11f9
release: trusty
architecture: amd64
xmethod: xorg
targets: xfce
host: version 9460.60.0 (Official Build) stable-channel banjo
kernel: Linux localhost 4.4.52-08254-ge4cd28825ca4 #1 SMP PREEMPT Mon Jun 5 17:04:00 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/Terminal...

I've set up a .sh script to set my cpu governors to performance to help me run some games on my chromebook and I've seen a huge performance boost but there also seems to be some huge instability leading to the actual chromebook restarting randomly while in the linux environment.
Here is the command being used by the shell script
'sudo /etc/init.d/cpufrequtils restart'

(the defaults file for CPUfrequtils looks like this)
'GOVERNOR="performance"'

The combination of these commands/lines is successful in changing the CPU governor however the instability far outpaces the performance boost. Every 10-40 min the chromebook suddenly goes to the "OS VERIFICATION IS OFF" screen.
Any ideas on what to do?
My first thought was overheating. However the chromebook dosen't get hotter than it usually does. This model also features a fan.
I haven't changed the actual frequencies of the cpu, just which governor is used.
The driver for CPU scaling was listed as Intel_Pstate if that helps.
I can post any logs you can think of
Dmesg Output (Pastebin))

This is probably an issue more suited to chromium-os-discuss, but from the intel_pstate bug, it looks like pstate governor directly pokes at the CPU voltage.  It's worth looking into whether the interactive governor is able to undo whatever it is the pstate governor does and set the voltage appropriately -- otherwise, it's possible you're running at too low a voltage (whatever was set last by the pstate governor) and the CPU is crapping out when it starts to warm up.
One hacky test you could try is to run a bunch of heavy processes (maybe several md5sum /dev/zero or something) to get the pstate governor to max out, then switch the governor to performance before killing the md5sums.  You could also look into sysfs to see if there's any parameters you can poke to force the pstate governor to the max state.  If the system is stable after doing that, then the voltage config is the most likely suspect.


have rancher-metadata environment object available for standalone containers

Currently the environment metadata can only be queried by containers that reside in a stack. It might be helpful to move the environment object to containers, or self, path.

Please I can I add my vote for this. We want to use traefik with metadata to manage containers launched directly on the node (by other containers) but these don't appear to work at the moment :(

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


Add API controllers, routes, and a txt file with documentation

Added controlers and routes for:
users: create
parachutes: create, index, show, delete
reservations: create, index, show, delete
Implemented login using API with token system, using the jwt gem. Here's how you use Postman to autologin when doing API requests to other routes than login:

More info in the API_doc.txt.
In javascript, the call to login using axios looks like this:
const response = await axios.post('http://localhost:3000/login', {
  username: user
}, {
  headers: {
    'Content-Type': 'application/json',
  },
});

The call to any site with the Authorize header using axios looks like this:
export const getGreetings = createAsyncThunk('greetings/getGreetings', async (token) => {
  console.log(token);
  const response = await axios.get(
    'http://localhost:3000/greetings/random',
    { headers: {
        'Authorization': `bearer ${token}`
      }
    }
  );
  return response.data.greeting;
});

@EmiLoKiJu
Before merging, please update this part:

@EmiLoKiJu ,
Please add data inside seed.rb. so, whenever we want to clone . we need to create the database and there should be some data for demo. right now, I hardly could add some data to database.

@EmiLoKiJu Before merging, please update this part:

That was just an example of how to make a call from the frontend with axios. That part would have to be updated from the other repository.

@EmiLoKiJu , Please add data inside seed.rb. so, whenever we want to clone . we need to create the database and there should be some data for demo. right now, I hardly could add some data to database.

I will ;)
If you added data to the database that means you tested it, and I wanted that :D


Multi-layer async handling

In case when additional component are registered on Async stage, call async for newly added component

Closed in https://github.com/yuriizinets/ssceng/commit/0ec0a06c2e70a38290c8c89fade1cf31f2c2d887


0it [00:00,? It /s]     metric is "NaN"

RivaGAN version:
Python version:
Operating System:

Description
Hello, I would like to ask you how to set my training set. I put avi videos in the directory "data/Hollywood2", but when I was training, all the prompt "0it [00:00,? It /s]" appeared, and the value of each metric was NaN. How can I solve this problem?
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

I'm in the same situation, so what's the solution


componentWillUnmount not firing when Action.[key]

Version
Tell us which versions you are using:

react-native-router-flux: ^4.0.0-beta.21
react-native: 0.48.3

I'm using a decorator to redirect app if the network drops while in a certain scene. The problem I'm having is that componentWillUnmount in child comp (Comp in code) is not firing which is major problem. Is there any workarounds or fixes for this??
// Decorator
export default (Comp) => {
  class OnlineComponent extends Component {

    componentWillMount () {
      this.comp = null
      NetInfo.addEventListener('connectionChange', this._handler)
    }

    componentWillUnmount () {
      NetInfo.removeEventListener('connectionChange', this._handler)
    }

    _handler (status) {
      if (status.type == "none") {
        Actions.noNetwork()
      }
    }

    render () {
      return <Comp {...this.props} />
    }

  }
  return OnlineComponent
}

It means that component is still in stack - it is how navigation works. Use onExit static method for this.


how to go to definition of hint type?

Hi,
I want to jump to definition of hint type UsageError . when my mouse at position "a",  the blue panel is show up, But when I trying to move my mouse from position "a" to position "b", the blue panel is gone, I have no chance to go to definition of "hint" type.

What should I do to go to definition of `UsageError`

Is there possible to go to definition of hint type just with "cmd" + "click" ,  when my mouse pointer at the hint type?  (like inteijj rust? )

Answering the latest comment's question: it is not possible now due to the hacky way our hints are implemented.
But after https://github.com/rust-analyzer/rust-analyzer/pull/11445 lands, inlay hints will be using official VSCode API which does provide a way to Cmd/Ctrl+click a reference.
Yet there has to be more work done to support it, since the migration PR does not implement it yet.

Tracked in https://github.com/rust-analyzer/rust-analyzer/issues/11701


Add Zespół Szkół Ekonomicznych w Opolu to swot

@iLvki First stage of verification passed, official domain for Zespół Szkół Ekonomicznych w Opolu is ekonomik.opole.pl as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@iLvki Thank you for your patience while waiting for a review and processing your request. Pull request merged.


0_APKTOOL_DUPLICATENAME_0x7f120006 - aapt2 not supported.

Information

Apktool Version (apktool -version) - apktool-2.4.1-17ad91
Operating System (Mac, Linux, Windows) - Windows 10 Pro
APK From? (Playstore, ROM, Other) - https://www.livenettv.sc

Here is one of many examples within the decompiled apk file:
All xml files are affected...
0_APKTOOL_DUPLICATENAME_0x7f0d0003.xml:2: error: No resource identifier found for attribute 'divider' in package 'com.lnt.androidnettv'
Steps to Reproduce
Normal decompile settings
No modification done.
Normal compiling settings.
Compiling fails.
APK
https://www.livenettv.sc
Questions to ask before submission

Have you tried apktool d, apktool b without changing anything? Yes
If you are trying to install a modified apk, did you resign it? Cannot get that far.  Compiling fails.
Are you using the latest apktool version? Yes

Yes

This is an unfortunate side affect to increasing obfuscation to the resource level. If you wipe the human readable aspect of a key/value pair, Apktool has nothing to reverse until human readable.
This makes building quite complicated and it won't "just work". I do see an issue that the aapt2 version of this auto-generated resource names were invalid.
W: /home/ibotpeaches/Downloads/Apktool/2229/LiveNetTV_4.7_Release/res/values-bg/strings.xml:37: error: resource 'string/0_APKTOOL_DUPLICATENAME_0x7f110037' has invalid entry name '0_APKTOOL_DUPLICATENAME_0x7f110037'. Invalid character '0_APKTOOL_DUPLICATENAME_0x7f110037'.
W: /home/ibotpeaches/Downloads/Apktool/2229/LiveNetTV_4.7_Release/res/values-bg/strings.xml: error: file failed to compile.

So I'll use this ticket for that bug.

I replicate. Adding bug.

Use this fix to sloved this bug on aapt2
it is correct to disable the validation of resource names, attributes and others. And don't do it

Use this fix to sloved this bug on aapt2
it is correct to disable the validation of resource names, attributes and others. And don't do it

Would it be safer to rename our temporary names to match the criteria? Patches to aapt2 scare me since we have to make them all the time it changes.

Would it be safer to rename our temporary names to match the criteria? Patches to aapt2 scare me since we have to make them all the time it changes.

maybe so, I thought about the fact that apktool decompiled resources to closer to the original, without $, 0 and other, which should not be in the original resources. Then no patches are needed.

Reading the code it looks like it has to start with an alphabet character instead of numeric. I'll investigate why these IDs are starting with 0.

All resources names starting with q. Resources encrypted.
Yes,  aapt2 don't like name start with number.

Hmm rebuilt with a new pattern and still no go. I'll investigate later. Hectic Monday.
I: Building resources...
W: /home/ibotpeaches/Downloads/Apktool/2229/LiveNetTV_4.7_Release/res/animator-v21/0.xml:4: error: attribute state_collapsed (aka com.lnt.androidnettv:state_collapsed) not found.
W: /home/ibotpeaches/Downloads/Apktool/2229/LiveNetTV_4.7_Release/res/animator-v21/0.xml:4: error: attribute state_collapsible (aka com.lnt.androidnettv:state_collapsible) not found.
W: /home/ibotpeaches/Downloads/Apktool/2229/LiveNetTV_4.7_Release/res/color/APKTOOL_DUPLICATE_color_0x7f060002.xml:4: error: attribute alpha (aka com.lnt.androidnettv:alpha) not found.
W: /home/ibotpeaches/Downloads/Apktool/2229/LiveNetTV_4.7_Release/res/color/APKTOOL_DUPLICATE_color_0x7f060003.xml:4: error: attribute alpha (aka com.lnt.androidnettv:alpha) not found.

draft PR attached. Still doesn't rebuild, but I believe the name of the attribute is now valid.


chore(github-action): Avoid builds for pushes to helm chart and docs files

This condition in the .github/workflows/build.yml file will ignore pushes made to docs/ and deploy/helm/ directories and avoid building the images.
Signed-off-by: Niladri Halder<EMAIL_ADDRESS>

Codecov Report

Merging #562 (2e45c7a) into master (ef2bb97) will decrease coverage by 0.86%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #562      +/-   ##
==========================================
- Coverage   49.39%   48.52%   -0.87%
==========================================
  Files          73       73
  Lines        3365     3365
==========================================
- Hits         1662     1633      -29
- Misses       1548     1577      +29
  Partials      155      155

Impacted Files
Coverage Δ

cmd/ndm_daemonset/probe/eventhandler.go
40.00% <0.00%> (-10.91%)
:arrow_down:

cmd/ndm_daemonset/probe/addhandler.go
71.13% <0.00%> (-6.19%)
:arrow_down:

cmd/ndm_daemonset/probe/udevprobe.go
64.24% <0.00%> (-2.80%)
: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 ef2bb97...2e45c7a. Read the comment docs.

@akhilerm -- Added changelogs/, changed deploy/helm/** to deploy/, docs/ remains. Made these changes to both build.yml and pull_request.yml files.

@akhilerm -- Changed deploy/ back to deploy/helm because of the reasons you cited -- Changes to the deploy files affect integration testing for the components.

Verified this.

Related PRs:
https://github.com/openebs/cstor-operators/pull/271
https://github.com/openebs/dynamic-localpv-provisioner/pull/41
https://github.com/openebs/zfs-localpv/pull/306
https://github.com/openebs/lvm-localpv/pull/42
https://github.com/openebs/jiva-operator/pull/66
https://github.com/openebs/maya/pull/1797
https://github.com/openebs/cstor-csi/pull/151
https://github.com/openebs/jiva/pull/350
https://github.com/openebs/libcstor/pull/85
https://github.com/openebs/velero-plugin/pull/151
https://github.com/openebs/m-exporter/pull/14


Too many warning on dom-change

Since the latest update the component gives me dozens of warnings because of the new conditional templates feature:

iron-swipeable-pages: consider using the property forceUpdate since dom-change event has been triggered inside the component

As I'm not using any conditional pages this is unnecessary and should be avoided please.

yes, yes yes... I will add more doc related to this, sorry for the inconvenience...

No problem and thanks for the great component!

pushed on master, I wait for another feature currently under test to land before releasing 1.2.2. Should be this evening or tomorrow!


Don't run migrate when deploying non-Rails apps

Experimenting with a Python app we're using at @cortexintel and the Homebrew version of Parity has been useful. The deploy command runs fine, but gives us some errors about migrations.
Wondering if we should detect if it's a Rails app before we decide to run migrate.

Makes sense to me. We also have bin/deploy scripts in most of our apps. Thoughts on removing the deploy command in Parity?

I was against adding deploy when it was first suggested, but it's become pretty essential as I've started working on a wider number of apps at a time. On our latest project, we're actually using parity in our bin/deploy script.
I'm thinking about 1) checking to see if rake is a valid command and 2) checking if migrate is a valid task. Would looking for the existence of db/migrate be a better strategy?


Create numpy array directly from buffer

Hey, I know you haven't touched this repo in a long time but I tried to use the idx2numpy module to read MNIST digits into memory and my laptop freezes (probably a memory problem). Now it makes no sense since the MNIST dataset is just 40MB but I believe the problem is with the memory consumption of the struct module.
In any way I changed the part that reads the data into a numpy array to avoid the struct module and use numpy directly to create an array from a buffer. I believe it is cleaner and more to the point this way.
The tests pass and the code added conforms to PEP8.

Hi @angeloskath
I'm really sorry for the unacceptably late reply.
I like your approach. I'm merging the PR.

I uploaded a new release to PyPI.


Targeting iOS version numbers requires upgrading to SDK version 6.24.0 or later

I want to set a remote config value based on App Version condition. However, I'm encountering this error:

Unity 2020.3.34f1
Firebase 9.0.0
XCode 13.4

Hi @p0w1nd,
It looks like you're trying to create a Remote Config experiment using the console. When performing the experiment, make sure your Apple app is using Firebase Apple platforms SDK version 6.24.0 or above, as CFBundleShortVersionString is not being sent in earlier versions. You may refer to our documentation for more information.
I'll be closing this for now. If an issue arises with your experiment, please reach out to Firebase Support so that one of our agents can assist you.

It looks like you're trying to create a Remote Config experiment using the console.

Actually I was creating Conditional value, not Experiment:


Investigate use case of using Avatar within Multi select combobox pill

Area
UI Components
The problem
Pepper has a use case to embed an avatar within combobox input pill
The solution

Alternatives and examples

Are you a JPMorgan Chase & Co. employee?

[X] I am an employee of JPMorgan Chase & Co.

From dev point of view, need to understand how flexible we want our user to put inside pill (of a combobox)


Updated the Repository link.

This issue is handled using https://github.com/cloudfoundry-incubator/cli-plugin-repo/pull/8 PR.


Infinite loop during a plot whose source is watched

I am watching a directory containing plot code with the -z flag. This directory contains graph python code that I am reading in a documentation file using the plot directive.
#benchmark/report.rst:309 (imported in my sphinx documentation)
.. plot:: ../../benchmark/pyplots/scalability.py

#benchmark/pyplots/scalability.rb
# -*- coding: UTF-8 -*-
#! /usr/bin/python
# My plot code here, crashing or not crashing, both trigger infinite loops

There is an infinite loop with the plot
Also for some reason the watch line writes doc/sphinx/benchmark/pyplots/scalability.py.
The output of the plots are not placed under the _build folder of my command argument (though this is maybe unrelated to autobuild)
+--------- doc/sphinx/benchmark/pyplots/scalability.py changed ------------------
| Running Sphinx v1.4.5
WARNING: while setting up extension ['?', 'matplotlib.sphinxext.only_directives']: node class 'html_only' is already registered, its visitors will be overridden
WARNING: while setting up extension ['?', 'matplotlib.sphinxext.only_directives']: node class 'html_only' is already registered, its visitors will be overridden
WARNING: while setting up extension ['?', 'matplotlib.sphinxext.only_directives']: node class 'latex_only' is already registered, its visitors will be overridden
WARNING: while setting up extension ['?', 'matplotlib.sphinxext.only_directives']: node class 'latex_only' is already registered, its visitors will be overridden
| loading pickled environment... done
| building [mo]: targets for 0 po files that are out of date
| building [html]: targets for 0 source files that are out of date
| updating environment: 0 added, 2 changed, 0 removed
benchmark/report.rst:44: WARNING: Title underline too short.

Mathematical and computational context
____________________________________
benchmark/report.rst:44: WARNING: Title underline too short.

Mathematical and computational context
____________________________________

| reading sources... [ 50%] benchmarking                                                                                reading sources... [100%] index
| looking for now-outdated files... none found
| pickling environment... done
| checking consistency... done
| preparing documents... done
| writing output... [ 50%] benchmarking                                                                                writing output... [100%] index
| generating indices... genindex
| writing additional pages... search
| copying images... [100%] _build/benchmark/pyplots/scalability.png
| copying static files... done
| copying extra files... done
| dumping search index in English (code: en) ... done
| dumping object inventory... done
| build succeeded, 15 warnings.
+--------------------------------------------------------------------------------

+--------- doc/sphinx/benchmark/pyplots/scalability.png changed ------------------
# Similar stuff. Note that the watched files is not the same 8 (.png). Also the output color changes.

# It will do it again with `scalability.pdf` and `scalability.hires.png` then loop back to `.py`
# And inside this loop there is a browser refresh sent

In case my directory structure is not clear
-- myproject/
-- -- doc/sphinx/
-- -- -- config.py
-- -- -- index.rst (does an `.. include:: ../../benchmark/report.rst`)
-- -- benchmark/
-- -- -- report.rst (does `.. plot:: ../../benchmark/pyplots/scalability.py`)
-- -- -- pyplots/
-- -- -- -- scalability.py

And my run command is from the myproject/ directory
sphinx-autobuild doc/sphinx doc/sphinx/_build/html --open-browser -z benchmark/

Mac OS X 10.11.6
Python 2.7.12
Sphinx-autobuild Version: 0.6.0

I also have this issue. I think it is because when the plot is generated, the output is detected as file changes. So everything is started again.

Yup! A file that gets generated like that triggers a loop.
Maybe, we need some sort of loop-detection logic here. Hmm...


flow-typed/moment bad signature for isBetween function

Hello people, just a little typo I found today that provokes unwanted flow errors.

 There is:  isBetween(date: moment$Moment|string|number|Date|Array<number>): boolean

It should be isBetween(date: moment$Moment|string|number|Date|Array<number>, date: moment$Moment|string|number|Date|Array<number>): boolean;

@remetalosse I already put out a PR for this :)


Using sidekiq to create/update one ES doc after model is created/updated

Hi! Thanks for the great gem, it's been amazing working with Chewy and Rails for ES! Please pardon the fact that I'm a newbie.
After reading the README and other similar issues regarding sidekiq and chewy, I still can't solve my problem. I've looked at #51 #171 #473 #119
Let's say I have a model User. When a new User gets created or an old User gets updated, I'd like to fire off a singular sidekiq job to index/re-index this one particular User. How do I accomplish this?
What code (if any) do I need in my UsersController, User model? What would my Sidekiq Worker look like?
Thanks so much in advance for the help!

The general approach is:
class User < AR::Base
  update_index 'users#user'
end

In the model you are specifying only the connection between the model and the target index(es). To update data you are normally using strategies block.
Chewy.strategy(:sidekiq) { user.save }
Every model update wrapped with the sidekiq strategy will be updated using sidekiq.
Controller is already pre-configured to be wrapped with the strategy (atomic) by default, so all you need is to change this preference - Chewy.request_strategy = :sidekiq

Great thanks. I think I have it working, but right now I have Chewy.root_strategy = :sidekiq in the file initializers/chewy.rb. Should I keep it there? Where should I put Chewy.request_strategy = :sidekiq

Just keep it there

Thanks, got it working :)

Welcome

Hi @pyromaniac
I did the same by adding
Chewy.request_strategy = :sidekiq```
TO
`config/initializers/chewy.rb`

Indexing still works but it doesn't increment sidekiq jobs so I guess it doesn't go async.
How can I ensure it ? Why would it not work ?

Have no idea tbh, I'm not using Sidekiq, so you probably have dig into it, sorry.


docker config issues

I was moving my nzbget over to docker, had it working normally for ages. However, I'm having a hard time figuring this out. Any help would be appreciated.
https://paste.fyi/QEw5fUqwE

This is probably from the MP4_FOLDER not being set correctly

I triple checked, tried multiple paths. Still can't get it to work. Could it be a permissions thing?

Figured it out, had to set the path fully, rather than using ~/sickbeard_mp4_automator/
Thanks for the work on this.


owner_id getting updated each time

Hello, can somebody point me what I am doing wrong here?
resource "betteruptime_monitor" "Portal" {
  url                = "https://portal.imba.com"
  monitor_type       = "keyword_absence"
  sms                = true
  call               = false
  required_keyword   = "no healthy upstream"
  check_frequency    = 30
  pronounceable_name = "Portal"
  regions            = ["us", "eu", "as", "au"]
  maintenance_days = ["mon", "tue", "wed", "thu", "fri", "sat","sun"]

}

resource "betteruptime_metadata" "portal_metadata" {
  key        = "ENV"
  value      = "prod"
  owner_id   = betteruptime_monitor.Portal.id
  owner_type = "Monitor"
  depends_on = [betteruptime_monitor.Portal]
}

Why is terraform trying to change owner_id and add owner_type  this every time?
  # betteruptime_metadata.portal_metadata will be updated in-place
!   resource "betteruptime_metadata" "portal_metadata" {
        id         = "64783441"
!       owner_id   = 0 -> 621955
+       owner_type = "Monitor"
        # (2 unchanged attributes hidden)
    }

Hello @hrvalca , thank you for reporting this 🙌
We've fixed the issue with owner_id/owner_type being sent of every terraform apply. There's no need to update your Terraform provider, we've managed to fix this on the API level.
Hope this helps 🚀

Thanks but now I am getting different problems regarding this.
╷
│ Error: json: cannot unmarshal string into Go struct field metadata.data.attributes.owner_id of type int
│
│   with betteruptime_metadata.portal_metadata,
│   on main.tf line 16, in resource "betteruptime_metadata" "portal_metadata":
│   16: resource "betteruptime_metadata" "portal_metadata" {

I tried this also
resource "betteruptime_monitor" "Portal" {
  url                = "https://dev.imba.com"
  checks_version        = "v2"
  monitor_type       = "keyword_absence"
  required_keyword   = "no healthy upstream"
  check_frequency    = 180
  sms                = false
  call               = false
  email              = false
  push               = false
  pronounceable_name = "Dev Portal"
  regions            = ["us", "eu", "as", "au"]
  maintenance_days   = ["mon", "tue", "wed", "thu", "fri", "sat", "sun"]
}

resource "betteruptime_metadata" "portal_metadata" {
  key        = "ENV"
  value      = "dev"
  owner_id   = tonumber(betteruptime_monitor.Portal.id)
  owner_type = "Monitor"

Seems like there is some problem with converting data for owner_id?
I tried to output the values
output "monitor_id_int" {
  value = tonumber(betteruptime_monitor.Portal.id)
}

output "monitor_id_str" {
  value = betteruptime_monitor.Portal.id
}

Changes to Outputs:
  + monitor_id_int = ...955
  + monitor_id_str = "...955"

@PetrHeinz Can you maybe check whats going on? I think issue here is that provider itself expects int but gets string from API call?

Hello @hrvalca, thanks for reporting that 🙌
It looks like https://github.com/BetterStackHQ/terraform-provider-better-uptime/issues/100, an additional issue with type mismatch between Terraform and the API. It should already be fixed in v0.10.3, could you please run terraform init --upgrade and retry? 🙏 Thank you!
Just as a side note, comments on closed issues can be easily overlooked by us - I'd recommend opening a new issue in case of any additional trouble you encounter. It would help a lot in getting a quicker reaction 🚀


fix(core): Disconnect from all adapters when pause is called

Description
Calling polly.pause() will now disconnect from all connected adapters instead of setting the mode to passthrough. Calling polly.play() will reconnect to the disconnected adapters before pause was called.
Motivation and Context
Resolves #285.
Types of Changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] I have added tests to cover my changes.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] My code follows the code style of this project.
[x] My commits and the title of this PR follow the Conventional Commits Specification.
[x] I have read the contributing guidelines.

Side note: should note this is a breaking change in the commit msg


List items can be enabled, removed based on selections

Any list items currently under select should be toggleable.
A list item under cursor should remove list formatting when toggled
Content-Kit:

Google Docs:

Several selected sections should get list formatting when toggled, unless they already have it
Content-Kit:

Google Docs:

wip on https://github.com/bustlelabs/mobiledoc-kit/tree/toggle-list-sections-186


svelte 3 work?

any plans to make this work with svelte3?

Hi @northkode, i'm planning this for a while, but tbh couldn't find time to implement it. If anybody wants to make a PR for it, i'm more than happy to help get that merged.

@nenadpnc  PR forr svelte 3 is up. 💃

@northkode  Wonderfull 💯. I will have a look at it asap.

I've published a new version, so i will close this issue. Again, thanks for the PR @northkode .
#14

Your welcome !! 😁


High DPI screens on web

On high DPI screens (sometimes called "retina"), it would be good to scale the canvas by devicePixelRatio so that the graphics stay nice and sharp.

I've been thinking about whether srcset could be utilised for this, so you can provide multiple resolutions of your image files.
So far I've been including just the highest resolution image I need and it seems ok. So if I have an image texture that is 30x30 in game coordinates, I'll use a 90x90px image file.


Failed to install Metrics to a cluster behind proxy

Describe the bug
Failed to install Metrics to a cluster behind proxy
To Reproduce
Steps to reproduce the behavior:
0. Add a cluster to workspace with proxy.

Go to 'Cluster Settings'
Scroll down to 'Features - Metrics'
Click on 'install'
Wait and see error

Expected behavior
kubectl should use proxy to install metrics.
Environment (please complete the following information):

Lens Version: 303.1
OS: [OSX]
Installation method (e.g. snap or AppImage in Linux): dmg for os x

Logs:
When you run the application executable from command line you will see some logging output. Please paste them here:
Error applying manifests:Error: Command failed: "/Users/USER/Library/Application Support/Lens/binaries/kubectl/1.18.0/kubectl" apply --kubeconfig /var/folders/l0/temp-kubeconfig -o json -f /private/var/folders/l0/temp Unable to connect to the server: dial tcp IP:PORT: i/o timeout

Is this still an issue for 4.1.4?


doesn't work at all with oznu\docker-homebridge

bombs out straight away at startup
homebridge_1  | [2019-2-3 22:54:08] [TV] Initializing BraviaTVOS accessory...
homebridge_1  |
homebridge_1  | /homebridge/node_modules/homebridge-bravia-tvos/index.js:156
homebridge_1  |   this.Television=new Service.Television(self.name||'Television');
homebridge_1  |                   ^
homebridge_1  | TypeError: Service.Television is not a constructor
homebridge_1  |     at new BraviaTVOS (/homebridge/node_modules/homebridge-bravia-tvos/index.js:156:19)
homebridge_1  |     at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:297:29)
homebridge_1  |     at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:87:38)
homebridge_1  |     at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:45:10)
homebridge_1  |     at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
homebridge_1  |     at Module._compile (module.js:652:30)
homebridge_1  |     at Object.Module._extensions..js (module.js:663:10)
homebridge_1  |     at Module.load (module.js:565:32)
homebridge_1  |     at tryModuleLoad (module.js:505:12)
homebridge_1  |     at Function.Module._load (module.js:497:3)

Which homebridge version?
Outlook für iOShttps://aka.ms/o0ukef beziehen

Von: coreybx<EMAIL_ADDRESS>Gesendet: Sonntag, Februar 3, 2019 12:58 PM
An: SeydX/homebridge-bravia-tvos
Cc: Subscribed
Betreff: [SeydX/homebridge-bravia-tvos] doesn't work at all with oznu\homebridge (#4)
bombs out straight away at startup
homebridge_1 | [2019-2-3 22:54:08] [TV] Initializing BraviaTVOS accessory...
homebridge_1 |
homebridge_1 | /homebridge/node_modules/homebridge-bravia-tvos/index.js:156
homebridge_1 | this.Television=new Service.Television(self.name||'Television');
homebridge_1 | ^
homebridge_1 | TypeError: Service.Television is not a constructor
homebridge_1 | at new BraviaTVOS (/homebridge/node_modules/homebridge-bravia-tvos/index.js:156:19)
homebridge_1 | at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:297:29)
homebridge_1 | at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:87:38)
homebridge_1 | at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:45:10)
homebridge_1 | at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
homebridge_1 | at Module._compile (module.js:652:30)
homebridge_1 | at Object.Module._extensions..js (module.js:663:10)
homebridge_1 | at Module.load (module.js:565:32)
homebridge_1 | at tryModuleLoad (module.js:505:12)
homebridge_1 | at Function.Module._load (module.js:497:3)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/SeydX/homebridge-bravia-tvos/issues/4, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AgkhOW-q9aBeXyJsx8rln4vAHJq6e5K3ks5vJs78gaJpZM4agEfM.

image: oznu/homebridge:1.7.9

this plugin needs homebridge v0.4.46 and oznu/homebridge:1.7.9 has homebridge v0.4.45 installed, so it needs an update to v0.4.46 to work

Closed.


Added Swedish language

Added Swedish language with so far around 500 translations :)
Some translations might be a bit incorrect since some English words we
don't have in Swedish.
One questions though: Is this the only file necessary to add the Swedish language? Or do I need to change some other file(s) too? (I haven't looked at anything more than the lang folder so far)

Hello @TropicSapling!
Thank you for this new translation :)
I know that finding the right words for an other language can be hard. Sometimes, a web or software translator can help ;)
To answer your question, the only thing to do is to add a .trn files corresponding to the rules in the translation documentation.

@LaChal Ok, great :D

Oh, right.
These resources are for some strings which aren't translated in Minecraft resources. They are used in the block picker and for inventories.

@LaChal Oh well that didn't answer my question though xD
What I'm asking is if I can copy one of the language files there and change it into Swedish? Will it work? I haven't looked at the code yet so Idk how the language translation works and therefore I wonder if I can just add a file similar to the ones already existing, or if I have to do more things?

The file format is different: it is the one used by Mojang for their localization code.
However, this is quite simple to work with, and if you add a file called sv_SE.trn in this folder, it will be recognized and used by MCEdit.
So, yes, you can copy one of these file and translate the content :smile:

@LaChal Ok great, I've worked with Mojang's translation files before so I know how it works :smile:

Wait, just one more question:
Why doesn't the files in that folder have any extension? Does that mean my file shouldn't have one either?

Yes, your's must not have any extension.
I gave the .trn extension in my post above, but it was an error...

@LaChal Ok, good :)

By the way, these files are there because some strings seem to miss in Minecraft. But they are translated in the game.
It may happen that these files won't be used in future versions of MCEdit.
(Some clues has been found, but they were not yet enough explored.)

@LaChal Oh well it went quick to translate anyway :)

@TropicSapling: A list of translators is maintained.
Would you like to be added to the translators list?
You will then recieve notifications when major updates occur in the translation resources. ('Major updates' occur whe a dozen of new string to be translated are added or when the translations are refactored (very rare) or when we're close to a release.)
A negative answer will not be considered as an offense, we all have our own private buisness :wink:

@LaChal
Sure :D

Done :smile:

@LaChal
Where is the list btw?

No where on the web...
It maintain it on my side, and use it when needed in GitHub.

@LaChal Oh :)


Renaming custom resources breaks scenes that have exported Array[CustomResource]

Tested versions

Reproducible in: 4-3.dev5, 4.2.2.stable

System information
Windows 10 - Vulkan (forward+) - dedicated
Issue description
Renaming a folder that have a custom resource may break scenes that have @export vars using Array[CustomResource]
The renaming works if the @export type is the CustomResource type itself.
But it seems the renaming does not take into account values inside Arrays
Steps to reproduce
Steps:

Create a folder "Data Folder"
Inside "Data Folder, create a CustomResource class from Resource
Create a data file from CustomResource.
Create a scene script with @export var data_array Array[CustomResource
From the inspector, add an element to data_array and assign the created data file there.
Rename the folder "Data Folder" to "Data"

Results: Crashes scene ('Error while parsing the file'). Can't re-open.
The resources inside the Array are not updated after renaming the folder. So the parser fails with FileNotFound.
Expected: Files path properly updated.
Here's  the data that was not updated:
[node name="ManagerClass" type="Node" parent="."]
script = ExtResource("1_chnwi")
data = Array[Resource("res://Data Folder/data_resource.gd")]([ExtResource("2_dgo2u")])

Something similar also happens if you use sub-resources, creating the resource from the inspector.
But in 4.3-dev5. It won't break the scene.
And it'll only spits the error when you select the node that has that export variable.
  Attempt to open script 'res://Data Folder/data_resource.gd' resulted in error 'File not found'.
  Failed loading resource: res://Data Folder/data_resource.gd. Make sure resources have been imported by opening the project in the editor at least once.

You can revert it by changing the folder name back. Or by opening the scene file as a text and updating the paths manually.
Minimal reproduction project (MRP)
Minimal reproduction project:
bugs_rename_resource.zip

Rename the folder   ->   Breaks scene

Please try dev6

Looks like a duplicate of #84498.

Here's the data that was not updated:
[node name="ManagerClass" type="Node" parent="."]
script = ExtResource("1_chnwi")
data = Array[Resource("res://Data Folder/data_resource.gd")]([ExtResource("2_dgo2u")])

You need to save the resource once so that the script path is saved as ExtResource.
Before save:
[gd_resource type="Resource" script_class="ResourceContainer" load_steps=3 format=3 uid="uid://bj4r1yoqqhakg"]

[ext_resource type="Script" path="res://ResourceContainer.gd" id="1_1u0yv"]
[ext_resource type="Resource" uid="uid://ogkvdrpc07li" path="res://Contained1.tres" id="1_pvmiw"]

[resource]
script = ExtResource("1_1u0yv")
resources = Array[Resource("res://ContainedResource.gd")]([ExtResource("1_pvmiw")])

After save:
[gd_resource type="Resource" script_class="ResourceContainer" load_steps=4 format=4 uid="uid://bj4r1yoqqhakg"]

[ext_resource type="Script" path="res://ResourceContainer.gd" id="1_1u0yv"]
[ext_resource type="Script" path="res://ContainedResource.gd" id="1_8b4xi"]
[ext_resource type="Resource" uid="uid://ogkvdrpc07li" path="res://Contained1.tres" id="1_pvmiw"]

[resource]
script = ExtResource("1_1u0yv")
resources = Array[ExtResource("1_8b4xi")]([ExtResource("1_pvmiw")])

New scenes/resources (created or saved after the fix) update paths correctly. Old scenes/resources still do not handle such renaming, so they must be saved at least once in the new version of the engine.

Something similar also happens if you use sub-resources, creating the resource from the inspector.
But in 4.3-dev5. It won't break the scene.
And it'll only spits the error when you select the node that has that export variable.

I'm not sure about this. An input from editor contributors would be appreciated.

I was using 4.3.dev5 so it wasn't working, even after saving the files.

You need to save the resource once so that the script path is saved as ExtResource.

But you are totally right. It seems this is fixed on 4.3.dev6.
I think this can be closed.

On a totally unrelated note.
On 4.3.dev6 now, I'm always getting an error message "A file or folder with this name already exists" while trying to renamed any folder. Even an empty one. But it does rename it, and everything works. Just the error box every time.
Is this already being tracked?

Closing this, fixed in 4.3.dev6.

On a totally unrelated note.
On 4.3.dev6 now, I'm always getting an error message "A file or folder with this name already exists" while trying to renamed any folder. Even an empty one. But it does rename it, and everything works. Just the error box every time.
Is this already being tracked?

On 4.3.dev6 now, I'm always getting an error message "A file or folder with this name already exists" while trying to renamed any folder. [...]
Is this already being tracked?

See #92069.


Wrong file format (missing header)

I've been having problems with validating the user mapping CSV file until I've added the headers.
Sample .csv:
OnPremSID,UPN,isGroup
domain\user,user@domain.com,FALSE

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

ID: d8379014-03ff-3ab5-aa1f-5d9c3a02be68
Version Independent ID: cfabc646-70ea-6b24-7d16-ea0955479aa5
Content: Create a user-mapping file for data content migration - Migrate to Microsoft 365
Content Source: migration/create-a-user-mapping-file-for-data-content-migration.md
Service: sharepoint-online
Sub-service: sharepoint-migration
GitHub Login: @JoanneHendrickson
Microsoft Alias: jhendr

Hello @gerardborras
I tested this to see if we needed to adjust the article however, I could successfully migrate using a csv file for user mappings without headers.
What version of SPMT are you using?
Thanks

I'm using the latest version available. Maybe the problem was The file had only 1 row?

I'm using the latest version available. Maybe the problem was The file had only 1 row?

Could you specify the exact version? as there are multiple releases (Public preview, first release, rolling out, and GA), so I can test with the exact version as you

Version <IP_ADDRESS>

Version <IP_ADDRESS>

It's the same I am using. Maybe you can share the error, at the moment I can not reproduce.

Ok I may have found the problem.
It works perfect with one row without headers, but Excel, by default, exports CSV with ";" and not ",".
I was trying to change my csv file manually but once replaced ";" by "," I had to close the tool and reopen it again.

Sorry: with ";" character the error is "Invalid user mapping: (ErrorCode: 0x2010008)"

Thanks for returning and sharing that, I guess we can now close this issue

@scanum


Update lit-element, lit-html & remove event-stream

This removes event-stream due to the recent vuln/code injection craziness.
It also updates lit-html and lit-element to the latest versions.
Does lerna not use package locks?

@azakus i noticed you bumped the same versions in master. still want this?
your commits dont seem to have changed classMap to class-map, so maybe this is still useful? and the run-all update

Totally agree, just started a new project and am waiting on this fix

Seconded, this needs to be resolved.

yeah looks like this PR was completely overlooked from day 1 unfortunately. all 3 fixes will go out under other later PRs :man_shrugging:


Make tile content loading asynchronous

Changes:

Made the TileContentLoader interface future-based so that the tile loading can happen asynchronously.
Added the AsyncSystem, IAssetAccessor, and IAssetRequest to the TileContentLoadInput struct so that tile content loading can be asynchronous, and so further network requests can be made during the tile content loading (ion or otherwise).

@kring Sorry for the delay, I was worried I introduced #341 here, but I ended up being able to reproduce that in main. So this should be ready for review.

To get this PR caught up with the current issues that were discussed offline:

Currently, this lambda mysteriously cannot be declared mutable which forces us to take a weird work-around for both passing along the status code as well as making shared_ptr copies. https://github.com/CesiumGS/cesium-native/blob/84a6e708b1206f4840b0f8306ed6e42eadc353b3/Cesium3DTilesSelection/src/Tile.cpp#L267-L272
A Tileset traversal test which mocks failed tiles by setting their status code to 404 is causing a segfault in this branch.

Actually the test segfault is more mundane than that. Looks like the Future returned by TileContentFactory::createContent is resolving to a nullptr. So then pContent->httpStatusCode = statusCode; dereferences a null pointer and crashes.

@kring I just finished addressing all review comments so far, I think this is ready for a final review when you have time.

:shipit: 🎉


Unable to compile trainer for version <IP_ADDRESS>03. Please file an issue here

Unable to compile trainer for version <IP_ADDRESS>03. Please file an issue here :
This keeps on happening, When i use the universal installer.
Can you possibly help me fix the issue.

See https://github.com/sailro/EscapeFromTarkov-Trainer/issues/167


STREAMS-502: rewrite instagram provider using juneau

This is failing on
 publish-rc.sh
  release.sh
  src/main/resources/streams-java-checkstyle.xml
  src/main/resources/streams-java-intellij.xml

Those are licenses missing in files you didn't even touch (?)

Awesome work on a huge effort @steveblackmon .  Built this locally and ran ITs- all looks good.


Name and class strings are off on Mac Os

Hello Devs,
And first of all thank you so much for this wonderful project.
I am writing to you, since Valkyrie in combination with Descent 2 acts strange on Mac OS High Sierra (10.13.6).
Upon starting a quest and selecting heroes, their names are all written with underscores instead of spaces eg. "AVRIC_ALBRIGHT" or "LEORIC_OF_THE_BOOK".
The same applies for the hero class selection, where "CLASS_KNIGHT_NAME", "CLASS_THIEF_NAME", etc. is displayed instead of the actual class-name (are the names and classes supposed to displayed in capital letters?).
I was using the 2.1.3.dmg installer for Mac OS and compared it with the 2.1.3 Windows .exe and the Android .apk of the same version. Both of them were able to display names and classes correctly, which makes me belief that this is just a oddity of MacOS's naming convention.
Regards
J

Hi J,
OK thanks for the feedback, I guess we have an issue with 'path' creation on Mac.
Unfortunately I don't have a mac to test, but maybe we can find a way to provide a fix.
Could you please share the path to your imported directory ?
I mean the path if you try to access from your file explorer.
For reference it is C:\Users\yourname\AppData\Roaming\Valkyrie\D2E\import\text\Localization_XX.txt on Windows.
It should be something like this for Mac :  /Users/yourname/.config/Valkyrie/...

Testing on:
MacOS Mojave (10.14.2)
MoM 1.7.0
Valkyrie 2.1.5
This error does not appear to happen any more:

Probalby the problem is an old Valkyrie version in combinition with an old, not up-tp-date ffg game.


Fixed #314  cpu high 100% and hot.

Default capture 3 frames per second or customize them. And support adjust captureFramesPerSec.

Epic! Thanks a lot @freezy7 !


Pool acquireTimeoutMillis cannot be set higher than 60s

Environment
Knex version: 2.3.0
Database + version: Postgres 14
Bug

Explain what kind of behaviour you are getting and how you think it should do

When setting acquireTimeoutMillis > 60_000 (60s) the timeout still occurs after only 60s has elapsed.
There is currently a workaround by setting acquireConnectionTimeout as well.

Error message

TimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?

Reduced test code

    let db = knex({
		pool: {
			min: 1,
			max:1,
			acquireTimeoutMillis: 1_200_000,
		}
    });

// with workaround

    let db = knex({
                acquireConnectionTimeout: 1_200_000,
		pool: {
			min: 1,
			max:1,
			acquireTimeoutMillis: 1_200_000,
		}
    });

Created PR here #5377

@MattGson Can you close this issue as your PR has already been merged?

closed by #5377


Provide rename location for extractMethod in presence of writes

TypeScript Version:  master
Code
/// <reference path='fourslash.ts' />

////function foo() {
////    var i = 10;
////    /*a*/i++/*b*/;
////}

goTo.select("a", "b");
edit.applyRefactor({
    refactorName: "Extract Method",
    actionName: "scope_1",
    actionDescription: "Extract function into global scope",
    newContent:
`function foo() {
    var i = 10;
    i = /*RENAME*/newFunction(i);
}
function newFunction(i: number) {
    i++;
    return i;
}
`
});

Expected behavior:
Get rename location.
Actual behavior:
Get nothing.

in the light of the offline discussion we had, i do not think we need this. will leave it open for now. please close it when we have the final implementation for rename locations.


Make lockers cannot be deconstructed now

About the PR
Lockers are was deconstructable even when they closed and locked and you didn't have access to them. In short - get stuff by 5 seconds, 5 sec it's time to screw down any locker, except LockerBaseSecure one. From this issue #26955

Why / Balance
Get stuff "stealthy" in 5 sec? It's OP too much.

Technical details
Basically revert #24942 of the LockerBase. It's had broken graph node, needs fix in future if you would like to destruct locker ability.

Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:

fix: Lockers cannot be deconstructed with screwdriver now

fix the issue, not remove it

fix the issue, not remove it

Make it deconstructable/screwable, but only when it's opened?

Don't just remove deconstruction. Make it so that you can only deconstruct it if it's unlocked. Similar to crates.

well deconstruction is removed now


Mapping line brings up scroll bars

Not really sure why, but in Chrome when I map a line and move it around the screen it activates the scroll bars on the bottom and side of the screen. Even though I'm not going out of the current window with it or anything. Also the scroll bars will self adjust depending on how I move the line around.

Same here on Firefox/Win10

@Adamant36 @boothym Thanks for reporting. This was a weird bug where iD had been adding some helper text that was supposed to follow the cursor the first time you mapped, but the element was outside iD's container and positioned beyond the bounds of the app. I submitted a CSS hotfix to the OSM website and also fixed it on iD's side by removing the text element altogether.


feat: Enable server side flow control by default with the option to turn it off

This change enables sending flow control settings automatically to the server. If FlowControlSettings.MaxOutstandingElementCount > 0 or FlowControlSettings.MaxOutstandingByteCount > 0, flow control will be enforced at the server side (in addition to the client side).
This behavior is enabled by default and users who would like to opt-out of this feature --in case they encounter issues with server side flow control-- can set Settings.UseLegacyFlowControl=True in SubscriberClient.CreateAsync().

I'll have a look at this on Monday (I'm on vacation today) but I'm a bit nervous of "it's okay, users can turn it off if it breaks something" as an approach to compatibility. Will probably email internally for more details.


Move initializeEdges to MultiMatrix

Another step to #141
This moves initializeEdges to MultiMatrix.vue and all the supporting logic. This removes some of the duplicated logic from #146. To complete this move as painlessly as possible, I tried to move all the helper functions, move the main function, and then remove all the helper logic from the class.
The remaining logic in Methods.ts is just related to updating attributes, which I'll address in my next PR. That should fully remove the class.

Had to do some force pushing to trigger GA and netlify build (to show that the code does still build)


Added type definitions.

It allows us to use RestifyRouter in TypeScript powered projects without need to make some known tricks like: declare var.

Hi, thanks for the addition. Does this change cause any issues for non-type-script projects?

Hi, thanks for replying!

Hi, thanks for the addition. Does this change cause any issues for non-type-script projects?

No, it only affects TypeScript projects by adding code completion and importing, which now can be made with:
import { Router as RestifyRouter } from '_restify-router_'

Also, is there a way to inherit from the restify Server type for the Router type? The intention of the router is to have the same interface as the server (plus the applyRoutes)

I don't think so... What I found is that the restify Server class inherits from nodes http.Server and it has more methods, which are not implemented by restify-router, so I don't know if it would be possible.
Did I answered your questions correctly? Thank you!

sounds good. i'll create a release soon.


Add FAQ entry for specifying B2C policy

Adds an FAQ entry to explain the questions asked in #2909 and #1727
Also fixes the documentation label matcher

Coverage decreased (-0.4%) to 82.094% when pulling 7e545937621395b01a2cb5e6a2c876291cf28799 on b2c-faq into b5f0890d3adf7f8824e3f9fe2e84bb3129cf0248 on dev.

Coverage decreased (-0.4%) to 82.094% when pulling 7e545937621395b01a2cb5e6a2c876291cf28799 on b2c-faq into b5f0890d3adf7f8824e3f9fe2e84bb3129cf0248 on dev.


page.goto("http://localhost:5000") hangs in headless if included within jest syntax

🐛 Bug Report
Every page.goto("http://localhost:5000"), pointing to a local flask server, hangs in headless if included within jest syntax. I know it's not related to puppeteer because when I put the exact same code in an IIFE instead of beforeAll/afterAll it works fine:
(async () => {
      browser = await puppeteer.launch({
      executablePath: "/usr/bin/google-chrome",
      headless: true,
      args: [`--window-size=${pageWidth},${pageHeight}`]
    });
    const [currPage] = await browser.pages();
    page = currPage;
    await page.setCacheEnabled(false)
    await page.setViewport({ width,height });
    await page.goto('http://localhost:5000');
})();

To Reproduce
Steps to reproduce the behavior:
src:
const puppeteer = require('puppeteer-core');
const testConfig = require("../utils/testConfig.json");

let browser, page;
const { URLRoot, pageWidth, pageHeight, username, password } = testConfig;
let width = parseInt(pageWidth);
let height = parseInt(pageHeight);
beforeAll(async () => {
      browser = await puppeteer.launch({
      executablePath: "/usr/bin/google-chrome",
      headless: true,
      args: [`--window-size=${pageWidth},${pageHeight}`]
    });
    const [currPage] = await browser.pages();
    page = currPage;
    await page.setCacheEnabled(false)
    await page.setViewport({ width,height });
    await page.goto('http://localhost:5000');
});

  describe('tset', () => {
    it('should display whatever', async () => {
    })
  })

  afterAll(() => {
    browser.close();
  });

error:
   Timeout - Async callback was not invoked within the 5000ms timeout specified by jest.setTimeout.Error: Timeout - Async callback was not invoked within the 5000ms timeout specified by jest.setTimeout.

Run npx envinfo --system --binaries --npmPackages expect-puppeteer,jest-dev-server,jest-environment-puppeteer,jest-puppeteer,spawnd --markdown --clipboard
## System:
 - OS: Linux 5.0 Ubuntu 19.04 (Disco Dingo)
 - CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
 - Memory: 2.88 GB / 23.30 GB
 - Container: Yes
 - Shell: 5.0.3 - /bin/bash
## Binaries:
 - Node: 10.16.0 - ~/.nvm/versions/node/v10.16.0/bin/node
 - Yarn: 1.19.1 - /usr/bin/yarn
 - npm: 6.13.1 - ~/Projects/kelvin/kelvin-web-test/node_modules/.bin/npm
## npmPackages:
 - jest-environment-puppeteer: ^4.3.0 => 4.3.0
 - jest-puppeteer: ^4.3.0 => 4.3.0

https://stackoverflow.com/questions/59196415/page-goto-hangs-when-using-jest-puppeteer-to-test-a-ruby-on-rails-project
Coincidentally, i'm actually encountering a similar issue, but for a Ruby On Rails project.
## System:
 - OS: Linux 5.4 Arch Linux
 - CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
 - Memory: 5.38 GB / 15.26 GB
 - Container: Yes
 - Shell: 5.7.1 - /bin/zsh
## Binaries:
 - Node: 12.13.0 - ~/.nodenv/versions/12.13.0/bin/node
 - Yarn: 1.19.1 - ~/.nodenv/versions/12.13.0/bin/yarn
 - npm: 6.12.0 - ~/.nodenv/versions/12.13.0/bin/npm
## npmPackages:
 - jest-dev-server: ^4.3.0 => 4.3.0
 - jest-environment-puppeteer: ^4.3.0 => 4.3.0
 - jest-puppeteer: ^4.3.0 => 4.3.0

Thanks for opening this. Something similar is happening in my local, also:
TimeoutError: Navigation timeout of 30000 ms exceeded

      at ../../node_modules/puppeteer/lib/LifecycleWatcher.js:101:25
      at FrameManager.navigateFrame (../../node_modules/puppeteer/lib/FrameManager.js:92:21)
      at Frame.goto (../../node_modules/puppeteer/lib/FrameManager.js:376:16)

Any idea on how to solve this?
I believe IIFE won't work well with jest

I had some logic that relied on some global variables that were not available in headless mode(namely, window.chrome) and would throw an alert. The alert would prevent all further Puppeteer actions.
I ended up switching to playwright at some point and preloaded a script that would add those missing global variables:
 await browserContext.addInitScript({
    path: 'utils/preload.js'
  });

The equivalent for puppeteer would probably be using:

is this still an issue?


some suggestions

I really enjoy this game, but I have some suggestions to offer.

Bug: Troop images frequently turn into an "X".
The scroll bar on the save interface may scroll too quickly if there are too many saves.
In diplomacy, AI can directly attack our colonial ships without declaring war, whereas players are unable to do so.
When constructing ships or buildings, it would be preferable to have a slider that allows for full adjustment, rather than having to click the mouse countless times.
For the ship construction interface, it is recommended to add a "Scroll to Top" button, as otherwise, the numerous lists can make the operation cumbersome.

Thanks for reporting.
1 - Yeah, its a known issue, still open.
3 - If you have NAP with them bit enter into their territory they are allowed t attack you. IIRC.
4 - use Ctrl and/or Shift to build 5/10 at a time. The exact usage is in the tooltip i believe.


setting sync key shows "sync" instead of "save" or "set"

alternatively, actually both set and sync which isn't a bad idea.

Button renamed to "save"


In the DST scenario, the org.quartz.CronExpression#getTimeAfter function returns null and throws an exception:Based on configured schedule, the given trigger will never fire.

Premise:
The current system time zone is Africa/Casablanca, and the time is 2025-02-23 02:45:10,544 DST,
quartz  version： 2.3.2
Actions:
registers cron-type scheduled tasks with the quartz. ：cronExpression29 5 2 23 2 ? 2025 (Daylight Saving Time exits.)
Execution result:
When the getTimeAfter (Date afterTime) function in CronTriggerImpl is invoked, the returned result is null. As a result, Caused by: org.quartz.SchedulerException: Based on configured schedule, the given trigger will never fire. is thrown.

The Quartz CronTrigger does not support the DST. Is there any solution?

This project is abandoned. See #1134


made it bigger and better

pls accept this. i am your fren

Also, unacceptable format for Pull Request.

Made the above changes
Here is the updated GUI uwu


Changed nodelet to use camera timestamps

Changes proposed in this pull request:

Changes nodelet to use camera timestamps + camera start time instead of ros::Time::now() for frames

tf_static latches the timestamp so it becomes out of sync with the ROS time immediately. This behavior is unchanged from before.


Ngomik: Change Domain

Source information
Ngomik 1.4.32
Source language
Indonesian
Source new URL
https://ngomik.mom
Other details
No response
Acknowledgements

[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL has not changed yet.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I will fill out all of the requested information in this form.

geo blocked


increase required cmake version in C++ build docs

Current docs say that cmake >=3.5 is required to build C++ libraries, but that is not consistent with what I observe, build commands fail (do not report output similar to docs) using cmake 3.10.2 on my system, see below. Not sure what the minimal cmake version would be, but I installed cmake 3.22.1 from conda and that seems to work (gives output similar to docs).
(arrow) tdhock@maude-MacBookPro:~/arrow-git/cpp/build(main)$ /usr/bin/cmake --version
cmake version 3.10.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).
(arrow) tdhock@maude-MacBookPro:~/arrow-git/cpp/build(main)$ cd ..
(arrow) tdhock@maude-MacBookPro:~/arrow-git/cpp(main)$ /usr/bin/cmake --list-presets
CMake Error: The source directory "/home/tdhock/arrow-git/cpp/--list-presets" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
(arrow) tdhock@maude-MacBookPro:~/arrow-git/cpp(main)$ /usr/bin/cmake --preset -N ninja-debug-minimal
(arrow) tdhock@maude-MacBookPro:~/arrow-git/cpp(main)$ cd build
(arrow) tdhock@maude-MacBookPro:~/arrow-git/cpp/build(main)$ /usr/bin/cmake .. --preset ninja-debug-minimal
CMake Error: The source directory "/home/tdhock/arrow-git/cpp/build/ninja-debug-minimal" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.

Hi, thanks for the PR.
From my understanding you are trying to use presets. On the documentation it says that  you can build with presets using CMake 3.21.0 or higher: https://arrow.apache.org/docs/developers/cpp/building.html#cmake-presets
You can build with 3.10.2 but you won't be able to use presets.


Inaccurate timing in "now playing mode" on Android 7.1.1

Progress through the tracklist is significantly slowed (or stopped) when the app is running in the background, or if the device is locked/on standby.

Thanks for notifying me, I don't use this feature anymore so it went by unnoticed. It does make sense with the new Doze function and restricted background rights that this would become an issue. I'll have to take a look on what the appropriate way would be to implement the timers for Android 8, but this will take a while since this is a purely hobby project.
Feel free to take a look yourself if you feel inclined, as long as it isn't implemented with an active loop I'll gladly accept a pull request :-)


keySystemsMapping unrecognized

Have you read the FAQ and checked for duplicate open issues?
What version of Shaka Player are you using?
4.2.0
Can you reproduce the issue with our latest release version?
yes
Can you reproduce the issue with the latest code from main?
yes
Are you using the demo app or your own custom app?
custom
If custom app, can you reproduce the issue using our demo app?
Have not tried
What browser and OS are you using?
macOS chrome
Windows Edge
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?
What configuration are you using?  What is the output of player.getConfiguration()?
What did you do?
tried to add keySystemsMapping to DRM config
player.configure({
  drm: {
    keySystemsMapping: {
      'com.microsoft.playready': 'com.microsoft.playready.recommendation',
    }
  }
});

What did you expect to happen?
To have the keysystemsmapping not be empty in my player.getconfiguration
What actually happened?
Getting a console response
Invalid config, unrecognized key .drm.keySystemsMapping.com.microsoft.playready
player.getconfiguration
preferredKeySystems":[],"keySystemsMapping":{}},

That definitely seems wrong.  We will look into it.  Thanks!

An override is missing from the config parser.  Also, there are no tests covering that feature at all.  I'll fix both.

This issue affects all v4.1 and v4.2 releases.


Fix flaky test in testApproximateRangeWithSizeOverDefault by adjusting totalHits assertion logic

Description
This PR addresses an issue in the testApproximateRangeWithSizeOverDefault method of ApproximatePointRangeQueryTests, where the test would occasionally fail due to how Lucene handles total hits.
By default, search() in Lucene's IndexSearcher provides an accurate count for up to 1000 hits.
Beyond this threshold, Lucene may return a lower bound using GREATER_THAN_OR_EQUAL_TO for performance reasons (refer to the Lucene IndexSearcher documentation.)
In testApproximateRangeWithSizeOverDefault, the search range includes 12,001 documents, and the test would sometimes fail when GREATER_THAN_OR_EQUAL_TO occurred during the search.
Changes:

If totalHits.relation is EQUAL_TO, the test checks for an exact count of 11000.
If totalHits.relation is GREATER_THAN_OR_EQUAL_TO, the test ensures the hits are no less than 11000 and within the upper bound (maxHits).

This issue is similar to OpenSearch PR #4270. I resolved it in a similar way. Special thanks to @dbwiddis for the valuable guidance.
Related Issues
Related #15807
Check List

[X] Functionality includes testing.
[ ] ~API changes companion pull request created, if applicable.~
[ ] ~Public documentation issue/PR created, if applicable.~

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

I have reopened this under #16434.

@msfroh Glad I could help! Thanks for clarifying the behavior with segments :) It makes a lot more sense now.


How to get the current state on standalone player? - like is playing, is muted, is paused ect

I use this method from @cookpete (and thank you for that) to control my standalone player.  https://github.com/cookpete/react-player/issues/783#issuecomment-576930938
I want to create a skin with controls but i have to know some player states to make a working progress bar, seeking, to seek and showing the current time, the duration ect and show it in the player skin.
For example to get the player state if true or false.

is playing
is paused
is muted
ect.....

I started the script based on a very basic video player (I need to update this with the React standalone player like getting live current time, getDuration ect)
https://castv.top/scripts/1-MegaPlayer/V4/src/mgplayer.js
Only click on the firsts fiew Demo: link:
MP4 | Spotify | Facebook 1 | Facebook 2 |
(There's a lot of live streaming video and i will hide the time, progress bar and some functions will not trigger and will only show a LIVE text and some controls like play pause);
Just to get a idea here, i know if it's paused and ended with the standalone version?
function togglePlay() {
  if (video.paused || video.ended) {  // like here, How can i know if it's paused and ended with the standalone version?
    video.play();
//    myplayer1.playPlayer();
//    myplayer1.internalPlayer.playPlayer()
//    console.log("Play")
  } else {
//     console.log("Pause")
    video.pause();
//    myplayer1.internalPlayer.pausePlayer();
//    myplayer1.pausePlayer();
  }
}

Or update this code elapsed time ect.
function updateTimeElapsed() {
  const time = formatTime(Math.round(video.currentTime));
// const time = formatTime(Math.round(getCurrentTime()));
  timeElapsed.innerText = `${time.minutes}:${time.seconds}`;
  timeElapsed.setAttribute('datetime', `${time.minutes}m ${time.seconds}s`)
}

I hope it's clear ;)

this can be accomplished via the callbacks documented here https://github.com/cookpete/react-player#callback-props
hope this helps!