Feature request: Add Google Gemini AI model as an option

Make the Most out of Free Tier Plan: Add Google Gemini AI model as an option
Feature description
I would like to have the option to use Google's Gemini AI model instead of OpenAI's model when using shell-ai CLI programs. I think Gemini are arguably on similar league and more cheaper than OpenAI models (pro vs gpt-3.5-turbo), and it would be nice to have the choice of which model to use. This feature request also aims to avoid single point of failure due to reliance on one provider.
Possible solution and implementation
According to LangChain's docs, Google's Gemini is supported and integrated with their platform. I suggest adding a flag or an environment variable that allows users to switch between OpenAI and Google Gemini models when using shell-ai. For example, something like:
shai --model gemini "run terraform dry run thingy"
or
export SHELL_AI_MODEL=gemini
Alternatives considered
I have considered using other CLI tools that support Google Gemini, such as ShellGPT or AI-Shell, but I prefer the features and interface of shell-ai.
Additional context
Google Gemini is a family of multimodal large language models developed by Google DeepMind, serving as the successor to LaMDA and PaLM 2. It comes in three versions: Gemini Ultra, Gemini Pro, and Gemini Nano, each tailored for different applications and user needs. The Pro version has a generous free tier plan that may suit the needs of average users.

Nice idea! Would be great if a contributor could pick this up. I'm currently too busy unfortunately.

sorry late response, also a bit busy here. I will try to spend some time and put some effort to it, will let you know update soon!


LSP server doesn't recognise nested enums

AIDL allows enums to be nested under parcelables, but the LSP server doesn't accept it. E.g.:
package test;

parcelable TestWithEnum {
    enum TestEnum {
        ONE,
        TWO,
    }

    TestEnum number;
}

The syntax highlighter grammar also has a similar bug, I've filed https://github.com/google/aidl-language/issues/2 for that.

Thanks! As far as I know, it is part of the (larger) feature set of Android T (nested type declarations).


[Suggestion] Add support for thaumic Energistics essentia cells

I don't know if it's possible, but I would love if I could use essentia stored in my ME network without having to export essentia back into jars.

Added in <IP_ADDRESS>

Thank you very much!


allow meta/ctrl click on sidebar links

Currently, command/control click on sidebar links (to open page in a new tab) is broken due to how the default click event behavior is disabled. This makes for a good same-tab experience so that users don't get a page-load flash and can load quickly. This change checks for if the meta/ctrl keys are pressed and will fallback to browser controls

Can you change the commit message (conventional commit)? Thanks


Google CloudDNS

On https://cert-manager.io/docs/configuration/acme/dns01/google/ it says:

Note: If you have already added the Secret but get an error: ...due to error processing: error getting clouddns service account: secret "XXX" not found, the Secret may be in the wrong namespace. If you’re configuring a ClusterIssuer, move the Secret to the Cluster Resource Namespace which is cert-manager by default. If you’re configuring an Issuer, the Secret should be stored in the same namespace as the Issuer resource.

It seems to me that the secrets always need to be in the kube-system namespace (which honestly seems like a very strange choice of namespace.) This is when I am attempting to create a ClusterIssuer in the cert-manager namespace. I'm not sure if there's a way to configure the Cluster Resource Namespace?

cert-manager with ClusterIssuers will always use the secret from the namespace cert-manager is installed in, by default this is cert-manager
/triage support


Not capturing STDOUT/STDERR

When running certain PE files, the STDOUT/STDERR is not be captured approximately.
RunPE Version: Latest
OS: Windows 10
Build: OS Version: 10.0.19045 N/A Build 19045

Example running Mimikatz (latest):

[...snippet...]

As you can see, the execution of the PE works, however no output is pushed to the redirection pipe handlers.
I am using our C2 to wrap this functionality and when I try to get the output, there is nothing that is returned (https://github.com/nettitude/RunPE/blob/main/RunPE/Program.cs#L107)
I have also tried the CheekyBlinders (https://github.com/br-sn/CheekyBlinder) PE file, which results in the same issue of no output being collected.

Hi @aconite33 , thanks for the issue, however I'm not able to reproduce locally. Are you able to let us know:

What C2 you are using?
What version of mimikatz.exe are you using (git hash)
If you run it directly from the CLI does it work?

E.g.
runpe.exe C:\users\user\Downloads\mimikatz.exe coffee exit gives me

C2: Private C2 we develop
Latest version of Mimikatz
CLI has the same output/response when we wrap it into the C2.
@benpturner was able to get it working on his side, so I don't know if this is an 'us' issue, e.g., are we compiling it incorrectly?

I'm also unable to reproduce your issue locally (see my screenshot above) but I'll look into it a bit more, thanks for the quick response!

Just rebuilt latest mimikatz and runpe and still unable to reproduce, may need more details to get any further. I have push a couple of minor changes as well as updating the target framework so maybe double check none of that changed anything?

@m0rv4i
Just pulled the latest, built on Visual Studio 2022. Target Framework 4.5.1. Same Result

Also tried targeting .Net Framework 4.8

@m0rv4i same with Windows 11 (Enterprise, latest updates) Mimikatz (latest release), Visual Studio 2022.

Checking in again.
I tried pulling a fresh install Windows 10 Enterprise, latest updates.
Latest Mimikatz. I am still getting STDOUT/ERR issues. Screenshots below.
I am running QEMU Windows 10 Enterprise.
I also tried on a Windows 10 baremetal system and I still am getting the same results.
Is it possible to get a build from your guys end @m0rv4i so I can try to debug if it's on our side for compiling?

@m0rv4i Well, after a bunch of debugging I built Mimikatz on my own systems and now I get the expected result and execution. The release version of MImikatz (running the exe from GitHub) gets you the same result I have been having. I am unsure what the difference is, but that solves the Mimikatz question.
The still outstanding issue is CheekyBlinders. I am still getting the same result as the release exe of Mimikatz.  I'm wondering if there is some underlying config on those .exe's that is causing RunPE not to pick up the output.
I noticed that the standard pipe redirection might be the culprit to why these release versions of Mimikatz and locally compiled CheekyBlinders seem to not pick up on the output redirection.

This is super useful, thanks @aconite33 - I'm on site atm so not much bandwidth but will investigate when I get time (probably next week)

Sounds good. We are still investigating on our side, if we come up with anything I'll continue this horribly long thread that I started! :smile:

Anndddd boom goes the dynamite.

Any program you want to run within RunPE needs this changed when compiling with Visual Studio:
Project -> Properties -> C/C++ -> Code Generation -> RunTime Library -> Multi-Threaded Debug
Thanks to @kerrymilan for debugging it.
Here is CheekyBlinders running:

Nice find, we've definitely seen some of this in the past, e.g. static vs dynamic linking when running in memory. Must have had this configuration our side, i'll check and confirm as well 🙌

Legends

Thanks again all!

Test failed, even if change compilation to Multi-Threaded Debug.


Update about page

We have not update the content of the about page for a while. This is the update for 2019 (lol) and 2020.

Fixed issue #488


⚠ Bofrost.be has degraded performance

In f41fb7c, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1066 ms

Resolved: Bofrost.be performance has improved in 5a13cc3.


How many epoch do we need when pretraining bert?

I want to know how many epoch we need wen pretraining bert,but most of articals about bert just say how  many step we need when pretraining?
In the artical --'BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding'  gives approximate number--40 epoch.But this is about words,not sentence, but when we pretraing each sample is about sentence.
Is epoch not important in Nlp ? In cv ,epoch is important.

Did you find the answer?


can not see TextAreaFiled("What's on your mind?") and the 'submit' button in 11 chapter

Sorry, i had question again,just like what i said in 11th chapter , i checkouted  11a,but i can not see the TextArea and submit,just like the following picture.Register and email check is ok.

oh , i check the code and now i know ,because of  the 'Role' in 9th chapter ,i did not pay attenation to it

but i still have question that why the 'Role' influences the showing of TextArea and Submit?

A user that does not have the "write articles" role does not see the text area, simply because adding posts is not a valid operation for that user.


Update protocol to fix SIP trunk validation.

Already updated by https://github.com/livekit/livekit/commit/15570c4929cb09d6717d4ce77c83a75b6fd3b350


Add GitHub org or repo link at or near the top of the site

Describe the issue or request
Put the GitHub organization and/or repo at or near the top of the site.
Is this a bug report, feature request, enhancement, or another type of issue?
enhancement

This still important as of 75aa12bea30b193e783cc6c27ad855f1130fa471 IMO


Don't allow multiple logins

...with one account, when HTPASSWD is used.
I can't be in two different places, right?

This will be somewhat complicated to implement, but I can probably make it happen as an optional feature. Just curious, but any particular reason you want a simultaneous login quota/restriction? You could have several devices :-)

Yes, this was more of a "security" perspective.
If I have several I can do multiple users or one single pass.

This will be somewhat complicated to implement

What security benefit does this give balancing increased code complexity?
Nginx doesn't limit one username / password per device with htpasswd
If I know the username / password, I should be able to login with as many devices as I want.

How would be tracked that multible logins occours?

A separate key would be stored in memcached for each user with a list of currently active sessions and their expiration. When a new session is started, it's added to that key. New sessions would then check that key to determine if the user is over the session quota/limit.
The main problem I'm facing is that if a user has a session running, the app crashes, and they opt not to resume the session on relaunch - or if a session cannot be properly stopped due to lack of network connectivity - there's already an active session registered to them on the backend. This can put them over the quota, or leave them unable to share their location, despite not actually sharing it currently. The app would have to detect this and give the option to terminate the other session(s) so that the current client can create a session. However, should that other session in fact still be actively used, that client will keep pushing location updates to a non-existing session. Having the app detect this and separate it from generic server errors is not feasible in the current protocol and would require a major version upgrade to 2.0. Doing this would render clients and backends temporarily unable to communicate with each other because the app stores and backend updates are pushed with different delays, so I'm currently holding off on this. I'll get around to it at some point, but I'm not sure when.


Fix broken timezone abbreviations and GMT fallback

This PR aims to fix what both #104 and #165 attempted to do, this time with tests to ensure it works as expected and doesn't break in the future.
The gist is this:
The Z formatting option attempts to generate a nice timezone abbreviation by parsing the rendered date string, recognizing something like "Eastern Daylight Time" and changing that to EDT. For all unrecognized timezones (pretty much everything but common North American timezones) it would parse and display the GMT+xxxx offset from the date string instead.
This, however caused a couple of issues with Australian timezones. Because Australia has defined an "Australian Eastern Daylight Time" (for instance) it would erroneously match the same regex as the American "Eastern Daylight Time" and it would render as EST instead of AEST.  Adding explicit support for the "Australian " prefix fixes this issue.
The GMT+xxxx fallback worked prior to #165 but it was broken, probably accidentally while rebasing #104 in an attempt to get it into a merge-able state. This PR fixes the issue introduced by #165 and adds some tests to ensure it doesn't get inadvertently broken in the future.
/cc @chase-manning

@mikegreiling  Thanks Mike!!! Appreciate you checking everything after the merge and fixing the issue 😄

@chase-manning any chance I could bother you to publish a new version with these changes?  I'd really like to be able to close this bug report over at GitLab 😄

@mikegreiling  Absolutely! I'll do that now 😄
Did you get this error when running tests?
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader
    at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:727:11)
    at Loader.resolve (internal/modules/esm/loader.js:97:40)
    at Loader.getModuleJob (internal/modules/esm/loader.js:243:28)
    at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:46:40)
    at link (internal/modules/esm/module_job.js:45:36)

Getting it now, tried a reclone and everything and still have it.
Really need to setup a yml pipeline to run tests for PRs lol!

Did you get this error when running tests?
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader
    at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:727:11)
    at Loader.resolve (internal/modules/esm/loader.js:97:40)
    at Loader.getModuleJob (internal/modules/esm/loader.js:243:28)
    at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:46:40)
    at link (internal/modules/esm/module_job.js:45:36)

Getting it now, tried a reclone and everything and still have it.
Really need to setup a yml pipeline to run tests for PRs lol!

Yeah I did. I believe I got around it by switching node versions. There were still a lot of local test failures due to #41, but I just focused on the single test file added in this MR and figured as long as the rest still passed in CI, all was fine 😄

Did you get this error when running tests?
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader
    at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:727:11)
    at Loader.resolve (internal/modules/esm/loader.js:97:40)
    at Loader.getModuleJob (internal/modules/esm/loader.js:243:28)
    at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:46:40)
    at link (internal/modules/esm/module_job.js:45:36)

Getting it now, tried a reclone and everything and still have it.
Really need to setup a yml pipeline to run tests for PRs lol!

Yeah I did. I believe I got around it by switching node versions. There were still a lot of local test failures due to #41, but I just focused on the single test file added in this PR and figured as long as the rest still passed in CI, all was fine 😄

Oh awesome! Updating node worked for me 😄

@mikegreiling Thanks Mike!
https://github.com/felixge/node-dateformat/releases/tag/v4.6.1
https://www.npmjs.com/package/dateformat
Live now 😄

Thank you sir, very much appreciated!

@mikegreiling  Changed version to 5.0.1 as realised the recently deployed version introduced breaking changes:
https://github.com/felixge/node-dateformat/releases/tag/v5.0.1
You might want to change to the new import format and then update to 5.0.1 😄


YT Music goes out of sync with playback information

What version of Music Assistant has the issue?
2024.1.0b2
The problem
When I play a playlist from YouTube Music on one of my Google Home speakers, everything seems normal from the start. The first few tracks play normally and correct information is displayed in Music Assistant. But then, after a few tracks pass and I look back to the UI, there is a completely different track displayed compared to the one actually being played. Also, the queue does not match with what song plays next. The Music Assistant entity in Home Assistant also reports incorrect information.
How to reproduce

Enable queue flow mode on a Google Home (Chromecast) speaker.
Enable crossfade.
Set the speaker to shuffle and repeat.
Play a YT Music playlist using the mass.play_media service.
Observe the song information after a few songs pass.

Relevant log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2024.1.3
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi

Oh, now after a quick look through the issues not related to YT Music (I was searching for that specifically), I found this. It seems to be the same problem. https://github.com/music-assistant/hass-music-assistant/issues/1782

Follow that issue then. Thanks.


Calling pop on a multi select bound value fails

In this fiddle:
http://jsfiddle.net/sabob/5fd8a3q7/
is a Select set to multiple values and bound to the "selectedValues" array property.
If no value of the Select is picked and pop() is called on the empty selectedValues array, Ractive throws an error:
uncaught TypeError: Cannot read property 'length' of null
Could be a bug?

switch(methodName) {
  /* ... */
  case "pop":
    if (array.length) {
      return [array.length - 1, 1];
    }
    return null;
  /* ... */
}

Internally, this switch is getting called. That return null is what's causing the error.

This should probably be replaced with this, but I'm not 100% sure as I haven't seen the codebase for a while.

Apologies for slow turnaround, now fixed. Thanks for the fixes - both would have worked (not returning null, and varying the update method used based on whether newIndices was generated), but combining them allowed a couple of lines of code to be deleted.


Stop Quirrel UI from polling / flooding non-local servers

Coverage decreased (-3.9%) to 66.819% when pulling 2197c6f8afeaf4528d21dba7f32491510bd6c10b on exponential-backoff-prod into 7bb7bd54d117d53859ef780dd641c2275d460f08 on main.


Need to rewire Error inheritance to keep UnsafeError hidden

Original issue 1963 created by erights on 2015-04-12T00:33:33.000Z:
For each of the builtin "subclasses" of Error, such as EvalError, ES6 changes them the constructors themselves to inherit directly from the Error constructor, in order to be analogous to ES6's handling of user defined classes. Chrome 44 Canary now implements this.
However, debug.js hides the original Error constructor for its own use as UnsafeError, replacing it with FakeError. However, it still would have been accessible via, for example, Object.getPrototypeOf(EvalError) or EvalError.proto. Fortunately, the new error checking we added to startSES caught this, so no unsafety results. Unfortunately, this results in SES (and therefore Caja in ES5 mode) reporting that it cannot initialize safely on Chrome 44 Canary.

Issue #1966 is a duplicate of this.
(How do I mark duplicates so this booking happens automatically?)

https://codereview.appspot.com/226970043/


settings: expose as env vars

Allows for users to change settings via environment variables
(Readme should be updated but i hope you don't mind i leave that hanging)

Leaving as draft until tested properly, feel free to merge if you do


Correct SPDX-License-Identifier

Issue https://github.com/eclipse-openj9/openj9/issues/17429

NOTICE.md should be updated as well. I suggest the few lines preceding the SPDX expression should be improved; there's a mix of SPDX terms and plain English.

Updated NOTICE.md. I've copied the preceding lines from the template in https://www.eclipse.org/projects/tools/documentation.php?id=technology.openj9


Team Drive Project Folder Cleanup

Should we add a checkbox to the deprecation template for cleaning up the Project folder in the AGRC Projects Google Drive Team Drive? If so, what should the action be? Delete the folder 😬? Move it to some archive folder (this would be my vote)?

Archiving to a folder like historic or past projects seems reasonable. I could see some items just being deleted though. I will admit that the use of that area is spotty on my end; I actually forgot about it. Does it have a lot of items that need removing in your opinion?

I think that there are items in there that should be cleaned up such as GeoEvent. There's a ton of folders in there. I'm interested in keeping it manageable.

A checkbox on the deprecation template is a good idea, as is an archiving folder. Indeed, there is some junk that can be deleted rather than archived. I have some skin in this game because I utilize the Projects folder, including adding some junk; however, I have tried not to touch anything that was before my time. There are some organizational issues that seem to have developed over time. DNR is a good example, where there is a specific folder for the agency as a whole, but also several individual folders (and even some duplicates) at the same hierarchical level that should be embedded within DNR (e.g. GeoEvent, Roadkill, Wildlife Vehicle Tracking (duplicate), FFSL, DOGM, WRI, UGS). An archive folder should probably match the active projects folder hierarchy as closely as possible.

Ok. It sounds like a check box to triage the folder data is a nice reminder. It also sounds like a rough pass over the entire folder would be a helpful task to complete async. Nathan do you want to take a shot at organizing that since you are a power user? I wouldn't shy away from the items older than you.

Yes, will do. It's on my trello (step 1) and I will work it in asap.


Puzzle reset doesn't pull instructions from player inventory

If they're still in the puzzle when you do the reset

Note: Could also take alternative route of unlinking items that are in a player's inventory instead of clearing them


Update to .NET 6

Yet another major update for .NET.
Also, I'm still waiting for the non self-contained releases.

Thanks!
regarding non-self-contained: I'll make sure to work on it this week :)

@sitiom go and have a try? https://github.com/ibigbug/PowerSession/releases/tag/v1.4.4

@sitiom go and have a try? https://github.com/ibigbug/PowerSession/releases/tag/v1.4.4

Great it works, thanks!


Feature/apvs 0006/public beta

SQUASHED COMMIT MESSAGE (e.g. apvs-123 - this message accurately describes my changes replacing the squashed concatenation)
High-level description - a few sentences on the overall context and goals for the PR's commits.
Checklist

[ ] Unit tests
[ ] End-to-End tests
[ ] Code coverage checked
[ ] Coding standards
[ ] Error Handling
[ ] Security/performance considered?
[ ] Deployment changes considered?
[ ] README updated

All the e2e tests will need updated


bottom_sheet not working with 1-n relationship

Hi,
My sample program:
package main

import (
        "fmt"
        "net/http"

        "github.com/jinzhu/gorm"
        _ "github.com/jinzhu/gorm/dialects/mysql"
        _ "github.com/mattn/go-sqlite3"

        "github.com/qor/admin"
        "github.com/qor/qor"
)

// Create a GORM-backend model
type User struct {
        gorm.Model
        Name     string
        Products []Product
}

// Create another GORM-backend model
type Product struct {
        gorm.Model
        Name        string
        Description string
        UserID      uint
}

func main() {
        DB, err := gorm.Open("mysql", "***")
        if err != nil {
                fmt.Println(err)
                return
        }
        defer DB.Close()
        DB.AutoMigrate(&User{}, &Product{})

        // Initalize
        Admin := admin.New(&qor.Config{DB: DB})

        // Create resources from GORM-backend model
        user := Admin.AddResource(&User{})
        product := Admin.AddResource(&Product{})

        user.Meta(&admin.Meta{Name: "Products",
                Config: &admin.SelectManyConfig{SelectMode: "bottom_sheet", RemoteDataResource: product},
        })
        // Register route

        mux := http.NewServeMux()
        // amount to /admin, so visit `/admin` to view the admin interface
        Admin.MountTo("/admin", mux)
        fmt.Println("started")
        http.ListenAndServe(":9000", mux)
}

When i add products to an user then click save, the reference are not updated so this user do not have any products linked with.

It should be a bug, but there is a temporary solution to make it works by setting the meta's type to select_many (which should not be required), e.g:
 user.Meta(&admin.Meta{Name: "Products", Type: "select_many",
                Config: &admin.SelectManyConfig{SelectMode: "bottom_sheet", RemoteDataResource: product},
 })

Thank you for your report.


update RNAsum version

updated to 0.4.4 which corresponds to https://github.com/umccr/RNAsum/pull/71
tested with wfr.4af2daefb7cb44a3b2ffd62f53524d14

Yay! 🥁


When I add "camera" to observation_space ,I meet a error.

error is :
exceptions.MemoryError:Unable to allocate 858. GiB for an array with shape (1000000, 3, 480, 640) and data type uinta
The error was caused by "set observation space." Do you know how I could modify it? ^v^

Hi @lijianfromearth, you are running out of memory. Training from images with that resolution and with that replay buffer size is quite impractical. If in your project you need to train a policy from raw images, I suggest to reduce replay buffer size and images resolution.


release build failure on Softlayer/JDK11/Windows

Failed on the regular Softlayer build machine (job 516, succeeded on the new one at Azure (job 517]
Have locked the 516 console log to allow fo investigation. I'd like to have someone look at and understand this one instead of just cleaning up the workspace and retrying if possible.

It's now back up and running (I've just connected to it) but still showing a service failure in the admin console. We should see if the machine is now capable of running a build again if all of the windows release builds for this cycle have now been completed.

rebuild of failed job: https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-windows-x64-hotspot/522/

same failure, I'll keep the machine marked offline.

I've had a look at the particular file and it is there, however the path looks a little funny in the console output:
c1xx: fatal error C1083: Cannot open source file: '../../../../..c:/cygwin64/tmp/openjdk-build/workspace/build/src/build/windows-x86_64-normal-clientANDserver-release/hotspot/variant-server/libjvm/gtest/objs/BUILD_GTEST_LIBJVM_pch.cpp': No such file or directory
Specifically the ..c:/ bit.

I noticed that on the failing build has
BUILD_CONFIG[WORKSPACE_DIR]="/tmp/openjdk-build/workspace",
Whereas the succeeding builds on JDK11 w/ the azure machines has BUILD_CONFIG[WORKSPACE_DIR]="/cygdrive/j/jenkins/tmp/workspace" - The cygdrive path.
In addition to this, a succeeding JDK14 build, that ran on the softlayer machine (https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk14u/job/jdk14u-windows-x64-hotspot/13/) also had that variable set to a cygdrive path:
BUILD_CONFIG[WORKSPACE_DIR]="/cygdrive/c/Users/jenkins/workspace/build-scripts/jobs/jdk14u/jdk14u-windows-x64-hotspot/workspace"

https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-windows-x64-hotspot/522/ws/
The workspaces for the build list C:/cygwin64/tmp, whereas the succeeding build has J:/jenkins/tmp. I think the the workspace for the failing build is meant to be C:/tmp. That would cause BUILD_CONFIG[WORKSPACE_DIR] to be /cygdrive/c/tmp/workspace

ref : https://github.com/AdoptOpenJDK/openjdk-build/pull/1647 https://github.com/AdoptOpenJDK/openjdk-build/pull/1639
@gdams and I had a look and have replicated it, using build-softlayer-win2012r2-x64-1 so, it's those ones specifically. https://ci.adoptopenjdk.net/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-windows-x64-hotspot/533/console
We've narrowed it down to being a change with the two pull requests linked above. Subsequent runs of the same job ( 534-537 ) have been overriding the CYGWIN_WORKSPACE variable with various paths to see what works. It seems to be replacing /cygdrive/c/ with c:/, which is what's causing the ..c:/ to appear in paths.

Any outlook on a fix for this?

This is the particular line that's the issue: https://github.com/AdoptOpenJDK/openjdk-build/blob/0cae7e2e783c11631c3a2671ca1612d22c098414/pipelines/build/common/openjdk_build_pipeline.groovy#L518
The file path needs to be changed in such a way that the build scripts 'like' it. We were testing different values by changing the CYGWIN_WORKSPACE variable (that we configured the machine, in Jenkins, to have), however the values we tried didn't work for various reasons.

CYGWIN_WORKSPACE Var
Run

C:/cygwin64/tmp/openjdk-build
533

c:/cygdrive/c/tmp/openjdk-build
534

/tmp/openjdk-build
535

/cygdrive/c/tmp/openjdk-build
536 / 537

/C:/cygwin64/tmp/openjdk-build/
538

/cygdrive/c/cygwin64/tmp/openjdk-build
544

The paths are required to be in a Windows format, otherwise the builds will fail with the initial git clone (as that is ran in git-bash). Therefore, no paths starting with /cygdrive/c/ will work.
In addition, ommiting the /tmp part of the file path stops conflict between the C:/cygwin64/tmp and the C:/tmp folders. In the above PR, I opted for workspace as it's representative of what the folder does.


getpublicip to detect externalip has changed, and restart lnd

This update makes RaspiBolt compatible with dynamic public IP addresses.
To test (if you only have a static IP)

sudo vi /run/publicip
(change the IP address by one digit)

sudo systemctl status lnd
until notice that lnd has restarted (can take up to 10 mins)

I think this conversation needs to be on the LND slack, as my knowledge is kinda limited... :-)
A few remarks:

The public ip will stay "incorrect" unless you restart lnd, so other nodes and also Lightning explorers (also just a node) will not update their information and cannot connect to you. Open channels and invoices continue to function, however.

Support for FQDN would be great, I agree.

The security I was referring to is physical access. It's trivially easy to just take the SD card or external hard disk and mount it on a different machine. If both wallet password and wallet are accessible, it's game over. No need to login or know your user password if the file system is not completely encrypted.

So, the external unlocking of the wallet with the readonly.macaroon might be worth implementing on a different machine. You already started describing it on Windows, I'll probably do the same on Linux.

Running of the a long weekend in Venice, back next week. 👍

See comments in https://github.com/Stadicus/guides/pull/59


Can't import any Css/Sass/SCSS file in another CSS/Sass/SCSS file.

Whenever I try to import in client/main.scss or any other .scss/sass or .css file, I get this error
 App running at: http://localhost:8080/
=> Client modified -- refreshing (x6)
=> Errors prevented startup:

   While building for web.browser:
   /client/imports/app/shared/header.component.sass: Scss compiler error: File to import: {}/client/imports/app/shared/sass/material-kit not found in file: /Users/ayaz/Documents/Projects/clientWebRemote/{}/client/imports/app/shared/header.component.sass

=> Your application has errors. Waiting for file change.

I tried moving the files around, putting them in imports folder, outside imports folder.
angular2-compilers 0.6.6

Do relative path names work?

nope, using sass
@import "../../../stylesheets/bootstrap/bootstrap.min.css"

 /client/imports/app/shared/header.component.sass: Scss compiler error: File to import: {}/client/stylesheets/bootstrap/bootstrap.min.css not found in file: /Users/ayaz/Documents/Projects/clientWebRemote/{}/client/imports/app/shared/header.component.sass

Seems to be a common issue that others have encountered even though it should have been fixed quite a while ago: http://stackoverflow.com/questions/7111610/import-regular-css-file-in-scss-file
A solution that works is to rename bootstrap.min.css to _bootstrap.min.scss.  The underscore apparently prevents it being output to a separate file, and as new SASS files are a superset of css making the extension scss should do no harm.
BTW as meteor will automatically do the minimisation for production builds, you shouldn't need to use the min version of bootstrap.

While building for web.browser:
   /client/imports/app/shared/header.component.scss: Scss compiler error: File to import: {}/client/stylesheets/bootstrap/_material-kit.css not found in file: /Users/ayaz/Documents/Projects/clientWebRemote/{}/client/imports/app/shared/header.component.scss

I changed the file to .scss and added underscore.. same error

@ayazhussein Have you try to put your .scss in client root folder then styleUrls ? example

Works for me
@mention me if this is still a case

seems that it works when there is only $green, but when i add another variable, it gives me this error.

@ayazhussein add semicolons
$green: #2BD95A;
$greenhover: #24c750

Seems to work, but it's weird to add semicolon in .sass files :D
@kamilkisiela

I checked it and it works:
*.scss
$green: #2BD95A;
$greenhover: #24c750;

*.sass
$green: #2BD95A;
$greenhover: #24c750

It works, just saying that it's weird to add semicolon in *.sass since it's supposed to be without any semicolons.
closing the issue

@ayazhussein no no, I mean that it works without semicolons in .sass. Do you have the latest version?

Or could you prepare some simple reproduction? Really really basic.

just tested, it's working,
$green: #2BD95A;
$greenhover: #24c750

works if you add semicolon to all but last $var when it should work like this:
$green: #2BD95A
$greenhover: #24c750

but it throws the same error, I was just referring that *.sass syntax has no semicolons.

I don't think we're on the same page. I mean that
$green: #2BD95A
$greenhover: #24c750

should work in .sass files. Without any semicolons. Could you provide just a basic reproduction?

angular2-compilers 0.6.6

and this way works...

@ayazhussein @Urigo I think this can be closed?!

everyone please try to new and updated angular-compilers  package.
It supports:

Typescript compilation
Assets compilation (HTML, styles)
Angular's AoT compilation
Rollup's bundling with Tree Shaking

Please open a new issue if you encountered one.


Razor Html Wrap

Describe the solution you'd like
In VS2019 if you had the web development workload installed you could wrap html elements by using the Shift + Alt + W hotkey. To the best of my knowledge this or any alternative does not exist VS2022. The hotkey worked in the following way:

Highlight a html element with your mouse
Hit Shift + Alt + W
Element would be wrapped in a div by default, but the div tag was auto highlighted to make it simple to surround an element with any tag desired.

@thepigeonfighter thank you for filing this issue! We're working to get this into the 17.1 release. That work is currently being tracked here: https://github.com/dotnet/razor-tooling/issues/4347
I'll close this one as dupe

Was looking in the wrong place for this issue, sorry for the duplicate!

Was looking in the wrong place for this issue, sorry for the duplicate!

Oh not at all. We actually loveeeee duplicates. It helps us gauge interest + occasionally gives us different repros + more information to go on to help fix the issues quicker.


debug.exe

The ImageJ Launcher enables debug mode if the launcher was renamed to debug/debug.exe. This is a cool trick, but incompatible with Jaunch's expectation that the executable name will match the TOML name. Should we bother? It is especially convenient on Windows for GUI users, where the name debug.exe also triggers a new_win_console().

One idea I had was to check for a debug- prefix and strip it before searching for TOMLs. So e.g. renaming fiji-windows-x64.exe to debug-fiji-windows-x64.exe would still act like --debug is set, but not lose the context of the TOML file to read.

With 1bd093449437dbb283cd093aa12f0b262aaf882a and 5a0c8a6da60d64c161e3a73d7d9d42ea49dc1c9b, the --debug flag now also writes a log file.
One remaining thing we could do on Windows is AllocConsole if the executable is a GUI one and we are in debug mode.


feat(tutorial): complete step 5

http://carbon-tutorial-danielcolinjames.mybluemix.net/#/

Thanks, I missed that paragraph. Updated!


Add support for files, bigger than 4 GB

We need to fix this:
File "/home/dima/Projects/audiobooks/venv/lib/python3.10/site-packages/pydub/audio_segment.py", line 142, in fix_wav_headers
    raise CouldntDecodeError("Unable to process >4GB files")
pydub.exceptions.CouldntDecodeError: Unable to process >4GB files

Fixed.


Append is the default array overlay operation

Reopening this PR since this branch was merged and then reverted since the code wasn't complete. Please wait to merge this PR until the code is merged in 301

The PR for this feature in ytt is merged, so we can merge this PR now.

I believe we are waiting to merge this until we cut a release of ytt with this feature. If reviewers are able, could you give an approve or feedback on this so we know that it's able to be merged? @pivotaljohn @cppforlife

ytt release v0.32.0 is cut, merging PR.


run on sample with sequence longer than 500

Hi
I have tried to run defect detection on the codebert model according to the repo. However, I was trying to apply it on my own dataset with sequence length larger than 500, the model fail to run. I wonder is there any solution for that?

No. The model only support max length of 512. You can split them, feed the CodeBERT and merge.


Move integration test configurations into separate JSON files

Some integration tests depend on parts of the extension
configuration. We set those parts of the configuration manually, to
ensure the tests will run consistently. In the past, the test
configuration was hard-coded in the integration test files, but here
we move the test configurations out into separate JSON files for
improved readability.

Reviewer: @kdzwinel
Automated tests:

[ ] Unit tests
[x] Integration tests

Reviewer Checklist:

[ ] Ensure the PR solves the problem
[ ] Review every line of code
[ ] Ensure the PR does no harm by testing the changes thoroughly
[ ] Get help if you're uncomfortable with any of the above!
[ ] Determine if there are any quick wins that improve the implementation

PR Author Checklist:

[ ] Get advice or leverage existing code
[ ] Agree on technical approach with reviewer (if the changes are nuanced)
[ ] Ensure that there is a testing strategy (and documented non-automated tests)
[ ] Ensure there is a documented monitoring strategy (if necessary)
[ ] Consider systems implications

Hey do any of you guys decode videos
On Fri, Feb 18, 2022 at 5:09 AM Dave Vandyke @.***>
wrote:

Some integration tests depend on parts of the extension
configuration. We set those parts of the configuration manually, toa y
ensure the tests will run consistently. In the past, the test
configuration was hard-coded in the integration test files, but here
we move the test configurations out into separate JSON files for
improved readability.
Reviewer: @kdzwinel https://github.com/kdzwinel
Automated tests:

Unit tests
Integration tests

Reviewer Checklist:

Ensure the PR solves the problem
Review every line of code
Ensure the PR does no harm by testing the changes thoroughly
Get help if you're uncomfortable with any of the above!
Determine if there are any quick wins that improve the implementation

PR Author Checklist:

Get advice or leverage existing code
Agree on technical approach with reviewer (if the changes are
nuanced)
Ensure that there is a testing strategy (and documented
non-automated tests)
Ensure there is a documented monitoring strategy (if necessary)
Consider systems implications

You can view, comment on, or merge this pull request online at:
https://github.com/duckduckgo/duckduckgo-privacy-extension/pull/1055
Commit Summary

4db4a53
https://github.com/duckduckgo/duckduckgo-privacy-extension/pull/1055/commits/4db4a538f52fdb85072e08d293ce8314b41ba91d
Move integration test configurations into separate JSON files

File Changes
(5 files
https://github.com/duckduckgo/duckduckgo-privacy-extension/pull/1055/files
)

M integration-test/background/click-to-load-facebook.js
https://github.com/duckduckgo/duckduckgo-privacy-extension/pull/1055/files#diff-52ba7a800a75096e86b14e10d84bfd3a7dcb748dce3cd98c2adcdbdafec69404
(7)
M integration-test/background/click-to-load-youtube.js
https://github.com/duckduckgo/duckduckgo-privacy-extension/pull/1055/files#diff-92c8240db82113da525880e3e20aa1acc67faf879f5a860e10e5032ba1f3b4b3
(74)
A integration-test/data/configs/click-to-load-facebook.json
https://github.com/duckduckgo/duckduckgo-privacy-extension/pull/1055/files#diff-645d7ef6f7b42807e4b01dbee2a8743ae2122f801ae24730df75df6321ba7476
(395)
A integration-test/data/configs/click-to-load-youtube.json
https://github.com/duckduckgo/duckduckgo-privacy-extension/pull/1055/files#diff-249673d9520d76b4a6d5ad7c5c8da8055fe8b4f5b0c4dd71842a388fffacadea
(69)
M integration-test/helpers/testConfig.js
https://github.com/duckduckgo/duckduckgo-privacy-extension/pull/1055/files#diff-9a0d2bb1a00d2990625d3f170c43c72896bcbdcd875c187b36d48788cdd04d33
(22)

Patch Links:

https://github.com/duckduckgo/duckduckgo-privacy-extension/pull/1055.patch
https://github.com/duckduckgo/duckduckgo-privacy-extension/pull/1055.diff
—
Reply to this email directly, view it on GitHub
https://github.com/duckduckgo/duckduckgo-privacy-extension/pull/1055,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXD2ZCBMVDBVWC4ZPCMJUT3U3ZAH7ANCNFSM5OX3UKQQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


MultiSelectionTextFunc List ?

Feature request type
Enhance component
Component name
MudSelect
Is your feature request related to a problem?
No response
Describe the solution you'd like
We have :
public IEnumerable<T> SelectedValues
public EventCallback<IEnumerable<T>> SelectedValuesChanged
but...
public Func<List<string>, string> MultiSelectionTextFunc
Wouldn't it be more consistent to have a generic type T here too instead of string?
Have you seen this feature anywhere else?
No response
Describe alternatives you've considered
No response
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Now MudSelectExtended is released. It should fix your issue.
Ready on Nuget: https://www.nuget.org/packages/CodeBeam.MudExtensions/6.2.1
Try online: https://codebeam-mudextensions.pages.dev/mudselectextended


Add a system to notify the user about updates

Even tho we'd like to have everyone running Now Desktop, we can't rely on it. We should have a system that notifies the user about updates. Not sure if any of the existent solutions will work for now, since we're at 8.0.0.beta-N. I wonder if semver will consider 8.0.0.beta-2 bigger than 8.0.0.beta-1, and then 8.0.0 bigger than any beta 🤔
I think a simple lastCheckedForUpdates once we have #37 would be enough: we could fire a child process to do the check (and unref() it) if the last check was too long ago (e.g. 24h). If there's an update, the unrefed process would store something on #37's file that would then be displayed next time now is run.

✅ 06f5ebf111b68bf084d7d835c7abca3a52bbdb38
We had it working on zeit/now-cli already, so I moved it over.


I see no way to reorder the root of the Vault

As the title says. Maybe I'm mistaken, but I see no way to reorder the elements in the root of the vault.
Can it be done?
Tnx

Hi, you should be able to just right-click on a non-folder item in your root and click on "Reorder items".


refactor: make api available outside flask context

Purpose
Enable these functions to be called outside of flask, so a user can launch a simulation and check the status without running the web server, which is mainly useful for communication between containers.
What it does
Separate the functions from flask  (no route decorator or usage of jsonify, which creates an http response object).
By adding the path to REISE.jl to sys.path, we can import this module within powersimdata.
Testing
Ongoing, along with the Breakthrough-Energy/PowerSimData#477
Time to review
5 mins

Looks good! I'm assuming to the poxispath came about because you were testing it with the powersimdata changes on windows, and now it works for windows too, right?

Looks good! I'm assuming to the poxispath came about because you were testing it with the powersimdata changes on windows, and now it works for windows too, right?

Yep, exactly!


[FEA] Change Explain to not print NOT_FOUND and to have some known CPU only tasks

We have had some feedback that in some cases with explain the NOT_FOUND is confusing. We should change this to print something about "this operator is not supported"
Along with that there are some known operators, like JDBC where we know we can never optimize it on the GPU and we should make the message more clear about how this is not a problem.

NOT_FOUND is confusing...

NOT_ON_GPU? (Shares terminology with the flag for EXPLAIN.)
NOT_ACCELERATED?
RTX_OFF? :]


[Question]  There are questions about the fields recorded in the library

Question

In decorator methods, the value of method is set to path，However, the field of the ShenyuRequestLog class is only the method field, which is used to record the request. As a result, the log logger does not know whether the user's request method is get or post. Method displays a path。
在上图中的decorator方法中，method的值被设置为path
但 ShenyuRequestLog这个类的字段只有 method 这个字段是记录请求方式，这会导致日志记录不知道用户的请求方式是 get 还是 post，method展示的是一个路径。

I don't know if it's a design or a bug

Maybe I can try to fix it

Maybe I can try to fix it

thanks 😄

Method in other RPC plugins represents serviceName so added a requestMethod field


sequencer: remove unnecessary unwrap

We should be erroring here and not unwrapping: https://github.com/astriaorg/astria/blob/34fcac61e5aaf72153e00cafb64d9f9fc53299b6/crates/astria-sequencer/src/fees/mod.rs#L339
┆Issue Number: ENG-1035

Closing since the rest of the cases where this is expected should be addressed as noted here:
https://github.com/astriaorg/astria/pull/1850#pullrequestreview-2480956344


Reorg repo

:tada: This PR is included in version 0.2.1 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


Add translation deleted webhook

Currently, there is only created and updated translation event

I'd like to look into this

@timuric Can you please provide steps or way to use existing translation webhook? It will help us to understand the webhook flow.

We decided not to add this for now since there is no explicit mutation for deleting translations. It's possible to listen to the "update" event and check if it was set to an empty string as a workaround.


Refactor SplitPage and add props to SegmentedControl

Weirdly, when I shrink the page on the Render Content Fn story, if I select the first one, it doesn't do anything. The others work though. I also get render errors on one and two children.

Weirdly, when I shrink the page on the Render Content Fn story, if I select the first one, it doesn't do anything. The others work though. I also get render errors on one and two children.
SplitPage.js:41 Uncaught TypeError: this.props.renderContent is not a function
    at SplitPage.renderListContent (SplitPage.js:41:1)

There shouldn't be any "this.props" anything in SplitPage. I converted it to a functional component. Have you synced the changes for ui-demo?

Oh it might be a build issue, that was off the netlify preview ^

When I use this on mobile or a shrunk web interface, the last 3 stories don't seem to work (stays on the first screen).


async* does not return updated values

Stream<List<RoomDTO>> watchDirectRoomsUpdated(String userId) async* {
    final rooms = await fetchRooms(userId);
    final roomMemberships = await fetchRoomMemberships(rooms.map((e) => e.id).toList());

    List<RoomDTO> completeRooms = [];
    for (final room in rooms) {
      final latestMessage = await fetchLatestMessage(room.id);
      final members = roomMemberships[room.id] ?? [];

      completeRooms.add(
        RoomDTO(
          id: room.id,
          type: room.type,
          name: room.name,
          avatar: room.avatar,
          members: members,
          lastMessage: latestMessage
        ),
      );
    }

    yield completeRooms;
  }

It properly loads data, when i send a message, its not showing the new latest message. Hot reload triggers it.
i have older implementation without async* and that works.
the idea for this is to get one room, with multiple memberships and users and latest message with user. when i tried in one big query (with group by room id ) i would get one member or two rooms (group by room id, member id) and dont know if drift has some implementation to help with it.

There's nothing in your async* method that would react to changes in the underlying sources, so it's expected that it only emits one snapshot.
Writing streams that combine multiple source streams with dependencies across them is not easy. In your case, you have two original streams (the rooms for each users and the memberships) and then another query for each room to fetch the latest message. You can't easily eliminate the query for memberships since there can be multiple memberships per room, but it should be possible to integrate fetchLatestMessage into fetchRooms with a single join/group by. Then you could listen on the rooms-with-latest-message query and the room-memberships query as a stream and combine the results.

when i tried in one big query (with group by room id ) i would get one member or two rooms (group by room id, member id) and dont know if drift has some implementation to help with it.

There are helpers for group by and joins. If you post the definitions of the involved tables and the query that didn't work, I can help you find the problem or suggest a working query.

@simolus3 Oh i see.
here are the definitions:
class ChatRoomTable extends Table {
  TextColumn get id => text().clientDefault(() => uuid.v4())();
  TextColumn get creator => text().named('creator_id')();
  IntColumn get roomType => intEnum<RoomTypeEnum>().named('room_type')();
  TextColumn get name => text().named('name').nullable()();
  TextColumn get spaceId => text().named('space_id').nullable()();
}
class ChatMembershipTable extends Table {
  TextColumn get id => text().clientDefault(() => uuid.v4())();
  TextColumn get userId => text().named('user_id')();
  TextColumn get roomId => text().named('room_id').nullable()();
  TextColumn get spaceId => text().named('space_id').nullable()();
  IntColumn get status => intEnum<MemberStatusEnum>().named('status')();
  DateTimeColumn get joinedAtUtc => dateTime().named('joined_at_utc').nullable()();
}
class ChatMessageTable extends Table {
  TextColumn get id => text().clientDefault(() => uuid.v4())();
  TextColumn get roomId => text().named('room_id')();
  TextColumn get senderId => text().named('sender_id').nullable()();
  IntColumn get type => intEnum<MessageTypeEnum>().named('message_type')();
  TextColumn get content => text().named('content')();
  DateTimeColumn get createdAtUtc => dateTime().named('created_at_utc')();
  DateTimeColumn get updatedAtUtc => dateTime().named('updated_at_utc').nullable()();
  BoolColumn get redacted => boolean().named('redacted').clientDefault(() => false)();
}
class ChatUserTable extends Table {
  TextColumn get id => text().clientDefault(() => uuid.v4())();
  TextColumn get displayName => text().named('display_name')();
  TextColumn get avatar => text().named('avatar').nullable()();
  IntColumn get presence => intEnum<PresenceEnum>().named('presence').clientDefault(() => 0)();
}

And what i need is to get my direct rooms, with latest message and all memberships which tie to users.
final query = db.chatRoomTable.select().join([
      leftOuterJoin(
        db.chatMembershipTable,
        db.chatMembershipTable.roomId.equalsExp(db.chatRoomTable.id),
      ),
      leftOuterJoin(
        db.chatMessageTable,
        db.chatMessageTable.roomId.equalsExp(db.chatRoomTable.id),
      ),
      leftOuterJoin(
        db.chatUserTable,
        db.chatMembershipTable.userId.equalsExp(db.chatUserTable.id),
      ),
    ]);
    query.addColumns([
      db.chatMessageTable.createdAtUtc.max(),
    ]);
    // Filter:
    //- not public
    //- not in space
    //- i am member
    //- anyone is joined or invited or left
    query.where(
      db.chatRoomTable.roomType.isNotValue(RoomTypeEnum.public.index) &
          db.chatRoomTable.spaceId.isNull() &
          ((db.chatMembershipTable.status.equals(MemberStatusEnum.member.index) &
                  db.chatMembershipTable.userId.equals(userId)) |
              db.chatMembershipTable.status.isIn(
                [
                  MemberStatusEnum.invited.index,
                  MemberStatusEnum.member.index,
                  MemberStatusEnum.left.index,
                ],
              )),
    );

    // Group by rooms
    query.groupBy([
      db.chatRoomTable.id,
    ]);

    // Order by the latest message timestamp descending
    query.orderBy([
      OrderingTerm.desc(db.chatMessageTable.createdAtUtc.datetime),
    ]);

    final mapper = query.map((row) {
      final room = row.readTable(chatRoomTable);

      // Determine members and their read timestamps based on room type
      List<MemberDTO>? members;
      if (room.roomType == RoomTypeEnum.direct) {
        // For direct rooms, fetch all members and their read timestamps
        members = [];
        final membershipsList = row.readTable(db.chatMembershipTable);
        // Add current user (you) to the members list with their readTs
        final currentUserMember = MemberDTO(
          userId: userId,
          displayName: row.readTable(db.chatUserTable).displayName,
          readTs: membershipsList.readAtUtc,
          avatar: row.readTable(db.chatUserTable).avatar,
        );
        members.add(currentUserMember);

        // Find other members in the room and add them to the list
        final otherUserId = membershipsList.userId;
        final otherUser = row.readTable(db.chatUserTable);
        if (otherUserId != userId) {
          final otherMember = MemberDTO(
            userId: otherUserId,
            displayName: otherUser.displayName,
            readTs: membershipsList.readAtUtc,
            avatar: otherUser.avatar,
            presence: otherUser.presence,
          );
          members.add(otherMember);
        }
      }

      //get last message
      final lastMessage = row.readTableOrNull(db.chatMessageTable);

      return RoomDTO(
        id: room.id,
        name: room.name,
        avatar: room.avatar,
        type: room.roomType,
        members: members ?? [],
        lastMessage: LastMessageDTO(
          senderId: lastMessage?.senderId,
          content: lastMessage?.content,
          type: lastMessage?.type,
          time: lastMessage?.createdAtUtc,
        ),
      );
    });

    return mapper.watch();

the section with currentUserMember and otherUser is wrong, i know.
this one works, but i have two rooms result, instead of one.
final query = db.chatRoomTable.select().join([
      leftOuterJoin(
        db.chatMembershipTable,
        db.chatMembershipTable.roomId.equalsExp(db.chatRoomTable.id),
      ),
      leftOuterJoin(
        db.chatMessageTable,
        db.chatMessageTable.roomId.equalsExp(db.chatRoomTable.id),
      ),
      leftOuterJoin(
        db.chatUserTable,
        db.chatMembershipTable.userId.equalsExp(db.chatUserTable.id),
      ),
    ]);

    query.addColumns([
      db.chatMessageTable.createdAtUtc.max(),
    ]);

    // Filter:
    //- not public
    //- not in space
    //- i am member
    //- anyone is joined or invited or left
    query.where(
      db.chatRoomTable.roomType.isNotValue(RoomTypeEnum.public.index) &
          db.chatRoomTable.spaceId.isNull() &
          ((db.chatMembershipTable.status.equals(MemberStatusEnum.member.index) &
                  db.chatMembershipTable.userId.equals(userId)) |
              db.chatMembershipTable.status.isIn(
                [
                  MemberStatusEnum.invited.index,
                  MemberStatusEnum.member.index,
                  MemberStatusEnum.left.index,
                ],
              )),
    );

    // Group by rooms
    query.groupBy([
      db.chatRoomTable.id,
      db.chatMembershipTable.id,
    ]);

    // Order by the latest message timestamp descending
    query.orderBy([
      OrderingTerm.desc(db.chatMessageTable.createdAtUtc.datetime),
    ]);

    final mapper = query.map((row) {
      final room = row.readTable(chatRoomTable);

      // Determine members and their read timestamps based on room type
      List<MemberDTO> members = [];
      final membershipsList = row.readTable(db.chatMembershipTable);
      final user = row.readTable(db.chatUserTable);
      final member = MemberDTO(
        userId: membershipsList.userId,
        displayName: user.displayName,
        readTs: membershipsList.readAtUtc,
        avatar: user.avatar,
        presence: user.presence,
      );
      members.add(member);

      //get last message
      final lastMessage = row.readTableOrNull(db.chatMessageTable);

      return RoomDTO(
        id: room.id,
        name: room.name,
        avatar: room.avatar,
        type: room.roomType,
        members: members,
        lastMessage: LastMessageDTO(
          senderId: lastMessage?.senderId,
          content: lastMessage?.content,
          type: lastMessage?.type,
          time: lastMessage?.createdAtUtc,
        ),
      );
    });

this one works, but i have two rooms result, instead of one.

I think a problem could be that you're joining the membership and user tables in the same query. For a room with 10 users, this would essentially give you 10 rows which will all have the same values for the room and the target message.
Not joining them (and instead fetching them afterwards with asyncMap) is what I would use as well. However, as you've seen, you really need a streamed memberships query instead of just fetching it once. For this, I suggest using switchMap from package:rxdart. It lets you take a source stream (in this case, the original query with the room and the latest message) and then return a new stream (in this case, listening on members in the room). If you adapt  fetchRoomMemberships into a method that returns a stream instead of a future by using watch internally, the final query could look something like this:
query.watch().switchMap((rows) {
  final roomIds = rows.map((row) => row.read(chatRoomTable.id)!).toList();
  final Stream<Map<int, List<MembershipDTO>>> allMembers = watchRoomMemberships(roomIds);

  return allMembers.map((memberships) {
    final rooms = <RoomDTO>[];
    for (final roomRow in rows) {
      final room = roomRow.readTable(chatRoomTable);
      final lastMessage = row.readTableOrNull(chatMessageTable);
      final members = memberships[room.id] ?? [];

      rooms.add(RoomDTO(...));
    }

    return rooms;
  });
});

Thank you, this is working nicely. I needed even more, so i had to do Rx.combineLatest2. Now i know what to do, when i encounter these things. Again.. THANK YOU


2155 ux changes for between cycles part 1

Context

Changes proposed in this pull request

Guidance to review

Things to check

[ ] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
[ ] API release notes have been updated if necessary
[ ] If it adds a significant user-facing change, is it documented in the CHANGELOG?
[ ] Required environment variables have been updated added to the Azure KeyVault
[ ] Inform data insights team due to database changes
[ ] Make sure all information from the Trello card is in here
[ ] Rebased main
[ ] Cleaned commit history
[ ] Tested by running locally
[ ] Add PR link to Trello card

 Implement UX for candidate during end of cycle


turn off the alarm by clicking on the USB mouse

Platform (Hardware/OS): RaspberryPi 3 Model B+, Raspbian
Node version: 8.10.0
MagicMirror version: 2.2.2
Module version: 1.1.0
Description of the issue: Hope to turn off the alarm by clicking on the USB mouse.

I found a way. Because MagicMirror default hides the mouse, so need to let the mouse display.
MagicMirror/css/custom.css
 body {
    cursor: default;
   //or
   //cursor: hide;
 }


Loaded in sandbox and not seeing anything in the panels

All I see once I add to my sandbox environment is a message that says
Please select an Apex class from the list on the left. You can then assign Profiles and Permission Sets. Classes marked with a red flag are unassigned, meaning that those classes will be unavailable to Lightning Web Components and Aura.
There are no lists on the left or right. All that populates on that page is the text above

That would suggest you don't have any classes with the @AuraEnabled annotation and you have nothing to worry about!

Thank you!
On Mon, Oct 26, 2020 at 2:06 PM dcstuff<EMAIL_ADDRESS>wrote:

That would suggest you don't have any classes with the @AuraEnabled
https://github.com/AuraEnabled annotation and you have nothing to worry
about!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/forcedotcom/AuraEnabledScanner/issues/7#issuecomment-716761284,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARQWLT3FZYQ7BFEABH6XUV3SMXCC3ANCNFSM4S7V43KA
.


Add welcome email

Take a quick look @madprime?

Current coverage is 71.37%

Merging #280 into master will decrease coverage by -0.09% as of e67afa1

@@            master    #280   diff @@
======================================
  Files           96      96
  Stmts         2597    2603     +6
  Branches         0       0
  Methods          0       0
======================================
+ Hit           1856    1858     +2
  Partial          0       0
- Missed         741     745     +4

Review entire Coverage Diff as of e67afa1

Powered by Codecov. Updated on successful CI builds.


Add support for Data Contracts

Add support for data contracts
Add support for CSFLE for AWS, Azure, GCP, and Hashicorp Vault
Add support for CEL, CEL_FIELD, and JSONata rules

Thanks for the thorough review @kcorman0  ! I've incorporated your review feedback.


Add post delegates

Add post delegates
Test validation
Test created successfully

Coverage increased (+0.2%) to 90.711% when pulling 6e477d3eb8e872b396973a32cc8d96e397282dca on add_post_delegates_route into cdfd44c708a7466688831dd910b7411a22c2dbbb on main.


Automate ghcr image cleanup

The hardest part of this was getting to the old images.  The current tool can only go back something like a hundred tags and needs to be run regularly.  Thankfully it's in the pipeline, so fixed!


replaces build bool with buttons

Thanks for contributing! Help us understand your pull request by explaining:

What it changes
This replaces the bool build button with a button to trigger builds.

Why it's needed
Just makes it clearer what it does from the inspector

This will not be necessary after 4.3, if/when iFire's @tool_button gets merged.

Fixed

Looks good!


Support for parquet datasets?

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
I am trying to finetune with a parquet dataset like this one:
https://huggingface.co/datasets/MadVoyager/stable_diffusion_instructional_dataset
Expected behavior
when i put it into the /data folder i expected the dataset to show up in the list of datasets, but it didn't.
System Info

transformers version: 4.37.2
Platform: Linux-6.5.0-15-generic-x86_64-with-glibc2.35
Python version: 3.11.7
Huggingface_hub version: 0.20.3
Safetensors version: 0.4.2
Accelerate version: 0.27.0
Accelerate config:    - compute_environment: LOCAL_MACHINE
- distributed_type: NO
- mixed_precision: bf16
- use_cpu: False
- debug: False
- num_processes: 1
- machine_rank: 0
- num_machines: 1
- gpu_ids: 0
- rdzv_backend: static
- same_network: True
- main_training_function: main
- downcast_bf16: no
- tpu_use_cluster: False
- tpu_use_sudo: False
- tpu_env: []
PyTorch version (GPU?): 2.2.0+cu121 (True)
Tensorflow version (GPU?): not installed (NA)
Flax version (CPU?/GPU?/TPU?): not installed (NA)
Jax version: not installed
JaxLib version: not installed
Using GPU in script?:
Using distributed or parallel set-up in script?:

Others
Sorry if this is something simple or unrealistic or something!

Parquet is supported, see
https://github.com/hiyouga/LLaMA-Factory?tab=readme-ov-file#data-preparation-optional

Thankyou!


Question: labels on category axis

I was having a look to new properties of axes and I have found labels of category axis.
Having a look to the code as well, it sounds it's working as the labels of data node.
The labels of data node can accept also an array of strings as element of labels array.
My doubt is if also the labels of category axis can accept an array of string as element of the array or if in the category axis the array can contain only strings.
Chart.Js version : dist/master (or 3.0.0.alpha2)

I don't know why I didn't try before writing this question... Apologize.
It works like the labels of data


Fluentd not able to tail logs

Create new cluster:
Mesosphere DC/OS Version 1.11.0
Apply Kubernetes cloud provider support (don't think there is relevance though):
https://aws.amazon.com/blogs/opensource/cloud-provider-support-kubernetes-dcos/
Kubernetes version v1.9.4
Starting Fluentd daemonset:
https://github.com/fluent/fluentd-kubernetes-daemonset/blob/master/fluentd-daemonset-elasticsearch.yaml
Logs fluentd pod output:
2018-03-16 19:26:34 +0000 [warn]: #0 'type' is deprecated parameter name. use '@type' instead.
2018-03-16 19:26:34 +0000 [info]: adding source type="tail"
2018-03-16 19:26:34 +0000 [warn]: #0 'type' is deprecated parameter name. use '@type' instead.
2018-03-16 19:26:34 +0000 [info]: adding source type="tail"
2018-03-16 19:26:34 +0000 [warn]: #0 'type' is deprecated parameter name. use '@type' instead.
2018-03-16 19:26:34 +0000 [info]: adding source type="tail"
2018-03-16 19:26:34 +0000 [warn]: #0 'type' is deprecated parameter name. use '@type' instead.
2018-03-16 19:26:34 +0000 [info]: adding source type="tail"
2018-03-16 19:26:34 +0000 [warn]: #0 'type' is deprecated parameter name. use '@type' instead.
2018-03-16 19:26:34 +0000 [info]: adding source type="tail"
2018-03-16 19:26:34 +0000 [warn]: #0 'type' is deprecated parameter name. use '@type' instead.
2018-03-16 19:26:34 +0000 [info]: adding source type="tail"
2018-03-16 19:26:34 +0000 [warn]: #0 'type' is deprecated parameter name. use '@type' instead.
2018-03-16 19:26:34 +0000 [info]: adding source type="tail"
2018-03-16 19:26:34 +0000 [warn]: #0 'type' is deprecated parameter name. use '@type' instead.
2018-03-16 19:26:34 +0000 [info]: adding source type="tail"
2018-03-16 19:26:34 +0000 [warn]: #0 'type' is deprecated parameter name. use '@type' instead.
2018-03-16 19:26:34 +0000 [info]: adding source type="tail"
2018-03-16 19:26:34 +0000 [warn]: #0 'type' is deprecated parameter name. use '@type' instead.
2018-03-16 19:26:34 +0000 [info]: adding source type="tail"
2018-03-16 19:26:34 +0000 [warn]: #0 'type' is deprecated parameter name. use '@type' instead.
2018-03-16 19:26:34 +0000 [info]: adding source type="tail"
2018-03-16 19:26:34 +0000 [info]: #0 starting fluentd worker pid=15 ppid=1 worker=0
2018-03-16 19:26:34 +0000 [warn]: #0 /var/log/containers/kube-dns-754f9cd4f5-pnfnk_kube-system_dnsmasq-e75753d29a5e4879f712525b268575a6c9fbaf55a17d677037980d0e2bd75495.log unreadable. It is excluded and would be examined next time.
2018-03-16 19:26:34 +0000 [warn]: #0 /var/log/containers/metrics-server-54974fd587-cdjc7_kube-system_metrics-server-270577277bc1213532129c467f07c6bf6413c7f25b7d219717e9422cc437117d.log unreadable. It is excluded and would be examined next time.
2018-03-16 19:26:34 +0000 [warn]: #0 /var/log/containers/fluentd-cxkfr_kube-system_fluentd-2b138775674b9b090d1f2492bec0732346a89bf8b2a3758c6fd4d8d9abcb19a9.log unreadable. It is excluded and would be examined next time.
2018-03-16 19:26:34 +0000 [warn]: #0 /var/log/containers/kubernetes-dashboard-5cfddd7d5b-cj8c7_kube-system_kubernetes-dashboard-171e2225ecb06d685a38cd61fe04f380cabf91c4bea77c4739117155a3dbe674.log unreadable. It is excluded and would be examined next time.
2018-03-16 19:26:34 +0000 [warn]: #0 /var/log/containers/kube-dns-754f9cd4f5-pnfnk_kube-system_kubedns-eb34aa08266b0e7b317fb7e21f1857ac727ee98354559d291ec425d08601d3ad.log unreadable. It is excluded and would be examined next time.
2018-03-16 19:26:34 +0000 [warn]: #0 /var/log/containers/kube-dns-754f9cd4f5-pnfnk_kube-system_sidecar-c6c1709f49fe1c16630531ed199a027a1b48fab093ead6f339015d6936b6aec2.log unreadable. It is excluded and would be examined next time.
2018-03-16 19:26:34 +0000 [info]: #0 fluentd worker is now running worker=0

As earlier today the logs ended by a non able to follow symlink. Seems like sort of the same issue as given at https://github.com/kubernetes/kubernetes/issues/39225, however the thread is rather old.

Some additional information since yesterday:
When sshing into the master node:
Last login: Sat Mar 17 07:08:21 UTC 2018 from <IP_ADDRESS> on pts/0
Container Linux by CoreOS stable (1235.12.0)
Update Strategy: No Reboots
Failed Units: 2
  format-var-lib-ephemeral.service
  update-engine.service

$ systemctl status format-var-lib-ephemeral.service

● format-var-lib-ephemeral.service - AWS Setup: Formats the /var/lib ephemeral drive
   Loaded: loaded (/etc/systemd/system/format-var-lib-ephemeral.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2018-03-17 07:45:10 UTC; 16s ago
  Process: 28019 ExecStart=/bin/bash -c (blkid -t TYPE=ext4 | grep xvdb) || (/usr/sbin/mkfs.ext4 -F /dev/xvdb) (code=exited, status=1/F
 Main PID: 28019 (code=exited, status=1/FAILURE)

Mar 17 07:45:10 ip-10-0-0-206.us-west-2.compute.internal systemd[1]: Starting AWS Setup: Formats the /var/lib ephemeral drive...
Mar 17 07:45:10 ip-10-0-0-206.us-west-2.compute.internal bash[28019]: mke2fs 1.42.13 (17-May-2015)
Mar 17 07:45:10 ip-10-0-0-206.us-west-2.compute.internal bash[28019]: The file /dev/xvdb does not exist and no size was specified.
Mar 17 07:45:10 ip-10-0-0-206.us-west-2.compute.internal systemd[1]: format-var-lib-ephemeral.service: Main process exited, code=exited
Mar 17 07:45:10 ip-10-0-0-206.us-west-2.compute.internal systemd[1]: Failed to start AWS Setup: Formats the /var/lib ephemeral drive.
Mar 17 07:45:10 ip-10-0-0-206.us-west-2.compute.internal systemd[1]: format-var-lib-ephemeral.service: Unit entered failed state.
Mar 17 07:45:10 ip-10-0-0-206.us-west-2.compute.internal systemd[1]: format-var-lib-ephemeral.service: Failed with result 'exit-code'.

Searching for all .log files

find / -name *.log -ls

Returns a list where the logs should be located, but the location only contains non-existing symlinks:
cd /var/lib/mesos/slave/volumes/roles/kubernetes-role/82e9efc0-aeb3-457a-8174-57490b4615c1/new/log/containers/

ls -alh

Does the above mean that /var/lib should be created by AWS directed by Kubernetes? So it might be in the setup and Kubernetes permissions?

This is a limitation on our end and, at the moment, there's no quick, safe resolution we can think of. We will come back to this in the future.

@bjornm82 this is been worked on as we speak. We expect it to be released somewhere in the coming 3 months.

Thanks @pires !

There are several problems here. THe most fundamental one is how to configure fluentd to access kubernetes logs.
On the straight kubernetes the configuration looks as follows:
volumes:
- name: varlog
hostPath:
path: /var/log
- name: varlibdockercontainers
hostPath:
path: /var/lib/docker/containers
This assumes a fixed location of everything on the host. In the case of DC/OS the location of kubernetes files is selected by Marathon at run time. Unless this location can be symblink to something stable, fluentd approach will not work.
Any planned resolution for this?

@blublinsky
What does straight kubernetes mean?
Anyway, regarding a planned resolution, yes, as mentioned above it's been worked on and we expect to release it as part of DC/OS 1.12.

As mentioned before, this will be released as part of our DC/OS 1.12 release - and Kubernetes package 2.x.

this issue should be fixed in 2.0.0-1.12.1 https://docs.mesosphere.com/services/kubernetes/2.0.0-1.12.1/


[WIP] Series: display number of documents

On the frontsite display the number of documents in the details page of every series.

On the backoffice display the same in the details page and in the search page.

After clicking in the link in the search page of backoffice:

Closes #474

I was about to merge it, but you add the number of documents also in the frontsite search page? @kprzerwa WDYT?
Please add in the commit message closes #474 if not done (I didn't see it)


Add padding to the left side of the pathbar

What's the Problem?
The horizontal padding on the address bar is rather minimal, especially when being compared to search boxes.

Solution/Idea
Increase the horizontal padding of the address bar to be consistent with the search bar.
Alternatives
none
Priorities
No response
Files Version
<IP_ADDRESS>
Windows Version
22572.1
Comments
No response

This issue should be resolved with #8758


Button tag items trigger action click for all buttons instead of just the clicked one

What I have is something like this:
FlowLayout(mode: .scrollable, items: items, itemSpacing: 10) { item in
            Button(action: {
                print(item)
            }, label: {
                Text(item)
            }
)

The problem is that when I tap on a button, it gets called once for each item in my list.
Thus, in this example, clicking on one tag item will print all items in my list.

Ok, so I seem to have found the solution on the internet. It's not much related to this library but to the strange behaviour SwiftUI has at times.
Found the solution in a comment here: https://www.hackingwithswift.com/forums/swiftui/tap-button-in-hstack-activates-all-button-actions-ios-14-swiftui-2/2952
FlowLayout(mode: .scrollable, items: items, itemSpacing: 10) { item in
            Button(action: {
                print(item)
            }, label: {
                Text(item)
            }.buttonStyle(BorderlessButtonStyle()) // this makes it work
)


Nixos options are not found, also full name given.

When I look for https://search.nixos.org/options?query=boot.loader.efi.canTouchEfiVariables&from=0&size=15&sort=relevance&channel=unstable
it does not find any option also the option exists.

This was working couple of days ago before the update which makes you press enter or hit the search button before it'll search for what you've typed.
Here's another example
xserver finds all of the xserver service options https://search.nixos.org/options?query=xserver&from=0&size=15&sort=relevance&channel=20.03
services.xserver finds almost nothing https://search.nixos.org/options?query=services.xserver&from=0&size=15&sort=relevance&channel=20.03

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/marketing-team-meeting-minutes-12-and-13/9030/5


Update SlickGrid

There is an actively maintained fork of SlickGrid at https://github.com/6pac/SlickGrid and a very modern UI wrapper https://ghiscoding.github.io/slickgrid-universal.

We are sorry but there are many SlickGrid supporters.
And we can not recommend repo with just 8 stars as main supported of SlickGrid.

Understood, I meant to highlight the  https://github.com/6pac/SlickGrid repo. I've submitted another PR that removes mention of the other 8 star repo.


Support SQS for event-info

It's newly released trigger type is now available: https://github.com/awsdocs/aws-lambda-developer-guide/blob/master/doc_source/eventsources.md#eventsources-sqs

Oops looks like they removed the document for SQS as it isn't quite released officially yet.  Here's the old doc for it though: https://github.com/awsdocs/aws-lambda-developer-guide/commit/c7010555746e87c4b1480590212e6be6f860f072#diff-dfb4e406da4248d910c31e091e1424a9a


feComposite incorrectly clamps arithmetic input parameters

I don't see where the clamp is specified on https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComposite, and it produces incorrect results with SVGs that use negative constants to subtract layers from each other.
Would you accept a PR to remove the clamp and to add a test case?

Can you clarify what value exactly is getting clamped? And can you provide a test example?

It's actually an undefined behavior, afaik. See https://github.com/w3c/csswg-drafts/issues/3831 The SVG spec doesn't specify the range of k1-4 values.
Here is my results:

Looks like browsers are ignoring the negative values, but keep positive >1. I already have a similar test case e-feComposite-015.svg and all apps produce the same results.
Since I'm not sure how the correct result should look like we can simply mimic the browsers for now (e.g. by removing the 1.0 cap, but ignoring feComposite with negative coefficients).

Agree. I was looking into exactly the same sources while implementing feComposite in the resvg.
The problem is that there are no right answer. I can implement the arithmetic operator in a way I interpreted the spec or just follow the others.
I think that in this specific case we should allow coefficients above 1.0, to match browsers, and discuss negative one here or here. We should get a specific answer from the SVG authors themselves. So we can reference it later.
PS: and this is not something unique. resvg test suite filled with UB. There are just a lot of stuff that is undefined in the spec. Also note that resvg targets SVG 1.1, while browsers implement whatever they want.

I've allowed coefficients larger than 1.0, but negative one still will be clamped.


Games with borders and tearing

Could there be an option to define a top and bottom range of pixels that are ignored for games with black borders and screen tearing? Right now, it'll either count a new frame when there's a tear if the bottom's ignored or it'll go over the game's cap whenever there's a tear if the top's ignored

Hmm, is this some console specific problem? If this happens to more than one video we can consider to think about adding this feature. But keep in mind that we don't want to be a generic video preprocessor, but a simple analysis tool.
For the time being I would recommend to crop the video manually before preprocessing it.

It happens with a few games on PS3/360/WiiU (this one, Most Wanted 2012, Battlefield 3, Call of Juarez: Bound in Blood) and The Order 1886 on PS4. I'll crop the video as you suggest in the time being

Then we'll try to include the feature in the next GUI revision. Thank you for testing this!
Would you mind uploading a short example clip so we can test it by ourselves?

Thank you! No problem, here's a clip
https://drive.google.com/open?id=1IPIbwzsYzWxKVfYpmAcNEIC5dqOe8loO

So after a short analysis (with delta processing on) it looks like an unsalvageable recording as there are many many tears.
The problem is exactly as you said, there are tears detected in the middle of the video in the upper and lower rows. They are unfortunately false-positives :(
I think I have to adapt the algorithm for tear detection. We currently check for the percentage of new pixels in each row, then look for a hard "cut" between two rows e.g:
row 0: 0.2%
row 1: 0.4%
row 2: 0.0%
row 3: 0.0%

In this case we detect a tear between row 1 and row 2. Then we count from the row 2 upwards to count all successive rows which were had a percentage of new pixels > 0. This results in a tear percentage (how many rows were new above / below the tear divided by the total amount of rows).
This tear percentage is configurable in the options and everything below this value will not be counted (e.g we look at it a if the frame was totally different).
In your case, it would be better if we count both sides of the rows (going up and down), to see how big the non-different part of the frame is. If this would be configurable, then these small "tears" in the upper and lower rows could be ignored.

I have found that this the case with some more systems that was listed, Most of them are to prevent the whole image to prevent the game UI being off screen on TVs. I noticed this with the PStv/VitaTV and Nintendo Switch but this can be configured in the options.
The Worse offender has to the the PSP-2000 TV output mode which outputs it's 480 x 272 image in the centre of a 853x 480 frame. Mind you I don't think there are many reasons for the PSP tear/frame rate testing. https://imgur.com/LuqI28M


[IOTDB-2251] [IOTDB-2252] Fix Query deadlock

Coverage decreased (-0.02%) to 67.435% when pulling 79c615091b2e4a234dec2bb92033a32090e86daf on QueryBlockingMaster into 010af34dda85847b249775f7241e06594a740b9f on master.


spondyloepiphyseal dysplasia with metatarsal shortening RELABEL

Mondo term (ID and Label):
Czech dysplasia, metatarsal type
MONDO:0012206
Suggested new label:
spondyloepiphyseal dysplasia with metatarsal shortening
Your nano-attribution (ORCID)
If you don't have an ORCID, you can sign up for one here
0009-0003-2127-3550
Optional: Any additional information (like supporting evidence, PubMed ID, etc.)
I am requesting this relabel on behalf of ClinGen's Skeletal Disorders GCEP, with the historical term to be included in the description of this skeletal dysplasia.

This was completed with https://github.com/monarch-initiative/mondo/pull/7388


Add selinux configuration

There should be an option to set the selinux-configuration. By default it should be in permissive, but it should be stated in the readme that it's preferable to set it to enforcing.
See: https://github.com/dev-sec/chef-os-hardening/pull/173

@rndmh3ro permissive mode isn't a good default: per default all RH systems are shipped with enforcing mode. If we make permissive mode as default for our hardening modules, in fact we are making a default RH installation less secure. So in the chef implementation we decided to have 'unmanaged' as default (not to manage selinux at all in the default setup)


Has anything recently changed in the API

I have had a python program that has worked for months, but now it doesn't.  I get the following error using a slimmed down version of original code.  I would appreciate any help.  Thank you!
Traceback (most recent call last):
File "Load - Copy2.py", line 50, in
results = jw.search_for_item(providers='amp',content_types['movie'],page=1,monetization_types=["flatrate"])
File "\Load - Copy2.py", line 44, in search_for_item
return r.json()
File "C:\Users\arosner\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\models.py", line 896, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Users\arosner\AppData\Local\Programs\Python\Python37-32\lib\json_init_.py", line 348, in loads
return _default_decoder.decode(s)
File "C:\Users\arosner\AppData\Local\Programs\Python\Python37-32\lib\json\decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 5 (char 4)
Slimmed down code:
jw=JustWatch(country='US')
#import pdb; pdb.set_trace()
results = jw.search_for_item(providers='amp',content_types=['movie'],page=1,monetization_types=["flatrate"])
print('Done')

There's a PR (#31) out to update the search endpoint. JustWatch recently changed it

Thank you!  Did they get rid of total_pages? Is there any other way to ensure you do not pull back too many records?
Thanks

Never mind.  You guys are great!  Thank you!

Sorry to be a pain, but I actually I take that back.  "total_pages" no longer seems to be recognized. I want to perform an operation similar to #5 where I only want to loop through the # of pages that I pull back.
Thanks!

Not sure if it's a change, looks like total_pages is only available if you set the page size up front.
You do always get total_results back, and you can keep requesting more pages until you get nothing returned.  Or you can work out the number of pages from the total_results and the size of the first return.
In example below there's 284 results and a default page size of 30.  Page 10 has 14 results and Page 11 is empty
jw = JustWatch(country='GB')

just_watch = JustWatch(country='GB')
results = just_watch.search_for_item(query="mission",content_types=['movie'],page=1,page_size=4)
print(results['total_pages'])
print(results.keys())

71
dict_keys(['page', 'page_size', 'total_pages', 'total_results', 'items'])

results2 = just_watch.search_for_item(query="mission",content_types=['movie'])
print(results2.keys())
print(len(results2['items']))
print(results2['total_results'])
print(results2['items'][0]['title'])

dict_keys(['total_results', 'items'])
30
284
Mission: Impossible - Fallout

results2 = just_watch.search_for_item(query="mission",content_types=['movie'],page=2)
print(len(results2['items']))
print(results2['items'][0]['title'])

30
Nazi Overlord

results2 = just_watch.search_for_item(query="mission",content_types=['movie'],page=10)
print(len(results2['items']))
results2 = just_watch.search_for_item(query="mission",content_types=['movie'],page=11)
print(len(results2['items']))

14
0


Add default value for depth parameter

Word on the street is, the optimal value for depth is 3 [citation needed].
Developers who aren't familiar with how the Tangle works don't really know what value to use for depth, so we should probably provide a sensible default.
Make depth default to 3 for the following commands:

promote_transaction
replay_bundle
send_transfer
send_trytes

Scheduled for release: 2.0.7
Thanks @redondo-mk!


[bn] Localize content/bn/docs/setup/production-environment/tools/_index.md

Localize content/bn/docs/setup/production environment/tools/_index.md to Bengali
Fixes Issue: #44993
Tracking Issue: #31677

/lgtm
kindly check your slack dm

/lgtm
@sajibAdhi kindly check your slack dm

Ok @asem-hamid I will.

/lgtm


add renderEmptyTextNodes options

Need this for some contenteditable work I'm doing
R = @iefserge, @ellell
T = minor

nice! 👯

👍


LFS-654: Better UI for Questionnaire wizard; includes: LFS-673, LFS-686, LFS-643

LFS-654: Better UI for Questionnaire wizard
LFS-673:The questionnaire wizard fails to show updated questionnaire requiredSubjectTypes property that was previously unset
LFS-686: In the questionnaire wizard, the last predefined answer option provided for a question does not get saved
LFS-643: Misplaced Data Type label in Admin's Edit Question dialog

@sashaandjic Ready for test

The following problems are fixed:

LFS-643
LFS-686
Problem descripbed in LFS-673 is fixed, however the new problem is observed. Steps to reproduce:
run LFS in cardiac mode
go to Administration -> Questionnaries -> any cardiac questionnaire that doesn't have the requiredSubjectTypes property already set
edit requiredSubjectTypes and save
open it in the edit mode -> the screen will go blank

Please note that editing the Maximum forms of this type per subject field has no affect. It can be changed or left blank.

LFS-643 fixed.

LFS-673, LFS-686, LFS-643 are fixed now.

Where did the title go? It is available only when creating new question/section.

Can we remove #1 if section is defined as non-recurrent?
For recurrent sections I suggest putting #1 of #total number of reccurences?

How do I make a Boolean field required?

Can we remove #1 if section is defined as non-recurrent?
For recurrent sections I suggest putting #1 of #total number of recurrences?

Please report as a separate tasks, these improvements are not in scope.

Where did the title go? It is available only when creating new question/section.

Unfortunately title is a very misleading label for that field. It's actually the JCR node name, and will be part of the URL where the question will be stored. It's also the variable name. It cannot be changed because the question can no longer be moved in edit mode. I'll clarify in the UI.

Unfortunately title is a very misleading label for that field.

Should we call it ID?

tested; all of my complaints have been resolved

there's a title property created for new questions that shouldn't be there
the display property is not exposed, so it is not possible to create a new "list only" or a "textarea" question (and probably others)

Addressed in the last commit.

minAnswers and maxAnswers are created as String properties, they should be Long instead

This seems to happen only for boolean questions. Also, maxAnswers should not even be available for booleans. I committed a quick fix which should cover that.