Local Dev with no DB

I often work on the API locally and don't want to use the DB when I do. What would be a good way to turn it off while doing so? @winkerVSbecks Would it be a good idea to check for the ENV vars and just not use the DB when they are not around?

@meodai ENV var to disable during local dev is the way to go

@winkerVSbecks I do both now check for NODB and the env variables you think thats a good option?


(logging): Enable user to configure RayLogger

Feature or Bugfix

Logging

Detail

Set ray logger level to INFO
Enable user to disable/enable the RayLogger and override its logging level

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: 0fe867dece98593b8fe4b9c89df36a3595d2c016
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubStandardCodeBuild8C06-llutOAimTATs
Commit ID: 0fe867dece98593b8fe4b9c89df36a3595d2c016
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubLoadTests5656BB24-s6u9F3qN9oFy
Commit ID: 0fe867dece98593b8fe4b9c89df36a3595d2c016
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: 0fe867dece98593b8fe4b9c89df36a3595d2c016
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: 55febd34404d9018c0ddf8829289800527db08d9
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubStandardCodeBuild8C06-llutOAimTATs
Commit ID: 55febd34404d9018c0ddf8829289800527db08d9
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubLoadTests5656BB24-s6u9F3qN9oFy
Commit ID: 55febd34404d9018c0ddf8829289800527db08d9
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubStandardCodeBuild8C06-llutOAimTATs
Commit ID: 55febd34404d9018c0ddf8829289800527db08d9
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

mypy is throwing a cryptic internal error. validate.sh passes with no issues on my local machine. Anyone see this before?

AWS CodeBuild CI Report

CodeBuild project: GitHubStandardCodeBuild8C06-llutOAimTATs
Commit ID: 76b2cd39d38a51a24ae24d9eae02bb2cb961c949
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: 76b2cd39d38a51a24ae24d9eae02bb2cb961c949
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Mimimum range difference and maximum range difference

Can i set the minimum range difference and maximum range difference between the thumbs?

No, it's not possible at the moment

Tracked here: https://github.com/anothem/android-range-seek-bar/issues/5

is there any other library for doing that?


Add MS Code Contract assemblies to NuGet packages?

Copied from https://rx.codeplex.com/workitem/14
Right now I am taking the RX Contract Assemblies Dave has made over in the RXX project and manually creating new NuGet packages to put in my company NuGet repo so we can get code contracts working with Rx. I'll have to do this everytime I upgrade versions of RX.
Is there any chance you can start including contract assemblies in the NuGet releases?

@mattpodwysocki is this something that we still care about?

@shiftkey nope!


Expose set_edited, is_edited, and get_edited_version

Exposes several tools-based methods on Object.
The reason to expose these is simple.  If an editor plugin provides a EditorResourcePreviewGenerator implementation to create thumbnails for custom resources, there isn't a way for the plugin to have the EditorResourcePreview regenerate thumbnails when the resource is modified. In the engine, this is handled by calling set_edited(true), which increments the edited version that is used by the hash algorithm to determine whether the cached thumbnail should be discarded and regenerated.
By exposing these three methods, addons can easily use the thumbnail generator framework and regenerate the thumbnails when the underlying resource is changed rather than requiring an editor restart.

Starting thoughts, I'm not particularly fond of this. Mainly, these methods feel too "technical", "mechanical" to be needing to be exposed. The additional documentation does not help. Yes, these are used by the engine, but what can the user... use this for?

Hi, @Mickeon. There are several reasons for exposing these methods.
set_edited:
It's common practice in when serializing sub-resources during a save operation to set the resource edited state to false. Without this method, any custom ResourceFormatSaver has no way to reset this state, and the engine will continue to view the resource as modified. This creates a divide in how C++ modules and GDExtension work for plug-ins, meaning that GDExtensions that have custom resources are incapable of handling this use case properly.
is_edited:
This one is chosen to be exposed mainly because if GDExtension needs a way to set the state to true or false, it may need a way in the future to query the edited state of the object.  So this is purely for convenience.
get_edited_version:
This was being exposed primarily to support hash_edited_version_for_preview; however, in hindsight, maybe it would make more sense to change this and expose hash_edited_version_for_preview instead so that again resources exposed in GDExtension that may want to disable previews, like TileSet, can do so.

A quick skim over this has me believe that it would be a better fit to expose this in Resource, instead.
And furthermore, these are purely editor-exclusive, and very situational. Too much to be in Object, personally. This has me think there's got to be a better way to accomplish what one may need this for. Namely, exposing these methods through another Editor-exclusive class.

For our purposes, exposing this on the Resource class would definitely work, given that's our prime use case; however, I wonder if placing these on EditorInterface would also be better for other non-resource types, such as ConfigFile?
void EditorInterface::set_object_edited(Object* p_object, bool p_edited);
bool EditorInterface::is_object_edited(Object* p_object);

As for the get_edited_version or hash_edited_version_for_preview, I think maybe the best play is to expose the latter on the Resource class with a GDVIRTUAL call that can be implemented by custom resources.
Whats your thoughts on that approach @Mickeon ?

Sorry for not having much else to add. I am mostly looking at this from a general user perspective. Whether this is actually implemented should not be up to me.

I wonder if placing these on EditorInterface would also be better for other non-resource types, such as ConfigFile?

As I hinted at, delegating this to another class may be a better choice. So, personally, yes.


Documentation uses config-sync command before adding it

Bug report
Describe the bug
When following the README, npm run config-sync export is used before instructions appear to add it to package.json, and I had this error:
PS D:\GIT\hub-cms> npm run config-sync export
npm ERR! Missing script: "config-sync"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR!   npm run

It was not available through npm run:
PS D:\GIT\hub-cms> npm run
Lifecycle scripts included in XXX:
  start
    strapi start

available via `npm run-script`:
  develop
    strapi develop
  build
    strapi build
  strapi
    strapi

Expected behavior
Be able to follow the README step by step. Instruct the user to add the command (either as cs or config-sync which should then always be used as such in the rest of the docs)

I've just pushed the README change to github.
Thanks for the pointer :)


Release is missing required assets

Please verify the version of auro-badge you have installed
1.2.4
Please describe the bug
The delivered version of index.js has a dependency on ./src/auro-icon.js which is not in the delivered package. We need to update the package and include ./src/auro-icon.js
Expected behavior
The installed element should operate as expected.

This issue was copied from #86 by @blackfalcon.

The issue is related to the fact that the src resources are not included with the npm package.
See this file as a reference to correct.
https://github.com/AlaskaAirlines/auro-hyperlink/blob/main/.npmignore
Exit criteria
This issue can be closed once the update includes the necessary components of the source files.


[ENHANCEMENT] Speed up CI pipeline execution

We leverage GHA's matrix for building both virtbmc-controller and virtbmc container images in the same job template. While it solves #14, it introduces a new issue: duplication. Some of the steps are unnecessary for another run. It just makes the CI waiting time longer.
We need to find out whether there's a good way to solve the issue or abandon the meta-action step and specify our own image tags.

This is somehow solved by #38 silently.


Move Device and DeviceType compontent models out of models.py

Proposed Changes
dcim/models.py has gotten pretty cluttered: It currently holds over 60 models. I'd like to reorganize the models into three files under dcim/models/:

ComponentTemplateModels
ComponentModels
Everything else

These will all be imported via dcim/models/__init__.py.
Justification
This should reduce clutter and make it easier to jump around among models when developing.

@lampwins IIRC we briefly discussed the possibility of adopting a new models/ approach for all apps, not just DCIM. I suppose all base models would go in models/__init__.py and other stuff (like device components) would go in e.g. models/components.py. Do you think that makes sense?


Fully remove tile plating prying

About the PR

This just cleans up what's now derelict code left by the removal of the fireaxe's ability to pry plating in #24388.
Why / Balance

flareguy said that this is never gonna be added to anything else
Technical details

I removed the fields from the component/ref and prototypes then I fixed up the if statements that used it.
Media

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

Breaking changes

canAxe field was removed from tiles and Advanced was removed from the tile prying component.
TryPilePry no longer accepts a bool that was used for plate prying.
Changelog

no cl no fun.

ok i am actually working on a larger refactor rn so this will be done with that + other stuff.

ok i am actually working on a larger refactor rn so this will be done with that + other stuff.

Want me to close this, or should this just be reverted later when that's done?


Remove dependency from curl by using the appropriate brew component

If you are not against it, this should close #1 end address #6 .
It remove dependency on curl so that (even if temporarily) nothing weird goes on. When the hack will be needed no more, just remove line 19-to-22 and line 34.
The code is fairly self-explainatory so that you can use it in the future as a snippet if the need emerges.
Tested with both head and normal.

Thank you! Definitely looks like hacky.


Various fixes for execdriver

Fix #11764

Can you please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "fix_err_mask" git@github.com:LK4D4/docker.git somewhere
$ cd somewhere
$ git rebase -i HEAD~3
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

This will update the existing PR, so you do not need to open a new one.

LGTM

LGTM

hang on running lxc on this

LGTM


Update Retouch forum url to be accurate

Retouch's link previously led to the Finishing Touch forum page instead of the actual Retouch one

Good catch, thank you! :)

No worries, thanks for the lighting speed merge. I'd pay to have you as a coworker lol


release 1.4.1

The Git tag you added seems to have worked to publish to LuaRocks again, but just a heads up the GitHub Release is not being automatically added for tags. I added it manually last time. We can automate it if you like –to include adding the changelog to the release if it is anywhere we can parse it out– but it is not automated yet so after there is a tag it should me manually marked as a release via the GitHub UI.
The primary advantages are:

It will show up as the latest release in the sidebar and when opening the releases interface and
it allows people to subscribe to release notices without having to also be notified for all repo activity.

thx for the nudge. Added it and update the release instruction in the readme (those are the ones I followed)
I don't think that automating release notes is worth the effort. That woudl require a lot of discipline wrt the commit messages and PR names. I don't think that will be maintained over time, and hence still cause manual work. So imo; not worth it.


Need to support to set multiple http codes in http_client_fake

@maximilien During writing unit test for FindById, I found there is no way to set http code multiple times since there only can accept once in http_client_fake. I suggest to make a simple enhancement to set a new array variable like DoRawHttpRequestInts    []int (We can't change the existing DoRawHttpRequestInt to keep backward compatibility), and handle this array variable similar to DoRawHttpRequestResponses. Then we could have a chance to test bosh-softlayer-cpi functions with setting multiple http codes, especially in retryable code like this. What do you think? Thanks.

Ok sounds good. Send me a PR.


[CMSP-220] Decoupled deploy bug

This PR does a few things in an effort to fix our failing decoupled deploys.
It was discovered in research that since the decoupled deploy script was initially created, successful automated decoupled deploys have never actually happened. Similarly, the decoupled-release-pointer has never been updated since its initial deploy. This was causing the newcommits=$(git log ...) command to always pull everything from August to the current HEAD.
While initially in discussing with @rwagner00 it was thought that perhaps we could simply add the commits we don't need to the exclude_list, ultimately I realized that the code would need to exist in the decoupled-release-pointer if it was to be up-to-date.
So, in addition to fixing some bash issues that were causing new commits to simply be skipped, I've also updated the git cherry-pick command to always accept code from theirs. This allows the commits to process normally without having to exclude them manually and should result in the decoupled-release-pointer being updated as expected.

The Decoupled Drupal (Composer Managed) upstream is having the same issue, so it's likely if this is the solution that the same changes should be applied to `devops/scripts/deploy-decoupled-upstream.sh in pantheon-systems/drupal-composer-managed


[BUG] ssl error code 1

Before submitting a bug report...

[X] This bug wasn't already reported.
(I have checked every bug report on GitHub)

Describe the bug
Error is as in the comment.  Happens constantly but most functions do eventually finish (see screenshot).
Copy and paste your error
error ssl_client_socket_imp_cc(980 handshake failed; return -1, ssl error code 1, net_error -202
Screenshot of the bug

Value of dashboard variable
dashboard.txt

Not an important error, we don't actually care about it, the script works well even with it


ReturnStackTest may need extra alignment on Golden Cove

In Popping the Hood on Golden Cove, the return prediction behavior of Golden Cove seems weird: no clear jump up observed. This is possibly due to too many call/ret pairs in the same cache line. If an extra alignment directive is added so that the functions reside in different cache lines:
diff --git a/AsmGen/tests/ReturnStackTest.cs b/AsmGen/tests/ReturnStackTest.cs
index d940393..9d768cd 100644
--- a/AsmGen/tests/ReturnStackTest.cs
+++ b/AsmGen/tests/ReturnStackTest.cs
@@ -34,6 +34,7 @@ namespace AsmGen
                 {
                     string funcName = GetFunctionName(callDepth, callIdx);
                     sb.AppendLine($".global {funcName}");
+                    sb.AppendLine($".align 64");
                     sb.AppendLine($"{funcName}:");
                     if (callIdx < callDepth - 1)
                     {

We can observe a clear jump up at ~20 calls:
Return Stack Depth Test:
1,0.508000
2,0.168000
3,0.172000
4,0.166000
5,0.166000
6,0.198000
7,0.228000
8,0.186000
9,0.184000
10,0.182000
11,0.182000
12,0.180000
13,0.178000
14,0.190000
15,0.188000
16,0.188000
17,0.186000
18,0.184000
19,0.184000
20,0.182000
21,0.406000
22,0.440000
23,0.528000

This looks promising, since Sunny Cove has 17-entry RAS.

Currently, the test results of this open source code seem to be very different from the results in the CNC paper.

Currently, the test results from master branch seems to be very different from the results in the CNC's articles .

Yes, the results after adding the extra alignment are like:

Thanks, alignment indeed matters here, and I see 20 return stack entries on Redwood Cove. I'll get this into the master branch. Currently I'm a bit busy with other changes

Increased padding between generated test functions and calls/returns


Do not depend on the NIO module directly

The NIO module is an umbrella module that we should not be used anymore. Instead import NIOCore, NIOPosix and NIOEmbedded explicitly where needed.
Find a more detailed explanation here:
https://gitlab.com/swift-server-community/RediStack/-/merge_requests/186#note_1191177599

done


NBS: Consider making Compact return a chunkSource

since we usually just go open the now-persisted table anyway

@cmasone-attic remember to put the NBS label on these so we can keep track of them.


Handle partial io

Issue https://github.com/input-output-hk/ouroboros-network/issues/277
We rely here on an optimization, that toSrict makes no memory copies when there is just a single chunk (which is by far the most common case when reading a lazy byteString).

Does this replace #481?

Does this replace #481?

Yes. Note that I changed a bit the approach from what we discussed. hPutSome gets a strict ByteString, instead of a Lazy one, so it is closer to the Posix bindings and easier to simulate partial writes.


Windows installation of KeyBase failed because Windows 7 not recognized

My computer has an Active License of Windows 7 (Edition familiale Premium)
and the Windows Update is up to date,
but the install fails, I quote the pop-up message, "because your version of Windows is too old (W7 SP1 or newer required)".
Perhaps the log attached could be useful (I attach also the install exe I used)
PS : it is the first time an install gives me such an reason on this computer.
Keybase_20171115002847.log

The log shows no service pack is installed. How long ago did you install this Windows 7? A fresh install can take hours to fully update. Otherwise, your system is several years behind on updates.
The SP1 prerequisite is really only for the filesystem driver, which we have since made optional, so maybe we can ease up that restriction.

About file system, my disk format is NTFS .
I installed it since years and kept it updated (I can not confirmed if SP1 was installed because I have a bunch of PCs but it should be because it the one I use the most and care about).


ios devices - While swiping right or left page scrolls vertically

Hi
I am using this slider for one of our project and it is vertically scrolling the page when the user tries to touchmove the slider to left or right. Any one facing the same and any solution for this?
Thanks
Sreeraj S

The answer was already there in pull requests section, I didn't noticed it.
Or see the answer here https://github.com/loryjs/lory/pull/764


Toliman Guard Encounter Not Disabled After UC08

The Toliman guard ship encounter warns the player of Toliman being a Biological Exclusion Zone and advices the player to leave. This dialogue is supposed to be disabled after the Hostile Intelligence quest where the player receives authorization to land in Londinion.

Details
SQ_GuardShips_Toliman is a story manager quest that infinitely starts the guard ship encounter in Toliman's orbit. The dev notes in SQ_GuardShips_Toliman and UC08 indicate that SQ_GuardShips_Toliman was supposed to be disabled after stage 155 of UC Hostile Intelligence, which is where the player receives authorization to land in Londinion.
Mod that fixes this issue->https://www.nexusmods.com/starfield/mods/5607?tab=description
Game Version
1.7.36
Language
English (EN)
New Game
Yes
Reproduction Steps
https://www.nexusmods.com/starfield/mods/5607

Kinda funny when I am LEAVING the planet after FARMING 30-40 morphs for AGM, and this guy is still like nooo wun away pwanet scwary


Added community pharmacy in label

Thanks - ended up doing this in another pull request but the same wording.


After update server start on TheIsland

Hello
After update the server in genesis restart has TheIsland
253065 ?        S      0:10 /bin/bash /usr/bin/arkmanager update --warn --update-mods
253071 ?        S      0:00  _ /bin/bash /usr/bin/arkmanager update --warn --update-mods
333753 ?        Sl     5:37  _ /home/steam/ARK/ShooterGame/Binaries/Linux/ShooterGameServer TheIsland?G
Any idea?

Running arkmanager without specifying an instance will run the instance specified in defaultinstance, which by default is main.  Please check /etc/arkmanager/instances/main.cfg and/or ~/.local/config/arkmanager/instances/main.cfg

thx but when server start with arkmanager start(no instance specified) , it start well on Genesis but with cron update it's start without argument on TheIsland

That would seem to suggest that $HOME is not being set correctly by cron, and so ~/.local/config/arkmanager/instances/main.cfg is not found when run from cron.


Overlap in where we plant section and video

Issue can be seen below.

This issue can be solved by adding some lines of css. Please assign this issue to me.

Thanks for raising an issue @Bsodoge. Yes you can work on it but make sure that your fix works for every screen sizes and not only your screen size. I suggest you to use media queries for this


my issue is subtitle doesn't display in google chrome

Environment

oplayer/core:   //1.2.31
oplayer/ui:       // 1.2.31
oplayer/hls:    // 1.2.24.beta.0
platform:          // ubuntu 22.04.4 LTS
browser:           // firefox 122.0.1

problem with subtitle
I'm using hls player everything works well in Firefox browser but when i try to watch video in google chrome subtitle doesn't show at all.
i tried several ways to solve it but i can't,
please help me to fix.

More information required. Reproducible address/video and subtitles/full code

This is my full code for oplayer :
`let playerEl = document.querySelector('#player')
if (elementExists(playerEl)) {
let watermarkUrl = playerEl.getAttribute('watermark-url');
let subtitleUrl = playerEl.getAttribute('subtitle-url');
let videoPoster = playerEl.getAttribute('video-poster');
let videoHls = playerEl.getAttribute('hls-url');
let videoTitle = playerEl.getAttribute('video-title');
let subtitleObj = {}
if (subtitleUrl !== "None") {
subtitleObj = {
name: 'فارسی',
default: true,
src: subtitleUrl
}
}
const player = OPlayer.make(playerEl, {
    // isLive: true,
    lang: 'zh-CN',
    source: {
        src: videoHls,
        poster: videoPoster,
        title: videoTitle
    },
    videoAttr: {
        // crossOrigin: "anonymous"
    }
})
    .use([
        OUI(
            {
                fullscreen: true,
                coverButton: true,
                miniProgressBar: true,
                autoFocus: true,
                forceLandscapeOnFullscreen: true,
                screenshot: false,
                pictureInPicture: false,
                showControls: 'always', // 'played'
                keyboard: {focused: true, global: false},
                settings: [],
                speeds: ['2.0', '1.75', '1.25', '1.0', '0.75', '0.5'],
                // slideToSeek: 'none', // 'always' | 'long-touch'
                topSetting: false, //show setting icon on appbar
                subtitle: {
                    color: '#ffffff',
                    fontSize: 17,
                    fontFamily: 'IRANSans',
                    background: true,
                    source: [
                        subtitleObj,
                    ]
                },
                theme: {
                    primaryColor: '#03b97c',
                    watermark: {
                        src: watermarkUrl,
                        style: {
                            position: "absolute",
                            top: '15px',
                            right: '15px',
                            width: '35px',
                            height: 'auto'
                        },
                        attrs: {
                            class: 'oplayer-custom-watermark',
                            crossOrigin: "anonymous"
                        }
                    }
                },
                controlBar: {back: "always"},
                icons: {
                    // https://lucide.dev/icons/gauge
                    play: `<svg viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="5 3 19 12 5 21 5 3"/></svg>`,
                    pause: `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-pause"><rect width="4" height="16" x="6" y="4"/><rect width="4" height="16" x="14" y="4"/></svg>`,
                    volume: [
                        `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-volume-2"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"/><path d="M15.54 8.46a5 5 0 0 1 0 7.07"/><path d="M19.07 4.93a10 10 0 0 1 0 14.14"/></svg>`,
                        `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-volume-x"><polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"/><line x1="22" x2="16" y1="9" y2="15"/><line x1="16" x2="22" y1="9" y2="15"/></svg>`
                    ],
                    // setting: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-settings"><path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"/><circle cx="12" cy="12" r="3"/></svg>`,
                    fullscreen: [
                        `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize"><path d="M8 3H5a2 2 0 0 0-2 2v3"/><path d="M21 8V5a2 2 0 0 0-2-2h-3"/><path d="M3 16v3a2 2 0 0 0 2 2h3"/><path d="M16 21h3a2 2 0 0 0 2-2v-3"/></svg>`,
                        `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-minimize"><path d="M8 3v3a2 2 0 0 1-2 2H3"/><path d="M21 8h-3a2 2 0 0 1-2-2V3"/><path d="M3 16h3a2 2 0 0 1 2 2v3"/><path d="M16 21v-3a2 2 0 0 1 2-2h3"/></svg>`
                    ],
                }
            }),
        OHls({
            forceHLS: true,
            withBitrate: true,
            active(instance, lib) {
                // console.log("hls active");
                instance.on(lib.Events.MANIFEST_PARSED, (...payload) => {
                    // console.log(payload);
                });
            }
        }),
    ])
    .create();

player.on("loaderchange", (e) => {
    // console.log(e);
});

let forward = document.createElement("button");
forward.className = "forward";
forward.innerHTML =
    '<svg viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.444 3.685A10 10 0 0 1 18 4h-2v2h4a1 1 0 0 0 1-1V1h-2v1.253A12 12 0 1 0 24 12h-2A10 10 0 1 1 6.444 3.685ZM22 4v3h-3v2h4a1 1 0 0 0 1-1V4h-2Zm-9.398 11.576c.437.283.945.424 1.523.424s1.083-.141 1.513-.424c.437-.29.774-.694 1.009-1.215.235-.527.353-1.148.353-1.861 0-.707-.118-1.324-.353-1.851-.235-.527-.572-.932-1.009-1.215-.43-.29-.935-.434-1.513-.434-.578 0-1.086.145-1.523.434-.43.283-.764.688-.999 1.215-.235.527-.353 1.144-.353 1.851 0 .713.118 1.334.353 <IP_ADDRESS>2.568.927.999 1.216Zm2.441-1.485c-.222.373-.528.56-.918.56s-.696-.187-.918-.56c-.222-.38-.333-.91-.333-1.591 0-.681.111-1.208.333-1.581.222-.38.528-.57.918-.57s.696.19.918.57c.222.373.333.9.333 1.581 0 .681-.111 1.212-.333 1.59Zm-6.439-3.375v5.14h1.594V9.018L7 9.82v1.321l1.604-.424Z" fill="currentColor"></path></svg>';
forward.onclick = function () {
    player.seek(player.currentTime + 10);
};

let backward = document.createElement("button");
backward.className = "backward";
backward.innerHTML =
    '<svg viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.02 2.048A10 10 0 1 1 2 12H0a12 12 0 1 0 5-9.747V1H3v4a1 1 0 0 0 1 1h4V4H6a10 10 0 0 1 5.02-1.952ZM2 4v3h3v2H1a1 1 0 0 1-1-1V4h2Zm12.125 12c-.578 0-1.086-.141-1.523-.424-.43-.29-.764-.694-.999-1.215-.235-.527-.353-1.148-.353-1.861 0-.707.118-1.324.353-1.851.236-.527.568-.932.999-1.215.437-.29.945-.434 1.523-.434s1.083.145 1.513.434c.437.283.774.688 1.009 <IP_ADDRESS>7.353 1.144.353 1.851 0 .713-.118 1.334-.353 1.86-.235.522-.572.927-1.009 1.216-.43.283-.935.424-1.513.424Zm0-1.35c.39 0 .696-.186.918-.56.222-.378.333-.909.333-1.59s-.111-1.208-.333-1.581c-.222-.38-.528-.57-.918-.57s-.696.19-.918.57c-.222.373-.333.9-.333 1.581 0 .681.111 1.212.333 <IP_ADDRESS>4.528.56.918.56Zm-5.521 1.205v-5.139L7 11.141V9.82l3.198-.8v6.835H8.604Z" fill="currentColor"></path></svg>';
backward.onclick = function () {
    player.seek(player.currentTime - 10);
};

player.$root.appendChild(backward);
player.$root.appendChild(forward);

}`
Video plays without problem but my subtitle just display in desktop and ios, in android phones there is no subtitle. In requests i got 200 status code for subtitle file url response.
Can anyone help me fix this issue?

what's ur subtitle url

what's ur subtitle url

It's the subtitle
subtitle_link

work fine. // mac chrome

work fine. // mac chrome

I tried with other browsers i found out that subtitle won't play in chrome mobile but in Firefox it's play fine. I checked inspect of Chrome mobile and the subtitle section doesn't generate any element for subtitle.
Can you send me your configa for subtitle? Thanks.

I tried with other browsers i found out that subtitle won't play in chrome mobile but in Firefox it's play fine. I checked inspect of Chrome mobile and the subtitle section doesn't generate any element for subtitle. Can you send me your configa for subtitle? Thanks.

https://github.com/shiyiya/oplayer/blob/235004007784e5275b751b0b8f5fefa9d8edf292/examples/standalone/main.ts#L136

I tried with other browsers i found out that subtitle won't play in chrome mobile but in Firefox it's play fine. I checked inspect of Chrome mobile and the subtitle section doesn't generate any element for subtitle. Can you send me your configa for subtitle? Thanks.

https://ohplayer.netlify.app/playground/

it's works with mp4 video playing but in hls mode it's not even play the video and subtitle doesn't display. it's my configs in playground please test these configs for your self.

try disable hls subtitle controll forceHls

try disable hls subtitle controll and forceHls

i find the problem. The problem is that when we set a subtitle as default, it is not displayed in google chrome, but if we disable the default and select it manually, it will be displayed correctly.
I wanted to know if there is a way to activate the desired subtitle by default and display it without any problem ?

I fixed this temporarily with the following code.
player.on("loaderchange", (e) => {
let persianSubEls = document.querySelectorAll('div[role="menuitemradio"][aria-checked="false"][data-index="1"]')
persianSubEls.forEach(element => {
if (element.textContent.trim() === 'فارسی') {
element.click()
}
})
});

Fixed @amirdks


Update os-lib_2.13 to 0.7.5

Updates com.lihaoyi:os-lib_2.13 from 0.6.3 to 0.7.5.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.lihaoyi", artifactId = "os-lib_2.13" } ]

labels: library-update, semver-minor

Superseded by #24.


Method to Permanently Disconnect File from Azure Boards and TFS

If I want to share the exported Excel file with others, I should be able to permanently break the TFS connection so they don't accidentally publish changes.  Otherwise, I would have to manually copy into a new workbook and set it up.  CSV export option doesn't provide the formatting that the Excel option does.  Instructions on how to do that should be included to or linked to in this topic.

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

ID: c7abef49-a26f-2055-da47-cc3a6b4de1a3
Version Independent ID: e0080a35-bafa-da4d-5c4c-1ebadb5b10b5
Content: Work in Microsoft Excel or Project - Azure Boards
Content Source: docs/boards/backlogs/office/track-work.md
Product: devops
Technology: devops-agile
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@PaulDavidsonNI Thank you for the feedback, assigning this to the author for review.
Please consider submitting your TFS connection suggestion to our product team using the Suggest a feature tool in Azure DevOps community.

FWIW I eventually found the solution on Stack Overflow: https://stackoverflow.com/questions/7877040/how-can-i-make-an-excel-sheet-forget-that-it-was-generated-from-tfs?rq=1

Click on a cell in the table
Open the Table Design tab on the ribbon
Click "Convert table to range"
Save the workbook

@PaulDavidsonNI - Thank you for the feedback. I have made a note to update the article with the missing information.


Fix/get stackstrings on move

creating PR so we can discuss code.

On the right this branch's code, on the left self.check_mov_heuristics(emu, op, endpc) in posthook is commented out.
FLOSS extracted 68 stackstrings				      |	FLOSS extracted 70 stackstrings
Finished execution after 12.437037 seconds		      |	Finished execution after 6.116257 seconds
FLOSS extracted 68 stackstrings				      |	FLOSS extracted 70 stackstrings
Finished execution after 12.601272 seconds		      |	Finished execution after 3.906816 seconds
FLOSS extracted 33 stackstrings					FLOSS extracted 33 stackstrings
Finished execution after 6.261168 seconds		      |	Finished execution after 2.102670 seconds
FLOSS extracted 33 stackstrings					FLOSS extracted 33 stackstrings
Finished execution after 8.648854 seconds		      |	Finished execution after 2.153056 seconds
FLOSS extracted 34 stackstrings					FLOSS extracted 34 stackstrings
Finished execution after 6.435290 seconds		      |	Finished execution after 2.103372 seconds
FLOSS extracted 7 stackstrings					FLOSS extracted 7 stackstrings
Finished execution after 1.500629 seconds		      |	Finished execution after 0.540202 seconds
FLOSS extracted 58 stackstrings					FLOSS extracted 58 stackstrings
Finished execution after 7.225434 seconds		      |	Finished execution after 2.104242 seconds
FLOSS extracted 33 stackstrings					FLOSS extracted 33 stackstrings
Finished execution after 6.456765 seconds		      |	Finished execution after 1.988064 seconds
FLOSS extracted 6 stackstrings					FLOSS extracted 6 stackstrings
Finished execution after 0.856545 seconds		      |	Finished execution after 0.290130 seconds
FLOSS extracted 4 stackstrings					FLOSS extracted 4 stackstrings
Finished execution after 0.379040 seconds		      |	Finished execution after 0.089091 seconds
FLOSS extracted 0 stackstrings					FLOSS extracted 0 stackstrings
Finished execution after 1.200029 seconds		      |	Finished execution after 0.301339 seconds
FLOSS extracted 5 stackstrings					FLOSS extracted 5 stackstrings
Finished execution after 3.667832 seconds		      |	Finished execution after 1.050123 seconds
FLOSS extracted 2 stackstrings					FLOSS extracted 2 stackstrings
Finished execution after 0.620089 seconds		      |	Finished execution after 0.128844 seconds
FLOSS extracted 0 stackstrings					FLOSS extracted 0 stackstrings
Finished execution after 1.656214 seconds		      |	Finished execution after 0.342097 seconds
FLOSS extracted 12 stackstrings					FLOSS extracted 12 stackstrings
Finished execution after 6.563190 seconds		      |	Finished execution after 1.596478 seconds
FLOSS extracted 0 stackstrings					FLOSS extracted 0 stackstrings
Finished execution after 1.257680 seconds		      |	Finished execution after 0.266993 seconds
FLOSS extracted 0 stackstrings					FLOSS extracted 0 stackstrings
Finished execution after 0.520367 seconds		      |	Finished execution after 0.114511 seconds
FLOSS extracted 4 stackstrings					FLOSS extracted 4 stackstrings
Finished execution after 0.767845 seconds		      |	Finished execution after 0.180638 seconds
FLOSS extracted 30 stackstrings					FLOSS extracted 30 stackstrings
Finished execution after 11.205189 seconds		      |	Finished execution after 13.020079 seconds
FLOSS extracted 26 stackstrings					FLOSS extracted 26 stackstrings
Finished execution after 6.165583 seconds		      |	Finished execution after 8.128161 seconds
FLOSS extracted 12 stackstrings					FLOSS extracted 12 stackstrings
Finished execution after 8.022916 seconds		      |	Finished execution after 8.327140 seconds
FLOSS extracted 23 stackstrings					FLOSS extracted 23 stackstrings
Finished execution after 7.388746 seconds		      |	Finished execution after 7.177046 seconds

Second run, same as above:
FLOSS extracted 68 stackstrings				      |	FLOSS extracted 70 stackstrings
Finished execution after 14.907161 seconds		      |	Finished execution after 11.001571 seconds
FLOSS extracted 68 stackstrings				      |	FLOSS extracted 70 stackstrings
Finished execution after 16.210848 seconds		      |	Finished execution after 12.956547 seconds
FLOSS extracted 33 stackstrings					FLOSS extracted 33 stackstrings
Finished execution after 6.852020 seconds		      |	Finished execution after 5.371959 seconds
FLOSS extracted 33 stackstrings					FLOSS extracted 33 stackstrings
Finished execution after 7.408496 seconds		      |	Finished execution after 7.835338 seconds
FLOSS extracted 34 stackstrings					FLOSS extracted 34 stackstrings
Finished execution after 4.616858 seconds		      |	Finished execution after 6.451429 seconds
FLOSS extracted 7 stackstrings					FLOSS extracted 7 stackstrings
Finished execution after 2.254808 seconds		      |	Finished execution after 1.668714 seconds
FLOSS extracted 58 stackstrings					FLOSS extracted 58 stackstrings
Finished execution after 6.931866 seconds		      |	Finished execution after 9.425688 seconds
FLOSS extracted 33 stackstrings					FLOSS extracted 33 stackstrings
Finished execution after 7.747519 seconds		      |	Finished execution after 5.270464 seconds
FLOSS extracted 6 stackstrings					FLOSS extracted 6 stackstrings
Finished execution after 1.219478 seconds		      |	Finished execution after 1.122699 seconds
FLOSS extracted 4 stackstrings					FLOSS extracted 4 stackstrings
Finished execution after 0.346893 seconds		      |	Finished execution after 0.355022 seconds
FLOSS extracted 0 stackstrings					FLOSS extracted 0 stackstrings
Finished execution after 0.690604 seconds		      |	Finished execution after 1.243299 seconds
FLOSS extracted 5 stackstrings					FLOSS extracted 5 stackstrings
Finished execution after 4.030465 seconds		      |	Finished execution after 3.981539 seconds
FLOSS extracted 2 stackstrings					FLOSS extracted 2 stackstrings
Finished execution after 0.283137 seconds		      |	Finished execution after 0.264660 seconds
FLOSS extracted 0 stackstrings					FLOSS extracted 0 stackstrings
Finished execution after 0.815422 seconds		      |	Finished execution after 0.559159 seconds
FLOSS extracted 12 stackstrings					FLOSS extracted 12 stackstrings
Finished execution after 6.256333 seconds		      |	Finished execution after 4.561625 seconds
FLOSS extracted 0 stackstrings					FLOSS extracted 0 stackstrings
Finished execution after 0.552247 seconds		      |	Finished execution after 0.724445 seconds
FLOSS extracted 0 stackstrings					FLOSS extracted 0 stackstrings
Finished execution after 0.224816 seconds		      |	Finished execution after 0.214960 seconds
FLOSS extracted 4 stackstrings					FLOSS extracted 4 stackstrings
Finished execution after 0.621071 seconds		      |	Finished execution after 0.306037 seconds
FLOSS extracted 30 stackstrings					FLOSS extracted 30 stackstrings
Finished execution after 13.112107 seconds		      |	Finished execution after 5.287577 seconds
FLOSS extracted 26 stackstrings					FLOSS extracted 26 stackstrings
Finished execution after 5.079447 seconds		      |	Finished execution after 2.245976 seconds
FLOSS extracted 12 stackstrings					FLOSS extracted 12 stackstrings
Finished execution after 8.054548 seconds		      |	Finished execution after 2.982275 seconds
FLOSS extracted 23 stackstrings					FLOSS extracted 23 stackstrings
Finished execution after 2.173112 seconds		      |	Finished execution after 3.917722 seconds

b8235be vs. this branch's code:
Finished execution after 16.627158 seconds		      |	Finished execution after 15.115348 seconds
Finished execution after 15.619825 seconds		      |	Finished execution after 9.052471 seconds
Finished execution after 3.752451 seconds		      |	Finished execution after 2.106583 seconds
Finished execution after 6.330209 seconds		      |	Finished execution after 2.096715 seconds
Finished execution after 7.664421 seconds		      |	Finished execution after 2.026900 seconds
Finished execution after 2.109611 seconds		      |	Finished execution after 0.567120 seconds
Finished execution after 7.316648 seconds		      |	Finished execution after 2.049298 seconds
Finished execution after 5.670480 seconds		      |	Finished execution after 8.677114 seconds
Finished execution after 1.179953 seconds		      |	Finished execution after 1.117290 seconds
Finished execution after 0.226506 seconds		      |	Finished execution after 0.193582 seconds
Finished execution after 1.013993 seconds		      |	Finished execution after 0.954240 seconds
Finished execution after 3.169766 seconds		      |	Finished execution after 1.697595 seconds
Finished execution after 0.223450 seconds		      |	Finished execution after 0.192907 seconds
Finished execution after 1.474137 seconds		      |	Finished execution after 0.358061 seconds
Finished execution after 2.344895 seconds		      |	Finished execution after 1.648813 seconds
Finished execution after 0.729818 seconds		      |	Finished execution after 0.283580 seconds
Finished execution after 0.207744 seconds		      |	Finished execution after 0.119851 seconds
Finished execution after 0.280792 seconds		      |	Finished execution after 0.169115 seconds
Finished execution after 9.012873 seconds		      |	Finished execution after 5.881229 seconds
Finished execution after 4.625523 seconds		      |	Finished execution after 2.250172 seconds
Finished execution after 8.576326 seconds		      |	Finished execution after 2.698020 seconds
Finished execution after 6.836436 seconds		      |	Finished execution after 1.835005 seconds

i don't really understand why this branch would be faster than b8235be. we are doing more work per instruction during stackstring extraction. right?
this has me worried, though it seems to be extracting the same amount of data.

Comparing https://github.com/fireeye/flare-floss/tree/separate_extract_context to this branch's code.
Finished execution after 12.099057 seconds		      |	Finished execution after 16.143504 seconds
Finished execution after 9.053385 seconds		      |	Finished execution after 9.404850 seconds
Finished execution after 3.749981 seconds		      |	Finished execution after 2.427076 seconds
Finished execution after 6.816325 seconds		      |	Finished execution after 1.918424 seconds
Finished execution after 7.430469 seconds		      |	Finished execution after 6.666122 seconds
Finished execution after 2.113906 seconds		      |	Finished execution after 1.318399 seconds
Finished execution after 10.317241 seconds		      |	Finished execution after 8.009269 seconds
Finished execution after 4.846394 seconds		      |	Finished execution after 3.019059 seconds
Finished execution after 1.175957 seconds		      |	Finished execution after 0.327849 seconds
Finished execution after 0.221410 seconds		      |	Finished execution after 0.091995 seconds
Finished execution after 0.515665 seconds		      |	Finished execution after 0.299789 seconds
Finished execution after 2.171128 seconds		      |	Finished execution after 1.023689 seconds
Finished execution after 0.200053 seconds		      |	Finished execution after 0.132735 seconds
Finished execution after 0.466327 seconds		      |	Finished execution after 0.325200 seconds
Finished execution after 1.406480 seconds		      |	Finished execution after 1.582044 seconds
Finished execution after 0.230163 seconds		      |	Finished execution after 0.271163 seconds
Finished execution after 0.095234 seconds		      |	Finished execution after 0.108953 seconds
Finished execution after 0.818630 seconds		      |	Finished execution after 0.176135 seconds
Finished execution after 12.667251 seconds		      |	Finished execution after 9.929335 seconds
Finished execution after 6.102029 seconds		      |	Finished execution after 8.580881 seconds
Finished execution after 8.236292 seconds		      |	Finished execution after 6.662575 seconds
Finished execution after 4.615740 seconds		      |	Finished execution after 3.195896 seconds

looks good. should we merge?


The implementation ignores URLs on different subdomains due to urlIsLegal implementation.

The current implementation assumes that a URL is legal only if the sitemap URL is a substring of the URL. This doesn't hold for some websites such as nytimes.com in which the sitemaps are actually on a different subdomain and the urls within those sitemaps points to pages on the main domain.
Snippet from nytimes.com robots.txt:

Sitemap: http://spiderbites.nytimes.com/sitemaps/www.nytimes.com/sitemap.xml.gz
Sitemap: http://www.nytimes.com/sitemaps/sitemap_news/sitemap.xml.gz
Sitemap: http://spiderbites.nytimes.com/sitemaps/sitemap_video/sitemap.xml.gz

Perhaps using the domain name, not the whole sitemap URL can fix this, Google Guava InternetDomainName which could help in extracting domain names, or maybe using simple Regex!.

From http://www.sitemaps.org/protocol.html#location:

The location of a Sitemap file determines the set of URLs that can be included in that Sitemap. A Sitemap file located at http://example.com/catalog/sitemap.xml can include any URLs starting with http://example.com/catalog/ but can not include URLs starting with http://example.com/images/.

and then:

Note that this means that all URLs listed in the Sitemap must use the same protocol (http, in this example) and reside on the same host as the Sitemap. For instance, if the Sitemap is located at http://www.example.com/sitemap.xml, it can't include URLs from http://subdomain.example.com.

So it seems like what you're asking for is support for invalid/broken sitemaps, yes?
Dealing with invalid data (robots.txt, etc) is definitely something we do a lot of, but I think this would want to be handled via a "lenient" vs. "strict" setting.

Actually, nytimes are ok, thier sitemap isn't broken.
You can have in your sitemap file, "cross-domain" urls ONLY IF you
authorize those domains in your robots.txt file.
This specific case is mentioned in the same link under the Sitemaps & Cross
Submits subtitle.
This is a feature we don't support yet (although we should consider it
IMHO), it involves parsing the robots.txt file when parsing a sitemap.
On Sun, Jun 7, 2015 at 5:03 AM, Ken Krugler<EMAIL_ADDRESS>wrote:

From http://www.sitemaps.org/protocol.html#location:
The location of a Sitemap file determines the set of URLs that can be
included in that Sitemap. A Sitemap file located at
http://example.com/catalog/sitemap.xml can include any URLs starting with
http://example.com/catalog/ but can not include URLs starting with
http://example.com/images/.
and then:
Note that this means that all URLs listed in the Sitemap must use the same
protocol (http, in this example) and reside on the same host as the
Sitemap. For instance, if the Sitemap is located at
http://www.example.com/sitemap.xml, it can't include URLs from
http://subdomain.example.com.
So it seems like what you're asking for is support for invalid/broken
sitemaps, yes?
Dealing with invalid data (robots.txt, etc) is definitely something we do
a lot of, but I think this would want to be handled via a "lenient" vs.
"strict" setting.
—
Reply to this email directly or view it on GitHub
https://github.com/crawler-commons/crawler-commons/issues/81#issuecomment-109673797
.

Hi Avi - thanks for the ref...cross submits were added after the original sitemap spec, so I didn't know about them.
I'm still a bit confused about the nytimes.com case. Based on this:

To submit Sitemaps for multiple hosts from a single host, you need to "prove" ownership of the host(s) for which URLs are being submitted in a Sitemap

The "Sitemaps & Cross Submits" is for when you want to have a combo sitemap (on say the www.nytimes.com domain) that has URLs for spiderbites.nytimes.com. So then you'd modify the spiderbites.nytimes.com/robots.txt file to have a sitemap URL that points to www.nytimes.com, which "proves" that you have control over the spiderbites.nytimes.com domain, and thus it's OK to have those URLs in a sitemap on another domain.
But here the case is different - it's not about having a combo sitemap file, it's about having distributed sitemaps on subdomains that can be found from a parent robots.txt.
Is there another section of the spec that covers this case?
Also note that parsing the robots.txt file to validate the sitemap isn't sufficient for the combo sitemap case - you need to get the robots.txt files from all of the "other" domains, and verify that they have references to sitemaps on the domain with the sitemap that's being parsed.

Inline
On Sun, Jun 7, 2015 at 6:32 PM, Ken Krugler<EMAIL_ADDRESS>wrote:

Hi Avi - thanks for the ref...cross submits were added after the original
sitemap spec, so I didn't know about them.
I'm still a bit confused about the nytimes.com case. Based on this:
To submit Sitemaps for multiple hosts from a single host, you need to
"prove" ownership of the host(s) for which URLs are being submitted in a
Sitemap
The "Sitemaps & Cross Submits" is for when you want to have a combo
sitemap (on say the www.nytimes.com domain) that has URLs for
spiderbites.nytimes.com. So then you'd modify the
spiderbites.nytimes.com/robots.txt file to have a sitemap URL that points
to www.nytimes.com, which "proves" that you have control over the
spiderbites.nytimes.com domain, and thus it's OK to have those URLs in a
sitemap on another domain.

[Avi] Exactly

But here the case is different - it's not about having a combo sitemap
file, it's about having distributed sitemaps on subdomains that can be
found from a parent robots.txt.
Is there another section of the spec that covers this case?

[Avi] It is the same case and the same spec, just the perspective is the
opposite one.
In nytimes case, they wanted to have sitemaps on the subdomains pointing to
the main site, so they added the Sitemap ref on the main domain to point to
the subdomains for authentication purposes, now the subdomains can point to
urls on the main site.
Their scenario is legal it just isn't the regular one, one would expect the
main site to have sitemaps pointing to urls on its subdomains but they
decided to do the opposite thing and have sitemaps on subdomains pointing
to the main site.
I assume they have their SEO calculations there and their machine generated
sitemaps made a mess of things.

Also note that parsing the robots.txt file to validate the sitemap isn't
sufficient for the combo sitemap case - you need to get the robots.txt
files from all of the "other" domains, and verify that they have references
to sitemaps on the domain with the sitemap that's being parsed.

[Avi] You are right.
And there is another limitation - every sitemap can contain URLs to a
SINGLE domain only! (if it is authenticated then it can contain URLs to the
other domain but only to that domain):
When a particular host's robots.txt, say http://www.host1.com/robots.txt,
points to a Sitemap or a Sitemap index on another host; it is expected that
for each of the target Sitemaps, such as
http://www.sitemaphost.com/sitemap-host1.xml, all the URLs belong to the
host pointing to it. This is because, as noted earlier, a Sitemap is
expected to have URLs from a single host only.

—
Reply to this email directly or view it on GitHub
https://github.com/crawler-commons/crawler-commons/issues/81#issuecomment-109765068
.

Insightful.
@kkrugler  I knew about the "strict" flag, but the URLs seemed legal for me, the sitemaps are included in the nytimes.com/robots.txt, and it seemed like they the whole (spiderbytes.nytimes.com) is just an index with urls pointing to every article on the nytimes.com. I assumed they're trying to take the load of serving all those sitemaps.
I came across this problem while building a crawler, and I was actually running unit tests against the nytimes sitemap (the sitemap is big enough), for memory usage tests.
Thank you all, and I've forked the repository, and I'll look into following @Chaiavi solution's of adding the robots.txt check to the implementation. Maybe having the robots.txt parser to generate a set of whitelisted domains that can then be injected into the sitemap parser. However, for now, I'll be using the 'lenient' mode.

Any objections to closing this one as we have issue#85 already ?

Closing as this is covered by issue https://github.com/crawler-commons/crawler-commons/issues/85


MQTT Server not ready when HA trying to connect after a reboot causing MQTT entities not availables.

Problem/Motivation
Reference: https://github.com/hassio-addons/addon-mqtt/issues/27 (Closed issue and refer to add here)
Receiving this error every time after a host reboot: Error talking to MQTT: The client is not currently connected. This cause all MQTT entities to be in yellow and not available.
If I do a HASS restart after a host reboot or power on, it work connect correctly.
Host:
VirtualBox -> VM 4 Cores - 4 GB RAM / SSD drive
HASSIO: 0.89.2 Not related to this version as It been doing this for many old version.
Expected behavior
I believe HA should wait until MQTT service is up before connecting or try multiple time.
Actual behavior
I suspect HA is trying to connect to the MQTT service when it is still loading.
Steps to reproduce

Install MQTT Server Add-ons and configure it
Config:

{
  "log_level": "info",
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
  "web": {
    "enabled": true,
    "ssl": false
  },
  "broker": {
    "enabled": true,
    "enable_ws": true,
    "enable_mqtt": true,
    "enable_ws_ssl": false,
    "enable_mqtt_ssl": false,
    "allow_anonymous": true
  },
  "mqttusers": [
    {
      "username": "xxxxx",
      "password": "xxxxx",
      "readonly": false,
      "topics": [
        "#"
      ]
    }
  ]
}

Configuration.yaml:
# MQTT Connection
mqtt:
  broker: a0d7b954-mqtt
  username: !secret mqtt_username
  password: !secret mqtt_password
  client_id: home-assistant

Setup some MQTT light in Configuration.yaml (example below)

# Milight Type: MQTT_JSON
  - name: "Office lamp"
    platform: mqtt
    schema: json
    #                                   ________________ Device ID
    #                                  |        ________ Device Type
    #                                  |       |     ___ Group ID
    #                                  |       |    |
    #                                  v       v    v
    command_topic: "milight/commands/0x72C6/rgb_cct/1"
    state_topic: "milight/states/0x72C6/rgb_cct/1"
    qos: 1
    optimistic: false
    retain: true

    #-- Bulb configuration
    brightness: true
    rgb: true
    color_temp: true

    # HA missing scale temp feature. On todo list...
    #color_temp_min: 0
    #color_temp_max: 100

    # Milight GW command is "saturation", so white_value doesn't take effect. On todo list...
    # white_value: true

    effect: true
    #Effect list 0=Full, 1=White, 2=RGB, 3=Full hard, 4=Disco, 5=Red Flash, 6=Green Flash, 7=Blue Flash, 8=White Flash]
    effect_list: [0, 1, 2, 3, 4 ,5, 6, 7, 8]
    #effect_speed: true # Milight hub support it. HA missing this feature.

    # Transistion: Milight bulb doesn't support it :(. Need workaround to be done via software on HA or Milight GW)
    #transition: true

Make sure your MQTT connection work and MQTT light is working fine.
Reboot host
Your MQTT light will appear all yellow with "Entity not available: xxx"

Proposed changes
Based on the documentation of MQTT on Home Assistant, I suspect that the MQTT Addon is missing the following:

If you are running a Mosquitto instance on the same server as Home Assistant then you must ensure that the Mosquitto service starts before Home Assistant. For a Linux instance running Systemd (Raspberry Pi, Debian, Ubuntu and others) then you should edit the file<EMAIL_ADDRESS>as root (e.g., sudo nano<EMAIL_ADDRESS>and add the Mosquitto service: [Unit] Description=Home Assistant After=network.target mosquitto.service

Same here, system : Hassio on HassOs, running vmdk esxi

Same here!
Hassio running on a VM using Proxmox as the hypervisor.
What I do is, I shutdown the VM before a HA update, make a snapsnot and start it back up, let the update form HA run and then make another snapshot (after shutdown).
Its just a nice way of staying safe from any major update problems.
But this issue means that I always have to restart homeassistant one more time after a reboot of the VM.
Please add an option to the MQTT configuration to have HA retry its connection to the broker every x minutes if the last connnection was not successful!!

This should be fixed by #22540


Added DDD brisbane

Hi @glav I've also added the conference to our site: https://github.com/tech-conferences/conference-data/pull/4681
https://confs.tech/

Nice! Thanks @cgrail


Chart

Fixes #187
Shouldn't be merged yet because it's still WIP (some tests are missing) – although the code itself is working.

@toothstone check out the new graph features at sipa-testing, feedback for the features would be nice!

Comparison:
Before

After

Static scaling looks great, pop-up infos are a nice extra. Good job :D


License may not be properly implemented?

Please reference the instructions from the license itself on how to apply it to your work. My impression is that you are not correctly following this at this time and technically it is unclear who the copyright is held by.
https://github.com/raphaelquast/EOmaps/blob/71361494f5af1fb6674c9862339d0e40946f5e89/LICENSE#L623-L674

I also want to highlight a note from @jhkennedy in https://github.com/pyOpenSci/software-submission/issues/138#issuecomment-1858583110 that I second greatly:

Using a copy-left license like GPL means, for me, I will happily use and contribute to EOMaps, but I will be unable to build upon it as I'm obligated to use a permissive use license in my work. This is fine for EOMaps for the most part, I think, as it's more of an end-user package than a library.

Major +1 from me.

I want to ensure that you have deeply thought about your choice of license here and feel confident in using and applying that license to your work as well as understanding the tradeoffs that license may provide:

If no to the above, then I'll do my best to provide you with support and resources to make that decision with confidence. A good place to start is PyOpenSci's licensing guide here: https://www.pyopensci.org/python-package-guide/documentation/repository-files/license-files.html
If yes to the above, then I'll do my best to help ensure you are properly applying that license to your work

Thank you very much for bringing this up!
I agree that licensing has to be improved and that GPL might not be the best choice for EOmaps due to the "same license" clause.
I will check the implications of switching to MPL or maybe LGPL and report back once I have a good idea of how to continue!

@banesullivan I spent some time investigating details of licenses and their implications and there are some remaining questions where I was not able to find a definitive answer:

To what extent am I responsible to choose a license that is compliant with the licenses of my dependencies?
Considering the fact that one of the current core dependencies (e.g. cartopy) is licensed as LGPL would you recommend to just switch to LGPL or do you think it is still preferable (and legally OK) to still go with a more permissive license such as MIT or BSD? (what would be the benefit of this if the package still contains an LGPL licensed dependency ...especially since (as noted by @jhkennedy), EOmaps is not really intended as a "library" but rather as a end-user package...)

... or in other words... would switching to a permissive license somewhat imply a "long-term goal" to get rid of any dependencies with more restrictive licenses?

Any insights from your side on this would be highly appreciated!

This stripps the question for the EOmaps license down to using either MIT or also BSD-3.
@banesullivan do you have any comments concerning which of the 2 licenses is more suitable?

I think MIT and BSD-3 are both fantastic, permissive licenses and either would be a solid choice here.
In practice, I don't think there would be much difference between these two licenses here. In my mind, I typically equate the MIT and BSD 3 clause licenses, but since I'm not a lawyer/expert, I'd like to point you to this great answer: https://opensource.stackexchange.com/a/582
Typically, I go with the MIT license for everything, but in this case I think following the precedent set by the core upstream dependency of using BSD-3 would be a sound choice here.

Thanks for your insights on this... they very much align with my opinion!
I'll start to implement relevant changes to switch to BSD-3 as soon as possible!
Since there have been no substantial contributions so far (only 1-liners and typos and most of them are no longer in the code),
I don't think it's required to get permission from the contributors to perform the license-change.

There is now a PR to implement the switch from GPL to BSD-3 (#220)
@banesullivan It would be awesome if you could have a look and let me know if you see any issues with the way I implemented the license there.

@banesullivan The change to BSD 3-clause has now been merged into the dev-branch to be included in the upcoming v8.0 release!
In addition I also added a section on Licensing to the FAQ to clarify that some upstream dependencies
have more restrictive licensing that might need to be considered more carefully (https://eomaps.readthedocs.io/en/dev/FAQ.html#licensing-and-redistribution), e.g.:

required cartopy dependency is still LGPL (but will be BSD soon)
optional Qt / PyQT gui framework bindings offers flexible licensing but requires GPL/LGPL for open-source projects

The good thing is that once the switch to BSD for cartopy is released, all core dependencies of EOmaps are BSD-compatible.
In my opinion this should address any Licensing concerns for EOmaps mentioned in this issue.
Please let me know if you see any further issues that should be addressed. (otherwise, I think this can be closed)

This all looks excellent and sounds good to me! Glad you found a compatible license and are happy with the implementation!


Issue #249 Add Instance IP to host /etc/resolv.conf

This will allow us to add instance IP on fly so user doesn't
need to do it manually.
As preflight check we are also changing the permission for
host /etc/resolv.conf file to provide RW access to current user.

retest this please.

retest this please

Will review ASAP
On Sat, Jun 22, 2019, 15:42 Anjan Nath<EMAIL_ADDRESS>wrote:

@anjannath approved this pull request.
LGTM, apart from some minor comments
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/code-ready/crc/pull/254?email_source=notifications&email_token=AAAAOZSYIORUYXDPEAUKNY3P3XJVRA5CNFSM4HZOR4WKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB4K4UHQ#pullrequestreview-253086238,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAAOZTCPMRM2XSUNRVGFNTP3XJVRANCNFSM4HZOR4WA
.


Update release notes for CVEs that have left embargo

Pull request to review CVEs leaving embargo as the process is happening. This must merge before the CVE database can be updated (which is the official publication).

I'd suggest you to squah commits fixing issues in in this pr, like doc: security: Make link names unique if you want to have one commit per issue. I'm fine in have only one commit too.

@nashif @kestewart I think we're ready to go with this, if either of you wanted to review them. Once this merges, I can then push the CVE changes to Mitre, and we will be public with the CVEs.

Have you confirmed its ok to reference NCC's numbers?

@kestewart Yes.


Bump Flutter dependencies

Generated with flutter update-packages --force-upgrade
Updates to latest DWDS, DDS, and Unified Analytics (among others)

Closing in favor of https://github.com/flutter/flutter/pull/147250


ApiView support for paragraphs in comments

You can't have paragraphs in comments. I think this boils down to stripping out newlines in comments. If we preserve the new lines, it allows commenters to break thoughts into paragraphs which would help with certain types of comments. (just to clarify - multiple newlines get squashed)

Link to recent discussion on this in the APIView teams channel: link

I'll take on this issue @JonathanGiles


Default values description for builders

Closes #182
@artem-zinnatullin PTAL

I tried to create one. @artem-zinnatullin any thoughts?

Okay, merging this

Oh shit, I didn't see changes, I thought you would create separate PR for that, reviewing

Awesome, just tried to write get().cursor() and I see how it helps avoid non-passing query in compile time!
Great job! Hope to see PRs for each Builder! (please make separate PR for each Builder, it'll be easier to review them)

Yes sir

Sir?
пн, 6 апр. 2015, 2:54, Dmitrii Nikitin<EMAIL_ADDRESS>
Yes sir
—
Reply to this email directly or view it on GitHub
https://github.com/pushtorefresh/storio/pull/217#issuecomment-89870121.

it was a joke, passed=)

Lol, okay. GitHub is for serious people, no jokes!
пн, 6 апр. 2015, 2:59, Dmitrii Nikitin<EMAIL_ADDRESS>
it was a joke, passed=)
—
Reply to this email directly or view it on GitHub
https://github.com/pushtorefresh/storio/pull/217#issuecomment-89870678.


TSTerm - Annual Review

@JoeNemo Can you be ready to do this at the 7/27 TAC meeting?
Guidelines at https://tac.openmainframeproject.org/process/review_cycle.html

@joenemo Please confirm for 8/10 TAC meeting

8/10 is good.  I am on vacation now.  Sorry for slow response.

No worries - we will slot you in. Thanks @JoeNemo

@JoeNemo are you ready for this tomorrow 9/28?

Here's some agenda items for the review:

NPM Packaging test
Electron App distribution
Zowe Adoption (v3)
Mainframe education use
UI engineer for dialogs/menus
Features

like Attention/AID button keypad
color editing
key macros

Meeting notes:
Sean sez:

where can we put this for public download and review?
How can the config screens be simple and clean for initial use?
need UI designed/reviewed
perhaps claim to be above x3270 (especially if true)

Lionel Dyck Asked if TLS supported?  (answer is yes).
Lionel wants IND$FILE support.  (answer is not yet, but should be there)
Screen print, too.
Other file xfer protocols like FTP, SFTP.

Project renewed 10/16/2023 by email TAC vote

@JoeNemo We have TSTerm scheduled for an annual review during the TAC meeting on September 12, 2024 at 1:00p ET - are you available for this?

Review to be rescheduled - proposed 10/24


is it possible to add a version with multiple controlnet?

i am asking as we can add multiple controlnet with canny as well as depth to have better result

Have you tried multi-controlnet in Comfy with these models and have you had good results?

I am very new to this, is it possible if you can give me a few pointers on how to run this repo using comfy?

got it there is a submodule

Essentially, I don't think these controlnet weights are good enough for multi yet

we have done something similar for sdxl and have got good result, which is why I have asked.
But we have some good result with the lora and canny
Will patiently wait for future iteration of this.

thanks for looking into i am testing this with the web based comfy ui on fal and hopefully get the multi controlnet to work!


Laravel 6 Support

Please provide an update to support Laravel 6. Thanks.

I think it works there cause it worked for me


Create SSL certificates using Terraform

There are quite a lot of @MancunianSam's Keycloak changes in the diff for this PR. Is that intentional, or are there merge conflicts to sort out? Sam, would you mind reviewing this to check that your changes are OK to go in?


svg_loader: fix text nodes issue

Since the text node doesn't get pushed onto the loader's stack, closing the text node incorrectly popped an element from the stack (if one was present). This could result in elements that were supposed to have that element as a parent being rendered incorrectly or not being rendered at all.
@Issue: https://github.com/thorvg/thorvg/issues/2706
before:

after:

samples from the issue: https://github.com/thorvg/thorvg/issues/2706

 ;-)
SVG icon_looks_left_text.zip
:+1:

      <text x="40" y="30" font-family="serif" fill="black" font-size="20" >
         LOOK <tspan fill="red" >?</tspan> LEFT
      </text>

// [L] SVG (../thorvg-git/src/loaders/svg/tvgSvgLoader.cpp 3395): Unsupported elements used [Elements: tspan]

Ideally text would skip the unsupported tags, now it outputs "LEFT". But this is,
I think, an irrelevant issue to this one.

Ideally text would skip the unsupported tags, now it outputs "LEFT". But this is, I think, an irrelevant issue to this one.

thx for this comment :) applied.
no way to separate these two commits, since the second one doesn't work without the previous one.

the existing character spacing shouldn't be removed?

let's consider this as a separate issue (https://github.com/thorvg/thorvg/issues/2710). I need to check which characters should be ignored and which should not. For example, from what I've tested, spaces remain, but only single ones, etc

I also tried "Unsupported elements used [elements: textPath]" and some other tags,
LGTM

the existing character spacing shouldn't be removed?

let's consider this as a separate issue (#2710). I need to check which characters should be ignored and which should not. For example, from what I've tested, spaces remain, but only single ones, etc

@mgrudzinska Hello, I applied only this patch for hotfix. Please update the second patch.

Any idea what could be wrong with the disabled font-support?
(I just did a quick check in the Godot master repo):

@capnm I'm a bit confused about the context :) Does the current PR fix that issue?

Any idea what could be wrong with the disabled font-support?
(I just did a quick check in the Godot master repo):

@capnm I'm a bit confused about the context :) Does the current PR fix that issue? or an another issue ThorVG needs to deal with it?

I added now a comment in the original bug report. Ideally, we should try to imitate Godot's SVG access in some ThorVG example. By running the debugger inside Godot, many TVG debug symbols are optimized out... :(
https://github.com/godotengine/godot/issues/96491#issuecomment-2333562665

@hermet I can now test the bug in the TVG Viewer and have created a local issue. https://github.com/thorvg/thorvg/issues/2715

@mgrudzinska, could you please pick any resource that addresses the bug fixed by this commit?

@mgrudzinska, could you please pick any resource that addresses the bug fixed by this commit?

added in the pr description.

rebased

https://github.com/thorvg/thorvg/commit/bf9f5ab1c5a7a56dcf0d46943dfe024c39aaaacd


Pace not working in IE9/IE8

The current Pace version doesn't work in IE9/8 (like it states) because it's using transforms.
In IE9 the transforms result in an empty style=" ". (This is with IE11 set back to IE9 via debugger).
For now I'm using the legacy branch...

Can confirm, Pace is not functional in IE9.

Not working in IE9 Standard Mode +1

Not working in IE9 at all +1

Confirmed not working in IE9

Because of the css transform 3d it doesn't work in old IE. Perhaps we could do some conditionals if not supported to do can width.
On May 15, 2015 8:25:10 PM EDT, Jay Kan<EMAIL_ADDRESS>wrote:

Confirmed not working in IE9

Reply to this email directly or view it on GitHub:
https://github.com/HubSpot/pace/issues/204#issuecomment-102553389

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

@Friss, I'm currently using this:
var paceUrl = "path/to/pace.min.js";
var paceLegacyUrl = "path/to/pace.legacy.min.js";

if( Modernizr.csstransforms3d === false ) {
  // If we don't have CSS Transform 3D (IE. IE8-9) use legacy Pace
  paceUrl = paceLegacyUrl;
}

window.paceOptions = {
  // Settings here
  // ...
}

// Load the script
$.getScript( paceUrl );


Conditional display of analysis models in UI

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/763
Originally created by @derek-knox on 2019-07-05 14:10:02

Prevent user from installing analysis models that have nothing to do with their ELT

[ ] use namespace to update Analyze UI with proper models (https://gitlab.com/meltano/meltano/issues/751#note_188829423)

View 4 previous comments from the original issue on GitLab


Port to Godot 2.0

Opening the project as is in Godot 2.0 kind of works already, though by playing around I've noticed a few issues:

some scenes seem to have lost some of their content, like enemies/explosion.xml
some functions are missing so some levels won't load due to API breakage
some tiles seems to have a bad offset, probably due to an engine bug that was recently fixed and was likely there from the beginning

All in all nothing too hard to handle, but we'll have to be cautious and do it right, especially so that we don't lose data. As the current code was seemingly developed on Godot pre-1.0, I propose the following:

With Godot 1.0, open the project and check how it behaves. If it seems better, resave all scenes using Godot 1.0 to update their contents, and check the git diff for each file to ensure that no information is lost (like animations, etc.)
Do the same with Godot 1.1
Do the same with Godot 2.0

Once all this scene format upgrade has been done, we can start considering actually fixing the API changes, tilesets and maybe port the scenes files to the TSCN format.

Is that necessary? I would say try opening them with 2.0 and replace the
missing assets.. Even if everything worked out of the box, it's likely that
most scenes will require assets to be changed or remade, so it's not worth
it to go through all those steps for every scene I think..
On 3 February 2016 at 19:14, Rémi Verschelde<EMAIL_ADDRESS>wrote:

Opening the project as is in Godot 2.0 kind of works already, though by
playing around I've noticed a few issues:

some scenes seem to have lost some of their content, like
enemies/explosion.xml
some functions are missing so some levels won't load due to API
breakage
some tiles seems to have a bad offset, probably due to an engine bug
that was recently fixed and was likely there from the beginning

All in all nothing too hard to handle, but we'll have to be cautious and
do it right, especially so that we don't lose data. As the current code was
seemingly developed on Godot pre-1.0, I propose the following:

With Godot 1.0, open the project and check how it behaves. If it
seems better, resave all scenes using Godot 1.0 to update their contents,
and check the git diff for each file to ensure that no information is
lost (like animations, etc.)
Do the same with Godot 1.1
Do the same with Godot 2.0

Once all this scene format upgrade has been done, we can start considering
actually fixing the API changes, tilesets and maybe port the scenes files
to the TSCN format.
—
Reply to this email directly or view it on GitHub
https://github.com/KOBUGE-Games/jetpaca/issues/2.

It might be overkill indeed, I'll try to experiment a bit more to see if we really lose data when using Godot 2.0 directly.
Actually it was when opening enemies/explosion.xml that I was under the impression that some metadata might be lost, as it doesn't show anything out of the box in the editor. But by having another look right now I've noticed that all the visual and audio effects are triggered by calling the explode() function :)
I'll try to go directly with 2.0 with then, and maybe just launch the original game with 1.0 just to compare and see if I spot regressions.

Fixed with #5 and later on with porting to TSCN. There were not as many issues as I had imagined in the end :)

What about to 3.0? It would be nice if Jetpaca could serve as a "What Godot can do" demo game.

https://github.com/KOBUGE-Games/jetpaca/tree/godot-3-port


No Sound over HDMI

Hello.
I was trying this build on my raspberry 3b+ and none sound over HDMI cable to my TV Samsung.
I tried mount partition with the config.txt and commented the hdmi_driver=2 parameter with no success. Only Jack audio is working.
Could you please tell me what to do to try?
Thanks you.

For some reasons, the sound driver of Rpi3 isn't compatible with CRAS. The default output mode is "auto" which can't output to either HDMI or headphone. So, we wrote a configuration file to force to output channel to the headphone jack. To change it to HDMI, you need to edit the file at /etc/init/force_audio_output_to_headphones.conf. There also contains a message to how to switch between two channels.

Can you please point me to a guide which describes how to access a shell within Chromium OS to edit that file? I simply just downloaded the image to an sd card and booted it with RPi3+, didn't build it from source. Is not possible in that case?

login
Ctrl-Alt-T open a shell tab
type shell to run bash
Modify the file

$ sudo mount -o remount,rw /
$ sudo vi /etc/init/force_audio_output_to_headphones.conf

Thanks, worked like a charm. As someone starting from scratch, I found this, together with other two issues (issues/9 and issues/10) really useful to get started - would be nice to persist these somewhere for others before they disappear from the issues.

Hello I have the same Issue with my Pipo x8 (z3637f intel atom)  I got no sound hdmi.  I tried to find the file you mentioned to edit it but I could’nt find it in the iso file

Hi, whatever I set 2 or 0 the sound always headphones. No HDMI audio. Any idea?

login
Ctrl-Alt-T open a shell tab
type shell to run bash
Modify the file

$ sudo mount -o remount,rw /
$ sudo vi /etc/init/force_audio_output_to_headphones.conf

hello
I try to enter with sudo but it tells me, ¨we trust have ..... ¨ and asks for my password.
How can I give write permission?


python310Packages.azure-mgmt-trafficmanager: 1.0.0 -> 1.1.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.azure-mgmt-trafficmanager is: This is the Microsoft Azure Traffic Manager Client Library
meta.homepage for python310Packages.azure-mgmt-trafficmanager is: https://github.com/Azure/azure-sdk-for-python
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.1.0 with grep in /nix/store/k12psch5prx87j8j4jjkv5hw1rwh6hbm-python3.10-azure-mgmt-trafficmanager-1.1.0
found 1.1.0 in filename of file in /nix/store/k12psch5prx87j8j4jjkv5hw1rwh6hbm-python3.10-azure-mgmt-trafficmanager-1.1.0

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
azure-cli
python310Packages.azure-mgmt-trafficmanager
python311Packages.azure-mgmt-trafficmanager

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/k12psch5prx87j8j4jjkv5hw1rwh6hbm-python3.10-azure-mgmt-trafficmanager-1.1.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.azure-mgmt-trafficmanager https://github.com/r-ryantm/nixpkgs/archive/3926807ec06120d29f9a46e44d172c73b617df8a.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/k12psch5prx87j8j4jjkv5hw1rwh6hbm-python3.10-azure-mgmt-trafficmanager-1.1.0
ls -la /nix/store/k12psch5prx87j8j4jjkv5hw1rwh6hbm-python3.10-azure-mgmt-trafficmanager-1.1.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

azure-cli

2 packages built:

python310Packages.azure-mgmt-trafficmanager
python311Packages.azure-mgmt-trafficmanager

Maintainer pings
cc @mwilsoncoding for testing.

@ofborg build azure-cli azure-cli.passthru.tests


An error occurred: 'list' object is not an iterator

After the last update, my HA logs show the following:
2023-06-26 13:01:20.559 ERROR (MainThread) [pymee] An error occurred: invalid state
2023-06-26 13:01:25.918 ERROR (MainThread) [pymee] An error occurred: 'list' object is not an iterator
The second line gets repeated then every 5 seconds for about 20 minutes
Not sure yet where it comes from - I keep investigating.

The debug log from pymee shows (I truncated the {'all': message, since it may contain personal information):
2023-06-26 16:58:04.909 ERROR (MainThread) [pymee] An error occurred: invalid state
2023-06-26 16:58:09.930 INFO (MainThread) [pymee] Opening websocket...
2023-06-26 16:58:09.957 INFO (MainThread) [pymee] Connection to websocket successfull
2023-06-26 16:58:09.960 DEBUG (MainThread) [pymee] PING!
2023-06-26 16:58:10.078 DEBUG (MainThread) [pymee] {'all': {'users': [{'id': 1, 'username': ...
2023-06-26 16:58:10.149 ERROR (MainThread) [pymee] An error occurred: 'list' object is not an iterator
2023-06-26 16:58:15.154 INFO (MainThread) [pymee] Opening websocket...
2023-06-26 16:58:15.189 INFO (MainThread) [pymee] Connection to websocket successfull
2023-06-26 16:58:15.191 DEBUG (MainThread) [pymee] PING!
2023-06-26 16:58:15.323 DEBUG (MainThread) [pymee] {'all': {'users': [{'id': 1, 'username': ...
2023-06-26 16:58:15.399 ERROR (MainThread) [pymee] An error occurred: 'list' object is not an iterator
2023-06-26 16:58:23.831 INFO (MainThread) [pymee] Opening websocket...
2023-06-26 16:58:24.236 INFO (MainThread) [pymee] Connection to websocket successfull
2023-06-26 16:58:24.245 DEBUG (MainThread) [pymee] PING!

In the received message the "options" collections look all correct and in other cases do not lead to this error.
The "invalid state" error followed by a new connection to websockets makes me think it might be related to frequent disconnects from Homee I get in Homeassistant.
unfortunately I'm not able to reprocduce this error in my devcontainer where I could debug.
A first idea to cope with this error is to change model.py to following:
import logging

_LOGGER = logging.getLogger(__name__)

class HomeeAttributeOptions:
    def __init__(self, attributeOptions):
        try:
            iterator = iter(attributeOptions)
        except TypeError:
            _LOGGER.warn("options are not Iterable: " + attributeOptions)
            raise TypeError("options are not Iterable.")
        else:
            self._data = attributeOptions

After downgrading to pymee 1.7.1, the error still occurs - so it does not seem to be linked to the latest additions.

I'm starting to get another error at the same time, the above happens:
2023-07-01 13:27:23.723 ERROR (MainThread) [homeassistant] Error doing job: Error on transport creation for incoming connection
Traceback (most recent call last):
File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 222, in _accept_connection2
await waiter
File "/usr/local/lib/python3.11/asyncio/sslproto.py", line 575, in _on_handshake_complete
raise handshake_exc
ConnectionResetError

I have the same issue, in that my log viewer is getting spammed with
ERROR (MainThread) [pymee] An error occurred: 'list' object is not an iterator

I was able to narrow it down to the
_update_or_create_relationships(self, data: dict)

function.
With try/except and logging I got:
2023-11-03 22:37:56.451 WARNING (MainThread) [pymee] Could not iterate over relationships: [{'id': 1, 'group_id': 1, 'node_id': 3, 'homeegram_id': 0, 'order': 0}, {'id': 2, 'group_id': 1, 'node_id': 9, 'homeegram_id': 0, 'order': 0}]
Most interestingly, the data which is logged IS iterable, so I don't know why it throws on the for/in call.
Will have to investigate further.
With the upcoming update however, the exception will be caught and at least the connection stays intact.
Not sure yet which side-effects it may have, that this update of the relationships is not done then.


Adding S3 list buckets

Issue #, if available:
#997
Description of changes:
Adding S3 list buckets public method
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-pDO66x4b9gEu
Commit ID: de062abd0dede990ad42fd25c1f137761c29b342
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-pDO66x4b9gEu
Commit ID: de062abd0dede990ad42fd25c1f137761c29b342
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-pDO66x4b9gEu
Commit ID: de062abd0dede990ad42fd25c1f137761c29b342
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Build fails

Calling pnpm build fails with type errors.
This is due to an issue in tailwind material react (https://github.com/creativetimofficial/material-tailwind/issues/427)

Fixed by downgrading @types/react


Method Illuminate\Database\Eloquent\Collection::delete does not exist.

Laravel Version: 5.6
PHP Version: 7.2
Database Driver & Version: mysql

Description:
Providing a delete method to eloquent collection would be very helpful.
User::where('in_black_list', true)->get()->delete();

User::where(...) doesn't return a Collection, but a Eloquent query builder. Is this really the entire code snippet required to reproduce the problem?

@sisve Sorry! I forgot the get() method.

Just use ->each():
User::where('in_black_list', true)->get()->each->delete();

Or just User::where('in_black_list', true)->delete()

User::where('in_black_list', true)->get()->each->delete();

Helpful.
Thanks for your help.


fix: contentype to json

After upgrading hapi, something about how it handles content-type has changed, resulting in PUT-requests failing since they were sending the JSON as text/plain. The error was due to sending a JSON-stringified object to Joi-validation. Before it seems that hapi would be able to parse this into request.payload automatically, but not always? It's weird, as some endpoints (/editAppVersions, /editApp) did not need to parse the payload, but /editImage did? I don't really understand why. Any ideas @erikarenhill ?
Either way I feel that it's a good thing that the error was caught, as it shouldn't really have worked before.
EDIT: I found out why: joi@16 is no longer automatically converting strings to object or arrays, see "Array and object string coercion" in the release notes: https://github.com/hapijs/joi/issues/2037.
/editImage was not using joi-validation so that is why we needed to parse the input.

Note for self: Should setroutes.payload.allow to application/json, so by default we only allow json payloads. Multipart routes should already override this.


[mask_rom/e2e_tests] Testing behavior during manufacture

https://github.com/lowRISC/opentitan/pull/10548 does not test behavior during the manufacturing process and RMA. Tests should be added to exercise functionality related to manufacturing (e.g. bringup keys for manufacturing and RMA).

Fixed by #14577


Could not compile with newest github.com/prometheus/client_golang/prometheus

# github.com/uber/jaeger-lib/metrics/prometheus ../../../github.com/uber/jaeger-lib/metrics/prometheus/factory.go:143:12: cannot use hv.WithLabelValues(f.tagsAsLabelValues(labelNames, tags)...) (type prometheus.Observer) as type prometheus.Histogram in field value: 	prometheus.Observer does not implement prometheus.Histogram (missing Collect method)

It seems this project still use 0.8.0(a year and four months ago) version of github.com/prometheus/client_golang/prometheus

This repo depends on https://github.com/uber-go/tally which has pinned the older version of prometheus. Once https://github.com/uber-go/tally/issues/42 is resolved, we can go ahead and support newer versions of prometheus, however we'd still somehow have to maintain backwards compatibility.

0.8.0 is the latest official release (https://github.com/prometheus/client_golang/releases), so I don't see a problem here.

Same here:
vendor/github.com/uber/jaeger-lib/metrics/prometheus/factory.go:143:12: cannot use hv.WithLabelValues(f.tagsAsLabelValues(labelNames, tags)...) (type prometheus.Observer) as type prometheus.Histogram in field value:
        prometheus.Observer does not implement prometheus.Histogram (missing Collect method)

I'm using
[[constraint]]
branch = "master"
name = "github.com/prometheus/client_golang"

@beorn7 mentions over here that they "aim to keep tip of master branch always stable" as appose to relying on tags while its still pre v1.
I guess this is just one of those awkward stages where different people (rightly) have differing ideas about how and when to release software.

More explanation about the tagging/releasing/stable state of prometheus/client_golang has been added to the README.md here: https://github.com/prometheus/client_golang#important-note-about-releases-versioning-tagging-stability-and-your-favorite-go-dependency-management-tool

#42 solved this

Thanks @pavelnikolov


Clean workflows

Removing some unnecessary workflows
Will replace the misspelling one with Codespell once repo is a little cleaner #3
Will replace their custom black with pre-commit once the main purges are complete to minimize conflicts #4
Keeping two for now - the Chromatic (which uses the storybook? not quite sure what tests it runs though) and the CodeQL (which has something to do with security vulnerabilities, so want to confirm with @garrettmflynn if we need it or not)

Also, I wonder, does 'prettier' help you at all on the JS side @garrettmflynn? Is it just a linter or do you know if it's capable of auto-fixing style changes? I noticed there is a pre-commit for it: https://prettier.io/docs/en/precommit.html

I don't generally use Prettier myself, but it's both a linter and automatically updates code style on save. I'm agnostic to keeping it—though it could help with consistent styling.
As for Chromatic, I've never used it before. If you'd like to review frontend component changes easily outside of the context of the app itself, it might be worth keeping.

As for Chromatic, I've never used it before. If you'd like to review frontend component changes easily outside of the context of the app itself, it might be worth keeping.

Hmmm do you have examples/instructions on how that would actually be used in practice?
If you're unsure about it or don't think it's worth it for now, we can just remove it for simplicity and then look into adding it back once we learn more about it

I don't generally use Prettier myself, but it's both a linter and automatically updates code style on save. I'm agnostic to keeping it—though it could help with consistent styling.

OK good to know - we are all about consistent styling here at CatalystNeuro so we'll want to keep it. Though I'm going to look into including it in the pre-commit bot instead of this mysterious SODA bot that I don't think I ever gave permissions for lol

Sounds good!

Hmmm do you have examples/instructions on how that would actually be used in practice?
Honestly, I don't think Chromatic is worth it right now. Once we get down to finalizing the look and feel of the application, this'll become much more important. But first, we have to actually get something running in Storybook to compare changes...and I'd assume we're more focused on functionality and user flow than how much padding we'd like a section to have at the moment.

See this demo video from the Chromatic team to see how it works in action.


Intermittent test "Tooltip should render the information severity when selected and render the corresponding icon when true"

🐛 Bug Report
Saw error in a build on main:
Firefox 108.0 (Linux x86_64): Executed 1940 of 1950 (1 FAILED) (skipped 10) (30.739 secs / 25.882 secs)
TOTAL: 1 FAILED, 1939 SUCCESS

1) should render the information severity when selected and render the corresponding icon when true
     Tooltip
     Error: Value of display was unexpectedly empty in /tmp/_karma_webpack_676330/commons.js (line 47927)
isIconVisible@/tmp/_karma_webpack_676330/commons.js:47927:19
@/tmp/_karma_webpack_676330/commons.js:48045:16

💻 Repro or Code Sample

🤔 Expected Behavior

😯 Current Behavior

💁 Possible Solution

🔦 Context

🌍 Your Environment

OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]
Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox]
Version [e.g. 1.8.0]

Related, should render the default state when selected is failing in firefox:
https://github.com/ni/nimble/actions/runs/4661440580/jobs/8250719307?pr=1177#step:16:3923

It looks like any of the tests that call waitForIconVisibilityCheck() can fail this way. All that function does is call waitForUpdatesAsync() twice. I used to get this error consistently on Firefox until I added that second waitForUpdatesAsync().
I replicated one of these tests 3000 times and ran it a few times. It failed between 2-6 times per run (~0.1% failure rate). I then added a third waitForUpdatesAsync() call to waitForIconVisibilityCheck() and tried again. Couldn't get it to fail anymore. I kind of hate this solution, but it seems to address the problem somehow.

@m-akinc

but it seems to address the problem somehow

I disagree that it addresses the problem. We need a more robust solution then waiting 16ms * some random value (effectively what multiple waits is doing). I'm disabling the test in https://github.com/ni/nimble/pull/1180 to get main stable and put it with the rest of the failing firefox tests. But feel free to investigate further


Rendering artifacts first time playing animations, but not 2nd+ times

I'm just trying to run the demo code from the frontpage readme.
If I let the animation loop, then the artifacts are gone.
Linux
Nim 1.6.0
nanim default nimble & head

I have experienced this issue as well on the latest version, but I do not currently know why it is happening. It's a shame really since it hindered me a bit the latest time I wanted to make some animations as well.
I will investigate!