Broken OKD download links?

Looks like possibly an OKD release pulled its artifacts from GitHub, and this is causing breakage when attempting to download them using snc.sh?
+ test -n 4.13.0-0.okd-2023-09-03-082426
+ OPENSHIFT_RELEASE_VERSION=4.13.0-0.okd-2023-09-03-082426
+ echo 'Using release 4.13.0-0.okd-2023-09-03-082426 from OPENSHIFT_VERSION'
Using release 4.13.0-0.okd-2023-09-03-082426 from OPENSHIFT_VERSION
+ OC=./openshift-clients/linux/oc
+ download_oc
+ local current_oc_version=
+ '[' -f ./openshift-clients/linux/oc ']'
+ mkdir -p openshift-clients/linux
+ curl -L https://github.com/openshift/okd/releases/download/4.13.0-0.okd-2023-09-03-082426/openshift-client-linux-4.13.0-0.okd-2023-09-03-082426.tar.gz
+ tar -zx -C openshift-clients/linux oc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100     9  100     9    0     0     17      0 --:--:-- --:--:-- --:--:--     0

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Tested with latest master of snc.
Looks like the artifacts on https://github.com/okd-project/okd/releases/tag/4.13.0-0.okd-2023-09-03-082426 are actually the artifacts for the previous tag - eg. openshift-client-linux-4.13.0-0.okd-2023-08-18-135805.tar.gz which is a bit weird...?
I'll file an issue on the okd repo also and link it here, its likely possible to introduce a workaround in this repo though. (Done - https://github.com/okd-project/okd/issues/1720)

Worth noting: I'm setting the OKD_VERSION env var using the below:
export OKD_VERSION=$(curl -v https://github.com/okd-project/okd/releases/latest 2>&1 | grep -i "location:" | cut -d"/" -f8 | cut -d\" -f1 | tr -d '\r')

Tried as a workaround to use the previous release of OKD, by setting:
export OKD_VERSION="4.13.0-0.okd-2023-08-18-135805"

But then hit a different issue:
+ test -n 4.13.0-0.okd-2023-08-18-135805
+ OPENSHIFT_RELEASE_VERSION=4.13.0-0.okd-2023-08-18-135805
+ echo 'Using release 4.13.0-0.okd-2023-08-18-135805 from OPENSHIFT_VERSION'
Using release 4.13.0-0.okd-2023-08-18-135805 from OPENSHIFT_VERSION
+ OC=./openshift-clients/linux/oc
+ download_oc
+ local current_oc_version=
+ '[' -f ./openshift-clients/linux/oc ']'
+ mkdir -p openshift-clients/linux
+ curl -L https://github.com/openshift/okd/releases/download/4.13.0-0.okd-2023-08-18-135805/openshift-client-linux-4.13.0-0.okd-2023-08-18-135805.tar.gz
+ tar -zx -C openshift-clients/linux oc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 59.4M  100 59.4M    0     0  14.6M      0  0:00:04  0:00:04 --:--:-- 17.9M
+ '[' 0 '!=' 0 ']'
+ '[' 0 '!=' 0 ']'
+ test -z ''
++ curl -L https://github.com/openshift/okd/releases/download/4.13.0-0.okd-2023-08-18-135805/release.txt
++ sed -n 's/^Pull From: //p'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 29833  100 29833    0     0  28824      0  0:00:01  0:00:01 --:--:-- 28824
+ OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE=quay.io/openshift/okd@sha256:59b1e486ed132fa084f654ca930d84a751c7956870f659ef522a9928bc200ec7
+ echo 'Setting OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE to quay.io/openshift/okd@sha256:59b1e486ed132fa084f654ca930d84a751c7956870f659ef522a9928bc200ec7'
Setting OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE to quay.io/openshift/okd@sha256:59b1e486ed132fa084f654ca930d84a751c7956870f659ef522a9928bc200ec7
+ test -z
+ echo 'Extracting OpenShift baremetal installer binary'
Extracting OpenShift baremetal installer binary
+ ./openshift-clients/linux/oc adm release extract -a /root/crc-build/pull_secret.json quay.io/openshift/okd@sha256:59b1e486ed132fa084f654ca930d84a751c7956870f659ef522a9928bc200ec7 --command=openshift-baremetal-install --to .
error: image "quay.io/openshift/okd@sha256:59b1e486ed132fa084f654ca930d84a751c7956870f659ef522a9928bc200ec7" not found: manifest unknown: manifest unknown
+ jobs=($(jobs -p))
++ jobs -p

looks like 4.13.0-0.okd-2023-08-04-164726 version works. let's see if it filled on okd side, if not then will file it.

Also since https://github.com/okd-project/okd/issues/1720 is now fixed.  4.13.0-0.okd-2023-09-03-082426 also works.

https://github.com/okd-project/okd/issues/1722 for 4.13.0-0.okd-2023-08-18-135805, looks container image is not even available.

Confirmed the fix for https://github.com/okd-project/okd/issues/1720 is working now 👍 I'm happy closing this out if you are @praveenkumar ?


test(report): enhance coverage tests for xsl:message

Based on https://github.com/xspec/xspec/issues/1963#issuecomment-2258477981, this pull request adds code coverage test cases for xsl:message with:

Only text nodes as children.
The example from https://saxonica.plan.io/issues/6492, which reports the expected coverage in Saxon 12.4 but not 12.5. I made that a separate XSLT file to simplify citing the Saxonica issue page for that XSLT code only.

No comments.

Thanks for taking a look!


Problem with yaml of idrac.yml

Hi thanks for this exporter,
I'm try using with docker image and my config is this:
address: <IP_ADDRESS> # Listen address
port: 9348         # Listen port
timeout: 10        # HTTP timeout (in seconds) for Redfish API calls
retries: 1         # Number of retries before a target is marked as unreachable
hosts:
  default:
    username: user
    password: pass
metrics:
  system: true
  sensors: true
  power: true
  sel: false       # iDRAC only
  storage: false
  memory: false

but, when I try start the container. The application return:
line 10: cannot unmarshal !!map into []string
this error is happening on metrics lines.

Hi,
That is because I forgot to push a new Docker image after the latest changes. I just pushed a new image: mrlhansen/idrac_exporter:735109a
Hopefully it works with the this image :)

thanks! that's works for me.


MSBuild v4.0 Not supported and possibly why all these other MSBuild issues are happening.

Hello, looking through the open issues I think we're all facing somewhat similar versions of the same problem with MSBuildTool. #266, #267, #272, #273 are all versions of problems finding the correct MSBuild path.
I'm running Ionic 3.20.0 Cordova 8.0.0 and Cordova-Windows 6.0.0 as well as a fresh install of Windows 10 pro and Visual Studio Community 2017
When I run cordova windows build or cordova windows run I get essentially the same issue:
C:\Users\dennis\Source\Repos\showman-ionic>cordova build windows
Skip!
MSBuild v4.0 is not supported, aborting.
(node:2108) UnhandledPromiseRejectionWarning: CordovaError: No valid MSBuild was detected for the selected target: Package with specified parameters not found in AppPackages folder
    at C:\Users\dennis\Source\Repos\showman-ionic\platforms\windows\cordova\lib\build.js:83:29
    at _rejected (C:\Users\dennis\Source\Repos\showman-ionic\platforms\windows\cordova\node_modules\q\q.js:864:24)
    at C:\Users\dennis\Source\Repos\showman-ionic\platforms\windows\cordova\node_modules\q\q.js:890:30
    at Promise.when (C:\Users\dennis\Source\Repos\showman-ionic\platforms\windows\cordova\node_modules\q\q.js:1142:31)
    at Promise.promise.promiseDispatch (C:\Users\dennis\Source\Repos\showman-ionic\platforms\windows\cordova\node_modules\q\q.js:808:41)
    at C:\Users\dennis\Source\Repos\showman-ionic\platforms\windows\cordova\node_modules\q\q.js:624:44
    at runSingle (C:\Users\dennis\Source\Repos\showman-ionic\platforms\windows\cordova\node_modules\q\q.js:137:13)
    at flush (C:\Users\dennis\Source\Repos\showman-ionic\platforms\windows\cordova\node_modules\q\q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)
(node:2108) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2108) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I read through everyones issues (even some in german) and #267 is correct that any failure will throw the error either in the CLI or using visual studio, BUT when run inside Visual Studio it doesn't have the errors related to missing or unsupported MSBuild.
When I run cordova build windows --verbose
C:\Users\dennis\Source\Repos\showman-ionic>cordova build windows --verbose
No scripts found for hook "before_build".
No scripts found for hook "before_prepare".
Checking config.xml and package.json for saved platforms that haven't been added to the project
Config.xml and package.json platforms are the same. No pkg.json modification.
Package.json and config.xml platforms are different. Updating config.xml with most current list of platforms.
PlatformApi successfully found for platform windows
Checking config.xml for saved plugins that haven't been added to the project
Checking for any plugins added to the project that have not been installed in windows platform
No differences found between plugins added to project and installed in windows platform. Continuing...
Generating platform-specific config.xml from defaults for windows at C:\Users\dennis\Source\Repos\showman-ionic\platforms\windows\config.xml
Merging project's config.xml into platform-specific windows config.xml
Merging and updating files from [www, platforms\windows\platform_www] to platforms\windows\www
  copy  www\assets\base\base.css platforms\windows\www\assets\base\base.css (updated file)
//
// *** Copying truncated for clarity ***///
//
  copy  www\service-worker.js platforms\windows\www\service-worker.js (updated file)
Updating icons and splash screens at platforms\windows\images
Prepared windows project successfully
No scripts found for hook "pre_package".
Executing script found in plugin com-intel-security-cordova-plugin for hook "after_prepare": plugins\com-intel-security-cordova-plugin\src\windows\ChooseArch_Windows.js
No scripts found for hook "before_compile".
Reading build config file: C:\Users\dennis\Source\Repos\showman-ionic\build.json
getLatestMatchingMSBuild
getLatestMSBuild
Searching for available MSBuild versions...
Running command: C:\WINDOWS\system32\reg.exe query HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\15.5 /v MSBuildToolsPath
Running command: C:\WINDOWS\system32\reg.exe query HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\15.0 /v MSBuildToolsPath
Running command: C:\WINDOWS\system32\reg.exe query HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.0 /v MSBuildToolsPath
Running command: C:\WINDOWS\system32\reg.exe query HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\12.0 /v MSBuildToolsPath
Running command: C:\WINDOWS\system32\reg.exe query HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0 /v MSBuildToolsPath
Skip!
Command finished with error code 1: C:\WINDOWS\system32\reg.exe query,HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\15.0,/v,MSBuildToolsPath
Command finished with error code 1: C:\WINDOWS\system32\reg.exe query,HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\15.5,/v,MSBuildToolsPath
Command finished with error code 1: C:\WINDOWS\system32\reg.exe query,HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.0,/v,MSBuildToolsPath
Command finished with error code 1: C:\WINDOWS\system32\reg.exe query,HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\12.0,/v,MSBuildToolsPath
Command finished with error code 0: C:\WINDOWS\system32\reg.exe query,HKLM\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0,/v,MSBuildToolsPath
Found MSBuild v4.0 at C:\Windows\Microsoft.NET\Framework64\v4.0.30319\
Using MSBuild v4.0 from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\
MSBuild v4.0 is not supported, aborting.
(node:9592) UnhandledPromiseRejectionWarning: CordovaError: No valid MSBuild was detected for the selected target: Package with specified parameters not found in AppPackages folder
    at C:\Users\dennis\Source\Repos\showman-ionic\platforms\windows\cordova\lib\build.js:83:29
    at _rejected (C:\Users\dennis\Source\Repos\showman-ionic\platforms\windows\cordova\node_modules\q\q.js:864:24)
    at C:\Users\dennis\Source\Repos\showman-ionic\platforms\windows\cordova\node_modules\q\q.js:890:30
    at Promise.when (C:\Users\dennis\Source\Repos\showman-ionic\platforms\windows\cordova\node_modules\q\q.js:1142:31)
    at Promise.promise.promiseDispatch (C:\Users\dennis\Source\Repos\showman-ionic\platforms\windows\cordova\node_modules\q\q.js:808:41)
    at C:\Users\dennis\Source\Repos\showman-ionic\platforms\windows\cordova\node_modules\q\q.js:624:44
    at runSingle (C:\Users\dennis\Source\Repos\showman-ionic\platforms\windows\cordova\node_modules\q\q.js:137:13)
    at flush (C:\Users\dennis\Source\Repos\showman-ionic\platforms\windows\cordova\node_modules\q\q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)
(node:9592) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:9592) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

So it seems it can't find my MSBuild info at all. That got me looking around and I found:
VS 2017 Does not put items into the registry
which is the method cordova-windows uses to look for the path. (at least on my machine)
So it goes down the registry list and then finds the MSBuild for .NET which is way old I guess and it bails.
When run inside VS, VS I guess handles this or I'm not exactly sure what's happening. I'm 3 days into Windows Build Voodoo.
Other folks are on fresh machines too, and only install 2017, which NEVER places any info in the registry so it'll likely show as failed...
I have one thing left to try solution wise but I'm at my limit skillset wise on going much deeper on my own. Let me know what you need / suggest I try and I'll for sure do it..
Probably unrelated but I also saw my CordovaApp.Windows10.jsproj is still targeting v14:
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
Which Seems it could be bumped to 15 if 2017 is the new Req

cordova-windows uses multiple methods to try to figure out a matching MSBuild version - it's quite a mess and very brittle code, so I am not too surprised it is not working all the time. (But with a default 2017 install - an probably without .NET MSBuild installed - it should definitely work)
If it can only find the 4.0, your best and easiest best is probably to use the MSBUILDDIR or VSINSTALLDIR environment variables mentioned in the blog post here: https://cordova.apache.org/announcements/2018/02/27/cordova-windows-6.0.0.html

See http://www.visualstudioextensibility.com/2016/11/23/some-implications-of-the-new-modular-setup-of-visual-studio-2017-for-vsx-developers/ :
The location of MSBuild for VS 2017 has changed, and can be several of them.
In the past (until Visual Studio 2015), the path of MSBuild was “C:\Program Files (x86)\MSBuild\<version>”, where <version> was “4.0”, “12.0” (VS 2013), “14.0” (VS 2015).

There is no “15.0” folder there for VS 2017. Instead, MSBuild for VS 2017 is installed in the folder “C:\Program Files (x86)\Microsoft Visual Studio\2017\<edition>\MSBuild\15.0”, where edition can be “Community”, “Professional” or “Enterprise”.

Again, for your own use on your own build script you can hardcode the path, but if you want to use a more proper way, you need to get the VS 2017 installation folder as explained above and concatenate “MSBuild\15.0”.

Or you can wait until Microsoft releases a document about how to resolve MSBuild location (they are working on it and now that MSBuild is open source you can follow the progress on GitHub). BTW, you can download the MSBuild Tools for Visual Studio 2017 RC here.

So, to have auto-detect working properly we need to add more locations to check as per the article, and only rely on the registry as a fallback. I had VS 2017 Community installed, and it only detected MSBuild v4 from the .NET Framework so I had to use the MSBUILDDIR env var.

@edenprojectde No.
@samuelchen Open a new issue and include all available environment information of your system.

@janpio thanks. I solved it by using environment variable MSBUILDDIR

MSBUILDDIR and VSINSTALLDIR are indeed the solution here if VS17 can not detect MSBuild for any reason. https://github.com/apache/cordova-docs/pull/976 will add this to the documentation.


Support for other disk types

Would be really nice if we could have support for setting disk type.
Most importantly, this one:
https://cloud.google.com/compute/docs/disks/local-ssd

Working on this, already submitted pull request https://github.com/mitchellh/vagrant-google/pull/38

#38 was merged so should be resolved. However @iceydee, please, let me know if something is not working out for you.
/cc @erjohnso - resolved by #38

Thanks @iceydee and @Temikus !!


Waiting for WebRTC card to load ...

Checklist:

[ x] I updated to the latest version available
[x ] I cleared the cache of my browser

Release with the issue:
latest
Last working release (if known):
Browser and Operating System:
Chrome

Description of problem:
I added a webrtc camera with new core integration and webrtc server addon fpr hassio.
I suspect you are referring to a different usage of WebRTC technology. Can you clarify which camera/integration you are referring to? Are you talking about the new HA native WebRTC support?

I am using this addon:
https://github.com/allenporter/stream-addons/tree/main/rtsp-to-web
I thought now that th webrtc is implemented in core there is no need for the Alex WebRTC card?

I just installed<EMAIL_ADDRESS>and added it in integration . so normally it should wirk now right? but it continues to spin :(

For some reason, I am not able to make this work. Care to share some more details about your settings? I must be missing something.

@tkdrob  What exactly do you need? you must install this: https://github.com/AlexxIT/WebRTC and add it to yout intrgrations . Then you can either setup generic cameras which will be transformed into webrtc by ha. or you put in rtsp adress instead of entity of the webrtd camera

Ah ok. Allen Porter made a webrtc addon. I think he made it from the customer one you mentioned and thought it would work. So it's back to custom then.

i fear that allen porters addon wont work.. thought the same :(

Hello @tkdrob and @thundergreen ,
The v3.0.0-rc.1 release (and all prior releases) only support the AlexxIT WebRTC card (it literally embeds it). Live provider set to 'webrtc' only means AlexxIT and nothing else. It will never work with the native WebRTC support.
Yesterday (but after the 3.0.0-rc.1 release) I submitted https://github.com/dermotduffy/frigate-hass-card/pull/332 which theoretically adds support for the HA native WebRTC player. I have done some very (very) minimal testing, and it appears to work. It does not involve AlexxIT's card at all. So I think you'll get what you're looking for in the next release candidate ...
I think the naming of the 3 live providers now no longer make sense:

"frigate": Home Assistant streams. This usually means the RTMP feed for Frigate, but now can mean WebRTC or LL-HLS.
"frigate-jsmpeg": JSMPEG from the Frigate server.
"webrtc": https://github.com/AlexxIT/WebRTC

I think a rename might be in order:

"ha" (formerly: "frigate"): Home Assistant streams (includes anything "native" HA).
"frigate-jsmpeg": JSMPEG from the Frigate server.
"webrtc-alexxit" (formerly: "webrtc"): https://github.com/AlexxIT/WebRTC

Would that make sense?

Hello @dermotduffy  once again thanks for your awesome work ..I think readme would need some write up. Just to explain which live provider means what . But I really appreciate your awesome efforts in this card.i think frigate and your card put home assistant CCTV ecosystem on a higher level. Thanks also for the swipe function it's just awesome and I still didn't use all of your functions. If you want I can beta test new feature to test for you and report?

Thanks both! I'm going to close this for now, as I think native WebRTC support may "just work" from the next release candidate. Opened a separate bug for tracking the rename of the live providers to avoid the confusion that would likely otherwise result.

@dermotduffy can you push a beta version to test? because I need the native webrtc :)

@thundergreen Next RC will be out when I squish a few more bugs that were reported. If you want something sooner, you could always  build it yourself: https://github.com/dermotduffy/frigate-hass-card#building


Eliminate warning: ignoring return value of getcwd.

This patch eliminates the one warning when building on Linux.  Hopefully this version is a bit cleaner and more robust. There was never any need to place a null termination character in buf[2047].

src/stdlib.cpp (get_cwd): Use sizeof() instead of hardcoded values
for the size of the buffer. If getcwd() (or its Win32 counterpart)
returns NULL, return an empty string.

Any progress on this one? This is the last patch needed to completely eliminate the g++ warnings from the lk build.


[Easy][LandingPage] Add demo to about page

Duplicate opened in pearai-app # 272
Add my twitter demo to the landing page's about page so people know how it works!
https://publish.twitter.com/?query=https%3A%2F%2Ftwitter.com%2FCodeFryingPan%2Fstatus%2F1825456010862956844&widget=Tweet

#227 @Fryingpannn


bru.getAuthMode() return unexpected values when request has set "inherit"

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
I am trying to use the oauth2 mode in the collection, and to set the "Authentication" header only if the request is setup to use an authentication. Because I have also requests that should not add authentication information.
But bru.getAuthMode() returns unexpected values when executed in a request that has setup to inherit the authentication mode from the collection.
I attached an example collection, so you can reproduce it easier.
So far I got two different values bearer and none.
bearer is returned by my original collection. I guess it is somehow because before I used bearer mode instead of oauth2.
none is returned by the example collection I attached.
But in both collections I set oauth2 for the collection and inherit for the request, as you can see in the attached screenshots. Also in the .bru files it set correctly.
I think it should return one of:

authentication mode inherited by collection
inherit

if this is returned there should be a possibility to get the mode of the collection

.bru file to reproduce the bug
getAuthMode_problem.zip
Screenshots/Live demo link
collection:

request:

Any idea about this problem?

ping


API Reference link is broken on home page

API Reference
I assume it is somewhere?

Its auto generated by the FSharp.Formatting library and when I updated to .net core I couldn't figure out how to get it to generate correctly.
I will spend a bit to try to figure it out.  If I can't I think I will just remove it because its not super useful, its just a bunch of type signatures.
Thanks for letting me know!

Fixed in #491
https://lefthandedgoat.github.io/canopy//Api_Reference/canopy/canopy.html


[util] Support mixed one-to-N connections in intermodule

This allows blocks such as edn that have one-to_N connections to connect
to both modules and external components

I am ok with this PR.
Next thing to improve would be removing entire external and swap the port . :)
Thanks Tim!

yeah i know..what i'm doing isn't the most elegant... and yes it does feel like we can gradually remove external.. i didn't have the guts to do that though :)


Fix eslint configuration file search

fnamemodify called on a null/empty result of findfile results in a
non-empty value. fnamemodify was being called in this way prior to the
evaluation of the if empty(l:tcfg) rule, meaning Autoformat never
picked up on the fact that there was no configuration file, and instead
tried to call eslint -c /path/to/project/ (with the folder path
instead of the .eslintrc path).

Looks good, thanks!


[Suggestion] Auto-upgrade

I don't think the script currently does this. Should it? I'm tempted to say yes, especially if there is a way to turn it off. Is anyone working on it currently? I'm tempted to start working on it myself, but it's almost midnight and I have work in the morning.

A lot of people have asked for this, and while there exist working implementations of this in various forms, the game is still changing very quickly so auto-upgrade is something I feel is not a huge priority right now.
I do intend on eventually adding it in, but there's some other things that will take priority.

The auto-upgrade scripts are still being optimized. If you're not completely AFK'ing you can probably do a better job upgrading things yourself.

I see two use cases. One where you enter a new game and want to quickly get your dps up to par while spamming treasures or whatever you grabbed for your bp. That whole process could probably be automated in some way, since its just a long list of static abilities to get.
The second case is as you mention, for afk. Like when I leave my browser open overnight and want to auto buy 'new mouse button' whenever it can be afforded.
The latter case is probably the easiest to implement and also the most useful one?

I'm gonna try this out overnight I think.
setInterval(function(){
  $J('.link').each(function() {
    if ($J(this).data('type') === 25 && !test.parentNode.parentNode.classList.contains("cantafford") ) {
      g_Minigame.CurrentScene().TryUpgrade(this);
      return false;
   }
 });
}, 10000 );

Also if you could auto buy the first Auto-fire Cannon it would allow to remove this natsy giant 'Buy at least 1 "Auto-fire Cannon" for lane switching to work.' from the main page and probably help script-begginers.

The Big problem is the order which we will make the purchase.
Its not just update if you can, we should do in an optimal order.
Any suggestions?
By the way i will send a PR for this issue https://github.com/SteamDatabase/steamSummerMinigame/issues/105 in a few hours. We should use it as base for the order decision

The order seems like a simple optimization problem - especially given that the only upgrades added today are just 10x the older upgrades, with prices to match, right? Has it not already been solved in the autobuy code in one of the other scripts?

I'm pretty sure my approach does this as best as possible, under the assumption that gold income is not significantly tied to your own damage (i.e., always held constant).
Someone PM'd me to integrate mine with this somehow, so I'm just checking in to see if you guys would like that too or otherwise generate discussion on how I might do things better.

@StaplerGuy no, that's not how it works. Each time you buy, the price multiplies by 2.2, so it's not simply x10, it's a sum of a geometric series.

I don't see why the cost increase multiplier matters? Honestly, since the effects are constant, my mentioning 10x at all wasn't relevant.
At any given point, can't you just look at the most cost-effective in each category (auto click/manual click/elemental damage/crit damage), compare the four for dps/cost, buy that, and iterate? Is there some reason the script can't do it one at a time?
I like @meishuu's solution, although I think the elemental weights should be [0.4, 0.2, 0.2, 0.2] - assuming the 0.4 is roughly empirical, the other three seem irrelevant since a single element is superior, and I wouldn't want the 0.3 messing up an upgrade tree.

assuming the 0.4 is roughly empirical

It's not. I'd like to collect a ton of stats (verify crit_percentage and see exactly how often you spend time in lanes with your primary element) but I haven't been able to get into a scripting room lately.

Say each time you buy the price doubles, and a +1 is $1 and a +10 is $10:
Getting +10's worth in +1s will cost: 1+2+4+8+16+32+64+128+256+512 totalling 1023
Getting +10's worth in +1s will cost: 10 totalling 10
This means that you should only buy 10 in +1s when the price of buying a single 10 becomes more than 1023, which will happen after you buy 7 of them.
So your priority will be to buy 7 +10s before you even start buying any more +1s.
This is called the sum of a geometric series.
By using this logic and the actual game numbers, I have figured out the list of click upgrade things you need to buy in order to maximise efficiency: http://pastebin.com/h9DCnkLh
I used this badly written script to make that output past line 2: http://pastebin.com/vkHqYDBg

But once you buy the first +10, your choices are +1 for $1 or +10 for $20. For that specific purchase, the 1 is more efficient. In fact, if the multiplicative factor is fixed, you'll end up always wanting to keep the numbers owned of each type equal.
The only wrinkle is that high is more expensive, but also gives more DPS. I think it's a reasonable simplifying assumption that your individual DPS is basically zero relative to the room, so taking a small step rather than a large one doesn't actively hinder total progress, but that's down to taste, and I'd be fine with resolving ties in favor the more expensive item.

No. Spending any money on +1s before you have 7 +10s is a waste since you can get +10 for less than you pay for 10 +1s.

Can't you just take Cost / Damage or Cost / Increase to find what the next best upgrade is?


[Bug] Expected the service PushConsumerImpl [FAILED] to be RUNNING, but the service has FAILED

Before Creating the Bug Report

[X] I found a bug, not just asking a question, which should be created in GitHub Discussions.

[X] I have searched the GitHub Issues and GitHub Discussions  of this repository and believe that this is not a duplicate.

[X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment
CentOS 7.9.2009
RocketMQ version
5.0.0
JDK Version
JDK11
Describe the Bug
Exception in thread "main" java.lang.IllegalStateException: Expected the service PushConsumerImpl [FAILED] to be RUNNING, but the service has FAILED
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractService.checkCurrentState(AbstractService.java:381)
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractService.awaitRunning(AbstractService.java:305)
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractIdleService.awaitRunning(AbstractIdleService.java:165)
at org.apache.rocketmq.client.java.impl.consumer.PushConsumerBuilderImpl.build(PushConsumerBuilderImpl.java:128)
at RocketMQ.PushConsumerExample.main(PushConsumerExample.java:48)
Caused by: java.lang.NullPointerException
at org.apache.rocketmq.client.java.impl.consumer.PushConsumerImpl.shutDown(PushConsumerImpl.java:190)
at org.apache.rocketmq.client.java.impl.consumer.PushConsumerImpl.startUp(PushConsumerImpl.java:178)
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractIdleService$DelegateService$1.run(AbstractIdleService.java:62)
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.Callables.lambda$threadRenaming$3(Callables.java:103)
at java.lang.Thread.run(Thread.java:748)
Exception in thread "Thread-1" java.lang.IllegalStateException: Expected the service PushConsumerImpl [FAILED] to be TERMINATED, but the service has FAILED
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractService.checkCurrentState(AbstractService.java:381)
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractService.awaitTerminated(AbstractService.java:338)
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractIdleService.awaitTerminated(AbstractIdleService.java:183)
at org.apache.rocketmq.client.java.impl.ClientImpl.lambda$new$0(ClientImpl.java:177)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at org.apache.rocketmq.client.java.impl.consumer.PushConsumerImpl.shutDown(PushConsumerImpl.java:190)
at org.apache.rocketmq.client.java.impl.consumer.PushConsumerImpl.startUp(PushConsumerImpl.java:178)
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractIdleService$DelegateService$1.run(AbstractIdleService.java:62)
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.Callables.lambda$threadRenaming$3(Callables.java:103)
... 1 more
Steps to Reproduce
For the quick start of the official website, rely on

org.apache.rocketmq
rocketmq-client-java
5.0.0

Both producers and consumers will start to report errors,
for dependencies

org.apache.rocketmq
rocketmq-client
5.0.0

Can be used normally
What Did You Expect to See?
For the quick start in the official website, it should be able to use normally
What Did You See Instead?
Exception in thread "main" java.lang.IllegalStateException: Expected the service PushConsumerImpl [FAILED] to be RUNNING, but the service has FAILED
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractService.checkCurrentState(AbstractService.java:381)
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractService.awaitRunning(AbstractService.java:305)
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractIdleService.awaitRunning(AbstractIdleService.java:165)
at org.apache.rocketmq.client.java.impl.consumer.PushConsumerBuilderImpl.build(PushConsumerBuilderImpl.java:128)
at RocketMQ.PushConsumerExample.main(PushConsumerExample.java:48)
Caused by: java.lang.NullPointerException
at org.apache.rocketmq.client.java.impl.consumer.PushConsumerImpl.shutDown(PushConsumerImpl.java:190)
at org.apache.rocketmq.client.java.impl.consumer.PushConsumerImpl.startUp(PushConsumerImpl.java:178)
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractIdleService$DelegateService$1.run(AbstractIdleService.java:62)
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.Callables.lambda$threadRenaming$3(Callables.java:103)
at java.lang.Thread.run(Thread.java:748)
Exception in thread "Thread-1" java.lang.IllegalStateException: Expected the service PushConsumerImpl [FAILED] to be TERMINATED, but the service has FAILED
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractService.checkCurrentState(AbstractService.java:381)
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractService.awaitTerminated(AbstractService.java:338)
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractIdleService.awaitTerminated(AbstractIdleService.java:183)
at org.apache.rocketmq.client.java.impl.ClientImpl.lambda$new$0(ClientImpl.java:177)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at org.apache.rocketmq.client.java.impl.consumer.PushConsumerImpl.shutDown(PushConsumerImpl.java:190)
at org.apache.rocketmq.client.java.impl.consumer.PushConsumerImpl.startUp(PushConsumerImpl.java:178)
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.AbstractIdleService$DelegateService$1.run(AbstractIdleService.java:62)
at org.apache.rocketmq.shaded.com.google.common.util.concurrent.Callables.lambda$threadRenaming$3(Callables.java:103)
... 1 more
Additional Context
No response

i have the same issue, can someone help us out?


Add passkeys to Can I Use

Creating the JSON file to add passkeys to Can I Use, to fulfill https://github.com/Fyrd/caniuse/issues/6450

Once again, I have an error in the new file I'm trying to create. I often don't know how to handle the formatting of notes/bugs/resources when those fields are empty.
Thoughts @Schweinepriester ?

@jensimmons If you look at the validator result ("Details" link) you'll see the error "Error: [passkeys] Failed hasCategories validation on "categories". Got this: Web API,security". I believe the categories should be ["JS API", "Security"].
I think you'll also want to leave the parent value as empty string and set any necessary keywords to something other than the sample default.

It would also be great to have a way to test support for this to easily tell when support is added in other browsers. I looked around a little bit but wasn't able to find anything simple yet.

I just asked our engineers if there's a demo from FIDO Alliance that could serve as a great test, but it seems like not.
They did clarify that supporting passkeys includes:

User-verifying platform authenticator
Support for “conditional mediation” in CredMan
Platform it’s running on supports cross-device sign-in via the hybrid transport
Credentials are backed up and/or synced

https://www.passkeys.io/ - has a demo, but aren't passkeys just using the WebAuthn API? So if you support WebAuthn at a specific level, you support passkeys? https://github.com/Fyrd/caniuse/issues/5649

Passkeys are now supported in Chrome 108+
https://blog.chromium.org/2022/12/introducing-passkeys-in-chrome.html

aren't passkeys just using the WebAuthn API? So if you support WebAuthn at a specific level, you support passkeys?

No. WebAuthn is part of the stack -- the part a web developer codes.But support for passkeys is much more complex than that. It goes deeper into the underlying operating system, often involving security and various kinds of biometric credential management.
I wish Can I Use would be willing to add a page for this. Web developers should be implementing passkey support on their websites and web apps, but there is not good data available on which browsers on which operating systems have support. Not having the resources developers need holds back the web from replacing passwords with a far more secure way to log in.

Have merged & updated this PR, though still in the process of testing support and updating information about the feature. In particular I think notes may be necessary on different behavior for different OSes? Further help would certainly be appreciated.

Wound up linking to https://passkeys.dev/device-support/ in the notes, seems pretty comprehensive.


Problem while parsing Generic objects

When I tried to parse a generic object, my application got crashed and this problem has occurred while parsing an array.
Here is my model class for Generic type:
class MyModel<T>: ParsableModel {
        var responseStatus: StatusCode?
	var responseData: ResponseData?

	override func setValue(_ value: Any?, forUndefinedKey key: String) {
		if key == Constants.ApiResponseKey.responseData {
			responseData = value as? ResponseData
		}
	}
}

Currently we do not have any proper working solution, But here is an workaround you can use for this problem. Define a super type to the generic class like following:
class MyModel<T: ParsableModel>: ParsableModel {
        var responseStatus: StatusCode?
	var responseData: T?

	override func setValue(_ value: Any?, forUndefinedKey key: String) {
		if key == "responseData" {
			responseData = value as? T
		}
	}
}

For problem while using array as generic type you can create another model with same keys like following:
class MyModelArray<T: ParsableModel>: ParsableModel {
        var responseStatus: StatusCode?
	var responseData: [T]?

	override func setValue(_ value: Any?, forUndefinedKey key: String) {
		if key == "responseData" {
			responseData = value as? [T]
		}
	}
}


Any have an Apache configuration example ?

First of all, thanks for this boilerplate. I'm finished the my own project. And finally I deploy it to an apache server. Run command npm run start and then it listening "domain.name:3000". But I want to the not show the port number.
I tried everything but failed. Is there an apache configuration example for this?

@ysfkaya I have the same problem. did you solve the problem?
I made two virtual hosts. and make the client separate from the laravel.

No I didn't solve, I changed server to nginx


Repeat frequency of alarm sounds

Currently the alarm sounds seem to be playing repeatedly until one open the message page or comabt page etc. In my opinion it's mostly not wanted. If one can't react to an event, it's not neccessary to play the sound all the time - at least not for all sounds.
It would be good to have the ability to set the repeat frequency per alarm sound.
An example is in the second screenshot of this issue: https://github.com/valitas/Pardus-Sweetener/issues/57
Here the repeat frequency is possible for combat related alarm sounds. Could be extended to all.
0 = repeatedly
1 = only once
X = x time

Also having the same options for the notification toast would be good.


Error while exporting plots

Project Robyn
Describe issue
Getting a weird error while saving pareto_alldecomp_matrix.csv: >> Exporting general plots into directory... Failed exporting results, but returned model results anyways:  Error in theme[[element]]: attempt to select more than one element in vectorIndex
All other files are generated correctly:

Provide reproducible example
I am using following code:
 InputCollect <- robyn_inputs(
          dt_input = data,
          dt_holidays = dt_prophet_holidays,
          date_var = date_column, # date format must be "2020-01-01"
          dep_var = target_variable, # there should be only one dependent variable
          dep_var_type = "conversion", # "revenue" (ROI) or "conversion" (CPA)
          prophet_vars = c("trend", "season", "holiday"), # "trend","season", "weekday" & "holiday"
          prophet_country = "US", # input country code. Check: dt_prophet_holidays
          context_vars = contextual_variables,
          paid_media_spends = selected_paid_media_spends,
          paid_media_vars = selected_paid_media_vars,
          window_start = as.Date(lower_limit_date),
          window_end = as.Date(upper_limit_date),
          adstock = "geometric", # geometric, weibull_cdf or weibull_pdf.
        )
        hyperparameters <- create_hyperparameter_ranges(selected_paid_media_spends)
        InputCollect <- robyn_inputs(InputCollect = InputCollect, hyperparameters = hyperparameters)

        printlog("Running Robyn")
        OutputModels <- robyn_run(
          InputCollect = InputCollect, # feed in all model specification
          cores = NULL, # NULL defaults to (max available - 1)
          iterations = 2000, # 2000 recommended for the dummy dataset with no calibration
          trials = 5, # 5 recommended for the dummy dataset
          ts_validation = TRUE, # 3-way-split time series for NRMSE validation.
          add_penalty_factor = TRUE # Experimental feature. Use with caution.
        )
        plot_folder <- paste0(robyn_directory, job_run_id, '/', state)
        dir_exists <- dir.exists(plot_folder)
        if (!dir_exists) {
          dir.create(plot_folder, recursive = TRUE)
        }

        printlog("Collecting Robyn Outputs")
        OutputCollect <- robyn_outputs(
          InputCollect, OutputModels,
          pareto_fronts = "auto",
          csv_out = "all", # "pareto", "all", or NULL (for none)
          clusters = TRUE, # Set to TRUE to cluster similar models by ROAS. See ?robyn_clusters
          export = TRUE, # this will create files locally
          plot_folder = plot_folder, # path for plots exports and files creation
          plot_folder_sub = "",
          plot_pareto = FALSE # Set to FALSE to deactivate plotting and saving model one-pagers
        )

Environment & Robyn version
Make sure you're using the latest Robyn version before you post an issue.

Check and share Robyn version: packageVersion("Robyn")
R version (Please, check and share: sessionInfo() or R.version$version.string)

I can confirm that the Robyn version is: 3.11.1

@gufengzhou @laresbernardo I am also having this same problem with version 3.11.1.  Any idea what this could be?

I am getting the same issue, when runnnig:
if (OutputModels$ts_validation) OutputModels$ts_validation_plot


Reopen: escape pk/fk property names in 4.x.x querydsl

Ran into #861 using querydsl-maven-plugin 4.1.4 to generate code from SQL schema with Oracle.
Some of my PKs have name equal to table name and generated classes have both PrimaryKey field and static field for entity generated with same name.
Was #861 fix not merged into 4.x branch?

Update - in my case the conflict is between default variable name and primary key name. Since primary key property name uniqueness is only checked against other properties - the conflict still possible.
public class EntitySerializer implements Serializer {
    ...
    protected void intro(EntityType model, SerializerConfig config,
                CodeWriter writer) throws IOException {
        ...
        if (config.createDefaultVariable()) {
            introDefaultInstance(writer, model, config.defaultVariableName());
        }

public class DefaultNamingStrategy extends AbstractNamingStrategy {
    ...
    @Override
    public String getPropertyNameForPrimaryKey(String pkName, EntityType entityType) {
        ...
        if (!entityType.getEscapedPropertyNames().contains(candidate)) {
            return normalizeJavaName(candidate);
        }
    }

Seems there can be a workaround by providing customized SerializerConfig into GenericExporter with custom defaultVariableName or createDefaultVariable=false.

Huh I also can't reach the server it's hosted on.
Will have to wait on Timo, to see if he can sign into the dashboard.
As for the uniqueness of the variable name, that sounds like an issue to pick up indeed.


onComplete being called onDestroy

Hi, I got some weird behavior with retrofit Observables when used together with RxLifecycle.
I am not quite sure, but by this documentation[1] the default behavior of Observables is to don't call onComplete if onError is fired, but the onComplete method is being called in onDestroy of Actvity/Fragment.
Is this the right thing to do?
In the code below I can get the  openHomeScreen() to be called. Should I move it to onNext()?
mUserApiClient
                .get()
                .subscribeOn(Schedulers.io())
                .observeOn(AndroidSchedulers.mainThread())
                .compose(RxLifecycle.bindFragment(lifecycle()))
                .subscribe(
                        new Subscriber<User>() {
                            @Override
                            public void onCompleted() {
                                openHomeScreen();
                            }

                            @Override
                            public void onError(Throwable e) {
                                handleRequestError(e);
                            }

                            @Override
                            public void onNext(User user) {
                                mUserManager.setUser(user);
                            }
                        });
    }

[1] http://reactivex.io/documentation/observable.html

The expected behavior of RxLifecycle is to call onCompleted when it terminates a subscription.
I suggest moving openHomeScreen() to onNext(), especially since it looks like you're only planning on getting one item emitted.

Ok,
I will move to onNext(), but I think there may be some case where onNext() is called multiple times.
Is this the standard rx behavior? When I handle the Subscription.unsubscribe() by myself it does not seems to call Subscriber.onComplete()... Document this maybe?
Thanks.

If you call unsubscribe() then it will not call onCompleted().
Previous versions of RxLifecycle attempted to unsubscribe rather than complete (for this exact reason), but that led to a whole class of bugs that were unfixable. The current solution is a trade-off: In most cases it's fine, and when you do actually need the behavior of unsubscribe() then you can still do it yourself manually.

I was confused by this too -- and still am a bit. The README says it will "unsubscribe in the opposing lifecycle event". Is that just a bit out of date or is there some other nuance I'm missing in this conversation?

Yeah, the docs are out of date. I'll fix them up soon.

What do people think of the new explanation in #43?

I like it, definitely helps understand what to expect. Thank you.
I'm new to Rx so a lot of this may be clear to someone who is fully engaged, but I do have a related question since I have your ear. When used in this way, will completing the sequence typically clear references to the Android object (fragment, activity, etc) barring any other strong references leaking out? You often hear about needing to unsubscribe() but it's not immediately clear that a completed sequence has the same effect.

I wrote a sample app that should help clear up your confusion: https://github.com/dlew/android-subscription-leaks

How about use lift() to get subscription instance and unsubscribe instead of onComplete()?
I have small helper to use with CompositeSubscription.
https://gist.github.com/ypresto/accec4409654a1830f54

Ah, ok I found  #19 and understood why onCompleted() is required.


Support big endian machines (trie file in BE)

Trie header part is write in big-endian and data part is write in little-endian on Intel x86 and big-endian on MIPS, s390x,... now.
This PR everything unifies and all is write in network byte order (alias big-endian). It does not matter machine endianity.
This is breaking change - content of trie file is different.
Fix for: https://github.com/foliojs/linebreak/issues/8

This would add dependency on 'os' package which is node specific, making harder to run in browsers.
Also, by what i understand (may be wrong), projects that uses unicode-trie, like linebreak already runs in every system. The problem is only if the trie file is regenerated on big endian machines which IMO is just an annoyance, not worth the trouble the extra code / dependency.

Did you look into using Dataview to read and write from the arraybuffer? I believe it supports both little and big endian and is built into both node and browsers.

@blikblum

This would add dependency on 'os' package which is node specific, making harder to run in browsers.

I rewrote it without using os.

Also, by what i understand (may be wrong), projects that uses unicode-trie, like linebreak already runs in every system. The problem is only if the trie file is regenerated on big endian machines which IMO is just an annoyance, not worth the trouble the extra code / dependency.

No, it's more complicated.
For example: linebreak library published on npm have generated trie on little-endian machine (probably MacOS) and works only on little-endian machines; not work on big-endian (see https://github.com/foliojs/linebreak/issues/8). If is trie generated on big-endian machine it works only on big-endian machine. It is never compatible for both endian machines.
@devongovett

Did you look into using Dataview to read and write from the arraybuffer? I believe it supports both little and big endian and is built into both node and browsers.

For use DataView more code changes is needed. I'll try to explore and rewrite it.

PR test output:
  unicode trie
    √ set
    √ set -> compacted trie
    √ setRange
    √ setRange -> compacted trie
    √ should work with compressed serialization format (57ms)
    √ should pass range tests (389ms)

  6 passing (523ms)

@devongovett I create new PR https://github.com/foliojs/unicode-trie/pull/6 with implementation via DataView.
I didn't do stress tests directly, but in unit tests implementation via Uint32Array and switch bytes (this PR) running 523 ms and implementation via DataView (PR https://github.com/foliojs/unicode-trie/pull/6) running 982 ms on my notebook.
Implementation via DataView is much slower.
I think it better to use this first implementation because it is faster, but I leave the decision to you.
cc @blikblum

I would go for faster one, but have no hard opinion

Interesting! That’s somewhat surprising. I’m fine with the faster option.
Another (a little non standard) option could be to store it in little endian and only swap on big endian machines. Should be faster since most machines are little endian these days...

Another (a little non standard) option could be to store it in little endian and only swap on big endian machines. Should be faster since most machines are little endian these days...

Seems better

Trie header was originally written in big-endian, and according to https://en.wikipedia.org/wiki/Endianness is standard "network byte order" is big-endian, true it is for networks, not files (but for example PNG is in big-endian - stackoverflow.com). These are two reasons why I used big-endian. But it can be changed.
Change PR to write as little-endian?

Change PR to write as little-endian?

By my side, yes

I'll prepare it on weekend.

I create new PR https://github.com/foliojs/unicode-trie/pull/8 with trie file format little-endian.
I run tests 30 times (for difference measurable) on my notebook (little-endian):

big-endian format running 6007 ms (this PR)
little-endian format running 5983 ms (PR https://github.com/foliojs/unicode-trie/pull/8)

The difference is only 24 ms.
There is no difference for performance, therefore in my opinion is better to use network order standard (big-endian). @devongovett I leave the decision to you, two PRs ready.

I would create a simple script using performance.now() to measure the performance instead of running the tests since most of the time will be spend in the testing stack
Also consider the suggestion i did on other PR

Changed in both PRs.

Simple performance test for opening trie file:
const { performance } = require('perf_hooks');
const UnicodeTrie = require('unicode-trie');
const fs = require('fs');

const runTest = () => {
  const iterationCount = 10000;
  let start = performance.now();
  const data = fs.readFileSync('src/classes.trie');
  for (let i = 0; i < iterationCount; i++) {
    const trie = new UnicodeTrie(data);
  }
  console.log(performance.now() - start, 'ms');
}

runTest();

(File src/classes.trie used from linebreak)
Results time jump a lot...
Average time of results:

big-endian: 3175 ms
little-endian: 2953 ms

In class UnicodeTrieBuilder method toBuffer is same swap over same array as in opening therefore time should be the same.

I would go with trie file in BE

@devongovett
I could merge it myself but I don't have permission to publish in npm. Could you do it @devongovett?

Sorry about misleading comment above. Somehow i got confused. For me, i would go with file in LE.

Closing in favor of #8.


*: use a stable hash for client-side short-circuits

The previous approach here was to use go-spew, which, unfortunately, is not a stable and germane encoding for objects. We are encoding objects that we send to the Kubernetes API server, so features of go-spew like printing the capacity of slices are not germane. This led to hashes of otherwise identical (as far as the server was concerned) objects to be determined as hashing differently.

/lgtm
/approve


Feature Request: Write a temporary file into samba target dir while backup is running...

My use case is a samba share at an ubuntu server. The unbuntu server is not running 24/7, it is only up for demand, for example to access nextcloud service, recording tv shows, backuping things etc ...
Periodically the server checks if there is an job running or there is an active connection or an active device. If there is nothing to do the server goes down into suspend mode and will wake up by wol or time scheduler.
For this I would need a flag (or something else) at the ubuntu server to realise that HA samaba backup job is still active.
my suggestion / wish:

at samba backup start, create a file into the samba target named ".HA-backup-running" or "samba-backup-running"
when backup is finished, delete this file
I could easy enhance the 'checkshutdown' script at server side with checking the exist of this temporary file

best regards
Ronny

I understand your use case, but the suggestion to write a temporary file does not really convince me as this is quite a special use case and not relevant to the majority of users.
I would suggest to take a look at the smbstatus command --> https://www.samba.org/samba/docs/current/man-html/smbstatus.1.html
With this command you can detect active Samba connections which is the case as long as Samba Backup is copying the backup file. You could for example use that information in your script to prevent your server from suspending.

I use the smbstatus command, but the connection is only active while copying the Backup Zip file to the share.
I trigger the Samba Backup if the Samba Share (my server) is available via an HA automation. The backup starts and need more than 20 minutes, in this time my Server can not check if the Backup is running or not. In this time it is possible the server suspend. The check via smbstatus only works in the end of the backup process...
Can you establish the Samba connection from the beginning of the Backup process and terminate after copying is done?

My workaround is to use longer guard times before enter suspend mode on server side and use an automation to wake up for Backup Job at night.
I have to check smbstatus behavior, all other client using samba appear correctly at the smbstatus...


Support specified vineyard socket and skip the launching vineyardd process

What do these changes do?
The vineyardd might be prelaunched in a DaemonSet and shared with other compute engines.
Related issue number
N/A

The failure is not caused by this pull request.
The patch coverage seems incorrect, as lines in the newly-added "else" branch are all covered: https://app.codecov.io/gh/mars-project/mars/compare/2481/tree/mars/storage/vineyard.py#D1L130


Catalogue server being called repeatedly for each micro app- in  remote bundled builds.

Describe the bug
If I am having 10 micro apps I am seeing that when ever I load the application ( remote build) , the catalogue server is being invoked 10 times to get version info of the bundles . As per n/w traces , all request and response are same.
System Info
repack 3.7 , rn 0.72.0

Re.Pack Version
3.7
Reproduction
na
Steps to reproduce
If I am having 10 micro apps I am seeing that when ever I load the application ( remote build) , the catalogue server is being invoked 10 times to get version info of the bundles . As per n/w traces , all request and response are same.

Problem is there for both android & iOS remote bundled builds. If my micro apps are loaded from remote bundle server. This happens when ever I launch the app.

@rasheedk , is it the Super App example that you experienced this issue in?
Can you also upgrade to the latest version to confirm if this issue still persists?
Lastly, Can you provide a sample repo let me try if I can recreate on my end?

https://github.com/callstack/super-app-showcase
This example also works like that .

callstack/super-app-showcase

@rasheedk , check out this repo that was cloned from the superapp example - https://github.com/vlack-coder/superapp_clone/blob/cachefix?rgh-link-date=2024-08-20T11%3A10%3A35Z
But it doesn't work that way... The catalogue server is called only when you the app is ran as a standalone where it's called in the index.js.  For instance, lets run the host app
Follow this script

adbreverse
start
run:host:android
Then test for the min apps


Assets Import Error

I used custom registry to add the package into my Unity 2021 LTS.
But I keep met this error:
Asset Packages/com.underlogic.toml-serialization/Tests/Runtime/Fixtures/EquipmentItem.cs has no meta file, but it's in an immutable folder. The asset will be ignored.

Just released v0.4.10 which should fix this issue. Sorry about that. Let me know if it resolves the issue.

Thanks, by the way I wonder if there is any way to serialize GameObject into toml format?
在 2023年5月1日，15:12，Erik Rogers @.***> 写道：

Just released v0.4.10 which should fix this issue. Sorry about that. Let me know if it resolves the issue.
—
Reply to this email directly, view it on GitHubhttps://github.com/UnderLogic/toml-serialization/issues/22#issuecomment-1529426486, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOOC7GHJHMQ3FNC7OMTT55DXD5O4NANCNFSM6AAAAAAXJBH6KY.
You are receiving this because you authored the thread.Message ID: @.***>

No, and by design. I would not recommend trying to deserialize a GameObject itself, but rather the properties that are important to you, and then re-create that object in code when you need to deserialize.
A common use-case for serialization are game settings, player save, or level/scripted data. These should be serialized into some intermediary model that's not related to a GameObject instance.
In fact, there are things that ScriptableObject instances are perfect for. They are essential game objects which are not bound to a specific scene. Which all of the above mentioned things are perfectly suitable for. Basically, if it is something that a singleton Manager class is usually responsible for, you should look into ScriptableObjects.
Ryan Hipple has a great Unity 2017 talk about using SO's for things like this.
So let's assume you wanted to store settings like video resolution, audio volume, UI scale, or whatever else that's related to some kind of "user option" for your game.

Design a ScriptableObject named GameSettings with all the fields you want.
Design a GameSettingsManager component that can be put into a scene
Add a SerializedProperty that you can drag & drop the GameSettings SO into
On startup, deserialize the settings.toml into GameSettings SO
Since it is a SO, all references to it will also see these updates
Access the GameSettingsManager container component from your game
On update or app shutdown, serialize out to settings.toml

You can apply similar concepts to other serialized data. The idea is your serialization class, whether it's a SO or some other plain old C# object, is what you are serializing and then other components act as "activators" to update/recreate objects in your game.
If you had something like a LevelLoader that could take .toml files and place entities in the world based on file contents you would build that functionality instead of trying to save raw GameObject state.

One thing I had planned on adding in the future was user-customizable serialization via some kind of ITomlSerializable interface. This is to cover the cases where you want great control over the serialization process for a certain model/object.
Then exposing some kind of TomlSerializer class that you could call some methods on to write various things. A lot of that exists already but it's private because I would have to write a ton more tests and coverage to ensure it works properly.
I would love to, but unfortunately my time is currently split on game dev now so these libraries are in "archive" since I am not currently contributing to them. However if someone wants to fork them or add on their own, go for it.
Just my thoughts on how to extend it further if you really wanted to be able to custom serialize your own objects.


nginx connection refused error

I am constantly seeing "connection refused" errors from nginx trying to reach conduwuit. They happen up to several times a minute upon client activity, yet it does not appear to affect overall usage and functionality. (Some things are broken as usual, but I have no idea whether they may be related or not)
nginx: [error]: *15000 connect() failed (111: Connection refused) while connecting to upstream, client: …, server: …, request: "GET /_matrix/client/v3/sync?filter=gnsN&timeout=30000&set_presence=online&since=36275 HTTP/2.0", upstream: "http://<IP_ADDRESS>:6167/_matrix/client/v3/sync?filter=gnsN&timeout=30000&set_presence=online&since=36275", host: "…"

My nginx config (within NixOS):
      locations."/_matrix/" = {
        proxyPass = "http://localhost:6167";

        proxyWebsockets = true;
        extraConfig = ''
          proxy_set_header Host $host;
          proxy_buffering off;
        '';
      };

In the conduwuit log, there are no log messages which would correlate in time with the nginx errors.

Looking at the logs, it is both the GET /_matrix/client/v3/sync, OPTIONS /_matrix/client/v3/sync and PUT /_matrix/federation/v1/send which are affected. I assume that they are working most of the time and that clients simply retry and then it works, otherwise a lot more would be broken.

NGINX listening on localhost instead of an IP literal is suspicious. What do you have services.matrix-conduit.settings.global.address set to? Try making your NGINX config match that address instead of using localhost and see if that fixes it.

Check what conduwuit is listening on: ss -tulpn | grep -i cond
Use that as your nginx proxy pass instead of localhost.

Interesting, I was pretty sure having tried that in the past and it didn't work, but now that indeed resolves the issue. Moreover, it also works with ::1 on both sides.
So as far as I understand it localhost resolves to the correct address, but is ambiguous as to which IP protocol to use. Nginx seems to use IPv4 and IPv6 at will, which then causes the failure in the other case, respectively.
So the ideal fix would be to have Conduwuit listen to both IPv4 and IPv6 by default, to eliminate the foot gun entirely. AFAIU this should already be the case simply listening to ::1 because on Linux IPv6 sockets are not exclusive to IPv6, not sure why it didn't work for me in my test.

Can add support for listening on multiple addresses

About the implementation, is it correct that the main thing to do is to modify https://github.com/girlbossceo/conduwuit/blob/main/src/core/config/mod.rs#L473 to be the cartesian product of all ports and addresses?

As far as I can tell yes. Similar to the port config option of using Either so we don't break existing configs with address = "<IP_ADDRESS>" and still allow address = [<IP_ADDRESS>, <IP_ADDRESS>], and just making that code aware of multiple addresses and multiple ports.
Also, after a quick discussion in the conduwuit Matrix room, I'll change the default address to listen on IPv6 [::1] as this is dual stack by default on Linux unlike IPv4 <IP_ADDRESS>. Listening on multiple addresses will just be a small extra feature.

Listening on multiple addresses and multiple ports are now supported, and it is configured to default listen on both IPv4 localhost (<IP_ADDRESS>) and IPv6 localhost ([::1]).


EDITOR-#304 clean up useless code & config files

What is this PR for?

Clean up useless codes.
Refactor folder structure.
What type of PR is it?

Run the dev and production
Screenshots (if appropriate)

None
Questions:

Do the license files need updating? No
Are there breaking changes for older versions? Yes
Does this need new documentation? Yes

LGTM


#1203 Email Ballot to Friend: Ballot sent to "test2" friend after "test1" verifies email address

👍


Margins

Fixing some details with how the margins of the original textarea are handled to make the top and bottom margins apply to the container so that they work correctly with the normal flow of the page.

Hmm I went ahead and merged (temporarily removing the margins code), but I didn't realize that it would also close the pull request.  Sorry about that.  Please let me know the reasoning behind the margin code (was it failing with a certain browser or CSS) if you'd like to add that in.


Module borked, installation instructions wrong, no custom components, and so forth

I am installing Home Assistant with Toon. This simply does not work (yet).
I installed the latest home assistant version on a raspberry pi running raspbian. Home assistant is working.
When setting up toon in the configuration.yaml, it only allowes client_id and client_secret as config values (which are the toon API key/secret). So you can't link a contract.
After some searching, I found this github. I understand that the included toon version in homeassistant is obsolete.
So I tried installing it. This does not work. The unstructions say to copy the files to config/custom_components, however, on a fresh installation THERE IS NO SUCH FOLDER
After looking, I found toon here:
/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/toon
So I placed the files there, overwriting the existing ones. Now I can set all the correct configuration.yaml items (like consumer_key, and so forth).
However, this produces this error on startup:
Unable to prepare setup for platform toon.sensor: Platform not found (No module named 'custom_components.toon').
So I removed the folder
/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/toon
all together, and created a custom_components/toon folder in my config folder, and put the files there.
This works, but now I get:
Unable to prepare setup for platform toon.climate: Platform not found (cannot import name 'STATE_AUTO' from 'homeassistant.components.climate.const'
This was a bug which is supposed to be fixed, but apparently is not.
I do now get some toon data into home assistant, but still errors.
I realy appreciate people making stuff for hassio, but please, make sure they work or there are correct installation instructions. This is getting rediculous.

In fact, grepping the entire code for home assistant, "STATE_AUTO" does not occur anywhere. IT's not an existing const anymore, apparently.

After adding:
STATE_AUTO = "auto"
STATE_HEAT = "heat"
STATE_ECO = "eco"
STATE_COOL = "cool"
SUPPORT_OPERATION_MODE = 1
To the bottom of /srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/climate/const.py
the constants are found again. The above ones were missing.
But.. then hassio sais this:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 254, in async_update_ha_state
self._async_write_ha_state()
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 278, in _async_write_ha_state
state = self.state
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/climate/init.py", line 176, in state
return self.hvac_mode
File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/climate/init.py", line 279, in hvac_mode
raise NotImplementedError()
NotImplementedError

I think I found the issue. The consts have probably been renamed to HVAC_MODE_AUTO and so forth

There's more issues. The ECO mode does not exist anymore, and apparently a task exception was not implemented.

Basically, what it boils down to is that the current version of Home Assistant does NOT work with this module anymore.
I'm in the process of changing the module so it will work again. Apparently, they have changed a lot in the climate section.
The climate section now knows presets, and the mentioned modes do not exist anymore, of have been replaced by hvac_mode stuff. Also the async call is not implemented.
In short; I'm going to take the nest climate.py and use it to rebuild the HA climate.py.

You are totally right that this component does not work anymore. A lot has been changed after the 0.88 update.
I was the last person who worked on this. I made it work for HA 0.88
After that I left this alone because @frenck integrated a really nice new version in HA
If you are running the latest version of HA I would advice you to use the intergrated component in HA
If you are using a older version of HA I could help you.

Aargh :)
I came here because the integrated version does not work, or has incomplete installation instructions :)
It has (in the documentation at least) no way to link the tenant contract to the developersaccount.

You do not need to link both accounts.
Preform this step in HA

7Add the Toon integration to your configuration.yaml and restart Home Assistant. Then, go to Configuration > Integrationsand select CONFIGURE next to Toon and follow the setup instructions.

As mentioned this is only historical and does not work for a long time now, since things are properly integrated in HA,


Added new EOI helper objects

@MauriceManning

In the longer term, it would be good to inherit from AgentDefinition and AgentInstance respectively. Framework alignment

I closed this PR - there were a couple of bad merges along the way that squashed changes.  There's a new PR that has the correct state (with the proper inheritance you mention)

Ok thanks, missed that detail
On Feb 14, 2012, at 8:48 AM, "Christopher Mueller"<EMAIL_ADDRESS>wrote:

I closed this PR - there were a couple of bad merges along the way that squashed changes.  There's a new PR that has the correct state (with the proper inheritance you mention)

Reply to this email directly or view it on GitHub:
https://github.com/ooici/ion-definitions/pull/84#issuecomment-3964732


[BUG] Zstd new codec is a breaking change for kNN plugin: move custom-codecs from sandbox/modules to sandbox/plugins (so it won't be installed automatically)

Description
Move custom-codecs from sandbox/modules to sandbox/plugins (so it won't be installed automatically)
Issues Resolved
Closes  https://github.com/opensearch-project/OpenSearch/issues/7012
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[X] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

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.

@mulugetam please

Skipping changelog since the feature was not released yet

Gradle Check (Jenkins) Run Completed with:
* **RESULT:** FAILURE x

* **URL:** https://build.ci.opensearch.org/job/gradle-check/13549/

* **CommitID:** [a1a7732](https://github.com/opensearch-project/OpenSearch/commit/a1a7732c3d4a7b4999f2eb4cc2a1b15e7a5d97ab)
  Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green.
  Is the failure [a flaky test](https://github.com/opensearch-project/OpenSearch/blob/main/DEVELOPER_GUIDE.md#flaky-tests) unrelated to your change?

Hehe ...
Execution failed for task ':test:fixtures:gcs-fixture:composeBuild'.
> Exit-code 1 when calling /usr/bin/docker-compose, stdout: Step 1/11 : FROM ubuntu:18.04

please add "backport 2.x" label, original PR got backported to 2.x :( https://github.com/opensearch-project/OpenSearch/commit/3accec8cfc9cb3f03061b996ac2ee80b71ddf414

Hi @reta
I deployed the fix now to Jenkins.
If it fails again try to rerun.
It should login as a readonly user and increase the pull limit.
Sorry about it.
Thanks.

Codecov Report

Merging #7014 (a1a7732) into main (59e881b) will decrease coverage by 0.18%.
The diff coverage is 80.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##               main    #7014      +/-   ##
============================================
- Coverage     70.77%   70.60%   -0.18%
+ Complexity    59270    59211      -59
============================================
  Files          4822     4823       +1
  Lines        283940   283985      +45
  Branches      40947    40953       +6
============================================
- Hits         200963   200497     -466
- Misses        66454    66985     +531
+ Partials      16523    16503      -20

Impacted Files
Coverage Δ

...ch/index/codec/customcodecs/CustomCodecPlugin.java
0.00% <ø> (ø)

...h/index/codec/customcodecs/CustomCodecService.java
0.00% <ø> (ø)

.../codec/customcodecs/CustomCodecServiceFactory.java
0.00% <ø> (ø)

.../index/codec/customcodecs/Lucene95CustomCodec.java
60.00% <ø> (ø)

...customcodecs/Lucene95CustomStoredFieldsFormat.java
25.00% <ø> (ø)

...ustomcodecs/PerFieldMappingPostingFormatCodec.java
0.00% <ø> (ø)

...opensearch/index/codec/customcodecs/ZstdCodec.java
80.00% <ø> (ø)

.../index/codec/customcodecs/ZstdCompressionMode.java
84.09% <ø> (ø)

...arch/index/codec/customcodecs/ZstdNoDictCodec.java
80.00% <ø> (ø)

.../codec/customcodecs/ZstdNoDictCompressionMode.java
76.71% <ø> (ø)

... and 5 more

... and 482 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Added tt-entails explanation

Added brief explanation and examples of tt_entails and its subroutine tt_check_all
Updated README.md

There are some minor conflicts in the README now.

Oh thanks! I'll fix it.


Process is being used in the browser (it should only be used in Node.js)

As far as I can tell, this library is unusable. The problem is that it's maybe references to a readable_stream, and the library implementing this is making a call to process.nextTick(), however this function only exists within Node.js environment, not within a browser environment. I've attempted to fix this by adding process plugins to my webpack configuration (I'm using react for the client), but thus far I've been unsuccessful.

Can you provide some context / code?

To recreate:

Use create-react-app to create a blank project.
Implement the basic example listed in readmes.

The issue is with the readable-stream dependency that is being compiled into dist here: https://github.com/lisajamhoury/simple-peer-wrapper/blob/9b7fde3774eaaf6f1cd24e85bdf441b44abd80c6/dist/simple-peer-wrapper.js#L5292


Remove some unused variables from main

Since l_socket and u_socket are both checked and freed, the compiler didn't notice that they are otherwise unused.

nice catch. looks like they've been dangling since 2008! it's merged for the next release.


Fix link to ApiReference

I guess this bug was fixed in SampleWaypoint but not in WayPoint itself.
The link points to apiRef.html but the generated file is called ApiRef.html.

Thanks!


Custom presenting animation

Hi there, is it possible to add a custom presenting animation. For example, for the presenting animation to be a scale from small to large and also to fade in?  I'd appreciate it if you can point me in the right direction.  Thanks and have a great day!

Yes, it is. You can set a transition delegate object returning your custom presentation controller to FloatingPanelController.transitionDelegate. The default value is https://github.com/scenee/FloatingPanel/blob/2.5.1/Sources/Transitioning.swift#L5, which handles the default presentation. Therefore you are able to present a panel modally with a custom animation implemented in a custom presentation controller.


don't publish without running tests

Unless you don't mind publishing without running the tests first?
Assuming publishing should only happen after running the tests, it should not be the responsibility of the default target to set up this dependency via it's own dependencies, which also requires declaring those dependencies in the right order. Rather, the publish task should declare the dependency.
I guess you may want to manually run publish locally on it's own, having run the tests earlier, but in that case, you wouldn't want to rebuild either, so the correct way to run that is with ./build.cmd -s publish or ./build.sh -s publish (-s is shorthand for --skip-dependencies).

Come think of it, this may not be what you want. After all, publish has is no physical dependency on run-tests. I.e. publish does not require run-tests to have been run in order for it to succeed.
You may not want to do that, but there are other ways of expressing that. I have some other ideas but I'll run them by you another time.


Create additional info blocks

You can make your resume less official by adding more entertaining info, like your hobbies and interest, or what do you like, some interactive content or joke, easter egg, etc.

Hobbies:
Swimming
Eating a lot of chocolate
Playing the piano
Reading
Riding
Hikking


⚠ Bofrost.at has degraded performance

In 91ead23, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1485 ms

Resolved: Bofrost.at performance has improved in 06db9bf after 29 minutes.


Modal inherits overlay's opacity

Summary:
If you set the opacity of the overlay to say .8, all its children will inherit that too including the modal itself
Expected behavior:
Should be able to set overlay's opacity without affecting the modal window
Additional notes:
Need to take the modal out of the overlay container

Ignore you can use rgba without affecting the descendant, sorry! closing

@madeinspace I'm running into this same problem and can't figure out how to resolve it even after your closing comment.  My overlay div has a class which applies the following styles: opacity: 0.8; background-color: #131313;.  The child modal div undesirably inherits this same opacity.  I tried adding opacity: 1 !important;, but it did nothing.  Little help?

The example of using CSS styles linked in the README was very helpful as well.
It allows you to target the .Overlay separately


Feature: Please include a components much like Foundation's abide

Abide is an HTML5 form validation library that supports the native API by using patterns and required attributes.
To enable validation with Abide, add the data-abide attribute to your form element. Then add the required attribute to each input that you want to require. Additionally, you can define a pattern to define restraints on what users can input.

Name
Valid Example or Format

alpha
Foundation

alpha_numeric
A1Sauce

integer
-1

number
2937

card
visa, amex, mastercard

cvv
384 or 3284

email
<EMAIL_ADDRESS>

url
http://zurb.com

domain
zurb.com

datetime
YYYY-MM-DDThh:mm:ssTZD

date
YYYY-MM-DD

time
HH:MM:SS

dateISO
not sure yet

month_day_year
MM/DD/YYYY

color
#FFF or #FFFFFF

@bauereileen01 Would be a great feature! However, can you utilise any of the current form validation? https://getbootstrap.com/docs/4.1/components/forms/#validation

Eh, I think the very beginning is there, but I'll have to code alot more to provide the validation my app needs.

We default to the browser native form fields already, and much of these validations you'd want come free with the <input>'s type attribute. We could connect the dots for folks, but I don't see the value in it overall right now.


Add ability to paste

It'd be handy to be able to paste in the contents of the clipboard into the remote machine (this is particularly useful for long, strong passwords which are a nuisance to type in).

+1 to this. Would be useful when we need to copy-paste linux commands as well for installation or configurations.
Maybe add a button that'll send whatever text is in the clipboard to the remote machine when clicked?

As it happens, I had a stab at implementing this just after I wrote the issue.
I'm not very good at javascript, but I managed to hack something together which seems to work for me. One of the main issues I feel like I'm not handling all that well is I have a hard-coded list of modifier keys. This obviously doesn't support keyboard layouts beyond what I'm using.
In any case, I've opened a pull request #113 with what I put together.

A thought, but Malduino/Rubber Ducky style keystroke injection functionality might be interesting too. The ability to store pre-prepared action scripts that emulate keystrokes and text input.

Fixed in #113, though Firefox is still an open issue: #218


No support for vertical slider.

It would be great if vertical slider is supported. I didn't find any.

I think this component is now unmaintained...?


update package names, fixes #3

1.9 isn't required and it doesn't matter to the rest of the system as this is just example code, but I added go 1.8.3 for you for consistency and proof. :)

Great thank you @theganyo
Yes you are right about this being example plugin it may not be big deal other than for consistency.


docs: update Row and Column docs

Description
Removed the style properties from the Column and Row docs and instead referred to the properties in the NavigationManager component as they have the same style properties
References
LUI-867

Sanity Tests Execution Passed.

Thinking to remove few methods from Row and Columns which are already defined in NavigationManager and add a note in docs like "It inherits all the methods defined in both the NavigationManager and FocusManager components".

I think that totally makes sense and will be easier to maintain when there are updates to be made to only have one place to make them.

Sanity Tests Execution Passed.

Sanity Tests Execution Passed.

Sanity Tests Execution Passed.

Sanity Tests Execution Passed.

Sanity Tests Execution Passed.

:tada: This PR is included in version @lightningjs/ui-components-v2.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


MSI priviledges fix

Doesn't require admin priviledges for peruser install anymore, BUT if runned without admin priviledges, only peruser install will be available.
Now distinguishes which %PATH% to set (peruser or permachine).

r? @huonw
(rust_highfive has picked a reviewer for you, use r? to override)

r? @brson

Thanks!


gpg-agent doesn't work out of the box for SSH support

When setting services.gpg-agent.enableSshSupport = true; it only modifies ~/.gnupg/gpg-agent.conf, but it doesn't export the SSH_AUTH_SOCK and SSH_AGENT_PID variables, so running ssh-add from the console will cause it not to find the agent.

Hmm, it should set the SSH_AUTH_SOCK variable:
https://github.com/rycee/home-manager/blob/5641ee3f942e700de35b28fc879b0d8a10a7a1fe/modules/services/gpg-agent.nix#L108-L111
Do you have the programs.bash.enable or programs.zsh.enable set to true? If not did you add
. "$HOME/.nix-profile/etc/profile.d/hm-session-vars.sh"

to your shell configuration (for example ~/.profile in Bash)?
If either of the bash or zsh enable options above are true could see if SSH_AUTH_SOCK is present in the ~/.nix-profile/etc/profile.d/hm-session-vars.sh file? And if this file is sourced in ~/.profile or ~/.zshrc, respectively?

(Yes, I have programs.bash.enable, and it works as expected.) Ah! I didn't source .profile in my shell after home-manager switch! I thought source .bashrc was the right thing to do, which it wasn't. Great, thanks a lot!

Sorry, it seems like the issue persists. I have to manually source .profile every time I open a new console. Is this the expected behaviour? (See my configuration at https://gitlab.com/turion/enigmanix)

No, that should not be necessary. The ~/.profile file should be sourced by Bash automatically when you log in. Perhaps you haven't logged out and back in since enabling gpg-agent?

I have, and restarted as well a few times. Is my home.nix maybe wrong?

Or is there an interaction with a system-wide installed bash?

I can confirm that this issue still persists with KDE5 and konsole as well, without a system-wide bash installation.

Sorry for the delay. Quick question, do you have an ~/.xprofile file? If you do, does it source ~/.profile? If you don't, or it doesn't source the ~/.profile file, could you add
. "$HOME/.profile"

to it and try logging out and back in? I've been thinking about what could differ between your and my system and this is the thing I could come up with 🙂

Indeed I didn't have .xprofile, and creating it in the way you said resolved it. Shouldn't home-manager create it instead? Note that I don't configure my xserver with home-manager.

Yeah, I'll have to think of some nice way to solve that. I'm a bit adverse of having Home Manager unconditionally manage the ~/.xprofile file since the user might have their own ~/.xprofile file that they don't want under HM control.
I suspect this is a documentation issue, something like expanding step 5 to mention ~/.xprofile in the installation instructions.

I'll close this issue since it's now working for you but I opened the above issue to track the general problem.


Pure of heart wrong save point

When doing the quest "pure of heart" it saves your progress after getting the medicine but before giving it to the deer. This means that if you fail the quest at any point it can't be continued, as there's no reliable way to get a full restore.

will get that re coded when I get a chance, thank you for reporting this

This has been re coded a while back, but forgot to get this closed


Download Maven from archive site

Thanks !

btw dont worry because of the failed circleci test. Its only set up for the master branch, not for PR (credentials are missing here). However, I wasn able to exclude yet PR to trigger the build. (well, I also didnt try that hard ;-)


Call from your application

From<EMAIL_ADDRESS>on November 25, 2010 01:16:45
What steps will reproduce the problem? 1.What is the expected output? What do you see instead?
I am trying to call one number from my application but it is not happening

What version of the product are you using? On what operating system?
robotium-solo-1.9.0.jar and XP

Please provide any additional information below.
I am including the sample over here
solo.clickOnText("George");
solo.sendKey(solo.CALL);
solo.sleep(5000);
solo.sendKey(solo.ENDCALL);

I am trying to call the George number from my application. Please let me know is this the correct way to do testing for calling numbers? Please provide any additional information below.
Original issue: http://code.google.com/p/robotium/issues/detail?id=35

From<EMAIL_ADDRESS>on November 25, 2010 01:42:02
Now we are able to call but not able to end the call. Could you please suggest how to end the call?

From<EMAIL_ADDRESS>on November 25, 2010 01:48:39
There is no logic in ENDCALL, Robotium only sends it through to the platform.  I have never tried to end a call. So I can unfortunetaly not give you any support on that.
Status: WontFix


EKS cluster is stuck when updating mismatched k8s version in both cluster and node group

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):
Import a k8s 1.15 EKS cluster with a k8s 1.15 node group
From EKS console side, upgrade cluster to 1.16
Wait for update/sync on Rancher side
From Rancher side, upgrade k8s 1.17 and upgrade node group to 1.16 in the same edit
Result:
Cluster is stuck in updating state:

User is unable to edit k8s version to correct this:

Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): rancher\rancher:master-head version 53cf961
Installation option (single install/HA): HA

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Imported

Deleting the cluster from Rancher and reimporting it will reset the k8s versions on edit.
Cluster is no longer stuck updating on reimport.

@aaronRancher did the first upgrade finish completely ? Or was it still updating.

@cbron Neither upgrade completed. The cluster did not enter updating when viewed in EKS console. From the console side, the cluster had not changed at all.

A similar issue - On master-head - commit id: 33f755f1

Deploy a hosted EKS cluster - with k8s 1.15

When the cluster comes up Active, Edit the k8s version from EKS console of the cluster to 1.16

When the sync has finished to Rancher, the cluster in Rancher is now in 1.16 but the node groups are in 1.15 k8s version

Edit cluster and change the k8s version to 1.17

Error seen on the cluster

User is NOT able to come out of this state

Believe this needs a UI component before it can be moved to test. @rmweir can link/create the UI issue.

There is already validation for this in the eks-operator. This results in a controller error. I was working on implementing an API level error, but we realized some edge case that make it complicated and would probably lead to some bad side effects. I think the better fix would be to not allow the users to go from 1.a to 1.b in the UI unless the effective versions of the nodegroups are all 1.a or equal to the cluster version. The other fix would be to simply allow someone to downgrade the version after it has been updated (maybe).

The bug fix is verified with Rancher server rancher\rancher:master-head version df9345c
Node group k8s dropdown has been removed.
If cluster k8s version is 1.16 and node group k8s version is 1.15, an option is given to upgrade node groups.

If the user selects a new k8s version for the cluster, a note will appear under the node group k8s version:

Reopening, as this behavior is still seen when cluster k8s version is updated to 1.17 when node group version is 1.15. We should not allow users to upgrade k8s version when the node group version is not the same as current k8s version.

The bug fix is verified with Rancher server rancher\rancher:master-head version 4ac3a87
Cluster can only be upgraded 1 version at a time:

When node group k8s version is behind cluster k8s version, cluster k8s version cannot be upgraded:


Download link version 1.2 doesn't work

Hi, I tried to download the version 1.2 from the website ( http://relevantcodes.com/reportunit/ ) but I received the following message:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator<EMAIL_ADDRESS>and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache Server at relevantcodes.com Port 80

Microsoft marked the site as unsafe. I would recommend not using that site or the links. I presume you can get it here as a release.

Any information from the maintainers on a safe download for the project?


Add new git-github cheatsheet

Contributed Cheat Sheet Information
Cheat Sheet Name:  git-github
1 sentence description of the contents:  Cheatsheet about the use of Git and Github alongside RStudio
Your Name (as you want to be credited on the website):  Mouna Belaid
A link to your github/website (optional):  https://mounabelaid.netlify.app/
A link to relevant package documentation (optional):
Date created/updated (Month YYYY format):  January 2022

Please be sure you've included the Creative Commons License:

[x] Add CC-BY-SA Your Name to copywrite under the Creative Commons on the cheat sheet

Check that you have done the following:

[x] Used descriptive file names, something like package-name.pdf or task-name.pdf and did not include "cheat sheet" in the title.
[x] Included a PDF file of entire cheat sheet.
[x] Included a PNG file of the first page size 1100 x 850 in the pngs folder (for the website thumbnail).
[x] Included a Keynote or PowerPoint or similar file in the relevant folder (helps translators who want to translate your cheat sheet).

Thank you!

Happy to contribute! Thank you


"Mapbox Studio" documentation link links to the same page as /mapbox-studio

This link just links to the page that it's on.

Studio docs have been re-organized, closing.